CN113719938B - Humidity compensation method and device, computer equipment and medium - Google Patents
Humidity compensation method and device, computer equipment and medium Download PDFInfo
- Publication number
- CN113719938B CN113719938B CN202110962876.4A CN202110962876A CN113719938B CN 113719938 B CN113719938 B CN 113719938B CN 202110962876 A CN202110962876 A CN 202110962876A CN 113719938 B CN113719938 B CN 113719938B
- Authority
- CN
- China
- Prior art keywords
- humidity
- compensation
- current
- value
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F6/00—Air-humidification, e.g. cooling by humidification
- F24F6/12—Air-humidification, e.g. cooling by humidification by forming water dispersions in the air
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/70—Control systems characterised by their outputs; Constructional details thereof
- F24F11/72—Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/89—Arrangement or mounting of control or safety devices
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/20—Humidity
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Dispersion Chemistry (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
Abstract
The application provides a humidity compensation method and device, computer equipment and medium. The method comprises the following steps: acquiring a current capacitance value of the humidity control device in a current mist outlet direction, wherein the current capacitance value changes along with the current mist outlet direction of the humidity control device, and the humidity control device comprises a first humidity sensor which is arranged in the humidity control device; acquiring a current working radius of the humidity adjusting device, wherein the current working radius is used for representing the size of an external space where the humidity adjusting device is currently located; and performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius and the current capacitance value to obtain target humidity, wherein the target humidity is used for representing the humidity of the external space. According to the technical scheme, the target humidity obtained through compensation can accurately reflect the humidity in the space where the humidity adjusting device is located.
Description
Technical Field
The present disclosure relates to the field of humidity detection, and in particular, to a humidity compensation method and apparatus, a computer device, and a medium.
Background
The humidifier is a household appliance for increasing the humidity of a room, and can humidify the room, so that the humidity in the room meets the humidity requirement of a user. Some humidifiers have a function of displaying humidity in a space where the humidifier is located, in addition to a basic humidification function.
Currently, a humidifier generally displays humidity according to humidity detected by a humidity sensor inside the humidifier. Because the humidity sensor is positioned in the humidifying internal space, the air mobility in the humidifier internal space is poor, so that the difference between the measured humidity and the humidity of the space where the humidifier is positioned is large, the humidity of the space where the humidifier is positioned cannot be fed back well, and the accuracy is low.
Disclosure of Invention
The application provides a humidity compensation method and device, computer equipment and medium, so as to solve the technical problem that the humidity in the space where a humidifier is positioned is inaccurate when a humidity sensor in the humidifier is used for measuring.
In a first aspect, a humidity compensation method is provided and applied to a humidity adjustment device, where the humidity adjustment device includes a first humidity sensor, and the first humidity sensor is disposed inside the humidity adjustment device; the humidity adjusting device further comprises a fog outlet part and two opposite capacitor polar plates, wherein the fog outlet part forms a fog outlet, the first capacitor polar plate is arranged on the fog outlet part, and the humidity adjusting device can be a humidifier; the method comprises the following steps:
Acquiring a current capacitance value of the humidity control device in a current mist outlet direction, wherein the current capacitance value changes along with the current mist outlet direction of the humidity control device; the current capacitance value is a capacitance value between the two opposite capacitance plates, when the current mist outlet direction changes, the mist outlet component rotates, the first capacitance plate rotates along with the rotation of the mist outlet component, and when the first capacitance plate rotates, the opposite areas of the two opposite capacitance plates change, so that the current capacitance value changes;
acquiring a current working radius of the humidity adjusting device, wherein the current working radius is used for representing the size of an external space where the humidity adjusting device is currently located;
and performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius and the current capacitance value to obtain target humidity, wherein the target humidity is used for representing the humidity of the external space.
In the technical scheme, the current capacitance value of the humidity adjusting device in the current mist outlet direction and the current working radius of the humidity adjusting device are obtained, and the humidity value detected by the humidity sensor inside the humidity adjusting device is compensated according to the current working radius and the current capacitance value to obtain the humidity in the space where the humidity adjusting device is located. Because humidity that humidity sensor inside humidity control apparatus detected can change because of the change of going out fog direction, humidity in the space that humidity control apparatus located can change because of the space size change, consequently, through obtaining the capacitance value that can reflect fog direction change and reflect space size change's working radius, carry out humidity compensation to the humidity value that humidity sensor inside humidity control apparatus detected according to capacitance value and working radius, can make the target humidity that the compensation obtained can accurately reflect humidity in the space that humidity control apparatus located.
With reference to the first aspect, in one possible implementation manner, performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius and the current capacitance value to obtain a target humidity, includes: determining a first compensation relation corresponding to the current working radius, wherein the first compensation relation is used for reflecting the relation between the capacitor and the humidity compensation value; and determining a humidity compensation value corresponding to the current capacitance value according to the first compensation relation, and summing the humidity compensation value and the humidity value detected by the first humidity sensor to obtain the target humidity. Since the humidity in the space in which the humidity adjustment device is located is related to the size of the space in which the humidity adjustment device is located, a humidity compensation value corresponding to the current capacitance value can be determined by determining a first compensation relationship corresponding to the current working radius of the humidity adjustment device.
With reference to the first aspect, in one possible implementation manner, before the obtaining the current capacitance value of the humidity adjustment device in the current mist generating direction, the method further includes: determining a plurality of space radiuses corresponding to the humidity adjusting device; under the condition that the humidity adjusting device is in the target mist-emitting direction, acquiring a capacitance value corresponding to the target mist-emitting direction, a first humidity value measured by the first humidity sensor and a second humidity value measured by at least one second humidity sensor; wherein the target mist outlet direction is any mist outlet direction, the at least one second humidity sensor is arranged outside the humidity adjusting device, the distance between the second humidity sensor and the humidity adjusting device is a target radius, and the target radius is any space radius of the plurality of space radii; determining a humidity compensation value corresponding to the target mist outlet direction according to the first humidity value and the second humidity value; and constructing a first compensation relation corresponding to the target radius according to the capacitance value and the humidity compensation value corresponding to at least one mist outlet direction so as to obtain the first compensation relation corresponding to each of the plurality of space radiuses. The first compensation relation corresponding to each of the different space radiuses can be determined by determining the difference between the humidity value measured by the external sensor and the humidity value measured by the internal sensor under the same condition, and the humidity compensation can be performed in spaces with different sizes by establishing the first compensation relation corresponding to each of the different space radiuses in advance, so that the compensation precision is improved.
With reference to the first aspect, in one possible implementation manner, before performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius and the current capacitance value to obtain the target humidity, the method further includes: acquiring a working gear of the humidity adjusting device in the current mist outlet direction; and performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius and the current capacitance value to obtain a target humidity, wherein the method comprises the following steps: and performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius, the current capacitance value and the working gear to obtain target humidity. Because the humidity detected by the humidity sensor in the humidity adjusting device can also change due to the change of the working gear, when the humidity detected by the sensor in the humidity adjusting device is compensated, the influence of the working gear is considered, so that the target humidity obtained by compensation is closer to the humidity in the space where the humidity adjusting device is located, and the compensation precision is further improved.
With reference to the first aspect, in one possible implementation manner, performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius, the current capacitance value, and the working gear to obtain a target humidity includes: determining a second compensation relation corresponding to the current working radius and the working gear, wherein the second compensation relation is used for reflecting the relation among the capacitance, the gear and the humidity compensation value; and determining a second humidity compensation value corresponding to the current capacitance and the working gear according to the second compensation relation, and summing the second humidity compensation value and the humidity value detected by the first humidity sensor to obtain the target humidity. Because the humidity in the space where the humidity adjusting device is located is related to the space size where the humidity adjusting device is located, the humidity detected by the humidity sensor inside the humidity adjusting device is related to the working gear of the humidity adjusting device, the humidity compensation value corresponding to the current capacitance value and the humidity compensation value corresponding to the working gear can be respectively determined by determining the second compensation relation corresponding to the current working radius and the working gear of the humidity adjusting device, and the final humidity compensation value is obtained by adding the humidity compensation value and the working gear.
With reference to the first aspect, in one possible implementation manner, before the obtaining the current capacitance value of the humidity adjustment device in the current mist generating direction, the method further includes: determining a plurality of space radiuses and a plurality of preset working gears corresponding to the humidity adjusting device; under the condition that the humidity adjusting device is in a target mist-out state, acquiring a capacitance value corresponding to the target mist-out state, a third humidity value measured by the first humidity sensor and a fourth humidity value measured by at least two second humidity sensors; the target fog outlet state is the fog outlet state when the humidity adjusting device is in a target working gear in any fog outlet direction, the target working gear is any one of a plurality of preset working gears, the at least two second humidity sensors are arranged outside the humidity adjusting device, the distance between the second humidity sensors and the humidity adjusting device is a target radius, and the target radius is any one of a plurality of preset space radii; determining at least two humidity compensation values corresponding to the target mist-emitting state according to the third humidity value and the fourth humidity value; and constructing a second compensation relation corresponding to the target radius and the target working gear according to the capacitance value corresponding to at least one mist state and at least two humidity compensation values so as to obtain a second compensation relation corresponding to each of a plurality of preset radiuses and a plurality of preset working gears. The second compensation relation corresponding to each working gear with different space radiuses can be determined by determining the difference value between the humidity value measured by the external sensor and the humidity value measured by the internal sensor under the same condition, so that the humidity compensation value under different conditions can be determined, and the compensation precision is improved.
With reference to the first aspect, in one possible implementation manner, the obtaining the current working radius of the humidity adjustment device includes: acquiring a space size set by a user, and determining the current working radius of the humidity adjustment according to the space size; or, determining the radius of the preset space as the current working radius of the humidity adjusting device.
In a second aspect, there is provided a humidity compensation apparatus comprising:
the device comprises a capacitance acquisition module, a current control module and a current control module, wherein the capacitance acquisition module is used for acquiring a current capacitance value of the humidity control device in a current mist outlet direction, and the current capacitance value changes along with the change of the current mist outlet direction of the humidity control device; the humidity adjusting device comprises a first humidity sensor, wherein the first humidity sensor is arranged in the humidity adjusting device, the humidity adjusting device further comprises a fog outlet component and two opposite capacitor polar plates, the fog outlet component forms a fog outlet, and the first capacitor polar plate is arranged in the fog outlet component; the current capacitance value is a capacitance value between the two opposite capacitance plates, when the current mist outlet direction changes, the mist outlet component rotates, the first capacitance plate rotates along with the rotation of the mist outlet component, and when the first capacitance plate rotates, the opposite areas of the two opposite capacitance plates change, so that the current capacitance value changes;
The radius acquisition module is used for acquiring the current working radius of the humidity adjusting device, and the current working radius is used for indicating the size of the external space where the humidity adjusting device is currently located;
and the humidity compensation module is used for performing humidity compensation on the humidity value detected by the first humidity sensor in the humidity adjusting device according to the current working radius and the current capacitance value so as to obtain target humidity, wherein the target humidity is used for representing the humidity of the external space.
In a third aspect, a computer device is provided, comprising a memory, a first humidity sensor, a fog outlet direction sensing component for sensing a fog direction and generating a sensed quantity corresponding to the fog outlet direction, and one or more processors; the one or more processors are configured to execute the one or more computer programs stored in the memory, and when the one or more processors execute the one or more computer programs, the one or more processors cause the computer device to implement the humidity compensation method of the first aspect.
In a fourth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the humidity compensation method of the first aspect.
The application can realize the following technical effects: through obtaining the capacitance value that can reflect fog direction change and the working radius that reflects space size change, carry out humidity compensation to the humidity value that humidity sensor inside humidity control apparatus measured according to capacitance value and working radius, can make the target humidity that the compensation obtained can accurately reflect the humidity in the space that humidity control apparatus is located.
Drawings
Fig. 1 is a schematic hardware structure of a humidity adjustment device according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a humidity compensation method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of another humidity compensation method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a humidity compensation device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The technical scheme of this application is applicable to the scene that utilizes humidity control apparatus to carry out the humidification to the space. In this scenario, the humidity control apparatus may display, in addition to the humidification of the space, the humidity of the space in which the humidity control apparatus is located, so that the user can confirm whether the humidity in the space is appropriate. In some implementations, the humidity adjusting device displays the humidity detected by the humidity sensor inside the humidity adjusting device, and the humidity adjusting device cannot accurately display the humidity of the external space because the internal space of the humidity adjusting device is different from the humidity of the external space where the humidity adjusting device is located.
In view of this, the present application proposes a humidity compensation method, which compensates the humidity value measured by the humidity sensor inside the humidity adjustment device, so that the compensated humidity can accurately feed back the humidity of the external space where the humidity adjustment device is located.
For ease of understanding, first, referring to fig. 1, fig. 1 is a schematic structural diagram of a humidity adjusting apparatus according to an embodiment of the present application. As shown in a of fig. 1, the humidity control apparatus may include a mist outlet body 101, a mist outlet cover 102 and a mist outlet member 103 provided on the mist outlet body 101, the mist outlet member 103 forming a mist outlet for the atomized water mist to flow out. The humidity control apparatus used herein is not limited to, and includes, but is not limited to, both upper and lower water humidification apparatuses. Illustratively, the mist outlet body 101 may include a water tank 1011 and a base 1012 detachably connected to the water tank 1011, the water tank 1011 being a water storage container, and water contained in the water tank 1011 may be atomized by the base 1012 and then discharged from the mist outlet member 103 through a mist outlet pipe provided in the water tank 1011 to humidify the air in the external space. Optionally, an atomizing component is disposed in the base 1012, and the atomizing component in the base 1012 is used for atomizing the water entering the base 1012 by ultrasonic oscillation or heating.
The humidity adjusting device is also provided with a humidity sensor. Typically, a humidity sensor is provided in the interior structure of the base 1012 near the air inlet to detect the humidity of the air flow actually entering the humidifier. In practice, the mist outlet direction has an influence on the humidity detected by the humidity sensor, for example, the adjusted mist outlet direction causes the mist to be scattered in a place close to the air inlet to a larger extent, and the influence on the value detected by the humidity sensor is larger; for another example, the adjusted mist outlet direction causes the water mist to be scattered in a place far away from the air inlet to a larger extent, and the influence on the value detected by the humidity sensor is smaller. Therefore, the influence of the direction of different fog mouths on humidity is different, and then this application proposes following scheme, reduces the influence of the direction of fog mouths on humidity to improve humidity detection's accuracy.
In this embodiment of the present application, the mist outlet member 103 is rotatably disposed on the mist outlet cover 102, which is equivalent to that a user can adjust the direction of the mist outlet member 103 relative to the mist outlet cover 102, so that humidification of air in a certain direction around the humidity control apparatus can be achieved. The mist outlet cover 102 is provided so as not to be rotatable with respect to the mist outlet body, which means that the user can adjust the mist outlet direction only by adjusting the direction of the mist outlet member 103.
The humidity adjusting device can be further provided with a main control component, a fog outlet direction sensing component and the like, and the components can be mutually matched with the atomization component to realize humidity adjustment and display. The mist outlet body 101 is provided with an air inlet (for example, the air inlet is arranged on the base 1012, not limited to the air inlet), the mist outlet direction sensing component comprises two opposite capacitor plates (c 1 and c 2), and the capacitor plate c1 is fixedly arranged on the mist outlet cover 102; the capacitor plate c2 is disposed on the mist outlet 103, and the direction of the capacitor plate c2 extending outward from the center referenced by rotation is identical to the direction of the mist outlet, i.e. the mist outlet direction. The capacitor plate c2 can rotate with the rotation of the mist generating member 103. When the capacitor plate c2 rotates, the facing area between the capacitor plate c2 and the capacitor plate c1 changes, so that the capacitance between the capacitor plate c2 and the capacitor plate c1 changes.
In one possible solution, when the facing area between the capacitor plate c2 and the capacitor plate c1 is the smallest, the center referred to by rotation of the capacitor plate c2 is directed to the direction of projection of a preset air inlet position in the air inlet area on the mist cover 102.
Alternatively, the preset air inlet position may be a position of a preset air inlet area in a projection area of the mist outlet cover 102, which is not limited in this application.
As an example, a schematic diagram of a relative position of the humidity control apparatus may be shown in B in fig. 1, where a solid line 104 indicates a projection of a preset air intake position on the mist outlet cover 102; the dashed line 105 indicates the capacitive plate c2 orientation (indicating the fog direction). In this example, the capacitor plate c1 is circular, and the center S (corresponding to the intersection point between the central axis of rotation of the mist generating component 103 and the mist generating cover 102) referred to by rotation of the capacitor plate c2 is different from the center of the capacitor plate c1, so that when the capacitor plate c2 rotates, the facing area between the capacitor plate c2 and the capacitor plate c1 changes, and therefore, the capacitance between the capacitor plate c2 and the capacitor plate c1 changes.
When the humidity control apparatus is operated in the same gear or the same power, the capacitor plate c2 rotates with the rotation of the mist outlet member 103, the angle between the mist outlet member 103 and the projection of the preset air inlet position changes, and the humidity value detected by the humidity sensor in the mist outlet body 101 also changes. The smaller the included angle N between the capacitor plate c2 and the horizontal line (refer to the connection line between the S point and the projection 104 of the preset air inlet position), the smaller the facing area between the capacitor plate c2 and the capacitor plate c1, the smaller the capacitance between the capacitor plate c2 and the capacitor plate c2, the closer the mist outlet component 103 is to the air inlet, the larger the influence on the humidity around the air inlet, and the larger the humidity value detected by the humidity sensor in the mist outlet main body 101. When the included angle between the capacitor plate c2 and the horizontal line is 0 degrees, the facing area of the capacitor plate c2 and the capacitor plate c1 is minimum, and at this time, the capacitance between the capacitor plate c2 and the capacitor plate c1 is the minimum capacitance.
Next, the technical solution of the present application will be described.
Referring to fig. 2, fig. 2 is a flow chart of a humidity compensation method provided in an embodiment of the present application, where the method is applied to a humidity adjustment device, the humidity adjustment device includes a first humidity sensor, and the first humidity sensor is disposed inside the humidity adjustment device, as shown in fig. 2, and the method includes the following steps:
s201, acquiring a current capacitance value of the humidity adjusting device in a current mist outlet direction.
Illustratively, the humidity conditioning device may be as shown in fig. 1. The current mist outlet direction may refer to the mist outlet direction of the humidity control apparatus when the mist outlet of the humidity control apparatus rotates to any one position. Referring to fig. 1B, the current capacitance value of the humidity adjustment device in the current mist generating direction refers to the capacitance value between the capacitor plate c2 and the capacitor plate c1, and the capacitance value between the capacitor plate c2 and the capacitor plate c1 changes along with the change of the mist generating direction. In a specific implementation, the current capacitance value of the humidity adjusting device in the current mist outlet direction can be obtained by detecting the capacitance value between the capacitance plate c2 and the capacitance plate c 1.
S202, acquiring the current working radius of the humidity adjusting device.
Here, the current working radius is used to characterize the size of the external space in which the humidity control apparatus is currently located, which is understood to be the size of a space to be humidified when the humidity control apparatus is placed in the space to humidify.
In some possible scenarios, in case the humidity adjustment device is a humidity adjustment device with a settable working space size, the space size set by the user may be obtained, and the current working radius of the humidity adjustment may be determined according to the space size. For example, if the spatial volume V1 set by the user is obtained by the humidity control apparatus or an intelligent terminal connected to the humidity control apparatus, then the spatial volume V1 can be calculatedThereby obtaining the working radius of the humidity adjusting device.
Alternatively, in other possible scenarios, in case the humidity control apparatus is a humidity control apparatus of a spatial scale where no working is settable, the radius of the preset space may be determined as the current working radius of the humidity control apparatus. The preset space may be a space to which the humidity control apparatus is adapted to be matched. For example, if the humidity control apparatus is adapted to a space having a volume not exceeding V2, then it can be calculatedTo obtain the working radius of the humidity adjusting device.
Not limited to the above manner, in other scenarios, there may be other manners of determining the working radius of the humidity adjustment device, which embodiments of the present application do not limit.
And S203, performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius and the current capacitance value to obtain target humidity, wherein the target humidity is used for representing the humidity of the external space where the humidity adjusting device is currently located.
In this embodiment of the present application, reference may be made to the description of fig. 1, where the humidity value measured by the humidity sensor (i.e., the first humidity sensor) in the humidity adjustment device may change along with the change of the direction of the mist outlet, and the humidity in the external space may be affected by the size of the external space, so that the humidity value detected by the first humidity sensor is compensated, that is, an error between the humidity value detected by the first humidity sensor and the humidity of the external space under the current working radius and the current capacitance value is determined, and the humidity value detected by the first humidity sensor is compensated based on the error, so that the target humidity obtained by compensation may be close to the actual humidity of the external space, thereby being used for characterizing the humidity of the external space.
In one possible implementation, a first compensation relationship corresponding to the current working radius may be determined, where the first compensation relationship is used to reflect a relationship between the capacitance and the humidity compensation value; and determining a humidity compensation value corresponding to the current capacitance value according to a first compensation relation corresponding to the current working radius, and summing the humidity compensation value and the humidity value detected by the first humidity sensor to obtain the target humidity.
Since the humidity in the outer spaces of the same humidity control apparatus is different when the same humidity control apparatus works in the outer spaces of different sizes, a plurality of first compensation relations of the humidity control apparatus under a plurality of working radii can be obtained by determining the first compensation relations of the humidity control apparatus under the different working radii in advance, so that the first compensation relation corresponding to the current work can be determined from the plurality of first compensation relations set for the humidity control apparatus in advance. Specifically, determining the plurality of first compensation relationships may include the following steps a1-a4.
a1, determining a plurality of space radiuses corresponding to the humidity adjusting device.
Here, the plurality of space radii may refer to space radii of various spaces to which the humidity control apparatus is applied, and may specifically be in a range of 0.5 meters to 5 meters. The humidity adjusting device is different in model, and then a plurality of space radiuses corresponding to the humidity adjusting device are different. In a specific implementation, according to the humidity performance difference condition of the humidity adjusting device in spaces with different sizes, a plurality of values can be taken from the space radius range supported by the humidity adjusting device as a plurality of space radii corresponding to the humidity adjusting device in a mode of taking the radius at equal intervals. For example, if the maximum space radius supported by the humidity control apparatus is 3 meters, the space radius supported by the humidity control apparatus is [0,3 meters ]. If the difference of the space radii of the two spaces is greater than or equal to 0.5 meter, the humidity performance of the humidity adjusting device in the two spaces is greater, then 0.5 meter may be used as the value interval, and values from [0,3 meters ] may be respectively used as a plurality of space radii corresponding to the humidity adjusting device, where the value is 0.5 meter, 1 meter, 1.5 meter, 2 meters, 2.5 meters, and 3 meters.
a2, under the condition that the humidity adjusting device is in the target mist outlet direction, acquiring a capacitance value corresponding to the target mist outlet direction, a first humidity value measured by a first humidity sensor and a second humidity value measured by at least one second humidity sensor.
The second humidity sensor is a humidity sensor arranged outside the humidity adjusting device, the second humidity sensor can be a high-precision humidity sensor, the distance between the second humidity sensor and the humidity adjusting device is a target radius, the target radius is used for indicating the size of an external space where the humidity adjusting device works, the target radius can be any one of a plurality of space radii corresponding to the humidity adjusting device, and the second humidity value measured by the second humidity sensor is the humidity in the space corresponding to the target radius when the reaction humidity adjusting device works in the space corresponding to the target radius. The target mist-emitting direction may be any mist-emitting direction of the humidity control apparatus, and reference is made to the foregoing description regarding the concept of the mist-emitting direction.
and a3, determining a humidity compensation value corresponding to the target mist outlet direction according to the first humidity value and the second humidity value.
The humidity compensation value is equal to the difference between the second humidity value and the first humidity value, and the calculation formula of the humidity compensation value is dz=d2-D1, wherein Dz is the humidity compensation value, D2 is the second humidity value, and D1 is the first humidity value. It should be understood that the number of humidity compensation values corresponding to the target mist-emitting direction at the target radius is equal to the number of second humidity sensors, for example, the number of second humidity sensors is 2, and then there are 2 humidity compensation values.
and a4, constructing a first compensation relation corresponding to the target radius according to the capacitance value and the humidity compensation value corresponding to at least one mist outlet direction, so as to obtain a first compensation relation corresponding to each of the plurality of space radiuses.
The change of the capacitance value detected by the humidity adjusting device reflects the change of the fog outlet direction, and the humidity value detected by the first humidity sensor changes along with the change of the fog outlet direction, so that the humidity compensation value has a correlation with the capacitance value. In some possible scenarios, under the condition that the correlation between the humidity compensation value and the capacitance value cannot meet the variable relation, the capacitance value of the humidity adjustment device in each mist outlet direction can be obtained, the humidity compensation value in each mist outlet direction is obtained according to the modes of the step a 2-the step a3, and the capacitance value and the humidity compensation value corresponding to the same mist outlet direction are established in a corresponding relation, so that a first compensation relation corresponding to the target radius can be obtained. And then changing the distance between the second humidity sensor and the humidity adjusting device to change the space radius, and obtaining the first compensation relation corresponding to each of the other space radiuses corresponding to the humidity adjusting device according to the same mode, so as to obtain the first compensation relation corresponding to each of the plurality of space radiuses.
Taking the example of a target radius of 0.5 meters, the second humidity sensor may be placed at a distance of 0.5 meters from the humidity adjustment means. Firstly, determining a capacitance value 1 between a measured capacitance pole plate b and a capacitance pole plate a when the humidity adjusting device is in a mist outlet direction 1, determining a humidity compensation value 1 between a humidity value measured by a first humidity sensor and a humidity value measured by a second humidity sensor in the mist outlet direction 1, and establishing a corresponding relation between the capacitance value 1 and the humidity compensation value 1; determining a capacitance value 2 between a capacitance pole plate b and a capacitance pole plate a measured when the humidity adjusting device is in a mist outlet direction 2, determining a humidity compensation value 2 between a humidity value measured by a first humidity sensor and a humidity value measured by a second humidity sensor in the mist outlet direction 2, and establishing a corresponding relation between the capacitance value 1 and the humidity compensation value 2; and the like until the corresponding relation in each fog outlet direction is obtained, so that a first compensation relation corresponding to 0.5 meter can be obtained, and the first compensation relation of the humidity regulating device in the space corresponding to 0.5 meter is obtained.
In other possible scenarios, under the condition that the correlation between the humidity compensation value and the capacitance value can meet the variable relation, a first variable relation with the capacitance value as an independent variable and the humidity compensation value as a dependent variable may be constructed, then at least one group of capacitance value and humidity compensation value required for solving the constant in the first variable relation (the group of capacitance value and humidity compensation value refer to the capacitance value and the humidity compensation value corresponding to the same mist-emitting direction) is determined, and the at least one group of capacitance value and humidity compensation value is substituted into the first variable relation, so as to solve the constant in the first variable relation, thereby determining the first compensation relation corresponding to the target radius. And then changing the distance between the second humidity sensor and the humidity adjusting device to change the space radius, and obtaining the first compensation relation corresponding to each of the other space radiuses corresponding to the humidity adjusting device according to the same mode, thereby obtaining the first compensation relation corresponding to each of the plurality of space radiuses.
In a specific implementation manner, the variable relationship between the capacitance value and the humidity compensation value may be a linear relationship, and the first variable relationship may be constructed as follows:
dz=k1 Cx/c0+m (relation 1)
Wherein Dz is a humidity compensation value, k1 and m are constants in a first variable relation, cx is a capacitance value in a certain mist outlet direction, C0 is the minimum capacitance described above, and Cx/C0 reflects a capacitance change rate in a mist outlet direction change process, namely a change degree of the capacitance. Along with the increase of the capacitance value, the mist component is far away from the air inlet, the influence on the first humidity sensor is reduced, the humidity value detected by the first humidity sensor is closer to the humidity in the external space, and the influence on the first humidity sensor can be reflected by constructing a linear variable relation, so that the humidity compensation value reflecting the influence can be expressed.
After the above relation 1 is constructed, by determining two sets of Dz and Cx, specific values of the constants k1 and m can be obtained by solving, and then the specific values of the constants k1 and m are substituted into the above relation 1, so that a first compensation relation corresponding to a working radius can be obtained. When the space radii are plural, the constants k1 and m corresponding to the space radii may be solved and stored.
By the steps a1-a4, the influence of the space size and the mist outlet direction on the humidity compensation value is considered, and the first compensation relation corresponding to each of the different space radiuses is established in advance by determining the first compensation relation corresponding to each of the different space radiuses, so that the humidity compensation can be performed in the spaces with different sizes, and the compensation precision is improved.
Specifically, in the case where the capacitance value and the humidity compensation value satisfy the above-mentioned relation 1, after determining the current working radius, k1 and m corresponding to the current working radius may be determined, and then k1 and m corresponding to the current working radius and the current capacitance value are substituted into the above-mentioned relation 1, so that the humidity compensation value corresponding to the current working radius and the current capacitance value may be obtained.
In the above technical scheme, the current capacitance value of the humidity adjusting device in the current mist outlet direction and the current working radius of the humidity adjusting device are obtained, and the humidity value detected by the humidity sensor inside the humidity adjusting device is compensated according to the current working radius and the current capacitance value, so that the humidity in the space where the humidity adjusting device is located is used for representing. Because humidity that humidity sensor inside humidity control apparatus detected can change because of the change of going out fog direction, humidity in the space that humidity control apparatus located can change because of the space size change, consequently, through obtaining the capacitance value that can reflect fog direction change and reflect space size change's working radius, carry out humidity compensation to the humidity value that humidity sensor inside humidity control apparatus detected according to capacitance value and working radius, can make the target humidity that the compensation obtained can accurately reflect humidity in the space that humidity control apparatus located.
Optionally, in some possible embodiments, the working gear of the humidity adjusting device may be used to compensate the humidity value measured by the humidity sensor inside the humidity adjusting device, because the amounts of the emitted water mist are different in different working gears of the humidity adjusting device, and thus, in the case that the mist direction is different, the influence on the humidity detected by the humidity sensor inside the humidity adjusting device is also different, so as to improve the accuracy of the humidity. Referring to fig. 3, fig. 3 is a flow chart of another humidity compensation method provided in an embodiment of the present application, where the method is applied to a humidity adjustment device, the humidity adjustment device includes a first humidity sensor, and the first humidity sensor is disposed inside the humidity adjustment device, as shown in fig. 3, and the method includes the following steps:
s301, acquiring a current capacitance value of the humidity adjusting device in a current mist outlet direction.
S302, acquiring the current working radius of the humidity adjusting device.
Here, the specific implementation manner of step S301 to step S302 may refer to the descriptions of step S201 to step S202, which are not described herein.
S303, acquiring the working gear of the humidity adjusting device in the current fog outlet direction.
Here, the working gear of the humidity adjusting device in the current mist outlet direction means that the humidity is adjusted in the current mist outlet direction by a user according to the gear set by the humidity adjusting device, and the working gear of the humidity adjusting device is that the mist outlet amount of the humidity adjusting device is adjusted, so that the mist outlet amount of the humidity adjusting device is adjusted to play a role in adjusting the humidity of an external space where the humidity is located.
In a specific implementation, a user can obtain a working gear of the humidity control apparatus in a current fog-discharging direction by setting the humidity control apparatus on an intelligent terminal (such as a mobile phone) having a connection relationship with the humidity control apparatus, for example, the user adjusts the working gear of the humidity control apparatus to be 1 gear or 2 gear on the mobile phone; or, the working gear of the humidity control apparatus in the current mist outlet direction can be obtained by directly obtaining the setting of the user on the humidity control apparatus, for example, the humidity control apparatus is provided with a gear adjusting button, and the working gear of the humidity control apparatus in the current mist outlet direction can be obtained by obtaining the setting of the user on the gear adjusting button.
S304, performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius, the current capacitance value and the working gear to obtain target humidity, wherein the target humidity is used for representing the humidity of the external space where the humidity adjusting device is currently located.
Here, regarding the definition of the humidity compensation for the humidity value detected by the first humidity sensor, reference may be made to the description of the foregoing step S203, and since the humidity in the external space may be affected by the working gear of the humidity adjustment device in addition to the size of the external space, the working gear is considered for the humidity compensation in the embodiment of the present application.
In one possible implementation, a second compensation relation corresponding to the current working radius and the working gear can be determined, the second compensation relation is used for reflecting the relation among the capacitor, the gear and the humidity compensation value, and a second humidity compensation value corresponding to the current working radius and the working gear is determined according to the second compensation relation; and summing the second humidity compensation value with the humidity value detected by the first humidity sensor to obtain the target humidity.
Here, the second compensation relationship of the humidity control apparatus in the plurality of working radii and the plurality of working gears may be obtained by determining the second compensation relationship of the humidity control apparatus in the different working radii and the different working gears in advance, so that the second compensation relationship corresponding to the current working radius and the working gear may be determined from the plurality of second compensation relationships set for the humidity control apparatus in advance. Specifically, determining the plurality of second compensation relationships may include the following steps b1-b4.
b1, determining a plurality of space radiuses and a plurality of preset working gears corresponding to the humidity adjusting device.
For the definition of the plurality of spatial radii, reference may be made to the description of the foregoing step b1, which is not repeated here. The plurality of preset working gears refer to a plurality of working gears supported by the humidity adjusting device, wherein the types of the humidity adjusting device are different, and the plurality of working gears supported by the humidity adjusting device are different. In some embodiments, in order to implement quantization of the working gear, a plurality of working gears may be represented in a numerical manner such as 1, 2, and 3.
And b2, under the condition that the humidity adjusting device is in a target fog-emitting state, acquiring a capacitance value corresponding to the target fog-emitting state, a third humidity value measured by the first humidity sensor and a fourth humidity value measured by at least two second humidity sensors.
Wherein reference is made to the description of a2 above in relation to the description of the second humidity sensor. The target fog-out state refers to a fog-out state when the humidity adjusting device is in a target working gear in any fog-out direction, and the target working gear is any one of a plurality of preset working gears.
And b3, determining at least two humidity compensation values corresponding to the target fog state according to the third humidity value and the fourth humidity value.
The humidity compensation value is equal to the difference between the fourth humidity value and the third humidity value, the calculation formula of the humidity compensation value is dz=d4-D3, dz is the humidity compensation value, D4 is the fourth humidity value, and D3 is the third humidity value. Since the number of the second humidity sensors is at least two, there are at least 2 humidity compensation values.
And b4, constructing a second compensation relation corresponding to the target radius and the target working gear according to the capacitance value corresponding to the at least one mist state and the at least two humidity compensation values, so as to obtain a second compensation relation corresponding to each of the plurality of preset radii and the plurality of preset working gears.
Since the humidity measured by the second sensor also changes with the change of the gear of the humidity adjustment device, the humidity compensation value is related to the working gear in addition to the capacitance value. In some possible scenarios, if the humidity compensation value, the capacitance value and the working gear cannot satisfy the variable relationship, the method described in step b4 may be referred to for determining the humidity compensation value, the capacitance value and the working gear under each working radius, and establishing a second compensation relationship between the humidity compensation value and the capacitance value corresponding to the same mist state and the working gear, so as to obtain second compensation relationships corresponding to each of the plurality of preset radii and the plurality of preset working gears.
Under the condition that the humidity compensation value, the capacitance value and the working gear can meet the variable relation, a second variable relation which takes the capacitance value and the working gear as independent variables and takes the humidity compensation value as dependent variables can be constructed, at least two groups of capacitance values, humidity compensation values and working gears (one group of capacitance values, humidity compensation values and working gears refer to the capacitance values, humidity compensation values and working gears corresponding to the same mist state) required for solving constants in the second variable relation are determined, at least two groups of capacitance values, humidity compensation values and working gears are substituted into the second variable relation, and the constants in the second variable relation are solved, so that a second compensation relation corresponding to a target working radius and a target working gear can be determined, and a plurality of second compensation relations corresponding to a plurality of preset radiuses and a plurality of preset working gears are obtained.
In a specific implementation manner, the variable relationship between the humidity compensation value and the capacitance value and the working gear may be a linear relationship, and the constructed second variable relationship may be as follows:
dz=k2 Cx/c0+dy (relation 2)
Wherein Dz is a humidity compensation value, k2 and d are constants in the second variable relation, cx is a capacitance value, C0 is a minimum capacitance, cx/C0 reflects a capacitance change rate in the mist direction change process, namely a change degree of the capacitance, and y is a working gear.
After the above relation 2 is constructed, by fixing y and determining two sets of Dz and Cx, k2 and d can be obtained by solving, and a second compensation relation corresponding to one working gear and one working radius can be obtained by substituting k2 and d into the above relation 2. And then changing y and/or changing the space radius, so that a second compensation relation corresponding to different radiuses and different working gears can be obtained.
Through the steps b1-b4, the influence of the space size, the working gear and the mist outlet direction on the humidity compensation value is considered, and the humidity compensation value under different conditions can be determined by determining the second compensation relation corresponding to the different working gears with different space radiuses, so that the compensation precision is improved.
Specifically, in the case where the capacitance value, the gear value, and the humidity compensation value satisfy the above-described relation 2, after determining the current working radius and the working gear, k2 and d corresponding to the current working radius and the working gear are determined, and then k2 and d corresponding to the current working radius and the working gear are substituted into the above-described relation 2 together with the current capacitance value and the working gear, so that the humidity compensation value can be obtained.
In the above technical scheme, the humidity value detected by the humidity sensor inside the humidity adjusting device is compensated according to the current working radius and the current capacitance value by acquiring the current capacitance value of the humidity adjusting device in the current mist outlet direction, the current working radius of the humidity adjusting device and the working gear of the humidity adjusting device, so that the humidity in the space where the humidity adjusting device is located is used for representing. Because the humidity in the space where the humidity adjusting device is located can also change due to the change of the gear of the humidity adjusting device, the working gear reflecting the mist quantity is also obtained on the basis of obtaining the capacitance value reflecting the change of the mist direction and the working radius reflecting the change of the space size, and the humidity value measured by the humidity sensor inside the humidity adjusting device is subjected to humidity compensation according to the capacitance value, the capacitance value and the working radius reflecting the change of the mist direction, and the working gear, so that the target humidity obtained by compensation can be more accurate.
The foregoing describes the method of the present application and, in order to better practice the method of the present application, the apparatus of the present application is described next.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a humidity compensation device according to an embodiment of the present application, where the humidity compensation device may be the aforementioned humidity adjustment device or a part of the humidity adjustment device, the humidity adjustment device includes a first humidity sensor, and the first humidity sensor is disposed inside the humidity adjustment device, as shown in fig. 4, and the device 40 includes:
a capacitance acquisition module 401, configured to acquire a current capacitance value of the humidity adjustment device in a current mist-emitting direction, where the current capacitance value changes with a change in the current mist-emitting direction of the humidity adjustment device;
a radius obtaining module 402, configured to obtain a current working radius of the humidity adjustment device, where the current working radius is used to indicate a size of an external space where the humidity adjustment device is currently located;
the humidity compensation module 403 is configured to perform humidity compensation on the humidity value detected by the first humidity sensor inside the humidity adjustment device according to the current working radius and the current capacitance value, so as to obtain a target humidity, where the target humidity is used to characterize the humidity of the external space.
In one possible design, the humidity compensation module 403 is specifically configured to: determining a first compensation relation corresponding to the current working radius, wherein the first compensation relation is used for reflecting the relation between the capacitor and the humidity compensation value; and determining a humidity compensation value corresponding to the current capacitance value according to the first compensation relation, and summing the humidity compensation value and the humidity value detected by the first humidity sensor to obtain the target humidity.
In one possible design, the apparatus further includes a correspondence construction module 404, configured to determine a plurality of spatial radii corresponding to the humidity adjustment apparatus; under the condition that the humidity adjusting device is in the target mist-emitting direction, acquiring a capacitance value corresponding to the target mist-emitting direction, a first humidity value measured by the first humidity sensor and a second humidity value measured by at least one second humidity sensor; wherein the target mist outlet direction is any mist outlet direction, the at least one second humidity sensor is arranged outside the humidity adjusting device, the distance between the second humidity sensor and the humidity adjusting device is a target radius, and the target radius is any space radius of the plurality of space radii; determining a humidity compensation value corresponding to the target mist outlet direction according to the first humidity value and the second humidity value; and constructing a first compensation relation corresponding to the target radius according to the capacitance value and the humidity compensation value corresponding to at least one mist outlet direction so as to obtain the first compensation relation corresponding to each of the plurality of space radiuses.
In one possible design, the device further includes an operating gear acquiring module 405, configured to acquire an operating gear of the humidity adjustment device in the current fog direction; the humidity compensation module 403 is configured to perform humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius, the current capacitance value, and the working gear, so as to obtain a target humidity.
In one possible design, the humidity compensation module 403 is specifically configured to: the performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius, the current capacitance value and the working gear to obtain a target humidity, including: determining a second compensation relation corresponding to the current working radius and the working gear, wherein the second compensation relation is used for reflecting the relation among the capacitance, the gear and the humidity compensation value; and determining a second humidity compensation value corresponding to the current capacitance and the working gear according to the second compensation relation, and summing the second humidity compensation value and the humidity value detected by the first humidity sensor to obtain the target humidity.
In one possible design, the device further includes a correspondence construction module 404, configured to determine a plurality of space radii and a plurality of preset operating gears corresponding to the humidity adjustment device; under the condition that the humidity adjusting device is in a target mist-out state, acquiring a capacitance value corresponding to the target mist-out state, a third humidity value measured by the first humidity sensor and a fourth humidity value measured by at least two second humidity sensors; the target fog outlet state is the fog outlet state when the humidity adjusting device is in a target working gear in any fog outlet direction, the target working gear is any one of a plurality of preset working gears, the at least two second humidity sensors are arranged outside the humidity adjusting device, the distance between the second humidity sensors and the humidity adjusting device is a target radius, and the target radius is any one of a plurality of preset space radii; determining at least two humidity compensation values corresponding to the target mist-emitting state according to the third humidity value and the fourth humidity value; and constructing a second compensation relation corresponding to the target radius and the target working gear according to the capacitance value corresponding to at least one mist state and at least two humidity compensation values to obtain a second compensation relation corresponding to each of the plurality of preset radiuses and the plurality of preset working gears.
In one possible design, the working radius acquisition module 402 is specifically configured to: acquiring a space size set by a user, and determining the current working radius of the humidity adjustment according to the space size; or, determining the radius of the preset space as the current working radius of the humidity adjusting device.
It should be noted that, in the embodiment corresponding to fig. 4, the details not mentioned in the foregoing description of the method embodiment may be referred to, and will not be repeated here.
According to the device, the current capacitance value of the humidity adjusting device in the current mist outlet direction and the current working radius of the humidity adjusting device are obtained, the humidity value detected by the humidity sensor inside the humidity adjusting device is compensated according to the current working radius and the current capacitance value, and the humidity in the space where the humidity adjusting device is located is used for representing. Because humidity that humidity sensor inside humidity control apparatus detected can change because of the change of going out fog direction, humidity in the space that humidity control apparatus located can change because of the space size change, consequently, through obtaining the capacitance value that can reflect fog direction change and reflect space size change's working radius, carry out humidity compensation to the humidity value that humidity sensor inside humidity control apparatus detected according to capacitance value and working radius, can make the target humidity that the compensation obtained can accurately reflect humidity in the space that humidity control apparatus located.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a computer device provided in an embodiment of the present application, where the computer device 50 includes a processor 501, a memory 502, a first humidity sensor 503, and a mist-emitting sensing component 504. The processor 501 is connected to the memory 502, the first humidity sensor 503 and the mist-emitting sensing component 504, for example the processor 501 may be connected to the memory 502 and the first humidity sensor 503 by a bus. Wherein the computer device 50 may be a humidity conditioning apparatus.
The processor 501 is configured to support the computer device 50 to perform the corresponding functions in the methods in the method embodiments described above. The processor 501 may be a central processing unit (centralprocessing unit, CPU), a Network Processor (NP), a hardware chip or any combination thereof. The hardware chip may be an application specific integrated circuit (application specific integrated circuit, ASIC), a programmable logic device (programmablelogic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmablegate array, FPGA), general-purpose array logic (genericarray logic, GAL), or any combination thereof.
The memory 502 is used for storing program codes and the like. The memory 502 may include Volatile Memory (VM), such as random access memory (random access memory, RAM); the memory 502 may also include a non-volatile memory (NVM), such as read-only memory (ROM), flash memory (flash memory), hard disk (HDD) or Solid State Drive (SSD); memory 502 may also include a combination of the types of memory described above.
The first humidity sensor 503 is for detecting humidity.
The mist-generating sensing member 504 senses a mist generating direction and generates a sensing amount corresponding to the mist generating direction. Illustratively, the mist-emitting sensing component 504 may include the capacitive plate c1 and the capacitive plate c2 in fig. 1B described above, and the sensing amount generated by the mist-emitting sensing component may be the capacitance between the capacitive plate c1 and the capacitive plate c 2.
The processor 501 may call the program code to:
acquiring a current capacitance value of the humidity control device in a current mist outlet direction, wherein the current capacitance value changes along with the current mist outlet direction of the humidity control device;
Acquiring a current working radius of the humidity adjusting device, wherein the current working radius is used for representing the size of an external space where the humidity adjusting device is currently located;
and performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius and the current capacitance value to obtain target humidity, wherein the target humidity is used for representing the humidity of the external space.
The present application also provides a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method of the previous embodiments.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in the embodiments may be accomplished by computer programs stored in a computer-readable storage medium, which when executed, may include the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only memory (ROM), a random-access memory (Random Accessmemory, RAM), or the like.
The foregoing disclosure is only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.
Claims (9)
1. The humidity compensation method is characterized by being applied to a humidity adjusting device, wherein the humidity adjusting device comprises a first humidity sensor, the first humidity sensor is arranged inside the humidity adjusting device, the humidity adjusting device further comprises a fog outlet part and two opposite capacitor polar plates, the fog outlet part forms a fog outlet, and the first capacitor polar plates are arranged on the fog outlet part; the method comprises the following steps:
acquiring a current capacitance value of the humidity regulating device in a current mist outlet direction, wherein the current capacitance value changes along with the current mist outlet direction change of the humidity regulating device, the current capacitance value is a capacitance value between the two opposite capacitance pole plates, when the current mist outlet direction changes, the mist outlet component rotates, the first capacitance pole plate rotates along with the rotation of the mist outlet component, and when the first capacitance pole plate rotates, the opposite areas of the two opposite capacitance pole plates change, and the current capacitance value changes;
Acquiring a current working radius of the humidity adjusting device, wherein the current working radius is used for representing the size of an external space where the humidity adjusting device is currently located;
according to the current working radius and the current capacitance value, performing humidity compensation on the humidity value detected by the first humidity sensor to obtain target humidity, wherein the target humidity is used for representing the humidity of the external space;
and performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius and the current capacitance value to obtain a target humidity, including:
determining a first compensation relation corresponding to the current working radius, wherein the first compensation relation is used for reflecting the relation between the capacitance and the humidity compensation value;
and determining a first humidity compensation value corresponding to the current capacitance value according to the first compensation relation, and summing the first humidity compensation value and the humidity value detected by the first humidity sensor to obtain the target humidity.
2. The method of claim 1, wherein the acquiring the current capacitance value of the humidity control device in the current direction of mist generation further comprises:
Determining a plurality of space radiuses corresponding to the humidity adjusting device;
under the condition that the humidity adjusting device is in the target mist-emitting direction, acquiring a capacitance value corresponding to the target mist-emitting direction, a first humidity value measured by the first humidity sensor and a second humidity value measured by at least one second humidity sensor; the target mist outlet direction is any mist outlet direction, the at least one second humidity sensor is arranged outside the humidity adjusting device, the distance between the at least one second humidity sensor and the humidity adjusting device is a target radius, and the target radius is any space radius of the plurality of space radii;
according to the first humidity value and the second humidity value, determining a humidity compensation value corresponding to the target mist outlet direction;
and constructing a first compensation relation corresponding to the target radius according to the capacitance value and the humidity compensation value corresponding to at least one mist outlet direction so as to obtain the first compensation relation corresponding to each of the plurality of space radiuses.
3. The method of claim 1, wherein before performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius and the current capacitance value to obtain the target humidity, further comprising:
Acquiring a working gear of the humidity adjusting device in the current mist outlet direction;
and performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius and the current capacitance value to obtain a target humidity, including:
and performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius, the current capacitance value and the working gear to obtain target humidity.
4. The method of claim 3, wherein the performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius, the current capacitance value, and the working gear to obtain the target humidity includes:
determining a second compensation relation corresponding to the current working radius and the working gear, wherein the second compensation relation is used for reflecting the relation among the capacitance, the gear and the humidity compensation value;
and determining a second humidity compensation value corresponding to the current capacitance and the working gear according to the second compensation relation, and summing the second humidity compensation value and the humidity value detected by the first humidity sensor to obtain the target humidity.
5. The method of claim 4, wherein the acquiring the current capacitance value of the humidity control device in the current direction of mist generation further comprises:
determining a plurality of space radiuses and a plurality of preset working gears corresponding to the humidity adjusting device;
under the condition that the humidity adjusting device is in a target mist-out state, acquiring a capacitance value corresponding to the target mist-out state, a third humidity value measured by the first humidity sensor and a fourth humidity value measured by at least two second humidity sensors; the target fog outlet state is when the humidity adjusting device is in a target working gear in any fog outlet direction, the target working gear is any one of a plurality of preset working gears, the at least two second humidity sensors are arranged outside the humidity adjusting device, the distance between the at least two second humidity sensors and the humidity adjusting device is a target radius, and the target radius is any one of a plurality of preset space radii;
determining at least two humidity compensation values corresponding to the target mist-emitting state according to the third humidity value and the fourth humidity value;
And constructing a second compensation relation corresponding to the target radius and the target working gear according to the capacitance value corresponding to at least one mist state and at least two humidity compensation values so as to obtain a second compensation relation corresponding to each of a plurality of preset radiuses and a plurality of preset working gears.
6. The method of claim 1, wherein said obtaining a current working radius of the humidity conditioning device comprises:
acquiring a space size set by a user, and determining the current working radius of the humidity adjustment according to the space size; or alternatively, the first and second heat exchangers may be,
and determining the radius of the preset space as the current working radius of the humidity adjusting device.
7. A humidity compensation apparatus, comprising:
the device comprises a capacitance acquisition module, a humidity adjustment device and a control module, wherein the capacitance acquisition module is used for acquiring a current capacitance value of the humidity adjustment device in a current mist outlet direction, the current capacitance value changes along with the change of the current mist outlet direction of the humidity adjustment device, the humidity adjustment device comprises a first humidity sensor, the first humidity sensor is arranged inside the humidity adjustment device, the humidity adjustment device further comprises a mist outlet component and two opposite capacitance polar plates, the mist outlet component forms a mist outlet, and the first capacitance polar plates are arranged in the mist outlet component; the current capacitance value is a capacitance value between the two opposite capacitance plates, when the current mist outlet direction changes, the mist outlet component rotates, the first capacitance plate rotates along with the rotation of the mist outlet component, and when the first capacitance plate rotates, the opposite areas of the two opposite capacitance plates change, so that the current capacitance value changes;
The radius acquisition module is used for acquiring the current working radius of the humidity adjusting device, and the current working radius is used for indicating the size of the external space where the humidity adjusting device is currently located;
the humidity compensation module is used for performing humidity compensation on the humidity value detected by the first humidity sensor in the humidity adjusting device according to the current working radius and the current capacitance value to obtain target humidity, wherein the target humidity is used for representing the humidity of the external space;
and performing humidity compensation on the humidity value detected by the first humidity sensor according to the current working radius and the current capacitance value to obtain a target humidity, including:
determining a first compensation relation corresponding to the current working radius, wherein the first compensation relation is used for reflecting the relation between the capacitance and the humidity compensation value;
and determining a first humidity compensation value corresponding to the current capacitance value according to the first compensation relation, and summing the first humidity compensation value and the humidity value detected by the first humidity sensor to obtain the target humidity.
8. A computer device comprising a memory, a first humidity sensor, a fog outlet direction sensing means for sensing a fog direction and generating a sensed quantity corresponding to the fog outlet direction, and one or more processors; the one or more processors are configured to execute one or more computer programs stored in the memory, which when executed, cause the computer device to implement the method of any of claims 1-6.
9. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110962876.4A CN113719938B (en) | 2021-08-20 | 2021-08-20 | Humidity compensation method and device, computer equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110962876.4A CN113719938B (en) | 2021-08-20 | 2021-08-20 | Humidity compensation method and device, computer equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113719938A CN113719938A (en) | 2021-11-30 |
CN113719938B true CN113719938B (en) | 2023-06-09 |
Family
ID=78677160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110962876.4A Active CN113719938B (en) | 2021-08-20 | 2021-08-20 | Humidity compensation method and device, computer equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113719938B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114279016A (en) * | 2021-12-31 | 2022-04-05 | 深圳市晨北科技有限公司 | Humidity determination method, humidification device and computer storage medium |
CN114877447B (en) * | 2022-05-31 | 2023-10-31 | 佛山市金星徽电器有限公司 | Humidifier, computer readable storage medium therein and humidification control method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111854121A (en) * | 2020-07-22 | 2020-10-30 | 广东美的暖通设备有限公司 | Humidity detection method and device, humidification control method and device and air conditioning system |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0626690B2 (en) * | 1984-06-14 | 1994-04-13 | 三洋電機株式会社 | Humidifier |
JP3026895B2 (en) * | 1992-10-13 | 2000-03-27 | 松下電器産業株式会社 | Air quality level determination method and air quality level determination device |
TWI314989B (en) * | 2006-06-23 | 2009-09-21 | Fego Prec Ind Co Ltd | Humidity sensor having temperature compensation self-comparing and manufacturing method therefore |
JP2014031966A (en) * | 2012-08-03 | 2014-02-20 | Sharp Corp | Humidification device |
CN105937792A (en) * | 2016-04-28 | 2016-09-14 | 南京信息工程大学 | Household humidifier with error correcting function and error correcting method |
CN106524398B (en) * | 2016-10-31 | 2019-12-17 | 青岛海尔空调电子有限公司 | Air conditioner indoor environment temperature and humidity compensation method |
CN108006906B (en) * | 2017-11-03 | 2020-11-06 | 特灵空调系统(中国)有限公司 | Air conditioner temperature control method, temperature control device and air conditioner |
CN210197557U (en) * | 2019-08-02 | 2020-03-27 | 郑州光阳印业有限公司 | Temperature and humidity control device for graphite material production workshop |
CN111637545B (en) * | 2020-05-29 | 2021-07-02 | 深圳市康贝电子有限公司 | Humidity calibration method, calibration module and dehumidifier |
CN112628960B (en) * | 2020-12-01 | 2021-11-30 | 珠海格力电器股份有限公司 | Air conditioner, humidity correction method, computer equipment, medium, terminal and application |
CN112815487B (en) * | 2021-01-18 | 2022-06-24 | 深圳市晨北科技有限公司 | Control method and device of humidifier, equipment and storage medium |
-
2021
- 2021-08-20 CN CN202110962876.4A patent/CN113719938B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111854121A (en) * | 2020-07-22 | 2020-10-30 | 广东美的暖通设备有限公司 | Humidity detection method and device, humidification control method and device and air conditioning system |
Also Published As
Publication number | Publication date |
---|---|
CN113719938A (en) | 2021-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113719938B (en) | Humidity compensation method and device, computer equipment and medium | |
CN106524373B (en) | Humidifying method, humidifying device and aromatherapy machine | |
CN107062557A (en) | A kind of air-conditioning sweeps wind Automatic adjustment method and its device, a kind of air-conditioning | |
CN106291522B (en) | A kind of supersonic range finder and distance measuring method | |
CN102147281A (en) | Machine-vision based liquid level detection device and method | |
CN106706852A (en) | Calibration method and calibration system of gas concentration sensor | |
US20160282112A1 (en) | Method and device for determining an angle of rotation of an object about a rotation axis | |
CN111998919B (en) | Gas meter calibration method and device | |
CN106123255A (en) | Air conditioner control method and air conditioner | |
CN113757978A (en) | Ventilation equipment and motor control method and system with constant air volume | |
CN113028598B (en) | Humidity control method and device, electronic equipment and storage medium | |
CN108954692A (en) | A kind of environment temperature calculation method and air conditioner | |
CN110361042A (en) | A kind of humiture monitoring device automatic gauge calibration method and system | |
CN108895603B (en) | Air supply equipment, air supply control method and device thereof and readable storage medium | |
Hjortland et al. | Virtual sensors for rooftop unit air-side diagnostics | |
WO2022242231A1 (en) | Method and apparatus for measuring indoor temperature, and smart air conditioner | |
CN111344542A (en) | Flowmeter calibration system, method, device and storage medium | |
CN112299039A (en) | Powder feeder control system and method | |
CN116857749A (en) | Method and device for adjusting airflow organization, electronic equipment and storage medium | |
CN113887058B (en) | Chloride ion deposition rate prediction method considering influence of distance from coastline and wind speed | |
JP6271357B2 (en) | Air conditioning control system and method | |
CN115824363A (en) | Volume calibration method, device and equipment for metering tank | |
CN115218357A (en) | Indoor ventilation quantity adjusting method and device | |
CN109029576B (en) | Method and system for detecting environment value | |
CN112378033A (en) | Air conditioner control method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |