Resistance measurement method, device, equipment, storage medium and program product

By gradually increasing the output voltage in the aerosol generating equipment to perform staged resistance measurement, and combining multiple measurements with bubble sorting, the problem of excessive actual operating power in the resistance measurement of aerosol generating equipment was solved, thus improving the accuracy and safety of the measurement.

CN120948882APending Publication Date: 2025-11-14SHENZHEN GEEKVAPE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511088729.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-04
Publication Date
2025-11-14

Smart Images

  • Figure CN120948882A_ABST
    Figure CN120948882A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of resistance measurement, and provides a resistance measurement method, device and equipment, a storage medium and a program product, and the method comprises the steps: carrying out the stage type measurement of a resistor assembly in aerosol generation equipment through taking a gradual increase mode of an output voltage as a reference in a scene that the aerosol generation equipment has a resistance measurement demand, and obtaining a resistance measurement result; it is ensured that the actual operation power of the aerosol generation equipment does not exceed the rated power during measurement each time, the equipment safety of the aerosol generation equipment is improved, and then the accuracy of resistance measurement is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of data measurement technology, and in particular relates to resistance measurement methods, devices, equipment, storage media and program products. Background Technology

[0002] With the development of technology, the use of aerosol generating equipment has become increasingly widespread. Before the aerosol generating equipment leaves the factory or when it malfunctions and needs to be repaired, it is necessary to measure the resistance value of the aerosol generating equipment to determine its operating status.

[0003] In related technologies, by applying a specified input voltage to the aerosol generating device, the resistance value of the aerosol generating device is measured to determine whether the resistance value is within a preset range, thereby judging the operating status of the aerosol generating device.

[0004] However, due to the variety of aerosol generating equipment products, the operating power of the equipment also varies. Using a single input voltage measurement method can cause the actual operating power of the aerosol generating equipment to exceed its corresponding rated power, leading to malfunctions in the aerosol generating equipment. Summary of the Invention

[0005] This application provides a resistance measurement method, apparatus, device, storage medium, and program product. By performing staged measurements on the resistive components in the aerosol generating equipment in scenarios where resistance measurement is required, with the output voltage gradually increasing as a reference, the actual operating power of the aerosol generating equipment does not exceed the rated power during each measurement, thereby improving the equipment safety of the aerosol generating equipment and thus enhancing the accuracy of resistance measurement.

[0006] In a first aspect, embodiments of this application provide a resistance measurement method, the method being applied to an aerosol generating device, the aerosol generating device including a resistive component, the method comprising: During the process of supplying power to the aerosol generating device, a first power supply parameter corresponding to the aerosol generating device is obtained. The first power supply parameter includes at least one of the output current or input voltage corresponding to the aerosol generating device, and the input voltage is the power supply voltage of the aerosol generating device. If the first power supply parameter meets the first condition, during the i-th measurement, the (i-1)th output voltage corresponding to the resistor component is increased to the i-th output voltage, where the output voltage is related to the input voltage, i > 1 and i is an integer; Based on the i-th output voltage, the resistance value corresponding to the resistor component is measured to obtain the i-th resistance measurement result; If the i-th resistance measurement result reaches the i-th resistance threshold, the value of i is increased, and the above measurement process is repeated until the i-th resistance measurement result does not reach the i-th resistance threshold. Then, the resistance value corresponding to the resistance component is determined based on the i-th resistance measurement result, wherein the i-th voltage corresponding to the i-th resistance measurement result reaches the i-th resistance threshold.

[0007] Optionally, determining the resistance value corresponding to the resistor component based on the i-th resistance measurement result includes: Based on the i-th resistance measurement result, the resistance component is subjected to multiple resistance measurements to obtain multiple candidate resistance values ​​corresponding to the resistance component; A bubble sort process is performed on the multiple candidate resistance values ​​to obtain a sorted sequence corresponding to the multiple candidate resistance values; The resistance value corresponding to the resistor component is determined from the sorted sequence.

[0008] Optionally, the step of determining the resistance value corresponding to the resistor component from the sorted sequence includes: Select the candidate resistor with the largest resistance value from the sorted sequence as the resistor value; or... Select the candidate resistor value with the smallest resistance value from the sorted sequence as the resistor value; or... Select the candidate resistance value corresponding to the median position from the sorted sequence as the resistance value; or... The resistance value is obtained by averaging the first candidate resistor value with the largest resistance value and the first candidate resistor value with the smallest resistance value based on the sorting sequence; or; The candidate resistor value with the smallest difference from the i-th resistance measurement result is selected from the sorted sequence as the resistance value.

[0009] Optionally, the resistance threshold is related to the value of i; or, the resistance threshold is a fixed threshold.

[0010] Optionally, when the first power supply parameter meets the first condition, increasing the (i-1)th output voltage corresponding to the resistor component to the ith output voltage during the ith measurement includes: If the output current does not reach the preset current threshold, during the i-th measurement, the (i-1)-th output voltage corresponding to the resistor component is increased to the i-th output voltage; and / or, If the input voltage exceeds a preset voltage threshold, during the i-th measurement, the (i-1)-th output voltage corresponding to the resistor component is increased to the i-th output voltage.

[0011] Optionally, increasing the (i-1)th output voltage corresponding to the resistor component to the ith output voltage includes: Obtain the preset voltage increment; Based on the preset voltage increment, the (i-1)th output voltage corresponding to the resistor component is increased to the ith output voltage, and the voltage increment of the ith output voltage is related to the preset voltage increment.

[0012] Optionally, increasing the (i-1)th output voltage corresponding to the resistor component to the ith output voltage includes: Obtain the first circuit corresponding to the resistor component. The first circuit includes at least one of a boost circuit, a buck circuit, or a buck-boost circuit. The (i-1)th output voltage corresponds to a first duty cycle, wherein the duty cycle is related to the output voltage and the input voltage. By increasing the first duty cycle in the first circuit, a second duty cycle is obtained; The i-th output voltage is obtained based on the second duty cycle.

[0013] Secondly, embodiments of this application provide a resistance measuring device, comprising: The acquisition module is used to acquire a first power supply parameter corresponding to the aerosol generating device during the process of supplying power to the aerosol generating device. The first power supply parameter includes at least one of the output current or input voltage corresponding to the aerosol generating device, and the input voltage is the power supply voltage of the aerosol generating device. An additional module is used to increase the (i-1)th output voltage of the resistor component to the ith output voltage during the i-th measurement, provided that the first power supply parameter meets the first condition. The output voltage is related to the input voltage, i > 1, and i is an integer. The measurement module is used to measure the resistance value corresponding to the resistor component based on the i-th output voltage, and obtain the i-th resistance measurement result; The determination module is used to, when the i-th resistance measurement result reaches the i-th resistance threshold, increase the value of i and repeat the above measurement process until the i-th resistance measurement result does not reach the i-th resistance threshold, and then determine the resistance value corresponding to the resistance component based on the i-th resistance measurement result, wherein the i-th voltage corresponding to the i-th resistance measurement result reaches the i-th resistance threshold.

[0014] Thirdly, embodiments of this application provide a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the resistance measurement method described in any one of the first aspects above.

[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the resistance measurement method described in any one of the first aspects.

[0016] Fifthly, embodiments of this application provide a computer program product that, when run on a computer device, causes the computer device to perform the resistance measurement method described in any one of the first aspects.

[0017] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.

[0018] The beneficial effects of the technical solutions provided in this application include at least the following: During the power supply process of the aerosol generating device, the first power supply parameters of the aerosol generating device are obtained. If the first power supply parameters meet the first condition, that is, it indicates that the current aerosol generating device meets the resistance measurement scenario, the output voltage of the aerosol generating device is gradually increased. The resistance measurement result of the corresponding resistor component is measured based on the phased increase of the output voltage until the resistance measurement result meets the resistance threshold, and the rated resistance value of the resistor component is obtained. In other words, in the scenario where there is a resistance measurement requirement in the aerosol generating device, the resistor component in the aerosol generating device is measured in stages based on the gradual increase of the output voltage. This ensures that the actual operating power of the aerosol generating device does not exceed the rated power during each measurement, improves the equipment safety of the aerosol generating device, and thus improves the accuracy of the resistance measurement. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a flowchart of a resistance measurement method provided in an embodiment of this application; Figure 2 This is a flowchart of a resistance measurement method provided in an embodiment of this application; Figure 3 This is a flowchart of a resistance measurement method provided in an embodiment of this application; Figure 4 This is a structural diagram of the resistance measuring device provided in the embodiments of this application; Figure 5This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0021] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0022] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0023] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0024] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0025] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0026] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0027] In related technologies, the resistance value of aerosol generating equipment needs to be measured before it leaves the factory or when it malfunctions and requires repair, in order to determine its operating status. Therefore, to determine if an aerosol generating equipment is in a resistance measurement scenario, a specified input voltage is applied to the aerosol generating equipment, and the resistance value is measured to determine whether the resistance value is within a pre-set range, thus judging the operating status of the aerosol generating equipment. However, due to the variety of aerosol generating equipment types, their operating power also varies. Measuring using only a single input voltage setting can lead to the actual operating power of the aerosol generating equipment exceeding its corresponding rated power, causing malfunctions and resulting in low efficiency and accuracy of resistance measurement.

[0028] Based on this, this application provides a resistance measurement method. During the process of supplying power to an aerosol generating device, a first power supply parameter of the aerosol generating device is obtained. If the first power supply parameter meets a first condition, that is, it indicates that the current aerosol generating device meets the resistance measurement scenario, the resistance measurement result of the corresponding resistor component is measured by gradually increasing the output voltage of the aerosol generating device, using the phased increase of the output voltage as a benchmark, until the resistance measurement result meets the resistance threshold, and the rated resistance value of the resistor component is obtained. In other words, by performing phased measurements on the resistor component in the aerosol generating device based on the gradual increase of the output voltage in a scenario where there is a resistance measurement requirement in the aerosol generating device, the actual operating power of the aerosol generating device does not exceed the rated power during each measurement, thereby improving the safety of the aerosol generating device and improving the accuracy of the resistance measurement.

[0029] The resistance measurement method provided in the embodiments of this application will be described in detail below. For illustrative purposes, please refer to the following: Figure 1 The diagram illustrates a resistance measurement method provided in an exemplary embodiment of this application, which includes steps 110 to 130.

[0030] Step 110: During the process of supplying power to the aerosol generating device, the first power supply parameters corresponding to the aerosol generating device are obtained.

[0031] The first power supply parameter includes at least one of the output current or input voltage corresponding to the aerosol generating device, wherein the input voltage is the power supply voltage of the aerosol generating device.

[0032] To illustrate, after the aerosol generating device is powered on, the battery module provides electrical energy to the heating element, causing it to heat up. Once the heating element is heated, it transfers the heat to the aerosol generating matrix, causing the matrix to reach its boiling point and atomize, generating a suspended aerosol for the user to inhale.

[0033] In a illustrative sense, power supply refers to charging the aerosol generating equipment through a device with charging capabilities.

[0034] Optionally, the device with charging function includes at least one of a portable power source, a terminal device, a computer device, and a charging device.

[0035] Optionally, the power supply method includes at least one of the following: The first method involves connecting the aerosol generating device to a device with charging capabilities via a data cable, allowing the charging device to supply power to the aerosol generating device. The second method involves attaching one side of the aerosol generating device to the other side of a device with charging capabilities, allowing the charging device to supply power to the aerosol generating device.

[0036] It is worth noting that the above description of power supply methods is merely an illustrative example, and the embodiments of this application do not limit this.

[0037] Indicatively, the first power supply parameter includes at least one of the output current or input voltage corresponding to the aerosol generating device.

[0038] The output current is used to determine the load condition of the aerosol generating equipment. The load condition is related to the output power of the resistor component in the aerosol generating equipment. Taking formula 1: P=U×I as an example, P represents the output power of the resistor component, U represents the output voltage of the resistor component, and I represents the output current of the resistor component.

[0039] To illustrate, by presetting a current threshold (e.g., 22 amps), if the output current of the resistor component does not reach the current threshold after the output current of the resistor component is detected, it indicates that the resistor component meets the requirements for subsequent measurement.

[0040] Indicatively, the input voltage refers to the power supply voltage provided by the charging device to the aerosol generating device. Therefore, it is the input value corresponding to the aerosol generating device. By pre-setting a voltage threshold (e.g., 2.9 volts), if the power supply voltage of the aerosol generating device exceeds the voltage threshold after detection, it indicates that the resistor component meets the requirements for subsequent measurement.

[0041] Step 120: If the first power supply parameters meet the first condition, during the i-th measurement process, increase the (i-1)th output voltage of the resistor component to the i-th output voltage.

[0042] The output voltage is related to the input voltage, i > 1 and i is an integer.

[0043] Indicatively, the voltage value of the i-th output voltage is greater than the voltage value of the (i-1)-th output voltage.

[0044] Optionally, the output voltage boosting process includes at least one of the following methods: The first method involves adding the voltage increment to the (i-1)th output voltage to obtain the i-th output voltage; The second approach targets circuits corresponding to resistor components, including at least one of boost circuits, buck circuits, or boost-buck circuits. By increasing the duty cycle in the circuit (determined by the ratio of the input voltage to the output voltage), the (i-1)th output voltage is increased to the ith output voltage.

[0045] It is worth noting that the above-described methods for increasing the output voltage are merely illustrative examples, and the embodiments of this application do not limit them.

[0046] To illustrate, the output voltage is obtained by converting the input voltage through a DC-DC power supply. In other words, the input voltage is converted into the output voltage by installing a transducer in the aerosol generating device.

[0047] Optionally, the output voltage may be less than the input voltage, or the output voltage may be greater than the input voltage; or the output voltage may be the same as the input voltage. This application does not limit this.

[0048] Schematic, in another case, if the first power supply parameter does not meet the first condition, the resistance value of the resistor component is directly measured, wherein the method of measuring the resistance value is described in detail in subsequent embodiments.

[0049] Step 130: Based on the resistance value corresponding to the i-th output voltage measuring resistor component, obtain the i-th resistance measurement result.

[0050] To illustrate, during the i-th measurement process, if the i-th output voltage is obtained, the resistance value of the resistor component is measured based on the i-th output voltage to obtain the i-th resistance measurement result.

[0051] The resistance measurement structure is only used to represent a reference value of the resistance component at different stages of the resistance measurement process, rather than the actual resistance value of the resistance component at the end.

[0052] Step 140: If the i-th resistance measurement result reaches the i-th resistance threshold, increase the value of i and repeat the above measurement process until the i-th resistance measurement result does not reach the i-th resistance threshold. Then, determine the resistance value corresponding to the resistance component based on the i-th resistance measurement result.

[0053] Among them, the voltage corresponding to the i-th resistance measurement result reaches the i-th resistance threshold.

[0054] Indicatively, the i-th resistance threshold is determined based on the i-th resistance measurement result during the i-th measurement process, and is used to determine whether to execute the next measurement process.

[0055] To illustrate, if the i-th resistance measurement result reaches the i-th resistance threshold, it indicates that the current operating power of the aerosol generating device is relatively small compared to the rated power, and the measurement result of the resistance component is not accurate enough. Therefore, the output voltage of the resistance component in the aerosol generating device can be increased, and the above measurement steps can be repeated. Thus, by increasing the value of i, the above measurement process is iterated until the output voltage reaches the preset i-th resistance threshold.

[0056] The i-th resistance threshold is used to determine the maximum value of the i-th output voltage. That is, as the value of i increases, if the measurement result of the i-th resistance always reaches the i-th resistance threshold, then if the i-th output voltage reaches the i-th resistance threshold, the i-th output voltage will no longer be boosted. Instead, the resistance value of the resistor component will be measured directly to prevent the output voltage from being boosted too much, which would lead to a large output power of the resistor component in the aerosol generating equipment and cause equipment failure.

[0057] If the measurement result of the i-th resistor does not reach the i-th resistor threshold and the output voltage of the i-th resistor does not reach the i-th resistor threshold, the resistance value of the resistor component is measured based on the measurement result of the i-th resistor to obtain the resistance value of the resistor component.

[0058] The resistance measurement method provided in this application, during the process of supplying power to an aerosol generating device, acquires the first power supply parameters of the aerosol generating device. If the first power supply parameters meet a first condition, that is, indicating that the current aerosol generating device meets the resistance measurement scenario, the method measures the resistance of the corresponding resistor component by gradually increasing the output voltage of the aerosol generating device, using the phased increase in output voltage as a benchmark, until the resistance measurement result meets the resistance threshold, and obtains the rated resistance value of the resistor component. In other words, by performing phased measurements on the resistor component in the aerosol generating device based on the gradual increase in output voltage in scenarios where resistance measurement is required in the aerosol generating device, the method ensures that the actual operating power of the aerosol generating device does not exceed the rated power during each measurement, thereby improving the safety of the aerosol generating device and improving the accuracy of resistance measurement.

[0059] The resistance measurement method is explained in detail below. Please refer to the illustrative examples. Figure 2 It illustrates a flowchart of a resistance measurement method provided in an exemplary embodiment of this application, that is, step 140 includes steps 141 to 143, as follows: Figure 2 As shown, the method includes the following steps.

[0060] Step 120: If the first power supply parameters meet the first condition, during the i-th measurement process, increase the (i-1)th output voltage of the resistor component to the i-th output voltage.

[0061] In some embodiments, if the output current does not reach a preset current threshold, during the i-th measurement process, the (i-1)th output voltage corresponding to the resistor component is increased to the i-th output voltage; and / or, if the input voltage exceeds a preset voltage threshold, during the i-th measurement process, the (i-1)th output voltage corresponding to the resistor component is increased to the i-th output voltage.

[0062] In this embodiment, the first power supply parameter includes the output current or the input voltage. If the output current is greater than a preset current threshold (e.g., 2.2 amps), the output voltage is increased. Alternatively, if the input voltage is greater than a preset voltage threshold (e.g., 2.9 volts), the output voltage is also increased.

[0063] In the first measurement, the initial voltage of the resistor component (e.g., 2.2 volts) is obtained in advance as the initial value for subsequent measurements.

[0064] In some embodiments, a preset voltage increment is obtained; based on the preset voltage increment, the (i-1)th output voltage corresponding to the resistor component is increased to the ith output voltage, and the voltage increment of the ith output voltage is related to the preset voltage increment.

[0065] By pre-setting the voltage increment (e.g., 0.8 volts), the output voltage in the current measurement process is obtained by adding the voltage increment to the previous output voltage during each voltage increase.

[0066] Optionally, the voltage increment may be the same or different in each measurement process; this application does not limit this.

[0067] In some embodiments, a first circuit corresponding to the resistor component is obtained. The first circuit includes at least one of a boost circuit, a buck circuit, or a buck-boost circuit. The (i-1)th output voltage corresponds to a first duty cycle, wherein the duty cycle is related to the output voltage and the input voltage. The first duty cycle is increased in the first circuit to obtain a second duty cycle. The i-th output voltage is obtained based on the second duty cycle.

[0068] For circuits corresponding to resistor components, including at least one of boost circuits, buck circuits, or boost-buck circuits, the (i-1)th output voltage is increased to the ith output voltage by increasing the duty cycle in the circuit (determined by the ratio of the input voltage to the output voltage).

[0069] It is worth noting that the above-described methods for increasing the output voltage are merely illustrative examples, and the embodiments of this application do not limit them.

[0070] To illustrate, the output voltage is obtained by converting the input voltage through a DC-DC power supply. In other words, the input voltage is converted into the output voltage by installing a transducer in the aerosol generating device.

[0071] Optionally, the output voltage may be less than the input voltage, or the output voltage may be greater than the input voltage; or the output voltage may be the same as the input voltage. This application does not limit this.

[0072] Step 141: Based on the i-th resistance measurement result, perform multiple resistance measurements on the resistor component to obtain multiple candidate resistance values ​​corresponding to the resistor component.

[0073] Indicatively, by pre-setting the number of measurements, multiple measurements are performed on the resistor component to obtain multiple candidate resistor values.

[0074] The resistance measurement methods include using a multimeter or an internal resistance tester.

[0075] Step 142: Perform bubble sort on the multiple candidate resistor values ​​to obtain the sorted sequence corresponding to the multiple candidate resistor values.

[0076] Indicatively, bubble sort involves comparing and swapping adjacent elements. Through multiple iterations of the sequence, each iteration moves the largest or smallest element in the currently unsorted portion to a specified position. The specific process includes the following: (1) Compare adjacent elements: Starting from the first element of the sequence, compare adjacent elements one by one.

[0077] (2) Exchange order: If the previous element is greater than the next element (ascending order), then exchange their positions; if it is descending order, then exchange the cases where the previous element is less than the next element.

[0078] (3) Repeated traversal: The sequence is traversed multiple times. After each traversal, the largest (or smallest) element in the current unsorted part will be "bubbled" to the end of the sequence.

[0079] Step 143: Determine the resistance value corresponding to the resistor component from the sorted sequence.

[0080] In some embodiments, the candidate resistor with the largest resistance value is selected from the sorted sequence as the resistance value; or, the candidate resistor with the smallest resistance value is selected from the sorted sequence as the resistance value; or, the candidate resistor value corresponding to the median position is selected from the sorted sequence as the resistance value; or, the first candidate resistor with the largest resistance value and the first candidate resistor with the smallest resistance value are averaged based on the sorted sequence to obtain the resistance value; or, the candidate resistor value with the smallest difference from the i-th resistance measurement result is selected from the sorted sequence as the resistance value.

[0081] In this embodiment, after obtaining the sorted sequence, the candidate resistor value with the smallest difference from the i-th resistor measurement result is selected as the actual resistance value corresponding to the resistor component in the final aerosol generating device.

[0082] Optionally, the sorting sequence may include all candidate resistor values, or only some candidate resistor values ​​(in this case, the sorting sequence is obtained by filtering the bubble sort results, for example, removing the head candidate resistor values ​​and the tail candidate resistor values).

[0083] The maximum or minimum value is determined by the order of the sorted sequence (first or last).

[0084] The average value is calculated based on the maximum and minimum values, or the average value is calculated based on the average of multiple candidate resistors.

[0085] In some embodiments, the resistance threshold is related to the value of i; or, the resistance threshold is a fixed threshold.

[0086] The resistance measurement method provided in this application, during the process of supplying power to an aerosol generating device, acquires the first power supply parameters of the aerosol generating device. If the first power supply parameters meet a first condition, that is, indicating that the current aerosol generating device meets the resistance measurement scenario, the method measures the resistance of the corresponding resistor component by gradually increasing the output voltage of the aerosol generating device, using the phased increase in output voltage as a benchmark, until the resistance measurement result meets the resistance threshold, and obtains the rated resistance value of the resistor component. In other words, by performing phased measurements on the resistor component in the aerosol generating device based on the gradual increase in output voltage in scenarios where resistance measurement is required in the aerosol generating device, the method ensures that the actual operating power of the aerosol generating device does not exceed the rated power during each measurement, thereby improving the safety of the aerosol generating device and improving the accuracy of resistance measurement.

[0087] This is illustrative; please refer to it. Figure 3 It illustrates a flowchart of a resistance measurement method provided in an exemplary embodiment of this application, such as... Figure 3 As shown, the method includes the following steps.

[0088] Step 301: Determine the output current and input voltage.

[0089] In this embodiment, the parameters that need to be collected include the input voltage (also known as the power supply voltage), output current, and output voltage of the aerosol generating device.

[0090] The output voltage and output current are used to determine the output power of the resistive component.

[0091] Indicatively, during the power supply process of the aerosol generating device, the output current or input voltage of the aerosol generating device is measured.

[0092] If the output current is less than the preset current threshold (22 amps), then step 302 is executed; or if the input voltage is greater than the voltage threshold (2.9 volts), then step 302 is executed; otherwise, step 312 is executed.

[0093] Step 302, increase the output voltage by 1.

[0094] First, increase the output voltage to 2.2 volts (V), which is taken as output voltage 1.

[0095] Step 303: Determine whether the output voltage 1 is greater than 2.2V.

[0096] Determine if the output voltage 1 is greater than 2.2V. If yes, proceed to step 304; otherwise, proceed to step 302.

[0097] Step 304, measure the resistance value 1.

[0098] When the output voltage 1 is greater than 2.2V, the resistance value of the resistor assembly is measured and taken as the resistance value 1.

[0099] Step 305: Determine whether the resistance value of resistor 1 is less than 1.0Ω.

[0100] Determine if the resistance value of resistor 1 is less than 1.0Ω. If it is greater than 1.0Ω, proceed to step 306; otherwise, proceed to step 312.

[0101] Step 306: Increase the output voltage from 1 to 2.

[0102] Increase the output voltage from 2.2V to 2, reaching 3.0V.

[0103] Step 307: Determine whether the output voltage 2 is greater than 3.0V.

[0104] Determine if the output voltage 2 is greater than 3.0V. If yes, proceed to step 308; otherwise, proceed to step 306.

[0105] Step 308, measure the resistance value 2.

[0106] When the output voltage 2 is greater than 3.0V, the resistance value of the resistor assembly is measured and taken as the resistance value 2.

[0107] Step 309: Determine whether the resistance value of resistor 2 is less than 1.5Ω.

[0108] Determine if the resistance value 2 is less than 1.5Ω. If it is greater than 1.5Ω, proceed to step 310; otherwise, proceed to step 312.

[0109] Step 310: Increase the output voltage from 2 to 3.

[0110] Increase the output voltage from 3.0V to 3, reaching 4.0V.

[0111] Step 311: Determine whether the output voltage 3 is greater than 4.0V.

[0112] Determine if the output voltage 4 is greater than 4.0V. If yes, proceed to step 312; otherwise, proceed to step 310.

[0113] Step 312: Accurately measure the resistance value.

[0114] The resistor assembly was measured eight times, and the final resistance value was determined by bubble sorting.

[0115] The resistance measurement method provided in this application, during the process of supplying power to an aerosol generating device, acquires the first power supply parameters of the aerosol generating device. If the first power supply parameters meet a first condition, that is, indicating that the current aerosol generating device meets the resistance measurement scenario, the method measures the resistance of the corresponding resistor component by gradually increasing the output voltage of the aerosol generating device, using the phased increase in output voltage as a benchmark, until the resistance measurement result meets the resistance threshold, and obtains the rated resistance value of the resistor component. In other words, by performing phased measurements on the resistor component in the aerosol generating device based on the gradual increase in output voltage in scenarios where resistance measurement is required in the aerosol generating device, the method ensures that the actual operating power of the aerosol generating device does not exceed the rated power during each measurement, thereby improving the safety of the aerosol generating device and improving the accuracy of resistance measurement.

[0116] This is illustrative; please refer to it. Figure 4 The diagram illustrates a resistance measuring device provided in an exemplary embodiment of this application, wherein the resistance measuring device may specifically include the following modules: The acquisition module 410 is used to acquire a first power supply parameter corresponding to the aerosol generating device during the process of supplying power to the aerosol generating device. The first power supply parameter includes at least one of the output current or input voltage corresponding to the aerosol generating device, and the input voltage is the power supply voltage of the aerosol generating device. The module 420 is added to increase the (i-1)th output voltage of the resistor component to the ith output voltage during the i-th measurement when the first power supply parameter meets the first condition. The output voltage is related to the input voltage, i > 1 and i is an integer. Measurement module 430 is used to measure the resistance value corresponding to the resistor component based on the i-th output voltage, and obtain the i-th resistance measurement result; The determination module 440 is used to increase the value of i when the i-th resistance measurement result reaches the i-th resistance threshold, repeat the above measurement process, until the i-th resistance measurement result does not reach the i-th resistance threshold, and then determine the resistance value corresponding to the resistance component based on the i-th resistance measurement result, wherein the i-th voltage corresponding to the i-th resistance measurement result reaches the i-th resistance threshold.

[0117] Optionally, the determining module 440 is further configured to perform multiple resistance measurements on the resistor component based on the i-th resistance measurement result to obtain multiple candidate resistance values ​​corresponding to the resistor component; perform bubble sorting on the multiple candidate resistance values ​​to obtain a sorting sequence corresponding to the multiple candidate resistance values; and determine the resistance value corresponding to the resistor component from the sorting sequence.

[0118] Optionally, the determining module 440 is further configured to: select the candidate resistor value with the largest resistance value from the sorted sequence as the resistor value; or select the candidate resistor value with the smallest resistance value from the sorted sequence as the resistor value; or select the candidate resistor value corresponding to the median position from the sorted sequence as the resistor value; or, average the first candidate resistor value with the largest resistance value and the first candidate resistor value with the smallest resistance value based on the sorted sequence to obtain the resistor value; or, select the candidate resistor value with the smallest difference from the resistance value of the i-th resistor measurement result from the sorted sequence as the resistor value.

[0119] Optionally, the resistance threshold is related to the value of i; or, the resistance threshold is a fixed threshold.

[0120] Optionally, the increasing module 420 is further configured to, in the case that the output current does not reach a preset current threshold, increase the (i-1)th output voltage corresponding to the resistor component to the i-th output voltage during the i-th measurement; and / or, in the case that the input voltage exceeds a preset voltage threshold, increase the (i-1)th output voltage corresponding to the resistor component to the i-th output voltage during the i-th measurement.

[0121] Optionally, the increasing module 420 is further configured to obtain a preset voltage increment; based on the preset voltage increment, increase the (i-1)th output voltage corresponding to the resistor component to the ith output voltage, wherein the voltage increment of the ith output voltage is related to the preset voltage increment.

[0122] Optionally, the adding module 420 is further configured to obtain a first circuit corresponding to the resistor component, the first circuit including at least one of a boost circuit, a buck circuit, or a buck-boost circuit, the (i-1)th output voltage corresponding to a first duty cycle, wherein the duty cycle is related to the output voltage and the input voltage; the first duty cycle is added to the first circuit to obtain a second duty cycle; the i-th output voltage is obtained based on the second duty cycle.

[0123] The resistance measuring device provided in this application, during the process of supplying power to the aerosol generating device, acquires the first power supply parameters of the aerosol generating device. If the first power supply parameters meet the first condition, that is, indicating that the current aerosol generating device meets the resistance measurement scenario, the device gradually increases the output voltage of the aerosol generating device and measures the resistance of the corresponding resistance component based on the phased increase in output voltage until the resistance measurement result meets the resistance threshold, thereby obtaining the rated resistance value of the resistance component. In other words, by performing phased measurements on the resistance component in the aerosol generating device based on the gradual increase in output voltage in the scenario where there is a resistance measurement requirement in the aerosol generating device, the device ensures that the actual operating power of the aerosol generating device does not exceed the rated power during each measurement, thereby improving the safety of the aerosol generating device and improving the accuracy of the resistance measurement.

[0124] See Figure 5 This illustration shows a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 5 As shown, the computer device 1000 of this embodiment includes: at least one processor 1010 ( Figure 5 (Only one is shown in the diagram) a processor, a memory 1020, and a computer program 1021 stored in the memory 1020 and executable on at least one processor 1010. When the processor 1010 executes the computer program 1021, it implements the steps in the above-described resistance measurement method embodiment.

[0125] Computer device 1000 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device. This terminal device may include, but is not limited to, processor 1010 and memory 1020. Those skilled in the art will understand that... Figure 5 This is merely an example of computer device 1000 and does not constitute a limitation on computer device 1000. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.

[0126] The processor 1010 may be a Central Processing Unit (CPU), or it may be 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. A general-purpose processor may be a microprocessor or any conventional processor.

[0127] In some embodiments, memory 1020 may be an internal storage unit of computer device 1000, such as a hard disk or memory of computer device 1000. In other embodiments, memory 1020 may be an external storage device of computer device 1000, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on computer device 1000. Furthermore, memory 1020 may include both internal and external storage units of computer device 1000. Memory 1020 is used to store operating systems, applications, boot loaders, data, and other programs, such as program code for computer programs. Memory 1020 may also be used to temporarily store data that has been output or will be output.

[0128] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0129] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0130] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0131] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer devices and methods can be implemented in other ways. For example, the apparatus / computer device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0132] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0133] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0134] If an integrated module / unit is implemented as 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, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, swivel hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0135] The implementation of all or part of the processes in the methods of the above embodiments can also be accomplished by a computer program product. When the computer program product is run on a computer device, the computer device can implement the steps in the various method embodiments described above.

[0136] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions 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 this application, and should all be included within the protection scope of this application.

Claims

1. A resistance measurement method, characterized in that, The method is applied to an aerosol generating device, the aerosol generating device including a resistor component, and the method includes: During the process of supplying power to the aerosol generating device, a first power supply parameter corresponding to the aerosol generating device is obtained. The first power supply parameter includes at least one of the output current or input voltage corresponding to the aerosol generating device, and the input voltage is the power supply voltage of the aerosol generating device. If the first power supply parameter meets the first condition, during the i-th measurement, the (i-1)th output voltage corresponding to the resistor component is increased to the i-th output voltage, where the output voltage is related to the input voltage, i > 1 and i is an integer; Based on the i-th output voltage, the resistance value corresponding to the resistor component is measured to obtain the i-th resistance measurement result; If the i-th resistance measurement result reaches the i-th resistance threshold, the value of i is increased, and the above measurement process is repeated until the i-th resistance measurement result does not reach the i-th resistance threshold. Then, the resistance value corresponding to the resistance component is determined based on the i-th resistance measurement result, wherein the i-th voltage corresponding to the i-th resistance measurement result reaches the i-th resistance threshold.

2. The method according to claim 1, characterized in that, Determining the resistance value of the resistor component based on the i-th resistance measurement result includes: Based on the i-th resistance measurement result, the resistance component is subjected to multiple resistance measurements to obtain multiple candidate resistance values ​​corresponding to the resistance component; A bubble sort process is performed on the multiple candidate resistance values ​​to obtain a sorted sequence corresponding to the multiple candidate resistance values; The resistance value corresponding to the resistor component is determined from the sorted sequence.

3. The method according to claim 2, characterized in that, Determining the resistance value corresponding to the resistor component from the sorted sequence includes: Select the candidate resistor with the largest resistance value from the sorted sequence as the resistor value; or... Select the candidate resistor value with the smallest resistance value from the sorted sequence as the resistor value; or... Select the candidate resistance value corresponding to the median position from the sorted sequence as the resistance value; or... The resistance value is obtained by averaging the first candidate resistor value with the largest resistance value and the first candidate resistor value with the smallest resistance value based on the sorting sequence; or; The candidate resistor value with the smallest difference from the i-th resistance measurement result is selected from the sorted sequence as the resistance value.

4. The method according to any one of claims 1 to 3, characterized in that, The resistance threshold is related to the value of i; or, the resistance threshold is a fixed threshold.

5. The method according to any one of claims 1 to 3, characterized in that, When the first power supply parameter meets the first condition, increasing the (i-1)th output voltage of the resistor component to the ith output voltage during the i-th measurement includes: If the output current does not reach the preset current threshold, during the i-th measurement, the (i-1)-th output voltage corresponding to the resistor component is increased to the i-th output voltage; and / or, If the input voltage exceeds a preset voltage threshold, during the i-th measurement, the (i-1)-th output voltage corresponding to the resistor component is increased to the i-th output voltage.

6. The method according to any one of claims 1 to 3, characterized in that, The step of increasing the (i-1)th output voltage corresponding to the resistor component to the ith output voltage includes: Obtain the preset voltage increment; Based on the preset voltage increment, the (i-1)th output voltage corresponding to the resistor component is increased to the ith output voltage, and the voltage increment of the ith output voltage is related to the preset voltage increment.

7. The method according to any one of claims 1 to 3, characterized in that, The step of increasing the (i-1)th output voltage corresponding to the resistor component to the ith output voltage includes: Obtain the first circuit corresponding to the resistor component. The first circuit includes at least one of a boost circuit, a buck circuit, or a buck-boost circuit. The (i-1)th output voltage corresponds to a first duty cycle, wherein the duty cycle is related to the output voltage and the input voltage. By increasing the first duty cycle in the first circuit, a second duty cycle is obtained; The i-th output voltage is obtained based on the second duty cycle.

8. A resistance measuring device, characterized in that, The device includes: The acquisition module is used to acquire a first power supply parameter corresponding to the aerosol generating device during the process of supplying power to the aerosol generating device. The first power supply parameter includes at least one of the output current or input voltage corresponding to the aerosol generating device, and the input voltage is the power supply voltage of the aerosol generating device. An additional module is used to increase the (i-1)th output voltage of the resistor component to the ith output voltage during the i-th measurement, provided that the first power supply parameter meets the first condition. The output voltage is related to the input voltage, i > 1, and i is an integer. The measurement module is used to measure the resistance value corresponding to the resistor component based on the i-th output voltage, and obtain the i-th resistance measurement result; The determination module is used to, when the i-th resistance measurement result reaches the i-th resistance threshold, increase the value of i and repeat the above measurement process until the i-th resistance measurement result does not reach the i-th resistance threshold, and then determine the resistance value corresponding to the resistance component based on the i-th resistance measurement result, wherein the i-th voltage corresponding to the i-th resistance measurement result reaches the i-th resistance threshold.

9. A computer device, characterized in that, The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the resistance measurement method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the resistance measurement method as described in any one of claims 1 to 7.

11. A computer program product, characterized in that, Includes a computer program, which, when run, causes the resistance measurement method as described in any one of claims 1 to 7 to be performed.