Intelligent household intelligent control system based on big data
Technical Field
The invention relates to the field of big data, in particular to an intelligent household intelligent control system based on big data.
Background
The smart home is always a focus on the topic of smart home at home and abroad, various large and small smart home products in the market at present flood the sight of people, whether small smart home hardware products or integral smart home systems break the earth like bamboo shoots in the spring after rain, and the smart home products are not only large-scale manufacturers such as Grignard, American and Huifu manufacturers but also mobile terminal manufacturers and cross-border intervention of other types of enterprises such as network service providers, and enterprises such as millet, Google, Jingdong and apple also begin to be put into the design and development of smart home products, so that the fire explosion of the smart home market can be seen. But the research and design of the smart home is not in an ideal state. Even so, all big enterprises, college merchants, researchers and designers still pay attention to the future of smart homes. With the improvement of living standard of people, the concept of 'home' and the environment of home are pursued higher, so that the market prospect of smart home is huge, and the intellectualization of home products is an inevitable trend of the development of home products.
With the arrival of the big data era, China pays great attention to the development of big data, and in recent years, the nation has also come out a great deal of relevant policies to encourage and promote the development of big data. The big data are rapidly developed in these years, meanwhile, the upgrading of other industries is continuously influenced, and under the promotion of the big data development, various industries also present strong innovation development trends in respective fields. Under such premises, smart homes are undoubtedly the focus of attention. The appearance of big data not only changes our working modes, but also has huge revolution in life style. The big data research is combined with the smart home to construct a new smart ecosystem, the smart home is organically combined with big data application, and all components in the smart home big system, such as a lighting system, a video voice interaction system, an air circulation system or a safety protection system, are scientifically integrated to form the big data of the home network, so that the big data of the home network is more intelligent.
At present, along with continuous deep innovation and development of China, scientific and technological career is rapidly developed, and the living standard of people is continuously improved. The use and management of the electrical equipment become more and more troublesome, especially different remote controllers of different manufacturers bring much trouble to the collection and use of people, how to use the electrical equipment efficiently and simply, solve the trouble brought by the dispersed control of different functions at present, integrate and combine the electrical equipment into an organic whole, and carry out unified management and monitoring on the electrical equipment, so that the remote controller is a requirement for people to expect and pursue the intended home life all the time and also is a requirement for future development of Internet of things home furnishing.
In the prior art, the level of data application in the smart home system is not high, which results in low precision in the smart control, and therefore, an urgent need exists for a smart home system that effectively analyzes and processes data collected by a sensor, so as to improve the precision of the smart control.
Disclosure of Invention
Therefore, in order to overcome the problems, the invention provides a smart household intelligent control system based on big data, which comprises a smart electrical appliance module, a power supply module, a main control chip, a monitoring module, a cloud platform, a PC terminal, a mobile terminal and a Web terminal, wherein the smart electrical appliance module comprises a smart curtain, a smart air conditioner, a smart lamp, a smart water heater and a smart electric cooker, the power supply module comprises a 220V alternating current power supply, an electric energy conversion unit and an energy storage battery, the monitoring module comprises a smoke sensor, an illumination sensor, a temperature sensor, a humidity sensor and an image sensor, the smoke sensor, the illumination sensor, the temperature sensor, the humidity sensor and the image sensor, and various data are stored in a classified manner and processed separately through a memory in the cloud platform, so that the safety and the precision of the data are greatly improved.
The intelligent household intelligent control system based on big data comprises an intelligent electrical appliance module, a power supply module, a main control chip, a monitoring module, a cloud platform, a PC (personal computer) terminal, a mobile terminal and a Web terminal; the intelligent electrical appliance module, the power supply module and the monitoring module are all in bidirectional connection with the main control chip.
Wherein, intelligent electrical apparatus module includes that intelligence curtain, intelligent air conditioner, intelligent lamps and lanterns, intelligent water heater and the electric rice cooker of intelligence all with main control chip two-way connection.
The power supply module comprises a 220V alternating current power supply, an electric energy conversion unit and an energy storage battery, wherein the output end of the 220V alternating current power supply is connected with the input end of the electric energy conversion unit, the output end of the 220V alternating current power supply is also connected with the input end of the energy storage battery, and the output end of the electric energy conversion unit and the power transmission end of the energy storage battery are both connected with the power supply end of the main control chip.
Wherein, monitoring module includes smoke transducer, light sensor, a weighing sensor and a temperature sensor, humidity transducer and image sensor, smoke transducer, light sensor, a weighing sensor and a temperature sensor, humidity transducer and image sensor all with main control chip both way junction, smoke transducer, light sensor, a weighing sensor and a temperature sensor, humidity transducer and image sensor all set up indoors, smoke transducer is used for gathering indoor smog concentration signal, light sensor is used for gathering indoor illumination intensity signal, temperature sensor is used for gathering indoor temperature signal, humidity transducer is used for gathering indoor humidity signal, image sensor is used for gathering indoor image information.
The user accesses the cloud platform through the PC end, the mobile terminal or the Web end, and the cloud platform is connected with the main control chip.
Furthermore, the electric energy conversion unit converts the received 220V alternating voltage provided by the 220V alternating current power supply into the working voltage of the main control chip, meanwhile, the 220V alternating current power supply charges the energy storage battery, when the 220V alternating current power supply normally supplies power, the electric energy conversion unit supplies power to the main control chip, when the 220V alternating current power supply fails to supply power, the electric energy conversion unit is disconnected from the main control chip, and the energy storage battery supplies power to the main control chip.
Furthermore, the power supply module also comprises a voltage sensor, the electric energy conversion unit is connected with the main control chip through a first relay, and the energy storage battery is connected with the main control chip through a second relay;
the voltage sensor monitors a voltage value of the 220V alternating-current power supply, if the voltage sensor transmits the collected voltage value to the main control chip, a reference voltage range is stored in the main control chip, if the voltage value received by the main control chip is not in the reference voltage range, the main control chip controls the first relay to be disconnected and the second relay to be connected, and if the voltage value received by the main control chip is in the reference voltage range, the main control chip controls the first relay to be connected and the second relay to be disconnected.
Furthermore, the smoke sensor transmits the collected smoke concentration signal to the main control chip, the illumination sensor transmits the collected illumination intensity signal to the main control chip, the temperature sensor transmits the collected temperature signal to the main control chip, the humidity sensor transmits the collected humidity signal to the main control chip, and the image sensor transmits the collected image information to the main control chip; the main control chip controls the intelligent electrical appliance module according to the received smoke concentration signal, the received illumination intensity signal, the received temperature signal, the received humidity signal and the received image information.
Furthermore, the smoke concentration signal collected by the smoke sensor at the moment i is D (i), the main control chip stores the received smoke concentration signal to a first memory of the cloud platform, and the memory performs difference processing on the received smoke concentration signal at the current moment and the smoke concentration signal at the previous moment: d (i) -D (i-1), storing the absolute value of the difference in a first memory, storing a smoke concentration reference value in the first memory, and if the absolute value of D (i) -D (i-1) is greater than the smoke concentration reference value, sending a smoke alarm signal to the mobile terminal through the cloud platform by the main control chip.
Furthermore, the main control chip stores the received illumination intensity signal in a second memory of the cloud platform, the second memory stores an illumination intensity reference value range, if the illumination intensity signal received by the second memory is smaller than or equal to a lower limit value of the illumination intensity reference value range, the main control chip controls the intelligent curtain to be opened, and if the illumination intensity signal received by the second memory is larger than or equal to an upper limit value of the illumination intensity reference value range, the main control chip controls the intelligent curtain to be closed.
Furthermore, the main control chip stores the received temperature signal in a third memory of the cloud platform, and the signal collected by the temperature sensor at the time t is f (t), wherein,
n (T) is a noise signal, S (T) is a useful signal, the temperature sensor samples once every T seconds, wherein the k sampling value is as follows:
after m times of sampling, there are,
,
the effective value is further used for solving the output signal-to-noise ratio (S/N) of the temperature sensor
outThen, there is,
wherein (S/N)
inThe signal-to-noise ratio is input for the temperature sensor, the signal-to-noise ratio of a signal f (t) acquired by the temperature sensor is improved after multiple accumulation, and the value range of m is [50,100 ]]The third memory compares the processed temperature sensor signal with a temperature reference value range stored in the third memory, if the temperature signal received by the third memory is smaller than or equal to the lower limit value of the temperature reference value range, the main control chip controls the intelligent air conditioner to perform heating operation, and if the temperature signal received by the third memory is larger than or equal to the lower limit value of the temperature reference value range, the main control chip controls the intelligent air conditioner to perform cooling operation.
Furthermore, the main control chip stores the received humidity signal in a fourth memory of the cloud platform, a humidity reference value range is stored in the fourth memory, if the humidity signal received by the fourth memory is smaller than or equal to a lower limit value of the humidity reference value range, the main control chip controls the intelligent air conditioner to perform humidification operation, and if the humidity signal received by the fourth memory is larger than or equal to an upper limit value of the humidity reference value range, the main control chip controls the intelligent air conditioner to perform dehumidification operation.
Furthermore, the main control chip stores the received image information in a fifth memory of the cloud platform, the fifth memory performs denoising processing on the received image information, the image information acquired by the image sensor is f (x, y), the image information after denoising processing is g (x, y), if so,
(ii) a And w is a denoising adjustment coefficient, and the fifth memory transmits the image g (x, y) to the PC end, the mobile terminal and the Web end.
Compared with the prior art, the invention has the following beneficial effects:
(1) the invention provides a big data-based intelligent control system for smart home, which comprises an intelligent electrical appliance module, a power supply module, a main control chip, a monitoring module, a cloud platform, a PC (personal computer) terminal, a mobile terminal and a Web (Web) terminal, wherein the intelligent electrical appliance module comprises an intelligent curtain, an intelligent air conditioner, an intelligent lamp, an intelligent water heater and an intelligent electric cooker, the power supply module comprises a 220V alternating current power supply, an electric energy conversion unit and an energy storage battery, the monitoring module comprises a smoke sensor, an illumination sensor, a temperature sensor, a humidity sensor and an image sensor, the smoke sensor, the illumination sensor, the temperature sensor, the humidity sensor and the image sensor, and various data are stored and processed separately through a memory in the cloud platform, so that the safety and the precision of the data are greatly improved.
(2) The invention also discloses that the accuracy of the temperature sensor for collecting signals is greatly improved by adopting a multipoint accumulation method, and the control accuracy of only an air conditioner is greatly improved.
Drawings
FIG. 1 is a schematic diagram of a big data-based intelligent home control system according to the present invention;
fig. 2 is a schematic view of the working process of the smart home intelligent control system based on big data according to the present invention.
Detailed Description
The intelligent household intelligent control system based on big data of the invention is described in detail with reference to the accompanying drawings and embodiments.
As shown in fig. 1, the smart home intelligent control system based on big data provided by the invention comprises an intelligent electrical appliance module, a power supply module, a main control chip, a monitoring module, a cloud platform, a PC terminal, a mobile terminal and a Web terminal; the intelligent electrical appliance module, the power supply module and the monitoring module are all in bidirectional connection with the main control chip.
Wherein, intelligent electrical apparatus module includes that intelligence curtain, intelligent air conditioner, intelligent lamps and lanterns, intelligent water heater and the electric rice cooker of intelligence all with main control chip two-way connection.
The power supply module comprises a 220V alternating current power supply, an electric energy conversion unit and an energy storage battery, wherein the output end of the 220V alternating current power supply is connected with the input end of the electric energy conversion unit, the output end of the 220V alternating current power supply is also connected with the input end of the energy storage battery, and the output end of the electric energy conversion unit and the power transmission end of the energy storage battery are both connected with the power supply end of the main control chip.
Wherein, monitoring module includes smoke transducer, light sensor, a weighing sensor and a temperature sensor, humidity transducer and image sensor, smoke transducer, light sensor, a weighing sensor and a temperature sensor, humidity transducer and image sensor all with main control chip both way junction, smoke transducer, light sensor, a weighing sensor and a temperature sensor, humidity transducer and image sensor all set up indoors, smoke transducer is used for gathering indoor smog concentration signal, light sensor is used for gathering indoor illumination intensity signal, temperature sensor is used for gathering indoor temperature signal, humidity transducer is used for gathering indoor humidity signal, image sensor is used for gathering indoor image information.
The user accesses the cloud platform through the PC end, the mobile terminal or the Web end, and the cloud platform is connected with the main control chip.
In the above embodiment, the invention provides a smart household intelligent control system based on big data, which comprises a smart appliance module, a power supply module, a main control chip, a monitoring module, a cloud platform, a PC terminal, a mobile terminal and a Web terminal, wherein the smart appliance module comprises a smart curtain, a smart air conditioner, a smart lamp, a smart water heater and a smart electric cooker, the power supply module comprises a 220V alternating current power supply, an electric energy conversion unit and an energy storage battery, the monitoring module comprises a smoke sensor, an illumination sensor, a temperature sensor, a humidity sensor and an image sensor, the smoke sensor, the illumination sensor, the temperature sensor, the humidity sensor and the image sensor, and various data are stored and processed separately through a memory in the cloud platform, so that the safety and the precision of the data are greatly improved.
A schematic diagram of a big data based intelligent home control system is shown in FIG. 1. The user sends a home instruction, a leaving instruction, a sleeping instruction or a getting-up instruction to the cloud platform through the mobile phone app or the intelligent voice system, the cloud platform receives the instruction and transmits corresponding instruction data stored in the platform to the main control chip MT8516 through the network and the route, and the cloud platform records personal user habits of the user and stores the habits in personal account information of the user. Thereby main control chip receives after the instruction through modes such as WIFI, bluetooth, infrared, zigBee transmission instruction and gives intelligent camera, intelligent electric rice cooker, intelligent water heater, intelligent air conditioner, intelligent (window) curtain, intelligent lock, intelligence robot of sweeping the floor, audible-visual annunciator, intelligent bluetooth speaker and other front end applications carry out intelligent operating instruction control. The monitoring module collects user information and information in a room and transmits the user information and the information to the main control chip MT8516, the host automatically transfers the information to the big data cloud platform through a route and a network, the cloud platform stores calculation judgment in a centralized mode, reasonable feedback is made to a user side, and meanwhile an instruction is sent to the main control chip to perform intelligent feedback control.
MT8516 supports a four-core 64-bit ARM Cortex-A35, and the main frequency reaches 1.3GHz.MT8516 built-in WIFI802.11 b/g/n and Bluetooth 4.0. The main control chip MT8516 is connected with various intelligent electrical appliances and intelligent equipment applied to the front end through WIFI, Bluetooth, infrared, ZigBee and buses to achieve intelligent home.
The WIFI module is KB3071, and the KB3071 ultra-low power consumption embedded WIFI module provides a mode for connecting physical equipment of a user to a WIFI wireless network.
The sensing layer is composed of a plurality of ZigBee nodes and sensors. The coordinator sends the received data to the communication gateway through the serial port, and the communication gateway sends the data to the cloud platform. And after networking is carried out on the ZigBee sensor nodes according to a ZigBee network protocol, the ZigBee sensor nodes send sensor data to the coordinator, and the data are coordinated according to a communication protocol of the cloud platform and transmitted to the cloud platform. Data are interacted by adopting TCP communication and a cloud platform, the cloud platform analyzes the communication data and issues commands through a Lua script, and the nodes send the data to a communication gateway through a serial port.
Preferably, the electric energy conversion unit converts the received 220V alternating voltage provided by the 220V alternating current power supply into the working voltage of the main control chip, and meanwhile, the 220V alternating current power supply charges the energy storage battery, when the 220V alternating current power supply normally supplies power, the electric energy conversion unit supplies power to the main control chip, when the 220V alternating current power supply fails to supply power, the electric energy conversion unit disconnects the connection with the main control chip, and the energy storage battery supplies power to the main control chip.
Preferably, the power supply module further comprises a voltage sensor, the electric energy conversion unit is connected with the main control chip through a first relay, and the energy storage battery is connected with the main control chip through a second relay;
the voltage sensor monitors a voltage value of the 220V alternating-current power supply, if the voltage sensor transmits the collected voltage value to the main control chip, a reference voltage range is stored in the main control chip, if the voltage value received by the main control chip is not in the reference voltage range, the main control chip controls the first relay to be disconnected and the second relay to be connected, and if the voltage value received by the main control chip is in the reference voltage range, the main control chip controls the first relay to be connected and the second relay to be disconnected.
Preferably, the smoke sensor transmits the collected smoke concentration signal to the main control chip, the illumination sensor transmits the collected illumination intensity signal to the main control chip, the temperature sensor transmits the collected temperature signal to the main control chip, the humidity sensor transmits the collected humidity signal to the main control chip, and the image sensor transmits the collected image information to the main control chip; the main control chip controls the intelligent electrical appliance module according to the received smoke concentration signal, the received illumination intensity signal, the received temperature signal, the received humidity signal and the received image information.
Preferably, the smoke concentration signal collected by the smoke sensor at the time i is D (i), the main control chip stores the received smoke concentration signal in a first memory of the cloud platform, and the memory performs difference processing on the received smoke concentration signal at the current time and the smoke concentration signal at the previous time: d (i) -D (i-1), storing the absolute value of the difference in a first memory, storing a smoke concentration reference value in the first memory, and if the absolute value of D (i) -D (i-1) is greater than the smoke concentration reference value, sending a smoke alarm signal to the mobile terminal through the cloud platform by the main control chip.
Preferably, the main control chip stores the received illumination intensity signal in a second memory of the cloud platform, the second memory stores an illumination intensity reference value range, if the illumination intensity signal received by the second memory is smaller than or equal to a lower limit value of the illumination intensity reference value range, the main control chip controls the intelligent curtain to be opened, and if the illumination intensity signal received by the second memory is larger than or equal to an upper limit value of the illumination intensity reference value range, the main control chip controls the intelligent curtain to be closed.
Preferably, the main control chip stores the received temperature signal in a third memory of the cloud platform, and the signal collected by the temperature sensor at time t is f (t), wherein,
n (T) is a noise signal, S (T) is a useful signal, the temperature sensor samples once every T seconds, wherein the k sampling value is as follows:
after m times of sampling, there are,
,
the effective value is further used for solving the output signal-to-noise ratio (S/N) of the temperature sensor
outThen, there is,
wherein (S/N)
inThe signal-to-noise ratio is input for the temperature sensor, the signal-to-noise ratio of a signal f (t) acquired by the temperature sensor is improved after multiple accumulation, and the value range of m is [50,100 ]]The third memory compares the processed temperature sensor signal with a temperature reference value range stored in the third memory, if the temperature signal received by the third memory is smaller than or equal to the lower limit value of the temperature reference value range, the main control chip controls the intelligent air conditioner to perform heating operation, and if the temperature signal received by the third memory is larger than or equal to the lower limit value of the temperature reference value range, the main control chip controls the intelligent air conditioner to perform cooling operation.
Preferably, the main control chip stores the received humidity signal in a fourth memory of the cloud platform, a humidity reference value range is stored in the fourth memory, if the humidity signal received by the fourth memory is smaller than or equal to a lower limit value of the humidity reference value range, the main control chip controls the intelligent air conditioner to perform humidification operation, and if the humidity signal received by the fourth memory is larger than or equal to an upper limit value of the humidity reference value range, the main control chip controls the intelligent air conditioner to perform dehumidification operation.
Preferably, the main control chip stores the received image information in a fifth memory of the cloud platform, the fifth memory performs denoising processing on the received image information, the image information acquired by the image sensor is f (x, y), the image information after denoising processing is g (x, y), if any,
(ii) a And w is a denoising adjustment coefficient, and the fifth memory transmits the image g (x, y) to the PC end, the mobile terminal and the Web end.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.