CN114831359B - Electronic cigarette charging control method and system, computer equipment and storage medium - Google Patents
Electronic cigarette charging control method and system, computer equipment and storage medium Download PDFInfo
- Publication number
- CN114831359B CN114831359B CN202210777736.4A CN202210777736A CN114831359B CN 114831359 B CN114831359 B CN 114831359B CN 202210777736 A CN202210777736 A CN 202210777736A CN 114831359 B CN114831359 B CN 114831359B
- Authority
- CN
- China
- Prior art keywords
- charging
- electronic cigarette
- acceleration factor
- current
- acquiring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A24—TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
- A24F—SMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
- A24F40/00—Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
- A24F40/90—Arrangements or methods specially adapted for charging batteries thereof
-
- A—HUMAN NECESSITIES
- A24—TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
- A24F—SMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
- A24F40/00—Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
- A24F40/40—Constructional details, e.g. connection of cartridges and battery parts
-
- A—HUMAN NECESSITIES
- A24—TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
- A24F—SMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
- A24F40/00—Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
- A24F40/50—Control or monitoring
-
- A—HUMAN NECESSITIES
- A24—TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
- A24F—SMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
- A24F40/00—Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
- A24F40/50—Control or monitoring
- A24F40/51—Arrangement of sensors
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
- H02J7/00034—Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
- H02J7/0048—Detection of remaining charge capacity or state of charge [SOC]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
- H02J7/007188—Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
- H02J7/007192—Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention is suitable for the field of intelligent Internet of things and provides an electronic cigarette charging control method and system, computer equipment and a storage medium. An electronic cigarette charging control method comprises the following steps: acquiring the current residual capacity of the electronic cigarette, and acquiring a first charging acceleration factor according to the current residual capacity; acquiring data transmission time of content data of a temperature sensor and a vibration sensor in the electronic cigarette in a USB type-c interface, and acquiring a second charging acceleration factor according to the content data and the data transmission time; acquiring signal transmission time of a pulse signal of a control command in an electronic cigarette control system in a control bus, and acquiring a third charging acceleration factor according to the pulse signal and the signal transmission time; and according to the first charging acceleration factor, the second charging acceleration factor and the third charging acceleration factor, the charging current and the charging voltage of the electronic cigarette are improved. The problem of electron cigarette charge efficiency is low is solved.
Description
Technical Field
The invention belongs to the field of intelligent Internet of things, and particularly relates to an electronic cigarette charging control method and system, computer equipment and a storage medium.
Background
The electronic cigarette is an electronic product simulating a cigarette. As an electronic product, the electronic cigarette needs to be powered to enable all parts to normally operate. The heating device of the electronic cigarette is powered by a rechargeable battery, and the existing non-combustion electronic cigarette is divided into two types according to the charging mode: one is an electronic cigarette with a USB charging interface, and the other is a form of combining a charging box with an electronic smoking set.
With the popularity of e-cigarettes, the frequency of use of e-cigarettes by consumers has increased, requiring faster charging efficiency of e-cigarettes. The existing electronic cigarette technology only provides a USB charging method, and a good solution is not provided for the problem of charging efficiency of the electronic cigarette. Consequently, the problem that current electron cigarette charges slowly, inefficiency is solved in this application, further promotes user's in-service use experience.
Disclosure of Invention
The embodiment of the invention aims to provide an electronic cigarette charging control method, and aims to solve the problems of slow charging and low efficiency of an electronic cigarette.
The embodiment of the invention is realized in such a way that the electronic cigarette charging control method comprises the following steps:
acquiring the current residual capacity of the electronic cigarette, and acquiring a first charging acceleration factor according to the current residual capacity;
acquiring data transmission time of content data of a temperature sensor and a vibration sensor in the electronic cigarette in a USB type-c interface, and acquiring a second charging acceleration factor according to the content data and the data transmission time;
acquiring signal transmission time of a pulse signal of a control command in an electronic cigarette control system in a control bus, and acquiring a third charging acceleration factor according to the pulse signal and the signal transmission time;
and according to the first charging acceleration factor, the second charging acceleration factor and the third charging acceleration factor, the charging current and the charging voltage of the electronic cigarette are improved.
Another objective of an embodiment of the present invention is to provide an electronic cigarette charging control system, which executes the steps of the electronic cigarette charging control method, and the electronic cigarette charging control system includes:
the electric quantity state module is used for acquiring the current residual electric quantity of the electronic cigarette and obtaining a first charging acceleration factor according to the current residual electric quantity;
the system comprises a content data access module, a USB type-c interface and a charging acceleration module, wherein the content data access module is used for acquiring data transmission time of content data of a temperature sensor and a vibration sensor in an electronic cigarette in the USB type-c interface and acquiring a second charging acceleration factor according to the content data and the data transmission time;
the control command access module is used for acquiring the signal transmission time of a pulse signal of a control command in the electronic cigarette control system in a control bus and obtaining a third charging acceleration factor according to the pulse signal and the signal transmission time;
the charging and boosting module is used for boosting the charging current and the charging voltage of the electronic cigarette according to the first charging and accelerating factor, the second charging and accelerating factor and the third charging and accelerating factor;
the charging display module is used for obtaining and displaying the current charging time and the current charging temperature of the electronic cigarette, and reducing the charging current and the charging voltage according to the current charging time and the current charging temperature.
Another object of an embodiment of the present invention is a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the electronic cigarette charging control method.
Another object of an embodiment of the present invention is a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the steps of the electronic cigarette charging control method.
According to the electronic cigarette charging control method provided by the embodiment of the invention, the charging power of the electronic cigarette is determined by multiple elements by analyzing the current electric quantity of the electronic cigarette, the USB type-c content data transmission of the internal sensor of the electronic cigarette and the pulse signal transmission of the USB type-c in the control mode, so that the problem of low charging efficiency of the electronic cigarette is solved, and the use experience of a user is further improved.
Drawings
Fig. 1 is an application environment diagram of an electronic cigarette charging control method according to an embodiment;
figure 2 is a flow chart of an electronic cigarette charging control method provided by one embodiment;
FIG. 3 is a flowchart of a method for obtaining a first charge acceleration factor according to one embodiment;
FIG. 4 is a flowchart of a method for obtaining a second charge acceleration factor according to one embodiment;
FIG. 5 is a flowchart of a method for obtaining a third charging acceleration factor according to one embodiment;
figure 6 is a flow diagram of a method of boosting a charging current and a charging voltage of an electronic cigarette provided by one embodiment;
figure 7 is a block diagram of an electronic cigarette charging control system according to an embodiment;
fig. 8 is a block diagram of an internal configuration of a computer apparatus according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of the present application.
Fig. 1 is a diagram of an application environment of an electronic cigarette charging control method according to an embodiment of the present invention, as shown in fig. 1, the application environment includes a terminal 110 and a computer device 120.
The computer device 120 may be an independent physical server or terminal, may also be a server cluster formed by a plurality of physical servers, and may be a cloud server providing basic cloud computing services such as a cloud server, a cloud database, a cloud storage, and a CDN.
The terminal 110 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal 110 and the computer device 120 may be connected through a network, and the present invention is not limited thereto.
As shown in fig. 2, in an embodiment, an electronic cigarette charging control method is provided, and this embodiment is mainly exemplified by applying the method to the terminal 110 or the computer device 120 in fig. 1. An electronic cigarette charging control method specifically comprises the following steps:
step S202, obtaining the current residual capacity of the electronic cigarette, and obtaining a first charging acceleration factor according to the current residual capacity.
In this embodiment, the soc module 200 performs step S202. The electric quantity state module 200 acquires the current residual electric quantity of the electronic cigarette, and judges whether to enter a charging mode according to the ratio of the current residual electric quantity to the total electric quantity; for example, if the ratio of the current remaining power of the electronic cigarette to the total power is less than 10%, the electronic cigarette enters a charging mode. In addition, the magnitude of the first charging acceleration factor is determined according to the magnitude of the ratio of the current remaining electric quantity to the total electric quantity, and the lower the electric quantity is, the smaller the ratio is, and the larger the corresponding first charging acceleration factor is. The first charge acceleration factor is an electric quantity amplification factor, and is one of the factors for increasing the charge current and the charge voltage. The larger the first charging acceleration factor, the larger the charging current and charging voltage required for the electronic cigarette.
Step S204, acquiring data transmission time of content data of a temperature sensor and a vibration sensor in the electronic cigarette in a USB type-c interface, and obtaining a second charging acceleration factor according to the content data and the data transmission time.
In this embodiment, the temperature sensor and the vibration sensor in the electronic cigarette perform corresponding data transmission during operation. The content data of the sensor is generally transmitted through the USB type-c, but the transmission of the data consumes power. In the charging mode, the more the content data transmission amount of the temperature sensor and the vibration sensor is, the longer the total data transmission time is, the larger the power consumption is, and the charging efficiency is reduced. Therefore, the present embodiment determines the magnitude of the energy consumption by the content data amount and the data transmission time, and further determines the magnitude of the second charging acceleration factor. The larger the data transmission consumes electric energy, the larger the corresponding second charging acceleration factor. The second charging acceleration factor is a data amplification factor, is used for measuring the load degree of sensor data transmission, and is one of the elements for increasing the charging current and the charging voltage. The larger the second charging acceleration factor, the larger the charging current and charging voltage required for the electronic cigarette.
And S206, acquiring the signal transmission time of a pulse signal of a control command in the electronic cigarette control system in a control bus, and obtaining a third charging acceleration factor according to the pulse signal and the signal transmission time.
In this embodiment, the electronic cigarette control system may send control pulse signals to each module of the electronic cigarette system through the control bus during operation. Similarly, the pulse signal transmission consumes the electric energy of the electronic cigarette itself, which reduces the charging efficiency of the electronic cigarette. Therefore, the present embodiment simulates the signal transmission time of the pulse signal in the control bus thread, and measures the load degree of signal transmission in the control bus according to the data amount of the pulse signal and the signal transmission time, so as to obtain the corresponding third charging acceleration factor. The third charge acceleration factor is an amplification factor of the control command, and is one of the elements that boost the charge current and the charge voltage. The larger the data amount of the pulse signal is, the slower the corresponding signal transmission time is, the higher the complexity of the signal transmission is, the more the electric energy consumption is, and thus the charging power of the electronic cigarette needs to be increased by increasing the third charging acceleration factor.
And step S208, according to the first charging acceleration factor, the second charging acceleration factor and the third charging acceleration factor, the charging current and the charging voltage of the electronic cigarette are increased.
In this embodiment, the first charging acceleration factor, the second charging acceleration factor, and the third charging acceleration factor are utilized to comprehensively obtain the charging amplification factor, and the charging boost module 500 dynamically increases the current and voltage amplitude of the charging power consumption according to the charging amplification factor.
According to the embodiment, the charging power of the electronic cigarette is determined by multiple elements through analyzing the current electric quantity of the electronic cigarette, the USB type-c content data transmission of the electronic cigarette internal sensor and the USB type-c pulse signal transmission in the control mode, so that the problem of low charging efficiency of the electronic cigarette is solved, and the user experience is further improved.
In one embodiment, as shown in fig. 3, the step S202 may specifically include steps S302 to S206:
step S302, obtaining the effective total electric quantity after loss according to the original total electric quantity and the charging times of the electronic cigarette.
Step S304, acquiring the current residual electric quantity, and entering a corresponding charging mode according to the current residual electric quantity and the effective total electric quantity; the charging mode has at least two kinds.
Step S306, reducing the electric quantity output of the electronic cigarette battery according to the current residual electric quantity, the effective total electric quantity and the charging mode, and obtaining the first charging acceleration factor.
In this embodiment, the effective total charge of the battery decreases as the number of charging times increases, that is, as the number of charging/discharging times increases, the charge of the battery cannot reach the original total charge. For example, the original total electric quantity of the battery is 1000mA, the number of charging times is 1000, the electric quantity consumed each time is 0.1mA, the total electric quantity consumed is =1000 × 0.1=100mA, and the effective total electric quantity = the original total electric quantity-the total electric quantity consumed is =900 mA. Judging whether to enter a charging mode according to the ratio of the current residual electric quantity to the effective total electric quantity:
in the embodiment, there are at least two charging modes, which are a low-charge charging mode and an ultra-low-charge charging mode.
In the low-charge mode, when the effective charge ratio is 10% -30%, the charge ratio is adjusted toThe proportion in proper order equivalence reduces the electric quantity output of electron cigarette battery, and electric quantity output gradually becomes:and deriving a corresponding first charge acceleration factor: first charging acceleration factor = coefficient scaling factor =50 ×= 5; the coefficient is a set parameter, and the scale factor is the proportion for reducing the electric quantity output of the electronic cigarette.
In the ultra-low charge mode, when the effective charge ratio is less than 10%, toThe proportion in proper order equivalence reduces the electric quantity output of electron cigarette battery, and electric quantity output gradually becomes:and deriving a corresponding first charge acceleration factor: first charging acceleration factor = coefficient scaling factor =50 ×=10。
The embodiment improves the accuracy of calculating the effective electric quantity ratio by considering the loss caused by charging and discharging to the electronic cigarette battery, reduces the output quantity of the electronic cigarette battery through different effective electric quantity ratios and different charging modes, reduces the discharging loss in the charging process of the battery, and further improves the charging efficiency.
In one embodiment, as shown in fig. 4, the step S204 may specifically include steps S402 to S412:
step S402, entering a corresponding data transmission mode according to the first charging acceleration factor; the data transmission modes are at least two.
Step S404, acquiring first content data in a temperature sensor and a vibration sensor of the electronic cigarette, and simulating and detecting first data transmission time of the first content data in a USB type-c interface.
Step S406, determining whether the first transmission data is overloaded according to a preset first time threshold and the first data transmission time.
Step S408, if yes, reducing the data transmission amount of the first content data to obtain second content data.
Step S410, re-simulating and detecting a second data transmission time of the second content data in the USB type-c interface, and re-determining whether the second content data is overloaded during transmission until the second data transmission time meets the requirement of the first time threshold.
Step S412, obtaining the second charging acceleration factor according to the number of times of reducing the content data in the temperature sensor and the vibration sensor and the data transmission mode.
In the present embodiment, the data transmission mode is entered according to the first charging acceleration factor, and the present embodiment takes a low power data transmission mode and an ultra-low power data transmission mode as an example. The conditions for entering different data transmission modes can be set by themselves, and the following embodiment merely provides one possible implementation.
1. Low battery data transfer mode
When in useAnd then entering a low-battery data transmission mode. The content data access module 300 obtains first content data of an electronic cigarette temperature sensor and a vibration sensor. The first content data includes temperature sensor content data and shock sensor content data; the content data of the temperature sensor comprises the instantaneous heating temperature of the heating sheet of the electronic cigarette, the continuous heating temperature, the ambient temperature around the electronic cigarette and the like, and the content data of the vibration sensor is mainly a signal generated by mechanical vibration.
The content data access module 300 simulates first content data generated by an electronic cigarette temperature sensor and a vibration sensor in unit time of 1 second, the first content data is sent to the USB type-c content sending module, the content data access module 300 detects a content data bus thread again, digital values of high and low levels of a bus are sent and received by a data bus (4 pairs of TX/RX branch lines) for detecting the USB type-c content by adc, and the time for sending the first content data is obtained.
The electronic cigarette intelligent system USB type-c base module receives the first content data and saves the time of receiving the first content data. The time of transmitting the first content data is subtracted from the time of receiving the first content data to obtain the first data transmission time. When the first data transmission time is longer than 2ms, judging that the USB type-c transmission overload is busy, then obtaining second content data by reducing the data volume of half of the first content data, sequentially sending the reduced content data to a content sending module and a base module for receiving, and measuring the second transmission time again according to the previous flow. The transmission amount of the content data is gradually attenuated until the transmission time of the transmission data meets a preset first time threshold.
And determining a second charging acceleration factor according to the times of the attenuation data content and the low-battery data transmission mode. Second charge acceleration factor = decay times factor; the coefficient is set by a low-power data transmission mode, and the coefficients set by different data transmission modes are different; the greater the number of decays, the greater the second charge acceleration factor, the greater the charging current and charging voltage required.
2. Ultra-low battery data transmission mode
When in useAnd then entering an ultra-low power data transmission mode. The data transmission and time detection method performed in the ultra-low battery data transmission mode is the same as the low battery data transmission mode, and the difference is that: the data quantity attenuation range of the ultra-low electric quantity data transmission mode is larger, and the data attenuation quantity is three-quarters; in addition, entering the ultra-low battery data transmission mode means that the required charging voltage and charging current are larger under the condition of the same attenuation times, and the second charging acceleration factor is larger when the coefficient set in the ultra-low battery data transmission mode is larger.
Of course, the present embodiment takes two data transmission modes as an example, and in actual operation, a plurality of transmission modes may be set to determine the second charging acceleration factor more accurately, so as to control the boost amount of the charging current and the charging voltage more accurately. In addition, the content data transmission quantity of the sensor is reduced, the battery power consumption caused by the content data transmission is reduced, and the charging efficiency of the electronic cigarette is indirectly improved.
In one embodiment, as shown in fig. 5, step S206 may specifically include steps S502 to S512:
step S502, entering a corresponding control command access mode according to the second charging acceleration factor; the control command access mode has at least two.
Step S504, a first pulse signal of a control command in the electronic cigarette control system is obtained, and the first signal transmission time of the first pulse signal in the control bus is simulated and detected.
Step S506, determining whether the first pulse signal is overloaded according to a preset second time threshold and the first signal transmission time.
Step S508, if yes, reducing pulse wave data of the first pulse signal to obtain a second pulse signal.
Step S510, re-simulating and detecting a second signal transmission time of the second pulse signal in the control bus, and re-determining whether the second pulse signal is overloaded or not until the second signal transmission time meets the requirement of the second time threshold.
Step S512, obtaining the third charging acceleration factor according to the number of times of reducing the pulse signal of the control command in the electronic cigarette control system and the access mode of the control command.
In this embodiment, according to the second charging acceleration factor, a corresponding control command mode may be entered, and the embodiment takes a low power control command mode and an ultra-low power control command mode as an example. The conditions for entering the different control command modes can be set by themselves and the following embodiment merely provides one possible implementation.
1. Low battery control command mode
When in useAnd then entering a low-power control command mode. The low power control command mode reduces power consumption caused by control signal transmission by reducing the transmission amount of control signals of the control system, and specific workflowThe equation is as follows:
the control command access module 400 obtains a control command in the e-cigarette control system, and records the control command as a first pulse signal. The first pulse signal is data of a command for controlling the charging of the electronic cigarette in unit time of 1 second, wherein the current equipment state (CC, VBUS pins, charging time setting, charging state, opening or closing and the like) of the electronic cigarette is obtained. The intelligent system creates a CC pin and a VBUS pin of an electronic cigarette with analog content, sends a first pulse signal of the current electronic cigarette, creates a monitoring control bus thread, acquires a digital value of a high pulse of a control command bus (the CC pin and the VBUS pin) for detecting the USB type-c content by adc, and obtains the time for starting control of sending the first pulse signal (the high level lasting for 10ms and the low level lasting for 10ms in unit time are effective high pulse levels). And the intelligent system USB type-c base module receives the first pulse signal and detects the data storage time of the first pulse signal. And subtracting the time for starting the control of the first pulse signal from the data storage time of the first pulse signal to obtain the transmission time of the first signal.
If the first signal transmission time is longer than 4ms, judging that the transmission of the USB type-c first pulse signal is overload, then reducing half of pulse wave data to obtain a second pulse signal, and simulating and detecting the transmission time of the second pulse signal again. And judging that the transmission of the pulse signal of the control command is not overloaded until the transmission time of the pulse signal meets a preset second time threshold. And then obtaining a third charging acceleration factor according to the pulse wave data attenuation times and the low electric quantity control command mode. Third charge acceleration factor = coefficient of number of decay times of pulse wave data; the coefficient is a parameter set in the low-power control command mode, and different coefficients are set in different control command modes. The number of times of attenuation of the pulse wave data indicates that the more serious the load of signal transmission in the control system is, the more the internal pulse wave data needs to be reduced, and conversely, the third charging acceleration factor needs to be increased, and the charging power needs to be increased.
2. Ultra-low battery control command mode
When in useAnd then entering an ultra-low battery control command mode. The method of pulse signal transmission and pulse signal transmission time performed in the ultra-low power control command mode is the same as the low power control command mode, except that the data amount attenuation range of the ultra-low power data transmission mode is larger, and the data attenuation amount is three-quarters. And entering an ultra-low battery data transmission mode, wherein the larger the set coefficient is, the larger the required charging voltage and charging current are and the larger the third charging acceleration factor are under the condition of the same attenuation times.
The control command modes of the embodiment are not limited to the above two modes, and various control command modes can be set according to actual needs, and the charging power can be accurately controlled by refining the numerical requirements of the control modes. In addition, this embodiment still links the inside control signal transmission of electron cigarette with the electric quantity consumption, through reducing the transmission quantity of control signal, further reduces the loss of electric quantity, indirectly improves the efficiency of charging.
In one embodiment, as shown in fig. 6, step S208 may specifically include steps S602 to S606:
step S602, entering a corresponding charging lifting mode according to the third charging acceleration factor; the charging boost mode has at least two.
Step S604, calculating a charging amplification factor according to the first charging acceleration factor, the second charging acceleration factor, and the third charging acceleration factor.
Step S606, obtaining the current residual capacity of the electronic cigarette, and increasing the charging current and the charging voltage of the electronic cigarette in equal proportion according to the charging amplification factor, the current residual capacity and the charging increasing mode until the electronic cigarette is full of electric quantity.
In this embodiment, different charging boost modes are entered according to different values of the third charging acceleration factor, and the low-power charging boost mode and the ultra-low-power charging boost mode are taken as examples in this embodiment. The conditions for entering different charge boost modes can be set by themselves, and the following embodiment merely provides one possible implementation.
1. Low charge boost mode
When in useAnd then entering a low-power charging lifting mode. And summing the first charging acceleration factor, the second charging acceleration factor and the third charging acceleration factor, and calculating to obtain a charging amplification factor. The charging amplification factor is a factor for determining the current and voltage amplitude for dynamically increasing the charging power consumption, and the larger the charging amplification factor is, the larger the amplitude for increasing the current and voltage is. Then, the charging boost module 500 obtains the current remaining power of the remaining lithium battery, and adjusts the voltage and the current of the charging power in equal proportion according to the value of the charging amplification factor and the current remaining power of the battery until the electronic cigarette battery is fully charged.
2. Ultra-low charge boost mode
When in useAnd then entering an ultra-low electric quantity charging lifting mode. The work flow of the ultra-low electric quantity charging lifting mode is approximately the same as that of the low electric quantity charging lifting mode, and the difference is that: in the ultra-low charge boost mode, a higher current is required to charge the battery, and the voltage and current of the charging power are adjusted in a larger equal proportion.
The embodiment comprehensively utilizes the amplification factor (first charging acceleration factor) of the electric quantity, the amplification factor (second charging acceleration factor) of the data, the amplification factor (third charging acceleration factor) of the control command, the charging promotion mode and the current residual electric quantity, determines the charging power of the electronic cigarette through multiple elements, solves the problem of low charging efficiency of the electronic cigarette from multiple layers, and further promotes the user experience.
In one embodiment, the step S208 is followed by a charging pre-warning, and the charging pre-warning method includes the steps S702-S708:
step S702, the current charging time and the current charging temperature of the electronic cigarette are obtained and displayed.
Step S704, determining whether the current charging temperature exceeds an early warning temperature.
Step S706, if yes, judging whether the current charging time exceeds the early warning charging time.
In step S708, if yes, the charging current and the charging voltage are decreased.
In this embodiment, by setting one charging display module 600, the charging display module 600 executes steps S702 to S708 for displaying the current charging time and the current charging temperature, and also for making an early warning for the current charging, so as to avoid the damage of the electronic cigarette battery due to the overlong charging time or the overhigh charging temperature, thereby being beneficial to the charging safety of the electronic cigarette.
In addition, there are at least two charging display modes in the charging early warning. The charging display module 600 enters the corresponding charging display mode according to the current charging time, and the different charging display modes correspond to the different early warning charging times. Take the low-power charge display mode and the ultra-low power charge display mode as examples: in a low-power charging display mode, charging time is sent to equipment such as a mobile phone and the like, the charging time is displayed, whether the temperature of a system after rapid charging is higher than an early warning temperature or not is monitored, if the current charging temperature is higher than the early warning temperature, the charging time is multiplied by one fourth, the charging voltage is reduced, and the current is output; in the ultra-low electric quantity charging display mode, if the current charging temperature is greater than the early warning temperature, the charging time is multiplied by one half, and the charging voltage and the current output are reduced.
As shown in figure 7, there is provided an electronic cigarette charging control system comprising:
the electric quantity state module 200 is used for acquiring the current residual electric quantity of the electronic cigarette and obtaining a first charging acceleration factor according to the current residual electric quantity;
the content data access module 300 is configured to acquire data transmission time of content data of a temperature sensor and a vibration sensor in an electronic cigarette in a USB type-c interface, and obtain a second charging acceleration factor according to the content data and the data transmission time;
the control command access module 400 is configured to acquire signal transmission time of a pulse signal of a control command in the electronic cigarette control system in a control bus, and obtain a third charging acceleration factor according to the pulse signal and the signal transmission time;
the charging boost module 500 is configured to boost a charging current and a charging voltage of the electronic cigarette according to the first charging acceleration factor, the second charging acceleration factor, and the third charging acceleration factor;
the charging display module 600 is configured to obtain and display a current charging time and a current charging temperature of the electronic cigarette, and reduce the charging current and the charging voltage according to the current charging time and the current charging temperature.
In this embodiment, the specific working method flow and technical effects of each module of the electronic cigarette charging control system are described in the foregoing, and are not described herein again.
FIG. 8 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal 110 (or the computer device 120) in fig. 1. As shown in fig. 8, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. The memory comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program which, when executed by the processor, causes the processor to implement the electronic cigarette charging control method. The internal memory may also have a computer program stored therein, which, when executed by the processor, causes the processor to perform the electronic cigarette charging control method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the electronic cigarette charging control apparatus provided herein may be implemented in the form of a computer program that is executable on a computer device such as that shown in fig. 8. The memory of the computer device may store various program modules constituting the electronic cigarette charging control apparatus, such as the state of charge module 200, the content data access module 300, the control command access module 400, the charging promotion module 500, and the charging demonstration module 600 shown in fig. 7. The computer program constituted by the respective program modules causes the processor to execute the steps in the electronic cigarette charging control method according to the respective embodiments of the present application described in the present specification.
In one embodiment, a computer device is proposed, the computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring the current residual capacity of the electronic cigarette, and acquiring a first charging acceleration factor according to the current residual capacity;
acquiring data transmission time of content data of a temperature sensor and a vibration sensor in the electronic cigarette in a USB type-c interface, and acquiring a second charging acceleration factor according to the content data and the data transmission time;
acquiring signal transmission time of a pulse signal of a control command in an electronic cigarette control system in a control bus, and acquiring a third charging acceleration factor according to the pulse signal and the signal transmission time;
and according to the first charging acceleration factor, the second charging acceleration factor and the third charging acceleration factor, the charging current and the charging voltage of the electronic cigarette are improved.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the steps of:
acquiring the current residual capacity of the electronic cigarette, and acquiring a first charging acceleration factor according to the current residual capacity;
acquiring data transmission time of content data of a temperature sensor and a vibration sensor in the electronic cigarette in a USB type-c interface, and acquiring a second charging acceleration factor according to the content data and the data transmission time;
acquiring signal transmission time of a pulse signal of a control command in an electronic cigarette control system in a control bus, and acquiring a third charging acceleration factor according to the pulse signal and the signal transmission time;
and according to the first charging acceleration factor, the second charging acceleration factor and the third charging acceleration factor, the charging current and the charging voltage of the electronic cigarette are improved.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by a computer program, which may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that various changes and modifications can be made by those skilled in the art without departing from the spirit of the invention, and these changes and modifications are all within the scope of the invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (6)
1. The electronic cigarette charging control method is characterized by comprising the following steps:
acquiring the current residual capacity of the electronic cigarette, and acquiring a first charging acceleration factor according to the current residual capacity;
acquiring data transmission time of content data of a temperature sensor and a vibration sensor in the electronic cigarette in a USB type-c interface, and acquiring a second charging acceleration factor according to the content data and the data transmission time;
acquiring signal transmission time of a pulse signal of a control command in an electronic cigarette control system in a control bus, and acquiring a third charging acceleration factor according to the pulse signal and the signal transmission time;
according to the first charging acceleration factor, the second charging acceleration factor and the third charging acceleration factor, the charging current and the charging voltage of the electronic cigarette are increased;
the obtaining of the first charging acceleration factor according to the current remaining capacity includes the following steps:
obtaining the effective total electric quantity after loss according to the original total electric quantity and the charging times of the electronic cigarette;
acquiring the current residual electric quantity, and entering a corresponding charging mode according to the current residual electric quantity and the effective total electric quantity; the charging modes are at least two;
according to the current remaining electric quantity, the effective total electric quantity and the charging mode, reducing the electric quantity output of the electronic cigarette battery, and obtaining a first charging acceleration factor, wherein the first charging acceleration factor = coefficient proportional factor, the coefficient is a set parameter, and the proportional factor is a proportion for reducing the electric quantity output of the electronic cigarette battery;
the obtaining of the second charging acceleration factor according to the content data and the data transmission time includes the following steps:
entering a corresponding data transmission mode according to the first charging acceleration factor; the data transmission modes are at least two;
acquiring first content data in a temperature sensor and a vibration sensor of the electronic cigarette, and simulating and detecting first data transmission time of the first content data in a USB type-c interface;
judging whether the first transmission data is overloaded or not according to a preset first time threshold and the first data transmission time;
if so, reducing the data transmission quantity of the first content data to obtain second content data;
simulating and detecting the second data transmission time of the second content data in the USB type-c interface again, and judging whether the second content data is overloaded or not again until the second content data transmission time meets the requirement of the first time threshold;
obtaining the second charging acceleration factor according to the number of times of reducing the content data in the temperature sensor and the vibration sensor and the data transmission mode;
the obtaining of the third charging acceleration factor according to the pulse signal and the signal transmission time includes the following steps:
entering a corresponding control command access mode according to the second charging acceleration factor; the control command access modes are at least two;
acquiring a first pulse signal of a control command in an electronic cigarette control system, and simulating and detecting first signal transmission time of the first pulse signal in a control bus;
judging whether the first pulse signal is overloaded or not according to a preset second time threshold and the first signal transmission time;
if so, reducing pulse wave data of the first pulse signal to obtain a second pulse signal;
simulating and detecting the second signal transmission time of the second pulse signal in the control bus again, and judging whether the second pulse signal is overloaded or not again until the second pulse signal transmission time meets the requirement of the second time threshold;
obtaining a third charging acceleration factor according to the number of times of reducing the pulse signals of the control commands in the electronic cigarette control system and the control command access mode;
according to the first charging acceleration factor, the second charging acceleration factor and the third charging acceleration factor, the charging current and the charging voltage of the electronic cigarette are improved, and the method comprises the following steps:
entering a corresponding charging lifting mode according to the third charging acceleration factor; the charging lifting modes are at least two;
summing the first charging acceleration factor, the second charging acceleration factor and the third charging acceleration factor, and calculating to obtain a charging amplification factor;
and acquiring the current residual capacity of the electronic cigarette, and increasing the charging current and the charging voltage of the electronic cigarette in equal proportion according to the charging amplification factor, the current residual capacity and the charging increasing mode until the electronic cigarette is full of electric quantity.
2. The electronic cigarette charging control method according to claim 1, wherein the charging current and the charging voltage of the electronic cigarette are increased according to the first charging acceleration factor, the second charging acceleration factor and the third charging acceleration factor, and then charging pre-warning is further included, and the method comprises the following steps:
acquiring and displaying the current charging time and the current charging temperature of the electronic cigarette;
judging whether the current charging temperature exceeds an early warning temperature or not;
if yes, judging whether the current charging time exceeds the early warning charging time;
if so, the charging current and the charging voltage are reduced.
3. The electronic cigarette charging control method according to claim 2, wherein there are at least two charging display modes in the charging pre-warning;
entering a corresponding charging display mode according to the current charging time;
and different charging display modes correspond to different early warning charging time.
4. An electronic cigarette charging control system characterized by performing the steps of the electronic cigarette charging control method according to any one of claims 1 to 3, the electronic cigarette charging control system comprising:
the electric quantity state module is used for acquiring the current residual electric quantity of the electronic cigarette and obtaining a first charging acceleration factor according to the current residual electric quantity;
the system comprises a content data access module, a USB type-c interface and a charging acceleration module, wherein the content data access module is used for acquiring data transmission time of content data of a temperature sensor and a vibration sensor in an electronic cigarette in the USB type-c interface and acquiring a second charging acceleration factor according to the content data and the data transmission time;
the control command access module is used for acquiring the signal transmission time of a pulse signal of a control command in the electronic cigarette control system in a control bus and obtaining a third charging acceleration factor according to the pulse signal and the signal transmission time;
the charging and boosting module is used for boosting the charging current and the charging voltage of the electronic cigarette according to the first charging and accelerating factor, the second charging and accelerating factor and the third charging and accelerating factor;
the charging display module is used for obtaining and displaying the current charging time and the current charging temperature of the electronic cigarette, and reducing the charging current and the charging voltage according to the current charging time and the current charging temperature.
5. A computer device, comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the electronic cigarette charging control method of any one of claims 1-3.
6. A computer-readable storage medium, having a computer program stored thereon, which, when executed by a processor, causes the processor to carry out the steps of the electronic cigarette charging control method according to any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210777736.4A CN114831359B (en) | 2022-07-04 | 2022-07-04 | Electronic cigarette charging control method and system, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210777736.4A CN114831359B (en) | 2022-07-04 | 2022-07-04 | Electronic cigarette charging control method and system, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114831359A CN114831359A (en) | 2022-08-02 |
CN114831359B true CN114831359B (en) | 2022-09-27 |
Family
ID=82574436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210777736.4A Active CN114831359B (en) | 2022-07-04 | 2022-07-04 | Electronic cigarette charging control method and system, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114831359B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110429684A (en) * | 2019-08-20 | 2019-11-08 | Oppo(重庆)智能科技有限公司 | Charge control method and device, electronic equipment, computer readable storage medium |
CN111342159A (en) * | 2020-03-06 | 2020-06-26 | Oppo广东移动通信有限公司 | Charging control method and device, electronic equipment and computer readable storage medium |
CN111404228A (en) * | 2020-03-31 | 2020-07-10 | Oppo广东移动通信有限公司 | Terminal battery charging method and device, terminal battery charging equipment and storage medium |
CN111953088A (en) * | 2020-08-20 | 2020-11-17 | 费希敏 | Terminal equipment adjusting system and method with wireless charging function |
CN111987763A (en) * | 2020-08-12 | 2020-11-24 | 深圳Tcl新技术有限公司 | Intelligent charging method and device, intelligent equipment and storage medium |
-
2022
- 2022-07-04 CN CN202210777736.4A patent/CN114831359B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110429684A (en) * | 2019-08-20 | 2019-11-08 | Oppo(重庆)智能科技有限公司 | Charge control method and device, electronic equipment, computer readable storage medium |
CN111342159A (en) * | 2020-03-06 | 2020-06-26 | Oppo广东移动通信有限公司 | Charging control method and device, electronic equipment and computer readable storage medium |
CN111404228A (en) * | 2020-03-31 | 2020-07-10 | Oppo广东移动通信有限公司 | Terminal battery charging method and device, terminal battery charging equipment and storage medium |
CN111987763A (en) * | 2020-08-12 | 2020-11-24 | 深圳Tcl新技术有限公司 | Intelligent charging method and device, intelligent equipment and storage medium |
CN111953088A (en) * | 2020-08-20 | 2020-11-17 | 费希敏 | Terminal equipment adjusting system and method with wireless charging function |
Also Published As
Publication number | Publication date |
---|---|
CN114831359A (en) | 2022-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11408942B2 (en) | Method for predicting service life of retired power battery | |
Doerffel et al. | A critical review of using the Peukert equation for determining the remaining capacity of lead-acid and lithium-ion batteries | |
US20220043067A1 (en) | Charging method and device, charging system, electronic equipment and storage medium | |
CN105006871B (en) | A kind of method and device for being used to simulate actual battery charging process | |
CN108475935A (en) | A kind of battery charging management method and terminal | |
CN111384757A (en) | Charging method, device, equipment and storage medium | |
CN103792489B (en) | Improved method for measuring and calculating system battery capacity | |
CN106655388A (en) | Charging control method and device and terminal | |
KR102387780B1 (en) | Method and apparatus for estimating battery capacity based on neural network | |
CN103792490A (en) | Method for measuring and calculating battery capacity of system | |
CN109462260A (en) | A kind of charging method, charging equipment and electronic equipment | |
KR20220029109A (en) | Method and apparatus estimating a state of battery | |
TW202137045A (en) | Simulated battery control device, electronic apparatus, charger, and simulated battery control method | |
FI114048B (en) | Method and apparatus for utilizing programmed meters to characterize accumulators | |
JP2023139227A (en) | Battery health state prediction method, device, and electronic instrument and readable storage medium | |
CN115575842A (en) | Battery management method, device, electronic equipment and storage medium | |
CN115221795A (en) | Training method, prediction method, device, equipment and medium of capacity prediction model | |
CN112769201A (en) | Charging method, charging device, electronic device, and readable storage medium | |
CN115774197A (en) | Battery cycle calibration method, system and storage medium | |
CN114831359B (en) | Electronic cigarette charging control method and system, computer equipment and storage medium | |
CN205958716U (en) | A system and electronic equipment that is arranged in accurate electronic equipment's of sureness battery state of charge | |
US20240055872A1 (en) | Charging method of energy storage power supply, charging apparatus therefor, device, and medium | |
CN114264941A (en) | Reclosing leading time determining method and device and relay protection equipment | |
CN112763923A (en) | Battery processing method, device, electronic equipment and computer readable storage medium | |
EP4293373A1 (en) | Method and apparatus with battery short detection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |