CN108811228A - LED light - Google Patents

LED light Download PDF

Info

Publication number
CN108811228A
CN108811228A CN201710311153.1A CN201710311153A CN108811228A CN 108811228 A CN108811228 A CN 108811228A CN 201710311153 A CN201710311153 A CN 201710311153A CN 108811228 A CN108811228 A CN 108811228A
Authority
CN
China
Prior art keywords
pin
resistance
pins
capacitance
connection
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
Application number
CN201710311153.1A
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.)
Sichuan University of Science and Engineering
Original Assignee
Sichuan University of Science and Engineering
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 Sichuan University of Science and Engineering filed Critical Sichuan University of Science and Engineering
Priority to CN201710311153.1A priority Critical patent/CN108811228A/en
Publication of CN108811228A publication Critical patent/CN108811228A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/30Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]

Abstract

The embodiment of the invention discloses a kind of LED light, wherein the LED light includes main control chip, pyroelectric sensing module, light sensing module, communication module, illumination drive module;The wherein described intelligent terminal includes communication module, speech reception module, manual control module;The intelligent terminal connects LED light by communication module and controls the LED light with the user's control instruction for controlling the voice received according to speech reception module or manual control module receives.

Description

LED light
Technical field
The present invention relates to electronic technology field, especially a kind of LED light.
Background technology
With various smart machines, the development of mobile terminal device technology, more and more products are sent out both facing to intelligence It opens up, such as the equipment such as intelligent appliance based on Internet of Things already proposed.Present various household electrical appliances have all had networking work( Can, to be controlled family shop by smart machine, with convenient for users to.Existing various Intelligent illumination devices are typically all to adopt With the electric elements of simple timer one kind, control logic can not adapt to the requirement of currently used person with regard to extremely simple.
Invention content
For problems of the prior art, the purpose of the embodiment of the present invention, which is to provide one kind, can connect smart machine To receive the LED light control system of smart machine control.
To achieve the goals above, the embodiment of the present invention proposes a kind of LED light, including LED lamp bead and main control board, The main control board includes:Main control chip, LED drive circuit, electric power management circuit, photosensitive module, bluetooth module, pyroelectricity Module;
The wherein described LED drive circuit is PWM light adjusting circuits with the duty ratio by adjusting pulse square wave in the pulse period To realize equivalent simulation voltage output;The wherein described PWM light adjusting circuits include PNP triode, the base stage of the PNP triode The output end of main control chip is connected, emitter connects reference voltage, and collector connects LED lamp bead;When main control chip exports low electricity Usually signal is amplified and is transported to LED lamp bead by triode, and when main control chip exports high level, triode ends so that all LED lamp bead is extinguished;
The wherein described photosensitive module is used to detect extraneous brightness to control LED lamp bead brightness, and the photosensitive module includes Photo resistance, A/D conversion chips;The wherein described photo resistance connects divider resistance, and connects master control core by A/D conversion chips Piece, so that main control chip controls LED lamp bead according to the ambient light that photo resistance measures;The wherein described A/D conversion chips can be with For ADC0832 chips;
Wherein pyroelectricity module is for detecting infrared signature to determine whether someone;The pyroelectricity module includes HC- SR501 Thermoelectric Infrared Sensors and BISS0001 signal processing chips, the HC-SR501 Thermoelectric Infrared Sensors Main control chip is connected by BISS0001 signal processing chips so that main control chip is sensed according to HC-SR501 thermal release electric infra-red rays Device testing result controls LED lamp bead;
The wherein described bluetooth module is for connecting external equipment to receive peripheral equipment control.
The wherein described PWM light adjusting circuits adjust the duty ratio of pulse square wave in the pulse period in the following manner:
The turn-on time of the PWM light adjusting circuits is Ton, according to preset time interval by turn-on time TonIt is divided into N parts, And per an interruption of a corresponding timer;The PWM light adjusting circuits are required to generate come timing by design variables counting Duty ratio.
Wherein pyroelectricity module specifically includes:
The D pins of pyroelectric infrared sensor PIR pass through resistance R2 and resistance by resistance R2 and capacitance C102 ground connection The 11st pin VCC and the 8th pin VER/R of R1 connection signal processing chips U4;S pins and G pins pass through capacitance C2 in parallel It is connected with resistance R5, and S pins are by the 14th pin l+ of resistance R4 connection signal processing chips U4, and capacitance C103 and resistance After R8 series connection, capacitance C5 and capacitance C9 series connection, the G pins and signal of pyroelectric infrared sensor PIR are connected after two circuit in parallel The 15th pin l- of processing chip U4;The pin 2 of the 1st pin A connection plug connectors JP1 of wherein signal processing chip U4;2nd pipe The pin 2 that foot OUT passes through resistance R14 connection plug connectors JP2;3rd pin TR passes through resistance R13, variable resistance RT1, capacitance CY1 Connect the pin 3 of the G pins of pyroelectric infrared sensor PIR, the GND pins of voltage-stabiliser tube 7133-1, plug connector JP2;4th pin The control terminal and capacitance CY1 of TC connection variable resistances RT1;5th pin ENC passes through capacitance CY2 connection pyroelectric infrared sensors The pin 3 of the G pins of PIR, the GND pins of voltage-stabiliser tube 7133-1, plug connector JP2;6th pin ENR passes through resistance R33 connection electricity Hold CY2;The G pins of 7th pin VSS connection pyroelectric infrared sensors PIR, GND pins, the plug connector of voltage-stabiliser tube 7133-1 The pin 3 of JP2;The OUT pins of 8th pin VER/R connection voltage-stabiliser tubes 7133-1, the pin 1 of plug connector JP1;9th pin INH Connection passes through the G pins of the denoising circuit CDS1 connection pyroelectric infrared sensors PIR of optical detector, voltage-stabiliser tube 7133-1 The pin 3 of GND pins, plug connector JP2;10th pin AFI is managed by the G of resistance R32 connection pyroelectric infrared sensors PIR The pin 3 of foot, the GND pins of voltage-stabiliser tube 7133-1, plug connector JP2;11st pin VCC connects heat by resistance R2 with resistance R1 Release the D pins of electric infrared sensor PIR;12nd pin 2O connection variable resistance RL2 and resistance R6, R7, parallel connection resistance R10 and Capacitance C4, capacitance C104 connections the 16th pin IO, wherein variable resistance RL2 and resistance R6 are parallel with capacitance C3, and the 12nd pin 2O is also connected with the control terminal of variable resistance RL2;Capacitance C104 also connects the 15th pin by capacitance C6 in parallel with resistance R9 l-;The S pins that 14th pin l+ passes through resistance R14 connection pyroelectric infrared sensors PIR.
Wherein photosensitive module includes:
Photo resistance GR1 connections access voltage VCC, and are grounded by resistance R4;And the output end connection of photo resistance GR1 The 2nd pin CH0 of A/D conversion chips ADC0832;And the 1st pin CS of A/D conversion chips ADC0832, the 5th pin DI, 6 pin DO, the 7th pin CLK connect main control chip;8th pin VCC connections access voltage VCC, and the 4th pin GND is grounded, and the 3rd Pin CHI1 is hanging.
The above-mentioned technical proposal of the present invention has the beneficial effect that:Above-mentioned technical proposal proposes a kind of LED light, including control End processed and LED light.Wherein LED light by reasonably design may be implemented brightness it is self controllable, according to whether someone lights automatically;Together When control terminal can be with wireless access LED light, to realize flourish state's sound control or manually control.
Description of the drawings
Fig. 1 is the structural schematic diagram for the LED light control system that the embodiment of the present invention proposes;
Fig. 2 is the electrical block diagram of the main control board for the LED light that the embodiment of the present invention proposes;
Fig. 3 is the control flow schematic diagram for the control terminal that the embodiment of the present invention proposes;
Fig. 4 is that the PWM that the embodiment of the present invention proposes dims schematic diagram;
Fig. 5 is the electrical block diagram for the transistor amplifier that the embodiment of the present invention proposes;
Fig. 6 is the electrical block diagram for the light sensing circuit that the embodiment of the present invention proposes;
Fig. 7 is the electrical block diagram for the HC-SR501 pyroelectricity circuits that the embodiment of the present invention proposes;
Fig. 8 is the electrical block diagram for the Bluetooth signal transmission circuit design that the embodiment of the present invention proposes;
Fig. 9 is the initialization flow diagram for the control terminal that the embodiment of the present invention proposes;
Figure 10 is the Speech processing flow diagram for the control terminal that the embodiment of the present invention proposes;
Figure 11 is the schematic diagram of shifting and frame length that the embodiment of the present invention proposes;
Figure 12 is the schematic diagram of basic spectrum-subtraction principle;
Figure 13 is the schematic diagram of MFCC characteristic parameter extraction principles;
Figure 14 is the schematic diagram of Mel frequency filter groups;
Figure 15 is the Dynamic Matching schematic diagram of equal length;
Figure 16 is the unequal Dynamic Matching schematic diagram of length.
Specific implementation mode
It is further detailed to present invention work with reference to the accompanying drawings and detailed description in order to illustrate a kind of base of the present invention Explanation.
For existing intelligent lamp one kind lighting apparatus unreasonable structure the problem of, it is proposed that it is a kind of to have merged computer Technology, the communication technology, artificial intelligence technology, green lighting system technology, and merged the mobile platform skill of intelligent terminal one kind Art.The LED lamp structure of the embodiment of the present invention is reasonable, has adjusting and automatic control function well, is a kind of green energy conservation LED Lamp.
As Figure 1-Figure 8 is LED light.Wherein LED light includes the main control board based on 51 microcontrollers, and is merged Light sensing circuit and pyroelectricity circuit module are designed in combination with pulsewidth width modulated (PWM) technology and driving circuit, with logical Cross the hardware such as pyroelectric sensor, photosensitive resistance sensor and Bluetooth transmission device be combined up to come manually adjust and automatic sensing Regulatory function.Wherein control terminal can be intelligent terminal based on android system, or the intelligence of other any operating systems It can terminal.
As shown in Figure 2, which includes main control board, and wherein main control board is equipped with main control chip, the master control Chip can be STC89C51RC chips;Further include key circuit, reset circuit, crystal oscillating circuit, the LED for connecting the main control chip Driving circuit, electric power management circuit, photosensitive module, bluetooth module, pyroelectricity module.
The wherein described LED drive circuit is PWM light adjusting circuits, and the principle of PWM light adjusting circuits is:Do not changing pulse square wave Under the premise of period, by adjusting each cycle TdThe duty ratio of interior pulse square wave achievees the purpose that equivalent simulation voltage output. Specifically, if it is shown in Fig. 4, in turn-on time TonInterior driving current is to control the purpose of LED light brightness.As shown in Figure 4 , adjust the waveform of current pulse width in PWM controller.Using each pulse as 32 parts of height electricity in the embodiment of the present invention Flat composition is 0.5ms per a corresponding time, can specifically be determined by timer.A variable PWM is preset to count Calculate the number of timer interruption.Using the count value of PWM as high level output temporal reference value, so that it may to generate the duty needed Than.Specifically, can be as shown in Figure 5, using the PNP triode of 9012 types, the base stage of triode is connected into main control chip.When When main control chip sends low level to base stage so that LED circuit conducting and amplified signal, to ensure the LED lamp bead of multiple parallel connections It can work normally.Conversely, when the base stage of triode receives high level, entire transistor drive circuit at cut-off state, So that all LED lamp beads are all extinguished.The circuit of this structure is compared to the more existing circuit dimmed by changing forward current With better dimming scope and the better linearity;And colour consistency is good, gray scale is high;The conversion of LED driver is imitated Rate is high.
Wherein photosensitive module is used to detect extraneous brightness;When external environment brightens, lamp can be automatic dimmed to extinguishing, instead It is as the same.It is as shown in FIG. 6, the purpose is realized using photo resistance CR1 in the embodiment of the present invention;Its operation principle is:By It is involved in conduction in the carrier that illumination generates, makees drift motion under the action of extra electric field, electronics marches on towards the anode of power supply, Hole marches on towards the cathode of power supply, to make the resistance value of photo resistance GR1 decline rapidly.The variation of photosensitive resistance value GR1 and resistance R4 It is divided, need to be converted by A/D conversion chips, to realize the adjusting for realizing light limit value by adjustable resistance, most Signal gives microcontroller processing at last.Wherein A/D conversion chips can be ADC0832 chips, can be by being modulated in advance to realize LED illumination state adjusts.
Wherein pyroelectricity module is for detecting infrared signature to determine whether someone.It is specific as shown in Figure 7, it can adopt Human body signal is detected with HC-SR501 Thermoelectric Infrared Sensors.HC-SR501 is visited made of a kind of high Seebeck coefficient Element composition is surveyed, the wavelength sensitivity of the detecting element is almost stablized constant in 0.2~-20um ranges.When LED desk lamp works In detecting infrared state, detect that someone enters in search coverage, human infrared radiation is focused by partial mirror and released by heat Electric member receives, and faint voltage signal (microvolt grade) is exported through signal processing, then be amplified to milli through the field-effect tube in probe Lie prostrate grade.Compared with the identifiable high and low level (lying prostrate rank) of signal and microcontroller of pyroelectric infrared sensor output at this time still Very little.Processing chips of the signal processing chip BISS0001 as pyroelectric infrared sensor is selected, it is further through BISS0001 After amplification, filtering, output obtains the voltage signal of volt rank, the P1.0 mouths of the 2 feet output next stage microcontroller through BISS0001. Microcontroller judges the signal that input is come in, and makes corresponding judgement.
As shown in Figure 7, the D pins of pyroelectric infrared sensor PIR are passed through by resistance R2 and capacitance C102 ground connection The 11st pin VCC and the 8th pin VER/R of resistance R2 and resistance R1 connection signal processing chips U4;S pins and G pins pass through Capacitance C2 in parallel connect with resistance R5, and S pins are by the 14th pin l+ of resistance R4 connection signal processing chips U4, and electric After holding C103 and resistance R8 series connection, capacitance C5 and capacitance C9 series connection, connect pyroelectric infrared sensor PIR's after two circuit in parallel 15th pin l- of G pins and signal processing chip U4;The 1st pin A connection plug connectors JP1's of wherein signal processing chip U4 Pin 2;The pin 2 that 2nd pin OUT passes through resistance R14 connection plug connectors JP2;3rd pin TR passes through resistance R13, variable resistance The pipe of RT1, the G pins of capacitance CY1 connection pyroelectric infrared sensors PIR, the GND pins of voltage-stabiliser tube 7133-1, plug connector JP2 Foot 3;The control terminal and capacitance CY1 of 4th pin TC connection variable resistances RT1;5th pin ENC passes through capacitance CY2 connection pyroelectricities The pin 3 of the G pins of infrared sensor PIR, the GND pins of voltage-stabiliser tube 7133-1, plug connector JP2;6th pin ENR passes through electricity Hinder R33 connection capacitances CY2;The G pins of 7th pin VSS connection pyroelectric infrared sensors PIR, the GND pipes of voltage-stabiliser tube 7133-1 The pin 3 of foot, plug connector JP2;The OUT pins of 8th pin VER/R connection voltage-stabiliser tubes 7133-1, the pin 1 of plug connector JP1;The G pins, the voltage-stabiliser tube that 9 pin INH connections pass through the denoising circuit CDS1 connection pyroelectric infrared sensors PIR of optical detector The GND pins of 7133-1, the pin 3 of plug connector JP2;10th pin AFI passes through resistance R32 connection pyroelectric infrared sensors The pin 3 of the G pins of PIR, the GND pins of voltage-stabiliser tube 7133-1, plug connector JP2;11st pin VCC passes through resistance R2 and resistance The D pins of R1 connection pyroelectric infrared sensors PIR;12nd pin 2O connection variable resistance RL2 and resistance R6, R7, parallel connection Resistance R10 connects the 16th pin IO with capacitance C4, capacitance C104, and wherein variable resistance RL2 and resistance R6 are parallel with capacitance C3, and 12nd pin 2O is also connected with the control terminal of variable resistance RL2;Capacitance C104 is also connected by capacitance C6 in parallel with resistance R9 15th pin l-;The S pins that 14th pin l+ passes through resistance R14 connection pyroelectric infrared sensors PIR.
Wherein photosensitive module includes:
Photo resistance GR1 connections access voltage VCC, and are grounded by resistance R4;And the output end connection of photo resistance GR1 The 2nd pin CH0 of A/D conversion chips ADC0832;And the 1st pin CS of A/D conversion chips ADC0832, the 5th pin DI, 6 pin DO, the 7th pin CLK connect main control chip;8th pin VCC connections access voltage VCC, and the 4th pin GND is grounded, and the 3rd Pin CHI1 is hanging.
As shown in Fig. 9-Figure 16, wherein the control terminal can be with hardware device or software equipment;Hardware device can be It is any can to LED light send control instruction equipment, such as intelligent mobile terminal (smart mobile phone, tablet computer), computer, Intelligent remote controller etc.;Software equipment can be the control software being arranged within these equipment.In following embodiment with
The control terminal of the embodiment of the present invention includes control module, voice signal module, manual control signal module, mobile phone indigo plant Tooth module;Wherein control module can be the control software in a central processing element or central processing element.The control Module is separately connected voice signal module, manual control signal module, and by Bluetooth of mobile phone module (or it is any can be with Connect the communication module of LED light) connection LED light.The workflow of control terminal is:
It is initialized first, to judge whether correctly to connect LED light;If otherwise step terminates;
The working method for judging control terminal then activates voice signal module, if it is manual if it is voice operating pattern Operation mode then activates manual control signal module;
After receiving control instruction by voice signal module or manual control signal module, pass through Bluetooth of mobile phone module It is sent to LED light and carries out manual control.
Specifically, flow when carrying out speech recognition is as shown in Figure 10, including:Voice is pre-processed and is filtered out Then noise carries out end-point detection, characteristic parameter extraction;The feature extracted is matched by the template in template library To export decision;Wherein template library is to be trained acquisition according to the feature extracted.Below to above-mentioned multiple processing one One carries out specific explanations:
(1) it pre-processes
Voice signal is to change over time and change, and there are discontinuities between each audio.But in the shorter period It is interior, it can approximatively think that its characteristic is held essentially constant, property is known as " instantaneous stationarity " by this of voice signal, the length per frame Degree is about 10ms~30ms.Although framing can be continuous, in order to ensure seamlessly transitting between frame and frame and its continuity, Frequently with overlapping framing method.The part of adjacent two frames overlapping is called frame shifting, and the ratio that frame moves between frame length is usually 0~1/ 2, Figure 11 move the schematic diagram with frame length for frame.
In order to strengthen, protrude the waveform in voice signal near sampling n, and the rest part of waveform is weakened, also Windowing process is carried out to signal.Common window function has rectangular window, Hanning window and Hamming window, they have low-pass characteristic.Square Shape window main lobe is relatively narrow, has higher frequency resolution, but have higher secondary lobe, adjacent harmonic wave can cause mutually because of energy leakage The more serious desiccation such as superimposed or counteracting.It is available relatively pure after Hamming window windowing process compared with rectangular window Frequency spectrum.Select Hamming window as window function in designing speech analysis.
(2) signal denoising
Noise present in signal is inevitable in signal detection, and the interference for reducing noise to the greatest extent becomes letter A crucial step in number detection.Design uses spectrum-subtraction denoising.The basic thought of spectrum-subtraction be it is assumed that additive noise in short-term In the case that stable speech signal is mutual indepedent, remove noise from the power spectrum of noisy speech, it is more pure to obtain Voice.Spectrum-subtraction basic process such as Figure 12.
Spectrum-subtraction is a kind of algorithm of voice noise abatement, it is assumed that s (t) is clean speech, and n (t) is noise signal, and y (t) is band It makes an uproar voice, then has:
Y (t)=s (t)+n (t) (formula 1)
The Fourier transformation for indicating y (t), s (t), n (t) respectively with Y (ω), S (ω), N (ω), then can obtain:
Y (ω)=S (ω)+N (ω) (formula 2)
As it is assumed that signal is independent from each other with additive noise, then have:
| Y (ω) |=| S (ω) |+| N (ω) | (formula 3)
If indicating the power spectrum of y (t), s (t), n (t) respectively with Py (ω), Ps (ω), Pn (ω), have:
Py(ω)=Ps(ω)+Pn(ω) (formula 4)
Due to stationary noise power spectrum before sounding and during sounding it is considered that substantially unchanged, can estimate in this way Power spectrum Pn (ω):
Ps(ω)=Py(ω)+Pn(ω) (formula 5)
(3) end-point detection
Voice signal generally can be divided into unvoiced segments, voiceless sound section and voiced segments.Unvoiced segments are ambient noise sections, and average energy is most It is low.Voiced segments are that vocal cord vibration sends out corresponding speech signal segments, average energy highest.Voiceless sound section is air rubbing in the oral cavity Wipe, impact or explosion and the speech signal segments that send out, average energy occupy between the above two.The waveform of voiceless sound section and unvoiced segments is special Point has apparent difference, unvoiced segments signal intensity more slow, and voiceless sound segment signal changes acutely in amplitude, passes through zero level Number is also more.End-point detection be exactly first determine whether it is sound or noiseless.If sound, voiceless sound or voiced sound are also judged. Correctly to realize end-point detection, comprehensively utilizes two features of short-time energy and zero-crossing rate and carry out end-point detection.
The i-th frame voice signal yi (n) is obtained after defining voice signal x (n) framing.Then the i-th frame voice signal yi's (n) is short When energy theorem be
Zero-crossing rate formula then indicates the number of sample values reindexing, is obtained after same definition voice signal x (n) framing I-th frame voice signal yi (n).Its zero-crossing rate formula is
Sgn [] is sign function in formula
(4) characteristic parameter extraction
In terms of speech recognition and Speaker identification, with phonetic feature mel cepstrum coefficients (MFCC).This parameter compares base There is better Shandong nation property in the LPCC of channel model, more meet the auditory properties of human ear, and still when signal-to-noise ratio reduces With preferable recognition performance.Figure 13 is MFCC characteristic parameter extraction principles.
1. the voice signal to input carries out framing, adding window, then make Discrete Fourier Transform, obtains spectrum distribution letter Breath.If the DFT of voice signal is:
X (n) is the voice signal of input in formula, and N indicates the points of Fourier transform.
2. seeking square of spectrum amplitude, energy spectrum is obtained.
3. energy spectrum is passed through the triangle filter group of one group of Mel scale, such as Figure 14.
Define a filter group (number of filter and the number of critical band are close) for having M filter, center frequency Rate is f (m, m=1,2 ..M), and design takes M=24.Interval between each f (m) is reduced with the reduction of m values, with m values Increase and it is broadening.
The frequency response of triangular filter is defined as:
Wherein
4. calculating the logarithmic energy of each filter group output:
5. obtaining MFCC coefficients through discrete cosine transform (DCT):
(5) voice signal matches
In time series, voice is easier to match if voice signal waveform length is equal, such as Figure 15,16.It matched Cheng Zhong, a point directly correspond to b points.But it needs the length for two sections of time serieses for comparing similitude possible and unequal, knows in voice The word speed that other field shows as different people is different.Because voice signal has sizable randomness, in these complex cases, The distance between two time serieses that traditional Euclid's ranging can not be asked effectively.The a points of solid line waveform can correspond to The b of dotted line waveform, traditional in this way by comparing distance to calculate similitude clearly not reliable.Because it is obvious that a of solid line B ' the points of the corresponding imaginary point line of point are only correctly.And the point that DTW can be aligned by finding the two waveforms, it is calculated in this way Distance be only correctly.
DTW is the non-linear regular technology of one kind that Time alignment and distance measure calculations incorporated are got up, it finds one The time shaft n of test vector is non-linearly mapped on the time shaft m of reference template, and makes by warping function im=Φ (in) The function meets:
Wherein D is the distance in optimal time two vectors in the case of regular.Due to DTW constantly calculate two vectors away from From to find optimal coupling path, so warping function when what is obtained is two vector matchings corresponding to Cumulative Distance minimum, This guarantees existing maximum Acoustic Similarities between them, avoid the error that may be introduced since duration is different.
Above-mentioned technical proposal proposes a kind of LED light control system, including control terminal and LED light.Wherein LED light passes through conjunction The design of reason may be implemented brightness it is self controllable, according to whether someone lights automatically;Simultaneously control terminal can with wireless access LED light, To realize flourish state's sound control or manually control.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (4)

1. a kind of LED light, which is characterized in that including LED lamp bead and main control board, the main control board includes:Master control core Piece, LED drive circuit, electric power management circuit, photosensitive module, bluetooth module, pyroelectricity module;
The wherein described LED drive circuit is real to come by adjusting the duty ratio of pulse square wave in the pulse period for PWM light adjusting circuits Existing equivalent simulation voltage output;The wherein described PWM light adjusting circuits include PNP triode, the base stage connection of the PNP triode The output end of main control chip, emitter connect reference voltage, and collector connects LED lamp bead;When main control chip exports low level Signal is amplified and is transported to LED lamp bead by triode, and when main control chip exports high level, triode cut-off is so that all LED light Pearl is extinguished;
The wherein described photosensitive module is used to detect extraneous brightness to control LED lamp bead brightness, and the photosensitive module includes photosensitive Resistance, A/D conversion chips;The wherein described photo resistance connects divider resistance, and connects main control chip by A/D conversion chips, So that main control chip controls LED lamp bead according to the ambient light that photo resistance measures;The wherein described A/D conversion chips can be ADC0832 chips;
Wherein pyroelectricity module is for detecting infrared signature to determine whether someone;The pyroelectricity module includes HC-SR501 heat Electric infrared sensor and BISS0001 signal processing chips are released, the HC-SR501 Thermoelectric Infrared Sensors pass through BISS0001 signal processing chips connect main control chip so that main control chip is examined according to HC-SR501 Thermoelectric Infrared Sensors Survey output control LED lamp bead;
The wherein described bluetooth module is for connecting external equipment to receive peripheral equipment control.
2. LED light according to claim 1, which is characterized in that the wherein described PWM light adjusting circuits adjust in the following manner The duty ratio of pulse square wave in pulse period:
The turn-on time of the PWM light adjusting circuits is Ton, according to preset time interval by turn-on time TonIt is divided into N parts, and every One interruption of the corresponding timer of portion;The PWM light adjusting circuits are by design variables counting come timing to generate required account for Empty ratio.
3. LED light according to claim 1, which is characterized in that wherein pyroelectricity module specifically includes:
The D pins of pyroelectric infrared sensor (PIR) are grounded by resistance (R2) and capacitance (C102), and by resistance (R2) and The 11st pin VCC and the 8th pin VER/R of resistance (R1) connection signal processing chip (U4);S pins and G pins pass through parallel connection Capacitance C2 connected with resistance R5, and S pins are by the 14th pin 1+ of resistance (R4) connection signal processing chip (U4), and electricity After holding (C103) and resistance R8 series connection, capacitance C5 and capacitance C9 series connection, pyroelectric infrared sensor is connected after two circuit in parallel (PIR) the 15th pin 1- of G pins and signal processing chip (U4);Wherein the 1st pin A connections of signal processing chip (U4) The pin 2 of plug connector JP1;2nd pin OUT connects the pin 2 of plug connector (JP2) by resistance (R14);3rd pin TR passes through G pins, the voltage-stabiliser tube 7133- of resistance (R13), variable resistance (RT1), capacitance (CY1) connection pyroelectric infrared sensor (PIR) 1 GND pins, the pin 3 of plug connector (JP2);The control terminal and capacitance (CY1) of 4th pin TC connection variable resistances (RT1); 5th pin ENC by the G pins of capacitance CY2 connection pyroelectric infrared sensors (PIR), voltage-stabiliser tube 7133-1 GND pins, The pin 3 of plug connector (JP2);6th pin ENR connects capacitance CY2 by resistance (R33);7th pin VSS connection pyroelectricities are red The pin 3 of the G pins of outer sensor (PIR), the GND pins of voltage-stabiliser tube 7133-1, plug connector (JP2);8th pin VER/R connects Connect the OUT pins of voltage-stabiliser tube 7133-1, the pin 1 of plug connector JP1;9th pin INH connections pass through the denoising acoustic-electric of optical detector Road (CDS1) connects the G pins of pyroelectric infrared sensor (PIR), the GND pins of voltage-stabiliser tube 7133-1, plug connector (JP2) Pin 3;10th pin AFI connects the G pins of pyroelectric infrared sensor (PIR), voltage-stabiliser tube 7133-1 by resistance (R32) The pin 3 of GND pins, plug connector (JP2);11st pin VCC connects rpyroelectric infrared by resistance (R2) and resistance (R1) and passes The D pins of sensor (PIR);12nd pin 2O connection variable resistances (RL2) and resistance (R6), (R7), resistance (R10) in parallel and Capacitance (C4), capacitance (C104) connect the 16th pin IO, and wherein variable resistance (RL2) and resistance (R6) is parallel with capacitance (C3), And the 12nd pin 2O be also connected with the control terminal of variable resistance (RL2);The capacitance (C104) also passes through capacitance (C6) and electricity in parallel It hinders (R9) and connects the 15th pin 1-;14th pin 1+ connects the S pins of pyroelectric infrared sensor (PIR) by resistance (R14).
4. LED light according to claim 1, which is characterized in that wherein photosensitive module includes:
Photo resistance (GR1) connection access voltage (VCC), and be grounded by resistance (R4);And the output end of photo resistance (GR1) Connect the 2nd pin CH0 of A/D conversion chips ADC0832;And the 1st pin CS, the 5th pin of A/D conversion chips ADC0832 DI, the 6th pin DO, the 7th pin CLK connect main control chip;8th pin VCC connections access voltage (VCC), the 4th pin GND Ground connection, the 3rd pin CHI1 are hanging.
CN201710311153.1A 2017-05-05 2017-05-05 LED light Pending CN108811228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710311153.1A CN108811228A (en) 2017-05-05 2017-05-05 LED light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710311153.1A CN108811228A (en) 2017-05-05 2017-05-05 LED light

Publications (1)

Publication Number Publication Date
CN108811228A true CN108811228A (en) 2018-11-13

Family

ID=64054745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710311153.1A Pending CN108811228A (en) 2017-05-05 2017-05-05 LED light

Country Status (1)

Country Link
CN (1) CN108811228A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104470034A (en) * 2013-09-16 2015-03-25 成都昊地科技有限责任公司 Brightness automatic control circuit of LED table lamp
CN205491333U (en) * 2016-03-22 2016-08-17 中国矿业大学 Classroom LED intelligence lighting system
CN205584567U (en) * 2016-04-28 2016-09-14 宜昌星鑫电子股份有限公司 Hot energy release intelligence LED lamp circuit
CN206004955U (en) * 2016-08-31 2017-03-08 许庆阳 A kind of interior LED intelligent illumination energy conserving system
CN206004981U (en) * 2016-09-19 2017-03-08 湖南广播电视大学 A kind of campus intelligent illuminating system based on Internet of Things
CN206077803U (en) * 2016-10-12 2017-04-05 重庆邮电大学 A kind of machine room intelligent illuminator

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104470034A (en) * 2013-09-16 2015-03-25 成都昊地科技有限责任公司 Brightness automatic control circuit of LED table lamp
CN205491333U (en) * 2016-03-22 2016-08-17 中国矿业大学 Classroom LED intelligence lighting system
CN205584567U (en) * 2016-04-28 2016-09-14 宜昌星鑫电子股份有限公司 Hot energy release intelligence LED lamp circuit
CN206004955U (en) * 2016-08-31 2017-03-08 许庆阳 A kind of interior LED intelligent illumination energy conserving system
CN206004981U (en) * 2016-09-19 2017-03-08 湖南广播电视大学 A kind of campus intelligent illuminating system based on Internet of Things
CN206077803U (en) * 2016-10-12 2017-04-05 重庆邮电大学 A kind of machine room intelligent illuminator

Similar Documents

Publication Publication Date Title
CN106200989B (en) A kind of method and device of the bright screen of mobile terminal
Ma et al. Solargest: Ubiquitous and battery-free gesture recognition using solar cells
TWI651516B (en) Photoelectric detector, photoelectric detection method and heart rate detecting device using same
WO2008105812A3 (en) Portable mems-based spectral identification system
WO2003010553A3 (en) First-arriving-pulse detection apparatus and associated methods
CN108811229A (en) LED light control system
CN203057620U (en) Intelligent voice control lamp
CN206505193U (en) A kind of miniature trough type photoelectric sensor
CN108811228A (en) LED light
CN112462670A (en) Smart home control system based on STM32F103
CN106502463B (en) A kind of oise damping means and control method of touch-screen display
CN109034005A (en) A kind of electronic equipment and human body induction control method with human body sensing
CN203984720U (en) Human induction switch Panel light with an automatic light meter
CN213986767U (en) Circuit for detecting light flicker
CN209980272U (en) Wide face identification detection device of application scope
CN209148884U (en) Infrared sensing device
CN107911905B (en) Human infrared receiving and processing circuit and processing method thereof
CN107430208A (en) Optical detection device and electronic equipment
CN107205303B (en) Color sensor module, intelligent lighting device and intelligent lighting control method
CN211318794U (en) TOF human presence detection system
CN206027106U (en) Intelligence stage, light, beautiful historical romance system of synthesizing of dance
CN201069367Y (en) Sensor special for logistics transfer
CN205160853U (en) But infrared human induction system of remote control
Otte et al. Wireless optical PPM telemetry and the influence of lighting flicker
CN209372952U (en) A kind of high-precision current signal supervisory instrument

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181113

RJ01 Rejection of invention patent application after publication