Air conditioner control method and device, electronic equipment and storage medium
By detecting the position information of the personnel and the wall distance value, the air outlet position of the air conditioner is determined and air supply is provided, which solves the problem of somatosensory discomfort caused by the direct blow of the existing air conditioner to the human body, and improves the user experience.
Patent Information
- Application Number
- CN202411905134.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-03-07
AI Technical Summary
The existing air conditioner blowing method causes users to feel uncomfortable and the product experience is poor, because the air supply blows directly on the human body and cannot be personalized according to the user's location.
By detecting the personnel position information and the wall distance value, the air outlet position is determined and air is supplied based on this position to avoid direct blowing to the human body. This method can use lidar to obtain point cloud information, calculate the distance value between the personnel and the wall, and determine the optimal air outlet position.
By supplying air based on the wall, the fresh air output from the air conditioner will not blow directly on the human body, avoiding discomfort caused by direct blowing, and improving the user experience.
Smart Images

Figure CN119573185A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioning and refrigeration, and in particular to an air conditioning control method, an air conditioning control device, an electronic device and a storage medium. Background Art
[0002] Currently, air conditioners have two modes of blowing: left and right, up and down, and can provide predefined options for users to customize the blowing direction. However, these modes are all controlled based on the position of the person, and the air is blown directly on the human body, causing users to feel uncomfortable and having a poor product experience. Summary of the invention
[0003] In view of the above problems, embodiments of the present invention are proposed to provide an air conditioning control method, an air conditioning control device, an electronic device and a storage medium that overcome the above problems or at least partially solve the above problems.
[0004] In order to solve the above problems, in a first aspect of the present invention, an embodiment of the present invention discloses an air conditioning control method, comprising:
[0005] Detect personnel location information and wall distance value;
[0006] Determining a crowd distance value based on the personnel location information;
[0007] Determine the air outlet position based on the wall distance value and the crowd distance value;
[0008] Air is supplied based on the air outlet position.
[0009] Optionally, the air conditioner is provided with a laser radar, and the step of detecting the personnel position information and the wall distance value includes:
[0010] Obtaining point cloud information of the laser radar;
[0011] The personnel position information and the wall distance value are determined according to the point cloud information.
[0012] Optionally, the step of determining personnel position information and wall distance value based on the point cloud information includes:
[0013] Determining a sampling time delay and a sampling target for the point cloud information;
[0014] Determining personnel location information based on the sampling time delay, the sampling target and the speed of light;
[0015] A wall distance value is determined according to the sampling time delay, the sampling target and the speed of light.
[0016] Optionally, the step of determining personnel location information based on the sampling time delay, the sampling target and the speed of light includes:
[0017] When the sampling target is a human target, calculating a first product value of the sampling time delay and the speed of light;
[0018] Determine that a half value of the first product value is personnel location information.
[0019] Optionally, the step of determining the wall distance value according to the sampling time delay, the sampling target and the speed of light includes:
[0020] When the sampling target is a wall target, calculating a second product value of the sampling time delay and the speed of light;
[0021] A half value of the second product value is determined as the wall distance value.
[0022] Optionally, the step of determining a crowd distance value based on the personnel position information includes:
[0023] The mean of the personnel position information is calculated as the crowd distance value.
[0024] Optionally, the step of determining the air outlet position based on the wall distance value and the crowd distance value includes:
[0025] Determine the area of the enclosed triangle according to the wall distance value and the crowd distance value;
[0026] Determine the height of the enclosed triangle according to the enclosed triangle area and the crowd distance value;
[0027] Perform inverse trigonometric function calculation based on the crowd distance value and the height value of the enclosed triangle to determine the wind outlet angle;
[0028] An air outlet position is determined based on the air outlet angle.
[0029] Optionally, the step of supplying air based on the air outlet position includes:
[0030] Based on the air outlet position, determining the air sweeping frequency;
[0031] Air is supplied based on the air sweeping frequency.
[0032] Optionally, the step of determining the air sweeping frequency based on the air outlet position includes:
[0033] Determine a sweeping air weight value corresponding to the air outlet position;
[0034] The air outlet position and the air sweep weight value are combined to determine the air sweep frequency.
[0035] In a second aspect of the present invention, an embodiment of the present invention discloses an air conditioning control device, comprising:
[0036] Detection module, used to detect personnel location information and wall distance value;
[0037] A distance determination module, used to determine a crowd distance value based on the personnel position information;
[0038] An air outlet determination module, used to determine an air outlet position based on the wall distance value and the crowd distance value;
[0039] A control module is used to supply air based on the air outlet position.
[0040] Optionally, the air conditioner is provided with a laser radar, and the detection module includes:
[0041] An acquisition submodule, used to acquire point cloud information of the laser radar;
[0042] The distance determination submodule is used to determine the personnel position information and the wall distance value based on the point cloud information.
[0043] Optionally, the distance determination submodule includes:
[0044] A sampling determination unit, used to determine a sampling time delay and a sampling target of the point cloud information;
[0045] a personnel position information determining unit, configured to determine the personnel position information according to the sampling time delay, the sampling target and the speed of light;
[0046] The wall distance value determining unit is used to determine the wall distance value according to the sampling time delay, the sampling target and the speed of light.
[0047] Optionally, the personnel location information determining unit includes:
[0048] A first product value calculation subunit, used for calculating a first product value of the sampling time delay and the speed of light when the sampling target is a human target;
[0049] The personnel location information determining subunit is used to determine a half value of the first product value as the personnel location information.
[0050] Optionally, the wall distance value determining unit includes:
[0051] A second product value calculation subunit, used for calculating a second product value of the sampling time delay and the speed of light when the sampling target is a wall target;
[0052] The wall distance value determining subunit is used to determine a half value of the second product value as a wall distance value.
[0053] Optionally, the distance determination module includes:
[0054] The mean calculation submodule is used to calculate the mean of the personnel location information as a crowd distance value.
[0055] Optionally, the air outlet determination module includes:
[0056] An area determination submodule, used to determine the area of the enclosed triangle according to the wall distance value and the crowd distance value;
[0057] A height value determination submodule, used for determining the height value of the enclosed triangle according to the enclosed triangle area and the crowd distance value;
[0058] An inverse trigonometric function calculation submodule, used to perform inverse trigonometric function calculation based on the crowd distance value and the height value of the enclosed triangle to determine the wind outlet angle;
[0059] The air outlet position determination submodule is used to determine the air outlet position based on the air outlet angle.
[0060] Optionally, the control module includes:
[0061] A sweeping air frequency determination submodule, used to determine the sweeping air frequency based on the air outlet position;
[0062] The air supply submodule is used to supply air based on the air sweeping frequency.
[0063] Optionally, the wind sweep frequency determination submodule includes:
[0064] A weight determination unit, used to determine a swept air weight value corresponding to the air outlet position;
[0065] The air sweep frequency determination unit is used to determine the air sweep frequency by combining the air outlet position with the air sweep weight value.
[0066] In the third aspect of the present invention, an embodiment of the present invention discloses an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of the air conditioning control method as described above when executed by the processor.
[0067] In a fourth aspect of the present invention, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the air conditioning control method as described above are implemented.
[0068] The embodiments of the present invention include the following advantages:
[0069] The embodiment of the present invention detects the position information of a person and the distance value to a wall; determines the distance value to a crowd according to the position information of the person; determines the air outlet position based on the distance value to the wall and the distance value to the crowd; and supplies air based on the air outlet position. By supplying air based on the position of the wall, the fresh air output by the air conditioner will not blow directly on the human body, thus avoiding discomfort caused by direct blowing on people and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 is a flowchart of steps of an embodiment of an air conditioning control method of the present invention;
[0071] Figure 2 is a flowchart of steps of another air conditioning control method embodiment of the present invention;
[0072] Figure 3 It is a schematic diagram of the air conditioner and personnel positions of the present invention;
[0073] Figure 4 is a schematic diagram of a population of the present invention;
[0074] Figure 5 It is a schematic diagram of the wall distance value and the crowd distance value of the present invention;
[0075] Figure 6 is a flowchart of an example of an air conditioning control method of the present invention;
[0076] Figure 7 is a structural block diagram of an embodiment of an air conditioning control device of the present invention;
[0077] Figure 8 is a structural block diagram of an electronic device provided by an embodiment of the present invention;
[0078] Fig. 9 It is a structural block diagram of a storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0079] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0080] Embodiments of the present invention can be applied to various air conditioners, such as cabinet air conditioners and wall-mounted air conditioners. Wall-mounted air conditioners, also known as wall-mounted air conditioners, have indoor units that are usually installed on a wall, while outdoor units are installed outdoors. Wall-mounted air conditioners have multiple functions such as cooling, heating, and dehumidification, and can meet the use requirements in different seasons and climate conditions. It usually has a low noise level and will not disturb the user's rest or work during operation. Wall-mounted air conditioners are usually designed to be rectangular or streamlined. Cabinet air conditioners, also known as vertical air conditioners or floor-standing air conditioners, have indoor units that are larger in size and are usually placed on the floor, while outdoor units are installed outdoors. Cabinet air conditioners have larger air outlets and air supply volumes, and can quickly adjust the indoor temperature to quickly bring the room to a comfortable state. Equipped with a powerful cooling and heating system, it can meet the use requirements in different seasons and climate conditions. Cabinet air conditioners are usually designed to be vertical or square.
[0081] Reference Figure 1 , shows a flow chart of steps of an embodiment of an air conditioning control method of the present invention, and the air conditioning control method may specifically include the following steps:
[0082] Step 101, detecting personnel position information and wall distance value;
[0083] It can detect the information of people in the room and the distance between the air conditioner and the wall. It should be noted that the wall described in the embodiment of the present invention can be a horizontal wall, that is, a wall such as a ceiling, which is horizontal to the ground, that is, the inclination angle of the wall is close to 0 degrees. It can also be a vertical wall, which is vertical to the ground, that is, the inclination angle of the wall is close to 90 degrees.
[0084] Step 102, determining a crowd distance value based on the personnel position information;
[0085] Based on each person’s location information, determine the crowd of all people in the room and determine the crowd distance value.
[0086] Step 103, determining an air outlet position based on the wall distance value and the crowd distance value;
[0087] Based on the wall distance value and the crowd distance value, the angle of air supply to the wall, that is, the air outlet position, is determined.
[0088] Step 104: supply air based on the air outlet position.
[0089] Air is supplied based on the air outlet position, and the fresh air blows onto the wall, which then reflects the fresh air into the crowd to avoid direct blowing on people.
[0090] The embodiment of the present invention detects the position information of a person and the distance value to a wall; determines the distance value to a crowd according to the position information of the person; determines the air outlet position based on the distance value to the wall and the distance value to the crowd; and supplies air based on the air outlet position. By supplying air based on the position of the wall, the fresh air output by the air conditioner will not blow directly on the human body, thus avoiding discomfort caused by direct blowing on people and improving the user experience.
[0091] Reference Figure 2 , shows a flow chart of steps of another air conditioning control method embodiment of the present invention, the air conditioning control method may specifically include the following steps:
[0092] Step 201, detecting personnel position information and wall distance value;
[0093] In the embodiment of the present invention, the position information of the indoor person and the wall distance value between the air conditioner and the wall can be detected.
[0094] In an optional embodiment of the present invention, the air conditioner is provided with a laser radar, and the working principle of the laser radar is based on the emission, propagation and reception of light. It first emits a beam of laser pulses, which are usually infrared or near-infrared light. When the laser pulse encounters the target object, part of the light will be reflected back, and the receiver in the laser radar device will capture the reflected laser. By measuring the time from the emission to the reception of the light pulse, the distance of the target object can be determined. The working wavelength of the laser radar is relatively short, which makes it have extremely high resolution during the detection process. Whether it is angular resolution, distance resolution or speed resolution, it can meet the requirements for fine characterization of the target object. The laser radar can accurately calculate the position of each point in three-dimensional space, thereby creating high-quality three-dimensional point cloud data. The laser radar uses the principle of laser flight time. The laser radar can measure the distance to the target very accurately, and is not affected by factors such as color and lighting conditions. Combined with the Doppler effect, the movement speed of the target can also be determined. And the laser radar can still maintain stable operation at night or under low light conditions. The embodiment of the present invention can adopt the solution used by the laser radar of the ToF (Time of Flight) solution. The ToF solution is based on the basic principle that the speed of light is constant. When a light pulse is sent out by the transmitter, it will travel a certain distance and then reflect back on the target. After the receiver receives the returned light pulse, it calculates the distance between the target and the sensor by measuring the time from the emission to the return of the photon. ToF solutions usually use lasers as light sources because lasers are highly directional and have a small divergence angle. ToF solutions can capture the depth information of the entire scene at one time. The ToF camera generates a depth image by capturing the round-trip time of the light pulse, in which each pixel accurately encodes the distance information of the object in its corresponding scene. FMCW (Frequency Modulated Continuous Wave) laser radar can also be used to linearly modulate the optical frequency of the emitted laser, and obtain the frequency difference by coherently beating the echo signal with the reference light, thereby indirectly obtaining the flight time to deduce the target distance. FMCW has the advantages of directly measuring speed information and strong anti-interference. The FMCW solution sends and receives continuous laser beams, uses frequency mixing detection to measure the frequency difference between the two, and converts the distance of the target object. Specifically, a small part of the emitted light is left in place as the local oscillator light, and most of it is output as the detection light source. Light has a certain frequency, and the frequency changes after it hits the target and reflects. At this time, the local oscillator light and the reflected light returning to the detector are coherently mixed. After a period of data collection, the peak value of the frequency difference between the two is obtained through Fourier transform, and the distance of the target is calculated. The type of laser radar can be mechanical laser radar, semi-solid laser radar or full solid-state laser radar. Mechanical laser radar: rotates at a certain speed, uses a mechanical structure to perform 360° rotation scanning in the horizontal direction, and uses directional distributed scanning in the vertical direction.The transmitter and receiver of the mechanical laser radar rotate together with the scanning component. Semi-solid laser radar: The transmitter and receiver are fixed, and only a small number of moving parts are used to scan the laser beam. Depending on the type of moving parts, semi-solid laser radar can be further divided into rotating mirror semi-solid laser radar, MEMS semi-solid laser radar and prism semi-solid laser radar. Full solid-state laser radar: There are no moving parts inside, and semiconductor technology is used to realize the emission, scanning and reception of light beams. Solid-state laser radar can be divided into Flash solid-state laser radar and OPA solid-state laser radar.
[0095] The step of detecting the personnel position information and the wall distance value comprises:
[0096] Sub-step S2011, obtaining point cloud information of the laser radar;
[0097] The point cloud information generated by the laser radar for indoor environment detection can be obtained.
[0098] Sub-step S2012, determining the personnel position information and the wall distance value based on the point cloud information.
[0099] You can refer to Figure 3 ,According to the different point cloud positions in the point cloud information, the personnel position information and the wall distance value are determined.
[0100] Specifically, the step of determining personnel position information and wall distance value based on the point cloud information includes: determining the sampling time delay and sampling target of the point cloud information; determining personnel position information based on the sampling time delay, the sampling target and the speed of light; determining the wall distance value based on the sampling time delay, the sampling target and the speed of light.
[0101] The sampling time delay and sampling target of the corresponding point cloud in the point cloud information can be used. The sampling target is used to characterize the type of the corresponding point cloud in the point cloud information. The sampling target can be determined by semantic analysis of the point cloud. The process of semantic analysis is as follows: A series of preprocessing operations are performed on the point cloud to ensure the quality and consistency of the data. These preprocessing steps include: Filtering: Remove noise points, which may be caused by equipment errors, environmental interference and other factors. Denoising: Further reduce the noise in the data and improve the purity of the data. Registration: Align the point cloud data collected from different perspectives or at different time points to form a complete three-dimensional model. Downsampling: In order to reduce the complexity of data processing, the point cloud data can be downsampled to reduce the number of points. Semantic annotation is to assign each point in the point cloud to a predefined semantic category. This semantic annotation can be performed manually or using semi-automatic or fully automatic methods. Manual annotation: Each point in the point cloud is manually classified and annotated. Although this method is accurate, it is inefficient. Semi-automatic annotation: The use of auxiliary software or tools combined with manual judgment for annotation can improve annotation efficiency. Fully automatic labeling: Using advanced technologies such as deep learning, the training model automatically labels the point cloud data. Use the labeled data set to train the deep learning model, such as convolutional neural network (CNN) or point cloud-specific network architecture, such as Point Net, PSP Net, etc. The corresponding sampling target is determined by the deep learning model. The sampling time delay is the time difference between the emission of light and the reception of light at the sampling point cloud.
[0102] Based on different sampling targets, sampling time delay and light speed are used to determine personnel location information; and sampling time delay and light speed are used to determine wall distance value.
[0103] Furthermore, the step of determining personnel location information based on the sampling time delay, the sampling target and the speed of light includes: when the sampling target is a personnel target, calculating a first product value of the sampling time delay and the speed of light; and determining half of the first product value as the personnel location information.
[0104] When the sampling target is a human target, it means that the corresponding point cloud is a human point cloud. The first product value of the sampling time delay and the speed of light can be calculated. That is, the first product value is the product value of the sampling time delay and the speed of light of the human point cloud. Among them, the speed of light can be 299792458 meters per second. Then calculate the half value of the first product value, that is, half of the first product value; determine the half value of the calculated first product value as the personnel location information. The formula used to express it is the distance a 1 = (speed of light × sampling time delay) / 2 of the personnel location information.
[0105] Furthermore, the step of determining the wall distance value based on the sampling time delay, the sampling target and the speed of light includes: when the sampling target is a wall target, calculating a second product value of the sampling time delay and the speed of light; and determining half of the second product value as the wall distance value.
[0106] When the sampling target is a wall target, it means that the corresponding point cloud is a wall point cloud. The second product value of the sampling time delay and the speed of light can be calculated. That is, the second product value is the product value of the sampling time delay and the speed of light of the wall point cloud. Then calculate the half value of the second product value, that is, half of the second product value; determine the half value of the calculated second product value as the wall distance value. The wall distance value b1 = (speed of light × sampling time delay) / 2 can be expressed by the formula.
[0107] Step 202, determining a crowd distance value based on the personnel position information;
[0108] You can refer to Figure 4 There are often multiple people in a room. At this time, the number of people in the room and the distance between the person and the air conditioner can be determined based on the person's location information, that is, the crowd distance value.
[0109] Specifically, the step of determining the crowd distance value based on the personnel position information includes: calculating the mean of the personnel position information as the crowd distance value.
[0110] The average value of the distance between each person and the air conditioner in the personnel position information can be calculated as the crowd distance value of the person.
[0111] In addition, the position of the detection frame where the person is located is determined, and the crowd distance value is determined based on the distance between the center position of the detection frame and the air outlet of the air conditioner.
[0112] Step 203, determining an air outlet position based on the wall distance value and the crowd distance value;
[0113] The target area to which air needs to be supplied can be determined based on the wall distance value and the crowd distance value, and the air outlet position that the air conditioner outlet needs to reach when fresh air needs to be delivered to the target area can be determined.
[0114] Specifically, the step of determining the air outlet position based on the wall distance value and the crowd distance value includes: determining the area of the enclosed triangle according to the wall distance value and the crowd distance value; determining the height of the enclosed triangle according to the area of the enclosed triangle and the crowd distance value; determining the air outlet angle by performing inverse trigonometric function calculation based on the crowd distance value and the height of the enclosed triangle; and determining the air outlet position based on the air outlet angle.
[0115] You can refer to Figure 5, based on the wall distance value and the crowd distance value as the two sides of the triangle and based on the angle at the air outlet, determine the area of the enclosed triangle. That is, the enclosed triangle area D = (1 / 2) * a1 * b1 * sin (C); where C is the angle between the distance calculation position of the person and the wall at the air outlet. a1 is the crowd distance value, and b1 is the wall distance value.
[0116] Based on the area of the enclosed triangle and the crowd distance value, the height of the triangle, that is, the height value of the enclosed triangle, is determined. The height value of the enclosed triangle c1 = D / {(1 / 2)*a 1}.
[0117] The inverse trigonometric function is calculated based on the crowd distance value and the height value of the enclosed triangle to determine the size of the wind outlet angle. The wind outlet position is determined based on the wind outlet angle. For example, the inverse tangent function can be used as the inverse trigonometric function, and the wind outlet angle E is tan(E)=a1 / c1.
[0118] Step 204, determining a sweeping frequency based on the air outlet position;
[0119] Determine the specific air sweeping frequency based on the air outlet positions of different human resources.
[0120] Specifically, the step of determining the air sweep frequency based on the air outlet position includes: determining a wind sweep weight value corresponding to the air outlet position; and determining the wind sweep frequency by combining the air outlet position with the wind sweep weight value.
[0121] Determine the sweep weight values corresponding to the air outlet positions of different personnel. The larger the sweep weight value corresponding to the air outlet position, the longer the time in this position during one air supply. The air outlet position and the sweep weight value can be combined to determine the sweep frequency.
[0122] The wind sweep weight value can be determined according to the number of people in the crowd. The more people in the crowd, the greater the wind sweep weight value, and the fewer people in the crowd, the smaller the wind sweep weight value. The wind sweep weight value is a dynamic value and can be determined based on the personnel data of each detection.
[0123] Step 205: supply air based on the air sweeping frequency.
[0124] The corresponding sweeping frequency can be used to control the movement of the fan blades of the air outlet, thereby supplying air to the target area of the wall.
[0125] The embodiment of the present invention detects personnel position information and a wall distance value; determines a crowd distance value based on the personnel position information; determines an air outlet position based on the wall distance value and the crowd distance value; determines a sweeping frequency based on the air outlet position; and supplies air based on the sweeping frequency. By supplying air based on the position of the wall, the fresh air output by the air conditioner will not blow directly on the human body, avoiding discomfort caused by direct blowing on people, thereby improving the user experience.
[0126] In order to make the implementation process of the embodiments of the present invention clear to those skilled in the art, refer to Figure 6 , an example is used below to illustrate, which may include the following steps:
[0127] 1. Use microwave radar to detect the number and location of people in the room.
[0128] 2. Measure the distance between people.
[0129] 3. Measure the distance between the walls of the interior space.
[0130] 4. Calculate the appropriate air outlet angle.
[0131] 5. Air discharge (if there are multiple personnel areas, the air is discharged in turn in the same way) so that the air is continuously discharged to provide heating or cooling for the users.
[0132] The actual operation process in the application is as follows:
[0133] The number of people in the detection room is determined. If people are concentrated in a certain area, the density of people is used to define the end point that the exit needs to face. The more people there are, the greater the weight. The fewer people there are, the smaller the weight.
[0134] Start measuring the distance between the air conditioner and the personnel, distance a1 = (speed of light × time delay) / 2.
[0135] Microwave radar measures the distance from the middle of the cabinet air outlet to the ceiling or side wall corner, distance b1 = (speed of light × time delay) / 2. Given one side a1 of the triangle, one of the long sides b1, and the angle, the area of the triangle D = (1 / 2)*a1*b1*sin(C).
[0136] The calculated distance (height) from a1 to the wall is c1 = D / {(1 / 2)*a1}.
[0137] Confirm the angle E of the cabinet air conditioner facing the wall outlet: tan(E)=a1 / c1.
[0138] The data of the first group of detected persons and the angle at which the device should emit air is uploaded to the cloud for storage.
[0139] Personnel set 1, equipment left and right outlet wind (according to the personnel position obtained by microwave radar, the angle of equipment left and right transfer is determined.), equipment outlet position. Personnel set 2, equipment left and right outlet wind (according to the personnel position obtained by microwave radar, the angle of equipment left and right transfer is determined.), equipment outlet position. Left and right air sweep frequency = Personnel set 1 * weight, Personnel set 2 * weight (weight is determined according to the number of personnel)
[0140] If the crowd position is identified to be consistent with the previous one, the previously stored data is obtained for execution.
[0141] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0142] Reference Figure 7 , shows a structural block diagram of an embodiment of an air conditioning control device of the present invention, and the air conditioning control device may specifically include the following modules:
[0143] Detection module 701, used to detect personnel position information and wall distance value;
[0144] A distance determination module 702 is used to determine a crowd distance value based on the personnel position information;
[0145] An air outlet determination module 703 is used to determine an air outlet position based on the wall distance value and the crowd distance value;
[0146] The control module 704 is used to supply air based on the air outlet position.
[0147] In an optional embodiment of the present invention, the air conditioner is provided with a laser radar, and the detection module 701 includes:
[0148] An acquisition submodule, used to acquire point cloud information of the laser radar;
[0149] The distance determination submodule is used to determine the personnel position information and the wall distance value based on the point cloud information.
[0150] In an optional embodiment of the present invention, the distance determination submodule includes:
[0151] A sampling determination unit, used to determine a sampling time delay and a sampling target of the point cloud information;
[0152] a personnel position information determining unit, configured to determine the personnel position information according to the sampling time delay, the sampling target and the speed of light;
[0153] The wall distance value determining unit is used to determine the wall distance value according to the sampling time delay, the sampling target and the speed of light.
[0154] In an optional embodiment of the present invention, the personnel location information determining unit includes:
[0155] A first product value calculation subunit, used for calculating a first product value of the sampling time delay and the speed of light when the sampling target is a human target;
[0156] The personnel location information determining subunit is used to determine a half value of the first product value as the personnel location information.
[0157] In an optional embodiment of the present invention, the wall distance value determining unit includes:
[0158] A second product value calculation subunit, used for calculating a second product value of the sampling time delay and the speed of light when the sampling target is a wall target;
[0159] The wall distance value determining subunit is used to determine a half value of the second product value as a wall distance value.
[0160] In an optional embodiment of the present invention, the distance determination module 702 includes:
[0161] The mean calculation submodule is used to calculate the mean of the personnel location information as a crowd distance value.
[0162] In an optional embodiment of the present invention, the wind output determination module 703 includes:
[0163] An area determination submodule, used to determine the area of the enclosed triangle according to the wall distance value and the crowd distance value;
[0164] A height value determination submodule, used for determining the height value of the enclosed triangle according to the enclosed triangle area and the crowd distance value;
[0165] An inverse trigonometric function calculation submodule, used to perform inverse trigonometric function calculation based on the crowd distance value and the height value of the enclosed triangle to determine the wind outlet angle;
[0166] The air outlet position determination submodule is used to determine the air outlet position based on the air outlet angle.
[0167] In an optional embodiment of the present invention, the control module 704 includes:
[0168] A sweeping air frequency determination submodule, used to determine the sweeping air frequency based on the air outlet position;
[0169] The air supply submodule is used to supply air based on the air sweeping frequency.
[0170] In an optional embodiment of the present invention, the wind sweep frequency determination submodule includes:
[0171] A weight determination unit, used to determine a swept air weight value corresponding to the air outlet position;
[0172] The air sweep frequency determination unit is used to determine the air sweep frequency by combining the air outlet position with the air sweep weight value.
[0173] The embodiment of the present invention detects the position information of a person and the distance value to a wall; determines the distance value to a crowd according to the position information of the person; determines the air outlet position based on the distance value to the wall and the distance value to the crowd; and supplies air based on the air outlet position. By supplying air based on the position of the wall, the fresh air output by the air conditioner will not blow directly on the human body, thus avoiding discomfort caused by direct blowing on people and improving the user experience.
[0174] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0175] Reference Figure 8 , an embodiment of the present invention further provides an electronic device, including:
[0176] A processor 801 and a storage medium 802, wherein the storage medium 802 stores a computer program executable by the processor 801, and when the electronic device is controlled to run, the processor 801 executes the computer program to implement the air conditioning control method as described in any one of the embodiments of the present invention.
[0177] The air conditioning control method comprises:
[0178] Detect personnel location information and wall distance value;
[0179] Determining a crowd distance value based on the personnel location information;
[0180] Determine the air outlet position based on the wall distance value and the crowd distance value;
[0181] Air is supplied based on the air outlet position.
[0182] Optionally, the air conditioner is provided with a laser radar, and the step of detecting the personnel position information and the wall distance value includes:
[0183] Obtaining point cloud information of the laser radar;
[0184] The personnel position information and the wall distance value are determined according to the point cloud information.
[0185] Optionally, the step of determining personnel position information and wall distance value based on the point cloud information includes:
[0186] Determining a sampling time delay and a sampling target for the point cloud information;
[0187] Determining personnel location information based on the sampling time delay, the sampling target and the speed of light;
[0188] A wall distance value is determined according to the sampling time delay, the sampling target and the speed of light.
[0189] Optionally, the step of determining personnel location information based on the sampling time delay, the sampling target and the speed of light includes:
[0190] When the sampling target is a human target, calculating a first product value of the sampling time delay and the speed of light;
[0191] Determine that a half value of the first product value is personnel location information.
[0192] Optionally, the step of determining the wall distance value according to the sampling time delay, the sampling target and the speed of light includes:
[0193] When the sampling target is a wall target, calculating a second product value of the sampling time delay and the speed of light;
[0194] A half value of the second product value is determined as the wall distance value.
[0195] Optionally, the step of determining a crowd distance value based on the personnel position information includes:
[0196] The mean of the personnel position information is calculated as the crowd distance value.
[0197] Optionally, the step of determining the air outlet position based on the wall distance value and the crowd distance value includes:
[0198] Determine the area of the enclosed triangle according to the wall distance value and the crowd distance value;
[0199] Determine the height of the enclosed triangle according to the enclosed triangle area and the crowd distance value;
[0200] Perform inverse trigonometric function calculation based on the crowd distance value and the height value of the enclosed triangle to determine the wind outlet angle;
[0201] An air outlet position is determined based on the air outlet angle.
[0202] Optionally, the step of supplying air based on the air outlet position includes:
[0203] Based on the air outlet position, determining the air sweeping frequency;
[0204] Air is supplied based on the air sweeping frequency.
[0205] Optionally, the step of determining the air sweeping frequency based on the air outlet position includes:
[0206] Determine a sweeping air weight value corresponding to the air outlet position;
[0207] The air outlet position and the air sweep weight value are combined to determine the air sweep frequency.
[0208] The embodiment of the present invention detects the position information of a person and the distance value to a wall; determines the distance value to a crowd according to the position information of the person; determines the air outlet position based on the distance value to the wall and the distance value to the crowd; and supplies air based on the air outlet position. By supplying air based on the position of the wall, the fresh air output by the air conditioner will not blow directly on the human body, thus avoiding discomfort caused by direct blowing on people and improving the user experience.
[0209] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the processor.
[0210] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0211] Reference Fig. 9 The embodiment of the present invention further provides a computer-readable storage medium 901, on which a computer program is stored. When the computer program is executed by a processor, the air conditioning control method as described in any one of the embodiments of the present invention is executed.
[0212] The air conditioning control method comprises:
[0213] Detect personnel location information and wall distance value;
[0214] Determining a crowd distance value based on the personnel location information;
[0215] Determine the air outlet position based on the wall distance value and the crowd distance value;
[0216] Air is supplied based on the air outlet position.
[0217] Optionally, the air conditioner is provided with a laser radar, and the step of detecting the personnel position information and the wall distance value includes:
[0218] Obtaining point cloud information of the laser radar;
[0219] The personnel position information and the wall distance value are determined according to the point cloud information.
[0220] Optionally, the step of determining personnel position information and wall distance value based on the point cloud information includes:
[0221] Determining a sampling time delay and a sampling target for the point cloud information;
[0222] Determining personnel location information based on the sampling time delay, the sampling target and the speed of light;
[0223] A wall distance value is determined according to the sampling time delay, the sampling target and the speed of light.
[0224] Optionally, the step of determining personnel location information based on the sampling time delay, the sampling target and the speed of light includes:
[0225] When the sampling target is a human target, calculating a first product value of the sampling time delay and the speed of light;
[0226] Determine that a half value of the first product value is personnel location information.
[0227] Optionally, the step of determining the wall distance value according to the sampling time delay, the sampling target and the speed of light includes:
[0228] When the sampling target is a wall target, calculating a second product value of the sampling time delay and the speed of light;
[0229] A half value of the second product value is determined as the wall distance value.
[0230] Optionally, the step of determining a crowd distance value based on the personnel position information includes:
[0231] The mean of the personnel position information is calculated as the crowd distance value.
[0232] Optionally, the step of determining the air outlet position based on the wall distance value and the crowd distance value includes:
[0233] Determine the area of the enclosed triangle according to the wall distance value and the crowd distance value;
[0234] Determine the height of the enclosed triangle according to the enclosed triangle area and the crowd distance value;
[0235] Perform inverse trigonometric function calculation based on the crowd distance value and the height value of the enclosed triangle to determine the wind outlet angle;
[0236] An air outlet position is determined based on the air outlet angle.
[0237] Optionally, the step of supplying air based on the air outlet position includes:
[0238] Based on the air outlet position, determining the air sweeping frequency;
[0239] Air is supplied based on the air sweeping frequency.
[0240] Optionally, the step of determining the air sweeping frequency based on the air outlet position includes:
[0241] Determine a sweeping air weight value corresponding to the air outlet position;
[0242] The air outlet position and the air sweep weight value are combined to determine the air sweep frequency.
[0243] The embodiment of the present invention detects the position information of a person and the distance value to a wall; determines the distance value to a crowd according to the position information of the person; determines the air outlet position based on the distance value to the wall and the distance value to the crowd; and supplies air based on the air outlet position. By supplying air based on the position of the wall, the fresh air output by the air conditioner will not blow directly on the human body, thus avoiding discomfort caused by direct blowing on people and improving the user experience.
[0244] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0245] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0246] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0247] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0248] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable terminal device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0249] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0250] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0251] The air conditioning control method, air conditioning control device, electronic device and storage medium provided by the present invention are introduced in detail above. The principle and implementation mode of the present invention are explained in detail using specific examples. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. An air conditioning control method, characterized in that: include: Detect personnel location information and wall distance value; Determining a crowd distance value based on the personnel location information; Determine the air outlet position based on the wall distance value and the crowd distance value; Air is supplied based on the air outlet position.
2. The method according to claim 1, characterized in that The air conditioner is provided with a laser radar, and the step of detecting the personnel position information and the wall distance value comprises: Obtaining point cloud information of the laser radar; The personnel position information and the wall distance value are determined based on the point cloud information.
3. The method according to claim 2, characterized in that The step of determining the personnel position information and the wall distance value based on the point cloud information comprises: Determining a sampling time delay and a sampling target for the point cloud information; Determining personnel location information based on the sampling time delay, the sampling target and the speed of light; A wall distance value is determined according to the sampling time delay, the sampling target and the speed of light.
4. The method according to claim 3, characterized in that The step of determining the personnel location information according to the sampling time delay, the sampling target and the speed of light comprises: When the sampling target is a human target, calculating a first product value of the sampling time delay and the speed of light; Determine that a half value of the first product value is personnel location information.
5. The method according to claim 3, characterized in that: The step of determining the wall distance value according to the sampling time delay, the sampling target and the speed of light comprises: When the sampling target is a wall target, calculating a second product value of the sampling time delay and the speed of light; A half value of the second product value is determined as the wall distance value.
6. The method according to claim 1, characterized in that The step of determining the crowd distance value based on the personnel position information comprises: The mean of the personnel position information is calculated as the crowd distance value.
7. The method according to claim 1, characterized in that The step of determining the air outlet position based on the wall distance value and the crowd distance value comprises: Determine the area of the enclosed triangle according to the wall distance value and the crowd distance value; Determine the height of the enclosed triangle according to the enclosed triangle area and the crowd distance value; Perform inverse trigonometric function calculation based on the crowd distance value and the height value of the enclosed triangle to determine the wind outlet angle; An air outlet position is determined based on the air outlet angle.
8. The method according to claim 1, characterized in that The step of supplying air based on the air outlet position comprises: Based on the air outlet position, determining the air sweeping frequency; Air is supplied based on the air sweeping frequency.
9. The method according to claim 8, characterized in that The step of determining the air sweeping frequency based on the air outlet position comprises: Determine a sweeping air weight value corresponding to the air outlet position; The air outlet position and the air sweep weight value are combined to determine the air sweep frequency.
10. An air conditioning control device, characterized in that: include: Detection module, used to detect personnel location information and wall distance value; A distance determination module, used to determine a crowd distance value based on the personnel position information; An air outlet determination module, used to determine an air outlet position based on the wall distance value and the crowd distance value; A control module is used to supply air based on the air outlet position.
11. An electronic device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the air conditioning control method according to any one of claims 1 to 9 are implemented.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the air conditioning control method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Air conditioner and air supply control method and device thereof
CN106440235A