Disclosure of Invention
The invention aims to: in order to solve the problem that the current electric energy monitoring system for the elderly living alone can only monitor the electricity consumption of the elderly living alone simply, thereby obtaining the electricity consumption of the elderly living alone, only the electricity consumption of the elderly living alone can be known, an improvement method cannot be provided in a targeted manner, meanwhile, the electricity consumption monitoring can not be carried out on different time periods respectively, the obtained final data can not reflect the electricity consumption in different time periods, the monitoring effect of the whole monitoring system is poor, and the provided electric energy monitoring system for the elderly living alone based on database prediction.
In order to achieve the purpose, the invention adopts the following technical scheme: a solitary old man electric energy monitoring system based on database prediction comprises an infrared sensor, a solitary old man distribution model building module, a solitary old man condition collection module, an electric energy consumption data statistics module, a data processing module and a human-computer interaction module, wherein the output end of the infrared sensor is electrically connected with the input end of the infrared sensing module, the output end of the infrared sensing module is electrically connected with the input end of the solitary old man condition collection module, the output ends of the solitary old man distribution model building module and the solitary old man condition collection module are electrically connected with the input end of the data collection module, the output ends of the electric energy consumption data statistics module, the individual electric appliance data recording module and the data collection module are electrically connected with the input end of a cloud database, and the output end of the cloud database is electrically connected with the input end of the data processing module, the output end of the data processing module is electrically connected with the input end of the data transmission module, the output end of the data transmission module is connected with the input end of the data receiving terminal through a local area network, and the output end of the data receiving terminal is electrically connected with the input end of the human-computer interaction module.
As a further description of the above technical solution:
the power consumption data statistics module comprises a power consumption parameter statistics module, a power consumption statistics module, a timing module and a time period division module, the output end of the power consumption parameter statistics module is electrically connected with the input end of the power consumption statistics module, the output end of the timing module is electrically connected with the input end of the time period division module, the output ends of the time period division module and the power consumption statistics module are electrically connected with the input end of the power consumption division module, and the output end of the power consumption division module is electrically connected with the input end of the power consumption division module in a segmented mode.
As a further description of the above technical solution:
the data processing module comprises a data regression analysis module, an intelligent learning module, an electric trend graph drawing module and an electric charge metering module, the output ends of the data regression analysis module and the intelligent learning module are electrically connected with the input end of the electric trend graph drawing module, the output end of the electric trend graph drawing module is electrically connected with the input end of the electric charge metering module, the output end of the electric charge metering module is electrically connected with the input end of the electric charge legend drawing module, and the output end of the electric charge legend drawing module is electrically connected with the input end of the electricity utilization suggestion generation module.
As a further description of the above technical solution:
the man-machine interaction module comprises an instruction transmitting module, a controller and a data returning module, wherein the output end of the instruction transmitting module is electrically connected with the input end of the controller, the output end of the controller is electrically connected with the input end of the data returning module, and the output end of the data returning module is connected with the electricity metering meter through a Zigbee communication network.
As a further description of the above technical solution:
the data receiving terminal is one or more of a computer, a mobile phone or a notebook computer.
As a further description of the above technical solution:
the data regression analysis module is processed by an SPSSAU algorithm.
As a further description of the above technical solution:
the controller is a programmed logic controller.
As a further description of the above technical solution:
and the interface of the controller is an RS232 interface.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
1. according to the invention, the timing module and the time period division module are arranged in the electricity consumption data statistics module, so that the segmented electric energy monitoring can be carried out in different time periods throughout the day, for example, the electricity consumption peak time periods from 5 to 10 points, from 10 to 16 points and from 16 to 22 points, the obtained electricity consumption data is more representative, and the electricity consumption data and the electricity consumption habits can be conveniently analyzed subsequently.
2. According to the invention, the data processing module is arranged in the intelligent household appliance, the collected electric energy data can be effectively analyzed, so that the electric trend graph can be quickly drawn, the electric distribution in different time periods can be effectively and visually shown, the electric charge can be measured, the legend drawing can be carried out on the electric charge, the electric advice generation can be carried out according to different electric habits, a good electric habit can be formulated for the elderly living alone, the electric energy waste can be avoided, and a good plan can be obtained for the use of the electric energy.
3. According to the invention, the man-machine interaction module is arranged in the power consumption management system, the power consumption data can be input into the receiving terminal after being processed, the receiving terminal can output the instruction, the man-machine interaction module can receive the instruction and transmit the data back to the power consumption meter, the solitary old people can receive the transmitted information, the power consumption and the power consumption habits can be effectively known, the interaction method is effective and interactive, and the interaction method is most direct and convenient for the solitary old people to know the data.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-4, the present invention provides a technical solution: a solitary old man electric energy monitoring system based on database prediction comprises an infrared sensor, a solitary old man distribution model building module, a solitary old man condition collection module, an electric energy consumption data statistics module 1, a data processing module 2 and a human-computer interaction module 3, wherein the output end of the infrared sensor is electrically connected with the input end of the infrared sensing module, the output end of the infrared sensing module is electrically connected with the input end of the solitary old man condition collection module, the output ends of the solitary old man distribution model building module and the solitary old man condition collection module are electrically connected with the input end of the data collection module, the output ends of the electric energy consumption data statistics module 1, the solitary electric appliance electric energy consumption data recording module and the data collection module are electrically connected with the input end of a cloud database, and the output end of the cloud database is electrically connected with the input end of the data processing module 2, the output end of the data processing module 2 is electrically connected with the input end of the data transmission module, the output end of the data transmission module is connected with the input end of the data receiving terminal through a local area network, the output end of the data receiving terminal is electrically connected with the input end of the human-computer interaction module 3, the data receiving terminal is one or more of a computer, a mobile phone or a notebook computer, the case collection module of the elderly living alone mainly monitors the movement track information of the elderly living alone, and mainly monitors positions of key positions (such as bedside, kitchen, sofa, crossing way and entrance door) in a room, and the monitoring can be realized through an infrared sensor;
the electricity consumption data statistics module 1 comprises an electricity consumption parameter statistics module 11, an electricity consumption statistics module, a timing module 12 and a time period division module, wherein the output end of the electricity consumption parameter statistics module 11 is electrically connected with the input end of the electricity consumption statistics module, the output end of the timing module 12 is electrically connected with the input end of the time period division module, the output ends of the time period division module and the electricity consumption statistics module are electrically connected with the input end of the electricity consumption division module, the output end of the electricity consumption division module is electrically connected with the input end of the electricity consumption division and summation module, the electricity consumption data statistics module 1 is arranged, segmented electric energy monitoring can be carried out on different time periods in the whole day, for example, electricity consumption peak time periods from 5-10 points, 10 points to 16 points and 16 points to 22 points are monitored, and the obtained electricity consumption data are more representative, the subsequent analysis of the electricity utilization data and the electricity utilization habits is facilitated;
the data processing module 2 comprises a data regression analysis module 21, an intelligent learning module 22, an electric trend graph drawing module and an electric charge metering module, the data regression analysis module 21 processes through an SPSSAU algorithm, the output ends of the data regression analysis module 21 and the intelligent learning module 22 are both electrically connected with the input end of the electric trend graph drawing module, the output end of the electric trend graph drawing module is electrically connected with the input end of the electric charge metering module, the output end of the electric charge metering module is electrically connected with the input end of the electric charge legend drawing module, the output end of the electric charge legend drawing module is electrically connected with the input end of the electricity utilization suggestion generating module, and the collected electric energy data can be effectively analyzed through the data processing module 2, so that the electric trend graph can be quickly drawn, and electricity distribution in different time periods can be effectively and visually represented, meanwhile, the electricity charge can be measured, the legend drawing can be carried out on the electricity charge, electricity utilization suggestions can be generated according to different electricity utilization habits, a good electricity utilization habit can be formulated for the solitary old people, the waste of electric energy is avoided, and a good plan is obtained for the use of the electric energy;
the man-machine interaction module 3 comprises an instruction transmitting module 31, a controller 32 and a data returning module 33, the controller 32 is a programming logic controller, an interface of the controller 32 is an RS232 interface, an output end of the instruction transmitting module 31 is electrically connected with an input end of the controller 32, an output end of the controller 32 is electrically connected with an input end of the data returning module 33, an output end of the data returning module 33 is connected with a meter through a Zigbee communication network, the man-machine interaction module 3 is arranged, electricity utilization data can be processed and then input into a receiving terminal, the receiving terminal can output an instruction, the man-machine interaction module 3 can receive the instruction and return the data into the meter, and the elderly living alone can receive returned information, effectively know electricity utilization quantity and electricity utilization habits, have effective interactivity, and for the elderly living alone, the interaction method is most direct and convenient, and is convenient for the elderly living alone to know data.
The infrared sensing module also comprises a track detection module, the track detection module comprises an infrared detection circuit and a going-out control circuit, an infrared sensor with the model similar to LHI878 is adopted in the infrared detection circuit as an infrared sensor U1 to detect the traveling trace signal of the solitary old man in the house, a plurality of infrared sensors U1 are arranged at the positions of a living room, a bedroom, a kitchen and the like in the house of the solitary old man, when the solitary old man moves indoors, an impedance matcher is formed by the operational amplifier U2B, the resistor R1, the resistor R2 and the resistor R3 to realize the lossless transmission of the detected traveling trace signal to the infrared sensing module, the traveling trace signal is transmitted to the infrared sensing module to the maximum extent, in order to avoid the influence of electromagnetic interference existing in the air in the process of detecting the traveling trace signal by the infrared sensor U1, a resonant circuit formed by the variable capacitor C1, the capacitor C2 and the inductor L1 is used for selecting the traveling trace signal, in order to filter the influence of electromagnetic interference existing in air on the trace signal, in order to avoid the condition that the infrared sensing module receives the trace signal with different amplitudes and is not beneficial to the receiving and processing of the infrared sensing module, the trace signal is subjected to voltage stabilization processing by utilizing a field effect tube Q1 and a voltage stabilizing tube D1, when the amplitude of the trace signal is detected to be higher than the voltage stabilization value of the voltage stabilizing tube D1, the field effect tube Q1 is used as an adjusting tube to stabilize the amplitude of the trace signal within the amplitude of the voltage stabilizing tube D1 so that the infrared sensing module receives the trace signal, when the solitary old man leaves the door, a pressure sensor with the model similar to PX409-485 is placed at the door opening and used as a pressure sensor U3 to detect the pressure signal when the solitary old man leaves the door and stands at the door opening, the pressure signal is transmitted to an RC frequency selection network consisting of a resistor R7, a capacitor C3, a resistor R8 and a capacitor C4 by utilizing a diode D2 to select, in order to avoid the influence of electromagnetic interference existing in the air in the process of detecting a pressure signal and obtain a proper pressure signal, in order to avoid that the pressure sensor U3 mistakenly takes a signal of standing the solitary old man on the door as a signal of going out of the solitary old man, a microphone M1 is used for detecting a sound signal of a door lock, and the pressure signal and the sound signal are sent to two pins of an AND gate U4A for AND operation, the solitary old man can be judged to go out of the door only when the pressure signal and the sound signal are detected at the same time, the AND gate U4A outputs a high-level signal, the high-level signal conducts a triode Q2 through an adjustable resistor R11, a coil of a relay K1 is electrified after the triode Q2 is conducted, a switch S1 in an infrared detection circuit is a pin of a relay K1, when the relay K1 is electrified, a switch S1 is changed into a normally closed state, a power supply source in the infrared detection circuit cannot continuously supply power for an infrared sensor U1, that is, the infrared detection circuit stops working when the solitary old man leaves the door, and the high level signal output by the and gate U4A supplies power to the capacitor C5, when the capacitor C5 is fully charged and the adjustable resistor R11 is used as a delay circuit of the triode Q2, the position of the adjustable end of the adjustable resistor R11 is changed, that is, the discharging speed of the capacitor C5 is changed, so as to prolong the stop time of the infrared detection circuit, and when the pressure sensor detects the pressure signal for the second time, the microphone M1 also detects the sound signal at the same time, which indicates that the solitary old man has left the door to return, because the solitary old man needs to take a key to open the door when opening the door, the consumed time is longer than that when leaving the door, the high level signal output by the and gate U4A can conduct the capacitor C6 when the and gate enters the and gate, the and gate U4A cannot conduct the capacitor C6 when leaving the door, the capacitor C6 conducts the relay K2, the coil of the relay K2 is electrically disconnected from, the positive power supply VCC can not supply power to the relay K1, the relay K1 stops working, the delay circuit consisting of the capacitor C5 and the adjustable resistor R11 also stops working, the positive power supply VCC in the infrared detection circuit continuously supplies power to the infrared sensor U1, and the infrared detection circuit continuously detects the indoor track of the solitary old.
The infrared detection circuit comprises an infrared sensor U1, a VCC pin of the infrared sensor U1 is connected with one end of a switch S1, the other end of a switch S1 is connected with one end of a resistor R5 and is connected with a positive polarity power supply VCC, an out pin of the infrared sensor U1 is connected with one end of a resistor R1, the other end of a resistor R1 is respectively connected with an inverting terminal of an operational amplifier U2B and one end of a resistor R3, a non-inverting terminal of the operational amplifier U2B is connected with one end of a resistor R2, an output end of the operational amplifier U2B is respectively connected with the other end of a resistor R3, one end of a variable capacitor C1, one end of an inductor L1 and one end of a resistor R4, the other end of the variable capacitor C1 is connected with one end of a capacitor C2, the other end of a resistor R4 is respectively connected with a cathode of a voltage regulator D1 and a gate of a field effect transistor Q1, a drain of the field effect transistor Q1 is connected with the other end of, An infrared sensing module; the exit control circuit comprises a pressure sensor U3, a gnd pin of the pressure sensor U3 is respectively connected with one end of a resistor R8, one end of a capacitor C4, an emitter of a triode Q2 and a gnd pin of an infrared sensor U1 in an infrared detection circuit, the other end of a resistor R2, one end of a capacitor C2, the other end of an inductor L1, the other end of a resistor R6 and the anode of a voltage regulator tube D1 are grounded, an out pin of the pressure sensor U3 is connected with the anode of a diode D2, the cathode of a diode D2 is connected with one end of a resistor R7, the other end of a resistor R7 is connected with one end of a capacitor C3, the other end of a capacitor C3 is respectively connected with the other end of a resistor R8, the other end of a capacitor C8 and a 7 pin of an AND gate U4 8, a 5 pin of the AND gate U4 8 is respectively connected with one end of a resistor R8, one end of a microphone and one end of a microphone M8, one end of a 4-pin of the relay K2 is connected with a positive polarity power supply VCC, the other end of the microphone M1 is respectively connected with the other end of a resistor R10, one end of a capacitor C5 and a 2-pin of the relay K2 and grounded, the output end of the and gate U4A is respectively connected with the left end of an adjustable resistor R11, one end of a capacitor C6 and the other end of a capacitor C5, the other end of the capacitor C6 is connected with a 1-pin of the relay K1, the right end of the adjustable resistor R12 is respectively connected with the adjustable end of the adjustable resistor R12 and the base of a triode Q3, the collector of the triode Q3 is respectively connected with one end of the relay K1 and the anode of a diode D3, the other end of the relay K1 is respectively connected with the cathode of the diode D3 and one end of a 3-pin of the relay K2, and the other.
The working principle is as follows: the electricity consumption data statistical module 1 is internally provided with a timing module and a time period division module, can monitor the electricity consumption in different time periods in a whole day in sections, for example, the electricity consumption peak time periods from 5 to 10 points, from 10 points to 16 points and from 16 points to 22 points, so that the obtained electricity consumption data is more representative, the electricity consumption data and the electricity consumption habits can be conveniently analyzed subsequently, the recorded electricity consumption data is input into a cloud database for effective storage, at the moment, the data processing module 2 can process the data and effectively analyze the collected electricity consumption data, an electricity trend graph is rapidly drawn, the electricity consumption distribution in different time periods can be effectively and visually shown, the electricity charges can be measured, the electricity charges can be drawn in a legend manner, and electricity consumption suggestions can be generated according to different electricity consumption habits, can make a good power consumption custom for the solitary old man, avoid the electric energy extravagant, and obtain a good planning to the use of electric energy, will handle in good data transmission to data receiving terminal again, receiving terminal exportable instruction, man-machine interaction module can receive and with data passback to the power consumption meter in to the instruction, the information of passback can be received to the solitary old man, effectively learn power consumption and power consumption custom, effective interactivity has, and to the solitary old man, this interaction method is most direct, it is most convenient, the solitary old man of being convenient for knows data.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.