Distributed-based Building Automation Method and Automation System
By drawing user scatter plots and establishing user preference pie charts, obtaining user behavior intervals, and monitoring the operating parameters of subsystems in the building automatic control system used by users in real time, the problem of inability to timely adjust user equipment resource investment in the existing technology is solved, and timely adjustment of fluctuations in user subsystem usage and smooth equipment use are achieved.
Patent Information
- Application Number
- CN202411193689.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2044-08-28
AI Technical Summary
The existing building automatic control methods cannot accurately and keenly adjust the user's equipment resource investment based on the fluctuations in the subsystem of the user in the building area, resulting in affecting the user's equipment use in the building.
By drawing user scatter plots and establishing user preference pie charts, the user behavior intervals are obtained, and the operating parameters of the subsystems in the building automatic control system used by the user are monitored in real time, so as to control the subsystems used by the user based on the user behavior intervals.
It realizes timely adjustment of fluctuations in user subsystem usage, ensures smooth use of users' equipment in the building, and improves the responsiveness and user experience of the building automatic control system.
Smart Images

Figure CN119172423B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building automation, and specifically to a distributed-based building automation method and an automation system. Background Art
[0002] Building automation refers to the intelligent control and management of air conditioners, ventilation, lighting, elevators, energy, etc. in a building through automation technology; a building automation system usually adopts advanced and stable sensors and control systems to monitor environmental parameters in real time and perform intelligent adjustment according to preset programs or algorithms to achieve an energy-saving, comfortable, and safe building environment; a building automation system is an important part of a smart building and a smart city, which can improve the building operation efficiency and management level and realize the sustainable development of the building.
[0003] Existing methods for building automation are usually used to analyze multiple building areas in a building, divide and collect data for the building areas based on the correlation between every two building areas, so that different building areas can be controlled according to the characteristics of different building areas during the building automation process, thereby improving the reliability of control. Although this method can perform targeted control based on the characteristics of the building area during building control, when the fluctuations of multiple users in the same building area using the building subsystem are large and the fluctuations of the overall subsystem of the building area are small, only through the above method, it is impossible to accurately and sensitively adjust the user's equipment resource input in a timely manner based on the usage fluctuations of the user's subsystem in the building area, resulting in an impact on the user's equipment usage in the building. For example, in the Chinese patent with the publication number CN116319904A, a building automation distributed method and system are disclosed. This solution is to establish an automation system between buildings, receive control instructions sent by the cloud platform through respective communication nodes, test the facilities in the building by means of feedback information, and when the feedback information times out, it is determined that the training fails, and through positioning, the position where the training fails is marked; other improvements for building automation are usually methods in terms of resource collaborative utilization. This method still cannot adjust the user's equipment resource input in a timely manner based on the usage fluctuations of the user's subsystem in the building area, resulting in an impact on the user's equipment usage in the building. In view of this, it is necessary to improve the existing building automation methods. Summary of the Invention
[0004] The present invention aims to solve at least one of the technical problems in the prior art to some extent. By proposing a distributed building automation method and an automation system, it is used to solve the problem in the existing building automation method that when the fluctuations of multiple users using building subsystems in the same building area are large, and the fluctuations of the overall subsystems in this building area are small, it is impossible to accurately and sensitively adjust the user's equipment resource input in a timely manner based on the usage fluctuations of the subsystems of the users in the building area, resulting in an impact on the equipment usage of users in the building.
[0005] To achieve the above object, in a first aspect, the present application provides a distributed building automation method, including the following steps:
[0006] Based on the operating parameters of the subsystems in the building automation system used by the users in the building, draw a user scatter plot and establish a user preference pie chart;
[0007] Obtain the user behavior interval based on the user scatter plot and the user preference pie chart;
[0008] Real-time monitor the operating parameters of the subsystems in the building automation system used by the users, and control the subsystems used by the users based on the user behavior interval.
[0009] Further, based on the operating parameters of the subsystems in the building automation system used by the users in the building, drawing a user scatter plot and establishing a user preference pie chart includes:
[0010] For any user in the building, record the number of days corresponding to one power consumption cycle of the user in the building as k, obtain the operating parameters of the subsystems in the building automation system used by the user in the recent k days, and record the operating parameters of each day as usage parameter SC1 to usage parameter SC k , where the subsystems of the building automation system include an air conditioning system, a power system, and a lighting system;
[0011] Analyze the usage parameters SC using the preference cycle acquisition method, and obtain the user's activity cycle based on the analysis results;
[0012] Analyze the usage parameters SC corresponding to each activity cycle of the user in the recent k days, and obtain the user scatter plot and the user preference pie chart based on the analysis results.
[0013] Further, the preference cycle acquisition method includes:
[0014] The difference between the usage duration of the air - conditioning system in usage parameter SC1 and that in usage parameter SC2 is denoted as the air - conditioning buffer duration; the difference between the power consumption of the power system in usage parameter SC1 and that in usage parameter SC2 is denoted as the power - consumption buffer quantity; the difference between the lighting duration of the lighting system in usage parameter SC1 and that in usage parameter SC2 is denoted as the lighting buffer duration; a cycle value is set, and the initial value of the cycle value is set to z.
[0015] Furthermore, the preference cycle acquisition method further includes:
[0016] Analyze using the cycle analysis sub - method. The cycle analysis sub - method includes: the value obtained by dividing k by z and rounding down is denoted as J, and the value obtained by multiplying J by z is denoted as k1, where k1 is a positive integer less than or equal to k and greater than 1; the usage parameters from SC1 to SC k among the usage parameters from SC1 to SC z are denoted as the first cycle, the usage parameters from SC z+1 to SC z+z are denoted as the second cycle, and so on, to obtain the third cycle to the J - th cycle. Among them, the J - th cycle is the usage parameters from SC (J-1)×z+1 to SC J×z ; for any J1 - th cycle among the second cycle to the J - th cycle, for any usage parameter SC (J1-1)×z+z1 in the J1 - th cycle, obtain the differences between the usage duration of the air - conditioning system, the power consumption of the power system, and the lighting duration of the lighting system in the usage parameter SC z1 in the first cycle and those in the usage parameter SC (J1-1)×z+z1 in the J1 - th cycle, and denote them as the air - conditioning analysis duration, the power - consumption analysis quantity, and the lighting analysis duration respectively; when the air - conditioning analysis duration is greater than the air - conditioning buffer duration, the power - consumption analysis quantity is greater than the power - consumption buffer quantity, or the lighting analysis duration is greater than the lighting buffer duration, z is denoted as an ineligible value; when the air - conditioning analysis duration is less than or equal to the air - conditioning buffer duration, the power - consumption analysis quantity is less than or equal to the power - consumption buffer quantity, and the lighting analysis duration is less than or equal to the lighting buffer duration, the usage parameter SC (J1-1)×z+z1 is denoted as a cycle - eligible parameter, where z1 is a positive integer less than or equal to z and greater than or equal to 1, and J1 is a positive integer less than or equal to J and greater than or equal to 3; when all usage parameters SC in the J1 - th cycle are denoted as cycle - eligible parameters, the J1 - th cycle is denoted as a repeating cycle; when the third cycle to the J - th cycle are all denoted as repeating cycles, the cycle value is denoted as the user's activity cycle.
[0017] Furthermore, the preference cycle acquisition method further includes:
[0018] When the value of z is marked as non - selectable in the periodic analysis sub - method, stop the subsequent analysis of the periodic analysis sub - method, increment both the period value and z by 1, and then use the periodic analysis sub - method for analysis again; when J is 1 for the first time during the analysis of the periodic analysis sub - method and the period value has not yet been marked as the user's active period, stop the subsequent analysis of the periodic analysis sub - method, and set the user's active period to g, where g is a positive integer less than k and greater than 1.
[0019] Furthermore, analyze the usage parameter SC corresponding to each active period within the last k days of the user, and obtain the user scatter plot and the user preference pie chart based on the analysis results, including:
[0020] Denote the value corresponding to the user's active period as t, and denote the usage parameter SC k-t to the usage parameter SC k as characteristic parameters TC1 to characteristic parameter TC t respectively; establish a rectangular coordinate system, denoted as the characteristic coordinate system. Among them, the coordinate points on the X - axis of the characteristic coordinate system from the origin to the right are successively characteristic parameters TC1 to characteristic parameter TC t . The unit of the Y - axis of the characteristic coordinate system is set to time / min or electricity / degree. When the unit of the Y - axis of the characteristic coordinate system is time / min, draw scatter plots within the characteristic coordinate system based on the usage duration of the air - conditioning system and the lighting duration of the lighting system among the characteristic parameters TC1 to characteristic parameter TC t , and denote them as the air - conditioning scatter plot and the lighting scatter plot respectively; when the unit of the Y - axis of the characteristic coordinate system is electricity / degree, draw a scatter plot within the characteristic coordinate system based on the electricity consumption of the power system among the characteristic parameters TC1 to characteristic parameter TC t , and denote it as the electricity - consumption scatter plot. Among them, denote the points in the air - conditioning scatter plot as air - conditioning points, where the abscissa of the air - conditioning point is the characteristic parameter TC, and the ordinate is the usage duration of the air - conditioning system among the characteristic parameters TC; denote the points in the lighting scatter plot as lighting points, where the abscissa of the lighting point is the characteristic parameter TC, and the ordinate is the lighting duration of the lighting system among the characteristic parameters TC; denote the points in the electricity - consumption scatter plot as electricity - consumption points, where the abscissa of the electricity - consumption point is the characteristic parameter TC, and the ordinate is the electricity consumption of the power system among the characteristic parameters TC;
[0021] Put the air - conditioning scatter plot, the lighting scatter plot, and the electricity - consumption scatter plot into the same characteristic coordinate system, and denote it as the user scatter plot; for any one of the abscissa characteristic parameters TC t from characteristic parameter TC1 to characteristic parameter TC t1 in the user scatter plot, denote the average value of the numerical values of the ordinates of the air - conditioning points, lighting points, and electricity - consumption points on the line x = characteristic parameter TC t1 as characteristic parameter TC t1The equilibrium value; Obtain the equilibrium values of all feature parameters TC and record the sum of all equilibrium values as the total equilibrium value.
[0022] Furthermore, analyze the usage parameter SC corresponding to each activity cycle within the user's most recent k days, and based on the analysis results, obtain the user scatter plot and the user preference pie chart, which also includes:
[0023] Draw a pie chart and divide the pie chart into t regions, sequentially denoted as pie sub-regions BQ1 to pie sub-region BQ t , for pie sub-regions BQ1 to pie sub-region BQ t Any one of the pie sub-regions BQ t1 , the pie
[0024] JH t1 ×360°
[0025] region BQ t1 The degree of the corresponding sector is JH sum , where JH t1 is the equilibrium value of the feature parameter TC t1 , JH sum is the total equilibrium value; Denote the pie chart obtained after calculating the degrees of the sectors corresponding to all pie sub-regions BQ as the user preference pie chart, where t1 is a positive integer less than or equal to t and greater than or equal to 1.
[0026] Furthermore, obtain the user behavior interval based on the user scatter plot and the user preference pie chart, including:
[0027] Establish a spatial coordinate system, denoted as the behavior feature coordinate system, where the units of the X-axis, Y-axis, and Z-axis of the behavior feature coordinate system are all cm; Place the user preference pie chart in the X-Y plane of the behavior feature coordinate system and make the center of the user preference pie chart coincide with the coordinate origin; For any one of the pie sub-regions BQ in the user preference pie chart t1 , the pie sub-region BQ t1The midpoint of the arc is denoted as the arc midpoint. The line connecting the arc midpoint and the center of the user-preferred pie chart is denoted as the arc median line. The value obtained by dividing the arc median line by 3 is denoted as r. The points on the arc median line at distances of r, 2×r, and 3×r from the center of the user-preferred pie chart are respectively denoted as behavior point A, behavior point B, and behavior point C. The ordinate of behavior point A is adjusted to z1, the ordinate of behavior point B is adjusted to z2, and the ordinate of behavior point C is adjusted to z3, where z1, z2, and z3 are respectively the numerical values of the ordinates of the air-conditioning point, the lighting point, and the power consumption point. Connect behavior point B to behavior point A and behavior point C respectively, and the resulting broken line is denoted as behavior broken line XZt1. Obtain the behavior broken line XZ corresponding to all pie regions BQ. For any two adjacent pie regions BQ within the user-preferred pie chart, connect the behavior point A of the two pie regions BQ, connect the behavior point B of the two pie regions BQ, and connect the behavior point C of the two pie regions BQ.
[0028] For any behavior point A within the behavior feature coordinate system, the lines connecting behavior point A to the behavior point A of two adjacent pie regions BQ are denoted as line A-A1 and line A-A2. The line connecting behavior point A to behavior point B is denoted as line A-B. The degree of intersection of line A-A1 and line A-B at behavior point A is denoted as angle A-B1. The degree of intersection of line A-A2 and line A-B at behavior point A is denoted as angle A-B2. The absolute value of the difference between angle A-B1 and angle A-B2 is denoted as feature A degree. For any behavior point C within the behavior feature coordinate system, the lines connecting behavior point C to the behavior point C of two adjacent pie regions BQ are denoted as line C-C1 and line C-C2. The line connecting behavior point C to behavior point B is denoted as line C-B. The degree of intersection of line C-C1 and line C-B at behavior point C is denoted as angle C-B1. The degree of intersection of line C-C2 and line C-B at behavior point C is denoted as angle C-B2. The absolute value of the difference between angle C-B1 and angle C-B2 is denoted as feature C degree.
[0029] For any behavior point B within the behavior feature coordinate system, the lines connecting behavior point B to the behavior point B of two adjacent pie regions BQ are denoted as line B-B1 and line B-B2. The line connecting behavior point B to behavior point A is denoted as line B-A. The line connecting behavior point B to behavior point C is denoted as line B-C. The degree of intersection of line B-B1 and line B-B2 at behavior point B is denoted as angle B-B. The degree of intersection of line B-A and line B-C at behavior point B is denoted as angle A-C. The absolute value of the difference between angle B-B and angle A-C is denoted as feature B degree.
[0030] Obtain the feature A degrees of all behavior points A, and denote the interval formed by all feature A degrees as interval A. Obtain the feature B degrees of all behavior points B, and denote the interval formed by all feature B degrees as interval B. Obtain the feature C degrees of all behavior points C, and denote the interval formed by all feature C degrees as interval C.
[0031] Denote interval A, interval B, and interval C as user behavior intervals.
[0032] Furthermore, real-time monitoring of the operating parameters of the subsystems in the building automation system used by the user, and controlling the subsystems used by the user based on the user behavior intervals includes:
[0033] Whenever a subsystem in the building automation system used by the user has run for one day, obtain the latest operating parameters of the subsystem within the latest day in real time, and re-obtain the characteristic parameter TC based on the user's activity cycle; obtain the user scatter plot, the user preference pie chart, and the characteristic degrees of feature A of all behavior points A, feature B of behavior point B, and feature C of behavior point C corresponding to the user preference pie chart based on the latest characteristic parameter TC. When the characteristic degree of any behavior point A, the characteristic degree of behavior point B, or the characteristic degree of behavior point C is outside the user behavior interval, mark the subsystem corresponding to the behavior point with the degree outside the user behavior interval as the fluctuating subsystem; continuously monitor the use of the user's fluctuating subsystem based on the building automation system and adjust the resource input to the fluctuating subsystem based on the intensity of the use of the fluctuating subsystem.
[0034] In a second aspect, the present application also provides a distributed building automation system, including a user preference analysis module, an interval delimitation module, and a user system control module;
[0035] The user preference analysis module draws a user scatter plot and establishes a user preference pie chart based on the operating parameters of the subsystems in the building automation system used by the users in the building;
[0036] The interval delimitation module is used to obtain the user behavior interval based on the user scatter plot and the user preference pie chart;
[0037] The user system control module is used to perform real-time monitoring of the operating parameters of the subsystems in the building automation system used by the user, and control the subsystems used by the user based on the user behavior interval.
[0038] Advantages of the present invention: The present invention first draws a user scatter plot and establishes a user preference pie chart based on the operating parameters of the subsystems in the building automation system used by the users in the building. The advantage of this is that by drawing the user scatter plot and establishing the user preference pie chart, the preference situation of each user in the use of each subsystem in the building can be obtained, which helps in the subsequent analysis process to be able to adjust the resource input to the subsystem in a timely manner when there are large changes in the use fluctuations of the user's subsystems based on the use preferences of each user, preventing problems that the user's equipment cannot obtain sufficient resources in time, which may affect the use of the equipment by the user in the building;
[0039] The present invention also obtains the user behavior range based on the user scatter plot and the user preference pie chart, and finally monitors the operating parameters of the subsystems in the building automation system used by the user in real time, and controls the subsystems used by the user based on the user behavior range. The advantage of this is that by obtaining the user behavior range, the usage fluctuation range of the subsystems in the building under normal circumstances can be obtained by the user, which helps to adjust the subsystems in the building in a timely manner when there are significant changes in the usage fluctuations of the user's subsystems, so as to ensure the use of the equipment in the building by the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 is a schematic block diagram of the system of the present invention;
[0041] Figure 2 is a flowchart of the steps of the method of the present invention;
[0042] Figure 3 is a schematic diagram of obtaining the user scatter plot of the present invention;
[0043] Figure 4 is a schematic diagram of the positions of behavior point A, behavior point B and behavior point C of the present invention;
[0044] Figure 5 is a schematic diagram of the structure of the electronic device of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0045] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0046] Embodiment 1, in the first aspect, please refer to Figure 1 As shown, the present application provides a distributed building automation system, including a user preference analysis module, an interval determination module, and a user system control module;
[0047] The user preference analysis module draws a user scatter plot and establishes a user preference pie chart based on the operating parameters of the subsystems in the building automation system used by the users in the building; the user preference analysis module includes a preference period acquisition unit, a scatter plot drawing unit, and a pie chart drawing unit; the preference period acquisition unit is configured with a preference period acquisition strategy, and the preference period acquisition strategy includes:
[0048] For any user in the building, record the number of days in an electricity consumption cycle of the user in the building as k, obtain the operation parameters of the subsystems in the building automation system used by the user in the most recent k days, and record the operation parameters of each day as usage parameter SC1 to usage parameter SC k , where the subsystems of the building automation system include the air conditioning system, the power system, and the lighting system; in the specific implementation process, in this embodiment, the subsystems of the building automation system analyzed only include the air conditioning system, the power system, and the lighting system. In actual analysis, subsequent analysis can be carried out according to the composition of the subsystems in the actual building automation system; in the specific implementation process, the electricity consumption cycle can be set according to the electricity settlement cycle in the building. In this embodiment, the electricity consumption cycle is set to 30 days, that is, k = 30;
[0049] Analyze the usage parameter SC using the preference cycle acquisition method, and obtain the activity cycle of the user based on the analysis results; the preference cycle acquisition method includes: record the difference between the usage duration of the air conditioning system in usage parameter SC1 and the usage duration of the air conditioning system in usage parameter SC2 as the air conditioning buffer duration; record the difference between the electricity consumption of the power system in usage parameter SC1 and the electricity consumption of the power system in usage parameter SC2 as the electricity consumption buffer amount; record the difference between the lighting duration of the lighting system in usage parameter SC1 and the lighting duration of the lighting system in usage parameter SC2 as the lighting buffer duration; set the cycle value, and initially set the value of the cycle value as z; in the specific implementation process, for example, in one analysis, the usage duration of the air conditioning system in usage parameter SC1 is 12h, and the usage duration of the air conditioning system in usage parameter SC2 is 8h. Then, by calculation, the air conditioning buffer duration can be obtained as 4h; by obtaining the air conditioning buffer duration, the electricity consumption buffer amount, and the lighting buffer duration, it is helpful to use them as the judgment criteria for the activity cycle when obtaining the activity cycle of the user subsequently, so that the obtained user scatter plot and user preference pie chart are more in line with the actual living habits of the user;
[0050] Analyze using the cycle analysis sub-method. The cycle analysis sub-method includes: record the value obtained by dividing k by z and rounding down as J, and record the value of J multiplied by z as k1, where k1 is a positive integer less than or equal to k and greater than 1; record the usage parameter SC1 to usage parameter SC k in the above as the first cycle, record the usage parameter SC z to usage parameter SC z+1 as the second cycle, and so on, to obtain the third cycle to the Jth cycle, where the Jth cycle is the usage parameter SC z+z to usage parameter SC (J-1)×z+1 ; for any J1th cycle among the second cycle to the Jth cycle, for any usage parameter SC J×z in the J1th cycle, (J1-1)×z+z1, obtain the usage parameter SC in the first cycle z1 The usage duration of the air-conditioning system, the power consumption of the power system, and the lighting duration of the lighting system are respectively different from those of the air-conditioning system, the power consumption of the power system, and the lighting duration of the lighting system corresponding to the usage parameter SC (J1-1)×z+z1 , and are respectively denoted as the air-conditioning analysis duration, the power consumption analysis amount, and the lighting analysis duration; when the air-conditioning analysis duration is greater than the air-conditioning buffer duration, the power consumption analysis amount is greater than the power consumption buffer amount, or the lighting analysis duration is greater than the lighting buffer duration, record z as an ineligible value; when the air-conditioning analysis duration is less than or equal to the air-conditioning buffer duration, the power consumption analysis amount is less than or equal to the power consumption buffer amount, and the lighting analysis duration is less than or equal to the lighting buffer duration, record the usage parameter SC (J1-1)×z+z1 as a cycleable parameter, where z1 is a positive integer less than or equal to z and greater than or equal to 1, and J1 is a positive integer less than or equal to J and greater than or equal to 3; when all usage parameters SC in the J1-th cycle are recorded as cycleable parameters, record the J1-th cycle as a repeated cycle; when the third cycle to the J-th cycle are all recorded as repeated cycles, record the cycle value as the user's activity cycle; in the specific implementation process, in this embodiment, set the initial value of z to 2, that is, the minimum value of the cycle value is 2, then in the analysis process of the cycle analysis sub-method, k is 30 and z is 2, and through calculation, J is 15, so the first cycle is from usage parameter SC1 to usage parameter SC2, the second cycle is from usage parameter SC3 to usage parameter SC4, and so on, the 15th cycle is from usage parameter SC 29 to usage parameter SC 30 ; when z is recorded as an ineligible value, it means that when z is used as the user's life cycle, there will be a large difference in the usage of one of the subsystems in a certain cycle compared with the first cycle, so z cannot be used as the user's life cycle;
[0051] When the cycle analysis sub-method records z as an ineligible value, stop the subsequent analysis of the cycle analysis sub-method, add 1 to both the cycle value and z, and then use the cycle analysis sub-method for analysis again; when J is 1 for the first time in the analysis process of the cycle analysis sub-method and the cycle value has not been recorded as the user's activity cycle at this time, stop the subsequent analysis of the cycle analysis sub-method, and set the user's activity cycle to g, where g is a positive integer less than k and greater than 1; in the specific implementation process, in this embodiment, based on the cycle of normal working days and rest days, set g to 7, and the value of g can be replaced in actual analysis to fit the user's actual life cycle.
[0052] The scatter plot drawing unit is configured with a scatter plot drawing strategy, and the scatter plot drawing strategy includes:
[0053] Record the value corresponding to the user's activity cycle as t, and record the usage parameter SC k-t to usage parameter SC kThey are respectively denoted as feature parameter TC1 to feature parameter TC t ; Establish a plane rectangular coordinate system, denoted as the feature coordinate system. Among them, the coordinate points on the X-axis of the feature coordinate system from the origin to the right are successively feature parameter TC1 to feature parameter TC t , the unit of the Y-axis of the feature coordinate system is set to time / min or power / degree. When the unit of the Y-axis of the feature coordinate system is time / min, based on feature parameter TC1 to feature parameter TC t , the usage duration of the air-conditioning system and the lighting duration of the lighting system in the feature coordinate system are respectively plotted as scatter plots, and are respectively denoted as the air-conditioning scatter plot and the lighting scatter plot; when the unit of the Y-axis of the feature coordinate system is power / degree, based on feature parameter TC1 to feature parameter TC t , the power consumption of the power system in the feature coordinate system is plotted as a scatter plot, and is denoted as the power consumption scatter plot. Among them, the points in the air-conditioning scatter plot are denoted as air-conditioning points, and the abscissa of the air-conditioning points is feature parameter TC, and the ordinate is the usage duration of the air-conditioning system in feature parameter TC; the points in the lighting scatter plot are denoted as lighting points, and the abscissa of the lighting points is feature parameter TC, and the ordinate is the lighting duration of the lighting system in feature parameter TC; the points in the power consumption scatter plot are denoted as power consumption points, and the abscissa of the power consumption points is feature parameter TC, and the ordinate is the power consumption of the power system in feature parameter TC; in the specific implementation process, by obtaining the air-conditioning scatter plot, the lighting scatter plot and the power consumption scatter plot, the usage conditions of the subsystems of the user within an activity cycle can be sorted out, which helps the subsequent obtained user scatter plot and equilibrium value to fit the user's activity cycle and the average parameters of using different subsystems every day within the activity cycle;
[0054] Put the air-conditioning scatter plot, the lighting scatter plot and the power consumption scatter plot into the same feature coordinate system, and denote it as the user scatter plot; for any abscissa feature parameter TC among feature parameter TC1 to feature parameter TC t in the user scatter plot t1 , the average value of the ordinate values of the air-conditioning points, lighting points and power consumption points in the straight line x = feature parameter TC t1 is denoted as the equilibrium value of feature parameter TC t1 ; Obtain the equilibrium values of all feature parameters TC and denote the sum of all equilibrium values as the total equilibrium value; in the specific implementation process, please refer to Figure 3 as shown, where the value of t is 5, TC1 to TC5 are respectively feature parameter TC1 to feature parameter TC5, TT1 is the air-conditioning scatter plot, △ is the air-conditioning point, TT2 is the lighting scatter plot, ○ is the lighting point, TT3 is the power consumption scatter plot, □ is the power consumption point, and TT4 is the user scatter plot.
[0055] The pie chart drawing unit is configured with a pie chart drawing strategy, and the pie chart drawing strategy includes:
[0056] Draw a pie chart and divide the pie chart into t regions, denoted as pie regions BQ1 to BQ t For any one of the pie regions BQ1 to BQ t in the pie region BQ t1 Pie
[0057] JH t1 ×360°
[0058] Region BQ t1 The degree of the corresponding sector is JH sum where JH t1 is the equilibrium value of the characteristic parameter TC t1 of JH sum is the total equilibrium value; the pie chart obtained after calculating the degrees of the sectors corresponding to all pie regions BQ is denoted as the user preference pie chart. Among them, t1 is a positive integer less than or equal to t and greater than or equal to 1; in the specific implementation process, for example, in an analysis process, the calculated total equilibrium value is 3500, and JH t1 is 300, then it can be calculated that the degree of the sector corresponding to the pie region BQ t1 is 30.8°. By obtaining the degrees of the sectors corresponding to each pie region BQ based on the equilibrium value, the proportion of each pie region BQ in the pie chart can fit the user's activity cycle, which helps subsequent analysis.
[0059] The interval determination module is used to obtain the user behavior interval based on the user scatter plot and the user preference pie chart; the interval determination module includes a behavior interval acquisition unit, and the behavior interval acquisition unit is configured with a behavior interval acquisition strategy, and the behavior interval acquisition strategy includes:
[0060] Establish a spatial coordinate system, denoted as the behavior feature coordinate system. Among them, the units of the X-axis, Y-axis, and Z-axis of the behavior feature coordinate system are all cm; place the user preference pie chart in the X-Y plane of the behavior feature coordinate system, and coincide the center of the user preference pie chart with the coordinate origin; for any one of the pie regions BQ in the user preference pie chart t1 For the pie region BQ t1The midpoint of the arc is denoted as the arc midpoint. The line connecting the arc midpoint and the center of the user-preferred pie chart is denoted as the arc median line. The value obtained by dividing the arc median line by 3 is denoted as r. The points on the arc median line at distances r, 2×r, and 3×r from the center of the user-preferred pie chart are respectively denoted as behavior point A, behavior point B, and behavior point C. The ordinate of behavior point A is adjusted to z1, the ordinate of behavior point B is adjusted to z2, and the ordinate of behavior point C is adjusted to z3, where z1, z2, and z3 are respectively the numerical values of the ordinates of the air-conditioning point, the lighting point, and the power consumption point. Connect behavior point B to behavior point A and behavior point C respectively, and the resulting broken line is denoted as behavior broken line XZt1. Obtain the behavior broken line XZ corresponding to all pie regions BQ. For any two adjacent pie regions BQ within the user-preferred pie chart, connect the behavior point A of the two pie regions BQ, connect the behavior point B of the two pie regions BQ, and connect the behavior point C of the two pie regions BQ. In the specific implementation process, please refer to Figure 4 As shown in the figure, where circle Y1 is the user-preferred pie chart, the area composed of BQ1, BQ2, and BQ3 is a pie region BQ, point R1 is the behavior point A of the pie region BQ, point R2 is the behavior point B of the pie region BQ, and point R3 is the behavior point C of the pie region BQ.
[0061] For any behavior point A within the behavior feature coordinate system, the lines connecting behavior point A to the behavior point A of two adjacent pie regions BQ are denoted as line A-A1 and line A-A2. The line connecting behavior point A to behavior point B is denoted as line A-B. The degree of intersection of line A-A1 and line A-B at behavior point A is denoted as angle A-B1. The degree of intersection of line A-A2 and line A-B at behavior point A is denoted as angle A-B2. The absolute value of the difference between angle A-B1 and angle A-B2 is denoted as feature angle A. For any behavior point C within the behavior feature coordinate system, the lines connecting behavior point C to the behavior point C of two adjacent pie regions BQ are denoted as line C-C1 and line C-C2. The line connecting behavior point C to behavior point B is denoted as line C-B. The degree of intersection of line C-C1 and line C-B at behavior point C is denoted as angle C-B1. The degree of intersection of line C-C2 and line C-B at behavior point C is denoted as angle C-B2. The absolute value of the difference between angle C-B1 and angle C-B2 is denoted as feature angle C;
[0062] For any behavior point B within the behavior feature coordinate system, the lines connecting behavior point B to the behavior point B of two adjacent pie regions BQ are denoted as line B-B1 and line B-B2. The line connecting behavior point B to behavior point A is denoted as line B-A. The line connecting behavior point B to behavior point C is denoted as line B-C. The degree of intersection of line B-B1 and line B-B2 at behavior point B is denoted as angle B-B. The degree of intersection of line B-A and line B-C at behavior point B is denoted as angle A-C. The absolute value of the difference between angle B-B and angle A-C is denoted as feature angle B;
[0063] Obtain the feature A degree of all behavior points A, and denote the interval formed by all feature A degrees as interval A; obtain the feature B degree of all behavior points B, and denote the interval formed by all feature B degrees as interval B; obtain the feature C degree of all behavior points C, and denote the interval formed by all feature C degrees as interval C; in the specific implementation process, by obtaining the user behavior interval based on interval A, interval B, and interval C, the feature range corresponding to the fluctuations caused by the user's use of the subsystem within an activity cycle can be obtained, which helps to adjust the subsystem in the building in a timely manner when there are significant changes in the use fluctuations of the user's subsystem, so as to ensure the user's use of the equipment in the building;
[0064] Denote interval A, interval B, and interval C as the user behavior interval.
[0065] The user system control module is used to monitor the operation parameters of the subsystem in the building automation system used by the user in real time, and control the subsystem used by the user based on the user behavior interval; the user system control module includes a subsystem control unit, and the subsystem control unit includes: whenever the subsystem in the building automation system used by the user runs for one day, obtain the operation parameters of the subsystem within the latest day in real time, and re-obtain the feature parameter TC based on the user's activity cycle; obtain the user scatter plot, the user preference pie chart, and the feature A degree of all behavior points A, the feature B degree of behavior points B, and the feature C degree of behavior points C corresponding to the user preference pie chart based on the latest feature parameter TC. When the feature A degree of any behavior point A, the feature B degree of behavior point B, or the feature C degree of behavior point C is outside the user behavior interval, denote the subsystem corresponding to the behavior point with the degree outside the user behavior interval as the fluctuating subsystem; continuously monitor the use of the user's fluctuating subsystem based on the building automation system and adjust the resource input for the fluctuating subsystem based on the intensity of the use of the fluctuating subsystem; in the specific implementation process summary, when the feature A degree of any behavior point A, the feature B degree of behavior point B, or the feature C degree of behavior point C is outside the user behavior interval, it means that the user's use intensity of the subsystem is relatively large or small at this time. To ensure the overall coordination of the building automation and the user's equipment use, the subsystem corresponding to the behavior point with the degree outside the user behavior interval should be monitored in real time and the resource input should be adjusted to ensure the user's use of the equipment in the building.
[0066] Embodiment 2, Second aspect, please refer to Figure 2 As shown, the present application also provides a building automation method based on distribution, including the following steps:
[0067] Step S1: Based on the operation parameters of the subsystems in the building automation system used by users in the building, draw a user scatter plot and establish a user preference pie chart. Step S1 includes the following sub-steps: Step S101: For any user in the building, record the number of days corresponding to one power consumption cycle of the user in the building as k. Obtain the operation parameters of the subsystems in the building automation system used by the user in the most recent k days, and record the operation parameters of each day as usage parameter SC1 to usage parameter SC k , where the subsystems of the building automation system include an air conditioning system, a power system, and a lighting system;
[0068] Step S102: Analyze the usage parameters SC using the preference cycle acquisition method, and obtain the user's activity cycle based on the analysis results. The preference cycle acquisition method includes:
[0069] Step S1021: Record the difference between the usage duration of the air conditioning system in usage parameter SC1 and the usage duration of the air conditioning system in usage parameter SC2 as the air conditioning buffer duration; record the difference between the power consumption of the power system in usage parameter SC1 and the power consumption of the power system in usage parameter SC2 as the power consumption buffer amount; record the difference between the lighting duration of the lighting system in usage parameter SC1 and the lighting duration of the lighting system in usage parameter SC2 as the lighting buffer duration; set a cycle value, and initially set the value of the cycle value as z;
[0070] Step S1022: Analyze using the cycle analysis sub-method. The cycle analysis sub-method includes: Record the value obtained by dividing k by z and rounding down as J, and record the value of J multiplied by z as k1, where k1 is a positive integer less than or equal to k and greater than 1; Record the usage parameters SC1 to usage parameter SC k in the usage parameters SC1 to usage parameter SC z as the first cycle, record the usage parameters SC z+1 to usage parameter SC z+z as the second cycle, and so on, to obtain the third cycle to the Jth cycle, where the Jth cycle is the usage parameter SC (J-1)×z+1 to usage parameter SC J×z ; For any J1th cycle among the second cycle to the Jth cycle, for any usage parameter SC (J1-1)×z+z1 in the J1th cycle, obtain the usage duration of the air conditioning system, the power consumption of the power system, and the lighting duration of the lighting system of the usage parameter SC z1 in the first cycle respectively and the usage parameter SC (J1-1)×z+z1The differences in the usage duration of the air - conditioning system, the power consumption of the power system, and the lighting duration of the lighting system are respectively recorded as the air - conditioning analysis duration, the power - consumption analysis amount, and the lighting analysis duration; when the air - conditioning analysis duration is greater than the air - conditioning buffer duration, the power - consumption analysis amount is greater than the power - consumption buffer amount, or the lighting analysis duration is greater than the lighting buffer duration, z is recorded as a non - selectable value; when the air - conditioning analysis duration is less than or equal to the air - conditioning buffer duration, the power - consumption analysis amount is less than or equal to the power - consumption buffer amount, and the lighting analysis duration is less than or equal to the lighting buffer duration, the usage parameter SC (J1-1)×z+z1 is recorded as a periodic parameter, where z1 is a positive integer less than or equal to z and greater than or equal to 1, and J1 is a positive integer less than or equal to J and greater than or equal to 3; when all usage parameters SC in the J1 - th period are recorded as periodic parameters, the J1 - th period is recorded as a repeated period; when the third period to the J - th period are all recorded as repeated periods, the period value is recorded as the user's activity period;
[0071] Step S1023, when z is recorded as a non - selectable value in the periodic - analysis sub - method, stop the subsequent analysis of the periodic - analysis sub - method, add 1 to both the period value and z, and then use the periodic - analysis sub - method for analysis again; when J is 1 for the first time during the analysis of the periodic - analysis sub - method and the period value has not been recorded as the user's activity period at this time, stop the subsequent analysis of the periodic - analysis sub - method, and set the user's activity period to g, where g is a positive integer less than k and greater than 1;
[0072] Step S103, analyze the usage parameter SC corresponding to each activity period within the last k days of the user, and obtain the user scatter plot and the user preference pie chart based on the analysis results; Step S103 includes the following sub - steps: Step S1031, record the value corresponding to the user's activity period as t, and record the usage parameter SC k-t to the usage parameter SC k as the characteristic parameter TC1 to the characteristic parameter TC t respectively; establish a plane rectangular coordinate system, denoted as the characteristic coordinate system, where the coordinate points on the X - axis of the characteristic coordinate system from the origin to the right are the characteristic parameter TC1 to the characteristic parameter TC t in turn, and the unit of the Y - axis of the characteristic coordinate system is set to time / min or power / degree. When the unit of the Y - axis of the characteristic coordinate system is time / min, draw scatter plots of the usage duration of the air - conditioning system and the lighting duration of the lighting system within the characteristic coordinate system based on the characteristic parameter TC1 to the characteristic parameter TC t respectively, and denote them as the air - conditioning scatter plot and the lighting scatter plot; when the unit of the Y - axis of the characteristic coordinate system is power / degree, based on the characteristic parameter TC1 to the characteristic parameter TC tThe electricity consumption of the power system is plotted as a scatter plot in the feature coordinate system and denoted as the electricity consumption scatter plot. Among them, the points in the air conditioner scatter plot are denoted as air conditioner points, and the abscissa of the air conditioner points is the feature parameter TC, and the ordinate is the usage duration of the air conditioner system in the feature parameter TC; the points in the lighting scatter plot are denoted as lighting points, and the abscissa of the lighting points is the feature parameter TC, and the ordinate is the lighting duration of the lighting system in the feature parameter TC; the points in the electricity consumption scatter plot are denoted as electricity consumption points, and the abscissa of the electricity consumption points is the feature parameter TC, and the ordinate is the electricity consumption of the power system in the feature parameter TC.
[0073] Step S1032, place the air conditioner scatter plot, the lighting scatter plot, and the electricity consumption scatter plot in the same feature coordinate system and denote it as the user scatter plot; for any one of the abscissa feature parameters TC from feature parameter TC1 to feature parameter TC in the user scatter plot t in t1 , denote the average value of the ordinate values of the air conditioner points, lighting points, and electricity consumption points on the line x = feature parameter TC t1 as the equilibrium value of feature parameter TC t1 ; obtain the equilibrium values of all feature parameters TC and denote the sum of all equilibrium values as the total equilibrium value.
[0074] Step S1033, draw a pie chart and divide the pie chart into t regions, denoted as pie sub-regions BQ1 to pie sub-regions BQ t , for any one of the pie sub-regions BQ1 to pie sub-regions BQ t in t1 , the degree of the sector corresponding to the pie sub-region BQ t1 is where, JH t1 is the equilibrium value of feature parameter TC t1 , JH sum is the total equilibrium value; denote the pie chart obtained after calculating the degrees of the sectors corresponding to all pie sub-regions BQ as the user preference pie chart. Among them, t1 is a positive integer less than or equal to t and greater than or equal to 1.
[0075] Step S2, obtain the user behavior interval based on the user scatter plot and the user preference pie chart; Step S2 includes: Step S201, establish a space coordinate system, denoted as the behavior feature coordinate system, where the units of the X-axis, Y-axis, and Z-axis of the behavior feature coordinate system are all cm; place the user preference pie chart in the X-Y plane of the behavior feature coordinate system and make the center of the user preference pie chart coincide with the coordinate origin; for any one of the pie sub-regions BQ in the user preference pie chart t1 , for the pie sub-region BQ t1The midpoint of the arc is denoted as the arc midpoint. The line connecting the arc midpoint and the center of the user-preferred pie chart is denoted as the arc median line. The value obtained by dividing the arc median line by 3 is denoted as r. The points on the arc median line at distances r, 2×r, and 3×r from the center of the user-preferred pie chart are respectively denoted as behavior point A, behavior point B, and behavior point C. The ordinate of behavior point A is adjusted to z1, the ordinate of behavior point B is adjusted to z2, and the ordinate of behavior point C is adjusted to z3, where z1, z2, and z3 are respectively the numerical values of the ordinates of the air-conditioning point, the lighting point, and the power consumption point. Connect behavior point B with behavior point A and behavior point C respectively, and the obtained broken line is denoted as behavior broken line XZt1. Obtain the behavior broken lines XZ corresponding to all pie regions BQ. For any two adjacent pie regions BQ within the user-preferred pie chart, connect the behavior point A of the two pie regions BQ, connect the behavior point B of the two pie regions BQ, and connect the behavior point C of the two pie regions BQ.
[0076] Step S202: For any behavior point A in the behavior feature coordinate system, denote the lines connecting behavior point A with the behavior point A of two adjacent pie regions BQ as line A-A1 and line A-A2, denote the line connecting behavior point A with behavior point B as line A-B, denote the degree of intersection of line A-A1 and line A-B at behavior point A as degree A-B1, denote the degree of intersection of line A-A2 and line A-B at behavior point A as degree A-B2, and denote the absolute value of the difference between degree A-B1 and degree A-B2 as feature A degree. For any behavior point C in the behavior feature coordinate system, denote the lines connecting behavior point C with the behavior point C of two adjacent pie regions BQ as line C-C1 and line C-C2, denote the line connecting behavior point C with behavior point B as line C-B, denote the degree of intersection of line C-C1 and line C-B at behavior point C as degree C-B1, denote the degree of intersection of line C-C2 and line C-B at behavior point C as degree C-B2, and denote the absolute value of the difference between degree C-B1 and degree C-B2 as feature C degree.
[0077] Step S203: For any behavior point B in the behavior feature coordinate system, denote the lines connecting behavior point B with the behavior point B of two adjacent pie regions BQ as line B-B1 and line B-B2, denote the line connecting behavior point B with behavior point A as line B-A, denote the line connecting behavior point B with behavior point C as line B-C, denote the degree of intersection of line B-B1 and line B-B2 at behavior point B as degree B-B, denote the degree of intersection of line B-A and line B-C at behavior point B as degree A-C, and denote the absolute value of the difference between degree B-B and degree A-C as feature B degree.
[0078] Step S204: Obtain the feature A degrees of all behavior points A, and denote the interval formed by all the feature A degrees as interval A; obtain the feature B degrees of all behavior points B, and denote the interval formed by all the feature B degrees as interval B; obtain the feature C degrees of all behavior points C, and denote the interval formed by all the feature C degrees as interval C.
[0079] Step S205: Denote interval A, interval B, and interval C as the user behavior intervals.
[0080] Step S3: Monitor the operation parameters of the subsystems in the building automation system used by the user in real time, and control the subsystems used by the user based on the user behavior intervals. Step S3 includes:
[0081] Whenever one day has passed since the subsystems in the building automation system used by the user started running, obtain the operation parameters of the subsystems in the most recent day in real time, and re-obtain the characteristic parameter TC based on the user's activity cycle; obtain the user scatter plot, the user preference pie chart, and the feature A degrees of all behavior points A, the feature B degrees of behavior points B, and the feature C degrees of behavior points C corresponding to the user preference pie chart based on the latest characteristic parameter TC. When the feature A degree of any behavior point A, the feature B degree of behavior point B, or the feature C degree of behavior point C is outside the user behavior interval, denote the subsystem corresponding to the behavior point with the degree outside the user behavior interval as the fluctuating subsystem; continuously monitor the use of the fluctuating subsystem by the user based on the building automation system and adjust the resource input to the fluctuating subsystem based on the intensity of the use of the fluctuating subsystem.
[0082] Example 3, please refer to Figure 5 as shown in Figure 5 illustrates a schematic structural diagram of an electronic device. The electronic device may include: a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory communicate with each other through the communication bus. The memory stores computer-readable instructions, and the processor can call the instructions in the memory. When the computer-readable instructions are executed by the processor, the steps in the building automation method based on distribution are run to implement the following functions: First, based on the operation parameters of the subsystems in the building automation system used by the users in the building, draw a user scatter plot and establish a user preference pie chart, then obtain the user behavior intervals based on the user scatter plot and the user preference pie chart, and finally monitor the operation parameters of the subsystems in the building automation system used by the user in real time, and control the subsystems used by the user based on the user behavior intervals.
[0083] In addition, when the logical instructions in the above-mentioned memory are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0084] Embodiment 4. This application also provides a computer-readable storage medium. This application provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, it runs the steps in the above-mentioned building automation method based on distribution to achieve the following functions: First, based on the operating parameters of the subsystems in the building automation system used by the users in the building, draw a user scatter plot and establish a user preference pie chart. Then, based on the user scatter plot and the user preference pie chart, obtain the user behavior interval. Finally, perform real-time monitoring on the operating parameters of the subsystems in the building automation system used by the users, and control the subsystems used by the users based on the user behavior interval.
[0085] Through the description of the above embodiments, the embodiments of the present invention can be provided as a method, a system, or a computer program product. Based on such an understanding, the above technical solution, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disks, optical discs, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments.
[0086] In the embodiments provided by this application, it should be understood that the disclosed system or method can be implemented in other ways. The above-described embodiments are merely illustrative. For example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation. Also, for example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some communication interfaces. The indirect couplings or communication connections of systems, modules, and units can be electrical, mechanical, or other forms.
[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.
Claims
1. A distributed building automation method, characterized in that: The steps include: Based on the operating parameters of the subsystems in the building automation system used by users in the building, draw a user scatter plot and establish a user preference pie chart; Obtain user behavior intervals based on user scatter plots and user preference pie charts; Monitor the operating parameters of the subsystems in the building automation system used by users in real time, and control the subsystems used by users based on the user behavior interval; Based on the operating parameters of the subsystems in the building automation system used by users in the building, draw a user scatter plot and establish a user preference pie chart including: For any user in the building, the number of days corresponding to a power consumption cycle of the user in the building is recorded as k, and the operating parameters of the subsystems in the building automatic control system used by the user in the last k days are obtained, and the daily operating parameters are recorded as usage parameters SC1 to SC k , where the subsystems of the building automation system include air conditioning system, power system and lighting system; The usage parameter SC is analyzed using the preference cycle acquisition method, and the user's activity cycle is acquired based on the analysis result; Analyze the usage parameter SC corresponding to each activity cycle of the user in the last k days, and obtain the user scatter plot and user preference pie chart based on the analysis results; Preference cycle acquisition methods include: The difference between the usage time of the air conditioning system in the usage parameter SC1 and the usage time of the air conditioning system in the usage parameter SC2 is recorded as the air conditioning buffer time; the difference between the power consumption of the power system in the usage parameter SC1 and the power consumption of the power system in the usage parameter SC2 is recorded as the power buffer amount; the difference between the lighting time of the lighting system in the usage parameter SC1 and the lighting time of the lighting system in the usage parameter SC2 is recorded as the lighting buffer time; set the cycle value, and initially set the value of the cycle value to z; Preference cycle acquisition methods also include: The periodic analysis method is used for analysis. The periodic analysis method includes: the value of k divided by z and rounded down is recorded as J, the value of J multiplied by z is recorded as k1, where k1 is a positive integer less than or equal to k and greater than 1; the use parameter SC1 to the use parameter SC k Use parameter SC1 to use parameter SC z This is the first cycle, and the parameter SC will be used. z+1 To use parameter SC z+z Recorded as the second cycle, and so on, obtain the third cycle to the Jth cycle, where the Jth cycle is the use of parameter SC (J-1)×z+1 To use parameter SC J×z ; For any J1th cycle from the second cycle to the Jth cycle, for any J1th cycle, use the parameter SC (J1-1)×z+z1 , get the usage parameter SC in the first cycle z1 The usage time of the air conditioning system, the power consumption of the power system and the lighting time of the lighting system are respectively related to the usage parameters SC (J1-1)×z+z1 The difference between the use time of the air conditioning system, the power consumption of the power system and the lighting time of the lighting system is recorded as the air conditioning analysis time, the power consumption analysis amount and the lighting analysis time respectively; when the air conditioning analysis time is greater than the air conditioning buffer time, the power consumption analysis amount is greater than the power consumption buffer amount or the lighting analysis time is greater than the lighting buffer time, z is recorded as an unselectable value; when the air conditioning analysis time is less than or equal to the air conditioning buffer time, the power consumption analysis amount is less than or equal to the power consumption buffer amount and the lighting analysis time is less than or equal to the lighting buffer time, the parameter SC is used (J1-1)×z+z1 is recorded as a cycleable parameter, where z1 is a positive integer less than or equal to z and greater than or equal to 1, and J1 is a positive integer less than or equal to J and greater than or equal to 3; when all usage parameters SC of the J1th period are recorded as cycleable parameters, the J1th period is recorded as a repeating period; when the third period to the Jth period are all recorded as repeating periods, the period value is recorded as the user's activity period; Preference cycle acquisition methods also include: When z is recorded as an unselectable value in the cycle analysis sub-method, the subsequent analysis of the cycle analysis sub-method is stopped, and the cycle value and z are both increased by 1 and the cycle analysis sub-method is used again for analysis; when J is 1 for the first time in the analysis process of the cycle analysis sub-method and the cycle value is still not recorded as the user's activity cycle at this time, the subsequent analysis of the cycle analysis sub-method is stopped, and the user's activity cycle is set to g, where g is a positive integer less than k and greater than 1.
2. The distributed building automation method according to claim 1 is characterized in that: Analyze the usage parameters SC corresponding to each activity cycle of the user in the last k days, and obtain the user scatter plot and user preference pie chart based on the analysis results, including: The value corresponding to the user's activity period is recorded as t, and the parameter SC is used k-t To use parameter SC k They are respectively recorded as characteristic parameters TC1 to TC t ; Establish a plane rectangular coordinate system, recorded as the characteristic coordinate system, where the coordinate points from the origin to the right in the X-axis of the characteristic coordinate system are characteristic parameters TC1 to characteristic parameters TC t , the unit of the Y axis of the characteristic coordinate system is set to time / min or electricity / degree. When the unit of the Y axis of the characteristic coordinate system is time / min, based on the characteristic parameters TC1 to TC t The usage time of the air conditioning system and the lighting time of the lighting system are respectively plotted in the characteristic coordinate system and recorded as the air conditioning scatter diagram and the lighting scatter diagram respectively; when the unit of the Y axis of the characteristic coordinate system is electricity / degree, based on the characteristic parameters TC1 to TC t The power consumption of the power system in the power system is plotted in a scatter plot in the characteristic coordinate system and recorded as a power consumption scatter plot, wherein the points in the air conditioning scatter plot are recorded as air conditioning points, and the abscissa of the air conditioning points is the characteristic parameter TC, and the ordinate is the usage time of the air conditioning system in the characteristic parameter TC; the points in the lighting scatter plot are recorded as lighting points, and the abscissa of the lighting points is the characteristic parameter TC, and the ordinate is the lighting time of the lighting system in the characteristic parameter TC; the points in the power consumption scatter plot are recorded as power consumption points, and the abscissa of the power consumption points is the characteristic parameter TC, and the ordinate is the power consumption of the power system in the characteristic parameter TC; The air conditioning scatter plot, lighting scatter plot and electricity consumption scatter plot are placed in the same feature coordinate system and recorded as the user scatter plot; for the feature parameters TC1 to TC t Any horizontal axis characteristic parameter TC t1 , let the straight line x = characteristic parameter TC t1 The average value of the vertical coordinates of the air conditioning point, lighting point and power consumption point is recorded as the characteristic parameter TC t1 The equilibrium value of all characteristic parameters TC is obtained and the sum of all equilibrium values is recorded as the total equilibrium value.
3. The distributed building automation method according to claim 2 is characterized in that: Analyze the usage parameter SC corresponding to each activity cycle of the user in the last k days, and obtain the user scatter plot and user preference pie chart based on the analysis results, which also includes: Draw a pie chart and divide it into t regions, which are named pie region BQ1 to pie region BQ t , for the pie area BQ1 to the pie area BQ t Any pie area in BQ t1 , pancake area BQ t1 The corresponding sector degree is Among them, JH t1 is the characteristic parameter TC t1 The equilibrium value of JH sum is the total equilibrium value; the pie chart obtained after calculating the degrees of the sectors corresponding to all pie areas BQ is recorded as the user preference pie chart, where t1 is a positive integer less than or equal to t and greater than or equal to 1.
4. The distributed building automation method according to claim 3 is characterized in that: Obtaining user behavior intervals based on user scatter plots and user preference pie charts includes: Establish a spatial coordinate system, recorded as the behavioral feature coordinate system, where the units of the X-axis, Y-axis and Z-axis of the behavioral feature coordinate system are all cm; place the user preference pie chart in the XY plane of the behavioral feature coordinate system, and make the center of the user preference pie chart coincide with the coordinate origin; for any pie area BQ in the user preference pie chart t1 , BQ the pancake area t1 The midpoint of the arc is recorded as the arc midpoint, the line connecting the arc midpoint and the center of the user preference pie chart is recorded as the arc midline, the value of the arc midline divided by 3 is recorded as r, the points in the arc midline at a distance of r, 2×r and 3×r from the center of the user preference pie chart are recorded as behavior point A, behavior point B and behavior point C respectively, the ordinate of behavior point A is adjusted to z1, the ordinate of behavior point B is adjusted to z2, and the ordinate of behavior point C is adjusted to z3, where z1, z2 and z3 are the values of the ordinates of the air-conditioning point, the lighting point and the electricity point respectively; the behavior point B is connected to the behavior point A and the behavior point C respectively, and the obtained broken line is recorded as the behavior broken line XZt1; obtain the behavior broken line XZ corresponding to all the pie areas BQ; for any two adjacent pie areas BQ in the user preference pie chart, connect the behavior points A of the two pie areas BQ, connect the behavior points B of the two pie areas BQ, and connect the behavior points C of the two pie areas BQ; For any behavior point A in the behavior feature coordinate system, the lines connecting the behavior point A and the behavior points A of the two adjacent pancake areas BQ are recorded as A-A1 line and A-A2 line, the line connecting the behavior point A and the behavior point B is recorded as AB line, the degree of intersection of the A-A1 line and the AB line at the behavior point A is recorded as A-B1 degree, the degree of intersection of the A-A2 line and the AB line at the behavior point A is recorded as A-B2 degree, and the absolute value of the difference between the A-B1 degree and the A-B2 degree is recorded as the characteristic A degree; For any behavior point C in the behavior feature coordinate system, the lines connecting the behavior point C and the behavior points C of two adjacent pie regions BQ are recorded as C-C1 line and C-C2 line, the line connecting the behavior point C and the behavior point B is recorded as CB line, the degree of intersection of the C-C1 line and the CB line at the behavior point C is recorded as C-C1 degree, the degree of intersection of the C-C2 line and the CB line at the behavior point C is recorded as C-B2 degree, and the absolute value of the difference between the C-B1 degree and the C-B2 degree is recorded as the characteristic C degree; For any behavior point B in the behavior feature coordinate system, the lines connecting the behavior point B and the behavior points B of two adjacent pie regions BQ are recorded as B-B1 line and B-B2 line, the line connecting the behavior point B and the behavior point A is recorded as BA line, the line connecting the behavior point B and the behavior point C is recorded as BC line, the degree of intersection of the B-B1 line and the B-B2 line at the behavior point B is recorded as BB degree, the degree of intersection of the BA line and the BC line at the behavior point B is recorded as AC degree, and the absolute value of the difference between the BB degree and the AC degree is recorded as the characteristic B degree; Get the characteristic A degree of all behavior points A, and record the interval formed by all characteristic A degrees as interval A; get the characteristic B degree of all behavior points B, and record the interval formed by all characteristic B degrees as interval B; get the characteristic C degree of all behavior points C, and record the interval formed by all characteristic C degrees as interval C; Section A, section B, and section C are recorded as user behavior sections.
5. The distributed building automation method according to claim 4 is characterized in that: Real-time monitoring of the operating parameters of the subsystems in the building automation system used by users, and control of the subsystems used by users based on user behavior intervals include: Whenever a subsystem in the building automatic control system used by the user has been running for one day, the operating parameters of the subsystem in the latest day are obtained in real time, and the characteristic parameters TC are re-obtained based on the user's activity cycle; based on the latest characteristic parameters TC, the user scatter diagram, the user preference pie chart, and the characteristic A degree of all behavior points A, the characteristic B degree of behavior points B, and the characteristic C degree of behavior points C corresponding to the user preference pie chart are obtained; when the characteristic A degree of any behavior point A, the characteristic B degree of behavior point B, or the characteristic C degree of behavior point C is outside the user's behavior range, the subsystem corresponding to the behavior point corresponding to the degree outside the user's behavior range is recorded as a fluctuating subsystem; based on the building automatic control system, the use of the user's fluctuating subsystem is continuously monitored, and the resource investment in the fluctuating subsystem is adjusted based on the intensity of the use of the fluctuating subsystem.
6. A distributed building automation system, used to implement the distributed building automation method according to any one of claims 1 to 5, characterized in that: It includes a user preference analysis module, an interval demarcation module, and a user system control module; The user preference analysis module draws a user scatter plot and creates a user preference pie chart based on the operating parameters of the subsystems in the building automation system used by users in the building; The interval demarcation module is used to obtain user behavior intervals based on user scatter plots and user preference pie charts; The user system control module is used to monitor the operating parameters of the subsystems in the building automation system used by the user in real time, and to control the subsystems used by the user based on the user's behavior interval.
Citation Information
Patent Citations
Building self-control distributed method and system
CN116319904A
Flat intelligent building control system
CN108459565A