A heating control method, device, apparatus and readable storage medium
By determining and compensating the duty cycle of the PWM signal in the electronic atomization device, the problem of heating control accuracy caused by non-ideal battery power supply is solved, and the accuracy of heating control is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ALD GRP
- Filing Date
- 2024-12-30
- Publication Date
- 2026-06-30
AI Technical Summary
In electronic atomization devices, because the battery is not an ideal power source, the actual output voltage of the heating circuit increases with the heating cycle time, resulting in a decrease in the accuracy of heating control.
The duty cycle of the target PWM signal is determined based on the actual output voltage and the target output voltage of the heating circuit. The duty cycle compensation value is used to compensate the duty cycle of the previous target PWM signal to obtain the duty cycle of the next target PWM signal, so as to control the heating circuit during the heating cycle.
This improves the accuracy of heating control and reduces the deviation between the effective output voltage and the target output voltage of the heating circuit.
Smart Images

Figure CN122296552A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic atomization equipment technology, and in particular to a heating control method, apparatus, device and readable storage medium. Background Technology
[0002] like Figure 1 As shown, the electronic atomizing device 10 includes a battery 11, a controller 12, and multiple heating circuits 13. The first terminals of each heating circuit 13 are connected to the output terminal of the battery 11, and the second terminals of each heating circuit 13 are grounded. The control terminals of each heating circuit 13 are connected one-to-one with multiple output ports of the controller 12. During each heating cycle, the controller 12 simultaneously outputs multiple PWM (Pulse Width Modulation) signals with different duty cycles to the control terminals of the multiple heating circuits 13 through multiple output ports, thereby controlling the multiple heating circuits 13 to heat according to the corresponding duty cycles of the PWM signals.
[0003] The inventors discovered during the implementation of this application that: Figure 1 and Figure 2 As shown, in each heating cycle, the duty cycle of the PWM signal of each heating circuit 13 is calculated based on the initial voltage of the battery 11 and the target output voltage of the corresponding heating circuit 13. Therefore, when the battery 11 is an ideal power source, the effective output voltage of each heating circuit 13 in each heating cycle is equal to the corresponding target output voltage. However, since the battery 11 is not an ideal power source, under the control of multiple PWM signals, the number of heating circuits 13 decreases as the heating cycle time increases, causing the actual output voltage of the multiple heating circuits 13 to increase accordingly. This results in a large deviation between the effective output voltage of each heating circuit 13 in each heating cycle and the corresponding target output voltage, reducing the accuracy of heating control. Summary of the Invention
[0004] This application provides a heating control method, apparatus, device, and readable storage medium to solve the problem of low heating control accuracy in related technologies.
[0005] The first aspect of this application provides a heating control method applied to an electronic atomizing device, wherein the electronic atomizing device is provided with n heating circuits, where n is an integer greater than or equal to 2; the heating control method includes:
[0006] Based on the actual output voltage of n heating circuits in the first heating period of the i-th heating cycle and the target output voltage of the first heating circuit, determine the duty cycle of the first target PWM signal; i is an integer greater than or equal to 1.
[0007] Based on the actual output voltage of n heating circuits in the j-th heating period of the i-th heating cycle, the effective output voltage of the j-th heating circuit in the first j-1 heating periods, and its target output voltage, determine the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal; 2≤j≤n, and j is an integer;
[0008] The duty cycle of the (j-1)th target PWM signal is compensated using the duty cycle compensation value to obtain the duty cycle of the jth target PWM signal;
[0009] Based on the duty cycle of the first target PWM signal to the duty cycle of the nth target PWM signal, control the n output ports to output the corresponding first to nth PWM signals to the first to nth heating circuits, so as to control the n heating circuits to heat in the (i+1)th heating cycle.
[0010] The second aspect of this application provides a heating control device for use in an electronic atomization device, wherein the electronic atomization device is provided with n heating circuits, where n is an integer greater than or equal to 2; the heating control device includes:
[0011] The first determining module is used to determine the duty cycle of the first target PWM signal based on the actual output voltage of the n heating circuits in the first heating period of the i-th heating cycle and the target output voltage of the first heating circuit; i is an integer greater than or equal to 1.
[0012] The second determining module is used to determine the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal based on the actual output voltage of the n heating circuits in the j-th heating period of the i-th heating cycle, the effective output voltage of the j-th heating circuit in the first j-1 heating periods and its target output voltage; 2≤j≤n, and j is an integer;
[0013] The duty cycle compensation module is used to compensate the duty cycle of the (j-1)th target PWM signal with a duty cycle compensation value to obtain the duty cycle of the jth target PWM signal.
[0014] The first control module is used to control n output ports to output the corresponding first PWM signal to the corresponding n PWM signal to the first heating circuit to the nth heating circuit, based on the duty cycle of the first target PWM signal to the duty cycle of the nth target PWM signal, so as to control the n heating circuits to heat in the (i+1)th heating cycle.
[0015] Thirdly, embodiments of this application provide an electronic atomizing device, which includes a memory and a processor. The memory and the processor communicate with each other via an internal connection path. The memory stores instructions, and the processor executes the instructions stored in the memory. When the processor executes the instructions stored in the memory, it causes the processor to perform the method in any of the embodiments described above.
[0016] Fourthly, embodiments of this application provide a computer-readable storage medium that stores a computer program, wherein when the computer program is run on a computer, the methods in any of the above-described embodiments are executed.
[0017] The advantages or beneficial effects of the above technical solution include at least the following: By using the actual output voltage of the n heating circuits in the first heating period of the i-th heating cycle and the target output voltage of the first heating circuit to determine the duty cycle of the first target PWM signal, the actual output voltage of the first heating circuit in the first heating period can be correlated with the target duty cycle of the first PWM signal, so that the determination of the duty cycle of the first target PWM signal matches the actual operation of the n heating circuits, thus improving the accuracy of determining the duty cycle of the first target PWM signal; by using the actual output voltage of the n heating circuits in the j-th heating period of the i-th heating cycle, the effective output voltage of the j-th heating circuit j in the first j-1 heating periods, and its target output voltage to determine the j-th target PWM signal... The duty cycle compensation value between the duty cycle of the M signal and the duty cycle of the (j-1)th target PWM signal can correlate the actual output voltage of the n heating circuits in the j-th heating period of the i-th heating cycle and their effective output voltage in the first j-1 heating periods with this duty cycle compensation value. This makes the determination of the duty cycle compensation value match the actual operation of the n heating circuits, improving the accuracy of determining the duty cycle compensation value. Furthermore, when the duty cycle compensation value is used to compensate the duty cycle of the (j-1)th target PWM signal, the duty cycles of the obtained second target PWM signal to the nth PWM signal can all match the actual operation of the n heating circuits in the i-th heating cycle, improving the accuracy of determining the duty cycles of the second target PWM signal to the nth PWM signal. Since the operation of the n heating circuits is similar in the (i+1)th heating cycle and the ith heating cycle, based on the duty cycle of the first target PWM signal to the duty cycle of the nth target PWM signal, the n output ports are controlled to output the corresponding first to nth PWM signals to the first to the nth heating circuits respectively. This controls the n heating circuits to heat in the (i+1)th heating cycle, making the effective output voltage of each heating circuit close to or equal to the corresponding target output voltage. This helps to reduce the deviation between the effective output voltage of each heating circuit and its target output voltage, thereby improving the accuracy of heating control. Attached Figure Description
[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. Furthermore, these drawings and textual descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this application to those skilled in the art through reference to specific embodiments.
[0019] Figure 1 The diagram shown is a circuit schematic of an electronic atomization device based on related technologies.
[0020] Figure 2 As shown Figure 1 A timing diagram of the operation of an electronic atomization device.
[0021] Figure 3 The diagram shown is a schematic flowchart of a heating control method according to an embodiment of this application.
[0022] Figure 4 The diagram shown is a circuit schematic of an electronic atomizing device according to an embodiment of this application.
[0023] Figure 5 As shown Figure 4 A timing diagram of the operation of an electronic atomization device.
[0024] Figure 6 The diagram shown is a schematic flowchart of a heating control method according to another embodiment of this application.
[0025] Figure 7 The diagram shown is a structural block diagram of a heating control device according to an embodiment of this application.
[0026] Figure 8 The diagram shown is a structural block diagram of an electronic atomizing device according to an embodiment of this application. Detailed Implementation
[0027] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the spirit or scope of this application. Therefore, the drawings and description are considered to be exemplary in nature and not restrictive.
[0028] Figure 1 The diagram shown is a circuit schematic of an electronic atomization device based on related technologies. Figure 2 As shown Figure 1 A timing diagram of the operation of an electronic atomization device.
[0029] Please refer to the following: Figure 1 and Figure 2The working process of the electronic atomization device 10 in the related technology includes: the controller 12 determines the duty cycle of the first PWM signal to the nth PWM signal according to the initial voltage of the battery 11 and the target output voltage of the first heating circuit 131 to the nth heating circuit 13n respectively, and the duty cycle of the first PWM signal to the nth PWM signal increases sequentially according to the order of the n heating circuits 13; the controller 12 outputs the first PWM signal to the nth PWM signal to the first heating circuit 131 to the nth heating circuit 13n through the first output port Ch1 to the nth output port Chn in a one-to-one correspondence, so as to control the n heating circuits 13 to perform heating. Because the duty cycles of the first to the nth PWM signals increase sequentially according to the order of the n heating circuits 13, the actual output voltage of the n heating circuits 13 increases accordingly from the first heating period t1 to the nth heating period tn. This results in a significant deviation between the effective output voltage of each heating circuit 13 and the corresponding target output voltage in each heating cycle, reducing the accuracy of heating control. The actual output voltage of the n heating circuits 13 is the output voltage at the connection point C between the first terminal of the n heating circuits 13 and the output terminal of the battery 11.
[0030] For example, the effective output voltage V of the first heating circuit 131 during the first heating cycle r1 It can be expressed using the following formula (1):
[0031]
[0032] Among them, V 11 D represents the actual output voltage of n heating circuits 13 during the first heating period t1 of the first heating cycle. 11 V represents the duty cycle of the first PWM signal within the first heating cycle. g1 V0 represents the target output voltage of the first heating circuit 131, and V0 represents the initial voltage of the battery 11. The initial voltage V0 of the battery 11 is detected from point C when the n heating circuits 13 are in an unheated state.
[0033] During the first heating period t1 of the first heating cycle, n heating circuits 13 are connected in parallel, and the first terminals of all n heating circuits are connected to the output terminal of the battery 11. This will lower the battery voltage, resulting in a decrease in the actual output voltage V of the n heating circuits during the first heating period t1. 11 The voltage V0 of the battery 11 is less than the initial voltage V0, resulting in the effective output voltage V of the first heating circuit 131 during the first heating cycle. r1 Less than its target output voltage V g1 Therefore, the effective output voltage V of the first heating circuit 131 during the first heating cycle is... r1With the corresponding target output voltage V g1 There are significant discrepancies between them.
[0034] Similarly, the effective output voltage V of the second heating circuit 131 during the first heating cycle is... r2 It can be expressed using the following formula (2):
[0035]
[0036] Among them, V 12 This represents the actual output voltage (V) of the n heating circuits 13 during the second heating period t2 of the first heating cycle. g2 D represents the target output voltage of the second heating circuit 132. 12 This indicates the duty cycle of the second PWM signal within the first heating cycle.
[0037] During the second heating period t2 of the first heating cycle, the second heating circuit 132 to the nth heating circuit 13n are all electrically connected to the battery 11, which will also lower the battery voltage, resulting in a decrease in the actual output voltage V of the second heating circuit 132 during the second heating period. 12 The voltage V0 of the second heating circuit 132 is less than the initial voltage V0 of the battery 11, resulting in an effective output voltage V of the second heating circuit 132 during the first heating cycle. r2 The effective output voltage V of the first heating circuit 131 during the first heating cycle r1 The difference between them is less than the target output voltage V of the second heating circuit 132. g2 The target output voltage V of the first heating circuit 131 g1 The difference between them also indicates the effective output voltage V of the second heating circuit 132 during the first heating cycle. r2 Less than its target output voltage V g2 Therefore, it can be deduced that the effective output voltage of each heating circuit 13 in each heating cycle is less than the corresponding target output voltage, and there is a large deviation between the two.
[0038] In view of the above, embodiments of this application provide a heating control method, apparatus, device, and readable storage medium, which can effectively solve the aforementioned technical problems existing in related technologies. The embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0039] Figure 3 The diagram shown is a schematic flowchart of a heating control method according to an embodiment of this application. This heating control method can be applied to, for example... Figure 1 and Figure 4The electronic atomizing device 10 shown, for example, the controller 12 of the heating control method can be the main body executing the electronic atomizing device 10. The electronic atomizing device 10 is provided with n heating circuits 13, where n is an integer greater than or equal to 2.
[0040] Please refer to the following: Figures 3 to 5 The heating control method includes the following steps S110 to S140.
[0041] Step S110: Based on the actual output voltage V of n heating circuits 13 during the first heating period of the i-th heating cycle. i1 and the target output voltage V of the first heating circuit g1 Determine the duty cycle D of the first target PWM signal. i1 ; i is an integer greater than or equal to 1.
[0042] For example, taking i=1 as an example, the duty cycle D of the first target PWM signal 11 The following formula (3) or formula (4) can be used to determine it:
[0043]
[0044] Among them, V 11 This represents the actual output voltage (V) of the n heating circuits 13 during the first heating period t1 of the first heating cycle. g1 This indicates the target output voltage of the first heating circuit 131.
[0045] Step S120: Based on the actual output voltage V of n heating circuits 13 during the j-th heating period of the i-th heating cycle. ij The effective output voltage V of the j-th heating circuit 13j during the first j-1 heating period. rj and its target output voltage V gj Determine the duty cycle D of the j-th target PWM signal. ij Duty cycle D of the (j-1)th target PWM signal i(j―1) The duty cycle compensation value between; 2≤j≤n, and j is an integer. Wherein, the effective output voltage V of the j-th heating circuit 13j during the first j-1 heating periods. rj It can be the average or mean square value of the actual output voltage of the j-th heating circuit 13j during the first j-1 heating periods of the i-th heating cycle.
[0046] For example, taking i=1 and j=2, 3, n as an example, during the first heating cycle, the duty cycle D of the second target PWM signal is... 12 Duty cycle D of the first target PWM signal 11The duty cycle compensation value between them is Δd1, and the duty cycle D of the third target PWM signal is... 13 Duty cycle D of the second target PWM signal 12 The duty cycle compensation value between them is Δd2, and the duty cycle D of the nth target PWM signal is... 1n Duty cycle D of the (n-1)th target PWM signal 1(n―1) The duty cycle compensation value between them is Δd n―1 .
[0047] Step S130: Adjust the duty cycle D of the (j-1)th target PWM signal using the duty cycle compensation value. 1(j―1) Compensation is performed to obtain the duty cycle D of the j-th target PWM signal. 1j .
[0048] For example, taking i=1 and j=2, 3, n as an example, during the first heating cycle, the duty cycle D of the second target PWM signal is... 12 The duty cycle D of the third target PWM signal 13 The duty cycle D of the nth PWM signal 1n The following formulas (5) to (7) can be used to calculate the result:
[0049] D 12 =D 11 +Δd1 formula (5)
[0050] D 13 =D 12 +Δd2 formula (6)
[0051] D 1n =D 1(n―1) +Δd 1(n―1) Formula (7)
[0052] Step S140: Based on the duty cycle D of the first target PWM signal i1 Duty cycle D up to the nth target PWM signal in The n output ports are controlled to output the corresponding first PWM signal to the corresponding nth PWM signal to the first heating circuit 131 to the nth heating circuit 13n, so as to control the n heating circuits to heat in the (i+1)th heating cycle.
[0053] Among them, the n output ports can be the first output port Ch1 to the nth output port Chn.
[0054] The above scheme utilizes the actual output voltage V of n heating circuits 13 during the first heating period t1 of the i-th heating cycle. i1 and the target output voltage V of the first heating circuit 131g1 To determine the duty cycle D of the first target PWM signal. i1 The actual output voltage V of the first heating circuit 131 during the first heating period t1 can be... i1 The target duty cycle D of the first PWM signal i1 Perform correlation so that the duty cycle D of the first target PWM signal is... i1 The determination of the duty cycle D of the first target PWM signal is matched with the actual operation of the n heating circuits 13, which improves the determination of the duty cycle D of the first target PWM signal. i1 The accuracy; by utilizing the actual output voltage V of n heating circuits 13 during the j-th heating period of the i-th heating cycle. ij The effective output voltage V of the j-th heating circuit 13j during the first j-1 heating period. rj and its target output voltage V gj To determine the duty cycle D of the j-th target PWM signal. ij Duty cycle D of the (j-1)th target PWM signal i(j―1) The duty cycle compensation value between them can be used to calculate the actual output voltage V of the n heating circuits 13 during the j-th heating period of the i-th heating cycle. ij and its effective output voltage V during the first j-1 heating periods rj By associating the duty cycle compensation value with the actual operating conditions of the n heating circuits 13, the accuracy of determining the duty cycle compensation value is improved. Then, the duty cycle compensation value is used to adjust the duty cycle D of the (j-1)th target PWM signal. i(j―1) During compensation, the duty cycle D of the obtained second target PWM signal can be adjusted. i2 Duty cycle D up to the nth PWM signal in All of them match the actual operation of the n heating circuits 13 in the i-th heating cycle, which improves the duty cycle D for determining the second target PWM signal. i2 Duty cycle D up to the nth PWM signal in The accuracy of the n heating circuits 13 is determined by the fact that their operation is similar in the (i+1)th adjacent heating cycle to that in the ith heating cycle. Therefore, the duty cycle D based on the first target PWM signal is... i1 Duty cycle D up to the nth target PWM signal inThe n output ports are controlled to output the corresponding first PWM signal to the corresponding nth PWM signal to the first heating circuit 131 to the nth heating circuit 13n, so as to control the n heating circuits 13 to heat in the (i+1)th heating cycle. This can make the effective output voltage of each heating circuit 13 close to or equal to the corresponding target output voltage, which helps to reduce the deviation between the effective output voltage of each heating circuit 13 and its target output voltage, thereby improving the accuracy of heating control.
[0055] In one implementation, please refer to the following: Figure 4 and Figure 5 The effective output voltage V of the j-th heating circuit 13 during the first j-1 heating periods of the i-th heating cycle. rj Let V be the average value of its actual output voltage during the first j-1 heating periods of the i-th heating cycle. aj The actual output voltage V of n heating circuits 13 during the j-th heating period of the i-th heating cycle. ij The effective output voltage V of the j-th heating circuit 13 during the first j-1 heating periods. rj and its target output voltage V gj Determine the duty cycle D of the j-th target PWM signal. ij Duty cycle D of the (j-1)th target PWM signal i(j―1) The duty cycle compensation value between them includes the following steps S121a to S123a.
[0056] Step S121a: Based on the actual output voltage of the n heating circuits 13 during the first j-1 heating periods and the duty cycle of the j-th target PWM signal during the first j-1 heating periods, calculate the average value V of the actual output voltage of the j-th heating circuit 13 during the first j-1 heating periods. aj .
[0057] For example, taking i=1 and j=2, 3, n as an example, during the first heating cycle, the average value V of the actual output voltage of the second heating circuit 132 during the first heating period t1 is... a2 It can be calculated using the following formula (8):
[0058] V a2 =D 11 ×V 11 Formula (8)
[0059] Among them, D 11 The duty cycle of the second target PWM signal during the first heating period t1 is equal to the duty cycle of the first target PWM signal, V. 11 This represents the actual output voltage of the n heating circuits 13 during the first heating period t1.
[0060] The average value V of the actual output voltage of the third heating circuit 133 during the first two heating periods. a3 It can be calculated using the following formula (9):
[0061] V a3 =D 11 ×V 11 +(D 12 —D 11 )×V 12 Formula (9)
[0062] Among them, D 11 This indicates the duty cycle of the third target PWM signal during the first heating period t1, which is equal to the duty cycle of the first target PWM signal. D 12 —D 11 D represents the duty cycle of the third target PWM signal during the second heating period t2. 12 V represents the duty cycle of the second target PWM signal. 12 This represents the actual output voltage of n heating circuits 13 during the second heating period t2.
[0063] The average value V of the actual output voltage of the nth heating circuit 13 during the first n-1 heating periods. an It can be calculated using the following formula (10):
[0064] V an =D 11 ×V 11 +(D 12 —D 11 )×V 12 +…+(D 1(n―1) —D 1(n―2) )×V 1(n―1) Formula (10)
[0065] Among them, D 11 D represents the duty cycle of the nth target PWM signal during the first heating period t1. 12 —D 11 V represents the duty cycle of the nth target PWM signal during the second heating period t2. 12 D represents the actual output voltage of n heating circuits 13 during the second heating period t2. 1(n―1) —D 1(n―2) V represents the duty cycle of the nth target PWM signal during the (n-1)th heating period t(n-1). 1(n―1) This represents the actual output voltage of the n heating circuits 13 during the (n-1)th heating period t(n-1).
[0066] Step S122a: Calculate the target output voltage V of the j-th heating circuit 13j. gj The average value V of the actual output voltage of the j-th heating circuit 13j during the first j-1 heating periods. aj The first voltage difference between them.
[0067] For example, taking i=1 and j=2, 3, n as an example, during the first heating cycle, the target output voltage V of the second heating circuit 132 is... g2 The actual output voltage V of the second heating circuit 132 during the first heating period t1 a2 The first voltage difference ΔV1 between them can be calculated using the following formula (11):
[0068] ΔV1=V g2 —D 11 ×V 11 Formula (11)
[0069] The target output voltage V of the third heating circuit 133 g3 The average value V of the actual output voltage of the third heating circuit 133 during the first two heating periods. a3 The first voltage difference ΔV2 between them can be calculated using the following formula (12):
[0070] ΔV2=V g3 —D 11 ×V 11 ―(D 12 —D 11 )×V 12 Formula (12)
[0071] The target output voltage V of the nth heating circuit 13n gn The average value V of the actual output voltage of the nth heating circuit 13n during the first n-1 heating periods. an The first voltage difference ΔV between n―1 It can be calculated using the following formula (13):
[0072] ΔV n―1 =V gn —D 11 ×V 11 ―(D 12 —D 11 )×V 12 ―…―(D 1(n―1) —D n―2 )×V 1(n―1) Formula (13)
[0073] Step S123a: Calculate the first voltage difference and the actual output voltage V of the n heating circuits 13 during the j-th heating period of the i-th heating cycle.ij The ratio between them yields the duty cycle D of the j-th target PWM signal. ij Duty cycle D of the (j-1)th target PWM signal i(j―1) The duty cycle compensation value between them.
[0074] For example, continuing with i=1 and j=2, 3, n, the duty cycle D of the second target PWM signal during the first heating cycle... 12 Duty cycle D of the first target PWM signal 11 The duty cycle compensation value Δd1 between the two, and the duty cycle D of the third target PWM signal 13 Duty cycle D of the second target PWM signal 12 The duty cycle compensation value Δd2 between them, and the duty cycle D of the nth target PWM signal. 1n Duty cycle D of the (n-1)th target PWM signal 1(n―1) Duty cycle compensation value Δd n―1 The following formulas (14) to (16) can be used sequentially to calculate the result:
[0075]
[0076] Based on this, the actual operating conditions of n heating circuits 13 in any two adjacent heating periods of the i-th heating cycle can be correlated with their corresponding duty cycle changes, making the determination of the duty cycle compensation value more accurate, thereby improving the accuracy of the duty cycle determination of each target PWM signal.
[0077] In one implementation, please refer to the following: Figure 4 and Figure 5 The effective output voltage V of the j-th heating circuit 13 during the first j-1 heating periods of the i-th heating cycle. rj The mean square value of the actual output voltage of the j-th heating circuit during the first j-1 heating periods of the i-th heating cycle. Based on the actual output voltage of n heating circuits during the j-th heating period of the i-th heating cycle, and the effective output voltage V of the j-th heating circuit during the first j-1 heating periods. rj and its target output voltage V gj The duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal is determined, including the following steps S121b to S123b.
[0078] Step S121b: Based on the actual output voltage of the n heating circuits during the first j-1 heating periods and the duty cycle of the j-th PWM signal during the first j-1 heating periods, calculate the mean square value of the actual output voltage of the j-th heating circuit during the first j-1 heating periods.
[0079] For example, taking i=1 and j=2, 3, n as an example, the mean square value of the actual output voltage of the second heating circuit 132 during the first heating period t1 in the first heating cycle. The following formula (17) can be used:
[0080]
[0081] The mean square value of the actual output voltage of the third heating circuit 133 during the first two heating periods. It can be calculated using the following formula (18):
[0082]
[0083] The mean square value of the actual output voltage of the nth heating circuit 13n during the first n-1 heating periods. It can be calculated using the following formula (19):
[0084]
[0085] Step S122b: Calculate the mean square value of the target output voltage of the j-th heating circuit. The mean square value of the output voltage of the j-th heating circuit during the first j-1 heating periods The difference between them.
[0086] For example, taking i=1 and j=2, 3, n as an example, the mean square value of the target output voltage of the second heating circuit 132 during the first heating cycle is... The mean square value of the actual output voltage of the second heating circuit 132 during the first heating period t1 The difference between It can be calculated using the following formula (20):
[0087]
[0088] The mean square value of the target output voltage of the third heating circuit 133 The mean square value of the actual output voltage of the third heating circuit 133 during the first two heating periods. The difference between It can be calculated using the following formula (21):
[0089]
[0090] The mean square value of the target output voltage of the nth heating circuit 13n The mean square value of the actual output voltage of the nth heating circuit 13n during the first n-1 heating periods The difference between It can be calculated using the following formula (22):
[0091]
[0092] Step S123b: Calculate the ratio between the difference and the mean square value of the actual output voltage of the n heating circuits in the j-th heating period of the i-th heating cycle, and obtain the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal.
[0093] For example, continuing with i=1 and j=2, 3, n, the duty cycle D of the second target PWM signal during the first heating cycle... 12 Duty cycle D of the first target PWM signal 11 The duty cycle compensation value Δd1 between the two, and the duty cycle D of the third target PWM signal 13 Duty cycle D of the second target PWM signal 12 The duty cycle compensation value Δd2 between them, and the duty cycle D of the nth target PWM signal. 1n Duty cycle D of the (n-1)th target PWM signal 1(n―1) Duty cycle compensation value Δd n―1 The following formulas (23) to (25) can be used sequentially to calculate the result:
[0094]
[0095] Based on this, the actual operating conditions of n heating circuits 13 in any two adjacent heating periods of the i-th heating cycle can be correlated with their corresponding duty cycle changes, making the determination of the duty cycle compensation value more accurate, thereby improving the accuracy of the duty cycle determination of each target PWM signal.
[0096] In one implementation, please refer to the following: Figures 4 to 6 The electronic atomizing device 10 also includes a battery 11, a voltage detection circuit 14, and a signal acquisition port (not shown in the figures). The output terminal of the battery 11 is connected to the first terminal of n heating circuits 13, and the second terminal of the n heating circuits 13 is grounded. The voltage detection circuit 14 is connected between the first terminal of the n heating circuits 13 and the signal acquisition port. The voltage detection circuit 14 is used to detect the actual output voltage of the n heating circuits 13 during different heating periods before the first heating cycle and transmit the detected actual output voltage to the signal acquisition port. The heating control method also includes the following steps S210 to S220.
[0097] Step S210: Before the first heating cycle, according to the reverse order of the control sequence of the n heating circuits 13, the corresponding heating circuits 13 are controlled to enter the heating state in sequence, and the signal acquisition port is controlled to collect the actual output voltage of the n heating circuits 13 in different heating periods.
[0098] The control sequence of the n heating circuits 13 can be the order of the first heating circuit 131, the second heating circuit 132, and so on, up to the nth heating circuit 13n. This control sequence can be ordered according to the target duty cycle of the first heating circuit 131 to the nth heating circuit in ascending order. Controlling the corresponding heating circuits 13 to enter the heating state sequentially in reverse order of the control sequence of the n heating circuits 13 can be achieved by controlling the nth heating circuit 13n to the first heating circuit 131 to enter the heating state sequentially. This allows the heating time of the nth heating circuit 13n to the first heating circuit 131 to decrease sequentially, thereby simulating the operation of the n heating circuits 13 in subsequent heating cycles from the nth heating period tn to the 1st heating period t1.
[0099] For example, the voltage detection circuit 14 includes a first resistor R1 and a second resistor R2. The first end of the first resistor R1 is connected to the first ends of the n heating circuits 13, and the second end of the first resistor R1 is connected to the signal acquisition port and the first end of the second resistor R2. The second end of the second resistor R2 is grounded. This structure allows the voltage detection circuit 14, composed of the first resistor R1 and the second resistor R2, to be a voltage divider circuit. This ensures that when the n heating circuits 13 are in different heating periods, the voltage at the connection point C between the second end of the first resistor R1 and the first end of the second resistor R2 can reflect the actual output voltage of the n heating circuits 13 during the corresponding heating period. Thus, the voltage detection circuit 14 can detect the actual output voltage of the n heating circuits 13 during different heating periods and transmit it to the signal acquisition port. By controlling the operation of the signal acquisition port, the actual output voltage of the n heating circuits 13 during different heating periods can be acquired.
[0100] Step S220: The actual output voltages of the n heating circuits 13 during the first heating period t1 to the nth heating period tn are used as the actual output voltages of the n heating circuits 13 during the first heating cycle from the nth heating period tn to the first heating period t1.
[0101] For example, collecting the actual output voltage of n heating circuits 13 during different heating periods includes: collecting the actual output voltage V1 of n heating circuits 13 during the first heating period t1 after the nth heating circuit 13 enters the heating state and before the (n-1)th heating circuit 13 enters the heating state; collecting the actual output voltage V2 of n heating circuits 13 during the second heating period after the (n-1)th heating circuit 13 (n-1) enters the heating state and before the (n-2)th heating circuit 13 (n-2) enters the heating state; and so on, collecting the actual output voltage Vn of n heating circuits 13 during the nth heating period tn after the first heating circuit 132 enters the heating state.
[0102] The above scheme, since the change in battery power of battery 11 is small before and during the first heating cycle, controls the nth heating circuit 13n to the first heating circuit 131 in reverse order of the control sequence of the n heating circuits 13 before heating. This can effectively simulate the operation of the n heating circuits 13 during the nth heating period tn to the first heating period t1 in the first heating cycle. Furthermore, by collecting the actual output voltage of the n heating circuits 13 during the first heating period t1 to the nth heating period tn before heating, the actual output voltage of the n heating circuits 13 during the nth heating period tn to the first heating period t1 in the first heating cycle can be accurately characterized. This allows the actual output voltage of the n heating circuits 13 during the first heating period t1 to the nth heating period tn in the first heating cycle to be used to calculate the duty cycle of the n target PWM signals required by the n heating circuits 13, thereby improving the accuracy of the duty cycle determination of the target PWM signals.
[0103] In one implementation, please refer to the following: Figures 3 to 6 The heating control method further includes the following steps S310 to S330.
[0104] Step S310: Calculate the n-1 second voltage differences between the actual output voltage of each of the n heating circuits 13 during the first heating cycle from the second heating period t2 to the nth heating period tn and the actual output voltage during the first heating period t1.
[0105] For example, during the first heating cycle, the actual output voltage V of the n heating circuits 13 during the second heating period t2 is... 12 Its actual output voltage V during the first heating period t1 11 The second voltage difference between them is V d1 =V 12 ―V 11 The actual output voltage V of n heating circuits 13 during the third heating period t3 13Its actual output voltage V during the first heating period t1 11 The second voltage difference between them is V d2 =V 13 ―V 11 By analogy, the actual output voltage V of the n heating circuits 13 during the nth heating period tn can be determined. 1n Its actual output voltage V during the first heating period 11 The second voltage difference between them is V d(n―1) =V 1n ―V 11 .
[0106] Step S320: During the i-th heating cycle, collect the actual output voltage V of the n heating circuits 13 during the first heating period t1. curi Let V be the actual output voltage V of n heating circuits 13 in the first heating period t1 within the (i+1)th heating cycle. (i+1)1 .
[0107] For example, during the first heating cycle, the actual output voltage V of n heating circuits 13 during the first heating time period t1 is collected. cur1 The actual output voltage V of n heating circuits 13 during the first heating period t1 in the second heating cycle is used as the reference. 21 During the second heating cycle, the actual output voltage V of n heating circuits 13 during the first heating period t1 is collected. cur2 The actual output voltage V of n heating circuits 13 during the first heating period t1 in the third heating cycle is taken as the value of V. 31 .
[0108] Step S330: During the (i+1)th heating cycle, based on the actual output voltage V of the n heating circuits 13 during the first heating period t1. (i+1)1 The actual output voltages of the n heating circuits 13 during the second heating period t2 to the nth heating period tn are determined by the n-1 second voltage differences.
[0109] For example, during the second heating cycle, the actual output voltage V of the n heating circuits 13 during the second heating period t2 is... 22 You can use V 22 =V 21 +V d1 Determine the actual output voltage V of the n heating circuits 13 during the third heating period t3. 23 You can use V 23 =V 21 +V d2 This is determined, and so on, the actual output voltage V of n heating circuits 13 during the nth heating period tn.2n You can use V 2n =V 21 +V d(n―1) Sure.
[0110] In practical applications, because the duration of the second heating period t2 to the nth heating period tn within each heating cycle is very short, it is difficult to collect the actual output voltage of the n heating circuits 13 during the second heating period t2 to the nth heating period tn. The above solution collects the actual output voltage V of the n heating circuits 13 during the first heating period t1 within the i-th heating cycle. curi Let V be the actual output voltage V of n heating circuits 13 in the first heating period t1 within the (i+1)th heating cycle. (i+1)1 Then, the actual output voltage V of n heating circuits 13 in the (i+1)th heating cycle during the first heating period t1 is utilized. curi The actual output voltages of the n heating circuits 13 during the (i+1)th heating cycle, from the second heating period t2 to the nth heating period tn, are determined by comparing the pre-calculated n-1 second voltage differences. The actual output voltages of the n heating circuits 13 during each heating period can be updated in real time during each heating cycle, so as to accurately calculate the target PWM signals required by the n heating circuits 13 using the actual output voltages of the n heating circuits 13 during each heating period, thereby improving the accuracy of heating control.
[0111] In one implementation, please refer to the following: Figure 4 and Figure 5 The heating circuit 13 includes a heater H and a first switching circuit 13A. The first end of the heater H is used to connect to the output end of the battery 11, and the second end of the heater H is grounded through the first switching circuit 13A. According to the reverse order of the control sequence of the n heating circuits 13, the corresponding heating circuits 13 are controlled to enter the heating state in sequence, including: according to the reverse order of the control sequence of the n heating circuits 13, the first switching circuit 13A of the corresponding heating circuit 13 is controlled to close in sequence, so that the output end of the battery 11 is electrically connected to the corresponding heater H.
[0112] For example, the first switching circuit 13A includes a first transistor Q1, a third resistor R3, and a fourth resistor R4. The first terminal of the first transistor Q1 is connected to the second terminal of the heater H, and the second terminal of the first transistor Q1 is grounded. The control terminal of the first transistor Q1 is connected to the corresponding output port through the third resistor R3, and the fourth resistor R4 is connected between the control terminal and the second terminal of the first transistor Q1. Closing the first switching circuit 13A controlling the heating circuit 13 can be achieved by outputting an effective level to the control terminal of the first transistor Q1 through the corresponding output port, causing the first transistor Q1 to conduct according to the effective level, thereby grounding the second terminal of the heater H and controlling the output terminal of the battery 11 to be electrically connected to the heater H. Specifically, the first transistor Q1 can be an NMOS transistor with an effective level of high.
[0113] In one implementation, please refer to the following: Figures 4 to 6 The electronic atomizing device 10 also includes a pressure sensor 15, which generates a wake-up signal when it detects that the user's usage state has changed from a non-inhalation state to an inhalation state.
[0114] The air pressure sensor 15 detects the user's usage status as follows: when the user performs a sucking motion, the air pressure sensor 15 detects an air pressure signal. If the detected air pressure signal exceeds a pressure threshold, the detection result is that the user is in a sucking state; when the user does not perform a sucking motion, the air pressure signal detected by the air pressure sensor 15 does not exceed the air pressure threshold, and the detection result is that the user is in a non-sucking state. When the air pressure sensor 15 detects that the user is in a non-sucking state, the controller 12 receives a low-level signal; when the air pressure sensor 15 detects that the user is in a sucking state, the controller 12 receives a high-level signal; when the user switches from a non-sucking state to a sucking state, the controller 12 receives a wake-up signal that changes from a low level to a high level, thus waking up the controller 14.
[0115] Before the first heating cycle, the heating control method further includes the following steps S410 to S430.
[0116] Step S410: Upon receiving a wake-up signal, the control signal acquisition port acquires the initial voltage V0 of the battery 11. The initial voltage V0 is detected by the voltage detection circuit 14 when all n heating circuits 13 are in an unheated state and transmitted to the signal acquisition port.
[0117] Step S420: Based on the initial voltage V0 of the battery 11 and the target output voltage of each heating circuit 13, determine the duty cycle of the initial PWM signal of the corresponding heating circuit 13.
[0118] For example, the duty cycle D′1 of the initial PWM signal of the first heating circuit 13 can be determined by the following formula (26) or formula (27):
[0119]
[0120] The duty cycle D′2 of the initial PWM signal of the second heating circuit 13 can be determined by the following formula (28) or formula (29):
[0121]
[0122] The duty cycle D′ of the initial PWM signal of the nth heating circuit 13 n It can be determined by the following formula (30) or formula (31):
[0123]
[0124] Step S430: Sort the control sequence of the n heating circuits 13 according to the duty cycle of the n initial PWM signals in ascending order.
[0125] With D′1 <D′2<……<D′ n For example, the control sequence of the n heating circuits 13 is the first heating circuit 131, the second heating circuit 132, ..., the nth heating circuit 13n.
[0126] In practical applications, the initial PWM signals of the n heating circuits 13 can all be calculated using the output average value method shown in formulas (26), (28) and (30), or all can be calculated using the output mean square value method shown in formulas (27), (29) and (31), or some can be calculated using the output average value method and the other part using the output mean square value method. Therefore, the order of the duty cycle of the initial PWM signals of the n heating circuits 13 from small to large may not necessarily match the physical order of the n heating circuits 13.
[0127] In the above scheme, upon receiving a wake-up signal, the control signal acquisition port acquires the initial voltage V0 of the battery 11, and calculates the initial PWM signals of the n heating circuits 13 based on the initial voltage V0 of the battery 11 and the target output voltage of the n heating circuits 13. Then, the control sequence of the n heating circuits 13 is sorted in ascending order of the duty cycle of the n initial PWM signals. This is beneficial for accurately simulating the operation of the n heating circuits 13 at different heating periods by reversing the control sequence of the n heating circuits 13.
[0128] In addition, please refer to the following: Figure 4The electronic atomizing device 10 also includes a second switching circuit 13B and a driving circuit 16. The second switching circuit 13B includes a second transistor Q2 and a fifth resistor R5. The second transistor Q2 is connected between the output terminal of the battery 11 and the first terminal of the n heating circuits 13. The fifth resistor R5 is connected between the first electrode and the control electrode of the second transistor Q2. The driving circuit 16 includes a third transistor Q3, a sixth resistor R6, and a seventh resistor R7. The first electrode of the third transistor Q3 is connected to the control electrode of the second transistor Q2, and the second electrode of the third transistor Q3 is grounded. The sixth resistor R6 is connected between the output terminal of the pressure sensor 15 and the control electrode of the third transistor Q3. The seventh resistor R7 is connected between the control electrode and the second electrode of the third transistor Q3. When the pressure sensor 15 detects that the user is in a puffing state, it sends an effective level signal to the control electrode of the third transistor Q3 through the sixth resistor R6, turning on the control electrode of the third transistor Q3 and grounding the control electrode of the second transistor Q2, thus turning on the second transistor Q2. In this way, the output terminal of the battery 11 can be automatically connected to the first terminal of the n heating circuits 13. The power supply port of the barometric pressure sensor 15 is connected to the output terminal of the battery 11 through the eighth resistor R8 and grounded through the first capacitor C1, which can effectively filter out the output noise of the battery 11 and help ensure the stability of the power supply.
[0129] In one implementation, such as Figure 6 As shown, after the initial voltage of the battery is acquired, the heating control method further includes the following steps S510 to S520.
[0130] Step S510: Compare the initial voltage of the battery with a preset voltage threshold to determine whether the initial voltage of the battery is greater than the preset voltage threshold. The preset voltage threshold can be 3.3V.
[0131] Step S520: If the initial voltage is greater than the preset voltage threshold, determine the duty cycle of the initial PWM signal of each heating circuit.
[0132] Based on this, it can be ensured that the duty cycle of the initial PWM signal of each heating circuit is determined when the initial voltage of the battery is sufficient, thereby triggering the heating control and improving the stability of the heating control.
[0133] In addition, such as Figure 6 As shown, the heating control method may further include: step S530, whereby, if the initial voltage is determined to be less than or equal to a preset voltage threshold, or if the air pressure sensor detects that the user is in a non-vaping state, the display component (not shown in the figures) is controlled to display a low battery status. This serves as a notification to the user that the electronic atomizing device is in a low battery state.
[0134] like Figure 7As shown in the embodiment of this application, a heating control device 20 is also provided, applied to an electronic atomization device. The electronic atomization device is provided with n heating circuits, where n is an integer greater than or equal to 2. The heating control device 20 includes:
[0135] The first determining module 21 is used to determine the duty cycle of the first target PWM signal based on the actual output voltage of the n heating circuits in the first heating period of the i-th heating cycle and the target output voltage of the first heating circuit; i is an integer greater than or equal to 1.
[0136] The second determining module 22 is used to determine the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal based on the actual output voltage of the n heating circuits in the j-th heating period of the i-th heating cycle, the effective output voltage of the j-th heating circuit in the first j-1 heating periods and its target output voltage; 2≤j≤n, and j is an integer;
[0137] Duty cycle compensation module 23 is used to compensate the duty cycle of the (j-1)th target PWM signal with a duty cycle compensation value to obtain the duty cycle of the jth target PWM signal;
[0138] The first control module 24 is used to control n output ports to output the corresponding first PWM signal to the corresponding n PWM signal to the first heating circuit to the nth heating circuit based on the duty cycle of the first target PWM signal to the duty cycle of the nth target PWM signal, so as to control the n heating circuits to heat in the (i+1)th heating cycle.
[0139] In one embodiment, the effective output voltage is the average value of the actual output voltage of the j-th heating circuit during the first j-1 heating periods of the i-th heating cycle, and the second determining module 22 includes:
[0140] The first calculation submodule is used to calculate the average value of the actual output voltage of the j-th heating circuit in the first j-1 heating periods based on the actual output voltage of the n heating circuits in the first j-1 heating periods and the duty cycle of the j-th PWM signal in the first j-1 heating periods.
[0141] The second calculation submodule is used to calculate the first voltage difference between the target output voltage of the j-th heating circuit and the average value of the actual output voltage of the j-th heating circuit during the first j-1 heating periods;
[0142] The third calculation submodule is used to calculate the ratio between the first voltage difference and the actual output voltage of the n heating circuits in the j-th heating period of the i-th heating cycle, and to obtain the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal.
[0143] In one embodiment, the effective output voltage is the mean square value of the output voltage of the j-th heating circuit during the first j-1 heating periods of the i-th heating cycle, and the second determining module 22 includes:
[0144] The fourth calculation submodule is used to calculate the mean square value of the output voltage of the j-th heating circuit during the first j-1 heating periods based on the actual output voltage of the n heating circuits during the first j-1 heating periods and the duty cycle of the j-th PWM signal during the first j-1 heating periods.
[0145] The fifth calculation submodule is used to calculate the difference between the mean square value of the target output voltage of the j-th heating circuit and the mean square value of the output voltage of the j-th heating circuit during the first j-1 heating periods.
[0146] The sixth calculation submodule is used to calculate the ratio between the difference and the mean square value of the actual output voltage of the n heating circuits in the j-th heating period of the i-th heating cycle, so as to obtain the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal.
[0147] In one implementation, please refer to the following: Figure 4 The electronic atomizing device 10 also includes a battery 11, a voltage detection circuit 14, and a signal acquisition port. The output terminal of the battery 11 is connected to the first terminal of n heating circuits 13. The voltage detection circuit 14 is connected between the first terminal of the n heating circuits 13 and the signal acquisition port. The second terminal of the n heating circuits 13 is grounded. The voltage detection circuit 14 is used to detect the actual output voltage of the n heating circuits 13 during different heating periods before the first heating cycle. The electronic atomizing device 10 also includes a signal acquisition port, with the first terminal of each of the n heating circuits 13 connected to the signal acquisition port, and the second terminal of each of the n heating circuits 13 grounded. The heating control device 20 also includes:
[0148] The second control module is used to control the corresponding heating circuits to enter the heating state in reverse order of the control sequence of the n heating circuits, and to control the signal acquisition port to acquire the actual output voltage of the n heating circuits 13 during different heating periods.
[0149] The setting module is used to correspond the actual output voltage of the n heating circuits 13 in the first heating period to the nth heating period as the actual output voltage of the n heating circuits 13 in the first heating cycle in the nth heating period to the first heating period.
[0150] In one embodiment, the heating control device 20 further includes:
[0151] The calculation module is used to calculate the n-1 second voltage differences between the actual output voltage of the n heating circuits in the second heating period to the nth heating period during the first heating cycle and their actual output voltage in the first heating period.
[0152] The acquisition module is used to acquire the actual output voltage of n heating circuits in the first heating period within the i-th heating cycle, so as to use the actual output voltage of n heating circuits in the first heating period within the (i+1)-th heating cycle.
[0153] The third determining module is used to determine the actual output voltage of the n heating circuits from the second heating period to the nth heating period based on the actual output voltage of the n heating circuits in the first heating period and n-1 second voltage differences during the (i+1)th heating cycle.
[0154] In one implementation, please refer to the following: Figure 4 The heating circuit 13 includes a heater H and a first switching circuit 13A. The first end of the heater H is used to connect to the output end of the battery 11, and the second end of the heater H is grounded through the first switching circuit 13A. The second control module is used to control the first switching circuit 13A of the corresponding heating circuit 13 to close in reverse order of the control sequence of the n heating circuits 13, so that the output end of the battery 11 is electrically connected to the corresponding heater H.
[0155] In one implementation, please refer to the following: Figure 4 The electronic atomizing device 10 also includes a pressure sensor 15, which generates a wake-up signal voltage detection circuit 14 when the user's usage state changes from a non-inhalation state to an inhalation state; before the first heating cycle, the heating control device 20 also includes:
[0156] The third control module is used to control the signal acquisition port to acquire the initial voltage of battery 11 when a wake-up signal is received; the initial voltage is detected by voltage detection circuit 14 when all n heating circuits are in an unheated state and transmitted to the signal acquisition port.
[0157] The fourth determining module is used to determine the duty cycle of the initial PWM signal of the corresponding heating circuit 13 based on the initial voltage of the battery 11 and the target output voltage of each heating circuit 13.
[0158] The sorting module is used to sort the control order of the n heating circuits 13 according to the duty cycle of the n initial PWM signals in ascending order.
[0159] In one embodiment, the heating control device 20 further includes:
[0160] The comparison module is used to compare the initial voltage of the battery with a preset voltage threshold to determine whether the initial voltage of the battery is greater than the preset voltage threshold.
[0161] The fifth determining module is used to determine the duty cycle of the initial PWM signal of each heating circuit when the initial voltage is greater than a preset voltage threshold.
[0162] The functions of each module in the heating control device 20 of this application embodiment can be found in the corresponding description in the above method, and will not be repeated here.
[0163] Figure 8 A structural block diagram of an electronic atomizing device according to an embodiment of this application is shown. Figure 8 As shown, the electronic atomizing device includes a memory 31 and a processor 32. The memory 31 stores a computer program that can run on the processor 32. When the processor 32 executes the computer program, it implements the heating control method in the above embodiment. There can be one or more memories 31 and processors 32.
[0164] The electronic atomizing device also includes a communication interface 33 for communicating with external devices and exchanging data. If the memory 31, processor 32, and communication interface 33 are implemented independently, they can be interconnected via a bus to communicate with each other. This bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus. Optionally, in a specific implementation, if the memory 31, processor 32, and communication interface 33 are integrated on a single chip, then the memory 31, processor 32, and communication interface 33 can communicate with each other through an internal interface.
[0165] This application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method provided in this application.
[0166] It should be understood that the aforementioned processor can 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. General-purpose processors can be microprocessors or any conventional processor. It is worth noting that the processor can be a processor supporting Advanced Reduced Instruction Set Machines (ARM) architecture.
[0167] Further, optionally, the aforementioned memory may include read-only memory and random access memory, and may also include non-volatile random access memory. The memory may be volatile or non-volatile, or may include both. Non-volatile memory may include read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which serves as an external cache. Many forms of RAM are available by way of example, but not limitation. Examples include Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
[0168] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another.
[0169] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of those different embodiments or examples.
[0170] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.
[0171] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. This storage medium can be a read-only memory, a disk, or an optical disk, etc.
[0172] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope disclosed in this application, and these should all be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A heating control method, characterized by, This method is applied to electronic atomization devices, wherein the electronic atomization device is equipped with n heating circuits, where n is an integer greater than or equal to 2; the heating control method includes: Based on the actual output voltage of the n heating circuits during the first heating period of the i-th heating cycle and the target output voltage of the first heating circuit, the duty cycle of the first target PWM signal is determined; i is an integer greater than or equal to 1. Based on the actual output voltage of the n heating circuits in the j-th heating period of the i-th heating cycle, the effective output voltage of the j-th heating circuit in the first j-1 heating periods, and its target output voltage, determine the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal; 2≤j≤n, and j is an integer; The duty cycle of the (j-1)th target PWM signal is compensated using the aforementioned duty cycle compensation value to obtain the duty cycle of the j-th target PWM signal; Based on the duty cycle of the first target PWM signal to the duty cycle of the nth target PWM signal, the n output ports are controlled to output the corresponding first PWM signal to the corresponding nth PWM signal to the first heating circuit to the nth heating circuit, so as to control the n heating circuits to heat in the (i+1)th heating cycle.
2. The heating control method according to claim 1, characterized by, The effective output voltage is the average value of the actual output voltage of the j-th heating circuit during the first j-1 heating periods of the i-th heating cycle. Based on the actual output voltage of the n heating circuits during the j-th heating period of the i-th heating cycle, the effective output voltage of the j-th heating circuit during the first j-1 heating periods, and its target output voltage, the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal is determined, including: Based on the actual output voltages of the n heating circuits during the first j-1 heating periods and the duty cycle of the j-th PWM signal during the first j-1 heating periods, calculate the average value of the actual output voltage of the j-th heating circuit during the first j-1 heating periods; Calculate the first voltage difference between the target output voltage of the j-th heating circuit and the average value of the actual output voltage of the j-th heating circuit during the first j-1 heating periods; Calculate the ratio between the first voltage difference and the actual output voltage of the n heating circuits during the j-th heating period of the i-th heating cycle to obtain the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal.
3. The heating control method of claim 1, wherein, The effective output voltage is the mean square value of the actual output voltage of the j-th heating circuit during the first j-1 heating periods of the i-th heating cycle. Based on the actual output voltages of the n heating circuits during the j-th heating period of the i-th heating cycle, the effective output voltage of the j-th heating circuit during the first j-1 heating periods, and its target output voltage, the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal is determined, including: Based on the actual output voltage of the n heating circuits during the first j-1 heating periods and the duty cycle of the j-th PWM signal during the first j-1 heating periods, calculate the mean square value of the actual output voltage of the j-th heating circuit during the first j-1 heating periods; Calculate the difference between the mean square value of the target output voltage of the j-th heating circuit and the mean square value of the actual output voltage of the j-th heating circuit during the first j-1 heating periods; Calculate the ratio between the difference and the mean square value of the actual output voltage of the n heating circuits during the j-th heating period of the i-th heating cycle, and obtain the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal.
4. The heating control method of claim 1, wherein The electronic atomizing device further includes a battery, a voltage detection circuit, and a signal acquisition port. The output terminal of the battery is connected to the first terminal of each of the n heating circuits. The voltage detection circuit is connected between the first terminal of each of the n heating circuits and the signal acquisition port. The second terminal of each of the n heating circuits is grounded. The voltage detection circuit is used to detect the actual output voltage of each of the n heating circuits during different heating periods before the first heating cycle. The heating control method further includes: Before the first heating cycle, the corresponding heating circuits are sequentially controlled to enter the heating state in reverse order of the control sequence of the n heating circuits, and the signal acquisition port is controlled to acquire the actual output voltage of the n heating circuits in different heating periods. The actual output voltages of the n heating circuits during the first heating period to the nth heating period are respectively used as the actual output voltages of the n heating circuits during the nth heating period to the first heating period in the first heating cycle.
5. The heating control method according to claim 4, characterized in that, Also includes: Calculate the n-1 second voltage differences between the actual output voltage of the n heating circuits in the second heating period to the nth heating period during the first heating cycle and their actual output voltage in the first heating period. During the i-th heating cycle, the actual output voltage of the n heating circuits during the first heating period is collected, and used as the actual output voltage of the n heating circuits during the first heating period during the (i+1)-th heating cycle. Within the (i+1)th heating cycle, based on the actual output voltage of the n heating circuits during the first heating period and the n-1 second voltage differences, the actual output voltage of the n heating circuits during the second to nth heating periods is determined respectively.
6. The heating control method according to claim 4, characterized in that, The heating circuit includes a heater and a first switching circuit. The first end of the heater is used to connect to the output end of the battery, and the second end of the heater is grounded through the first switching circuit. The heating circuit is controlled to enter the heating state in reverse order of the control sequence of the n heating circuits, including: controlling the first switching circuit of the corresponding heating circuit to close in reverse order of the control sequence of the n heating circuits, so that the output end of the battery is electrically connected to the corresponding heater.
7. The heating control method according to claim 4, characterized in that, The electronic atomizing device further includes a pressure sensor, which generates a wake-up signal upon detecting a change in the user's usage state from a non-inhalation state to an inhalation state. Prior to the first heating cycle, the heating control method further includes: Upon receiving the wake-up signal, the signal acquisition port is controlled to acquire the initial voltage of the battery; the initial voltage is detected by the voltage detection circuit when all n heating circuits are in an unheated state and transmitted to the signal acquisition port. Based on the initial voltage of the battery and the target output voltage of each heating circuit, the duty cycle of the initial PWM signal of the corresponding heating circuit is determined. The control sequence of the n heating circuits is sorted according to the duty cycle of the n initial PWM signals in ascending order.
8. The heating control method according to claim 7, characterized in that, After acquiring the initial voltage of the battery, the heating control method further includes: The initial voltage of the battery is compared with a preset voltage threshold to determine whether the initial voltage of the battery is greater than the preset voltage threshold. If the initial voltage is determined to be greater than the preset voltage threshold, the duty cycle of the initial PWM signal of each heating circuit is determined.
9. A heating control device, characterized in that, This is applied to an electronic atomization device, wherein the electronic atomization device is equipped with n heating circuits, where n is an integer greater than or equal to 2; the heating control device includes: The first determining module is used to determine the duty cycle of the first target PWM signal based on the actual output voltage of the n heating circuits in the first heating period of the i-th heating cycle and the target output voltage of the first heating circuit; i is an integer greater than or equal to 1. The second determining module is used to determine the duty cycle compensation value between the duty cycle of the j-th target PWM signal and the duty cycle of the (j-1)-th target PWM signal based on the actual output voltage of the n heating circuits in the j-th heating period of the i-th heating cycle, the effective output voltage of the j-th heating circuit in the first j-1 heating periods and its target output voltage; 2≤j≤n, and j is an integer; The duty cycle compensation module is used to compensate the duty cycle of the (j-1)th target PWM signal using the duty cycle compensation value, so as to obtain the duty cycle of the jth target PWM signal. The first control module is used to control n output ports to output corresponding PWM signals to the first heating circuit to the nth heating circuit one by one, based on the duty cycle of the first target PWM signal to the nth target PWM signal, so as to control the n heating circuits to heat in the (i+1)th heating cycle.
10. An electronic atomizing device, characterized in that, include: A processor and a memory, wherein the memory stores instructions that are loaded and executed by the processor to implement the heating control method as described in any one of claims 1 to 9.
11. 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 method as described in any one of claims 1 to 9.