Oiling method and device of atomization equipment, storage medium and atomization equipment
By obtaining the attitude parameters of the atomization equipment and intelligently judging its attitude status, and controlling the oil injection operation, the problem of oil leakage in the atomization equipment in reverse or inappropriate state is solved, and the safety and reliability of the equipment are improved.
Patent Information
- Application Number
- CN202510478126.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-15
- Publication Date
- 2025-07-04
AI Technical Summary
Oil leakage is prone to occur during use of atomization equipment, especially in reverse or inappropriate states, which leads to short circuits of electronic circuits and safety hazards.
By obtaining the attitude parameters of the atomization equipment, using a three-axis acceleration sensor or other sensors to determine the attitude of the equipment, and perform oil injection operations when the equipment is in a flat or tilted state. Oil injection is prohibited in the reverse state to avoid oil leakage.
It effectively prevents oil leakage caused by oil filling in unsuitable conditions, and improves the safety and reliability of the equipment.
Smart Images

Figure CN120240723A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of atomization devices, and particularly to an oil injection method, device, storage medium and atomization device for an atomization device. Background Art
[0002] Atomization devices have been widely used globally in recent years. Especially portable atomization device products are favored by users due to their small size and convenient use. However, there is a problem that has not been effectively solved for a long time in atomization device products, that is, the oil leakage problem. Once leakage occurs, it is very easy to penetrate into electronic circuits or printed circuit boards. And the oil used in atomization devices usually has a certain conductivity, which may not only cause some electronic functions to fail, but in more serious cases, it may even cause a short circuit in the circuit, resulting in the failure of the product protection mechanism, thus bringing potential safety hazards. Summary of the Invention
[0003] Embodiments of the present invention provide an oil injection method, device, storage medium and atomization device for an atomization device to solve the above technical problems.
[0004] In a first aspect of the embodiments of the present invention, an oil injection method for an atomization device is provided. The oil injection method includes:
[0005] Obtain the attitude parameters of the atomization device;
[0006] Determine the attitude of the atomization device according to the attitude parameters;
[0007] Perform an oil injection operation or not perform an oil injection operation according to the attitude of the atomization device.
[0008] Optionally, the obtaining of the attitude parameters of the atomization device includes:
[0009] Obtain the three-axis actual values of the atomization device through a three-axis acceleration sensor.
[0010] Optionally, the attitudes of the atomization device include a flat attitude, an inclined attitude and an inverted attitude; the determining of the attitude of the atomization device according to the attitude parameters includes:
[0011] Obtain the reference value corresponding to each attitude, and compare the three-axis actual values with the reference value corresponding to each attitude to determine the current attitude of the atomization device.
[0012] Optionally, the obtaining of the reference value corresponding to each attitude includes:
[0013] Place the atomization device in a flat state, an inclined state and an inverted state in sequence, and obtain the three-axis acceleration data in each state;
[0014] Obtain the change range of the acceleration data of each axis respectively, and determine the axis with the largest change range as the reference axis;
[0015] Set the acceleration values of the reference axis in the flat state, inclined state, and inverted state as the flat reference value, inclined reference value, and inverted reference value respectively.
[0016] Optionally, the comparing the actual values of the three axes with the reference values corresponding to each posture to determine the current posture of the atomizing device includes:
[0017] Perform a difference operation on the actual values of the three axes and the reference values corresponding to each posture to obtain the three-axis difference;
[0018] Determine the posture corresponding to the minimum value in the three-axis difference as the current posture of the atomizing device.
[0019] Optionally, the performing or not performing the oil injection operation according to the posture of the atomizing device includes:
[0020] When the posture of the atomizing device is the flat state or the inclined state, perform the oil injection operation;
[0021] When the posture of the atomizing device is the inverted posture, do not perform the oil injection operation.
[0022] Optionally, the performing or not performing the oil injection operation according to the posture of the atomizing device further includes:
[0023] Obtain the number of puff counts;
[0024] When the obtained number of puff counts reaches the preset number of times, do not perform the oil injection operation;
[0025] When the obtained number of puff counts does not reach the preset number of times, and the posture of the atomizing device is the flat state or the inclined state, perform the oil injection operation;
[0026] When the obtained number of puff counts does not reach the preset number of times, and the posture of the atomizing device is the inverted posture, do not perform the oil injection operation.
[0027] The second aspect of the embodiments of the present invention provides an oil injection device for an atomizing device, and the oil injection device includes:
[0028] A parameter acquisition module that acquires the posture parameters of the atomizing device;
[0029] A posture acquisition module that determines the posture of the atomizing device according to the posture parameters;
[0030] A control module that performs or does not perform the oil injection operation according to the posture of the atomizing device.
[0031] In a third aspect of the embodiments of the present invention, an atomization device includes: at least one processor, a memory, and a computer program stored in the memory and executable on at least one processor, and when the processor executes the computer program, the method described in the first aspect is implemented.
[0032] In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0033] The technical effect of the embodiments of the present invention is that by obtaining the attitude parameters of the atomization device and intelligently judging its attitude state, whether to perform the oil injection operation is controlled, effectively avoiding the oil leakage problem caused by oil injection in the inverted or inappropriate state, thereby improving the safety and reliability of the device. Description of the Drawings
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts.
[0035] Figure 1 It is a flowchart of an oil injection method for an atomization device provided in Embodiment 1 of the present invention;
[0036] Figure 2 It is a specific flowchart of step S10 in an oil injection method for an atomization device provided in Embodiment 1 of the present invention;
[0037] Figure 3 It is a specific flowchart of step S20 in an oil injection method for an atomization device provided in Embodiment 1 of the present invention;
[0038] Figure 4 It is a specific flowchart of step S30 in an oil injection method for an atomization device provided in Embodiment 1 of the present invention;
[0039] Figure 5 It is a structural schematic diagram of an atomization device in an oil injection method for an atomization device provided in Embodiment 1 of the present invention;
[0040] Figure 6 It is another specific flowchart of step S30 in an oil injection method for an atomization device provided in Embodiment 1 of the present invention;
[0041] Figure 7 It is a flowchart of an oil injection method for an atomization device provided in Embodiment 1 of the present invention;
[0042] Figure 8 It is a schematic structural diagram of an oil injection device of an atomization device provided in the second embodiment of the present invention;
[0043] Figure 9 It is a schematic structural diagram of an atomization device in an embodiment of the present invention. Specific embodiments
[0044] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present invention.
[0045] It should be understood that the present invention can be implemented in different forms and should not be construed as limited to the embodiments presented herein. On the contrary, providing these embodiments will make the disclosure thorough and complete, and will fully convey the scope of the present invention to those skilled in the art. In the drawings, for clarity, the dimensions and relative dimensions of layers and regions may be exaggerated. The same reference numerals denote the same elements throughout the drawings.
[0046] It should be understood that when an element or layer is referred to as "on", "adjacent to", "connected to" or "coupled to" another element or layer, it can be directly on, adjacent to, connected or coupled to the other element or layer, or there may be intervening elements or layers. In contrast, when an element is referred to as "directly on", "directly adjacent to", "directly connected to" or "directly coupled to" another element or layer, there are no intervening elements or layers. It should be understood that although the terms first, second, third, etc. may be used to describe various elements, components, regions, layers and / or parts, these elements, components, regions, layers and / or parts should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or part from another element, component, region, layer or part. Therefore, without departing from the teachings of the present invention, the first element, component, region, layer or part discussed below may be denoted as the second element, component, region, layer or part.
[0047] The purpose of the terms used herein is only to describe specific embodiments and is not a limitation of the present invention. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the terms "comprising" and / or "including", when used in this specification, identify the presence of the stated features, integers, steps, operations, elements and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups. As used herein, the term "and / or" includes any and all combinations of the related listed items.
[0048] To thoroughly understand the present invention, detailed structures and steps will be presented in the following description to illustrate the technical solutions proposed by the present invention. The preferred embodiments of the present invention are described in detail below. However, in addition to these detailed descriptions, the present invention may have other embodiments.
[0049] Embodiment 1
[0050] Embodiment 1 of the present invention provides an oil injection method for an atomization device, as Figure 1 shown, the oil injection method includes:
[0051] Step S10. Obtain the attitude parameters of the atomization device.
[0052] Step S20. Determine the attitude of the atomization device according to the attitude parameters.
[0053] Step S30. Perform an oil injection operation or not perform an oil injection operation according to the attitude of the atomization device.
[0054] Among them, obtaining the attitude parameters of the atomization device in step S10 should refer to collecting the position or direction parameters of the atomization device in space at present through a sensor. In one embodiment of this step, the three-axis actual values of the atomization device are obtained through a three-axis acceleration sensor; based on the collected X, Y, and Z axis acceleration values, it is judged whether the device is in a flat, tilted or inverted state to realize subsequent oil injection control. Of course, this step is not limited to the method of using a three-axis acceleration sensor, and one or more of the following methods can also be selected according to needs to obtain the attitude parameters of the device:
[0055] 1. Three-axis gyroscope sensor: By measuring the angular velocity of the device and combining time integration to obtain the attitude change of the device, it is suitable for scenarios with requirements for responding to dynamic rotation or tilt changes.
[0056] 2. IMU attitude fusion module: Combine the accelerometer, gyroscope and magnetometer, and fuse and process them through algorithms such as Kalman filtering or complementary filtering, and can directly output the three-axis attitude angles (such as Pitch, Roll, Yaw) of the device to obtain more accurate and stable attitude data.
[0057] 3. Tilt limit switch: A low-cost tilt switch is set inside the device. When the device reaches a specific angle, the switch closes or opens to determine whether it is in an inverted state or a tilted state.
[0058] This step does not limit the method of obtaining the attitude parameters. Any technical means that can obtain the attitude of the atomization device and meet the control logic judgment can be used as an alternative implementation manner of the present invention.
[0059] Among them, in step S20, determining the attitude of the atomization device according to the attitude parameters is to analyze and compare the attitude parameters collected in step S10 to determine the specific attitude of the device at present. In a preferred implementation manner of this step, in step S20, the attitude parameters (X, Y, and Z axis acceleration values) collected by the three-axis acceleration sensor are compared with the preset reference attitude values, and the spatial state of the atomization device at present is judged by the attitude corresponding to the reference value with the closest numerical value. For example, it is judged as a flat attitude, a tilted attitude, or an inverted attitude. Of course, this step is not limited to the above numerical comparison method, and the following multiple methods can also be used to process and identify the attitude parameters:
[0060] 1. Threshold range matching method: Set a certain reference axis (such as the Z axis) as the judgment axis, and record in advance the sensor values corresponding to three typical states (flat, tilted, inverted), and judge which reference value the currently read value is closest to, that is, determine the current attitude.
[0061] 2. Multi-axis weighted comparison method: Not only rely on a single axis, but set weights for the three-axis acceleration values respectively, and determine the corresponding attitude by calculating the matching group with the smallest weighted average difference.
[0062] 3. Differential trend judgment method: Continuously read the acceleration data multiple times, and dynamically judge whether the device is being flipped by analyzing the data change trend (such as the Z axis gradually changing from +900 to -900).
[0063] 4. Attitude angle calculation method: Calculate the attitude angle through the acceleration vector and match it with the set angle interval for judgment. For example, when the angle is close to 0° it is flat, about 45° it is tilted, and close to 180° it is inverted.
[0064] This step does not limit the attitude determination method. Any method that can effectively identify the current attitude of the atomization device from the attitude parameters can be used as an equivalent implementation manner of the present invention.
[0065] Among them, in step S30, performing or not performing the oil injection operation according to the posture of the atomization device means that after determining the posture, it is judged whether to perform oil injection according to the posture. For example, oil injection is performed in the flat or appropriately tilted state, and no oil injection is performed in the inverted state to prevent the backflow of oil. Of course, this step is not limited to the above simple posture judgment method, and other factors can also be combined, and the following various methods can be used to control whether to inject oil:
[0066] 1. Combined judgment method of posture and number of smoking puffs: When the posture is flat or tilted, and the cumulative number of smoking puffs does not exceed the set threshold (such as 15 puffs), oil injection is allowed; when the number of smoking puffs reaches the upper limit, the solenoid valve is closed regardless of the posture.
[0067] 2. Posture and time control method: Set an oil injection time window. For example, when the device is in a flat state and maintains this state for more than 3 seconds, oil injection is allowed; frequent posture changes or short-term flat states do not trigger oil injection to prevent accidental triggering during transportation.
[0068] 3. Posture change trend control method: Real-time detect the change direction and rate of the posture angle. For example, when the device is flipped from the inverted state to the flat state, it means that it has just been used and oil injection can be performed immediately.
[0069] 4. Linkage method of posture and oil quantity monitoring: When the oil quantity is lower than the threshold and the device posture is normal (such as flat), oil injection is performed immediately; when the oil quantity is sufficient, even if the posture allows, oil injection is suspended to avoid overflow.
[0070] 5. Hierarchical oil injection method: Set different oil injection strategies for different postures. The oil injection time is longer in the flat state; the oil injection time is short or intermittent in the tilted state; oil injection is prohibited in the inverted state.
[0071] The technical effect of this embodiment is that by obtaining the posture parameters of the atomization device and intelligently judging its posture state, it controls whether to perform the oil injection operation, effectively avoiding the oil leakage problem caused by oil injection in the inverted or inappropriate state, thereby improving the safety and reliability of the device.
[0072] As an implementation method, the postures of the atomization device include a flat posture, a tilted posture, and an inverted posture; determining the posture of the atomization device according to the posture parameters in step S20 includes:
[0073] Obtain the reference value corresponding to each posture, and compare the actual three-axis values with the reference value corresponding to each posture to determine the current posture of the atomization device.
[0074] Among them, there are mainly three types of device postures recognized in this embodiment: flat posture: the device is placed horizontally, for example, the desktop is facing up; inclined posture: the device is inclined at a certain angle, such as 45°; inverted posture: the device is flipped downward, and the oil tank opening is downward, which is likely to cause the risk of backflow. In the preferred embodiment of this embodiment, the posture recognition of the atomization device is completed by comparing the posture reference value with the real-time sensor data. The reference value is a typical value used to characterize the sensor output of the device in different postures (such as flat, inclined, inverted), and is usually determined based on the output of a three-axis acceleration sensor. In addition to the method of placing the device in the flat, inclined, and inverted states respectively and collecting the reference axis data in each posture, the present invention can also adopt the following various methods to obtain the reference value corresponding to each posture to adapt to different product structures, application environments, and accuracy requirements:
[0075] 1. Preset method: During the product production process, perform posture calibration tests uniformly, and directly write the reference values in each typical posture into the firmware, register, or storage module of the device.
[0076] 2. Initialization calibration method: When the device is started for the first time, place the device in the flat, inclined, and inverted states in sequence, and automatically collect the reference axis output values in each state as the posture reference value exclusive to the current device.
[0077] 3. Dynamic learning and updating method: During the long-term use of the device, through time series statistics and filtering of sensor data, automatically identify common stationary states and classify them into specific postures, and extract the average value or median value as the reference value to realize the self-learning and dynamic updating of the reference value.
[0078] 4. Recognition method based on machine learning model: A large amount of historical sensor data can be collected, and by training classification models (such as KNN, SVM, lightweight neural network, etc.), the feature templates corresponding to different postures can be recognized, so as to establish a reference data set for subsequent posture matching judgment.
[0079] The above various methods can be used independently or in combination, and are not limited to a specific implementation form. As long as the sensor reference values in different postures can be effectively established and used for the current posture judgment, they all fall within the protection scope of the present invention.
[0080] As a preferred embodiment, as Figure 2 described, obtaining the reference value corresponding to each posture in step S10 includes:
[0081] Step S101. Make the atomization device be in the flat state, inclined state, and inverted state in sequence, and obtain the three-axis acceleration data in each state.
[0082] Step S102. Obtain the change amplitude of the acceleration data for each axis respectively, and determine the axis with the largest change amplitude as the reference axis.
[0083] Step S103. Set the acceleration values of the reference axis in the flat state, inclined state, and inverted state as the flat reference value, inclined reference value, and inverted reference value respectively.
[0084] Among them, in step S101, first, make the atomization device be in the flat state, inclined state, and inverted state in sequence, and obtain its current three-axis acceleration data through a three-axis acceleration sensor in each state. The acceleration data includes the acceleration values of the X-axis, Y-axis, and Z-axis. Among them, the flat state means the device is placed horizontally in the normal use posture; the inclined state means the device is placed at an angle of about 45 degrees; the inverted state means the device is placed with the bottom facing up. The device respectively collects the three-axis output values in these three postures as the original posture feature data.
[0085] Among them, in step S102, compare the three-axis acceleration data in the above three postures, calculate the change amplitude of each axis between the three states, and determine the axis with the largest change amplitude as the reference axis. For example: If the change amplitude of the Z-axis is the largest among the flat, inclined, and inverted states, then select the Z-axis as the reference axis. This reference axis will be the only axis used in the subsequent posture judgment process, improving the judgment efficiency and reducing the system complexity.
[0086] Among them, in step S103, record the acceleration values of the reference axis in the three postures as the corresponding flat reference value, inclined reference value, and inverted reference value respectively. During the subsequent operation, the acceleration value of the reference axis will be collected in real time and compared with the above three reference values, and the current posture of the device will be judged by the closest reference value. For example: When the reference axis Z is +980 in the flat state, it is set as the flat reference value; when it is +700 in the inclined state, it is set as the inclined reference value; when it is -980 in the inverted state, it is set as the inverted reference value.
[0087] As an implementation, as Figure 3 shown, compare the three-axis actual values with the reference values corresponding to each posture to determine the current posture of the atomization device, including:
[0088] Step S111. Perform a difference operation on the three-axis actual values and the reference values corresponding to each posture to obtain the three-axis difference.
[0089] Step S112. Determine the posture corresponding to the minimum value among the three-axis differences as the current posture of the atomization device.
[0090] Among them, in step S111, the three-axis values of the sensor collected in real time currently (i.e., the X, Y, and Z axis acceleration values in the current posture of the device) are calculated for the numerical differences with the reference values in the three postures (flat, tilted, and inverted) stored. The specific operations are as follows: For each posture, store the corresponding three-axis reference values: X_ref, Y_ref, Z_ref; the actual three-axis values collected currently are: X_cur, Y_cur, Z_cur; calculate the three-axis differences: Diff_X = |X_cur – X_ref|; Diff_Y = |Y_cur – Y_ref|; Diff_Z = |Z_cur – Z_ref|, and finally obtain the difference combination between the current posture and each known posture.
[0091] Among them, step S112 is to find the group with the smallest difference from the multiple posture differences obtained in the previous step as the posture that the current device is most likely in. The smaller the difference, the closer the current actual value is to a certain reference state; the posture corresponding to the smallest difference is considered the true posture of the current device.
[0092] The following uses a specific actual process and numerical example to illustrate how to determine the reference values:
[0093] 1. Obtain the three-axis acceleration data of the three postures. The specific data is as follows:
[0094] Attitude X-axis Y-axis Z-axis Laying flat 50 45 980 Tilting 450 400 700 Upside down 20 10 -980
[0095] 2. Calculate the data change value of each axis to obtain the reference axis. The Z axis ranges from +980 (flat) to +700 (tilted) to -980 (inverted), and the change span is about 1960 units; while the change ranges of the X axis and Y axis are only a few hundred, and the changes are not obvious. Therefore, the Z axis is the reference axis.
[0096] 3. After determining the reference values, set the values of the Z axis in the three states as the corresponding posture reference values. The flat reference value: +980; the tilted reference value: +700; the inverted reference value: -980.
[0097] 4. Determine the current state of the atomizing device. Obtain the three-axis acceleration data through the three-axis acceleration sensor. Assume the three-axis acceleration data are 500, 500, 500 respectively; compare the Z axis data 500 with the flat reference value, the tilted reference value, and the inverted reference value respectively. It can be seen that the Z axis data is closer to the tilted reference value, and it is determined that the current state of the atomizing device is the tilted state.
[0098] As an implementation method, as Figure 4 shown, the oil injection operation or non-oil injection operation according to the posture of the atomizing device in step S30 includes:
[0099] Step S121. When the atomizing device is in a flat or tilted state, perform the refueling operation.
[0100] Step S122. When the atomizing device is in an inverted state, do not perform the refueling operation.
[0101] Among them, in step S121, when it is detected that the atomizing device is in a flat or tilted state, control the refueling mechanism to turn on and perform the refueling operation. At this time, the atomizing device is in a relatively stable and safe placement state, the oil flows smoothly in the oil circuit, and the risk of backflow is not likely to occur, so refueling can be safely carried out. In the actual execution process, the refueling operation can be started in the following way: open the solenoid valve, start the fuel injection pump, and control the drive circuit to output a high-level signal to trigger the refueling mechanism; keep the refueling open state for several seconds to ensure sufficient fuel replenishment for the atomizing device.
[0102] Among them, in step S122, when it is determined that the current device attitude is in an inverted state, to prevent oil backflow or leakage, immediately prohibit the refueling operation. At this time, the refueling path may be in the downward direction. If refueling continues, it may cause the oil to flow into the outside of the atomizer, the PCB area, and even cause electrical failures. In this state, the following control operations can be performed: close the solenoid valve, disconnect the refueling path; prohibit the output of the refueling control signal; if the device remains in the inverted state, maintain the refueling prohibited state until the attitude returns to flat or tilted.
[0103] The technical effect of this embodiment is that by identifying the attitude of the atomizing device and performing the refueling operation when the device is in a flat or tilted state and prohibiting refueling when in an inverted state, it effectively prevents the problems of e-liquid backflow and leakage, and improves the safety of the device and the intelligent level of refueling control.
[0104] As an example, as Figure 5 shown, performing or not performing the refueling operation can be achieved through the following structure. The atomizing device includes a three-axis acceleration sensor 11, a control chip 12, a boost module 13, and a solenoid valve 14. The three-axis acceleration sensor 11 is used to collect the attitude parameters of the atomizing device in space in real time, including the acceleration data of the X-axis, Y-axis, and Z-axis, for identifying the current placement state of the device (such as flat, tilted, inverted); the control chip 12 is electrically connected to the three-axis acceleration sensor, and is used to process the attitude data and determine whether to start the refueling operation according to the attitude state; the boost module 13 is used to boost the working voltage (such as 3.3V or 5V) output by the control chip to the target drive voltage (such as 12V) to provide sufficient power to drive the solenoid valve; the solenoid valve 14, as the opening and closing device of the refueling channel, receives the drive voltage output by the boost module and opens when the control chip issues a refueling instruction to complete the e-liquid injection.
[0105] In practical applications, since a large electromagnetic suction force is required during the opening process of the solenoid valve, if the output voltage of the control chip (such as 3.3V) is directly used for power supply, problems such as insufficient suction force, opening failure, or response delay may occur. Therefore, in this embodiment, a boost module 13 is integrated in the solenoid valve circuit to raise the voltage to 12V and then supply it to the solenoid valve 14, ensuring that it can be quickly and reliably opened when refueling is required, and improving the refueling response efficiency and stability. When the control chip 12 determines that the refueling condition is met, it outputs a control signal to start the boost module 13, raises the voltage to 12V, and drives the solenoid valve 14 to open to perform the refueling operation. Conversely, when it is determined to be in the inverted state, the control chip closes the boost module or pulls down the control signal to keep the solenoid valve in the closed state and prohibits refueling.
[0106] The technical effect of this embodiment is that by setting a boost module to raise the working voltage of the control chip to 12V, it ensures that the solenoid valve has sufficient driving force during the refueling operation, can be quickly and stably opened, and avoids refueling delay or failure caused by insufficient suction force, thereby improving the reliability of the refueling process and the overall stability of the device.
[0107] As an embodiment, as Figure 6 shown, the step of performing or not performing the refueling operation according to the posture of the atomization device in step S30 further includes:
[0108] Step S131. Obtain the number of puff counts.
[0109] Step S132. When the obtained number of puff counts reaches the preset number of times, do not perform the refueling operation.
[0110] Step S133. When the obtained number of puff counts does not reach the preset number of times, and the posture of the atomization device is in the flat state or the inclined state, perform the refueling operation.
[0111] Step S134. When the obtained number of puff counts does not reach the preset number of times, and the posture of the atomization device is in the inverted posture, do not perform the refueling operation.
[0112] Among them, step S131 is used to record the number of times the user inhales since the last refueling. The number of puff counts can be detected through methods such as an airflow sensor, a pressure sensor, and current changes, and is accumulated and stored in the main control chip. This data is used to determine whether the device has been used continuously for a long time and whether it should enter the protection or restricted refueling state to prevent excessive refueling from causing oil accumulation, leakage, or discomfort in taste.
[0113] Step S132 sets a threshold value (such as 15 times) to limit the maximum number of puff counts allowed for refueling within a single refueling cycle. When the number of puff counts reaches or exceeds this set value, the refueling control will be automatically closed, and no refueling will be performed even if the posture allows.
[0114] In step S133, on the premise that the number of smoking times has not reached the threshold and the current posture of the device is safe and controllable (i.e., in a flat or tilted state), the refueling operation is allowed.
[0115] In step S134, even if the number of puffs has not reached the threshold, if the device is currently judged to be in an upside-down state, refueling is still prohibited.
[0116] The technical effect of this embodiment is as follows: By combining the posture recognition of the atomization device and the control of the number of puffs, a more accurate and safe refueling strategy is achieved; the refueling operation is performed when the device is in a flat or tilted state and the number of puffs does not exceed the preset value, while refueling automatically stops when the device is in an upside-down state or the number of puffs reaches the upper limit, effectively preventing the backflow of e-liquid and over-refueling, and improving the intelligence level and use safety of the device.
[0117] As Figure 7 shown, the specific embodiment will be specifically described below through a specific working process:
[0118] Step S201. Read the three-axis data of the sensor through three angles: flat / upside-down / tilted at 45 degrees.
[0119] Step S202. During the process from flat to tilted to upside-down, obtain the data change situation of each axis.
[0120] Step S203. Set the axis with the largest change as the reference axis, and set the axis data with the largest difference when flat / upside-down / tilted at 45 degrees as the reference value.
[0121] Step S204. Judge whether 10 ms has been reached. When it has not reached 10 ms, re-detect the time; when it reaches 10 ms, execute step S205.
[0122] Step S205. Obtain the three-axis data of the sensor.
[0123] Step S206. Compare the three-axis data of the obtained sensor with the reference value, and then judge the current position of the cartridge.
[0124] Step S207. Judge whether the number of puffs has reached 15 times. If so, execute step S211; if not, execute steps S208, S209, and S210.
[0125] Step S208. When it is detected that the number of puffs has not reached 15 times and the comparison value is close to the axis data when flat, it is considered to be in a flat state, and step S212 is executed.
[0126] Step S209. When the detected number of puffing times does not reach 15, if the comparison value is close to the axis data when tilted at 45 degrees, it is considered to be in the side-lying state, and step S212 is executed.
[0127] Step S210. When the detected number of puffing times does not reach 15, if the comparison value is close to the axis data when placed upside down, it is considered to be in the upside-down state, and step S211 is executed.
[0128] Step S211. Close the solenoid valve to prohibit oil injection.
[0129] Step S212. Open the battery valve for automatic oil injection.
[0130] Embodiment 2
[0131] Embodiment 2 of the present application provides an oil injection device 100 for an atomization device, as Figure 8 shown. The oil injection device 100 includes:
[0132] A parameter acquisition module 101 that acquires the attitude parameters of the atomization device;
[0133] An attitude acquisition module 102 that determines the attitude of the atomization device according to the attitude parameters;
[0134] A control module 103 that performs oil injection operations or does not perform oil injection operations according to the attitude of the atomization device.
[0135] The embodiment of the present application also provides an atomization device, as Figure 9 shown. The atomization device 2 includes: at least one processor 20, a memory 21, and a computer program 22 stored in the memory 21 and executable on the at least one processor 20. When the processor 20 executes the computer program, the steps in any of the above method embodiments are implemented, or when the processor 20 executes the computer program, the functions of each module / unit in the above device embodiments are implemented.
[0136] Exemplarily, the computer program can be divided into one or more modules / units. One or more modules / units are stored in the memory and executed by the processor to complete the present application. One or more modules / units can be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the atomization device.
[0137] Those skilled in the art can understand that Figure 9 merely examples of the atomization device do not constitute a limitation on the atomization device, and may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, the atomization device may further include input / output devices, network access devices, buses, etc.
[0138] The above-mentioned processor may be a Central Processing Unit (CPU), or other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0139] The memory may be an internal storage unit of the atomization device, such as the hard disk or memory of the atomization device. The memory may also be an external storage device of the atomization device, such as a plug-in hard disk equipped on the atomization device, a SmartMedia Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory may also include both the internal storage unit and the external storage device of the atomization device.
[0140] An embodiment of the present application also provides a readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned various method embodiments can be implemented.
[0141] An embodiment of the present application provides a computer program product, and when the computer program product runs on the atomization device, the steps in the above-mentioned various method embodiments can be implemented when the mobile terminal executes.
[0142] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-described embodiment methods of this application, a computer program can be used to instruct the relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-described method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the photographing device / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium. For example, USB flash drive, mobile hard disk, magnetic disk, or optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.
[0143] In the above embodiments, the descriptions of the respective embodiments have their own focuses. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0144] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0145] In the embodiments provided in this application, it should be understood that the disclosed device / equipment and method can be implemented in other ways. For example, the device / equipment embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical, or other form.
[0146] The unit described as a separating component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed over multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0147] The above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. An oil injection method for an atomization device, characterized in that, The oil injection method includes: Obtaining the attitude parameters of the atomization device; Determining the attitude of the atomization device according to the attitude parameters; Performing an oil injection operation or not performing an oil injection operation according to the attitude of the atomization device.
2. The oil injection method according to claim 1, characterized in that, The obtaining of the attitude parameters of the atomization device includes: Obtaining the three-axis actual values of the atomization device through a three-axis acceleration sensor.
3. The oil injection method according to claim 2, characterized in that, The attitude of the atomization device includes a flat attitude, an inclined attitude, and an inverted attitude; the determining of the attitude of the atomization device according to the attitude parameters includes: Obtaining the reference value corresponding to each attitude, and comparing the three-axis actual values with the reference values corresponding to each attitude to determine the current attitude of the atomization device.
4. The oil injection method according to claim 3, characterized in that, The obtaining of the reference value corresponding to each attitude includes: Placing the atomization device in the flat state, the inclined state, and the inverted state in sequence, and obtaining the three-axis acceleration data in each state; Respectively obtaining the change amplitude of the acceleration data of each axis, and determining the axis with the largest change amplitude as the reference axis; Respectively setting the acceleration values of the reference axis in the flat state, the inclined state, and the inverted state as the flat reference value, the inclined reference value, and the inverted reference value.
5. The oil injection method according to claim 3, characterized in that, The comparing of the three-axis actual values with the reference values corresponding to each attitude to determine the current attitude of the atomization device includes: Performing a difference operation on the three-axis actual values and the reference values corresponding to each attitude to obtain three-axis differences; Determining the attitude corresponding to the minimum value in the three-axis differences as the current attitude of the atomization device.
6. The oil injection method according to claim 3, wherein, The performing of an oil injection operation or not performing an oil injection operation according to the attitude of the atomization device includes: When the attitude of the atomization device is in the flat state or the inclined state, performing an oil injection operation; When the attitude of the atomization device is in the inverted state, not performing an oil injection operation.
7. The oil injection method according to claim 3, characterized in that, The performing of an oil injection operation or not performing an oil injection operation according to the attitude of the atomization device further includes: Obtaining the number of puff counts; When the obtained number of puff counts reaches a preset number of times, not performing an oil injection operation; When the obtained number of puff counts does not reach the preset number of times, and the attitude of the atomization device is in the flat state or the inclined state, performing an oil injection operation; When the obtained number of puff counts does not reach the preset number of times, and the attitude of the atomization device is in the inverted state, not performing an oil injection operation.
8. An oil injection device for an atomization device, characterized in that, The oil injection device includes: A parameter acquisition module that acquires the attitude parameters of the atomization device; An attitude acquisition module that determines the attitude of the atomization device according to the attitude parameters; A control module that performs an oil injection operation or not performs an oil injection operation according to the attitude of the atomization device.
9. An atomization device, characterized in that, Including: At least one processor, a memory, and a computer program stored in the memory and executable on at least one processor, where the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that, The computer program, when executed by the processor, implements the method according to any one of claims 1 to 7.