1 ZigBee - Based Smart Home System
Wannan yakin da tarihin komputa da kuma tarihin kontrolar alamomin magana ta zama mai zurfi. Masu ilimi na gida suna da karin abubuwa da suka cika a gida, amma suna da kyau a tsara masu ilimi na gida a kan fadada. Kuma akwai kyau a taka shiga abubuwan da ke gida, domin a tafiya aiki a kan fadada, wanda ya yi nasarar da ake tsara maƙashe gida da kuma a yi nasarar da rayuwar mutane.
Wani rubutu ya gina systemi na ilimi na gida da take da ZigBee, wanda ya samu uku muhimman yanayi: wasu na gida, server na gida, da terminali na harkokin. Wannan systemi ya fi shahara da tsarin yake da yake da kyau, da kuma yadda ake iya sanya ita, cewa tsarin da aka nuna a Figure 1.
1 Tsarin Ilimi na Gida Da Take Da ZigBee
1.1 Wasu Na Gida
A nan ne babban asalin, wasu na gida na bi masu ilimi na gida da suka da kyau don in taka shiga bayanan da ake fito a gida da kuma in taka shiga bayanan masu karatu da suka da kyau. Yawancin da ake fito a kan wasu na gida na bi masu ilimi na gida da suka da kyau (ZigBee) ya yi nasarar da tsarin yake da yake, da kuma in taka shiga bayanan da ake fito a gida da kuma in taka shiga bayanan masu karatu da suka da kyau. ZigBee, wanda ya danganta da IEEE 802.15.4, ya ba da adadin da yake da kyau, da kuma in taka shiga bayanan da ake fito a gida da kuma in taka shiga bayanan masu karatu da suka da kyau. An samu:
1.2 Server Na Gida
Server na gida na bi masu ilimi na gida da suka da kyau don in taka shiga bayanan da ake fito a gida da kuma in taka shiga bayanan masu karatu da suka da kyau, wanda ya haɗa da:
1.3 Terminali Na Harkokin
Android - based (Eclipse + Java), terminali na harkokin na bi masu ilimi na gida da suka da kyau, wanda ya haɗa da:
2 Tashar Ilimi Na Gida Da Take Da Kyau Don In Taka Shiga Bayanan Da Ake Fito A Gida Da Kuma In Taka Shiga Bayanan Masu Karatu Da Suka Da Kyau
2.1 Tsarin & Logic
Wannan systemi na bi masu ilimi na gida da suka da kyau don in taka shiga bayanan da ake fito a gida da kuma in taka shiga bayanan masu karatu da suka da kyau, wanda ya haɗa da "smart home + PV + energy storage", an samun tashar da suka da kyau a kan server, wanda ya haɗa da "collect → model → optimize" loop:
2.2 Muhimmanci Yanayi & Collaboration
Muhimmanci yanayi (PV arrays, batteries, inverters, server, loads) suna da:
2.3 Load Classification & Scheduling
Loads split into three types for time - of - use pricing - driven scheduling:
The server controls shiftable loads via smart sockets, shaving peaks/ filling valleys to cut costs and stabilize the grid.
3 Mathematical Model and Control Strategy for Home Energy Efficiency Management
3.1 Mathematical Model for Home Energy Efficiency Management
To achieve precise home energy efficiency management, a mathematical model for total electricity cost must be established. This paper uses a “daily” control cycle, dividing 24 hours into n equal time intervals. By discretizing continuous problems (when n is sufficiently large, each interval approaches a “micro - element,” and variables can be assumed constant within the interval).In the t-th interval, based on the dynamic balance of “home load power, photovoltaic generation power, battery charging/discharging power, and grid interaction power,” the system power balance equation is derived as:
Within the t-th time interval, the power variables are defined as follows:
The household PV system operates under the "self - consumption + surplus power grid - feeding" model, where surplus electricity generates grid - feeding revenue and PV generation qualifies for subsidies. Considering time - of - use (TOU) pricing (higher peak rates, lower off - peak rates), the total electricity cost is calculated as:Total Cost=Grid Purchase Cost−Grid - Feeding Revenue−PV Subsidies
For a daily cycle discretized into n intervals, the total cost model can be further decomposed into the summation of interval - specific costs, precisely adapting to dynamic pricing scenarios.
In the formula: C represents the total daily electricity cost of the household; fPV is the unit price of the photovoltaic power generation subsidy; 24/n is the duration of one time interval.
The expression for ft in Formula (2) is
In the formula: ftCis the electricity price for the user during the t-th time period, which is divided into peak - time electricity price and off - peak electricity price according to different time periods; fR is the electricity price for surplus electricity fed into the grid. The values of fCt, fR and fPV at any moment of the day are all known.The total power PAt of the household load is equal to the sum of the power of all shiftable loads and other loads during the t-th time period.
In the formula: PL,i is the operating power of the i-th shiftable load; TL,i is the start - up time of the i-th shiftable load; Δ ti is the operating duration of the i-th shiftable load; [tis, tie] is the range of the start - up time of the i-th shiftable load. PL,i, Δ ti, tis and tie are all definite values.
The electric power Pelse,jt of other loads is known, while the electric power of shiftable loads changes according to different start - up times, and TL,i is an undetermined value. When TL,i is different, the total power PAt of the household load changes accordingly, thus changing the total household electricity cost C.
3.2 Control Strategy
The core goal of home energy efficiency management is maximizing economic benefits, specifically translated into constructing an objective function for "minimizing the total household electricity cost C".
Based on the shiftable load model and combined with the time - of - use pricing mechanism, adjusting the start - up time \(T_{\text{L},i}\) of shiftable loads can dynamically optimize the total household load power curve, reducing the total cost from the perspective of electricity consumption timing.
Coordinated Control Logic for PV and Energy Storage
For photovoltaic (PV) power generation and energy storage batteries, control strategies are formulated for different time periods:
Battery Constraints
It is necessary to simultaneously consider the charging/discharging power limits and capacity restrictions of the battery to constrain its charging and discharging behaviors (specific constraints need to be supplemented with formulas/models, not fully presented in the original text), ensuring equipment safety and system stability.
In Formula (6): Pb,max is the maximum charging/discharging power of the battery; in Formula (7), SOCt is the state of charge (SOC) of the battery during the t-th time period; SOCmin is the minimum value of the battery’s SOC; SOCmax is the maximum value of the battery’s SOC.
According to the control strategy, optimize and control the charging/discharging power of the energy storage battery. During the peak period t ∈[t1, t2, where t1 is the start time of the electricity peak period and t2 is the end time of the electricity peak period, the discharge power of the battery is set as
During the off - peak period t ∈ [1, t1], the discharge power of the storage battery is set as
It is necessary to calculate the state of charge (SOC) of the storage battery. The relationship between the state of charge during the charging and discharging process of the storage battery and the charging/discharging power is as follows:
Formula (10) describes the relationship between the storage battery’s SOC and charging power during charging (here Pbt < 0; Formula (11) describes that during discharging (here