The content of the invention
For the deficiency and defect of above technology, the purpose of the present invention aims to provide a kind of simple to operate, is easy to promote, energy
The fan of enough distance interactive gesture controls.
The purpose of the present invention is realized by using following technical scheme:There is stalling by one kind of this purpose design
The interactive gesture control fan of protection, its circuit feature, including closely gesture induction circuit unit, closely induction alarm
Circuit unit, touch induction circuit unit, time indicator lamp circuit unit, motor-drive circuit unit, OLED display circuit lists
Member, WiFi circuitry unit, alarm circuit unit, power circuit and electric fan.
Its architectural feature:User closely gesture induction circuit unit be located at folding rack horizontal pcb board both ends,
Closely induction alarm circuit unit is located at the centre position of horizontal pcb board, and time indicator lamp circuit unit is respectively positioned at laterally
On PCB plates and on vertical pcb board, touch induction circuit unit is located on the right crus of diaphragm of folding rack support base, OLED display screen
Positioned at the left foot position of support base, the motor-drive circuit unit of closed-loop control, WiFi circuitry unit and alarm circuit
Unit is located on master control borad, and master control borad and lithium battery are located at the chassis interior of folding rack, and external power interface is positioned at support bottom
On seat right crus of diaphragm, electric fan is located at the top of folding rack.
The closely gesture induction circuit unit, including infrared tube, comparator chip, action indicator, work refer to
Show lamp, potentiometer, resistance;When human hand is in the range of the pre-determined distance of infrared tube sensing, comparator send a high level
To single-chip microcomputer, while action indicator action luminous prompting, when outside human hand is in default distance range, comparator is by one
Low level delivers to single-chip microcomputer, while action indicator extinguishes;It is possible thereby to realize that closely gesture induction is to timing, fan
The adjustment of speed, mode of operation;Relay indicating light is located at by infrared tube, in the position of night prompting infrared tube;Can
To adjust the distance of reaction of infrared tube by adjusting the size of potentiometer resistance.
The operation principle of the closely induction alarm circuit unit is identical with closely gesture induction circuit unit, here
No longer repeat.When human hand is entered closely in the range of the alarm distance of induction alarm circuit unit, comparator is high electric by one
Flat to deliver to single-chip microcomputer, motor-drive circuit is stopped, motor stalls, while buzzer work sends sound, and the time refers to
The LED flicker of indication lamp circuit unit is reminded;After human hand leaves, before single-chip microcomputer is handled and recovers alarm triggering
State.
The closely gesture induction circuit unit, it can be substituted by ultrasonic distance measuring module and infrared distance measurement module red
Outside to tube module, the distance between human hand and range finder module are measured by range finder module, when human hand is in distance measuring sensor triggering
Distance range within when, single-chip microcomputer is handled, and two or more sets range finder modules are triggered by simple gesture, you can realize
Aerial gesture is to timing, the adjustment of fan speed, mode of operation;By setting multiple electronic locks to avoid maloperation with this.
The closely gesture induction circuit unit, infrared tube module and range finder module can be used to be combined, passed through
Infrared tube module opens electronic lock, and timing, fan speed, mode of operation are quickly adjusted by range finder module.
Triggered when with hand after infrared tube module opens electronic lock into the adjustment to timing and motor speed, pass through mathematical modeling
The relationship model established between distance and motor speed, timing, you can during by range finder module to motor speed and timing
Between quickly adjusted, after motor speed, timing is set by range finder module, pass through infrared tube module close electricity
Son lock, maloperation is avoided with this.
The closely gesture induction circuit unit, infrared tube module and range finder module can be used to be combined, passed through
Infrared tube module opens electronic lock, and timing, fan speed, mode of operation are quickly adjusted by range finder module.
Measured by range finder module in different time sections between human hand and range finder module apart from difference, you can measurement human hand relative to
The translational speed of range finder module, human hand is measured relative to the speed difference between range finder module at different moments by range finder module
Value, you can measure the translational acceleration of human hand.By handling speed and acceleration, you can realize to timing and electricity
The quick adjustment of machine speed.
The closely induction alarm circuit unit, multiple infrared tubes, the sensing side of each infrared tube can be set
To difference, infrared tube shares a comparator delivery outlet, and when wherein there is an infrared tube triggering, comparator output one is high
Level carries out stalling protection to single-chip microcomputer.
The touch induction circuit unit, including the infrared tube of paster encapsulation, triggering indicator lamp, resistance;When human hand touches
When touching infrared tube, the infrared part of infrared transmitting tube transmitting is reflexed to by human hand in the reception pipe of infrared tube, is passed through
Single-chip microcomputer is acquired to the AD values of infrared tube colelctor electrode, and when the AD values collected are less than default AD values, then touching has
Effect, single-chip microcomputer are handled, if be more than default value, it is invalid to touch, and single-chip microcomputer is without processing;Thus can be by using hand
Touch is adjusted to timing, fan speed, mode of operation.
The time indicator lamp circuit unit, including the 74H595 chips of paster encapsulation, resistance, potentiometer, photo resistance
With two groups of LED lights, every group of LED light includes 8 LEDs, and photo resistance and potentiometer collective effect carry out adjustment time
The light intensity of indicator lamp.
Wherein, in first group of indicator lamp, first LED represents 0.5h, and second LED represents 1h, the 3rd
LED represents 2h, and the 4th LED represents 4h, and the 5th LED represents 8h, and the 6th LED represents 16h,
7th LED represents 32h, and the 8th LED represents 64h;In second group of indicator lamp, first LED represents 7 points
Clock, second LED represent 15 minutes, and the 3rd LED represents 22 minutes, and the 4th LED represents 30 minutes,
5th LED represents 37 minutes, and the 6th LED represents 45 minutes, and the 7th LED represents 52 minutes, and the 8th
Individual LED represents 59 minutes.
User can be carried out quick by mobile phone and computer client software to timing, motor speed, mode of operation
Set.
The OLED display circuits unit is used for showing fan inner parameter information.
The alarm circuit unit carries out acousto-optic hint by buzzer and LED.
The power unit includes in-line power and externally fed, and in-line power part is powered by lithium battery, outside
Portion's power pack is connected by conventional mini-USB data line socket or other sockets with external power source.
Embodiment
Below in conjunction with the accompanying drawings and embodiment further describes to the present invention.
First embodiment
Referring to Fig. 1-Fig. 9, this electric fan, its circuit feature:Including, closely gesture induction circuit unit 2.1, low coverage
From induction alarm circuit unit 2.2, touch induction circuit unit 1.6, time indicator lamp circuit unit 2.3 and 2.4, WiFi circuitry
Unit, OLED display circuit units, alarm circuit unit, the motor-drive circuit unit of closed-loop control, power circuit and
Electric fan.
Referring to Fig. 1, its architectural feature:Closely gesture induction circuit unit 2.1 is located at the transverse direction of folding rack to user
The both ends of pcb board 4.2, closely induction alarm circuit unit 2.2 be located at the centre position of horizontal pcb board 4.2, time indicator lamp
Circuit unit 2.4 and 2.3 is respectively on horizontal PCB plates 4.2 and on vertical pcb board 4.1, touch induction circuit unit 1.6
In on the right crus of diaphragm of folding rack support base 4.4, OLED display screen 1.3 is located at the left foot position of support base 4.4, closed-loop control
Electric-motor drive unit, WiFi circuitry unit and alarm circuit unit be located on master control borad, master control borad and lithium battery are located at
Inside the support base 4.4 of folding rack, external power interface 3.3 is located on the right crus of diaphragm of support base 4.4, and electric fan is positioned at folding
The top of support.Horizontal pcb board 4.2 is connected by a rotary shaft with vertical pcb board 4.1, and vertical pcb board 4.1 passes through one
Rotary shaft is connected with support arm 4.3, and support arm 4.3 is connected by a rotary shaft with support base 4.4, as the vertical PCB of rotation
During plate 4.1, horizontal pcb board 4.2 will move with the motion of vertical pcb board 4.1, it is possible thereby to keep the wind direction and low coverage of fan
It is consistent with closely induction alarm direction from gesture induction direction, horizontal pcb board 4.2 can be individually rotated, makes itself and vertical PCB
Plate 4.1 produces certain angle, so as to change closely gesture induction direction and closely induction alarm direction.Rotation can be passed through
The left and right pin for turning vertical pcb board 4.1, support arm 4.3 and support base 4.4 adjusts the position of wind direction and center of gravity, to keep it
It is stable;Space can be reduced by rotary folding.
User can be carried out quick by mobile phone and computer client software to timing, motor speed and mode of operation
Set.
The OLED display circuits unit is used for showing parameters information.
The alarm circuit unit carries out acousto-optic hint by buzzer and LED.
The power unit includes in-line power and externally fed, and in-line power part is powered by lithium battery, outside
Portion's power pack is connected by conventional mini-USB data line socket or other sockets with external power source.
Second embodiment
Referring to Fig. 4:Above-mentioned touch induction circuit unit 1.6 divides for three groups of separate touch sensible modules, first group
Touch sensible module includes infrared tube Opto1, action indicator LED2, resistance R2, R3, R5;Infrared tube Opto1 current collection
Pole is connected with single-chip I/O mouth.
Second group of touch sensible module includes infrared tube Opto2, LED light LED3, resistance R7, R8, R9, the 3rd group
Touch sensible module includes infrared tube Opto3, action indicator LED4, resistance R10, R11, R12;Second group of touch sensible mould
The colelctor electrode of block and the infrared tube of the 3rd group of touch sensible module is connected with the I/O port of single-chip microcomputer respectively.
When touching infrared tube with hand, the infrared part of infrared transmitting tube transmitting reflexes to infrared tube by human hand
In reception pipe, the AD values of infrared tube colelctor electrode are acquired by single-chip microcomputer, when the AD values collected are less than default AD
During value, then touch effectively, single-chip microcomputer is handled, if be more than default value, it is invalid to touch, and single-chip microcomputer is without processing.
Thus it can realize to touch by using hand and timing, fan speed, mode of operation are adjusted.
Because action indicator and the reception pipe of a resistance and infrared tube are cascaded, when human hand touch it is infrared
During to pipe, the infrared ray that infrared receiving tube receives is more, and the resistance between infrared tube collector and emitter is smaller, gets
Pressure drop it is smaller, the pressure drop got on action indicator is bigger, after the conduction voltage drop for reaching action indicator, action indicator
Luminous instruction.
If Fig. 9 is the flow chart by touch induction circuit unit adjustment motor speed, timing and mode of operation.
Three groups of touch modules, when touching the 1st, 2 group of infrared tube simultaneously with hand, single-chip microcomputer gathers two groups of AD values, when
Touch effectively and efficiently the time more than 2 seconds after, open electronic lock and simultaneously enter adjustment to timing and motor speed, this
When, when first time touches the 3rd group of infrared tube and touches effective, into the adjustment to motor speed, now, when human hand list
Solely touch the 1st group of infrared tube and when touching effective, motor speed continues to increase, when human hand individually touches the 2nd group red
Outside to pipe and when touching effective, motor speed persistently reduces.Thus can be by touching the stepless time adjustment realized to motor.
After opening electronic lock and entering the adjustment to timing and motor speed, now, the 3rd group is touched when second
Infrared tube and when touching effective, into the adjustment to timing, now, when human hand individually touches the 1st group infrared right
When managing and touching effective, timing continues to increase, when human hand individually touches the 2nd group of infrared tube and touches effective
When, timing persistently reduces, and thus can realize the adjustment to timing.
After the completion of the adjustment to timing and motor speed, the 1st, 2 group of infrared tube is touched simultaneously with hand again,
Single-chip microcomputer gathers two groups of AD values, after effectively and efficiently the time was more than 2 seconds for touch, closes electronic lock and simultaneously exits to time and electricity
The adjustment of machine speed, it is possible thereby to avoid changing timing and motor speed because mistaken touch operates.It is being not switched on electronics
During lock, when touching the 3rd group of infrared tube with hand and touching effective, you can realize the selection to fan operating mode.
3rd embodiment
Referring to Fig. 5:Closely gesture induction circuit unit 2.1 include comparator LM393 U3, relay indicating light LED12,
LED11, action indicator LED7, LED8, infrared transmitting tube LED10, LED9, infrared receiving tube ACC3, ACC2, potentiometer
SLIDE R3, SLIDE R2, resistance R25, R26, R27, R28, R29, R30, R31, R22, R23, R24;The 1st, the 7 of comparator U3
Pin is connected with the I/O port of single-chip microcomputer respectively.
Referring to Fig. 6:Closely induction alarm circuit unit 2.2 includes comparator LM393 U2, action indicator LED5,
Infrared transmitting tube LED6, infrared receiving tube ACC1, potentiometer SLIDE R1, resistance R16, R17, R18, R19;The of comparator U2
1 pin is connected with the I/O port of single-chip microcomputer.
Referring to Fig. 5:Closely gesture induction circuit unit 2.1, when human hand is in the pre-determined distance model of infrared tube sensing
When within enclosing, a high level is delivered to single-chip microcomputer, while action indicator LED7/LED8 luminous promptings by comparator U3 actions;When
When human hand is in outside default distance range, a low level is delivered to single-chip microcomputer, while action indicator LED7 by comparator U3
/ LED8 extinguishes, and thus can realize that closely gesture induction is to timing, the adjustment of fan speed, mode of operation;Work instruction
Lamp LED12 and LED11 are located at by infrared tube, in the position of night prompting infrared tube;Can be by adjusting potentiometer
The size of resistance adjusts the distance of reaction of infrared tube.
Referring to Fig. 6:The closely operation principle of induction alarm circuit unit 2.2 and closely gesture induction circuit unit
2.1 is identical, but default distance of reaction is smaller than closely gesture induction circuit unit 2.1.Closely feel when human hand enters
When answering in the range of the alarm distance of warning circuit unit 2.2, comparator U2 the 1st pin exports high level to single-chip microcomputer, monolithic
Machine handles and carries out stalling protection, and motor-drive circuit is stopped, motor stalls, while buzzer work sends sound
Sound, the LED flicker of persond eixis circuit unit 2.3 and 2.4 are reminded.After human hand leaves, comparator is by a low level
Single-chip microcomputer is delivered to, single-chip microcomputer is handled, and recovers the state before alarm triggering.
In closely induction alarm circuit unit, multiple infrared tubes are set, and the sensing direction of each infrared tube is not
Together, infrared tube shares a comparator delivery outlet, i.e., when wherein there is one or more infrared tubes to be triggered, comparator is just
Export a high level and carry out stalling protection to single-chip microcomputer.
Not up to closely sense when human hand enters closely 2.1 default distance of reaction of gesture induction circuit unit
The distance of reaction of warning circuit unit 2.2, you can realize to timing, fan speed, model selection adjustment.
Similarly, the flow chart that closely sensor circuit unit 2.1 adjusts to timing and motor speed passes through with Fig. 9
Touch circuit unit is regulated the speed, timing is similar with the flow chart of model selection, is no longer repeated here.
The closely gesture induction circuit unit, it can be substituted by ultrasonic distance measuring module and infrared distance measurement module red
Outside to tube module, the distance between human hand and range finder module are measured by range finder module, when human hand is in distance measuring sensor triggering
Distance range within when, single-chip microcomputer is handled, and two or more sets range finder modules are triggered by simple gesture, you can realize
Aerial gesture is to timing, the adjustment of fan speed, mode of operation;By setting multiple electronic locks to avoid maloperation with this.
Fourth embodiment
The closely gesture induction circuit unit, infrared tube module and range finder module can be used to be combined, passed through
Infrared tube module opens electronic lock, and timing, fan speed, mode of operation are quickly adjusted by range finder module.
Triggered when with hand after infrared tube module opens electronic lock into the adjustment to timing and motor speed, when to motor speed
When being adjusted, by establishing the relationship model between distance and motor speed, for example, when range finder module measured people in two seconds
Coverage between hand and distance measuring sensor is 30cm, error range for+- 3cm when, then now corresponding motor speed is
45, when the coverage between the human hand and distance measuring sensor that range finder module measured in two seconds is 40cm, error range is
During+- 3cm, then now corresponding speed is 60, the relationship model established by mathematical modeling between distance and motor speed,
Motor speed can quickly be adjusted by range finder module, after motor speed is set by range finder module, by red
Electronic lock is closed to tube module outside, maloperation is avoided with this.
Similarly, triggered when with hand after infrared tube module opens electronic lock into the tune to timing and motor speed
It is whole, when being adjusted to timing, by establishing the relationship model between distance and timing, for example, working as ranging mould
The coverage that block measured between human hand and distance measuring sensor in two seconds is 40cm, error range for+- 3cm when, then now
Corresponding timing is 4h, is when range finder module measured the coverage between human hand and distance measuring sensor in two seconds
50cm, error range for+- 3cm when, then now corresponding timing be 8h, and distance and regularly is established by mathematical modeling
Relationship model between time, you can quickly adjusted to timing by range finder module, set when by range finder module
After good timing, electronic lock is closed by infrared tube module, maloperation is avoided with this.
5th embodiment
The closely gesture induction circuit unit, infrared tube module and range finder module can be used to be combined, passed through
Infrared tube module opens electronic lock, and timing, fan speed, mode of operation are quickly adjusted by range finder module.
Measured by range finder module in different time sections between human hand and range finder module apart from difference, you can measurement human hand relative to
The translational speed of range finder module, human hand is measured relative to the speed difference between range finder module at different moments by range finder module
Value, you can measure the translational acceleration of human hand.By handling speed and acceleration, you can realize to timing and electricity
The quick adjustment of machine speed.Such as:When being adjusted to timing, drawn near by human hand, realize that timing is held
Continuous to reduce, human hand from the close-by examples to those far off, realizes that timing continues to increase, and the change of human hand translational speed is faster, and timing change is got over
Greatly.The relationship model established by mathematical modeling between speed, acceleration and timing, you can pass through range finder module realization pair
Timing is quickly adjusted, and after timing is set by range finder module, electronics is closed by infrared tube module
Lock, maloperation is avoided with this.Similarly, the adjustment mode to fan speed is similar with the adjustment mode to timing.
Sixth embodiment
Referring to Fig. 7:Time indicator lamp circuit unit 2.3 include 74HC595 chips U4, LED light LED13, LED15,
LED17, LED19, LED21, LED23, LED25, LED27, resistance R32, R34, R36, R38, R40, R42, R44, R46, current potential
Device SLIDE R4, photo resistance RS2;Chip U4 the 12nd, 11,14 pins are connected with the I/O port of single-chip microcomputer respectively.
Referring to Fig. 8:Time indicator lamp circuit unit 2.4 include 74HC595 chips U5, LED light LED14, LED16,
LED18, LED20, LED22, LED24, LED26, LED28, resistance R33, R35, R37, R39, R41, R43, R45, R47, current potential
Device SLIDE R5, photo resistance RS3;Chip U5 the 12nd, 11,14 pins are connected with the I/O port of single-chip microcomputer respectively.
In time indicator lamp circuit unit 2.3, first LED represents 0.5h, and second LED represents 1h, the
Three LEDs represent 2h, and the 4th LED represents 4h, and the 5th LED represents 8h, and the 6th LED represents
16h, the 7th LED represent 32h, and the 8th LED represents 64h.In time indicator lamp circuit unit 2.4, first
Individual LED represents 7 minutes, and second LED represents 15 minutes, and the 3rd LED represents 22 minutes, the 4th LED
Represent 30 minutes, the 5th LED represents 37 minutes, and the 6th LED represents 45 minutes, the 7th LED generation
Table 52 minutes, the 8th LED represent 59 minutes.In time indicator lamp circuit unit 2.3 and 2.4, photo resistance and
Potentiometer is by collective effect in parallel come the light intensity of adjustment time indicator lamp.When at night, photo resistance increase,
Photo resistance and the increase of potentiometer parallel connection resistance, the brightness of LED time indicator lamps reduces, on daytime, brightness increase, it is possible thereby to real
Existing illumination compensation.
Such as:When timing is 10 small 53 minutes, then first five LED of time indicator lamp circuit unit 2.3
It is lit, the first seven LED of time indicator lamp circuit unit 2.4 is lit;Gradually decreased when the time, the indicator lamp being lit
Gradually extinguish, when timing be 6 it is small when 32 minutes when, preceding four LEDs of time indicator lamp circuit unit 2.3 are lighted, when
Between preceding four indicator lamps of indicator light circuit unit 2.4 be lit.
When carrying out speed adjustment by closely gesture induction or touch sensible, time indicator lamp circuit unit 2.4
Wind speed feedback is carried out by simulating running lamp flowing, wind speed after adjustment is bigger, and running lamp flowing velocity is faster;When exiting pair
During the adjustment of wind speed, time indicator lamp circuit unit 2.4 was prompted remaining time.
Presently preferred embodiments of the present invention is the foregoing is only, is not used for limiting the practical range of the present invention;It is every according to this
The made equivalence changes of invention and modification, are all covered by the scope of claims of the present invention.