It is applied to intelligence system and the processing method of electric iron
Technical field
The present invention relates to household appliance technical field, particularly relate to a kind of intelligence system being applied to electric iron and process
Method.
Background technology
Along with the raising of people's living standard, people are increasingly particular about the details worn the clothes, such as clothes smooth.
Electric iron is a kind of smooth clothes and the instrument of cloth, and it can be divided into: plain edition electric iron, temperature-adjusting type electricity are pressed
Bucket, steam spray type electric iron etc..
Plain edition electric iron structure is simple, low price, manufactures and easy to maintenance.Temperature-regulated iron can be
It is automatically adjusted temperature in the range of 60~250 DEG C, power supply can be automatically cut off, can use according to different dress materials and close
Suitable temperature presses, and to obtain power saving than plain edition.The existing temperature adjustment function of steam spray type electric iron, again can
Producing steam, have goes back fit on sprayer unit, exempts the trouble of artificial water spray, and dress material moistening is evenly,
Ironing effect is more preferable.
But, during the use of electric iron, often occurring that electric iron scorches the situation of clothes, this is
Because by this frame for movement of spin, existing electric iron generally judges that electric iron keeps flat or places vertically,
This judgment mode can only judge that electric iron is horizontal positioned or erects placement, in electric iron horizontal positioned
Time to electric iron heating, erect place time do not heat, so real-time judge can not go out electric iron horizontal positioned
Time motion conditions so that electric iron heats when horizontal positioned always, if now electric iron is placed on clothing
On clothes motionless, exist for electric iron and scorch the risk of clothes.
Summary of the invention
For the problem of above-mentioned existence, the present invention provides a kind of intelligence system being applied to electric iron and process side
Method, with overcome electric iron of the prior art can not real-time judge horizontal positioned time motion conditions cause always
Heating, thus the problem of the risk that spoils a dress existed, and then the motion conditions of real-time judge electric iron, with
Judge whether to heat, eliminate the frame for movement of this heaviness of spin simultaneously, and then it is raw to save electric iron
Produce cost.
To achieve these goals, the technical scheme that the present invention takes is:
A kind of intelligence system being applied to electric iron, wherein, including:
Acceleration acquisition module, its acceleration information being configured to obtain described electric iron;
Motion detection block, it is configured to receive and process described acceleration information to obtain described electric iron
Kinestate, then controls the work of described electric iron according to described kinestate;
Wherein, described acceleration acquisition module is communicated with described motion detection block by an I2C bus.
The above-mentioned intelligence system being applied to electric iron, wherein, described acceleration acquisition module is BMA223 core
It is integrated with I2Cslave in sheet, and this BMA223 chip.
The above-mentioned intelligence system being applied to electric iron, wherein, described motion detection block includes electricity successively
Property connect I2Cmaster, memory element, Motion Recognition computing unit and driver element, described motion detect
Module receives described acceleration information by described I2Cmaster, is then transferred to described memory element and deposits
Storage, described Motion Recognition computing unit receives and processes the acceleration information in described memory element, thus obtains
To the kinestate of described electric iron, described driver element drives described electric iron work according to described kinestate
Make.
Above-mentioned be applied to electric iron can only system, wherein, described driver element draw control signal wire,
Pipe holding wire and display signal line, and described control signal wire is electrically connected at the heating unit of described electric iron,
The described holding wire that pipes is electrically connected at the buzzer of described electric iron, and described display signal line is electrically connected at
The LED light of described electric iron.
The above-mentioned intelligence system being applied to electric iron, wherein, described I2C bus includes clock line, data
Line and signal interruption line, wherein, described clock line and described data wire are respectively by a pull-up resistor and power supply
Connect.
A kind of processing method being applied to electric iron, wherein, including:
Obtain the acceleration information of described electric iron;
Just read described acceleration information every 200ms, judge described electric iron according to described acceleration information
Kinestate, described determination methods is: when the acceleration information of the reading in continuous 2 seconds is all higher than 0.6g
Time, the kinestate of described electric iron is vertically to place;When the acceleration information read is less than 0.6g
Time, the kinestate of described electric iron is horizontal positioned;When described electric iron horizontal positioned, adjacent two
When the difference of the acceleration information read is more than 0.1g, the kinestate of described electric iron is horizontal positioned and motion;
When the difference of the acceleration information of adjacent company reading matter is less than 0.1g, the kinestate of described electric iron is level
Place but do not move;
Kinestate according to described electric iron controls the work of described electric iron.
The processing method of above-mentioned electric iron, wherein, when the kinestate of described electric iron is for vertically placing,
Described electric iron does not heats;When described electric iron horizontal positioned and motion, described electric iron heats;Work as institute
When stating electric iron horizontal positioned but do not move, described electric iron does not heats, and described electric iron is by heated condition mistake
Cross not heated condition time, buzzer provides 6 sound and pipes.
The processing method of above-mentioned electric iron, wherein, when the state of described electric iron is not heated condition,
The LED display lamp of described electric iron does not works;When the state of described electric iron is heated condition, described electricity is pressed
The LED light of bucket is bright.
Technique scheme has the advantage that or beneficial effect:
The intelligence system being applied to electric iron that the present invention provides, uses MEMS original paper BMA223 chip
Obtain the acceleration information of electric iron, then by I2C bus, acceleration information is transferred to motion and detects mould
Block carries out calculating process, just can obtain the kinestate of electric iron, finally according to the motion shape of electric iron
State controls the duty of electric iron, thus overcome electric iron of the prior art can not real-time judge water
Motion conditions during placing flat causes heating always, the problem of the risk that spoils a dress existed, and then sentences in real time
Whether the motion conditions of power-off flatiron, heat controlling electric iron, eliminate this heaviness of spin simultaneously
Frame for movement, and then save electric iron production cost.
In the processing method being applied to electric iron that the present invention provides, the most concrete elaborates when continuous 2 seconds
When the acceleration information of interior reading is all higher than 0.6g, the kinestate of electric iron is just vertically to place;Work as reading
When the acceleration information got is less than 0.6g, the kinestate of electric iron is just horizontal positioned;And
During electric iron horizontal positioned, when the difference of adjacent two acceleration informations read is more than 0.1g, the fortune of electric iron
Dynamic state is horizontal positioned and motion;When the difference of the acceleration information of adjacent company reading matter is less than 0.1g, electricity
The kinestate of flatiron is horizontal positioned but does not moves;It is achieved thereby that the motion conditions of real-time judge electric iron
Possibility, and then control electric iron and whether heat, it is to avoid owing to electric iron of the prior art can not
Motion conditions during real-time judge horizontal positioned causes heating thus the generation of problem that spoils a dress always.
Accompanying drawing explanation
The detailed description with reference to the following drawings, non-limiting example made by reading, the present invention and spy thereof
Levy, profile and advantage will become more apparent.The part that labelling instruction identical in whole accompanying drawings is identical.
The most deliberately it is drawn to scale accompanying drawing, it is preferred that emphasis is the purport of the present invention is shown.
Fig. 1 is the structural representation of the intelligence system being applied to electric iron that the embodiment of the present invention 1 provides.
Detailed description of the invention
The present invention is further illustrated with specific embodiment below in conjunction with the accompanying drawings, but not as this
Bright restriction.
Embodiment 1:
Fig. 1 is the structural representation of the intelligence system being applied to electric iron that the embodiment of the present invention 1 provides;As
Figure is described, and the intelligence system being applied to electric iron that the embodiment of the present invention 1 provides includes:
In order to obtain the acceleration acquisition module of the acceleration information of electric iron, this acceleration acquisition module is applied
Having the BMA223 chip of MEMS, be integrated with I2Cslave, BMA223 in this BMA223 chip is simultaneously
Chip present in prior art, does not repeats them here.
In order to receive and to process acceleration information to obtain the kinestate of electric iron, then according to electric iron
Kinestate controls the motion detection block of electric iron work, and motion detection block includes being electrically connected with successively
I2Cmaster, memory element, Motion Recognition computing unit and driver element, motion detection block is passed through
I2Cmaster receives acceleration information, is then transferred to memory element and stores, and Motion Recognition calculates single
Unit receives and processes the acceleration information in memory element, thus obtains the kinestate of electric iron, drives single
Unit drives electric iron work according to kinestate.
In order to the I2C bus communicated, the I2Cslave in acceleration acquisition module passes through I2C bus
Communicate with the I2Cmaster in motion detection block, thus complete the transmission work of acceleration information,
This I2C bus includes clock line SCK, data wire SDA and signal interruption line INT, wherein, clock line SCK
It is connected with power supply by a pull-up resistor R respectively with data wire SDA, clock line SCK, data wire SDA and letter
I2Cslave that the two ends of number interrupt line INT are electrically connected with in acceleration acquisition module respectively and motion inspection
Survey the I2Cmaster in module.
In the intelligence system being applied to electric iron that the embodiment of the present invention 1 provides, driver element also draws control
Holding wire RELAY processed, pipe these three lines of holding wire DISCBUZ and display signal line LED, controls letter
Number line RELAY is electrically connected at the heating unit of electric iron such that it is able to controls electric iron and whether heats;Ring
Make holding wire DISCBUZ be electrically connected at the buzzer of electric iron such that it is able to control electric iron buzzing with
No;Display signal line LED is electrically connected at the LED light of electric iron such that it is able to control electric iron LED
Display lamp light on and off situation.
In the embodiment of the present invention 1, the processing method of the intelligence system being applied to electric iron includes:
First, obtaining the acceleration information of electric iron, after energising, I2Cmaster sends out data to I2Cslave,
Tell that BMA223 enters the mode of operation required for motion detection block, i.e. require that BMA223 sends out the acceleration number of degrees
According to motion detection block;
Then, BMA223 once has acceleration information to be ready to, and will send out an interruption by signal interruption line
Signal detects interrupt signal to motion detection block, motion detection block, will pass through I2C bus and reads number
According to, generally just read acceleration information every 200ms, judge the motion shape of electric iron according to acceleration information
State, this determination methods is: when the acceleration information of the reading in continuous 2 seconds is all higher than 0.6g, electric iron
Kinestate be vertically to place;When the acceleration information read is less than 0.6g, the fortune of electric iron
Dynamic state is horizontal positioned;When electric iron horizontal positioned, the difference of adjacent two acceleration informations read is big
When 0.1g, the kinestate of electric iron is horizontal positioned and motion;The acceleration number of degrees when adjacent company reading matter
According to difference less than 0.1g time, the kinestate of electric iron is horizontal positioned but does not moves;
Finally, the work of described electric iron is controlled according to the kinestate of electric iron, when the kinestate of electric iron
During for vertically placing, electric iron does not heats;When electric iron horizontal positioned and motion, electric iron heats;When
Electric iron horizontal positioned but when not moving, electric iron does not heats, and electric iron is transitioned into by heated condition and does not heat
During state, buzzer provides 6 sound and pipes.Meanwhile, the state of electric iron be not heated condition time, electric iron
LED display lamp do not work;When the state of electric iron is heated condition, the LED light of electric iron is the brightest,
User's now electric iron so can be further reminded to be in horizontal positioned state.
In sum, the intelligence system being applied to electric iron that the embodiment of the present invention 1 provides, employing has
MEMS original paper BMA223 chip obtains the acceleration information of electric iron, then will be accelerated by I2C bus
Degrees of data is transferred in motion detection block carry out calculating process, just can obtain the kinestate of electric iron,
Kinestate finally according to electric iron controls the duty of electric iron, thus overcomes in prior art
Electric iron can not real-time judge horizontal positioned time motion conditions cause heating always, exist spoils a dress
Whether the problem of risk, and then the motion conditions of real-time judge electric iron, heat controlling electric iron,
Eliminate the frame for movement of this heaviness of spin simultaneously, and then save electric iron production cost.
In the processing method being applied to electric iron that the embodiment of the present invention 1 provides, the most concrete elaborating ought
When the acceleration information of the reading in continuous 2 seconds is all higher than 0.6g, the kinestate of electric iron is just for vertically to put
Put;When the acceleration information read is less than 0.6g, the kinestate of electric iron is just horizontal positioned;
And when electric iron horizontal positioned, when the difference of adjacent two acceleration informations read is more than 0.1g, electricity is pressed
The kinestate of bucket is horizontal positioned and motion;When the difference of the acceleration information of adjacent company reading matter is less than 0.1g
Time, the kinestate of electric iron is horizontal positioned but does not moves;It is achieved thereby that the fortune of real-time judge electric iron
The emotionally possibility of condition, and then control electric iron and whether heat, it is to avoid owing to electricity of the prior art is pressed
Bucket can not real-time judge horizontal positioned time motion conditions cause heating thus the sending out of the problem that spoils a dress always
Raw.
It should be appreciated by those skilled in the art that those skilled in the art combine prior art and above-described embodiment
Described change case can be realized, do not repeat them here.Such change case has no effect in the essence of the present invention
Hold, do not repeat them here.
Above presently preferred embodiments of the present invention is described.It is to be appreciated that the present invention does not limit to
In above-mentioned particular implementation, the equipment not described in detail the most to the greatest extent and structure are construed as with in this area
Common mode be practiced;Any those of ordinary skill in the art, without departing from technical solution of the present invention
Making many possible variations and modification, or be revised as the Equivalent embodiments of equivalent variations, this has no effect on this
The flesh and blood of invention.Therefore, every content without departing from technical solution of the present invention, according to the skill of the present invention
Art essence, to any simple modification made for any of the above embodiments, equivalent variations and modification, all still falls within this
In the range of the protection of bright technical scheme.