CN111064174A - Voltage adaptation method, device and storage medium - Google Patents
Voltage adaptation method, device and storage medium Download PDFInfo
- Publication number
- CN111064174A CN111064174A CN201911347964.2A CN201911347964A CN111064174A CN 111064174 A CN111064174 A CN 111064174A CN 201911347964 A CN201911347964 A CN 201911347964A CN 111064174 A CN111064174 A CN 111064174A
- Authority
- CN
- China
- Prior art keywords
- power supply
- voltage
- supply voltage
- moment
- determining
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H9/00—Emergency protective circuit arrangements for limiting excess current or voltage without disconnection
- H02H9/04—Emergency protective circuit arrangements for limiting excess current or voltage without disconnection responsive to excess voltage
Landscapes
- Dc-Dc Converters (AREA)
Abstract
The application relates to a voltage adaptation method, a device and a storage medium, wherein the method comprises the following steps: determining a voltage difference value between the power supply voltage at the current moment and the power supply voltage at the previous moment; when the voltage difference value is larger than a preset threshold value, determining an opening sequence of the specified device based on the power supply voltage at the current moment, wherein the opening sequence refers to a time period for the specified device to be kept on in each working cycle, so that the specified device is prevented from causing overlarge power change in environments with different power supply voltages.
Description
Technical Field
The invention relates to a voltage adaptation method, a voltage adaptation device and a storage medium, and belongs to the technical field of blower control.
Background
When the hair drier works, the phenomenon that the power of the heating device changes due to the difference of the power supply voltage can occur. If the supply voltage is too high, the heat generating device may even reach a very high power, which may cause safety hazards for the user. The prior art blowers either do not handle this aspect or the error is relatively large.
Disclosure of Invention
The invention aims to provide a voltage adaptation method, a voltage adaptation device and a storage medium, which can solve the problem of overlarge power change of a specified device caused by different power supply voltages.
In order to achieve the purpose, the invention provides the following technical scheme:
in a first aspect, a voltage adaptation method is provided, the method comprising the steps of:
determining a voltage difference value between the power supply voltage at the current moment and the power supply voltage at the previous moment;
and when the voltage difference value is larger than a preset threshold value, determining an opening sequence of the specified device based on the power supply voltage at the current moment, wherein the opening sequence refers to a time period for which the specified device is kept on in each working cycle.
Optionally, the determining the opening sequence of the specific device based on the power supply voltage at the current moment includes:
determining the working power at the current moment based on the power supply voltage at the current moment;
and determining the opening sequence of the specified device according to the working power at the current moment.
Optionally, the determining the opening sequence of the specific device based on the power supply voltage at the current moment includes:
acquiring a mapping relation between a power supply voltage and an opening sequence;
and determining the opening sequence of the specified device based on the mapping relation and the power supply voltage at the current moment.
Optionally, the method further comprises:
and controlling the operation of the specified device according to the opening sequence so as to adjust the power of the specified device.
Optionally, the method further comprises:
acquiring sampling time length, wherein the sampling time length is the interval between the previous moment and the current moment;
and when the sampling duration is greater than or equal to the preset duration, sampling the power supply voltage.
Optionally, the method further comprises:
acquiring the power supply voltage at each moment, and processing the power supply voltage at each moment;
and storing the processed power supply voltage at each moment.
Optionally, the processing the power supply voltage at the current moment includes:
and carrying out filtering and mean value algorithm processing on the power supply voltage at the current moment.
In a second aspect, a voltage adaptation device is provided, the device comprising:
the voltage difference value determining module is used for determining a voltage difference value between the power supply voltage at the current moment and the power supply voltage at the previous moment;
and the opening sequence determining module is used for determining an opening sequence of a specified device based on the power supply voltage at the current moment when the voltage difference value is greater than a preset threshold, wherein the opening sequence refers to a time period for which the specified device is kept on in each working cycle.
In a third aspect, a voltage adaptation apparatus is provided, the apparatus comprising a processor and a memory; the memory has stored therein a program that is loaded and executed by the processor to implement the voltage adaptation method as described above.
In a fourth aspect, a computer-readable storage medium is provided, in which a program is stored which, when being executed by a processor, is adapted to carry out the voltage adaptation method as described above.
The invention has the beneficial effects that: determining a voltage difference value between the power supply voltage at the current moment and the power supply voltage at the previous moment; when the voltage difference value is larger than the preset threshold value, the opening sequence of the designated device is determined based on the power supply voltage at the current moment, wherein the opening sequence refers to the time period that the designated device is kept on in each working cycle, and therefore the designated device is prevented from causing overlarge power change in environments with different power supply voltages.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings.
Drawings
Fig. 1 is a flowchart of a voltage adaptation method according to an embodiment of the present invention.
Fig. 2 is a specific flowchart of a voltage adaptation method according to an embodiment of the present invention.
Fig. 3 is a block diagram of a voltage adaptation apparatus according to an embodiment of the present invention.
Fig. 4 is a diagram of a voltage adaptation apparatus according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
First, several nouns appearing in the present application are explained.
An analog-to-digital converter (ADC) refers to an electronic component that converts an analog signal into a digital signal.
Fig. 1 is a flowchart of a voltage adapting method according to an embodiment of the present invention, where the voltage adapting method is suitable for an apparatus such as a blower, and the application of the voltage adapting method is not particularly limited in the present invention. Correspondingly, the designated device in this embodiment is a heat generating device. Indeed, in other embodiments, the specific device may be other devices, and is not specifically limited herein, depending on the actual situation. Wherein the method comprises at least the following steps:
And acquiring the power supply voltage at each moment, wherein the power supply voltage at each moment is acquired by sampling through an analog-to-digital converter. The power supply voltage at each time is processed, and the processed power supply voltage at each time is stored. Optionally, the processing the supply voltage at each time includes: and (3) processing the power supply voltage at each moment by filtering and mean value algorithms, wherein the mean value algorithms can comprise a K mean value clustering algorithm, a natural mean value algorithm and the like. The power supply voltage at each moment is subjected to filtering and mean value algorithm processing, so that interference of the outside on the acquired power supply voltage at each moment is eliminated. Indeed, in other embodiments, other processing may be performed on the power supply voltage at each moment, which is not specifically limited herein, and only the corresponding effect is achieved according to the actual situation.
The voltage difference is determined by processing and storing the supply voltage at each moment. The determination process of the voltage difference value is as follows: and obtaining the power supply voltage at the current moment, and subtracting the power supply voltage at the current moment from the power supply voltage at the previous moment to obtain a voltage difference value between the power supply voltage and the previous moment. And if the current moment is the first sampling moment, the power supply voltage at the previous moment is 0.
And 102, when the voltage difference value is larger than a preset threshold value, determining an opening sequence of the specified device based on the power supply voltage at the current moment, wherein the opening sequence refers to a time period for the specified device to be kept on in each working cycle.
The opening sequence of the specified device at the current moment can be determined by the relation between voltage and power, and specifically includes: determining the working power at the current moment based on the power supply voltage at the current moment; and determining an opening sequence of the appointed device according to the working power at the current moment, and comparing the control opening of the matched power closest to the set power of the power supply voltage through an array.
Indeed, in other embodiments, the opening sequence of the specified device at the current moment may also be determined by the relationship between the voltage and the opening sequence, which specifically includes: acquiring a mapping relation between a power supply voltage and an opening sequence; and determining the opening sequence of the specified device based on the mapping relation and the power supply voltage at the current moment. And the mapping relation between the power supply voltage and the opening sequence is a one-to-one corresponding mapping relation, and then the appointed device is controlled to work according to the opening sequence so as to adjust the power of the appointed device.
Optionally, the method further comprises: acquiring sampling time length, wherein the sampling time length is the interval between the previous moment and the current moment; and when the sampling duration is greater than or equal to the preset duration, sampling the power supply voltage. When the time interval with the last moment exceeds the sampling time interval, the power supply voltage is sampled again to prevent the power supply voltage from changing greatly when the equipment works, and further damage to the specified device is caused, and potential use hazards can be caused by more serious people.
And when the voltage difference is smaller than or equal to the preset threshold, directly acquiring the sampling time length so as to sample the power supply voltage at the next moment.
Referring to fig. 2, the voltage distribution method of the present invention is described below with an embodiment in which the preset threshold is 3V and the sampling time is 1 s. Sampling the power supply voltage at the current moment through an analog-to-digital converter, then carrying out filtering and mean value algorithm processing on the power supply voltage at the current moment, and storing the processed power supply voltage at the current moment. Calculating a voltage difference value between the power supply voltage at the current moment and the power supply voltage at the previous moment, and when the voltage difference value is greater than 3V, bringing the power supply voltage at the current moment into a voltage-power relation graph to determine the working power at the current moment; and determining the opening sequence of the specified device according to the working power at the current moment. If the voltage difference is not larger than 3V, acquiring the sampling time length, and sampling the power supply voltage at the next moment when the sampling time length is larger than or equal to 1 s. And if the sampling duration is less than 1s, not sampling the power supply voltage at the next moment until the sampling duration is greater than or equal to 1 s.
In summary, the following steps: determining a voltage difference value between the power supply voltage at the current moment and the power supply voltage at the previous moment; when the voltage difference value is larger than the preset threshold value, the opening sequence of the designated device is determined based on the power supply voltage at the current moment, wherein the opening sequence refers to the time period that the designated device is kept on in each working cycle, and therefore the designated device is prevented from causing overlarge power change in environments with different power supply voltages.
Fig. 3 is a block diagram of a voltage adaptation apparatus according to an embodiment of the present invention, where the apparatus at least includes:
a voltage difference determining module 301, configured to determine a voltage difference between a current power supply voltage and a previous power supply voltage;
an opening sequence determining module 302, configured to determine, when the voltage difference is greater than a preset threshold, an opening sequence of a designated device based on the power supply voltage at the current time, where the opening sequence is a time period during which the designated device remains on in each duty cycle.
For relevant details reference is made to the above-described method embodiments.
It should be noted that: in the voltage adaptation device provided in the above embodiment, when performing voltage adaptation, only the division of the above functional modules is illustrated, and in practical applications, the above function allocation may be completed by different functional modules according to needs, that is, the internal structure of the voltage adaptation device is divided into different functional modules to complete all or part of the above described functions. In addition, the voltage adaptation device and the voltage adaptation method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 4 is a diagram of a voltage adaptation apparatus provided in an embodiment of the present invention, where the apparatus includes at least a processor 1 and a memory 2.
The processor 1 may comprise one or more processing cores, such as: 4 core processor 1, 8 core processor 1, etc. The processor 1 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1 may also include a main processor and a coprocessor, the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state.
The memory 2 may include one or more computer-readable storage media, which may be non-transitory. The memory 2 may also include a high speed random access memory 2, and a non-volatile memory 2, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 2 is used to store at least one instruction for execution by the processor 1 to implement the voltage adaptation method provided by the method embodiments of the present invention.
In some embodiments, the voltage adapting device may further include: a peripheral interface and at least one peripheral. The processor 1, the memory 2 and the peripheral interface may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface via a bus, signal line, or circuit board. Illustratively, peripheral devices include, but are not limited to: radio frequency circuit, touch display screen, audio circuit, power supply, etc.
Of course, the voltage adapting device may also include fewer or more components, which is not limited by the embodiment.
Optionally, the present application provides a computer-readable storage medium having a program stored therein, which when executed by a processor is adapted to implement the voltage adaptation method as described above.
Optionally, the present application further provides a computer product, which includes a computer-readable storage medium, in which a program is stored, and the program is loaded and executed by a processor to implement the voltage adaptation method of the above-mentioned method embodiment.
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 invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method of voltage adaptation, the method comprising the steps of:
determining a voltage difference value between the power supply voltage at the current moment and the power supply voltage at the previous moment;
and when the voltage difference value is larger than a preset threshold value, determining an opening sequence of the specified device based on the power supply voltage at the current moment, wherein the opening sequence refers to a time period for which the specified device is kept on in each working cycle.
2. The voltage adaptation method of claim 1, wherein determining the sequence of openings for a given device based on the supply voltage at the current time comprises:
determining the working power at the current moment based on the power supply voltage at the current moment;
and determining the opening sequence of the specified device according to the working power at the current moment.
3. The voltage adaptation method of claim 1, wherein determining the sequence of openings for a given device based on the supply voltage at the current time comprises:
acquiring a mapping relation between a power supply voltage and an opening sequence;
and determining the opening sequence of the specified device based on the mapping relation and the power supply voltage at the current moment.
4. The voltage adaptation method of claim 1, wherein the method further comprises:
and controlling the operation of the specified device according to the opening sequence so as to adjust the power of the specified device.
5. The voltage adaptation method of claim 1, wherein the method further comprises:
acquiring sampling time length, wherein the sampling time length is the interval between the previous moment and the current moment;
and when the sampling duration is greater than or equal to the preset duration, sampling the power supply voltage.
6. The voltage adaptation method of claim 1, wherein the method further comprises:
acquiring the power supply voltage at each moment, and processing the power supply voltage at each moment;
and storing the processed power supply voltage at each moment.
7. The voltage adaptation method of claim 6, wherein the processing the supply voltage at the current time comprises:
and (4) processing the power supply voltage at each moment by a filtering and average algorithm.
8. A voltage adaptation device, characterized in that the device comprises:
the voltage difference value determining module is used for determining a voltage difference value between the power supply voltage at the current moment and the power supply voltage at the previous moment;
and the opening sequence determining module is used for determining an opening sequence of a specified device based on the power supply voltage at the current moment when the voltage difference value is greater than a preset threshold, wherein the opening sequence refers to a time period for which the specified device is kept on in each working cycle.
9. A voltage adaptation apparatus, characterized in that the apparatus comprises a processor and a memory; the memory has stored therein a program that is loaded and executed by the processor to implement the voltage adaptation method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium has stored therein a program which, when being executed by a processor, is adapted to carry out the voltage adaptation method according to any one of claims 1 to 7.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911347964.2A CN111064174A (en) | 2019-12-24 | 2019-12-24 | Voltage adaptation method, device and storage medium |
KR1020227021016A KR20220104215A (en) | 2019-12-24 | 2020-12-19 | Voltage detection and adaptation method, device control method, apparatus, and storage medium |
CA3158881A CA3158881A1 (en) | 2019-12-24 | 2020-12-19 | Voltage detection and adaptation method, device control method, apparatus, and storage medium |
PCT/CN2020/137808 WO2021129544A1 (en) | 2019-12-24 | 2020-12-19 | Voltage detection and adaptation method, device control method and apparatus, and storage medium |
JP2022538334A JP2023500984A (en) | 2019-12-24 | 2020-12-19 | Equipment control method, equipment control device and storage medium |
US17/776,586 US20220385222A1 (en) | 2019-12-24 | 2020-12-19 | Voltage detection and adaptation method, device control method, apparatus, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911347964.2A CN111064174A (en) | 2019-12-24 | 2019-12-24 | Voltage adaptation method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111064174A true CN111064174A (en) | 2020-04-24 |
Family
ID=70303188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911347964.2A Pending CN111064174A (en) | 2019-12-24 | 2019-12-24 | Voltage adaptation method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111064174A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021129544A1 (en) * | 2019-12-24 | 2021-07-01 | 追创科技(苏州)有限公司 | Voltage detection and adaptation method, device control method and apparatus, and storage medium |
WO2023279856A1 (en) * | 2021-07-06 | 2023-01-12 | 深圳市正浩创新科技股份有限公司 | Method and apparatus for calculating remaining discharge time, and computer device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150035509A1 (en) * | 2013-07-31 | 2015-02-05 | Semiconductor Energy Laboratory Co., Ltd. | Control circuit and dc-dc converter |
CN108923377A (en) * | 2018-08-28 | 2018-11-30 | 海信(山东)空调有限公司 | A kind of the IGBT overcurrent protective device and method of pfc circuit |
CN209435117U (en) * | 2019-04-03 | 2019-09-24 | 舟山市海大科学技术研究院有限责任公司 | A kind of blower control circuit |
-
2019
- 2019-12-24 CN CN201911347964.2A patent/CN111064174A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150035509A1 (en) * | 2013-07-31 | 2015-02-05 | Semiconductor Energy Laboratory Co., Ltd. | Control circuit and dc-dc converter |
CN108923377A (en) * | 2018-08-28 | 2018-11-30 | 海信(山东)空调有限公司 | A kind of the IGBT overcurrent protective device and method of pfc circuit |
CN209435117U (en) * | 2019-04-03 | 2019-09-24 | 舟山市海大科学技术研究院有限责任公司 | A kind of blower control circuit |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021129544A1 (en) * | 2019-12-24 | 2021-07-01 | 追创科技(苏州)有限公司 | Voltage detection and adaptation method, device control method and apparatus, and storage medium |
WO2023279856A1 (en) * | 2021-07-06 | 2023-01-12 | 深圳市正浩创新科技股份有限公司 | Method and apparatus for calculating remaining discharge time, and computer device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021129448A1 (en) | Sudden temperature change detection method and device, and storage medium | |
US10915158B2 (en) | Control system and control method for DDR SDRAM system with shared power domain | |
CN111064174A (en) | Voltage adaptation method, device and storage medium | |
CN107275688B (en) | Terminal control method for control terminal and terminal | |
US20150268678A1 (en) | System and method for current management in a portable device | |
CN109616712B (en) | Control method and system for battery charging and discharging current and terminal equipment | |
CN110021792B (en) | Charging control method and device, terminal equipment and computer storage medium | |
CN111089426A (en) | Blower control method, blower control device and storage medium | |
CN109857240A (en) | A kind of method and device of power consumption control | |
EP3748857A1 (en) | Compressor circuit, wallace tree circuit, multiplier circuit, chip and device | |
US20160091960A1 (en) | Control systems for reducing current transients | |
CN111141034B (en) | Blower control method, blower control device and storage medium | |
CN106292987B (en) | A kind of processor power-off sequential control system and method | |
CN109428390A (en) | AC-OK detection circuit and method | |
CN111083811A (en) | Power control method, device and storage medium | |
CN111697556A (en) | Operation control method of electrical equipment and terminal equipment | |
CN112653330B (en) | Control method for improving LLC resonant circuit load dynamic response and terminal equipment | |
CN111102750A (en) | Blower control method, blower control device and storage medium | |
WO2021129544A1 (en) | Voltage detection and adaptation method, device control method and apparatus, and storage medium | |
CN114142550A (en) | Control method and device of energy storage device and energy storage device | |
CN111142040B (en) | Blower control method, blower control device and storage medium | |
CN116819335A (en) | Battery life prediction method, device, computer equipment and storage medium | |
CN114461003B (en) | Output power adjusting method, device and socket | |
CN111140529B (en) | Blower control method, blower control device and storage medium | |
CN104915559B (en) | A kind of electrical equipment determines method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 5 / F, 277 Huqingping Road, Minhang District, Shanghai Applicant after: Chase Technology (Shanghai) Co.,Ltd. Address before: Room j4656, building 4, block B, 925 Yecheng Road, Jiading District, Shanghai 200000 Applicant before: Chase Technology (Shanghai) Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200424 |