CN107632594A - A kind of electrical equipment centralized control system and control method based on wireless network - Google Patents
A kind of electrical equipment centralized control system and control method based on wireless network Download PDFInfo
- Publication number
- CN107632594A CN107632594A CN201711077654.4A CN201711077654A CN107632594A CN 107632594 A CN107632594 A CN 107632594A CN 201711077654 A CN201711077654 A CN 201711077654A CN 107632594 A CN107632594 A CN 107632594A
- Authority
- CN
- China
- Prior art keywords
- msub
- mrow
- mover
- overbar
- module
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000010438 heat treatment Methods 0.000 claims description 4
- 238000005057 refrigeration Methods 0.000 claims description 4
- 238000004378 air conditioning Methods 0.000 claims description 3
- 230000005484 gravity Effects 0.000 claims description 3
- 238000012886 linear function Methods 0.000 claims description 3
- 238000004148 unit process Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000008054 signal transmission Effects 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 20
- 238000005516 engineering process Methods 0.000 description 4
- 238000000222 aromatherapy Methods 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a kind of electrical equipment centralized control system and control method based on wireless network,Including terminal control module,Routing module and main control module,The terminal control module includes the first Thread control transponders,The routing module includes multiple control routers,The 2nd Thread control transponders are provided with each control router,The present invention carries out signal transmission using Thread networks,Thread networks possess firm self-healing mesh network,There is no Single Point of Faliure,So that system is more stable,Simultaneously by setting functional module,It can cause no matter when and where,Coordinate gateway,Use mobile phone,The network equipments such as computer can easily realize the remote control of whole system,And usage record learning algorithm,Constantly amendment path optimizing calculated value,Default electrical equipment is opened in intellectuality,Without sending instruction manually.
Description
Technical Field
The invention relates to the field of application of internet of things technology, in particular to an electric appliance centralized control system and a control method based on a wireless network.
Background
With the development of social and economic science and technology, electrical equipment is increasing continuously, and the necessity of carrying out centralized control on electrical appliances is reflected. The first step of accelerating the realization of the Internet of things is the centralized control of the electric appliances when the Internet of things generally enters the public vision and the time from the IPV4 to the IPV6 is excessive, and the method has great application prospects in the field of homes and large-scale public places. However, the development of the internet of things is still in the initial stage, and there are many places worth improving on technology, protocol and intelligent scene application.
The prior art remote wireless control technology mainly has three leading protocol solutions: Wi-Fi, Bluetooth Smart, and 802.15.4 mesh network protocols.
The former two have common disadvantages:
1. the power consumption is high, the protocol is not specially designed for remote appliance control, and the application scenes that only a low-capacity battery can be used and the remote appliance control device works for a long time are difficult to be qualified.
2. The network configuration is complex and the network needs to be matched manually.
3. The network capacity is small, and the control requirement of large-scale quantity of electric appliances is difficult to adapt
4. The network stability is poor, a self-healing network is not provided, a single point of failure occurs in the middle, each network must have a main control device, generally one or more similar gateway hub control devices, and once a failure occurs, control loss of a part of or the whole system is caused.
5. The network security is poor, a laggard security protocol exists, and a plurality of security holes exist.
Disclosure of Invention
The invention aims to provide an electric appliance centralized control system based on a wireless network, which has a firm self-healing mesh network and can easily realize remote control of the system.
The technical scheme adopted by the invention for solving the technical problems is as follows: an electric appliance centralized control system based on a wireless network comprises a terminal control module, a routing module and a main control module, wherein the terminal control module comprises a first Thread control repeater, the routing module comprises a plurality of control routers, and a second Thread control repeater is arranged in each control router;
the first Thread control repeater comprises a first MCU unit, a first Thread unit and a function module for controlling the function execution of the controlled electric appliance, the first Thread unit and the function module are respectively connected with the first MCU unit, and the second Thread control repeater comprises a second MCU unit and a second Thread unit which are connected with each other;
the second Thread unit is used for receiving a control signal sent by the terminal control module and sending the control signal processed by the second MCU unit to the first Thread unit, and the first MCU unit processes the signal received by the first Thread unit and then transmits the processed signal to the function module so that the function module controls the corresponding electric appliance to work.
Further, the method comprises the following steps: the border router comprises a non-Thread network control repeater and a third Thread control repeater, wherein the non-Thread network control repeater can perform data transmission, the non-Thread network control repeater is used for receiving a control signal sent by the main control module and transmitting the analyzed control signal to the third Thread control repeater, and the third Thread control repeater is used for communicating with the control router.
Further, the method comprises the following steps: the system also comprises a power supply module for supplying power to the terminal control module and the routing module.
Further, the method comprises the following steps: the first MCU unit further comprises a path judgment module, the path judgment module is connected with the functional module, the path judgment module is used for acquiring real-time position information of the main control module through the GPS and judging whether the main control module is located at home returning time or not, when the main control module is located on a home returning path, the path judgment module transmits a control signal to the functional module, and the functional module opens the corresponding electric appliance.
When the main control module sends an instruction, firstly the non-Thread network control transponder of the boundary router analyzes the received data and transmits the data to the third Thread control transponder, then the signal is transmitted to the terminal control module through the third Thread control transponder and the control router, and the terminal control module controls the corresponding electric appliance to start working.
Further, the method comprises the following steps: the first MCU unit also comprises a path judgment module, the path judgment module is connected with the functional module, the path judgment module is used for acquiring the real-time position information of the main control module through the GPS and judging whether the main control module is positioned at home or not and the home returning time, when the main control module is positioned on the home returning path, the path judgment module transmits a control signal to the functional module, and the functional module starts the corresponding electric appliance;
the path judging method comprises the following steps:
in a known recording path, extracting m nodes, extracting 2 eigenvalues respectively representing longitude and latitude x and y acquired by a GPS, and then extracting n1 and n2 … … nm samples from m populations respectively to obtain the total sample data as follows:
andand … …
Wherein the center of gravity of the ensemble of samples of the ith node in the y (x) plane is:
wherein,
are as follows respectivelyAndthe m points are fitted to a linear function shaped as y ═ bx + a;
make itThe weighted sum of squares of the deviations of (a) to (b) is minimized, the following equation can be minimized
The above formula respectively calculates the partial derivatives of a and b, and the partial derivatives are arranged to obtain an equation set:
the optimal estimated values of the linear parameters a and b can be obtained by solving the equation set:
by the same token, can be understood asThe obtained straight line parameter anAnd bn,
Set a knValue of, make
Note the book
When the person is on the back-to-home commute, the actual path is obtained as a and b according to the above operation, when the person is on the back-to-home commute
At the moment, the judgment can be made, the user is in a way of returning home, certain preset electric appliances in the home are judged to be started, and meanwhile, data values acquired by all paths are stored to update the optimized prejudgment values.
Further, the method comprises the following steps: the first MCU unit further comprises an air conditioner opening judgment module and temperature sensors connected with the air conditioner opening judgment module and arranged at all corners in a room, and the temperature recorded by each temperature sensor is sequentially recorded as T1,T2,T3......TnThe system also comprises a temperature acquisition module which is connected with the air conditioner opening judgment module and is used for acquiring the temperature published by the local weather station, wherein the temperature acquired by the temperature acquisition module is marked as TrThen, the average temperature is recorded as:
the month notation is:
M={1,2,3,......,12};
let S be {0, T ═pWhen S is equal to 0, the air conditioner is not started, and when S is equal to TpWhen T is determinedpWhen the temperature is less than or equal to 20, the air-conditioning state is a heating mode, TpWhen the air conditioner state is more than or equal to 25, the air conditioner state is a refrigeration mode, TpTemperature set for the turned-on air conditioner:
when in spring and autumn, M is {3, 4, 5, 9, 10, 11}, the judgment rule is as follows:
when in summer, M ═ 6, 7, 8}, the judgment rule is:
when in winter, M ═ 1, 2, 12}, the judgment rule is:
and transmitting the judgment result S to the functional module to control whether the air conditioner is started at the arrival point and the starting temperature.
The invention has the beneficial effects that:
(1) the Thread network is adopted for signal transmission, and the Thread network has a firm self-healing mesh network without single point of failure.
(2) By arranging the functional module, the remote control of the whole system can be easily realized by using network equipment such as a mobile phone, a computer and the like in cooperation with a gateway at any time and any place.
(3) Given a power efficient IEEE 802.15.4MAC/PHY based device can communicate efficiently to provide an excellent user experience, but still operate on a minimal battery for many years.
(4) The whole set of system is easy to install and use, and security holes existing in other wireless protocols are eliminated by using a smart phone era authentication scheme and AES encryption.
(5) The recording learning algorithm can be used, the optimized path calculation value is continuously corrected, the preset electric appliance is intelligently started, and the instruction does not need to be sent manually.
Drawings
Fig. 1 is a schematic diagram of an electric appliance centralized control system.
Fig. 2 is a schematic diagram of a terminal control module.
Fig. 3 is a flow chart of path determination.
Labeled as: the system comprises a main control module 1, a routing module 2, a terminal control module 3 and a boundary router 4.
Detailed Description
The invention is further described with reference to the following figures and detailed description.
As shown in fig. 1 to fig. 2, the electric appliance centralized control system based on a wireless network includes a terminal control module 3, a routing module 2 and a main control module 1, where the terminal control module 3 includes a first Thread control repeater, the routing module 2 includes a plurality of control routers, and each control router is provided with a second Thread control repeater; the first Thread control repeater comprises a first MCU unit, a first Thread unit and a functional module for controlling the function execution of the controlled electric appliance, the first Thread unit and the functional module are respectively connected with the first MCU unit, the functional module is connected with the first MCU unit through an I/O interface, and the second Thread control repeater comprises a second MCU unit and a second Thread unit which are connected with each other; the second Thread unit is used for receiving a control signal sent by the terminal control module 3 and sending the control signal processed by the second MCU unit to the first Thread unit, the first MCU unit processes the signal received by the first Thread unit and then transmits the signal to the function module to enable the function module to control the corresponding electric appliance to work, the function module can be arranged through a specific electric appliance body, for example, when the terminal equipment is an infrared control type electric appliance, such as an air conditioner, a television, a set top box and the like, an infrared integrated receiving head is arranged in the function module, and a related infrared learning related circuit is arranged, the remote control function of the module can also be directly guided into an adapter by using an infrared control code published by a manufacturer, an infrared extension line can be adjusted and used according to a use scene, when the controlled end is a switch control type electric appliance such as a light, an electric water heater, an aromatherapy machine, an air humidifier and the like, the function module comprises a switch actuator and a control circuit of the switch, the terminal control module 3 can adopt an embedded 86-box style which is suitable for the wall surface control installation requirement, and also can adopt a power board style which is suitable for more low-power electric appliances such as an air humidifier, an aromatherapy machine and the like, meanwhile, the function module can realize the light brightness control or the color temperature control by arranging a controllable light motor driving circuit, a silicon controlled rectifier and the like, when the terminal control module works specifically, the main control module 1 sends a control signal to a second Thread control transponder, the second Thread control transponder analyzes and transmits the signal to a first Thread control transponder of the terminal control module 3, then a first MCU unit analyzes and processes the received signal, the analyzed and processed signal is transmitted to the function module in the first Thread control transponder, the function module controls the corresponding electric appliance to work, thereby realizing the remote control and the centralized control of the electric appliances, the signals in the control system are transmitted through the Thread network, the Thread network has a firm self-healing mesh network without single-point faults, so that the signal transmission is more stable, the remote control of the whole system can be easily realized anytime and anywhere by arranging the functional module, and the Thread network is based on the power-efficient IEEE 802.15.4MAC/PHY protocol, so that the equipment can effectively communicate, and excellent user experience is provided.
On the basis, the border router 4 further comprises a border router 4, the border router 4 comprises a non-Thread network control repeater and a third Thread control repeater, the non-Thread network control repeater is used for receiving a control signal sent by the main control module 1 and transmitting the analyzed control signal to the third Thread control repeater, the third Thread control repeater is used for communicating with the control router, the border router 4 can effectively isolate an external network from the Thread network, so that the main control module 1 can transmit the control signal to the border router 4 by using other network environments such as WIFI and ethernet, and the main control module 1 can transmit the signal to the function module through the internal Thread network for the border router 4 to control the electric appliance, thereby ensuring the stability and the safety of the internal Thread network.
On the basis, the intelligent control system further comprises a power supply module for supplying power to the terminal control module 3 and the routing module 2, when the controlled electric appliance needs infrared control, such as an air conditioner, a television, a set top box and the like, the power supply module supplies power by using one CR2032 button cell, and when the controlled end is a switch control type electric appliance such as lamplight, an electric water heater, an aromatherapy machine, an air humidifier and the like, the power supply module supplies power by connecting a 220V mains supply with the functional module and the first MCU, so that the use stability of the terminal control module 3 is ensured.
On the basis, first MCU unit still includes the route judgement module, first MCU unit specifically can be Cortex-M0 microprocessor, route judgement module and functional module are connected, the route judgement module is used for obtaining main control module 1's real-time positional information and judging whether main control module 1 is located to go home and time of going home through GPS, when main control module 1 is located to go home on the route, the route judgement module passes control signal to functional module, and functional module opens corresponding electric appliance, main control module 1 is for cell-phone or on-vehicle mobile device etc. that have the GPS function, and this kind of setting can make the user can open corresponding electric appliance centralized control system in advance before returning home, like air conditioner, water heater etc. and need not manual control again, and is convenient, swift.
When a main control module 1 sends an instruction, firstly a non-Thread network control repeater of a boundary router 4 analyzes received data and transmits the data to a third Thread control repeater, then a signal is transmitted to a terminal control module 3 through the control router by the third Thread control repeater, the terminal control module 3 controls corresponding electric appliances to start and work, the Thread network is adopted for signal transmission, the Thread network has a firm self-healing mesh network without single-point failure, the signal transmission is more stable and safe, and meanwhile, the main control module 1 sends the instruction to easily realize the remote control of the whole system.
On the basis, the first MCU unit further comprises a path judgment module, the path judgment module is connected with the function module, the path judgment module is used for acquiring real-time position information of the main control module 1 through a GPS and judging whether the main control module 1 is located at home returning time or not, when the main control module 1 is located on a home returning path, the path judgment module transmits a control signal to the function module, and the function module starts the corresponding electric appliance;
the path judging method comprises the following steps:
in a known recording path, extracting m nodes, extracting 2 eigenvalues respectively representing longitude and latitude x and y acquired by a GPS, and then extracting n1 and n2 … … nm samples from m populations respectively to obtain the total sample data as follows:
andand … …
Wherein the center of gravity of the ensemble of samples of the ith node in the y (x) plane is:
wherein,
are as follows respectivelyAndthe m points are fitted to a linear function shaped as y ═ bx + a;
make itThe weighted sum of squares of the deviations of (a) to (b) is minimized, the following equation can be minimized
The above formula respectively calculates the partial derivatives of a and b, and the partial derivatives are arranged to obtain an equation set:
the optimal estimated values of the linear parameters a and b can be obtained by solving the equation set:
by the same token, can be understood asThe obtained straight line parameter anAnd bn,
Set a knValue of, make
Note the book
When the person is on the back-to-home commute, the actual path obtains a and b according to the operation, and when the person is on the back-to-home commute
At the moment, the judgment can be made, the user is in a way of returning home, certain preset electric appliances in the home are judged to be started, and meanwhile, data values acquired by all paths are stored to update the optimized prejudgment values.
When needing to open be bedroom air conditioner, reach the temperature of predetermineeing about general bedroom air conditioner 10 minutes, can draw before and whether be in on the route of returning home in advance apart from the family 20 minutes node, then when 10 minutes distance in advance apart from the family, control corresponding bedroom air conditioner and open for the user just can be in comfortable environment at home, convenient and practical need not to carry out manual control again.
On the basis, the first MCU unit further comprises an air conditioner opening judgment module and temperature sensors connected with the air conditioner opening judgment module and arranged at all corners in a room, and the temperature recorded by each temperature sensor is sequentially recorded as T1,T2,T3......TnThe system also comprises a temperature acquisition module which is connected with the air conditioner opening judgment module and is used for acquiring the temperature published by the local weather station, wherein the temperature acquired by the temperature acquisition module is marked as TrThen, the average temperature is recorded as:
the month notation is:
M={1,2,3,......,12};
let S be {0, T ═pWhen S is equal to 0, the air conditioner is not started, and when S is equal to TpWhen T is determinedpWhen the temperature is less than or equal to 20, the air-conditioning state is a heating mode, TpWhen the air conditioner state is more than or equal to 25, the air conditioner state is a refrigeration mode, TpTemperature set for the turned-on air conditioner:
when in spring and autumn, M is {3, 4, 5, 9, 10, 11}, the judgment rule is as follows:
when in summer, M ═ 6, 7, 8}, the judgment rule is:
when in winter, M ═ 1, 2, 12}, the judgment rule is:
the judgment result S is transmitted to the function module, whether the air conditioner is started at the arrival point or not and the starting temperature are controlled, whether the air conditioner needs to be started or not and the temperature of the air conditioner needs to be started or not can be judged according to the weather condition and the current temperature, and whether the air conditioner needs to be in a refrigeration mode or a heating mode can be judged, so that a user does not need to carry out frequent change setting, and convenience and accuracy are realized.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (7)
1. The utility model provides an electrical apparatus centralized control system based on wireless network, includes terminal control module (3), route module (2) and main control module (1), its characterized in that: the terminal control module (3) comprises a first Thread control repeater, the routing module (2) comprises a plurality of control routers, and each control router is provided with a second Thread control repeater;
the first Thread control repeater comprises a first MCU unit, a first Thread unit and a function module for controlling the function execution of the controlled electric appliance, the first Thread unit and the function module are respectively connected with the first MCU unit, and the second Thread control repeater comprises a second MCU unit and a second Thread unit which are connected with each other;
the second Thread unit is used for receiving a control signal sent by the terminal control module (3) and sending the control signal processed by the second MCU unit to the first Thread unit, and the first MCU unit processes the signal received by the first Thread unit and then transmits the processed signal to the function module so that the function module controls the corresponding electric appliance to work.
2. The electric appliance centralized control system based on the wireless network as claimed in claim 1, wherein: the border router (4) comprises a non-Thread network control repeater capable of carrying out data transmission and a third Thread control repeater, wherein the non-Thread network control repeater is used for receiving a control signal sent by the main control module (1) and transmitting the analyzed control signal to the third Thread control repeater, and the third Thread control repeater is used for communicating with the control router.
3. The electric appliance centralized control system based on the wireless network as claimed in claim 1, wherein: the system also comprises a power supply module for supplying power to the terminal control module (3) and the routing module (2).
4. The electric appliance centralized control system based on the wireless network as claimed in claim 1, wherein: the first MCU unit further comprises a path judgment module, the path judgment module is connected with the functional module, the path judgment module is used for acquiring real-time position information of the main control module (1) through the GPS and judging whether the main control module (1) is located at home returning time or not, when the main control module (1) is located on a home returning path, the path judgment module transmits a control signal to the functional module, and the functional module opens the corresponding electric appliance.
5. An electric appliance centralized control method based on a wireless network comprises any one of the electric appliance centralized control system based on the wireless network from claim 1 to claim 3, and is characterized in that: when the main control module (1) sends an instruction, firstly, the non-Thread network control transponder of the boundary router (4) analyzes the received data and transmits the data to the third Thread control transponder, then the signal is transmitted to the terminal control module (3) through the third Thread control transponder and the control router, and the terminal control module (3) controls corresponding electric appliances to start to work.
6. The electric appliance centralized control method based on the wireless network as claimed in claim 5, wherein: the first MCU unit also comprises a path judgment module, the path judgment module is connected with the functional module, the path judgment module is used for acquiring real-time position information of the main control module (1) through a GPS and judging whether the main control module (1) is positioned at home returning time or not, when the main control module (1) is positioned on a home returning path, the path judgment module transmits a control signal to the functional module, and the functional module starts the corresponding electric appliance;
the path judging method comprises the following steps:
in a known recording path, extracting m nodes, extracting 2 eigenvalues respectively representing longitude and latitude x and y acquired by a GPS, and then extracting n1 and n2 … … nm samples from m populations respectively to obtain the total sample data as follows:
andand … …
Wherein the center of gravity of the ensemble of samples of the ith node in the y (x) plane is:
<mrow> <mo>(</mo> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>,</mo> <mover> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>)</mo> <mo>(</mo> <mi>i</mi> <mo>=</mo> <mn>1</mn> <mo>,</mo> <mn>2</mn> <mo>,</mo> <mn>......</mn> <mo>,</mo> <mi>m</mi> <mo>)</mo> <mo>;</mo> </mrow>
wherein,
<mrow> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>=</mo> <mfrac> <mn>1</mn> <msub> <mi>n</mi> <mi>i</mi> </msub> </mfrac> <mrow> <mo>(</mo> <msub> <mi>x</mi> <msub> <mi>i</mi> <mn>1</mn> </msub> </msub> <mo>+</mo> <msub> <mi>x</mi> <msub> <mi>i</mi> <mn>2</mn> </msub> </msub> <mo>+</mo> <mn>......</mn> <mo>+</mo> <msub> <mi>x</mi> <msub> <mi>i</mi> <msub> <mi>n</mi> <mi>i</mi> </msub> </msub> </msub> <mo>)</mo> </mrow> </mrow>
<mrow> <mover> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>=</mo> <mfrac> <mn>1</mn> <msub> <mi>n</mi> <mi>i</mi> </msub> </mfrac> <mrow> <mo>(</mo> <msub> <mi>y</mi> <msub> <mi>i</mi> <mn>1</mn> </msub> </msub> <mo>+</mo> <msub> <mi>y</mi> <msub> <mi>i</mi> <mn>2</mn> </msub> </msub> <mo>+</mo> <mn>......</mn> <mo>+</mo> <msub> <mi>y</mi> <msub> <mi>i</mi> <msub> <mi>n</mi> <mi>i</mi> </msub> </msub> </msub> <mo>)</mo> </mrow> <mo>;</mo> </mrow>
are as follows respectivelyAndthe m points are fitted to a linear function shaped as y ═ bx + a;
make itThe weighted sum of squares of the deviations of (a) to (b) is minimized, the following equation can be minimized
<mrow> <munderover> <mo>&Sigma;</mo> <mrow> <mi>i</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>m</mi> </munderover> <msup> <mrow> <mo>&lsqb;</mo> <mover> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>-</mo> <mrow> <mo>(</mo> <mi>a</mi> <mo>+</mo> <mi>b</mi> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>)</mo> </mrow> <mo>&rsqb;</mo> </mrow> <mn>2</mn> </msup> <mo>;</mo> </mrow>
The above formula respectively calculates the partial derivatives of a and b, and the partial derivatives are arranged to obtain an equation set:
<mrow> <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mi>a</mi> <mi>m</mi> <mo>+</mo> <mi>b</mi> <mi>&Sigma;</mi> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>=</mo> <mi>&Sigma;</mi> <mover> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> </mtd> </mtr> <mtr> <mtd> <mrow> <mi>a</mi> <mi>&Sigma;</mi> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>+</mo> <mi>b</mi> <mi>&Sigma;</mi> <msup> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mn>2</mn> </msup> <mo>=</mo> <mi>&Sigma;</mi> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mover> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow>
the optimal estimated values of the linear parameters a and b can be obtained by solving the equation set:
<mrow> <mover> <mi>a</mi> <mo>&OverBar;</mo> </mover> <mo>=</mo> <mfrac> <mrow> <mo>(</mo> <mi>&Sigma;</mi> <msup> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mn>2</mn> </msup> <mo>)</mo> <mo>(</mo> <mi>&Sigma;</mi> <mover> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>)</mo> <mo>-</mo> <mo>(</mo> <mi>&Sigma;</mi> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>)</mo> <mo>(</mo> <mi>&Sigma;</mi> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mover> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>)</mo> </mrow> <mrow> <mi>m</mi> <mrow> <mo>(</mo> <mi>&Sigma;</mi> <msup> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mn>2</mn> </msup> <mo>)</mo> </mrow> <mo>-</mo> <msup> <mrow> <mo>(</mo> <mi>&Sigma;</mi> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>)</mo> </mrow> <mn>2</mn> </msup> </mrow> </mfrac> </mrow>
<mrow> <mover> <mi>b</mi> <mo>&OverBar;</mo> </mover> <mo>=</mo> <mfrac> <mrow> <mi>m</mi> <mrow> <mo>(</mo> <mi>&Sigma;</mi> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mover> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>)</mo> </mrow> <mo>-</mo> <mrow> <mo>(</mo> <mi>&Sigma;</mi> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>)</mo> </mrow> <mrow> <mo>(</mo> <mi>&Sigma;</mi> <mover> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>)</mo> </mrow> </mrow> <mrow> <mi>m</mi> <mrow> <mo>(</mo> <mi>&Sigma;</mi> <msup> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mn>2</mn> </msup> <mo>)</mo> </mrow> <mo>-</mo> <msup> <mrow> <mo>(</mo> <mi>&Sigma;</mi> <mover> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>&OverBar;</mo> </mover> <mo>)</mo> </mrow> <mn>2</mn> </msup> </mrow> </mfrac> <mo>;</mo> </mrow>
by the same token, can be understood asThe obtained straight line parameter anAnd bn,
Set a knValue of, make
<mrow> <mo>&lsqb;</mo> <msup> <mrow> <mo>(</mo> <msub> <mi>a</mi> <mi>n</mi> </msub> <mo>-</mo> <mover> <mi>a</mi> <mo>&OverBar;</mo> </mover> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>+</mo> <msup> <mrow> <mo>(</mo> <msub> <mi>b</mi> <mi>n</mi> </msub> <mo>-</mo> <mover> <mi>b</mi> <mo>&OverBar;</mo> </mover> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>&rsqb;</mo> <mo><</mo> <msub> <mi>k</mi> <mi>n</mi> </msub> </mrow>
Note the book
When the person is on the back-to-home commute, the actual path is obtained as a and b according to the above operation, when the person is on the back-to-home commute
<mrow> <mo>&lsqb;</mo> <msup> <mrow> <mo>(</mo> <mi>a</mi> <mo>-</mo> <mover> <mi>a</mi> <mo>&OverBar;</mo> </mover> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>+</mo> <msup> <mrow> <mo>(</mo> <mi>b</mi> <mo>-</mo> <mover> <mi>b</mi> <mo>&OverBar;</mo> </mover> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>&rsqb;</mo> <mo><</mo> <mover> <mi>k</mi> <mo>&OverBar;</mo> </mover> <mo>;</mo> </mrow>
At the moment, the judgment can be made, the user is in a way of returning home, certain preset electric appliances in the home are judged to be started, and meanwhile, data values acquired by all paths are stored to update the optimized prejudgment values.
7. The electric appliance centralized control method based on the wireless network as claimed in claim 6, wherein: the first MCU unit further comprises an air conditioner opening judgment module and temperature sensors connected with the air conditioner opening judgment module and arranged at all corners in a room, and the temperature recorded by each temperature sensor is sequentially recorded as T1,T2,T3......TnThe system also comprises a temperature acquisition module which is connected with the air conditioner opening judgment module and is used for acquiring the temperature published by the local weather station, wherein the temperature acquired by the temperature acquisition module is marked as TrThen, the average temperature is recorded as:
<mrow> <mover> <mi>T</mi> <mo>&OverBar;</mo> </mover> <mo>=</mo> <mfrac> <mrow> <msub> <mi>T</mi> <mi>r</mi> </msub> <mo>+</mo> <mfrac> <mrow> <msub> <mi>T</mi> <mn>1</mn> </msub> <mo>+</mo> <msub> <mi>T</mi> <mn>2</mn> </msub> <mo>+</mo> <msub> <mi>T</mi> <mn>3</mn> </msub> <mo>+</mo> <mn>......</mn> <mo>+</mo> <msub> <mi>T</mi> <mi>n</mi> </msub> </mrow> <mi>n</mi> </mfrac> </mrow> <mn>2</mn> </mfrac> <mo>;</mo> </mrow>
the month notation is:
M={1,2,3,......,12};
let S be {0, T ═pWhen S is equal to 0, the air conditioner is not started, and when S is equal to TpWhen T is determinedpWhen the temperature is less than or equal to 20, the air-conditioning state is a heating mode, TpWhen the air conditioner state is more than or equal to 25, the air conditioner state is a refrigeration mode, TpTemperature set for the turned-on air conditioner:
when in spring and autumn, M is {3, 4, 5, 9, 10, 11}, the judgment rule is as follows:
<mrow> <mi>S</mi> <mo>=</mo> <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <mn>0</mn> <mo>,</mo> <mn>18</mn> <mo>&le;</mo> <mover> <mi>T</mi> <mo>&OverBar;</mo> </mover> <mo>&le;</mo> <mn>27</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msub> <mi>T</mi> <mi>P</mi> </msub> <mo>=</mo> <mn>19</mn> <mo>,</mo> <mover> <mi>T</mi> <mo>&OverBar;</mo> </mover> <mo><</mo> <mn>18</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msub> <mi>T</mi> <mi>P</mi> </msub> <mo>=</mo> <mn>26</mn> <mo>,</mo> <mover> <mi>T</mi> <mo>&OverBar;</mo> </mover> <mo>></mo> <mn>27</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow>
when in summer, M ═ 6, 7, 8}, the judgment rule is:
<mrow> <mi>S</mi> <mo>=</mo> <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <mn>0</mn> <mo>,</mo> <mover> <mi>T</mi> <mo>&OverBar;</mo> </mover> <mo>&le;</mo> <mn>28</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msub> <mi>T</mi> <mi>P</mi> </msub> <mo>=</mo> <mn>27</mn> <mo>,</mo> <mover> <mi>T</mi> <mo>&OverBar;</mo> </mover> <mo>></mo> <mn>28</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow>
when in winter, M ═ 1, 2, 12}, the judgment rule is:
<mrow> <mi>S</mi> <mo>=</mo> <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <mn>0</mn> <mo>,</mo> <mover> <mi>T</mi> <mo>&OverBar;</mo> </mover> <mo>&GreaterEqual;</mo> <mn>17</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msub> <mi>T</mi> <mi>p</mi> </msub> <mo>=</mo> <mn>18</mn> <mo>,</mo> <mover> <mi>T</mi> <mo>&OverBar;</mo> </mover> <mo><</mo> <mn>17</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow>
and transmitting the judgment result S to the functional module to control whether the air conditioner is started at the arrival point and the starting temperature.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711077654.4A CN107632594B (en) | 2017-11-06 | 2017-11-06 | Electrical appliance centralized control system and control method based on wireless network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711077654.4A CN107632594B (en) | 2017-11-06 | 2017-11-06 | Electrical appliance centralized control system and control method based on wireless network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107632594A true CN107632594A (en) | 2018-01-26 |
CN107632594B CN107632594B (en) | 2024-02-06 |
Family
ID=61107902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711077654.4A Active CN107632594B (en) | 2017-11-06 | 2017-11-06 | Electrical appliance centralized control system and control method based on wireless network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107632594B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107148038A (en) * | 2017-03-27 | 2017-09-08 | 聂江海 | Method, apparatus and system for management and the communication of wireless mesh network |
CN108737554A (en) * | 2018-05-29 | 2018-11-02 | 山东建筑大学 | Architectural Equipment Internet of things system and terminal management method based on Thread protocol stacks |
CN109257834A (en) * | 2018-09-17 | 2019-01-22 | 广州市特沃能源管理有限公司 | The network-building method of meshed wireless sensor network based on Thread agreement |
CN110868351A (en) * | 2019-11-19 | 2020-03-06 | 昆明上品数据科技有限责任公司 | Traceability supervision system based on supply chain |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197958A (en) * | 2013-04-01 | 2013-07-10 | 天脉聚源(北京)传媒科技有限公司 | Data transmission method and system and transponder device |
CN103441939A (en) * | 2013-09-13 | 2013-12-11 | 重庆邮电大学 | Multifunctional boundary router based on IPv6 wireless sensor network |
CN104156267A (en) * | 2013-05-14 | 2014-11-19 | 华为技术有限公司 | Task allocation method, task allocation device and on-chip network |
CN104460534A (en) * | 2013-09-12 | 2015-03-25 | 郑州朗鑫智能电子科技有限公司 | Universal intelligent household system base on integrated master control equipment |
US20160299480A1 (en) * | 2014-10-30 | 2016-10-13 | Shenzhen Skyworth-Rgb Electronic Co., Ltd | Context awareness control device, system and method |
CN106598870A (en) * | 2016-12-26 | 2017-04-26 | 中国建设银行股份有限公司 | Cross-component transaction consistency testing method and system |
CN107070809A (en) * | 2017-04-11 | 2017-08-18 | 南通大学 | A kind of real-time retransmission method of large-scale sensor data |
CN207965622U (en) * | 2017-11-06 | 2018-10-12 | 苏州科技大学 | A kind of electric appliance centralized control system based on wireless network |
-
2017
- 2017-11-06 CN CN201711077654.4A patent/CN107632594B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197958A (en) * | 2013-04-01 | 2013-07-10 | 天脉聚源(北京)传媒科技有限公司 | Data transmission method and system and transponder device |
CN104156267A (en) * | 2013-05-14 | 2014-11-19 | 华为技术有限公司 | Task allocation method, task allocation device and on-chip network |
CN104460534A (en) * | 2013-09-12 | 2015-03-25 | 郑州朗鑫智能电子科技有限公司 | Universal intelligent household system base on integrated master control equipment |
CN103441939A (en) * | 2013-09-13 | 2013-12-11 | 重庆邮电大学 | Multifunctional boundary router based on IPv6 wireless sensor network |
US20160299480A1 (en) * | 2014-10-30 | 2016-10-13 | Shenzhen Skyworth-Rgb Electronic Co., Ltd | Context awareness control device, system and method |
CN106598870A (en) * | 2016-12-26 | 2017-04-26 | 中国建设银行股份有限公司 | Cross-component transaction consistency testing method and system |
CN107070809A (en) * | 2017-04-11 | 2017-08-18 | 南通大学 | A kind of real-time retransmission method of large-scale sensor data |
CN207965622U (en) * | 2017-11-06 | 2018-10-12 | 苏州科技大学 | A kind of electric appliance centralized control system based on wireless network |
Non-Patent Citations (3)
Title |
---|
SALLY WARD-FOXTON;: "Thread网络协议使得智能家居应用如虎添翼", 中国电子商情(基础电子), no. 08 * |
向敏;黄盛刚;田力;黄浩林;何金星;唐亮;朱大鹏;: "基于IPv6的多接入智能电网网关设计", 中国电力, no. 05 * |
漆惠;: "QORVO多通道物联网收发器获Thread协议认证", 电信工程技术与标准化, no. 10 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107148038A (en) * | 2017-03-27 | 2017-09-08 | 聂江海 | Method, apparatus and system for management and the communication of wireless mesh network |
CN108737554A (en) * | 2018-05-29 | 2018-11-02 | 山东建筑大学 | Architectural Equipment Internet of things system and terminal management method based on Thread protocol stacks |
CN108737554B (en) * | 2018-05-29 | 2021-04-09 | 山东建筑大学 | Internet of things system and terminal management method of building equipment based on Thread protocol stack |
CN109257834A (en) * | 2018-09-17 | 2019-01-22 | 广州市特沃能源管理有限公司 | The network-building method of meshed wireless sensor network based on Thread agreement |
CN110868351A (en) * | 2019-11-19 | 2020-03-06 | 昆明上品数据科技有限责任公司 | Traceability supervision system based on supply chain |
Also Published As
Publication number | Publication date |
---|---|
CN107632594B (en) | 2024-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107632594A (en) | A kind of electrical equipment centralized control system and control method based on wireless network | |
CN104881009B (en) | Household electric appliance control method and device | |
CN106871331A (en) | Control method and system of air conditioner | |
CN202216359U (en) | Control terminal of air conditioner | |
CN105785785B (en) | Intelligent device, control method thereof and mobile terminal | |
CN103994544A (en) | Air-conditioner control method, intelligent terminal and air-conditioner control system | |
CN103914038A (en) | Method and system for controlling domestic equipment according to position of user | |
CN203745876U (en) | Intelligent household control device | |
CN105791374A (en) | Smart home vehicle-mounted control system | |
CN103925680A (en) | Method and system for regulating temperature of photovoltaic air conditioner | |
CN208186968U (en) | Intelligent refrigerator, caravan and intelligent refrigerator system applied to caravan | |
CN203274130U (en) | Air conditioner controller | |
CN207965622U (en) | A kind of electric appliance centralized control system based on wireless network | |
CN104914730A (en) | Novel intelligent household operation interface automatic switching control system and method | |
CN204985008U (en) | Fan control system based on thing networking | |
CN205403057U (en) | Intelligence house air conditioning control device based on cc2530 | |
CN107566228A (en) | A kind of intelligent home control system based on navigation | |
CN104238415A (en) | Wi-Fi plug with electric leakage and over-current protection functions and intelligent household appliance control system applying same | |
CN207124640U (en) | Intelligent control system for household appliances | |
CN106656830A (en) | Household energy router and control method thereof | |
CN104214910A (en) | Remotely-controlled air-conditioning system | |
CN205355434U (en) | Integrated temperature and humidity sensor's smart jack | |
CN206041658U (en) | Wireless power supply control device | |
CN206115166U (en) | Automobile -mounted terminal and system of remote control intelligence house | |
CN205919467U (en) | Multi -connected air conditioner's adapter and multi -connected air conditioner's intelligence control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |