CN108332361B - Human activity amount acquisition method, electronic device, and computer-readable storage medium - Google Patents

Human activity amount acquisition method, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN108332361B
CN108332361B CN201810143685.3A CN201810143685A CN108332361B CN 108332361 B CN108332361 B CN 108332361B CN 201810143685 A CN201810143685 A CN 201810143685A CN 108332361 B CN108332361 B CN 108332361B
Authority
CN
China
Prior art keywords
human body
activity
air conditioner
human
amplitude
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.)
Active
Application number
CN201810143685.3A
Other languages
Chinese (zh)
Other versions
CN108332361A (en
Inventor
段晓华
郑伟锐
陈志斌
梁文潮
张天宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201810143685.3A priority Critical patent/CN108332361B/en
Publication of CN108332361A publication Critical patent/CN108332361A/en
Application granted granted Critical
Publication of CN108332361B publication Critical patent/CN108332361B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2120/00Control inputs relating to users or occupants
    • F24F2120/10Occupancy
    • F24F2120/14Activity of occupants

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a method for acquiring human activity, which comprises the following steps: starting a sensor to detect the indoor temperature distribution thermal image and the human body action amplitude; calculating the distance between the human body and the sensor according to the indoor temperature distribution thermal image, acquiring an output signal of the human body action amplitude output by the sensor, and determining the amplitude change and the frequency of the output signal; and calculating the activity of the human body according to the distance and the amplitude change and the frequency of the output signal. The invention also discloses an electronic device and a computer readable storage medium. The invention puts the distance between the human body and the sensor into the calculation parameters of the human body activity, and the like, and comprehensively calculates the human body activity according to the human body movement amplitude and frequency output by the infrared sensor and the distance between the human body and the infrared sensor, thereby improving the accuracy of the human body activity detection.

Description

Human activity amount acquisition method, electronic device, and computer-readable storage medium
Technical Field
The present invention relates to the field of home appliance technologies, and in particular, to a method for acquiring human activity, an electronic device, and a computer-readable storage medium.
Background
Currently, the air conditioner can be controlled according to the user's needs, for example, according to the user sending a control instruction through a remote control device, the set temperature, the wind speed and/or the wind guiding angle of the air conditioner are controlled. The operation of the air conditioner can also be automatically controlled according to the acquired user and environmental parameters. For example, an automatic control model is arranged on an air conditioner, the air conditioner is controlled to operate according to the activity of a user, the activity of the user needs to be calculated in the mode, the activity of the user is obtained according to the intensity of infrared ray change output by an infrared sensor at present, the difference between the user and the infrared sensor can be avoided, the same infrared signal can be output due to the fact that the user is far away from the infrared sensor, slow movement and rapid movement in and out can be caused, and the detection result is not accurate enough. At present, when the amplitude change of signals output by an infrared sensor is used for judging the motion amplitude or activity of a human body, large-amplitude motion at a far distance and small-amplitude motion at a near distance are difficult to distinguish.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a human activity acquisition method, an electronic device and a readable storage medium, and aims to solve the problem that the detection result accuracy of the activity is poor because the actual activity of the two actions is different but the amplitude change and the frequency of a signal received by a sensor are consistent when the amplitude or the activity of the human body is judged only by the amplitude change of an output signal of an infrared sensor at present.
In order to achieve the above object, an aspect of the present invention provides a method for acquiring an activity level of a human body, including the steps of:
starting a sensor to detect the indoor temperature distribution thermal image and the human body action amplitude;
calculating the distance between the human body and the sensor according to the indoor temperature distribution thermal image, acquiring an output signal of the human body action amplitude output by the sensor, and determining the amplitude change and the frequency of the output signal;
and calculating the activity of the human body according to the distance and the amplitude change and the frequency of the output signal.
Optionally, the step of calculating the activity level of the human body according to the distance and the amplitude variation and frequency of the output signal comprises:
detecting an infrared change amplitude value of a human body through an infrared sensor, calculating amplitude change of each interval at a first preset time, and calculating a difference value between a maximum change value and a minimum change value;
and acquiring the difference data calculated within a second preset time, and calculating the human body activity according to the calculated average value of all the difference data and the calculated distance.
Optionally, the step of calculating the human activity amount according to the calculated average value of all the difference data in combination with the calculated distance includes:
obtaining an amplitude calculation coefficient and a distance calculation coefficient of the activity calculation;
and calculating the human activity according to the average value, the amplitude calculation coefficient and the distance calculation coefficient of the difference data.
Optionally, the step of calculating the human activity amount according to the average value of the difference data, the amplitude calculation coefficient, and the distance calculation coefficient includes:
and solving the product of the average value of the difference data, the amplitude calculation coefficient and the distance calculation coefficient as the human activity.
Optionally, after the step of calculating the activity level of the human body according to the distance and the amplitude change and the frequency of the output signal, the method further includes:
and controlling the operation of the air conditioner according to the calculated human body activity and the position of the human body.
Optionally, the step of controlling the operation of the air conditioner according to the calculated human body activity amount and the position of the human body includes:
determining a preset activity amount interval in which the calculated human activity amount is located according to the calculated human activity amount and the position of the human body;
and determining corresponding air conditioner adjusting parameters according to the determined preset activity interval, and adjusting the operation of the air conditioner according to the determined air conditioner adjusting parameters.
Optionally, after the step of controlling the operation of the air conditioner according to the calculated human body activity amount and the position where the human body is located, the method further includes:
when the change of the human body activity amount is detected, re-determining a preset activity amount interval in which the calculated human body activity amount is located;
and when the preset activity interval is changed, determining a new air conditioner adjusting parameter according to the changed preset activity interval, and adjusting the operation of the air conditioner according to the new air conditioner adjusting parameter.
Optionally, after the step of controlling the operation of the air conditioner according to the calculated human body activity amount and the position where the human body is located, the method further includes:
receiving an air conditioner operation parameter adjusting instruction, and adjusting the operation of the air conditioner according to the operation parameter adjusting instruction;
generating a correction value of an air conditioner adjusting parameter corresponding to the preset activity interval according to the adjusting amplitude of the operation parameter adjusting instruction;
and correcting the air conditioner adjusting parameters corresponding to the preset activity interval according to the correction value.
In addition, to achieve the above object, another aspect of the present invention provides an electronic device, including: a memory, a processor, and an amount of human activity acquisition program stored on the memory and executable on the processor, the amount of human activity acquisition program when executed by the processor implementing the method of acquiring amount of human activity as described above.
Further, to achieve the above object, another aspect of the present invention also provides a computer-readable storage medium having stored thereon an human activity amount acquisition program which, when executed by a processor, implements the human activity amount acquisition method as described above.
The invention puts the distance between the human body and the sensor into the calculation parameters of the human body activity, and the like, and comprehensively calculates the human body activity according to the human body movement amplitude and frequency output by the infrared sensor and the distance between the human body and the infrared sensor, thereby solving the problem of poor accuracy of the detection result of the activity because the large-amplitude action at a far distance and the small-amplitude action at a near distance are difficult to distinguish when the human body action amplitude or the activity is judged by only the amplitude change of the output signal of the infrared sensor. The accuracy of human activity detection is improved.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for acquiring human activity according to a first embodiment of the present invention;
FIG. 3 is a schematic view of a scan of a thermopile sensor in one embodiment of the present invention;
FIG. 4 is a schematic representation of a human body in a thermal image in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of the position of a human body in a room according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart illustrating a process of calculating the activity level of the human body according to the distance and the amplitude variation and frequency of the output signal according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of the magnitude of human body IR variations in an embodiment of the invention;
FIG. 8 is a diagram illustrating the variation of the amplitude within a predetermined time interval Δ T according to an embodiment of the present invention;
fig. 9 is a flowchart schematically illustrating a method for acquiring an amount of human activity according to a second embodiment of the present invention;
fig. 10 is a flowchart illustrating a method for acquiring an amount of human activity according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: starting a sensor to detect the indoor temperature distribution thermal image and the human body action amplitude; calculating the distance between the human body and the sensor according to the indoor temperature distribution thermal image, acquiring an output signal of the human body action amplitude output by the sensor, and determining the amplitude change and the frequency of the output signal; and calculating the activity of the human body according to the distance and the amplitude change and the frequency of the output signal.
Due to the problems. The invention provides a solution, which puts the distance between the human body and the sensor into the calculation parameters of the human body activity and the like, and comprehensively calculates the human body activity according to the human body movement amplitude and frequency output by the infrared sensor and the distance between the human body and the infrared sensor, thereby solving the problem of poor accuracy of the detection result of the activity caused by that the large-amplitude motion at a distance and the small-amplitude motion at a near distance are difficult to distinguish when the human body motion amplitude or the activity is judged only by the amplitude change of the output signal of the infrared sensor. The accuracy of human activity detection is improved.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention.
The electronic equipment in the embodiment of the invention can be an air conditioner, and can also be control equipment such as a PC, a smart phone, a tablet personal computer, a portable computer, a remote controller and the like connected with the air conditioner. When other equipment is arranged outside the air conditioner, the other equipment acquires the information detected by the detector arranged on the air conditioner to calculate the human activity information, and then the operation of the air conditioner is controlled according to the activity information.
As shown in fig. 1, the electronic device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the electronic device may further include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, WiFi modules, detectors (magnetic ring + hall sensor), and so on. Such as image sensors, infrared sensors, and other sensors. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the motion sensor is stationary, and can be used for applications of recognizing the posture of electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping) and the like; of course, the electronic device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and a temperature sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a human activity acquisition application program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke the human activity acquisition application stored in the memory 1005 and perform the following operations:
starting a sensor to detect the indoor temperature distribution thermal image and the human body action amplitude;
calculating the distance between the human body and the sensor according to the indoor temperature distribution thermal image, acquiring an output signal of the human body action amplitude output by the sensor, and determining the amplitude change and the frequency of the output signal;
and calculating the activity of the human body according to the distance and the amplitude change and the frequency of the output signal.
Further, the processor 1001 may be configured to invoke a human activity acquisition application stored in the memory 1005 and perform the following operations:
detecting an infrared change amplitude value of a human body through an infrared sensor, calculating amplitude change of each interval at a first preset time, and calculating a difference value between a maximum change value and a minimum change value;
and acquiring the difference data calculated within a second preset time, and calculating the human body activity according to the calculated average value of all the difference data and the calculated distance.
Further, the processor 1001 may be configured to invoke a human activity acquisition application stored in the memory 1005 and perform the following operations:
obtaining an amplitude calculation coefficient and a distance calculation coefficient of the activity calculation;
and calculating the human activity according to the average value, the amplitude calculation coefficient and the distance calculation coefficient of the difference data.
Further, the processor 1001 may be configured to invoke a human activity acquisition application stored in the memory 1005 and perform the following operations:
and solving the product of the average value of the difference data, the amplitude calculation coefficient and the distance calculation coefficient as the human activity.
Further, after the step of calculating the activity amount of the human body according to the distance and the amplitude change and the frequency of the output signal, the processor 1001 may be configured to call a human activity acquisition application stored in the memory 1005, and perform the following operations:
and controlling the operation of the air conditioner according to the calculated human body activity and the position of the human body.
Further, the processor 1001 may be configured to invoke a human activity acquisition application stored in the memory 1005 and perform the following operations:
determining a preset activity amount interval in which the calculated human activity amount is located according to the calculated human activity amount and the position of the human body;
and determining corresponding air conditioner adjusting parameters according to the determined preset activity interval, and adjusting the operation of the air conditioner according to the determined air conditioner adjusting parameters.
Further, after the step of controlling the operation of the air conditioner according to the calculated human activity amount and the position where the human body is located, the processor 1001 may be configured to call the human activity obtaining application stored in the memory 1005, and perform the following operations:
when the change of the human body activity amount is detected, re-determining a preset activity amount interval in which the calculated human body activity amount is located;
and when the preset activity interval is changed, determining a new air conditioner adjusting parameter according to the changed preset activity interval, and adjusting the operation of the air conditioner according to the new air conditioner adjusting parameter.
Further, after the step of controlling the operation of the air conditioner according to the calculated human activity amount and the position where the human body is located, the processor 1001 may be configured to call the human activity obtaining application stored in the memory 1005, and perform the following operations:
receiving an air conditioner operation parameter adjusting instruction, and adjusting the operation of the air conditioner according to the operation parameter adjusting instruction;
generating a correction value of an air conditioner adjusting parameter corresponding to the preset activity interval according to the adjusting amplitude of the operation parameter adjusting instruction;
and correcting the air conditioner adjusting parameters corresponding to the preset activity interval according to the correction value.
Referring to fig. 2, an embodiment of the present invention provides a method for acquiring an amount of human activity, including:
step S10, starting a sensor to detect the indoor temperature distribution thermal image and the human body action amplitude;
in this embodiment, the electronic device takes an air conditioner as an example, the air conditioner operates according to an instruction of a user, or automatically starts to operate according to a parameter set in advance, and the operating parameter can be adjusted according to an instruction of an environmental condition or a user requirement in an operating process. Of course, the air conditioner can also automatically control the operation of the air conditioner by setting a detection device to detect environmental parameters and user conditions, and automatically setting the operating temperature, the air guide angle and/or the air speed of the air conditioner.
The human body activity detection device is arranged in the air conditioner and comprises a thermopile infrared array sensor and a pyroelectric infrared sensor, the thermopile infrared array sensor scans the indoor temperature under the driving of a driving mechanism, namely, the indoor temperature of a space acted by the air conditioner is scanned, and an indoor temperature distribution thermal image is formed. The pyroelectric sensor detects the action amplitude of a human body and outputs an amplitude change signal.
Step S20, calculating the distance between the human body and the sensor according to the indoor temperature distribution thermal image, acquiring the output signal of the human body action amplitude output by the sensor, and determining the amplitude change and the frequency of the output signal;
the human body detection algorithm detects the position of a human body according to the human body temperature distribution range, calculates the distance between the human body and the sensor according to the geometric relation, obtains an output signal of the human body action amplitude output by the sensor, and determines the amplitude change and the frequency of the output signal.
The embodiment adopts an 8x1 thermopile infrared array sensor and a pyroelectric sensor, the thermopile sensor is installed on an air conditioner with a viewing angle of 60 degrees and an inclination angle of 45 degrees as shown in fig. 3, and horizontal scanning is carried out by motor driving to obtain indoor distribution thermal images. When it is detected from the thermal image that the area in which the human body is present in the thermal image is a black area as shown in fig. 4, it can be inferred that the position of the human body in the room is as shown in fig. 5, where it is assumed that the human body is standing on the ground. As shown in fig. 5, since the human foot is 5 th from bottom to top, the angle θ is (5-1) × (60/8) +15 is 45 °, and the distance d from the human body to the sensor can be calculated as h × tan θ, and h is generally 2.3 m.
And step S30, calculating the activity of the human body according to the distance and the amplitude change and frequency of the output signal.
After the distance from the human body to the sensor is calculated and the moving amplitude and frequency of the human body are detected, the activity of the human body is calculated according to the distance and the amplitude change and the frequency of the output signal.
Specifically, referring to fig. 6, the step of calculating the activity level of the human body according to the distance and the amplitude variation and frequency of the output signal includes:
step S31, detecting a human body infrared change amplitude value through an infrared sensor, calculating amplitude change of each interval of first preset time, and calculating a difference value between a maximum change value and a minimum change value;
and step S32, acquiring the difference data calculated in the second preset time, and calculating the human activity according to the calculated average value of all the difference data and the calculated distance.
The detection process of the human activity is as follows:
1) the pyroelectric human body induction sensor detects the human body infrared amplitude change a (t) in real time, as shown in fig. 7, the horizontal axis is time, and the vertical axis is output signal amplitude.
2) At every predetermined time interval Δ T (for example, 2 seconds), as shown in fig. 8, the maximum change value of the amplitude within the predetermined time Δ T, that is, the difference Δ a between the maximum value and the minimum value is calculatedtThe difference value Delta AtReflecting the magnitude of the human body motion in the time, the larger the motion magnitude is, the larger the signal amplitude change is caused under the condition of equal distance.
3) Take the first N (e.g., N ═ 6) amplitude differences Δ a at the current timet,ΔAt-1,ΔAt-2,…,ΔAt-N+1As the current action amplitude variation
Figure BDA0001575962050000081
Used for calculating the activity of the human body.
4) And calculating the human body activity E in real time according to the value of the delta A, wherein the E is delta A and d2/A0, A0 is the activity reference value of the human body at a distance of 1m from the sensor, and d is the distance of the user from the sensor.
Of course, the human activity can also be calculated according to the following method: obtaining an amplitude calculation coefficient and a distance calculation coefficient of the activity calculation; and calculating the human activity according to the average value, the amplitude calculation coefficient and the distance calculation coefficient of the difference data. For example, the product of the average value of the difference data, the amplitude calculation coefficient, and the distance calculation coefficient is found as the human activity amount. Specifically, the human activity E is calculated in real time according to the value of Δ a, where a is an amplitude coefficient, that is, a relation coefficient between an amplitude change value output by the infrared sensor and the human activity at the same distance; b is a distance coefficient, i.e., the same operation width, and the coefficient of the relationship between the change in the amplitude of the output signal of the infrared sensor and the activity amount at different distances is generally positively correlated with the square of the distance (b ═ c × d 2). a and c are constants which can be measured according to relevant specific experiments.
In the embodiment, the distance between the human body and the sensor is put into the calculation parameters of the human body activity, and the human body activity is obtained through comprehensive calculation according to the human body movement amplitude and frequency output by the infrared sensor and the distance between the human body and the infrared sensor, so that the problem that the accuracy of the detection result of the activity is poor because large-amplitude actions at a distance and small-amplitude actions at a near distance are difficult to distinguish when the human body action amplitude or the activity is judged only by the amplitude change of the output signal of the infrared sensor is solved. The accuracy of human activity detection is improved.
Referring to fig. 9, in a preferred embodiment of the present invention, after the step of calculating the activity level of the human body according to the distance and the amplitude variation and the frequency of the output signal, the method further includes:
and step S40, controlling the operation of the air conditioner according to the calculated human activity and the position of the human body.
Different human activity amounts correspond to different air conditioner control parameters, and under the condition of the same activity amount, different distances and different control parameters are different, and the operation of the air conditioner is controlled according to the calculated human activity amount and the position of the human body. The air conditioner is controlled by combining the human body activity and the position of the human body, so that the air conditioner is more accurately controlled, and the comfort level of the air conditioner is improved.
Further, the step of controlling the operation of the air conditioner according to the calculated human activity amount and the position of the human body includes: determining a preset activity amount interval in which the calculated human activity amount is located according to the calculated human activity amount and the position of the human body; and determining corresponding air conditioner adjusting parameters according to the determined preset activity interval, and adjusting the operation of the air conditioner according to the determined air conditioner adjusting parameters.
Specifically, when the activity E is more than or equal to 2, on the basis of the current set temperature, the set temperature is reduced by 1 ℃, and the wind speed is increased by 20%;
when the activity amount is more than or equal to 1.5 and E is less than 2, on the basis of the current set temperature, the set temperature is reduced by 0.5 ℃, and the wind speed is increased by 10 percent;
when the activity is more than or equal to 0.8 and E is less than 1.5, keeping the current state unchanged;
when the activity is more than or equal to 0.4 and E is less than 0.8, on the basis of the current set temperature, the set temperature is increased by 0.5 ℃, and the wind speed is reduced by 10 percent;
when the activity E is less than 0.4, the set temperature is increased by 1 ℃ on the basis of the current set temperature, and the wind speed is reduced to the minimum wind.
In one embodiment, when the change of the activity level of the human body is detected, the preset activity level interval in which the calculated activity level of the human body is located is determined again; and when the preset activity interval is changed, determining a new air conditioner adjusting parameter according to the changed preset activity interval, and adjusting the operation of the air conditioner according to the new air conditioner adjusting parameter. The parameters of the air conditioner are continuously updated and controlled by continuously and circularly acquiring and calculating the activity of the human body and the distance between the user and the sensor, so that the air conditioner is more accurately controlled, and the comfort of the air conditioner is improved.
Referring to fig. 10, in a preferred embodiment of the present invention, after the step of controlling the operation of the air conditioner according to the calculated human activity and the position of the human body, the method further includes:
step S50, receiving an air conditioner operation parameter adjusting instruction, and adjusting the operation of the air conditioner according to the operation parameter adjusting instruction;
step S60, generating a correction value of the air conditioner adjustment parameter corresponding to the preset activity interval according to the adjustment amplitude of the operation parameter adjustment instruction;
and step S70, correcting the air conditioner adjusting parameter corresponding to the preset activity interval according to the correction value.
After the control parameters of the air conditioner are automatically adjusted according to the human activity, an adjusting instruction of a user for the operation parameters of the air conditioner is received, and the user feels that the environment after the air conditioner acts is not comfortable enough, so that the user needs to make adjustment according to different requirements. That is, the operation parameters of the air conditioner automatically adjusted at this time are different from the user expectation, and the human activity and the air conditioner adjustment parameters set previously have errors with the human needs, and need to be corrected. And generating a correction value of the air conditioner adjusting parameter corresponding to the preset activity interval according to the adjusting amplitude of the operation parameter adjusting instruction, and correcting the air conditioner adjusting parameter corresponding to the preset activity interval according to the correction value. Through the adjustment between the corresponding relation between the activity interval and the adjustment parameter of the air conditioner, the control of automatically adjusting the air conditioner according to the activity of the human body is more accurate, and the control accuracy of the air conditioner is further improved.
The present invention also provides an electronic device, including: a memory, a processor, and an activity level acquisition program stored on the memory and executable on the processor, the air conditioner control program implementing the activity level acquisition method as described above when executed by the processor. The electronic device can be an air conditioner or other devices for controlling the air conditioner.
In the embodiment, the distance between the human body and the sensor is put into the calculation parameters of the human body activity, and the human body activity is obtained through comprehensive calculation according to the human body movement amplitude and frequency output by the infrared sensor and the distance between the human body and the infrared sensor, so that the problem that the accuracy of the detection result of the activity is poor because large-amplitude actions at a distance and small-amplitude actions at a near distance are difficult to distinguish when the human body action amplitude or the activity is judged only by the amplitude change of the output signal of the infrared sensor is solved. The accuracy of human activity detection is improved.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, in which an human activity amount acquisition program is stored, and when executed by the processor, the computer-readable storage medium implements the following operations:
starting a sensor to detect the indoor temperature distribution thermal image and the human body action amplitude;
calculating the distance between the human body and the sensor according to the indoor temperature distribution thermal image, acquiring an output signal of the human body action amplitude output by the sensor, and determining the amplitude change and the frequency of the output signal;
and calculating the activity of the human body according to the distance and the amplitude change and the frequency of the output signal.
Further, the air conditioner control program, when executed by the processor, implements the following operations:
detecting an infrared change amplitude value of a human body through an infrared sensor, calculating amplitude change of each interval at a first preset time, and calculating a difference value between a maximum change value and a minimum change value;
and acquiring the difference data calculated within a second preset time, and calculating the human body activity according to the calculated average value of all the difference data and the calculated distance.
Further, the air conditioner control program, when executed by the processor, implements the following operations:
obtaining an amplitude calculation coefficient and a distance calculation coefficient of the activity calculation;
and calculating the human activity according to the average value, the amplitude calculation coefficient and the distance calculation coefficient of the difference data.
Further, the air conditioner control program, when executed by the processor, implements the following operations:
and solving the product of the average value of the difference data, the amplitude calculation coefficient and the distance calculation coefficient as the human activity.
Further, after the step of calculating the activity level of the human body from the distance and the amplitude change and the frequency of the output signal, the air conditioner control program when executed by the processor performs the operations of:
and controlling the operation of the air conditioner according to the calculated human body activity and the position of the human body.
Further, the air conditioner control program, when executed by the processor, implements the following operations:
determining a preset activity amount interval in which the calculated human activity amount is located according to the calculated human activity amount and the position of the human body;
and determining corresponding air conditioner adjusting parameters according to the determined preset activity interval, and adjusting the operation of the air conditioner according to the determined air conditioner adjusting parameters.
Further, after the step of controlling the operation of the air conditioner according to the calculated human body activity amount and the position where the human body is located, the air conditioner control program when executed by the processor performs the following operations:
when the change of the human body activity amount is detected, re-determining a preset activity amount interval in which the calculated human body activity amount is located;
and when the preset activity interval is changed, determining a new air conditioner adjusting parameter according to the changed preset activity interval, and adjusting the operation of the air conditioner according to the new air conditioner adjusting parameter.
Further, after the step of controlling the operation of the air conditioner according to the calculated human body activity amount and the position where the human body is located, the air conditioner control program when executed by the processor performs the following operations:
receiving an air conditioner operation parameter adjusting instruction, and adjusting the operation of the air conditioner according to the operation parameter adjusting instruction;
generating a correction value of an air conditioner adjusting parameter corresponding to the preset activity interval according to the adjusting amplitude of the operation parameter adjusting instruction;
and correcting the air conditioner adjusting parameters corresponding to the preset activity interval according to the correction value.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A method for acquiring human activity, comprising the steps of:
starting a sensor to detect the indoor temperature distribution thermal image and the human body action amplitude;
calculating the distance between the human body and the sensor according to the indoor temperature distribution thermal image, acquiring an output signal of the human body action amplitude output by the sensor, and determining the amplitude change and the frequency of the output signal;
detecting an infrared change amplitude value of a human body through an infrared sensor, calculating amplitude change of each interval at a first preset time, and calculating a difference value between a maximum change value and a minimum change value;
and acquiring the difference data calculated within a second preset time, and calculating the human body activity according to the calculated average value of all the difference data and the calculated distance.
2. The human activity amount acquisition method according to claim 1, wherein the step of calculating the human activity amount based on the calculated average value of all the difference data in combination with the calculated distance comprises:
obtaining an amplitude calculation coefficient and a distance calculation coefficient of the activity calculation;
and calculating the human activity according to the average value, the amplitude calculation coefficient and the distance calculation coefficient of the difference data.
3. The human activity amount acquisition method according to claim 2, wherein the step of calculating the human activity amount based on the average value of the difference data, the amplitude calculation coefficient, and the distance calculation coefficient includes:
and solving the product of the average value of the difference data, the amplitude calculation coefficient and the distance calculation coefficient as the human activity.
4. The human activity amount acquisition method according to any one of claims 1 to 3, wherein the step of acquiring the difference data calculated for the second preset time and calculating the human activity amount based on the calculated average value of all the difference data in combination with the calculated distance further comprises, after the step of:
and controlling the operation of the air conditioner according to the calculated human body activity and the position of the human body.
5. The human activity amount acquisition method according to claim 4, wherein the step of controlling the operation of the air conditioner according to the calculated human activity amount and the position where the human body is located comprises:
determining a preset activity amount interval in which the calculated human activity amount is located according to the calculated human activity amount and the position of the human body;
and determining corresponding air conditioner adjusting parameters according to the determined preset activity interval, and adjusting the operation of the air conditioner according to the determined air conditioner adjusting parameters.
6. The human activity amount acquisition method according to claim 5, further comprising, after the step of controlling the operation of the air conditioner according to the calculated human activity amount and the position where the human body is located:
when the change of the human body activity amount is detected, re-determining a preset activity amount interval in which the calculated human body activity amount is located;
and when the preset activity interval is changed, determining a new air conditioner adjusting parameter according to the changed preset activity interval, and adjusting the operation of the air conditioner according to the new air conditioner adjusting parameter.
7. The human activity amount acquisition method according to claim 4, wherein after the step of controlling the operation of the air conditioner based on the calculated human activity amount and the position where the human body is located, further comprising:
receiving an air conditioner operation parameter adjusting instruction, and adjusting the operation of the air conditioner according to the operation parameter adjusting instruction;
generating a correction value of an air conditioner adjusting parameter corresponding to the preset activity interval according to the adjusting amplitude of the operation parameter adjusting instruction;
and correcting the air conditioner adjusting parameters corresponding to the preset activity interval according to the correction value.
8. An electronic device, characterized in that the electronic device comprises: a memory and a processor, and an human activity amount acquisition program stored on the memory and executable on the processor, the human activity amount acquisition program implementing the human activity amount acquisition method according to any one of claims 1 to 7 when executed by the processor.
9. A computer-readable storage medium, characterized in that an human activity amount acquisition program is stored thereon, which when executed by a processor implements the human activity amount acquisition method according to any one of claims 1 to 7.
CN201810143685.3A 2018-02-09 2018-02-09 Human activity amount acquisition method, electronic device, and computer-readable storage medium Active CN108332361B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810143685.3A CN108332361B (en) 2018-02-09 2018-02-09 Human activity amount acquisition method, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810143685.3A CN108332361B (en) 2018-02-09 2018-02-09 Human activity amount acquisition method, electronic device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN108332361A CN108332361A (en) 2018-07-27
CN108332361B true CN108332361B (en) 2020-10-20

Family

ID=62929573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810143685.3A Active CN108332361B (en) 2018-02-09 2018-02-09 Human activity amount acquisition method, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN108332361B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108332375B (en) * 2018-01-31 2020-12-01 广东美的制冷设备有限公司 Air conditioner control method, electronic device, and computer-readable storage medium
CN109539495B (en) * 2018-11-30 2021-07-23 广东美的制冷设备有限公司 Control method, air conditioning apparatus, and storage medium
CN112869734B (en) * 2021-01-11 2022-10-21 乐鑫信息科技(上海)股份有限公司 Wi-Fi human body detection method and intelligent device
CN113504805A (en) * 2021-09-10 2021-10-15 南通德惠风机有限公司 Intelligent fan temperature rise detection system
CN116763298A (en) * 2023-05-12 2023-09-19 嘉兴温芯智能科技有限公司 State monitoring method and system
CN117267937B (en) * 2023-11-16 2024-03-15 深圳市华图测控系统有限公司 Constant air supply device of micro-environment air supply system and air supply parameter adaptation method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090085895A (en) * 2008-02-05 2009-08-10 엘지전자 주식회사 Air conditioner and controlling method thereof
CN106486068B (en) * 2015-08-27 2020-03-24 青岛海尔空调电子有限公司 Air conditioner, intelligent household appliance and control method of intelligent household liquid crystal display screen
CN106091233A (en) * 2016-05-31 2016-11-09 广东美的制冷设备有限公司 Air-conditioner and control method thereof and control system
KR101721541B1 (en) * 2016-08-30 2017-03-30 한홍렬 A hood of gas range
CN106705391A (en) * 2017-03-29 2017-05-24 广东顺德鲁棒智能技术有限公司 Control method, device and system of heating and ventilation air-conditioning system
CN106963388B (en) * 2017-04-12 2020-01-14 佛山市量脑科技有限公司 Feedback system of intelligent insole

Also Published As

Publication number Publication date
CN108332361A (en) 2018-07-27

Similar Documents

Publication Publication Date Title
CN108332361B (en) Human activity amount acquisition method, electronic device, and computer-readable storage medium
CN108332375B (en) Air conditioner control method, electronic device, and computer-readable storage medium
JP5930478B2 (en) Area recognition apparatus and method for portable terminal
CN108375113B (en) Air conditioner control method and device, air conditioner and readable storage medium
CN108390117B (en) Charging method and mobile terminal
CN108030495B (en) Body posture measuring method, body posture measuring device, health care instrument and computer readable medium
CN110057039B (en) Air conditioner, control method thereof, terminal and computer readable storage medium
US20140005931A1 (en) Information processing apparatus, information processing method, and program
JP2016075669A (en) Position estimation system, position estimation method, and program
CN108810614B (en) Volume adjustment method, system and readable storage medium
WO2023035414A1 (en) Radar-based method and apparatus for adjusting curvature of television, and television and storage medium
CN108199935B (en) Distribution network code display method, terminal, server and computer readable storage medium
JP2012242302A (en) Altitude measurement device, altitude measurement method, and altitude measurement program
US10051227B1 (en) Techniques for managing transition from ATSC 1.0 to ATSC 3.0
JP2020112521A (en) Position detection system, calculation device, program and position detection method
CN107062434B (en) Debugging method of air conditioner outdoor unit and air conditioner outdoor unit
KR20170017401A (en) Apparatus for processing Images
CN110740270B (en) Camera adjusting method and device, electronic equipment and storage medium
KR102129954B1 (en) Mobile terminal capable of 3D scanning
US20100309121A1 (en) Electonic apparatus with deviation correction of cursor position
CN110769162A (en) Electronic equipment and focusing method
CN107906669B (en) Control method and control device of air conditioner and storage medium
US10114473B2 (en) Interactive system and remote device
CN111890368B (en) Position calibration method, device and system based on robot and storage medium
CN112744490B (en) Control method of garbage can robot, garbage can robot and chip

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