Device control method, device, electronic device and storage medium
By obtaining and correcting the environmental parameters of the air conditioner return air outlet and user activity area, and calculating and adjusting the air conditioner air valve opening, the problem of poor temperature and humidity control effect of the air conditioner is solved, and user comfort and energy-saving effect are improved.
Patent Information
- Application Number
- CN202211275609.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-18
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2042-10-18
AI Technical Summary
The commonly used household air conditioner return air temperature package is installed at the air conditioner return air, which is far away from the user's activity area, resulting in poor temperature and humidity control effect and poor user comfort experience.
By obtaining the first environmental parameters of the air conditioner return air outlet and the second environmental parameters of the user's activity area, calculating the parameter compensation value, correcting the first environmental parameters, and determining the opening value of the air conditioner air valve to achieve accurate environmental control of the user's activity area . The method includes using a mobile robot to collect environmental data, performing 3D stereoscopic spatial map generation and surface fitting, obtaining the position coordinates and height of the user's active area, determining environmental parameters based on the fitted surface, and adjusting the wind according to the actual air volume value and set value Valve opening degree.
Accurate environmental parameters control of user activity areas is realized, user comfort experience is improved, energy waste is avoided, and indoor environmental parameters are matched with user needs.
Smart Images

Figure CN115682279B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a device control method, apparatus, electronic device and storage medium. Background Art
[0002] Nowadays, urban residents cannot do without a safe and comfortable indoor environment whether they are working, studying, living or entertaining. The quality of air directly affects the comfort of the indoor environment. Good indoor air quality can make people happy and full of energy; while a poor indoor environment will make people feel uncomfortable, which will not only reduce work efficiency, but also cause health problems in serious cases. Therefore, it is necessary to save energy while ensuring that the indoor air quality reaches a state that satisfies people.
[0003] The return air temperature sensors of commonly used household cabinet units and wall-mounted units are generally installed at the return air of the air conditioner, which is far away from the user's activity area, resulting in poor temperature and humidity control effects and poor user comfort experience. Summary of the invention
[0004] In order to solve the technical problem of poor temperature and humidity control effect of the above-mentioned air conditioner, the present application provides an equipment control method, device, electronic device and storage medium.
[0005] In a first aspect, the present application provides a device control method, comprising:
[0006] Obtaining a first environmental parameter corresponding to the return air outlet of the air conditioner, a second environmental parameter corresponding to the user activity area, and a target adjustment parameter set by the user;
[0007] Determining a parameter compensation value according to the target adjustment parameter and the second environmental parameter;
[0008] Correcting the first environmental parameter using the parameter compensation value to obtain a target environmental parameter;
[0009] The opening value of the air valve of the air conditioner is determined according to the target environmental parameter to adjust the opening value of the air valve.
[0010] Optionally, obtaining a second environment parameter corresponding to the user activity area includes:
[0011] Obtain the location coordinates of the user's activity area in the target space;
[0012] A second environmental parameter corresponding to the position coordinate is determined based on a preset fitting surface, wherein the fitting surface is obtained by performing surface fitting based on environmental measurement data corresponding to a plurality of preset measurement points in the target space.
[0013] Optionally, the method further comprises:
[0014] Controlling the mobile robot to move to a plurality of preset measurement points in the target space;
[0015] Acquiring environmental measurement data collected by the mobile robot at each preset measurement point;
[0016] Acquire a 3D spatial map corresponding to the target space, wherein the 3D spatial map is generated by projecting point cloud data obtained by scanning the target space to generate a depth map, and is established according to the depth map;
[0017] Surface fitting is performed according to the 3D spatial diagram and the environmental measurement data corresponding to each preset measurement point to obtain the fitting surface.
[0018] Optionally, obtaining a second environment parameter corresponding to the user activity area includes:
[0019] Obtain the location coordinates and target height of the user's activity area in the target space;
[0020] Acquire a preset fitting surface corresponding to the target height, wherein the fitting surface is obtained by performing surface fitting based on environmental measurement data corresponding to a plurality of preset measurement points in the target space;
[0021] A second environmental parameter corresponding to the position coordinate is determined based on the fitting surface.
[0022] Optionally, the method further comprises:
[0023] Controlling the mobile robot to move to a plurality of preset measurement points in the target space;
[0024] Acquire environmental measurement data collected by the mobile robot at different heights at each preset measurement point;
[0025] Acquire a 3D spatial map corresponding to the target space, wherein the 3D spatial map is generated by projecting point cloud data obtained by scanning the target space to generate a depth map, and is established according to the depth map;
[0026] Surface fitting is performed based on the 3D spatial diagram and environmental measurement data corresponding to different heights of each preset measurement point to obtain the fitting surfaces corresponding to multiple heights.
[0027] Optionally, determining the opening value of the air valve of the air conditioner according to the target environmental parameter includes:
[0028] Get the current actual value of air volume;
[0029] Determine the air volume setting value according to the target environmental parameter and the target adjustment parameter;
[0030] The opening value of the air valve is determined according to the air volume setting value and the actual air volume value.
[0031] Optionally, obtaining a second environment parameter corresponding to the user activity area includes:
[0032] Obtain the crowd density in the user activity area within the target space;
[0033] In the data set corresponding to the target space, an environmental parameter corresponding to the crowd density is obtained as the second environmental parameter.
[0034] In a second aspect, the present application provides a device control apparatus, comprising:
[0035] An acquisition module, used to acquire a first environmental parameter corresponding to the return air outlet of the air conditioner, a second environmental parameter corresponding to the user activity area, and a target adjustment parameter set by the user;
[0036] A first determining module, used to determine a parameter compensation value according to the target adjustment parameter and the second environmental parameter;
[0037] A correction module, used for correcting the first environmental parameter using the parameter compensation value to obtain a target environmental parameter;
[0038] The second determination module is used to determine the opening value of the air valve of the air conditioner according to the target environmental parameter, so as to adjust the opening value of the air valve.
[0039] Optionally, the acquisition module includes:
[0040] A first acquisition unit, used to acquire the position coordinates of the user activity area in the target space;
[0041] The first determination unit is used to determine a second environmental parameter corresponding to the position coordinate based on a preset fitting surface, wherein the fitting surface is obtained by performing surface fitting based on environmental measurement data corresponding to a plurality of preset measurement points in the target space.
[0042] Optionally, the device further comprises:
[0043] A first control module, used for controlling the mobile robot to move to a plurality of preset measurement points in the target space;
[0044] A first data acquisition module, used to acquire environmental measurement data collected by the mobile robot at each preset measurement point;
[0045] A first spatial map acquisition module is used to acquire a 3D spatial map corresponding to the target space, wherein the 3D spatial map is generated by projecting point cloud data obtained by scanning the target space to generate a depth map, and is established according to the depth map;
[0046] The first fitting module is used to perform surface fitting according to the 3D stereoscopic space diagram and the environmental measurement data corresponding to each preset measurement point to obtain the fitting surface.
[0047] Optionally, the acquisition module includes:
[0048] A second acquisition unit is used to acquire the position coordinates of the user activity area and the target height in the target space;
[0049] A third acquisition unit is used to acquire a preset fitting surface corresponding to the target height, where the fitting surface is obtained by performing surface fitting based on environmental measurement data corresponding to a plurality of preset measurement points in the target space;
[0050] A second acquisition unit is used to determine a second environmental parameter corresponding to the position coordinate based on the fitting surface.
[0051] Optionally, the device further comprises:
[0052] A second control module is used to control the mobile robot to move to a plurality of preset measurement points in the target space;
[0053] A second data acquisition module is used to acquire environmental measurement data collected by the mobile robot at different heights of each preset measurement point;
[0054] A second spatial map acquisition module is used to acquire a 3D spatial map corresponding to the target space, wherein the 3D spatial map is generated by projecting point cloud data obtained by scanning the target space to generate a depth map, and is established according to the depth map;
[0055] The second fitting module is used to perform surface fitting according to the 3D spatial diagram and the environmental measurement data corresponding to different heights of each preset measurement point, so as to obtain the fitting surfaces corresponding to multiple heights.
[0056] Optionally, the second determining module includes:
[0057] The fourth acquisition unit is used to acquire the current actual value of the air volume;
[0058] A second determining unit, configured to determine an air volume setting value according to the target environmental parameter and the target adjustment parameter;
[0059] The third determining unit is used to determine the opening value of the air valve according to the air volume setting value and the actual air volume value.
[0060] Optionally, the acquisition module includes:
[0061] A fifth acquisition unit, used to acquire the crowd density of the user activity area in the target space;
[0062] The sixth acquisition unit is used to acquire, from the data set corresponding to the target space, an environmental parameter corresponding to the crowd density as the second environmental parameter.
[0063] In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0064] Memory, used to store computer programs;
[0065] The processor is used to implement any device control method described in the first aspect when executing the program stored in the memory.
[0066] In a fourth aspect, the present application provides a computer-readable storage medium, on which a program of a device control method is stored. When the program of the device control method is executed by a processor, the steps of the device control method described in any one of the first aspects are implemented.
[0067] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0068] The embodiment of the present application determines a parameter compensation value according to a target adjustment parameter set by a user and a second environmental parameter corresponding to the user's activity area, and then uses the parameter compensation value to correct the first environmental parameter to obtain a target environmental parameter. The opening value of the air valve of the air conditioner is determined according to the target environmental parameter for adjusting the opening of the air valve. The final air valve opening adjustment can be determined based on the environmental parameters of the user's activity area, so that the environmental parameters required by the user are accurately applied to the user's activity area, ensuring that the environmental parameters felt by the user are consistent with the environmental parameters required by the user, improving the user's comfort experience, achieving precise control, and avoiding the environmental parameters acting on the user's activity area always failing to meet the user's needs, and the user constantly increasing the adjustment strength to cause energy waste. Therefore, it can effectively guide the energy-saving direction and save energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0070] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0071] Figure 1 A flow chart of a device control method provided in an embodiment of the present application;
[0072] Figure 2 An air conditioner and a plane distribution diagram of each preset measurement point provided in an embodiment of the present application;
[0073] Figure 3 A structural diagram of a device control device provided in an embodiment of the present application;
[0074] Figure 4 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0075] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0076] Since the return air temperature sensing package of commonly used household cabinets and wall-mounted units is generally installed at the return air of the air conditioner, which is far away from the user's activity area, the temperature and humidity control effect is poor and the user's comfort experience is poor. To this end, the embodiments of the present application provide a device control method, device, electronic device and storage medium.
[0077] The device control method provided in the embodiment of the present application can be applied to an air conditioner or a server. The air conditioner can refer to a household cabinet or a wall-mounted unit, etc. The air conditioner or server of the present application can be linked with a mobile robot, such as Figure 1 As shown, the device control method may include the following steps:
[0078] Step S101, obtaining a first environmental parameter corresponding to the return air outlet of the air conditioner, a second environmental parameter corresponding to the user activity area, and a target adjustment parameter set by the user;
[0079] In the embodiment of the present application, the first environmental parameter refers to a temperature parameter and / or a humidity parameter collected at the return air outlet of the air conditioner, and the first environmental parameter is detected by a return air temperature sensing package and / or a humidity detection device installed at the return air outlet of the air conditioner;
[0080] The second environmental parameter refers to a temperature parameter and / or humidity parameter collected in the user activity area, and the second environmental parameter is detected by a temperature detection device and / or a humidity detection device in the mobile robot, wherein the mobile robot may refer to a cleaning robot, such as a sweeping robot, a floor washing robot, etc.
[0081] The target adjustment parameters are the required parameters set by the user through the remote control or voice, such as the temperature parameters and / or humidity parameters required by the user.
[0082] Step S102, determining a parameter compensation value according to the target adjustment parameter and the second environmental parameter;
[0083] The parameter compensation value in the embodiment of the present application is used to compensate for the first environmental parameter. The purpose of using the parameter compensation value to compensate for the first environmental parameter is to obtain the target environmental parameter after compensating the first environmental parameter, and adjust the opening of the air valve of the air conditioner based on the target environmental parameter, so that after the opening of the air valve is adjusted, the actual environmental parameter of the user's activity area can be closer to the target adjustment parameter set by the user, thereby achieving the effect that the environmental parameter felt by the user is consistent with the environmental parameter set by the user.
[0084] In this step, a deviation value between the target adjustment parameter and the second environmental parameter may be calculated, and a parameter compensation value may be determined based on the deviation value.
[0085] For example, in a cooling application scenario, the target adjustment parameter is 25 degrees, the second environmental parameter is 27 degrees, and the deviation value between the two is 2. Then the parameter compensation value is -2, that is, a decrease of 2 degrees.
[0086] In the heating application scenario, the target adjustment parameter is 28 degrees, the second environmental parameter is 25 degrees, and the deviation between the two is 3. The parameter compensation value is 3, which means an increase of 3 degrees.
[0087] Step S103, using the parameter compensation value to correct the first environmental parameter to obtain a target environmental parameter;
[0088] In this step, the parameter compensation value may be added to the first environmental parameter to obtain the target environmental parameter.
[0089] Step S104, determining the opening value of the air valve of the air conditioner according to the target environmental parameter, so as to adjust the opening value of the air valve.
[0090] The embodiment of the present application determines a parameter compensation value according to a target adjustment parameter set by a user and a second environmental parameter corresponding to the user's activity area, and then uses the parameter compensation value to correct the first environmental parameter to obtain a target environmental parameter. The opening value of the air valve of the air conditioner is determined according to the target environmental parameter for adjusting the opening of the air valve. The final air valve opening adjustment can be determined based on the environmental parameters of the user's activity area, so that the environmental parameters required by the user are accurately applied to the user's activity area, ensuring that the environmental parameters felt by the user are consistent with the environmental parameters required by the user, improving the user's comfort experience, achieving precise control, and avoiding the environmental parameters acting on the user's activity area always failing to meet the user's needs, and the user constantly increasing the adjustment strength to cause energy waste. Therefore, it can effectively guide the energy-saving direction and save energy consumption.
[0091] In another embodiment of the present application, step S101 of acquiring a second environmental parameter corresponding to the user activity area includes:
[0092] Step S201, obtaining the position coordinates of the user activity area in the target space;
[0093] In an embodiment of the present application, the target space may refer to the space where the air outlet of the air conditioner is located, and the user activity area includes the local body activities (such as the head, arms, etc.) of the user at a fixed position and the overall body activities within a certain area. When the user has local body activities at a fixed position, the position coordinates of the fixed position can be obtained; when the user has overall body activities within a certain area, the position coordinates of the center of the area or the position coordinates of multiple points on the boundary of the area can be obtained.
[0094] Step S202: determining a second environmental parameter corresponding to the position coordinate based on a preset fitting surface.
[0095] In the embodiment of the present application, the fitting surface is obtained by performing surface fitting based on environmental measurement data corresponding to a plurality of preset measurement points in the target space.
[0096] In one embodiment of the present application, the fitting method of the fitting surface includes:
[0097] Step S301, controlling the mobile robot to move to a plurality of preset measurement points in the target space;
[0098] After the mobile robot moves to each of the preset measurement points, environmental measurement data can be collected.
[0099] Take the installation of air conditioners in the target space as an example. The plane distribution diagram of the air conditioners and the preset measurement points is as follows: Figure 2 As shown, Figure 2In the figure, A is the air conditioner installation location, and B is the preset measurement point. For example, the mobile robot can feedback the spatial perception data of the indoor three-dimensional space in the range of 0.5 meters to 2 meters by scanning the overall indoor environment.
[0100] Step S302, obtaining environmental measurement data collected by the mobile robot at each preset measurement point;
[0101] Step S303, obtaining a 3D spatial map corresponding to the target space, wherein the 3D spatial map is generated by projecting point cloud data obtained by scanning the target space to generate a depth map, and is established according to the depth map;
[0102] Step S304 , performing surface fitting according to the 3D spatial image and the environmental measurement data corresponding to each preset measurement point to obtain the fitting surface.
[0103] Since the 3D stereoscopic space map corresponding to the space and the environmental measurement data corresponding to each preset measurement point have been obtained, a neural network model can be used to perform surface fitting based on the 3D stereoscopic space map and the environmental measurement data corresponding to each preset measurement point to obtain the fitting surface. In addition to the environmental measurement data corresponding to each preset measurement point, the fitting surface also includes the environmental measurement data corresponding to the position coordinates between any two preset measurement points. In this way, after specifying a position coordinate (the position coordinate of the user activity area), the corresponding second environmental parameter can be obtained based on the fitting surface.
[0104] When performing feedback control in the air conditioning feedback link, the traditional feedforward compensation decoupling control method is usually used. However, as the room load changes, the external environment, and the equipment parameters change during the operation of the system, the degree of coupling between the temperature and humidity of the air-conditioned room will change during the adjustment process. The effect of the decoupling compensation link cannot be maintained all the time, resulting in the temperature and humidity control not achieving the ideal effect.
[0105] In view of the shortcomings of feedforward compensation decoupling control, an intelligent control strategy is adopted to design a system structure that meets the equipment operation principle and working conditions. The artificial neural network is based on the human brain neural network and has established a powerful learning mechanism. It uses the advantages of its network structure to process huge databases.
[0106] In the process of model training, data processing and normalization are first performed;
[0107] Filter out the data that affects air conditioning energy consumption from actual production. First, pre-process the sample data to avoid situations where the input and output data are obviously too small or too large.
[0108] In order to give full play to the influence of each variable and reflect its contribution more accurately, the training data and prediction data are normalized so that the data are in the [0,1] interval. The sample data are processed as follows:
[0109]
[0110] Among them, x max ,x min is the maximum and minimum value in each group of samples, a and b are constant values. x is the variable value before normalization, is the normalized variable value.
[0111] In order to match the actual production parameters, the obtained prediction samples must also be denormalized. The denormalization formula is:
[0112]
[0113] Then, determine the number of nodes, network weights, basis function width and center parameters required for the neural network;
[0114] The network layer is generally built in three layers, so whether it is online or offline training, the convergence and learning speed of the neural network is relatively fast, while achieving approximation with arbitrary precision, strong generalization ability, good performance and high accuracy.
[0115] The general expression of radial basis function is:
[0116] h(x)=Φ((XC) T E -1 (XC)) (1)
[0117] In formula (1), Φ(·) is the radial basis function, E is the transformation matrix, C is the center vector of the radial basis function, (XC) T E -1 (XC) is the distance standard between the input and the center vector.
[0118] Where E can be expressed as: E = σ 2 I, substituting into formula (1), we can get:
[0119]
[0120] In formula (2), σ is the basis width of the radial basis; ||XC|| is the vector norm of the Euclidean distance from X to C.
[0121] The commonly used Gaussian function is selected as the radial basis function in this paper. Its specific expression is: Φ(x) = exp(-X 2 / 2σ 2 ),but:
[0122]
[0123] From formula (3), we can conclude that the output of the jth node in the hidden layer is:
[0124]
[0125] In formula (4),
[0126] C j =(C j1 C j2 ΛC jn ) T The center vector of the jth node; σ j is the basis width vector of the jth hidden layer node; ||XC j || is the vector norm and
[0127] According to formula (3) and the characteristics of radial basis function, h j (X) in b j The maximum value is taken at the point where the reaction is greater as it approaches the center point. Conversely, as ||XC j || gradually increases, h j will decrease exponentially to zero when h j When it is zero, X is away from C j The farther the distance.
[0128] The output layer of the entire network structure is a weighted sum of the output values of all nodes. The output of each node is the product of the radial basis function and the weight, which can be expressed as:
[0129]
[0130] w jm is the weight of the j hidden layer nodes and the mth output node; M is the number of output nodes
[0131] According to the above process description, for example, in the process of training the RBF neural network, it is important to correct its number of nodes, center vector, basis width vector, and network weight σ, and continuously approach the nonlinear function to be described by adjusting the weights.
[0132] Then train and solve the inverse model of the air conditioning temperature and humidity system to determine whether the error meets the requirements;
[0133] Finally, the neural network model is output.
[0134] In another embodiment of the present application, step S101 of acquiring a second environmental parameter corresponding to the user activity area includes:
[0135] Step S401, obtaining the position coordinates of the user activity area and the target height in the target space;
[0136] Since the environmental parameters at different heights of each preset measurement point may be different, the target height for parameter compensation can be obtained. The target height for parameter compensation can be set by the user according to his own needs, or it can be pre-set by the system, for example, according to the average height of the upper body of multiple users.
[0137] By introducing the variable of the target height to be compensated for the parameters, the parameter compensation value can be made different according to the target height to be compensated for the parameters, so that the actual environmental parameters at the target height to be compensated for the parameters required by the user are closer to the target adjustment parameters set by the user, so that the environmental parameters felt by the user are consistent with the environmental parameters set by the user, thereby achieving precise control.
[0138] Step S402: Acquire a preset fitting surface corresponding to the target height.
[0139] In an embodiment of the present application, the fitting surface is obtained by performing surface fitting based on environmental measurement data corresponding to multiple preset measurement points in the target space. That is to say, the target height and the fitting surface are in a one-to-one correspondence. For example, the surface is fitted using environmental measurement data of multiple preset measurement points at a height of 1 meter, and the obtained fitting surface corresponds to a height of 1 meter.
[0140] Step S403: determining a second environmental parameter corresponding to the position coordinate based on the fitting surface.
[0141] In one embodiment of the present application, the fitting method of the fitting surface includes:
[0142] Step S501, controlling the mobile robot to move to a plurality of preset measurement points in the target space;
[0143] Step S502, obtaining environmental measurement data collected by the mobile robot at different heights at each preset measurement point; for example: obtaining environmental measurement data collected at a height of 1 meter at each preset measurement point, environmental measurement data collected at a height of 1.5 meters at each preset measurement point, etc.
[0144] Step S503, obtaining a 3D stereoscopic space map corresponding to the target space, wherein the 3D stereoscopic space map is generated by projecting point cloud data obtained by scanning the target space to generate a depth map, and is established according to the depth map;
[0145] Step S504 , performing surface fitting according to the 3D spatial image and the environmental measurement data corresponding to different heights of each preset measurement point, to obtain the fitting surfaces corresponding to multiple heights.
[0146] Since the 3D stereoscopic space map corresponding to the space and the environmental measurement data corresponding to different heights of each preset measurement point have been obtained, a neural network model can be used to perform surface fitting based on the 3D stereoscopic space map and the environmental measurement data corresponding to different heights of each preset measurement point to obtain fitting surfaces corresponding to multiple heights. In addition to the environmental measurement data corresponding to each preset measurement point, the fitting surface also includes the environmental measurement data corresponding to the position coordinates between any two preset measurement points. In this way, after specifying a position coordinate (the position coordinate of the user activity area), the corresponding second environmental parameter can be obtained based on the fitting surface.
[0147] In another embodiment of the present application, step S104 determines the opening value of the air valve of the air conditioner according to the target environmental parameter, including:
[0148] Step S601, obtaining the current actual value of air volume;
[0149] In the embodiment of the present application, the actual air volume value is the air volume value detected by the air volume sensor arranged at the air valve.
[0150] Step S602, determining an air volume setting value according to the target environmental parameter and the target adjustment parameter;
[0151] In this step, the temperature and humidity controller can be used to automatically calculate the air volume setting value according to the deviation between the target environmental parameters and the target adjustment parameters.
[0152] Step S603, determining the opening value of the air valve according to the air volume setting value and the actual air volume value.
[0153] In this step, the air volume controller can be used to automatically calculate the opening value of the air valve according to the deviation between the air volume set value and the actual air volume value.
[0154] The embodiment of the present application calculates the opening value of the air valve by using the parameter compensation value to compensate and correct the first environmental parameter to obtain the target environmental parameter, so that the final opening adjustment of the air valve is based on the environmental parameters of the user's activity area. That is, the environmental parameters required by the user are accurately applied to the user's activity area, ensuring that the environmental parameters felt by the user are consistent with the environmental parameters required by the user, improving the user's comfort experience, achieving precise control, and avoiding the environmental parameters acting on the user's activity area always failing to meet the user's needs, and the user constantly increasing the adjustment strength to cause energy waste. Therefore, it can effectively guide the energy-saving direction and save energy consumption.
[0155] In a public place with a large area, using the above embodiment to obtain the second environmental parameter corresponding to the user activity area will result in too much data and occupy a large amount of system resources. Therefore, in another embodiment of the present application, step S101 obtains the second environmental parameter corresponding to the user activity area, including:
[0156] Step S701, obtaining the crowd density of the user activity area in the target space;
[0157] Crowd density may refer to the degree of crowd density, and may be obtained, for example, by a counter for accumulating the number of people in a target space, or by accumulating the number of imaging areas representing different human bodies in an infrared thermal image, and the like.
[0158] Step S702: Acquire, from a data set corresponding to the target space, an environmental parameter corresponding to the crowd density as the second environmental parameter.
[0159] Since the areas of different spaces are different, the environmental parameters corresponding to different crowd densities are also different. Therefore, different data sets can be set in advance for different spaces. The data sets include the corresponding relationships between multiple groups of crowd densities and environmental parameters, that is, different crowd densities correspond to different environmental parameters, such as: if the crowd density is 10,000, the temperature parameter is 30 degrees, if the crowd density is 10, the temperature parameter is 22 degrees, and so on.
[0160] In this step, a data set corresponding to the target environment may be first obtained, and an environmental parameter corresponding to the crowd density may be searched in the data set, and the environmental parameter may be used as the second environmental parameter.
[0161] The embodiment of the present application can automatically obtain the second environmental parameter for public places without processing a large amount of data resources, but can still obtain the actual environmental parameters of the user's activity area, and then, the final air valve opening adjustment is based on the environmental parameters of the user's activity area, that is, the environmental parameters required by the user are accurately applied to the user's activity area, ensuring that the environmental parameters felt by the user are consistent with the environmental parameters required by the user, improving the user's comfort experience, achieving precise control, and avoiding the environmental parameters acting on the user's activity area always failing to meet user needs, and the user constantly increasing the adjustment strength to cause energy waste. Therefore, it can effectively guide the energy-saving direction and save energy consumption.
[0162] In another embodiment of the present application, a device control device is also provided, such as Figure 3 As shown, including:
[0163] An acquisition module 11 is used to acquire a first environmental parameter corresponding to the return air outlet of the air conditioner, a second environmental parameter corresponding to the user activity area, and a target adjustment parameter set by the user;
[0164] A first determining module 12, configured to determine a parameter compensation value according to the target adjustment parameter and the second environmental parameter;
[0165] A correction module 13, configured to correct the first environmental parameter using the parameter compensation value to obtain a target environmental parameter;
[0166] The second determination module 14 is used to determine the opening value of the air valve of the air conditioner according to the target environmental parameter, so as to adjust the opening value of the air valve.
[0167] Optionally, the acquisition module includes:
[0168] A first acquisition unit, used to acquire the position coordinates of the user activity area in the target space;
[0169] The first determination unit is used to determine a second environmental parameter corresponding to the position coordinate based on a preset fitting surface, wherein the fitting surface is obtained by performing surface fitting based on environmental measurement data corresponding to a plurality of preset measurement points in the target space.
[0170] Optionally, the device further comprises:
[0171] A first control module, used for controlling the mobile robot to move to a plurality of preset measurement points in the target space;
[0172] A first data acquisition module, used to acquire environmental measurement data collected by the mobile robot at each preset measurement point;
[0173] A first spatial map acquisition module is used to acquire a 3D spatial map corresponding to the target space, wherein the 3D spatial map is generated by projecting point cloud data obtained by scanning the target space to generate a depth map, and is established according to the depth map;
[0174] The first fitting module is used to perform surface fitting according to the 3D stereoscopic space diagram and the environmental measurement data corresponding to each preset measurement point to obtain the fitting surface.
[0175] Optionally, the acquisition module includes:
[0176] A second acquisition unit is used to acquire the position coordinates of the user activity area and the target height in the target space;
[0177] A third acquisition unit is used to acquire a preset fitting surface corresponding to the target height, where the fitting surface is obtained by performing surface fitting based on environmental measurement data corresponding to a plurality of preset measurement points in the target space;
[0178] A second acquisition unit is used to determine a second environmental parameter corresponding to the position coordinate based on the fitting surface.
[0179] Optionally, the device further comprises:
[0180] A second control module is used to control the mobile robot to move to a plurality of preset measurement points in the target space;
[0181] A second data acquisition module is used to acquire environmental measurement data collected by the mobile robot at different heights of each preset measurement point;
[0182] A second spatial map acquisition module is used to acquire a 3D spatial map corresponding to the target space, wherein the 3D spatial map is generated by projecting point cloud data obtained by scanning the target space to generate a depth map, and is established according to the depth map;
[0183] The second fitting module is used to perform surface fitting according to the 3D spatial diagram and the environmental measurement data corresponding to different heights of each preset measurement point, so as to obtain the fitting surfaces corresponding to multiple heights.
[0184] Optionally, the second determining module includes:
[0185] The fourth acquisition unit is used to acquire the current actual value of the air volume;
[0186] A second determining unit, configured to determine an air volume setting value according to the target environmental parameter and the target adjustment parameter;
[0187] The third determining unit is used to determine the opening value of the air valve according to the air volume setting value and the actual air volume value.
[0188] Optionally, the acquisition module includes:
[0189] A fifth acquisition unit, used to acquire the crowd density of the user activity area in the target space;
[0190] The sixth acquisition unit is used to acquire, from the data set corresponding to the target space, an environmental parameter corresponding to the crowd density as the second environmental parameter.
[0191] In an embodiment of the present application, an electronic device is also provided, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus;
[0192] Memory, used to store computer programs;
[0193] The processor is used to implement the device control method described in any of the above method embodiments when executing the program stored in the memory.
[0194] In the electronic device provided by the embodiment of the present invention, the processor implements the determination of the parameter compensation value according to the target adjustment parameter set by the user and the second environmental parameter corresponding to the user activity area by executing the program stored in the memory, and then uses the parameter compensation value to correct the first environmental parameter to obtain the target environmental parameter, and determines the opening value of the air valve of the air conditioner according to the target environmental parameter for adjusting the opening of the air valve. The final air valve opening adjustment can be determined based on the environmental parameters of the user activity area, so that the environmental parameters required by the user are accurately applied to the user activity area, ensuring that the environmental parameters felt by the user are consistent with the environmental parameters required by the user, improving the user's comfort experience, achieving precise control, and avoiding the environmental parameters acting on the user's activity area always failing to meet the user's needs, and the user constantly increasing the adjustment strength to cause energy waste. Therefore, it can effectively guide the energy-saving direction and save energy consumption.
[0195] The communication bus 1140 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 1140 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0196] The communication interface 1120 is used for communication between the above electronic device and other devices.
[0197] The memory 1130 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 aforementioned processor.
[0198] The above-mentioned processor 1110 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 gates or transistor logic devices, discrete hardware components.
[0199] In another embodiment of the present application, a computer-readable storage medium is provided, on which a program of a device control method is stored. When the program of the device control method is executed by a processor, the steps of the device control method described in any of the aforementioned method embodiments are implemented.
[0200] It should be noted that, in this article, relational terms such as "first" and "second" 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 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 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 device including the elements.
[0201] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A device control method, characterized in that: include: Obtaining a first environmental parameter corresponding to the return air outlet of the air conditioner, a second environmental parameter corresponding to the user activity area, and a target adjustment parameter set by the user; Determining a parameter compensation value according to the target adjustment parameter and the second environmental parameter; Correcting the first environmental parameter using the parameter compensation value to obtain a target environmental parameter; Determining the opening value of the air valve of the air conditioner according to the target environmental parameter to adjust the opening value of the air valve; Acquiring a second environment parameter corresponding to the user activity area includes: Obtaining the position coordinates of the user activity area in the target space and the target height, wherein the target height is set according to the average height of the upper bodies of multiple users; Acquire a preset fitting surface corresponding to the target height, wherein the fitting surface is obtained by performing surface fitting based on environmental measurement data corresponding to a plurality of preset measurement points in the target space, and the fitting surface includes environmental measurement data corresponding to each preset measurement point and environmental measurement data corresponding to position coordinates between any two preset measurement points; A second environmental parameter corresponding to the position coordinate is determined based on the fitting surface.
2. The method according to claim 1, characterized in that Acquiring a second environment parameter corresponding to the user activity area includes: Obtain the location coordinates of the user's activity area in the target space; A second environmental parameter corresponding to the position coordinate is determined based on a preset fitting surface, wherein the fitting surface is obtained by performing surface fitting based on environmental measurement data corresponding to a plurality of preset measurement points in the target space.
3. The method according to claim 2, characterized in that The method further comprises: Controlling the mobile robot to move to a plurality of preset measurement points in the target space; Acquiring environmental measurement data collected by the mobile robot at each preset measurement point; Acquire a 3D spatial map corresponding to the target space, wherein the 3D spatial map is generated by projecting point cloud data obtained by scanning the target space to generate a depth map, and is established according to the depth map; Surface fitting is performed according to the 3D spatial diagram and the environmental measurement data corresponding to each preset measurement point to obtain the fitting surface.
4. The method according to claim 1, characterized in that: The method further comprises: Controlling the mobile robot to move to a plurality of preset measurement points in the target space; Acquire environmental measurement data collected by the mobile robot at different heights at each preset measurement point; Acquire a 3D spatial map corresponding to the target space, wherein the 3D spatial map is generated by projecting point cloud data obtained by scanning the target space to generate a depth map, and is established according to the depth map; Surface fitting is performed based on the 3D spatial diagram and environmental measurement data corresponding to different heights of each preset measurement point to obtain the fitting surfaces corresponding to multiple heights.
5. The method according to claim 1, characterized in that Determining the opening value of the air valve of the air conditioner according to the target environmental parameter includes: Get the current actual value of air volume; Determine the air volume setting value according to the target environmental parameter and the target adjustment parameter; The opening value of the air valve is determined according to the air volume setting value and the actual air volume value.
6. The method according to claim 1, characterized in that Acquiring a second environment parameter corresponding to the user activity area includes: Obtain the crowd density in the user activity area within the target space; In the data set corresponding to the target space, an environmental parameter corresponding to the crowd density is obtained as the second environmental parameter.
7. A device control device, characterized in that: include: The acquisition module is used to acquire the first environmental parameter corresponding to the return air outlet of the air conditioner, the second environmental parameter corresponding to the user activity area, and the target adjustment parameter set by the user, wherein acquiring the second environmental parameter corresponding to the user activity area includes: Obtaining the position coordinates of the user activity area in the target space and the target height, wherein the target height is set according to the average height of the upper bodies of multiple users; Acquire a preset fitting surface corresponding to the target height, wherein the fitting surface is obtained by performing surface fitting based on environmental measurement data corresponding to a plurality of preset measurement points in the target space, and the fitting surface includes environmental measurement data corresponding to each preset measurement point and environmental measurement data corresponding to position coordinates between any two preset measurement points; Determine a second environmental parameter corresponding to the position coordinate based on the fitting surface; A first determining module, used to determine a parameter compensation value according to the target adjustment parameter and the second environmental parameter; A correction module, used for correcting the first environmental parameter using the parameter compensation value to obtain a target environmental parameter; The second determination module is used to determine the opening value of the air valve of the air conditioner according to the target environmental parameter, so as to adjust the opening value of the air valve.
8. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the device control method described in any one of claims 1 to 6 when executing the program stored in the memory.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program of the device control method, and when the program of the device control method is executed by the processor, the steps of the device control method described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Air conditioner control method with compressor control temperature difference compensation function
CN101769583A
Control method and device of air conditioner and air conditioner
CN111895583A
Air conditioning system, control method of air conditioning system and computer readable storage medium
CN113739376A
Air conditioner temperature control method and system and related equipment
CN115111713A
