Air conditioner and its air conditioning control method, computer-readable storage medium
By acquiring the motion data and attitude angles of the air conditioner, a machine learning model is used to identify the type of motion state of the air conditioner and execute corresponding protective operations. This solves the problem of insufficient identification of safety hazards caused by the inertia of small air conditioners during movement and improves the safety of air conditioner use.
Patent Information
- Application Number
- CN202110618677.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-03
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2041-06-03
AI Technical Summary
The existing small air conditioners have safety hazards such as water tank leakage and compressor vibration caused by motion inertia during movement that cannot be effectively detected by the tilt switch, affecting the safety of use.
By acquiring the air conditioner's motion data and attitude angles, a machine learning model is used to identify the air conditioner's motion state type, and corresponding protective operations are performed based on the state type, including compressor frequency reduction or shutdown, fan shutdown, etc., to ensure the safe operation of the air conditioner.
It improves the accuracy of identifying safety hazards during air conditioner use, ensuring that air conditioners can take timely protective measures and improve safety during use.
Smart Images

Figure CN115435456B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air conditioning technology, and more particularly to air conditioning control methods, air conditioners, and computer-readable storage media. Background Technology
[0002] With the development of economy and technology, air conditioners are being used more and more widely, and the types of air conditioners are becoming more and more diversified. Among them, small air conditioners such as portable air conditioners and handheld air conditioners are very popular due to their small size, ease of carrying and placement.
[0003] Currently, tilt switches are typically installed on small air conditioners to detect potential safety hazards such as water tank leaks and compressor tilting when the air conditioner is tilted. However, the inertia of the air conditioner during movement can also cause water tank leaks and compressor vibrations, and tilt switches cannot effectively detect this movement state. As a result, safety hazards that may occur during air conditioner use cannot be accurately identified, affecting the safety of air conditioner use. Summary of the Invention
[0004] The main objective of this invention is to provide an air conditioning control method, an air conditioner, and a computer-readable storage medium, which aims to improve the accuracy of identifying safety hazards during air conditioning use and enhance the safety of air conditioning use.
[0005] To achieve the above objectives, the present invention provides an air conditioning control method, the air conditioning control method comprising the following steps:
[0006] Acquire motion data and attitude angles of the air conditioner;
[0007] The motion state type of the air conditioner is determined based on the motion data and the attitude angle;
[0008] The air conditioner is controlled to perform corresponding protective operations based on the type of motion state.
[0009] Optionally, the step of determining the motion state type of the air conditioner based on the motion data and the attitude angle includes:
[0010] The motion data and the attitude angle are input into a preset state classification model and the output result is obtained; the preset state classification model is a pre-set machine learning model used to identify the motion state type of the air conditioner.
[0011] The motion state type is determined based on the output result.
[0012] Optionally, before the step of inputting the motion data and the attitude angle into a preset state classification model and obtaining the output result, the method further includes:
[0013] Obtain data sample sets corresponding to different preset motion state types; the data sample sets include multiple detection data of the air conditioner in the state corresponding to the preset motion state type, and the detection data is data containing the motion information and attitude angle information of the air conditioner;
[0014] Extract the data feature value of each detection data in the sample dataset, and determine the identification information of each data feature value according to the preset motion state type corresponding to each detection data;
[0015] A preset machine learning model is trained based on the data feature values and their corresponding identification information to obtain the preset state classification model.
[0016] Optionally, different preset motion state types correspond to different air conditioning safety levels, and the air conditioning safety level corresponding to the preset motion state type decreases as the motion change parameter of the air conditioner increases.
[0017] Optionally, the preset motion state type includes a first preset type, a second preset type, and a third preset type;
[0018] Under the first preset type, the first speed change parameter of the air conditioner is less than the first speed change threshold, and the first rotation angle of the air conditioner is less than the first set angle;
[0019] Under the second preset type, the second speed change parameter of the air conditioner is less than the first speed change threshold, the second rotation angle of the air conditioner is greater than or equal to the first set angle, and the second rotation angle is less than the second set angle;
[0020] Under the third preset type, the third speed change parameter of the air conditioner is greater than or equal to the first speed change threshold or the third rotation angle of the air conditioner is greater than or equal to the second set angle.
[0021] The air conditioner corresponding to the first preset type is in a safe state, while the air conditioners corresponding to the second and third preset types have safety risks. The safety risk corresponding to the second preset type is lower than that corresponding to the third preset type. The motion change parameters include the first speed change parameter, the second speed change parameter, the third speed change parameter, the first rotation angle, the second rotation angle, and the third rotation angle.
[0022] Optionally, after determining the motion state type of the air conditioner based on the motion data and the attitude angle, the method further includes:
[0023] When the motion state type is the first target type, control the air conditioner to maintain the current state of operation;
[0024] When the motion state type is the second target type, the step of controlling the air conditioner to perform the corresponding protective operation according to the motion state type is executed;
[0025] The air conditioner corresponding to the first target type is in a safe state, while the air conditioner corresponding to the second target type has a safety risk.
[0026] Optionally, the step of controlling the air conditioner to perform corresponding protective operations based on the motion state type includes:
[0027] When the motion state type is the second preset type in the second target type, the compressor of the air conditioner is controlled to operate at a reduced frequency;
[0028] When the motion state type is the third preset type in the second target type, the compressor and fan of the air conditioner are controlled to stop running;
[0029] The security risk corresponding to the second preset type is lower than the security risk corresponding to the third preset type.
[0030] Optionally, the step of acquiring the motion data and attitude angle of the air conditioner includes:
[0031] The acceleration data, angular velocity data, and tilt angle data of the air conditioner in three axes are detected. The motion data includes the acceleration data and angular velocity data, and the attitude angle includes the tilt angle data.
[0032] In addition, to achieve the above objectives, this application also proposes an air conditioner, the air conditioner comprising: a memory, a processor, and an air conditioning control program stored in the memory and executable on the processor, wherein the air conditioning control program, when executed by the processor, implements the steps of the air conditioning control method as described in any of the preceding claims.
[0033] In addition, to achieve the above objectives, this application also proposes a computer-readable storage medium storing an air conditioning control program, which, when executed by a processor, implements the steps of the air conditioning control method as described in any of the preceding claims.
[0034] This invention proposes an air conditioning control method that combines the air conditioner's motion data and attitude angles to identify the air conditioner's motion state type, and controls the air conditioner to perform corresponding protective operations based on the determined motion state type. Different motion state types can represent different air conditioner safety levels. Since the motion state type representing the air conditioner's current safety level is determined by combining the air conditioner's motion data and attitude angles, safety hazards caused by the air conditioner due to tilting or motion inertia can be accurately identified, thereby improving the accuracy of safety hazard identification during air conditioner use, ensuring that the air conditioner can take corresponding protective operations in a timely manner, and improving the safety of air conditioner use. Attached Figure Description
[0035] Figure 1 This is a schematic diagram of the hardware structure involved in the operation of an embodiment of the air conditioner of the present invention;
[0036] Figure 2 This is a flowchart illustrating an embodiment of the air conditioning control method of the present invention;
[0037] Figure 3 This is a schematic flowchart of another embodiment of the air conditioning control method of the present invention;
[0038] Figure 4 This is a flowchart illustrating another embodiment of the air conditioning control method of the present invention.
[0039] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0040] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0041] The main solution of this invention is: acquiring the motion data and attitude angle of the air conditioner; determining the motion state type of the air conditioner based on the motion data and attitude angle; and controlling the air conditioner to perform corresponding protective operations based on the motion state type.
[0042] In existing technology, tilt switches are typically installed on small air conditioners to identify safety hazards such as water tank leakage and compressor tilting when the air conditioner is tilted. However, during the movement of the air conditioner, the inertia of motion can also cause safety hazards such as water tank leakage and compressor vibration. The tilt switch cannot effectively detect this movement state of the air conditioner, resulting in the inaccurate identification of safety hazards during air conditioner use and affecting the safety of air conditioner use.
[0043] The present invention provides the above-mentioned solution, which aims to improve the accuracy of identifying safety hazards during the use of air conditioners and improve the safety of air conditioner use.
[0044] This invention provides an air conditioner. In this embodiment, the air conditioner is a portable air conditioner, a handheld air conditioner, or other air conditioner whose position can be changed during use. In other embodiments, the air conditioner may also be an air conditioner whose position is fixed relative to the installation area during use, such as a cabinet air conditioner or a window air conditioner.
[0045] In this embodiment, the air conditioner includes a housing, a first heat exchanger, a compressor, a second heat exchanger, a fan, and a water tank. Specifically, the first heat exchanger, the compressor, the second heat exchanger, the fan, and the water tank are all installed inside the housing.
[0046] The first heat exchanger, compressor, second heat exchanger, and other components are connected to form a refrigerant circulation loop. The fans specifically include a first fan and a second fan, with the first fan corresponding to the first heat exchanger and the second fan corresponding to the second heat exchanger.
[0047] The water tank is specifically used to collect condensate generated during the heat exchange process of the first or second heat exchanger. Specifically, a drip tray may be installed below the first and / or second heat exchanger, and the water tank can be connected to the outlet of the drip tray. The condensate generated during the heat exchange process of the first or second heat exchanger can drip into the drip tray and flow into the water tank through the outlet of the drip tray. The water tank is open, and water inside may leak out due to the inertia of the air conditioner during tilting or movement.
[0048] When the compressor is in the preset position (such as vertical placement), it operates normally. When the compressor deviates from the preset position (such as tilting) or vibrates, the pressure of the refrigerant circulation system rises abnormally, and the compressor operates under a higher pressure environment, reducing its service life.
[0049] Furthermore, the air conditioner also includes a motion detection module and an attitude angle detection module, both fixed to the housing. The motion detection module detects the air conditioner's motion data; the attitude angle detection module detects the air conditioner's attitude angle data. Specifically, the motion data detected by the motion detection module may include the air conditioner's three-axis acceleration and / or three-axis angular velocity. The attitude angle data detected by the attitude angle detection module may include the air conditioner's attitude angles, such as pitch angle, roll angle, and / or yaw angle.
[0050] Specifically, to reduce the installation space of the detection module and improve the synchronization of motion data and attitude angle data detection, the motion detection module and the attitude angle detection module are the same detection module, such as a gyroscope. Specifically, in this embodiment, the detection module is a six-axis MEMS gyroscope. The gyroscope can simultaneously detect the motion data and attitude angle of the air conditioner.
[0051] Furthermore, refer to Figure 1The air conditioner also includes a control device. This control device can be built into the aforementioned housing or located independently outside the housing. The compressor 1, fan 2, and gyroscope 3 are all connected to this control device. The control device can control the operation of the compressor 1 and fan 2, and can also acquire data detected by the gyroscope 3.
[0052] In this embodiment of the invention, reference is made to Figure 1 The control device includes a processor 1001 (e.g., CPU), a memory 1002, etc. The processor 1001 is connected to the memory 1002. The memory 1002 can be a high-speed RAM or a stable memory (non-volatile memory), such as a disk storage device. Optionally, the memory 1002 can also be a storage device independent of the aforementioned processor 1001.
[0053] Memory 1002 can be used to store the preset state classification model involved in the air conditioning control method below.
[0054] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0055] like Figure 1 As shown, the memory 1002, which is a computer-readable storage medium, may include an air conditioning control program. Figure 1 In the device shown, the processor 1001 can be used to call the air conditioning control program stored in the memory 1002 and execute the relevant steps of the air conditioning control method in the following embodiments.
[0056] This invention also provides an air conditioning control method for controlling the aforementioned air conditioner.
[0057] Reference Figure 2 This application proposes an embodiment of an air conditioning control method. In this embodiment, the air conditioning control method includes:
[0058] Step S10: Obtain the motion data and attitude angles of the air conditioner;
[0059] Specifically, step S10 can be performed when the air conditioner is on or off.
[0060] The motion data specifically refers to the data on the currently detected changes in the air conditioner's motion. This motion data specifically includes the air conditioner's speed change data (such as acceleration data and / or angular velocity change data), velocity data, and / or displacement data. In this embodiment, the motion data is detected by a gyroscope installed on the air conditioner. In other embodiments, the motion data can also be detected by other motion sensors installed on the air conditioner. For example, the air conditioner's speed can be acquired at set intervals using a speed sensor, and the speed change per unit time can be calculated based on the detected speed and the set interval as the motion data. Alternatively, the motion data can also be detected by an external detection module (such as a camera).
[0061] The attitude angle specifically refers to the characteristic data of the currently detected air conditioner attitude angle. The attitude angle includes the currently detected pitch angle, roll angle, and / or yaw angle of the air conditioner. In this embodiment, the attitude angle can be detected by a gyroscope installed on the air conditioner. In other embodiments, the attitude angle can also be obtained by analyzing motion detection data detected at different times by motion sensors located at different positions on the air conditioner, based on the detection time, motion detection data, and the corresponding sensor positions; alternatively, the attitude angle can also be detected by an external detection module (such as a camera).
[0062] Furthermore, to ensure the accuracy of the subsequently determined air conditioner motion state type, thereby further enhancing the safety of air conditioner use, in this embodiment, step S10 includes: detecting the acceleration data, angular velocity data, and tilt angle data of the air conditioner in three-axis directions. The motion data includes the acceleration data and angular velocity data, and the attitude angle includes the tilt angle data. Here, the three axes specifically refer to the three coordinate axes in a pre-set spatial coordinate system, such as the x-axis, y-axis, and z-axis. The origin of the spatial coordinate system can be selected according to actual needs. In this embodiment, the origin is located on the air conditioner; in other embodiments, the origin may be located outside the air conditioner. The acceleration data includes the acceleration of the air conditioner on each axis, the angular velocity data includes the angular velocity of the air conditioner on each axis, and the tilt angle data specifically includes the rotation angle (pitch angle, roll angle, and yaw angle) of the air conditioner on each axis.
[0063] Step S20: Determine the motion state type of the air conditioner based on the motion data and the attitude angle;
[0064] The types of movement states are specifically categorized based on the safety levels corresponding to each of the various movement states of the air conditioner. Different movement state types correspond to different safety levels for the air conditioner. The higher the safety level, the lower the safety risk of the air conditioner; conversely, the lower the safety level, the higher the safety risk. Here, movement state refers to the state in which the air conditioner moves relative to fixed objects such as the ground in its space due to external forces (such as human movement) during use.
[0065] The correspondence between motion data, attitude angles, and motion state types can be indirect. For example, an indirect correspondence includes a first correspondence between attitude angles, motion data, and motion states or state representation parameters, and a second correspondence between motion states or state representation parameters and their types. The first correspondence can be a mapping relationship, a calculation relationship, an algorithm model, etc., and the second correspondence can also be a mapping relationship, an algorithm model, etc. Based on this, using the first correspondence, the current motion state or state representation parameters of the air conditioner can be determined first using attitude angles and motion data. Then, based on the second correspondence, the type of motion state to which the air conditioner belongs can be determined according to the preset correspondence between the determined motion state or state representation parameters and their types. Alternatively, the correspondence between motion data, attitude angles, and motion state types can also be direct, and this correspondence can be a mapping relationship, an algorithm model, etc. Specifically, through a direct correspondence, the type of air conditioner motion state corresponding to the attitude angles and motion data can be directly determined without using other intermediate parameters.
[0066] Step S30: Control the air conditioner to perform the corresponding protection operation according to the motion state type.
[0067] The protective operations here specifically refer to operations used to improve the safety level of the air conditioner (reduce the safety risks of the air conditioner). Specific operation content can be set according to actual conditions; for example, it can control the compressor to reduce its frequency, control the fan to reduce its operating speed, control the compressor to stop, control the fan to stop, etc. In addition, it can also output corresponding prompts based on the safety level represented by the current motion state type. Different safety levels correspond to different prompts, allowing users to adjust the air conditioner's motion state in a timely manner to ensure its safe operation.
[0068] Different motion states require different protective actions, and these actions reduce safety risks to varying degrees. Specifically, the higher the safety level of a motion state (i.e., the lower the safety risk), the lower the degree of safety risk reduction that the protective action can provide, ensuring that the air conditioner operates at its best performance level while maintaining a safe operating condition.
[0069] This invention proposes an air conditioning control method that combines the air conditioner's motion data and attitude angle to identify the air conditioner's motion state type, and controls the air conditioner to perform corresponding protective operations based on the determined motion state type. Different motion state types represent different air conditioner safety levels. Since the motion state type representing the air conditioner's current safety level is determined by combining the air conditioner's motion data and attitude angle, safety hazards caused by the air conditioner due to tilting or motion inertia can be accurately identified, thereby improving the accuracy of safety hazard identification during air conditioner use, ensuring that the air conditioner can take corresponding protective operations in a timely manner, and improving the safety of air conditioner use.
[0070] Furthermore, based on the above embodiments, another embodiment of the air conditioning control method of this application is proposed. In this embodiment, reference is made to... Figure 3 The pre-established correspondence between motion data, attitude angles, and motion state types constitutes a machine learning model. Step S20 includes:
[0071] Step S21: Input the motion data and the attitude angle into a preset state classification model and obtain the output result; the preset state classification model is a pre-set machine learning model for identifying the motion state type of the air conditioner;
[0072] The pre-defined state classification model can be obtained by training pre-collected motion data and attitude angle-related data samples. The type of pre-defined state classification model can be a neural network model, support vector machine (SVM), KNN algorithm, etc.
[0073] Step S22: Determine the motion state type based on the output result.
[0074] Specifically, the motion data and attitude angles obtained from the current detection are input into the preset state classification model. The preset state classification model will extract features from the input data, classify it, and output the classification result. If the classification result output by the preset state classification model is a single classification result, the output classification result can be directly used as the motion state type to which the air conditioner's current motion state belongs. If there are more than one classification result, and each classification result has its corresponding probability information, then the type with the highest probability among the classification results will be used as the motion state type to which the air conditioner's current motion state belongs.
[0075] If the motion data and attitude angles include multiple sub-motion data and sub-angles detected at different times, a preset number of target sub-motion data with the largest value can be determined from the multiple sub-motion data, and a preset number of target sub-angle data with the largest value can be determined from the multiple sub-angle data. The target sub-motion data and target sub-angle data are then input into a preset state classification model. Based on the output of the preset state classification model, the motion state type of the air conditioner's current motion state is determined, thereby improving the accuracy of the determined motion state type and further improving the accuracy of air conditioner safety hazard identification, thus enhancing the safety of air conditioner use.
[0076] In this embodiment, a pre-set machine learning model is used to determine the motion state type corresponding to the current air conditioner motion data and attitude angle. Compared with other correspondences obtained based on simulation experiments, this ensures that the determined motion state type is closer to the actual motion state of the air conditioner and can more accurately represent the current safety risks of the air conditioner. This allows the air conditioner to take timely protective measures based on the current safety risk situation to ensure the safe use of the air conditioner.
[0077] Furthermore, in this embodiment, the process of determining the preset state classification model before step S21 is as follows:
[0078] Step S01: Obtain data sample sets corresponding to different preset motion state types; the data sample sets include multiple detection data of the air conditioner in the state corresponding to the preset motion state type, and the detection data is data containing the motion information and attitude angle information of the air conditioner;
[0079] Specifically, based on the safety level corresponding to each of the various operating states of the air conditioner, the multiple operating states are divided into several preset operating state types. Different preset operating state types correspond to different safety levels of the air conditioner. The higher the safety level, the lower the safety risk of the air conditioner; the lower the safety level, the higher the safety risk of the air conditioner. Here, the operating state refers to the state in which the air conditioner moves relative to fixed objects such as the ground in its space due to external forces (such as human movement) during use.
[0080] When the air conditioner is in different preset motion states, multiple motion data and multiple attitude angle data are detected to obtain multiple detection data. Specifically, the detection data is the data detected by the gyroscope installed on the air conditioner. Different preset motion state types correspond to multiple detection data.
[0081] For example, when the preset motion state types include a first preset type, a second preset type, and a third preset type, when the air conditioner is in the motion state corresponding to the first preset type, multiple data points detected by the air conditioner gyroscopes can be read to obtain multiple first detection data points; when the air conditioner is in the motion state corresponding to the second preset type, multiple data points detected by the air conditioner gyroscopes can be read to obtain multiple second detection data points; and when the air conditioner is in the motion state corresponding to the third preset type, multiple data points detected by the air conditioner gyroscopes can be read to obtain multiple third detection data points. The obtained first, second, and third detection data points contain the motion and attitude angle of the air conditioner in different types of motion states. The dataset of the first, second, and third detection data points can be used as the sample dataset here.
[0082] Step S02: Extract the data feature value of each detection data in the sample dataset, and determine the identification information of each data feature value according to the preset motion state type corresponding to each detection data;
[0083] Specifically, the data feature values can be obtained by processing each detection data point according to the feature extraction algorithm of a preset machine learning model, and the result can be used as the data feature value. Different preset machine learning models may correspond to different feature extraction algorithms.
[0084] The identification information specifically includes positive sample identifiers and negative sample identifiers. Specifically, the data feature value corresponding to a preset motion state type can be identified as the positive sample identifier for that preset motion state type, while other data feature values besides those corresponding to the preset motion state type can be identified as the negative sample identifier for that preset motion state type. Each detection data point has one corresponding data feature value and multiple identification information points. The number of identification information points corresponding to one detection data point is the same as the number of preset motion state types; that is, each detection data point carries a sub-sample identifier corresponding to each preset motion state type.
[0085] Specifically, the first detection data can be identified as a positive sample of a first preset type, and the second and third detection data can be identified as negative samples of the first preset type; the second detection data can be identified as a positive sample of a second preset type, and the first and third detection data can be identified as negative samples of a second preset type; the third detection data can be identified as a positive sample of a third preset type, and the second and first detection data can be identified as negative samples of a third preset type.
[0086] Step S03: Train a preset machine learning model based on the data feature values and their corresponding identification information to obtain the preset state classification model.
[0087] The preset machine learning model is a machine learning model in which the hyperparameters have been determined in advance, but the model parameters are yet to be determined.
[0088] Multiple data feature values and the corresponding identifier information for each data feature value are used to train the preset machine learning model to determine the model parameters in the preset machine learning model. The machine learning model with determined hyperparameters and model parameters is used as the preset state classification model here. The classification result output by the preset state classification model includes the air conditioning motion state type corresponding to the currently output motion data and attitude angle.
[0089] In this embodiment, a preset state classification model is trained using air conditioner detection data when the motion state type is known. This ensures that the classification results obtained by the determined preset state classification model when analyzing motion data and attitude angles are more consistent with the actual motion state of the air conditioner, thereby further improving the accuracy of the air conditioner safety hazards represented by the motion state and further ensuring the safe operation of the air conditioner.
[0090] Furthermore, in this embodiment, different preset motion state types correspond to different air conditioner safety levels, and the air conditioner safety level corresponding to the preset motion state type decreases as the motion change parameter of the air conditioner increases. A larger motion change parameter indicates a larger motion amplitude of the air conditioner, a lower safety level, and a lower safety risk. Conversely, a smaller motion change parameter indicates a smaller motion amplitude of the air conditioner, a higher safety level, and a higher safety risk. The number of safety levels can be the same as the number of preset motion state types. In this embodiment, the air conditioner is in a safe state at the highest safety level. Levels other than the highest safety level can be considered as having a safety risk. In other embodiments, the air conditioner has a safety risk at the highest safety level but is in a state with the lowest safety risk.
[0091] Furthermore, in this embodiment, the motion change parameters include the first velocity change parameter, the second velocity change parameter, the third velocity change parameter, the first rotation angle, the second rotation angle, and the third rotation angle. Different preset motion state types include a first preset type, a second preset type, and a third preset type.
[0092] Under the first preset type, the first speed change parameter of the air conditioner is less than the first speed change threshold, and the first rotation angle of the air conditioner is less than the first set angle;
[0093] Under the second preset type, the second speed change parameter of the air conditioner is less than the first speed change threshold, the second rotation angle of the air conditioner is greater than or equal to the first set angle, and the second rotation angle is less than the second set angle;
[0094] Under the third preset type, the third speed change parameter of the air conditioner is greater than or equal to the first speed change threshold or the third rotation angle of the air conditioner is greater than or equal to the second set angle.
[0095] The air conditioner corresponding to the first preset type is in a safe state, while the air conditioners corresponding to the second and third preset types have safety risks, with the safety risk corresponding to the second preset type being lower than that corresponding to the third preset type.
[0096] The velocity variation parameters here specifically include the air conditioner's acceleration and / or angular velocity. The rotation angle specifically includes the air conditioner's pitch angle, roll angle, and / or yaw angle, etc.
[0097] The first speed change threshold, the first set angle, the second speed change threshold, and the second set angle are all preset parameters. Different air conditioner models correspond to different first speed change thresholds, first set angles, second speed change thresholds, and second set angles.
[0098] Specifically, when the air conditioner is in the first preset type of motion state, it can be considered that the air conditioner is currently in a safe motion state and does not affect the operation of the air conditioner; when the air conditioner is in the second preset type of motion state, it can be considered that the air conditioner is currently in a safe motion state but has safety hazards (potential for safety problems); when the air conditioner is in the third preset type of motion state, it can be considered that the air conditioner is currently in an unsafe motion state and will affect the normal operation of the air conditioner.
[0099] The movement states of the air conditioner can specifically include: the air conditioner is stationary, the air conditioner is lifted, the air conditioner is lowered, the air conditioner is in normal movement (such as moving horizontally at a low speed at a certain distance from the ground), the air conditioner is tilted, and the air conditioner is tipped over. Among these, the air conditioner being stationary and in normal movement belong to the first preset type mentioned above; the air conditioner being lifted, lowered, and tipped over belong to the third preset type mentioned above; the air conditioner being tilted but at a small angle belongs to the second preset type mentioned above; and the air conditioner being tilted but at a large angle belongs to the third preset type mentioned above.
[0100] In this embodiment, the movement state of the air conditioner is classified based on the speed change and rotation angle during use, thereby ensuring accurate identification of the safety level that may be caused by the movement of the portable air conditioner during use.
[0101] It should be noted that in other embodiments, the number of preset motion state types may be more or less than that in this embodiment, depending on the actual situation. For example, there may be two preset motion state types, four motion state types, etc. Specifically, when there are two preset motion state types, they can be defined as a fourth preset type and a fifth preset type, respectively. The fourth preset type corresponds to an air conditioner whose fourth speed change parameter is less than a third speed change threshold and whose fourth rotation angle is less than a third set angle. The fifth preset type corresponds to an air conditioner whose fifth speed change parameter is greater than or equal to a third speed change threshold, or whose fifth rotation angle is greater than or equal to a third set angle.
[0102] Furthermore, based on any of the above embodiments, this application also proposes another embodiment of the air conditioning control method. In this embodiment, reference is made to... Figure 4 Following step S20 above, the following is also included:
[0103] When the motion state type is the first target type, step S40 is executed. When the motion state type is the second target type, step S30 is executed. The air conditioner corresponding to the first target type is in a safe state, while the air conditioner corresponding to the second target type has a safety risk.
[0104] Step S40: Control the air conditioner to maintain its current operation.
[0105] The first target type in this embodiment refers to the same motion state type as the first preset type in the above embodiment; the second target type in this embodiment refers to the same motion state type as the second preset type and / or the third preset type mentioned above.
[0106] Specifically, "maintaining the current state of air conditioning" here refers to not restricting the operating parameters of the air conditioner for safety protection purposes; the air conditioner can operate according to its actual operating needs. "Protective operation" here specifically refers to restricting the operating parameters of the air conditioner for safety protection purposes.
[0107] In this embodiment, when the motion state type indicates that the air conditioner is in a safe state, the air conditioner maintains its current operation. When the motion state type indicates that the air conditioner poses a safety risk, the air conditioner employs protective measures to ensure its safe operation. This achieves accurate identification of whether the air conditioner poses a safety risk based on the motion state type, and timely implementation of protective measures when a safety risk exists, thereby ensuring that the air conditioner's performance is not affected while ensuring the safety of its use.
[0108] Specifically, in this embodiment, when the motion state type is the second preset type in the second target type, the compressor of the air conditioner is controlled to operate at a reduced frequency; when the motion state type is the third preset type in the second target type, both the compressor and the fan of the air conditioner are controlled to stop operating; the safety risk corresponding to the second preset type is lower than the safety risk corresponding to the third preset type.
[0109] When the air conditioner compressor operates at reduced frequency, it can reduce the frequency using pre-set fixed frequency adjustment parameters, or it can reduce the frequency using frequency adjustment parameters determined based on motion data and attitude angles. These frequency reduction adjustment parameters include the reduction amplitude or reduction rate. When reducing the frequency according to the frequency adjustment parameters determined by motion data and attitude angles, different motion data and different attitude angles correspond to different frequency adjustment parameters. The correspondence between motion data, attitude angles, and frequency adjustment parameters can be pre-set, and can be a calculated relationship or a mapping relationship. In this correspondence, the frequency adjustment parameter may increase with increasing attitude angle, or with increasing acceleration and / or angular velocity. Based on this correspondence, the frequency adjustment parameter corresponding to the current motion data and attitude angle can be determined. To further ensure that the determined frequency adjustment parameters guarantee the safe operation of the air conditioner, the current system pressure of the air conditioner's refrigerant circulation system (such as the compressor's exhaust side pressure) can be obtained. Based on the system pressure, the correspondence between motion data, attitude angles, and frequency adjustment parameters can be obtained. Different system pressures correspond to different preset correspondences, and the current frequency adjustment parameter is determined based on the obtained correspondence.
[0110] In this embodiment, when the air conditioner is in a low-risk operating state, reducing the compressor frequency effectively lowers the system pressure, preventing the compressor from operating under high pressure, thus extending its lifespan and preventing reliability issues. When the air conditioner is in a high-risk operating state, stopping the compressor and fan ensures that no safety problems arise in the current state (e.g., short circuits caused by water tank tipping, compressor damage, etc.). Therefore, by identifying different levels of safety risk based on different operating states, different protective measures are employed to safeguard the air conditioner, ensuring its safe operation with minimal disruption.
[0111] Furthermore, this invention also proposes a computer-readable storage medium storing an air conditioning control program, which, when executed by a processor, implements the relevant steps of any of the above-described air conditioning control methods.
[0112] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0113] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0114] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0115] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. An air conditioning control method, characterized in that, The air conditioning control method includes the following steps: Acquire motion data and attitude angles of the air conditioner; The motion state type of the air conditioner is determined based on the motion data and the attitude angle. The motion state type is used to identify safety hazards caused by the air conditioner's motion inertia and tilt. When the motion state type is the second target type, the air conditioner is controlled to perform corresponding protective operations according to the motion state type, including: when the motion state type is the second preset type in the second target type, controlling the air conditioner's compressor to operate at a reduced frequency; when the motion state type is the third preset type in the second target type, controlling both the air conditioner's compressor and fan to stop operating; the safety risk corresponding to the second preset type is lower than the safety risk corresponding to the third preset type; the air conditioner has a safety risk when the motion state type is the second target type; In the second preset type, the second speed change parameter of the air conditioner is less than the first speed change threshold, the second rotation angle of the air conditioner is greater than or equal to the first set angle, and the second rotation angle is less than the second set angle; in the third preset type, the third speed change parameter of the air conditioner is greater than or equal to the first speed change threshold or the third rotation angle of the air conditioner is greater than or equal to the second set angle.
2. The air conditioning control method as described in claim 1, characterized in that, The step of determining the motion state type of the air conditioner based on the motion data and the attitude angle includes: The motion data and the attitude angle are input into a preset state classification model and the output result is obtained; the preset state classification model is a pre-set machine learning model used to identify the motion state type of the air conditioner. The motion state type is determined based on the output result.
3. The air conditioning control method as described in claim 2, characterized in that, Before the step of inputting the motion data and the attitude angle into a preset state classification model and obtaining the output result, the method further includes: Obtain data sample sets corresponding to different preset motion state types; the data sample sets include multiple detection data of the air conditioner in the state corresponding to the preset motion state type, and the detection data is data containing the motion information and attitude angle information of the air conditioner; Extract the data feature value of each of the detected data in the data sample set, and determine the identification information of each data feature value according to the preset motion state type corresponding to each of the detected data; A preset machine learning model is trained based on the data feature values and their corresponding identification information to obtain the preset state classification model.
4. The air conditioning control method as described in claim 3, characterized in that, The different preset motion state types include a first preset type, a second preset type, and a third preset type; Under the first preset type, the first speed change parameter of the air conditioner is less than the first speed change threshold, and the first rotation angle of the air conditioner is less than the first set angle; The air conditioner corresponding to the first preset type is in a safe state.
5. The air conditioning control method as described in claim 1, characterized in that, After the step of determining the motion state type of the air conditioner based on the motion data and the attitude angle, the method further includes: When the motion state type is the first target type, the air conditioner is controlled to maintain the current state of operation, and the air conditioner is in a safe state when the motion state type is the first target type.
6. The air conditioning control method according to any one of claims 1 to 5, characterized in that, The steps for acquiring the motion data and attitude angles of the air conditioner include: The acceleration data, angular velocity data, and tilt angle data of the air conditioner in three axes are detected. The motion data includes the acceleration data and the angular velocity data, and the attitude angle includes the tilt angle data.
7. An air conditioner, characterized in that, The air conditioner includes: a memory, a processor, and an air conditioning control program stored in the memory and executable on the processor, wherein when the air conditioning control program is executed by the processor, it implements the steps of the air conditioning control method as described in any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an air conditioning control program, which, when executed by a processor, implements the steps of the air conditioning control method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Vehicle safe driving control method and device, and vehicle
CN109421639A
Air treatment equipment
CN212657797U