CN104122819B - Home intelligent power method based on user habit - Google Patents
Home intelligent power method based on user habit Download PDFInfo
- Publication number
- CN104122819B CN104122819B CN201410342456.6A CN201410342456A CN104122819B CN 104122819 B CN104122819 B CN 104122819B CN 201410342456 A CN201410342456 A CN 201410342456A CN 104122819 B CN104122819 B CN 104122819B
- Authority
- CN
- China
- Prior art keywords
- electrical equipment
- user
- power
- electricity
- particle
- 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.)
- Active
Links
Landscapes
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention discloses a kind of home intelligent power method based on user habit, it is characterized in, comprise the step of: gather consumer electronics and open information and obtain the unlatching custom of each electrical equipment of user, gather the operation information of each electrical equipment and the tou power price information of power department for internal arithmetic, require that user is actively entered the electrical equipment that the same day, preparation used, user inputs power program rank, calculate electricity charge parameter, calculate comfort quantity, build object function, particle cluster algorithm is utilized to carry out the optimizing of power program and according to internal arithmetic, each electrical equipment be controlled, finally realize the intelligent power of family.Also disclosing ARM9 processor is the intelligent electric power utilization system that core is connected composition respectively with electric energy metering module, Operation display module, external communication module and electrical control module, has electricity consumption science, the advantage such as efficiently.
Description
Technical field
The present invention relates to control technical field, be a kind of home intelligent power method based on user habit and system thereof.
Background technology
Home intelligent power control mode has at present:
(1) Chinese patent is open (bulletin) number: CN102762002A discloses entitled;A kind of household energy conservation system, this
Plant household energy conservation system mainly by Sensor monitoring indoor occupant situation, and control opening of lighting circuit according to testing result
Close, reach energy-conservation purpose with this;
(2) Chinese patent is open (bulletin) number: CN1385664A discloses entitled;A kind of time-division operation rfrigerator, this
Time-division operation rfrigerator includes cold room, refrigerating chamber and control circuit, it is characterised in that, at described refrigerating chamber built with cold-storage thing,
At least provided with two ventilating ducts that air can be made to circulate between the chambers between described cold room and refrigerating chamber, at least exist
One of them described ventilating duct is provided with the fan that air can be promoted to circulate between the chambers, and the compressor of refrigerator is operable with
Start the most continuously, long-time shutdown and properly functioning three kinds of states continuously, coordinate tou power price system, reduce the electricity when peak
The operation of valency time period, increases the operation of electricity price time period when paddy, can reach the purpose saving the electricity charge;
(3) Chinese patent is open (bulletin) number: CN102684305A discloses entitled;A kind of family side intelligent power plan
Slightly implementation method and terminal, this invention power information all kinds of to family has carried out comprehensive collection, and by Intelligent socket to respectively
Electrical equipment carries out on-off control, simultaneously, it is achieved that user power utilization information and the real-time exchange of partial power electricity price information, in certain journey
The interactive requirement of electrical network is met on degree.
Comprehensive prior art has the drawback that: although combining tou power price to realize intelligent power, but the most will
The consumption habit of user, in view of in the middle of intelligent power scheme, causes power program often not meet the consumption habit of user;Existing
There is the power program that technology provides, the most only provide the user single power program, not in view of the economic feelings of user
Condition and the requirement of comfort, cause equipment cannot meet the needs of different user colony, lack of diversity and degree of freedom.
Summary of the invention
One of the technical problem to be solved is: provide a kind of can be comfortable by the consumption habit of user, user
The economic factor of degree and user is considered among intelligent power scheme, and then while improving power consumption efficiency, increases as far as possible
Adding the multiformity of power program, enable power program to be accepted by the user of different demands, meanwhile, user can be voluntarily to electricity consumption
Scheme carries out the adjustment of rank, and by constantly adjusting and adapting to, user can gradually adapt to the electricity consumption of higher efficiency, has use
Electricity science, the home intelligent power method based on user habit that power saving rate is high.
The two of the technical problem to be solved are: provide a kind of rational in infrastructure, high the practising based on user of reliability
Used home intelligent power system.
One of technical scheme solving the employing of its technical problem is: a kind of home intelligent power side based on user habit
Method, is characterized in that, it comprises the following steps:
1) gather consumer electronics open information and obtain the unlatching custom of each electrical equipment of user
First the electrical equipment in user 30 days is opened information, owing to electrical equipment is when electrical equipment is opened, domestic
Reactive power transition when electrical equipment is opened is more than 80Var, and the step pulse of different electrical equipment also can be different, opened by detection electrical equipment
The step pulse opened, it is judged that whether electrical equipment is opened, the incoming end at each electrical equipment installs load harvester to each household electrical appliance
Carry out opening monitoring,
The Rule of judgment that electrical equipment is opened is expressed from the next:
Δ q=qt-qt-1 (1)
In formula: Δ q is load step value, qtFor the reactive power value of electrical equipment t, qt-1Idle for the electrical equipment t-1 moment
Performance number, when Δ q is more than 80Var, it is determined that this electrical equipment is opened in t;
Power load to user carries out the monitoring of at least one month, according to monitoring result, records the unlatching of every kind of electrical equipment
Time, for convenience of narration, if a, b ..., i ..., m represents the household electrical appliances that certain user is had respectively, to each electrical equipment in 30 days
Opening time clusters, and owing to data are general type, therefore uses the K-MEANS clustering algorithm of classics, after having clustered,
Can obtain multiple class bunch, select object number in class bunch and come the class bunch of front three, the center of these three class bunch is respectively three
Electrical equipment gets used to time point, referred to as first consumption habit of user, the second consumption habit and the 3rd consumption habit, electrical equipment a's
First consumption habit, the second consumption habit and the 3rd consumption habit are represented by: a1,a2,a3;
2) operation information of each electrical equipment and tou power price information Q of power department are gatheredi, for internal arithmetic;
3) require that user is actively entered the electrical equipment that the same day, preparation used, if user selects electrical equipment to be a ... l, according to step 1)
Each electric appliance user consumption habit of statistics, obtains the user first, second and third consumption habit a of electrical equipment a to electrical equipment l1,a2,a3,…,
l1,l2,l3;Read the power information of corresponding electrical equipment, for computing simultaneously;
4) user inputs power program rank, the corresponding different weight coefficient A of different stage1、A2, concrete corresponded manner is:
During grade 1, A1It is 0, A2It it is 1, during grade 2, A1It is 0.1, A2It it is 0.9, during grade 3, A1It is 0.2, A2It it is 0.8, during class 4, A1
It is 0.3, A2It it is 0.7, during class 5, A1It is 0.4, A2It it is 0.6, during class 6, A1It is 0.5, A2It it is 0.5, during grade 7, A1It is 0.6,
A2It it is 0.4, during grade 8, A1It is 0.7, A2It it is 0.3, during grade 9, A1It is 0.8, A2It it is 0.2, during grade 10, A1It is 0.9, A2For
0.1;
5) electricity charge parameter S is calculated
Under tou power price environment, electricity cost S of resident is expressed as:
S=Pa·Ta·Qa+Pb·Tb·Qb+…+Pi·Ti·Qi+…+Pl·Tl·Ql (2)
Wherein PiFor the power of electrical equipment i, TiDuration, Q is used for electrical equipment iiFor tou power price corresponding in electric appliance usage time territory
Electricity price level, Q hereiniTo be given according to different Spot Price schemes;
6) comfort quantity D is calculated
Utilize user make the consumption habit of electrical appliance to calculate the comfort level of power program, if in certain power program, respectively
The opening time of electrical equipment is respectively at,bt,…,it,…,lt, the opening time of the most each electrical equipment and user first, second and third electricity consumption habit
Used distance is expressed as:
d1=| at-a1|+|bt-b1|+…+|lt-l1|
d2=| at-a2|+|bt-b2|+…+|lt-l2| (3)
d3=| at-a3|+|bt-b3|+…+|lt-l3|
A in formula1,a2,a3,b1,b2,b3,…,l1,l2,l3It is respectively user first, second and third electricity consumption corresponding to each electrical equipment to practise
Used, owing to the opening time of power program electrical equipment is the closer to the consumption habit of user, then the comfort level of power program is the highest, electrical equipment
Opening time, then the comfort level of user can be weaker, therefore d the closer to second and the 3rd consumption habit1,d2,d3To comfort level D
The proportion that affects be different, the electricity consumption comfort level following formula of user calculates:
D=B1·d1+B2·d2+B3·d3 (4)
In formula: B1,B2,B3Represent d respectively1,d2,d3Weight, set B here1=0.6, B2=0.25, B3=0.15, can
Seeing, comfort level D is the biggest, represents that the electric operation time of this power program does not more meet the consumption habit of user;
7) object function r is built
Take into full account consumption habit and the economic conditions of user self of user, and combine Spot Price structure power program
Object function, due to electricity consumption comfort level D and electricity cost S unit disunity, it is therefore desirable to two parameters are carried out dimensionless
Process, such as following formula:
In formula: DmaxThe maximum that in=scheme, electrical appliance number × 24h, i.e. D can get;DminThe minimum can got for D
Value;SmaxFor in corresponding scheme, electrical equipment opens the electricity cost of 24 hours, SminOpen in the minimum electricity price stage for electrical equipment each in scheme
The minima that when starting shipment row, S can reach;WithFor nondimensional electricity consumption comfort level and electricity cost.
Power program object function r is calculated as follows:
A in formula1、A2It is respectivelyWithWeight coefficient, and meet A1+A2=1, A1The biggest, the power program drawn relaxes
Appropriateness is the best, and corresponding electricity cost will increase;A2The biggest, the electricity cost of corresponding power program is the least, but user's is comfortable
Degree can be poor, when user priority considers consumption habit, and A1 > A2;When user thinks that saving expense is paid the utmost attention to, A1 <
A2, by step 4) power program has been carried out the division of 10 grades, the highest grade, and electricity cost is the least, and user can basis
Oneself economic condition and the adaptedness to power program carry out the selection of grade;
8) particle cluster algorithm is utilized to carry out the optimizing of electricity scheme
Take minima as desired value with r, use particle cluster algorithm that object function is carried out optimizing, in particle cluster algorithm,
Each electrical equipment opening time that variable is power program of input, determine object function r according to the power program grade that user selectes,
And it is iterated optimizing with its minima for target, finally draw the electrical equipment opening time a of optimumt′,bt′,…,it′,…,
lt', this optimum opening time is final power program, and algorithm steps is as follows:
(1) parameter area is set, first limits each electrical equipment opening time at,bt,…,it,…,lt, and as input
Variable;
(2) initializing particle position, the initial position of particle n is expressed as: Xn(0)=atn,btn,…,itn,…,ltn;
(3) calculate the fitness function r of each particle, determine the history optimal location P of particle nn=[Pan,Pbn,…,Pln]
With global optimum position Gn=[Gan,Gbn,…,Gln], and by PnAnd GnCalculate pace of learning V during particle n+1 iteration of jthn
(j+1):
Vn(j+1)=w*Vn(j)+c1*r1*(Pn-Xn(j))+c2*r2*(Gn-Xn(j)) (7)
In formula: j is iterations, VnJ () is pace of learning during particle iteration j;XnJ () is particle iteration j
Time position, w is inertial parameter;c1、c2For control parameter of algorithm, it is used for regulating study intensity;r1、r2Be between 0 to 1 with
Machine number, is used for preventing algorithm to be absorbed in local optimum,
(4) particle position is changed.Formula (6) is position calculation formula during particle n+1 iteration of jth:
Xn(j+1)=Xn(j)+Vn(j+1) (8)
(5) (3) and (5) of this step are repeated, until reaching requirement iterations or object function meets defined threshold,
(6) terminate iteration, ask for the optimal particle in population, and then try to achieve the electrical equipment opening time of optimum power program
at′,bt′,…,it′,…,lt′;
9) the electrical equipment opening time a obtained according to " internal arithmetic "t′,bt′,…,it′,…,lt', each electrical equipment is controlled
System, finally realizes the intelligent power of family.
Solving the two of the technical scheme that its technical problem uses is: a kind of home intelligent power system based on user habit
System, it is characterized in that, it includes: with ARM9 processor for core respectively with electric energy metering module, Operation display module, PERCOM peripheral communication
Module and electrical control module electrical connection, ARM9 processor is to electric energy metering module, Operation display module, external communication module
It is controlled with electrical control module, by the appliance information gathered and the control information of user's input, calculates and provide optimum
Power program;Electric energy metering module includes mutual inductance circuit and electric energy metering module, is responsible for the unlatching situation of detection device;Operation
Display module includes keyboard and LCD screen, selects power program grade and electrical appliance to be made kind on the same day, LCD by keyboard user
Screen main display current electricity prices and electricity charge information, show the opening time of each electrical equipment in provided power program simultaneously;Outside logical
Letter module includes that electrical level transferring chip is connected with ARM9 processor and PC respectively, by ARM9 processor serial port COM1 TTL
Level signal is converted to the RS-232 interface signal that PC is conventional, it is achieved communicate to connect with PC, and PC is by the Internet and electricity
Power department connects, it is achieved power department is mutual, to obtain tou power price information with the information of user;Electrical control module includes continuing
The switch controller of electrical equipment composition, is responsible for carrying out the access circuit of user power utilization device a to electrical appliance i, i.e. several electrical appliances
On-off control.
The model of described ARM9 processor is S3C2440A.
The electric energy computation chip model of described electric energy metering module is ATT7022C.
The electrical level transferring chip model of described external communication module is MAX232.
The useful technique effect that the present invention obtains is embodied in:
By the statistics analyzing user's history electricity consumption data, the present invention show that user power utilization is accustomed to, be accustomed in conjunction with user power utilization
With the tou power price strategy of power department, provide a user with power program;Meanwhile, family income and the power program of user are relaxed
Appropriateness takes into account, and provides the user diversified power program and selects so that user can come according to the acceptance level of oneself
Gradually adjusting the efficiency of power program, final utilization electrical efficiency reaches to maximize.Finally, by the switch control to household electrical appliance
System, realizes the enforcement of power program.
Accompanying drawing explanation
Fig. 1 is the home intelligent power method block diagram based on user habit of the present invention;
Fig. 2 is the home intelligent power system block diagram based on user habit of the present invention;
Fig. 3 is the home intelligent power systematic schematic diagram based on user habit of the present invention;
Detailed description of the invention
Below with the drawings and specific embodiments, the invention will be further described.
With reference to Fig. 1, the home intelligent power method based on user habit of the present invention be divided into information input, internal arithmetic and
Control output three parts.Information input mainly gathers and counting user information, appliance information and electricity price information;Internal arithmetic master
If carrying out calculating optimizing according to gathering the information come, and then determine the power program of user;Control finally by controlling output
Making the work of each electrical equipment, details are as follows for concrete steps:
1) gather consumer electronics open information and obtain the unlatching custom of each electrical equipment of user
First the electrical equipment in user 30 days is opened information, owing to electrical equipment is when electrical equipment is opened, domestic
Reactive power transition when electrical equipment is opened is more than 80Var, and the step pulse of different electrical equipment also can be different, opened by detection electrical equipment
The step pulse opened, it is judged that whether electrical equipment is opened, the incoming end at each electrical equipment installs load harvester to each household electrical appliance
Carry out opening monitoring,
The Rule of judgment that electrical equipment is opened is expressed from the next:
Δ q=qt-qt-1 (1)
In formula: Δ q is load step value, qtFor the reactive power value of electrical equipment t, qt-1Idle for the electrical equipment t-1 moment
Performance number, when Δ q is more than 80Var, it is determined that this electrical equipment is opened in t;
Power load to user carries out the monitoring of at least one month, according to testing result, records the unlatching of every kind of electrical equipment
Time, for convenience of narration, if a, b ..., i ..., m represents the household electrical appliances that certain user is had respectively, to each electrical equipment in 30 days
Opening time clusters, and owing to data are general type, therefore uses the K-MEANS clustering algorithm of classics, after having clustered,
Can obtain multiple class bunch, select object number in class bunch and come the class bunch of front three, the center of these three class bunch is respectively three
Electrical equipment gets used to time point, referred to as first consumption habit of user, the second consumption habit and the 3rd consumption habit, electrical equipment a's
First consumption habit, the second consumption habit and the 3rd consumption habit are represented by: a1,a2,a3;
2) operation information and tou power price information Q of power department of an electrical equipment are gatheredi, for internal arithmetic;
3) require that user is actively entered the electrical equipment that the same day, preparation used, if user selects electrical equipment to be a ... l, according to step 1)
Each electric appliance user consumption habit of statistics, obtains the user first, second and third consumption habit a of electrical equipment a to electrical equipment l1,a2,a3,…,
l1,l2,l3;Read the power information of corresponding electrical equipment, for computing simultaneously;
4) user inputs power program rank, the corresponding different weight coefficient A of different stage1、A2, concrete corresponded manner is:
During grade 1, A1It is 0, A2It it is 1, during grade 2, A1It is 0.1, A2It it is 0.9, during grade 3, A1It is 0.2, A2It it is 0.8, during class 4, A1
It is 0.3, A2It it is 0.7, during class 5, A1It is 0.4, A2It it is 0.6, during class 6, A1It is 0.5, A2It it is 0.5, during grade 7, A1It is 0.6,
A2It it is 0.4, during grade 8, A1It is 0.7, A2It it is 0.3, during grade 9, A1It is 0.8, A2It it is 0.2, during grade 10, A1It is 0.9, A2For
0.1;
5) electricity charge parameter S is calculated
Under tou power price environment, electricity cost S of resident is expressed as:
S=Pa·Ta·Qa+Pb·Tb·Qb+…+Pi·Ti·Qi+…+Pl·Tl·Ql (2)
Wherein PiFor the power of electrical equipment i, TiDuration, Q is used for electrical equipment iiFor tou power price corresponding in electric appliance usage time territory
Electricity price level, Q hereiniTo be given according to different Spot Price schemes;
6) comfort quantity D is calculated
Utilize user make the consumption habit of electrical appliance to calculate the comfort level of power program, if in certain power program, respectively
The opening time of electrical equipment is respectively at,bt,…,it,…,lt, the opening time of the most each electrical equipment and user first, second and third electricity consumption habit
Used distance is expressed as:
d1=| at-a1|+|bt-b1|+…+|lt-l1|
d2=| at-a2|+|bt-b2|+…+|lt-l2| (3)
d3=| at-a3|+|bt-b3|+…+|lt-l3|
A in formula1,a2,a3,b1,b2,b3,…,l1,l2,l3It is respectively user first, second and third electricity consumption corresponding to each electrical equipment to practise
Used, owing to the opening time of power program electrical equipment is the closer to the consumption habit of user, then the comfort level of power program is the highest, electrical equipment
Opening time, then the comfort level of user can be weaker, therefore d the closer to second and the 3rd consumption habit1,d2,d3To comfort level D
The proportion that affects be different, the electricity consumption comfort level following formula of user calculates:
D=B1·d1+B2·d2+B3·d3 (4)
In formula: B1,B2,B3Represent d respectively1,d2,d3Weight, set B here1=0.6, B2=0.25, B3=0.15, can
Seeing, comfort level D is the biggest, represents that the electric operation time of this power program does not more meet the consumption habit of user;
7) object function r is built
Take into full account consumption habit and the economic conditions of user self of user, and combine Spot Price structure power program
Object function, due to electricity consumption comfort level D and electricity cost S unit disunity, it is therefore desirable to two parameters are carried out dimensionless
Process, such as following formula:
In formula: DmaxThe maximum that in=scheme, electrical appliance number × 24h, i.e. D can get;DminThe minimum can got for D
Value;SmaxFor in corresponding scheme, electrical equipment opens the electricity cost of 24 hours, SminOpen in the minimum electricity price stage for electrical equipment each in scheme
The minima that when starting shipment row, S can reach;WithFor nondimensional electricity consumption comfort level and electricity cost.
Power program object function r is calculated as follows:
A in formula1、A2It is respectivelyWithWeight coefficient, and meet A1+A2=1, A1The biggest, the power program drawn relaxes
Appropriateness is the best, and corresponding electricity cost will increase;A2The biggest, the electricity cost of corresponding power program is the least, but user's is comfortable
Degree can be poor, when user priority considers consumption habit, and A1 > A2;When user thinks that saving expense is paid the utmost attention to, A1 <
A2, by step 4) power program has been carried out the division of 10 grades, the highest grade, and electricity cost is the least, and user can basis
Oneself economic condition and the adaptedness to power program carry out the selection of grade;
8) particle cluster algorithm is utilized to carry out the optimizing of electricity scheme
Take minima as desired value with r, use particle cluster algorithm that object function is carried out optimizing, in particle cluster algorithm,
Each electrical equipment opening time that variable is power program of input, determine object function r according to the power program grade that user selectes,
And it is iterated optimizing with its minima for target, finally draw the electrical equipment opening time a of optimumt′,bt′,…,it′,…,
lt', this optimum opening time is final power program, and algorithm steps is as follows:
(1) parameter area is set, first limits each electrical equipment opening time at,bt,…,it,…,lt, and as input
Variable;
(2) initializing particle position, the initial position of particle n is for being expressed as: Xn(0)=atn,btn,…,itn,…,ltn;
(3) calculate the fitness function r of each particle, determine the history optimal location P of particle nn=[Pan,Pbn,…,Pln]
With global optimum position Gn=[Gan,Gbn,…,Gln], and by PnAnd GnCalculate pace of learning V during particle n+1 iteration of jthn
(j+1):
Vn(j+1)=w*Vn(j)+c1*r1*(Pn-Xn(j))+c2*r2*(Gn-Xn(j)) (7)
In formula: j is iterations, VnJ () is pace of learning during particle iteration j;XnJ () is particle iteration j
Time position, w is inertial parameter;c1、c2For control parameter of algorithm, it is used for regulating study intensity;r1、r2Be between 0 to 1 with
Machine number, is used for preventing algorithm to be absorbed in local optimum,
(4) particle position is changed.Formula (6) is position calculation formula during particle n+1 iteration of jth:
Xn(j+1)=Xn(j)+Vn(j+1) (8)
(5) (3) and (5) of this step are repeated, until reaching requirement iterations or object function meets defined threshold,
(6) terminate iteration, ask for the optimal particle in population, and then try to achieve the electrical equipment opening time of optimum power program
at′,bt′,…,it′,…,lt′;
9) the electrical equipment opening time a obtained according to " internal arithmetic "t′,bt′,…,it′,…,lt', each electrical equipment is controlled
System, finally realizes the intelligent power of family.
The home intelligent power system based on user habit of the present invention, including: with ARM9 processor 2 as core, it is achieved
Building of home intelligent power terminal, mainly by ARM9 processor 2, electric energy metering module 1, Operation display module 5, PERCOM peripheral communication
Module 4 and electrical control module 3 are constituted.ARM9 processor 2 is to electric energy metering module 1, Operation display module 5, PERCOM peripheral communication mould
Block 4 and electrical control module 3 are controlled, and by the appliance information gathered and the control information of user's input, calculate and are given
Optimum power program.Electric energy metering module 1 is made up of mutual inductance circuit and electric energy metering module, is responsible for the unlatching feelings of detection electrical equipment
Condition.Operation display module 5 is mainly made up of keyboard and LCD screen, and by keyboard, user can select power program grade and work as
It electrical appliance kind to be made;LCD screen mainly shows current electricity prices and electricity charge information, shows each electricity in provided power program simultaneously
The opening time of device.External communication module 4 is connected with PC, and it is mutual to carry out information by the Internet 6 and power department 7, with
Obtain tou power price information.Electrical control module 3 mainly the switch control device such as is formed by relay and constitutes, and is responsible for using user
Electrical equipment a carries out on-off control to the access circuit of electrical appliance i, i.e. several electrical appliances, and ARM9 processor 2 is according to the optimum drawn
Power program, carries out on-off control to each electrical equipment.User power utilization device a passes through to the incoming end of electrical appliance i, i.e. several electrical appliances
Mutual inductance circuit is connected with electric energy computation chip, and it is ATT7022C's that the analog current of mutual inductance circuit connects electric energy computation chip model
V1P and V1N pin, the analog voltage of mutual inductance circuit connects V2P and the V2N pin that electric energy computation chip model is ATT7022C, real
The monitoring of situation opened by several electrical equipment by existing electric energy computation chip.Electric energy computation chip model is four interfaces of ATT7022
CS, SCLK, DIN, DOUT respectively with tetra-pins pair of CS0, SCLK, DIN, DOUT that ARM9 processor 2 model is S3C2440A
Should be connected, it is achieved the ARM9 processor 2 control to electric energy computation chip, CF1, CF2 of electric energy computation chip is instantaneous to have respectively
Merit power and instantaneous reactive power outfan, the DA0 pin of CF1 with ARM9 processor 2 is connected, CF2 Yu ARM9 processor 2
DA1 pin connects, it is achieved the data transmission between electric energy computation chip and the ARM9 processor 2 of electric energy metering module 1.
T1IN, R1OUT that electrical level transferring chip model is MAX232 of external communication module 4 respectively with ARM9 processor 2
RXD1, TXD1 connect, RS-232 ARM9 processor 2 serial communication port Transistor-Transistor Logic level signal being converted to PC conventional connects
Message number, it is achieved communicate to connect with PC, meanwhile, PC is connected with power department 7 by the Internet 6, it is achieved power department and
The information of user is mutual;
CS, CLK, MOSI, MISO pin of the LCD display of Operation display module 5 successively with the CS1 of ARM9 processor 2,
Tetra-pins of CLK, MOSI, MISO connect;
Keyboard Control I/O port corresponding with ARM9 processor 2 connects, and can realize power program etc. by keyboard user
Level and the selection of electrical appliance to be made kind on the same day;
Relay in electrical control module 3 uses photoelectric relay, by the way of optocoupler, completes ARM9 processor
2 control with the connection of electrical appliance, and ARM9 processor 2 controls I/O output according to optimum power program, and then completes power program
Enforcement.
The home intelligent power system work process based on user habit of the present invention is:
First, being monitored user power utilization load by electric energy metering module 1, ARM9 processor 2 passes through load data
The opening time of household electrical appliance is carried out class statistic, draws first, second and third consumption habit of user.Obtaining consumption habit
After, user may be selected by power program rank and institute's electrical appliance kind on the same day, and external communication module 4 is connected with PC, and leads to
Cross the Internet 6 and obtain the tou power price information on power department 7 same day.According to information above, ARM9 processor 2 is according to based on user
The home intelligent power method of custom, is iterated calculating, and finally gives electricity consumption side optimum under grade selected by user same day
Case, the opening time of the most each electrical equipment.After power program generates, ARM9 processor passes through I/O mouth, controls electrical control module 3
The switch of relay, and then realize the Push And Release of several electrical equipment, it is achieved the automatic execution of power program.
Claims (1)
1. a home intelligent power method based on user habit, is characterized in that, it comprises the following steps:
1) gather consumer electronics open information and obtain the unlatching custom of each electrical equipment of user
First the electrical equipment in user 30 days is opened information, owing to electrical equipment is when electrical equipment is opened, household electrical appliance
Reactive power transition during unlatching is more than 80Var, and the step pulse of different electrical equipment also can be different, opened by detection electrical equipment
Step pulse, it is judged that whether electrical equipment is opened, the incoming end at each electrical equipment is installed load harvester and is carried out each household electrical appliance
Open monitoring,
The Rule of judgment that electrical equipment is opened is expressed from the next:
Δ q=qt-qt-1 (1)
In formula: Δ q is load step value, qtFor the reactive power value of electrical equipment t, qt-1Reactive power for the electrical equipment t-1 moment
Value, when Δ q is more than 80Var, it is determined that this electrical equipment is opened in t;
Power load to user carries out the monitoring of at least one month, according to testing result, records the opening time of every kind of electrical equipment,
For convenience of narration, if a, b ..., i ..., m represents the household electrical appliances that certain user is had respectively, when opening each electrical equipment in 30 days
Between cluster, owing to data are general type, therefore use classics K-MEANS clustering algorithm, after having clustered, can obtain
Multiple classes bunch, select object number in class bunch and come the class bunch of front three, and the center of these three class bunch is respectively three electrical equipment and practises
Used use the first consumption habit of time point, referred to as user, the second consumption habit and the 3rd consumption habit, first use of electrical equipment a
Electricity custom, the second consumption habit and the 3rd consumption habit are represented by: a1,a2,a3;
2) operation information and tou power price information Q of power department of an electrical equipment are gatheredi, for internal arithmetic;
3) require that user is actively entered the electrical equipment that the same day, preparation used, if user selects electrical equipment to be a ... l, according to step 1) statistics
Each electric appliance user consumption habit, obtain the user first, second and third consumption habit a of electrical equipment a to electrical equipment l1,a2,a3,…,l1,l2,
l3;Read the power information of corresponding electrical equipment, for computing simultaneously;
4) user inputs power program rank, the corresponding different weight coefficient A of different stage1、A2, concrete corresponded manner is: grade
When 1, A1It is 0, A2It it is 1, during grade 2, A1It is 0.1, A2It it is 0.9, during grade 3, A1It is 0.2, A2It it is 0.8, during class 4, A1For
0.3, A2It it is 0.7, during class 5, A1It is 0.4, A2It it is 0.6, during class 6, A1It is 0.5, A2It it is 0.5, during grade 7, A1It is 0.6, A2
It it is 0.4, during grade 8, A1It is 0.7, A2It it is 0.3, during grade 9, A1It is 0.8, A2It it is 0.2, during grade 10, A1It is 0.9, A2It is 0.1;
5) electricity charge parameter S is calculated
Under tou power price environment, electricity cost S of resident is expressed as:
S=Pa·Ta·Qa+Pb·Tb·Qb+…+Pi·Ti·Qi+…+Pl·Tl·Ql (2)
Wherein PiFor the power of electrical equipment i, TiDuration, Q is used for electrical equipment iiElectricity for tou power price corresponding in electric appliance usage time territory
Valency level, Q hereiniTo be given according to different Spot Price schemes;
6) comfort quantity D is calculated
Utilize user make the consumption habit of electrical appliance to calculate the comfort level of power program, if in certain power program, each electrical equipment
Opening time be respectively at,bt,…,it,…,lt, the opening time of the most each electrical equipment and user first, second and third consumption habit
Distance be expressed as:
d1=| at-a1|+|bt-b1|+…+|lt-l1|
d2=| at-a2|+|bt-b2|+…+|lt-l2| (3)
d3=| at-a3|+|bt-b3|+…+|lt-l3|
A in formula1,a2,a3,b1,b2,b3,…,l1,l2,l3It is respectively user first, second and third consumption habit that each electrical equipment is corresponding, by
In opening time of power program electrical equipment the closer to the consumption habit of user, then the comfort level of power program is the highest, and electrical equipment is opened
Time, then the comfort level of user can be weaker, therefore d the closer to second and the 3rd consumption habit1,d2,d3Shadow to comfort level D
It is different for ringing proportion, and the electricity consumption comfort level following formula of user calculates:
D=B1·d1+B2·d2+B3·d3 (4)
In formula: B1,B2,B3Represent d respectively1,d2,d3Weight, set B here1=0.6, B2=0.25, B3=0.15, it is seen then that
Comfort level D is the biggest, represents that the electric operation time of this power program does not more meet the consumption habit of user;
7) object function r is built
Take into full account consumption habit and the economic conditions of user self of user, and combine the mesh of Spot Price structure power program
Scalar functions, due to electricity consumption comfort level D and electricity cost S unit disunity, it is therefore desirable to two parameters are carried out dimensionless process,
Such as following formula:
In formula: DmaxThe maximum that in=scheme, electrical appliance number × 24h, i.e. D can get;DminThe minima can got for D;
SmaxFor in corresponding scheme, electrical equipment opens the electricity cost of 24 hours, SminOpen in the minimum electricity price stage for electrical equipment each in scheme
The minima that during operation, S can reach;WithFor nondimensional electricity consumption comfort level and electricity cost;
Power program object function r is calculated as follows:
A in formula1、A2It is respectivelyWithWeight coefficient, and meet A1+A2=1, A1Power program comfort level that is the biggest, that draw
The best, corresponding electricity cost will increase;A2The biggest, the electricity cost of corresponding power program is the least, but the level of comfort of user
Can be poor, when user priority considers consumption habit, A1 > A2;When user thinks that saving expense is paid the utmost attention to, A1 < A2, presses
Step 4) power program has been carried out the division of 10 grades, the highest grade, and electricity cost is the least, user can according to oneself
Economic condition and the adaptedness to power program carry out the selection of grade;
8) particle cluster algorithm is utilized to carry out the optimizing of electricity scheme
Take minima as desired value with r, use particle cluster algorithm that object function is carried out optimizing, in particle cluster algorithm, input
Each electrical equipment opening time that variable is power program, the power program grade selected according to user determines object function r, and with
Its minima is that target is iterated optimizing, finally draws the electrical equipment opening time a of optimumt′,bt′,…,it′,…,lt', this
The optimum opening time is final power program, and algorithm steps is as follows:
(1) parameter area is set, first limits each electrical equipment opening time at,bt,…,it,…,lt, and as input variable;
(2) initializing particle position, the initial position of particle n is for being expressed as: Xn(0)=atn,btn,…,itn,…,ltn;
(3) calculate the fitness function r of each particle, determine the history optimal location P of particle nn=[Pan,Pbn,…,Pln] and the overall situation
Optimal location Gn=[Gan,Gbn,…,Gln], and by PnAnd GnCalculate pace of learning V during particle n+1 iteration of jthn(j+1):
Vn(j+1)=w*Vn(j)+c1*r1*(Pn-Xn(j))+c2*r2*(Gn-Xn(j)) (7)
In formula: j is iterations, VnJ () is pace of learning during particle iteration j;XnWhen () is particle iteration j j
Position, w is inertial parameter;c1、c2For control parameter of algorithm, it is used for regulating study intensity;r1、r2It is the random number between 0 to 1,
It is used for preventing algorithm to be absorbed in local optimum,
(4) particle position is changed.Formula (6) is position calculation formula during particle n+1 iteration of jth:
Xn(j+1)=Xn(j)+Vn(j+1) (8)
(5) (3) and (5) of this step are repeated, until reaching requirement iterations or object function meets defined threshold,
(6) terminate iteration, ask for the optimal particle in population, and then try to achieve the electrical equipment opening time a of optimum power programt′,
bt′,…,it′,…,lt′;
9) the electrical equipment opening time a obtained according to " internal arithmetic "t′,bt′,…,it′,…,lt', each electrical equipment is controlled,
Realize the intelligent power of family eventually.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410342456.6A CN104122819B (en) | 2014-07-18 | 2014-07-18 | Home intelligent power method based on user habit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410342456.6A CN104122819B (en) | 2014-07-18 | 2014-07-18 | Home intelligent power method based on user habit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104122819A CN104122819A (en) | 2014-10-29 |
CN104122819B true CN104122819B (en) | 2016-08-17 |
Family
ID=51768275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410342456.6A Active CN104122819B (en) | 2014-07-18 | 2014-07-18 | Home intelligent power method based on user habit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104122819B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789163A (en) * | 2016-11-25 | 2017-05-31 | 华电智连信达科技(北京)有限公司 | A kind of network equipment power information monitoring method, device and system |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106326996B (en) * | 2015-06-16 | 2021-09-03 | 中国电力科学研究院 | User load prediction method based on electric quantity information |
CN105511431B (en) * | 2015-12-04 | 2019-02-12 | 河南许继仪表有限公司 | A kind of demand response control method and control device |
CN105785091B (en) * | 2016-03-09 | 2019-11-22 | 国网上海市电力公司 | Electric energy dynamic measurement system based on network load |
CN105762810B (en) * | 2016-03-11 | 2018-05-22 | 浙江大学 | A kind of domestic intelligent distribution system of automatic adjusument electricity consumption time |
CN105867152A (en) * | 2016-04-25 | 2016-08-17 | 国网浙江省电力公司 | Method for electric appliance control based on user behaviors and electric appliances |
CN106292286B (en) * | 2016-09-14 | 2019-04-30 | 中国科学院电工研究所 | A kind of home electrical user energy management method |
CN107392420A (en) * | 2017-06-12 | 2017-11-24 | 上海电力学院 | A kind of household energy management system intelligent control method based on demand response |
CN107422644B (en) * | 2017-07-11 | 2021-05-25 | 广东美的制冷设备有限公司 | Control method of household appliance, mobile terminal, device, system and storage medium |
CN107611999B (en) * | 2017-09-28 | 2020-05-22 | 河海大学 | Method for calculating power oscillation response of large-area alternating-current tie line |
CN108957296B (en) * | 2018-08-01 | 2020-01-10 | 北京航空航天大学 | Circuit health detection method based on entanglement relation discrimination |
CN110209127A (en) * | 2019-03-29 | 2019-09-06 | 深圳市九洲电器有限公司 | Intelligent house security control method |
CN110543969B (en) * | 2019-07-31 | 2022-09-06 | 国网江苏省电力有限公司电力科学研究院 | Household electricity consumption behavior optimization algorithm |
CN111639990B (en) * | 2020-05-29 | 2023-07-04 | 江南大学 | Quick design and push away money system of knitting clothing |
CN112146228B (en) * | 2020-09-27 | 2021-11-23 | 珠海格力电器股份有限公司 | Control method and device of air conditioner and storage medium |
CN113313324A (en) * | 2021-06-18 | 2021-08-27 | 杭州电力设备制造有限公司 | Power utilization scheme determining method and power utilization scheme determining method device |
CN113872215B (en) * | 2021-09-26 | 2024-01-09 | 国网电力科学研究院武汉能效测评有限公司 | Household appliance load optimization control system and control method based on demand response |
CN115365255B (en) * | 2022-01-07 | 2024-10-18 | 宁波方太厨具有限公司 | Garbage processor, starting method, starting system, starting equipment and storage medium thereof |
CN114545788B (en) * | 2022-04-25 | 2022-07-26 | 广州易而达科技股份有限公司 | Method, device, equipment and storage medium for controlling electricity consumption of electric appliance |
CN117666449B (en) * | 2024-01-31 | 2024-04-12 | 四川水利职业技术学院 | Based on computer data acquisition analysis monitored control system |
CN118566827A (en) * | 2024-07-31 | 2024-08-30 | 北京溢美四方软件技术有限公司 | Meter calibrating method for three-phase intelligent electric energy meter |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1221189A1 (en) * | 1999-06-28 | 2002-07-10 | WRAP S.p.A. | Method for managing energy consumption of household appliances |
CN102306954A (en) * | 2011-07-13 | 2012-01-04 | 广东电网公司电力科学研究院 | Intelligent power consumption information interactive management system |
CN102570609A (en) * | 2012-01-18 | 2012-07-11 | 山东工商学院 | Resident intelligent energy management system suitable for intelligent power grid |
CN102684305A (en) * | 2012-05-17 | 2012-09-19 | 云南电力试验研究院(集团)有限公司电力研究院 | Method and terminal for realizing household-side intelligent power consumption policy |
CN202551081U (en) * | 2012-05-07 | 2012-11-21 | 山西省电力公司太原供电分公司 | Home energy consumption management system |
CN103645686A (en) * | 2013-11-22 | 2014-03-19 | 上海交通大学 | An electric appliance remote control system based on a cloud platform and a method |
-
2014
- 2014-07-18 CN CN201410342456.6A patent/CN104122819B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1221189A1 (en) * | 1999-06-28 | 2002-07-10 | WRAP S.p.A. | Method for managing energy consumption of household appliances |
CN102306954A (en) * | 2011-07-13 | 2012-01-04 | 广东电网公司电力科学研究院 | Intelligent power consumption information interactive management system |
CN102570609A (en) * | 2012-01-18 | 2012-07-11 | 山东工商学院 | Resident intelligent energy management system suitable for intelligent power grid |
CN202551081U (en) * | 2012-05-07 | 2012-11-21 | 山西省电力公司太原供电分公司 | Home energy consumption management system |
CN102684305A (en) * | 2012-05-17 | 2012-09-19 | 云南电力试验研究院(集团)有限公司电力研究院 | Method and terminal for realizing household-side intelligent power consumption policy |
CN103645686A (en) * | 2013-11-22 | 2014-03-19 | 上海交通大学 | An electric appliance remote control system based on a cloud platform and a method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789163A (en) * | 2016-11-25 | 2017-05-31 | 华电智连信达科技(北京)有限公司 | A kind of network equipment power information monitoring method, device and system |
CN106789163B (en) * | 2016-11-25 | 2020-08-18 | 华电智连信达科技(北京)有限公司 | Method, device and system for monitoring power utilization information of network equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104122819A (en) | 2014-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104122819B (en) | Home intelligent power method based on user habit | |
Li et al. | User-expected price-based demand response algorithm for a home-to-grid system | |
CN110619425B (en) | Multifunctional area comprehensive energy system collaborative planning method considering source network load storage difference characteristics | |
CN103257571B (en) | Air conditioning load control strategy making method based on direct load control | |
Song et al. | An IoT-based smart controlling system of air conditioner for high energy efficiency | |
CN111340270B (en) | Intelligent household energy optimization method based on information interaction | |
CN109687465B (en) | Active power distribution network load elastic control system | |
CN111598478B (en) | Comprehensive energy demand response quantity calculation method | |
CN109269036B (en) | Cloud control method of multi-split air conditioner and multi-split air conditioner system | |
CN107451931A (en) | The Optimization Scheduling of home intelligent power equipment | |
CN105485863B (en) | A kind of control device of air-conditioning and the method for controlling air conditioning electricity | |
CN104699051B (en) | A kind of temperature control device demand response control method | |
CN112366699A (en) | Household energy double-layer optimization method for realizing interaction between power grid side and user side | |
CN214619993U (en) | Intelligent control energy-saving system of air conditioner | |
CN110533311B (en) | Intelligent community coordination scheduling system and method based on energy router | |
CN115907350B (en) | Energy management method and system for building integrated energy system | |
CN109390949A (en) | A kind of household photovoltaic, energy storage and with can control method | |
CN106685313B (en) | Power generation control method and device for photovoltaic power station and photovoltaic power station | |
Tai et al. | A real-time demand-side management system considering user behavior using deep q-learning in home area network | |
CN114066264A (en) | Comprehensive energy system operation optimization method and system considering comprehensive demand response | |
CN104991537A (en) | Control method of smart device | |
CN115882463A (en) | Commercial building air conditioner load schedulable potential evaluation method | |
CN118485208A (en) | Household energy scheduling method considering comfort level of knowledge fusion deep reinforcement learning | |
CN106292286B (en) | A kind of home electrical user energy management method | |
Wang et al. | A review of air conditioning load aggregation in distribution networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |