CN112769183B - Charging method, charging device, electronic equipment and storage medium - Google Patents
Charging method, charging device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112769183B CN112769183B CN202011631628.3A CN202011631628A CN112769183B CN 112769183 B CN112769183 B CN 112769183B CN 202011631628 A CN202011631628 A CN 202011631628A CN 112769183 B CN112769183 B CN 112769183B
- Authority
- CN
- China
- Prior art keywords
- charging
- module
- duty ratio
- charging module
- maximum
- 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
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000005286 illumination Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims 2
- 238000012827 research and development Methods 0.000 abstract description 5
- 238000004364 calculation method Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000035807 sensation Effects 0.000 description 3
- 101150042711 adc2 gene Proteins 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 101100434411 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) ADH1 gene Proteins 0.000 description 1
- 101150102866 adc1 gene Proteins 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000003912 environmental pollution Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- 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/34—Parallel operation in networks using both storage and other dc sources, e.g. providing buffering
- H02J7/35—Parallel operation in networks using both storage and other dc sources, e.g. providing buffering with light sensitive cells
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the application relates to the technical field of new energy, and discloses a charging method, a charging device, electronic equipment and a storage medium. The application is applied to a charging device, the charging device comprises a plurality of charging modules with the same structure, each charging module at least comprises a microprocessor, a switch module and a photoelectric sensor, the duty ratio of the switch module is controlled by the microprocessor, and the charging method comprises the following steps: obtaining the maximum power duty ratio of the charging module, wherein the maximum power duty ratio is the duty ratio of a switch module in the charging module when the charging power of the charging module in the charging device is maximum; and controlling the duty ratio of the switch module of each charging module in the charging device to be the maximum power duty ratio so as to charge. The charging module adopts the same algorithm to obtain the maximum charging power, so that the research and development period is reduced, and the speed of obtaining the maximum charging power is increased.
Description
Technical Field
The embodiment of the application relates to the technical field of new energy, in particular to a charging method, a charging device, electronic equipment and a storage medium.
Background
With the development of global economy, pollution is more serious, global climate is gradually warmed, and the requirements of people on new energy are more and more high. Because solar energy has the characteristics of cleanness, environmental protection and the like, pollution or secondary pollution cannot be generated, the solar energy is gradually a new energy product favored by people, and the development and the utilization of the solar energy are one of effective methods for solving the environmental pollution and the energy shortage.
In the solar charging device, the solar panel can be regarded as a limited current source, and under different illumination, the output voltage can change to different degrees, so that the output power is changed, the efficiency of solar charging is reduced, and therefore, how to improve the solar energy utilization efficiency of a solar charger and shorten the charging time of the solar charger becomes one of the directions of research in the new energy field.
When the output power of the charging device becomes high, solar charging has a greater charging efficiency. However, conventional solar charging devices are typically single integral devices, requiring adjustment of the charging algorithm to obtain the maximum power output point of the device, for which much time and effort are spent to optimize the algorithm, and the development cycle is relatively long.
Disclosure of Invention
The embodiment of the application aims to provide a charging method, a system, electronic equipment and a storage medium, which enable a charging module to adopt the same algorithm to obtain maximum charging power, reduce a research and development period and accelerate the speed of obtaining the maximum charging power.
In order to solve the above technical problems, an embodiment of the present application provides a charging method, including the following steps:
obtaining the maximum power duty ratio of the charging module, wherein the maximum power duty ratio is the duty ratio corresponding to the maximum charging output power of the charging module;
and controlling the duty ratio of the transistor in each charging module in the charging device to be the maximum power duty ratio, wherein the number of the charging modules is larger than 1 so as to charge.
The embodiment of the application also provides a charging device, which comprises:
the acquisition module is used for acquiring the maximum power duty ratio of the charging module, wherein the maximum power duty ratio is the duty ratio corresponding to the maximum charging output power of the charging module;
and the configuration module is used for controlling the duty ratio of the transistor in each charging module in the charging device to be the maximum power duty ratio, wherein the number of the charging modules is larger than 1 so as to charge.
In addition, the acquisition module further includes:
the first configuration submodule is used for respectively setting the duty ratio of the switch module in each charging module according to a first proportion, and the corresponding duty ratio of each charging module is different;
the first comparison sub-module is used for comparing the output power of each charging module and determining the duty ratio corresponding to the charging module with the largest output power; and determining the duty ratio corresponding to the charging module with the maximum output power as the maximum power duty ratio.
In addition, the first configuration sub-module further includes:
the first judging sub-module is used for determining that the number of the charging modules is smaller than or equal to a preset value; and determining that the number of the charging modules is larger than a preset value.
The second comparison sub-module is used for comparing the output power of each charging module and determining a first duty ratio corresponding to the charging module with the largest output power and a second duty ratio corresponding to the charging module with the second largest output power;
and the second configuration submodule is used for respectively setting the duty ratio of the switch module in each charging module to be the first duty ratio to the second duty ratio according to a second proportion, and the corresponding duty ratio of each charging module is different.
In addition, the configuration module further includes:
the receiving sub-module is used for acquiring an illumination intensity value through the photoelectric sensor;
the second judging sub-module is used for determining that the difference between the acquired illumination intensity value and the illumination intensity value acquired last time is larger than an illumination intensity threshold value; alternatively, the voltage fluctuation ratio for determining the output voltage of the charging module exceeds a voltage fluctuation ratio threshold.
The embodiment of the application also provides electronic equipment, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any one of the charging methods.
Embodiments of the present application also provide a computer-readable storage medium, which implements the charging method of any one of the above when executed by a processor.
Compared with the related art, the embodiment of the application connects a plurality of identical charging modules for charging, is different from the traditional method of using a plurality of different charging structures, can use the optimal duty ratio of the transistor without adjusting algorithms according to different structures so as to realize the maximum charging output power, and applies the duty ratio to each charging module, thereby saving the research and development period and the calculation period, enabling a set of algorithms to be applied to charge a plurality of charging modules at the same time, increasing the charging efficiency, accelerating the charging speed, and increasing or reducing the number of the charging modules as required without affecting the algorithm for obtaining the maximum output power, and facilitating the updating of the charging equipment.
In addition, the charging method provided by the embodiment of the present application, the obtaining the maximum power duty ratio of the charging module includes: setting the duty ratio of a switch module in each charging module according to a first proportion, wherein the corresponding duty ratio of each charging module is different; comparing the output power of each charging module, and determining the duty ratio corresponding to the charging module with the maximum output power; and taking the duty ratio corresponding to the charging module with the maximum output power as the maximum power duty ratio. Because the charging modules have the same structure, the duty ratio with the highest output efficiency can be obtained through proportion, the algorithm is simpler and more convenient, and the calculation period and time are shorter.
In addition, before comparing the output power of each charging module and determining the duty ratio corresponding to the charging module with the maximum output power, the method further comprises: and determining that the number of the charging modules is larger than a preset value. The magnitude of the number of the charging modules is used as a measurement standard of the final duty ratio magnitude accuracy, so that the result is more accurate.
In addition, in the charging method provided by the embodiment of the present application, before comparing the output power of each charging module and determining the duty ratio corresponding to the charging module with the largest output power, the method further includes: determining that the number of the charging modules is smaller than or equal to a preset value; comparing the output power of each charging module, and determining a first duty ratio corresponding to the charging module with the largest output power and a second duty ratio corresponding to the charging module with the second largest output power; and setting the duty ratio of the switch module in each charging module to be the first duty ratio to the second duty ratio according to a second proportion, wherein the corresponding duty ratio of each charging module is different. When the number of the modules is small, the duty ratio is calculated again, so that the accuracy of the finally obtained result is higher.
In addition, before the charging method provided by the embodiment of the present application obtains the maximum power duty ratio of the charging module, the charging method further includes: acquiring an illumination intensity value through the photoelectric sensor; and determining that the difference between the acquired illumination intensity value and the illumination intensity value acquired last time is larger than an illumination intensity threshold value. When the light intensity is changed greatly, the previous power is not suitable for the present situation, so the duty ratio is recalculated to obtain the maximum output power, and the maximum output power is more accurate.
In addition, before the charging method provided by the embodiment of the present application obtains the maximum power duty ratio of the charging module, the charging method further includes: and determining that the voltage fluctuation proportion of the output voltage of the charging module exceeds a voltage fluctuation proportion threshold value. When the voltage is changed greatly, the previous power is not suitable for the current situation, so the duty ratio is recalculated to obtain the maximum output power, and the maximum output power is more accurate.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
Fig. 1 is a flowchart of a charging method provided by a first embodiment of the present application;
FIG. 2 is a flow chart of a method for obtaining a maximum power duty cycle provided by a first embodiment of the present application;
fig. 3 is a schematic circuit diagram of a charging device according to a first embodiment of the present application;
fig. 4 is a schematic structural view of a charging device according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present application, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the claimed application may be practiced without these specific details and with various changes and modifications based on the following embodiments.
The following embodiments are divided for convenience of description, and should not be construed as limiting the specific implementation of the present application, and the embodiments can be mutually combined and referred to without contradiction.
A first embodiment of the present application relates to a charging method applied to a charging device, the charging device includes a plurality of charging modules having the same structure, each of the charging modules includes at least a microprocessor, a switching module, and a photosensor, and a duty ratio of the switching module is controlled by the microprocessor.
The specific flow of the charging method is shown in fig. 1.
Step 101, obtaining the maximum power duty ratio of the charging module, where the maximum power duty ratio is the duty ratio of the switch module in the charging module when the charging power of the charging module in the charging device is maximum.
The charging device is composed of a plurality of individual charging modules, the charging modules are identical in structure and at least comprise a microprocessor, a switch module and a photoelectric sensor, the type of micro-processing is not limited, in this embodiment, an MCU is taken as an example, the MCU is used for controlling the duty ratio of the switch module, and the switch module comprises a plurality of transistors. The duty cycle is the proportion of the energizing time relative to the total time in a pulse cycle, assuming the element is an electronic valve, when the circuit is fully on, the valve is fully open; when the duty cycle is 50%, the valve state is half open. Similarly, when the duty cycle is set to 20%, the opening of the valve should obviously be 20%. Thus, the valve can be arbitrarily adjusted in the range of 0% (fully closed) to 100% (fully open).
When charging is carried out through the solar cell panel, the charging efficiency is highest when the charging power is the largest, the speed is the fastest, but the opening degree of the MOS tube control switch is uncertain under what circumstances, and if a traditional mode of connecting a plurality of different charging structures is adopted, the algorithm of each single charging module needs to be controlled, and different modules have different algorithms, so that the research and development period of finding the maximum output power of the whole device can be longer.
In this embodiment, the charging modules have the same structure, and when the transistor duty cycle corresponding to the maximum output power of one charging module is found, the duty cycle is applied to all the charging modules, so that the entire charging device has the maximum charging power.
The method for obtaining the duty ratio corresponding to the maximum power is specifically shown in fig. 2:
the total N charging modules are arranged, and all the charging modules are placed under the condition that illumination is the same, so that illumination intensity and initial voltage of each module are ensured.
S201, acquiring the number of charging modules as N.
S202, the duty ratios of the switch modules in the charging modules are respectively set according to the first proportion, and the corresponding duty ratios of the charging modules are different.
The duty ratios of the switching modules of the N charging modules are configured to be 0-100%, respectively, PWM 1=0%, PWM 2= (100/N)%, PMW 3= (200/N)% … … pwmn=100%, for example, N is 4, and the duty ratios of the 4 charging modules are 0%, 25%, 50%, 100%, respectively.
The MCU in each charging module is controlled by the main control MCU, so that the duty ratio of the transistor of each charging module is an expected value.
Further, the main control MCU may be an independent MCU other than the charging module, or a charging module in the charging module group may be set as a main control charging module, and an MCU in the main control charging module is a main control MCU.
S203, judging whether the number of the charging modules is larger than a preset value.
If the value is less than or equal to the preset value, executing step S204;
if the value is greater than the preset value, step S206 is performed.
For example, when N is greater than 10, it indicates that the number of charging modules is sufficiently large, and a duty cycle corresponding to the maximum power that is relatively accurate can be obtained, that is, the greater the number of charging modules, the more accurate the maximum power duty cycle.
When N is less than or equal to 10, the number of charging modules is smaller, and the duty ratio corresponding to the maximum power calculated for the first time is not accurate enough, so that the second configuration and calculation are performed on the duty ratios corresponding to the maximum power and the second maximum power, as shown in S205.
S204, comparing the output power of each charging module, and determining a first duty ratio corresponding to the charging module with the largest output power and a second duty ratio corresponding to the charging module with the second largest output power.
The maximum output power is Pmax, and the first duty ratio corresponding to the charging module with the maximum output power is PWMx; the second maximum output power Psec and the second duty cycle corresponding to the second maximum output power charging module are PWMs.
Fig. 3 is a circuit schematic of the charging device in the present embodiment. As shown in fig. 3, a resistor R1 is used to limit the current in the charging line in series and can be used to calculate the output power.
When PMOS (Q2, Q3) is on: ADC1 of MCU detects voltage V1 on left side of resistor R1; the ADC2 of the MCU detects the voltage V2 of the battery on the right side of the resistor R1.
When PMOS (Q2, Q3) is off: ADC2 of MCU detects voltage V2x of battery on right side of R1.
The power of each charging module is pn= (V1-V2) ×v2×pwmn/R1.
S205, setting the duty ratio of the switch module in each charging module to be a first duty ratio to a second duty ratio according to a second proportion, wherein the corresponding duty ratio of each charging module is different.
Taking n=4 as an example, assuming that the duty ratio corresponding to the charging module of the output power PWMx is 100% and the duty ratio corresponding to the charging module of the output power PWMs is 50%, the duty ratios of the charging modules are respectively set to be 50%, 62.5%, 75%, 100%. And respectively calculating the power of each module at the corresponding duty ratio.
The first ratio and the second ratio in S202 and S205 may be the same ratio or may be different ratios, and the method of dividing the duty ratio value of each charging module is not particularly limited by taking the same ratio as an example.
S206, comparing the output power of each charging module, and determining the duty ratio corresponding to the charging module with the maximum output power.
S207, taking the duty ratio corresponding to the charging module with the largest output power as the maximum power duty ratio;
and 102, controlling the duty ratio of the switch module of each charging module in the charging device to be the maximum power duty ratio so as to charge.
The duty cycle of the transistor in each charging module in the entire charging device is set to the maximum power duty cycle so that each charging module has the maximum charging power, thereby making the entire charging device have the maximum power.
Further, as shown in fig. 3, S1 is a digital photoelectric sensor, when the ratio of the increase or decrease of the intensity of the illumination received by S1 exceeds a preset light intensity threshold, the processes from step 101 to step 102 are repeatedly performed, that is, when the light intensity changes more severely, the input power of the solar panel at this time has changed, so that the maximum output power and the duty ratio corresponding to the maximum output power need to be recalculated. For example, when the light sensation value is detected, if the light sensation value is found to increase or decrease by more than 500LUX, the maximum output power and the duty ratio corresponding to the maximum output power are recalculated.
Similarly, when the fluctuation ratio of the voltage V2x in the circuit exceeds the preset voltage fluctuation ratio threshold, if the voltage is increased or decreased by 5%, the maximum output power and the duty ratio corresponding to the maximum output power are recalculated.
In fig. 3, U1 is a high-efficiency solar panel; q2 and Q3 are PMOS; q1 is NMOS; u2 is MCU; s1 is digital light sensation; r1 is a resistor; and a 2PIN battery interface is connected with the battery U3. GPIO_1 of U2 controls Q1, when GPIO_1 outputs high, G poles of Q2, Q3 are pulled to ground, Q2, Q3 are opened; when the gpio_1 output is low, Q2, Q3 are turned off, where Q3 is aimed at preventing reverse current flow. S1, transmitting data of illumination intensity to an MCU (micro control Unit) through a serial port by a digital photoelectric sensor; r1 is a resistor for limiting current in series in the charging line and can be used to calculate output power.
Compared with the related art, the embodiment of the application connects a plurality of identical charging modules for charging, is different from the traditional method of using a plurality of different charging structures, can use the optimal duty ratio of the transistor without adjusting algorithms according to different structures so as to realize the maximum charging output power, and applies the duty ratio to each charging module, thereby saving the research and development period and the calculation period, enabling a set of algorithms to be applied to charge a plurality of charging modules at the same time, increasing the charging efficiency, accelerating the charging speed, and increasing or reducing the number of the charging modules as required without affecting the algorithm for obtaining the maximum output power, and facilitating the updating of the charging equipment. And the illumination intensity is monitored by the photoelectric sensor, and when the illumination intensity is changed greatly, the duty ratio is dynamically adjusted, so that the charging device is charged under the maximum output power.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A second embodiment of the present application relates to a charging device, where the charging device includes a plurality of charging modules with the same structure, each of the charging modules includes at least a microprocessor, a switch module, and a photosensor, the duty cycle of the switch module is controlled by the microprocessor, and the charging module is configured as shown in fig. 4, and includes:
an obtaining module 401, configured to obtain a maximum power duty cycle of the charging module, where the maximum power duty cycle is a duty cycle of a switch module in the charging module when charging power of the charging module in the charging device is maximum;
in other embodiments, the acquisition module 401 may further include:
the first configuration submodule is used for respectively setting the duty ratio of the switch module in each charging module according to a first proportion, and the corresponding duty ratio of each charging module is different;
and the first comparison sub-module is used for comparing the output power of each charging module, determining the duty ratio corresponding to the charging module with the largest output power, and determining the duty ratio corresponding to the charging module with the largest output power as the maximum power duty ratio.
Wherein the first configuration sub-module further comprises:
the first judging sub-module is used for determining that the number of the charging modules is smaller than or equal to a preset value; and determining that the number of the charging modules is larger than a preset value.
The second comparison sub-module is used for comparing the output power of each charging module and determining a first duty ratio corresponding to the charging module with the largest output power and a second duty ratio corresponding to the charging module with the second largest output power;
and the second configuration submodule is used for respectively setting the duty ratio of the switch module in each charging module to be the first duty ratio to the second duty ratio according to a second proportion, and the corresponding duty ratio of each charging module is different.
A configuration module 402, configured to control a duty cycle of a switching module of each charging module in the charging device to be the maximum power duty cycle, so as to perform charging.
In other embodiments, the configuration module 402 may further include:
the receiving sub-module is used for acquiring an illumination intensity value through the photoelectric sensor;
and the second judging sub-module is used for determining that the difference between the acquired illumination intensity value and the illumination intensity value acquired last time is larger than an illumination intensity threshold value or determining that the voltage fluctuation proportion of the output voltage of the charging module exceeds a voltage fluctuation proportion threshold value.
It should be noted that the microprocessor, the switch module and the photoelectric sensor in the charging device are not shown in fig. 4.
Further, the acquisition module 401 and the configuration module 402 may be implemented by a microcontroller of one of the charging modules, or the acquisition module 401 and the configuration module 402 may be implemented by a microcontroller provided in addition.
It is to be noted that this embodiment is a system example corresponding to the first embodiment, and can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and in order to reduce repetition, a detailed description is omitted here. Accordingly, the related art details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that each module in this embodiment is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present application, units that are not so close to solving the technical problem presented by the present application are not introduced in the present embodiment, but this does not indicate that other units are not present in the present embodiment.
A third embodiment of the present application relates to an electronic device, as shown in fig. 5, including:
at least one processor 501; and a memory 502, a switch module 503, and a photosensor 604 communicatively coupled to the at least one processor 501; wherein the switching module 503 is a set of transistors disposed between the processor 501 and the photosensor 504. The memory stores instructions executable by the at least one processor to control the duty cycle of the transistor group 503 to enable the at least one processor to perform the charging method of the first embodiment.
Where the memory and the processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses linking together the various circuits of the one or more processors and the memory. The bus may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., as are well known in the art and, therefore, will not be further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over the wireless medium via the antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory may be used to store data used by the processor in performing operations.
Those skilled in the art will appreciate that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, including instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the application and that various changes in form and details may be made therein without departing from the spirit and scope of the application.
Claims (9)
1. A charging method, characterized in that the charging method is applied to a charging device, the charging device comprises a plurality of charging modules with the same structure, each charging module at least comprises a microprocessor, a switch module and a photoelectric sensor, and the duty ratio of the switch module is controlled by the microprocessor; the charging method comprises the following steps:
obtaining the maximum power duty ratio of the charging module, wherein the maximum power duty ratio is the duty ratio of a switch module in the charging module when the charging power of the charging module in the charging device is maximum;
controlling the duty ratio of a switch module of each charging module in the charging device to be the maximum power duty ratio so as to charge;
the obtaining the maximum power duty ratio of the charging module includes:
setting the duty ratio of a switch module in each charging module according to a first proportion, wherein the corresponding duty ratio of each charging module is different;
comparing the output power of each charging module, and determining the duty ratio corresponding to the charging module with the maximum output power; and taking the duty ratio corresponding to the charging module with the maximum output power as the maximum power duty ratio.
2. The charging method according to claim 1, wherein before comparing the output power of each charging module and determining the duty cycle corresponding to the charging module with the largest output power, the method further comprises:
and determining that the number of the charging modules is larger than a preset value.
3. The charging method according to claim 1, wherein before comparing the output power of each charging module and determining the duty cycle corresponding to the charging module with the largest output power, the method further comprises:
determining that the number of the charging modules is smaller than or equal to a preset value;
comparing the output power of each charging module, and determining a first duty ratio corresponding to the charging module with the largest output power and a second duty ratio corresponding to the charging module with the second largest output power;
and setting the duty ratio of the switch module in each charging module to be the first duty ratio to the second duty ratio according to a second proportion, wherein the corresponding duty ratio of each charging module is different.
4. The charging method according to claim 1, wherein before the maximum power duty cycle of the charging module is obtained, further comprising:
acquiring an illumination intensity value through the photoelectric sensor;
and determining that the difference between the acquired illumination intensity value and the illumination intensity value acquired last time is larger than an illumination intensity threshold value.
5. The charging method according to claim 1, wherein before the maximum power duty cycle of the charging module is obtained, further comprising:
and determining that the voltage fluctuation proportion of the output voltage of the charging module exceeds a voltage fluctuation proportion threshold value.
6. A charging device, characterized in that the charging device comprises a plurality of charging modules with the same structure, each charging module at least comprises a microprocessor, a switch module and a photoelectric sensor, and the duty ratio of the switch module is controlled by the microprocessor; the charging device includes:
the acquisition module is used for acquiring the maximum power duty ratio of the charging module, wherein the maximum power duty ratio is the duty ratio of a switch module in the charging module when the charging power of the charging module in the charging device is maximum;
the configuration module is used for controlling the duty ratio of the switch module of each charging module in the charging device to be the maximum power duty ratio so as to charge;
the acquisition module is further used for respectively setting the duty ratios of the switch modules in the charging modules according to a first proportion, and the corresponding duty ratios of the charging modules are different;
comparing the output power of each charging module, and determining the duty ratio corresponding to the charging module with the maximum output power; and taking the duty ratio corresponding to the charging module with the maximum output power as the maximum power duty ratio.
7. The charging device of claim 6, wherein each of the charging modules is connected by a serial port.
8. An electronic device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor, a switch module, and a photosensor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the charging method of any one of claims 1-5.
9. A computer-readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the charging method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011631628.3A CN112769183B (en) | 2020-12-31 | 2020-12-31 | Charging method, charging device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011631628.3A CN112769183B (en) | 2020-12-31 | 2020-12-31 | Charging method, charging device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112769183A CN112769183A (en) | 2021-05-07 |
CN112769183B true CN112769183B (en) | 2023-11-10 |
Family
ID=75699606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011631628.3A Active CN112769183B (en) | 2020-12-31 | 2020-12-31 | Charging method, charging device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112769183B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1330009A2 (en) * | 2002-01-22 | 2003-07-23 | Telecom Italia Mobile S.P.A. | Continuously operating generating-station exploiting photovoltaic and wind energy sources |
CN102486530A (en) * | 2010-12-02 | 2012-06-06 | 比亚迪股份有限公司 | Power test method and device for tracking maximum power of photovoltaic battery |
CN102709941A (en) * | 2012-05-22 | 2012-10-03 | 北京交通大学 | Control method of quasi-Z source cascade multi-level single-phase photovoltaic grid generation system |
CN104283260A (en) * | 2014-09-29 | 2015-01-14 | 浙江永升新能源科技有限公司 | Network type MPPT solar charging controller and control method thereof |
CN106505713A (en) * | 2016-12-02 | 2017-03-15 | 广州格绿朗遮阳篷科技有限公司 | A kind of method and system for controlling multiple solar panels generatings |
CN109144162A (en) * | 2018-08-03 | 2019-01-04 | 东泰高科装备科技有限公司 | Maximum power point tracing method and device, the storage medium of photovoltaic cell |
CN109888834A (en) * | 2019-04-15 | 2019-06-14 | 河南省科学院能源研究所有限公司 | A kind of photovoltaic generating system for improving MPPT method and coupling control with battery self-balancing quick charge |
CN111596718A (en) * | 2020-05-19 | 2020-08-28 | 中铁电气化局集团有限公司 | Photovoltaic power generation control method and device, computer equipment and storage medium |
-
2020
- 2020-12-31 CN CN202011631628.3A patent/CN112769183B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1330009A2 (en) * | 2002-01-22 | 2003-07-23 | Telecom Italia Mobile S.P.A. | Continuously operating generating-station exploiting photovoltaic and wind energy sources |
CN102486530A (en) * | 2010-12-02 | 2012-06-06 | 比亚迪股份有限公司 | Power test method and device for tracking maximum power of photovoltaic battery |
CN102709941A (en) * | 2012-05-22 | 2012-10-03 | 北京交通大学 | Control method of quasi-Z source cascade multi-level single-phase photovoltaic grid generation system |
CN104283260A (en) * | 2014-09-29 | 2015-01-14 | 浙江永升新能源科技有限公司 | Network type MPPT solar charging controller and control method thereof |
CN106505713A (en) * | 2016-12-02 | 2017-03-15 | 广州格绿朗遮阳篷科技有限公司 | A kind of method and system for controlling multiple solar panels generatings |
CN109144162A (en) * | 2018-08-03 | 2019-01-04 | 东泰高科装备科技有限公司 | Maximum power point tracing method and device, the storage medium of photovoltaic cell |
CN109888834A (en) * | 2019-04-15 | 2019-06-14 | 河南省科学院能源研究所有限公司 | A kind of photovoltaic generating system for improving MPPT method and coupling control with battery self-balancing quick charge |
CN111596718A (en) * | 2020-05-19 | 2020-08-28 | 中铁电气化局集团有限公司 | Photovoltaic power generation control method and device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
基于MPPT算法的温室大棚太阳能电池板供电系统;史鹏坤;许江淳;李玉惠;张云;王志伟;;中国农机化学报(第05期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112769183A (en) | 2021-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102130492B (en) | Device and method for selecting power supply | |
US20140207305A1 (en) | Electrical energy supply system | |
CN102130666A (en) | Duty ratio regulation circuit and method | |
CN104113211B (en) | Low-power-dissipation hysteresis voltage detection circuit applied to energy acquisition system | |
US9841796B2 (en) | Preventing dark current in battery management system | |
CN104218951A (en) | Semiconductor device and semiconductor device operating method | |
CN105226919A (en) | A kind of soft-sphere model method of power MOSFET and circuit | |
CN104281720A (en) | Data acquisition card with digital input/output function and data acquisition device employing data acquisition card | |
CN204168138U (en) | DC-DC converter and voltage adjusting circuit thereof | |
JP2023512217A (en) | Multimode DC-DC power converter | |
WO2022144004A1 (en) | Solar charging circuit, charging method, electronic device and storage medium | |
CN105376070A (en) | Method and system of power chip for adaptively supplying operating voltage to Ethernet packet switching chip | |
CN112769183B (en) | Charging method, charging device, electronic equipment and storage medium | |
CN209844567U (en) | Linear charging system and constant-current and constant-voltage control circuit | |
CN117293991B (en) | Solar charging control circuit with protection function | |
CN201689651U (en) | Circuit capable of realizing the fixed frequency and adjusting the duty ratio by button | |
CN103472886A (en) | MPPT (maximum power point tracking) control method and MPPT control circuit used for distributed photovoltaic array | |
CN111463858A (en) | Active equalization method, equalization control unit, circuit, system and storage medium | |
CN116937775B (en) | Multi-power supply selection circuit and charging equipment | |
US8836286B2 (en) | Storage battery charge circuit | |
CN115940362A (en) | Adaptive power supply circuit and adaptive adjusting method | |
CN206077231U (en) | Synchronous rectifying switching power source | |
CN214756076U (en) | MOS pipe control circuit and device | |
CN112366938B (en) | Multi-source energy collection system and control method thereof | |
CN113162586B (en) | Clock duty cycle trimming 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |