CN112994175A - Intelligent switching method, device and system for solar charging and commercial power charging - Google Patents

Intelligent switching method, device and system for solar charging and commercial power charging Download PDF

Info

Publication number
CN112994175A
CN112994175A CN202110384679.9A CN202110384679A CN112994175A CN 112994175 A CN112994175 A CN 112994175A CN 202110384679 A CN202110384679 A CN 202110384679A CN 112994175 A CN112994175 A CN 112994175A
Authority
CN
China
Prior art keywords
charging
solar
current
voltage value
input voltage
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
Application number
CN202110384679.9A
Other languages
Chinese (zh)
Inventor
寇芳正
邹权福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Leyitong Technology Co Ltd
Original Assignee
Huizhou Leyitong Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huizhou Leyitong Technology Co Ltd filed Critical Huizhou Leyitong Technology Co Ltd
Priority to CN202110384679.9A priority Critical patent/CN112994175A/en
Publication of CN112994175A publication Critical patent/CN112994175A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00309Overheat or overtemperature protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/02Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries for charging batteries from ac mains by converters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/061Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems for DC powered loads
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/068Electronic means for switching from one power supply to another power supply, e.g. to avoid parallel connection
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B10/00Integration of renewable energy sources in buildings
    • Y02B10/70Hybrid systems, e.g. uninterruptible or back-up power supplies integrating renewable energies
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/50Photovoltaic [PV] energy
    • Y02E10/56Power conversion systems, e.g. maximum power point trackers

Abstract

The invention belongs to the technical field of solar energy, and particularly relates to a method, a device and a system for intelligently switching solar charging and commercial power charging, wherein the method comprises the following steps: acquiring a solar energy input voltage value in real time; judging whether the solar input voltage value is within a preset charging voltage range or not according to the solar input voltage value; if the judgment result is yes, selecting the charging mode as a solar charging mode; if not, the commercial power charging mode is selected. Through by according to solar energy input current value and solar energy input voltage value, judge whether solar energy input voltage value is in predetermineeing charging voltage range, when making commercial power and solar energy coexist and satisfy the condition, preferentially use solar charging, guaranteed solar charging's priority, switch over to the commercial power intelligently when solar energy does not satisfy the condition and charge for commercial power charging and solar photovoltaic charge can intelligently switch over in a flexible way, show ground improvement work efficiency.

Description

Intelligent switching method, device and system for solar charging and commercial power charging
Technical Field
The invention belongs to the technical field of solar energy, and particularly relates to a method, a device and a system for intelligently switching solar charging and commercial power charging.
Background
Solar photovoltaic power generation refers to a power generation mode of directly converting light energy into electric energy without a thermal process. The method comprises photovoltaic power generation, photochemical power generation, photoinduction power generation and photobiological power generation. Photovoltaic power generation is a direct power generation mode which utilizes a solar-grade semiconductor electronic device to effectively absorb solar radiation energy and convert the solar radiation energy into electric energy, is the mainstream of current solar power generation, and has the characteristics of no pollution, low noise, simple maintenance and the like, and is widely applied.
At present, because solar power supply cannot be used in all weather and cannot continuously provide energy for a charging system, a charging system which is switched between solar charging and mains charging is available in the market, but the existing charging system is too simple in structure and has a mechanical switching process, so that the switching efficiency between solar charging and mains charging is low, and development of a control system which can continuously provide energy for equipment in any weather environment is urgent, so that an intelligent switching method for solar charging and mains charging is actually needed to be designed to solve the problems.
Disclosure of Invention
The invention aims to provide a method, a device and a system for intelligently switching solar charging and commercial power charging, and aims to solve the technical problem of low charging efficiency caused by the fact that solar charging and commercial power cannot be intelligently switched in the prior art.
In order to achieve the above object, an embodiment of the present invention provides an intelligent switching method between solar charging and commercial power charging, where the method includes:
acquiring a solar energy input voltage value in real time;
judging whether the solar input voltage value is in a preset charging voltage range or not according to the solar input voltage value;
if the judgment result is yes, selecting the charging mode as a solar charging mode;
if not, the commercial power charging mode is selected.
Optionally, after the step of selecting the charging mode as the solar charging mode if the determination result is yes, the method further includes:
acquiring a photovoltaic simulation PV curve;
acquiring the solar energy input voltage value in real time, and acquiring a tracking PV curve;
and adjusting the charging power in real time according to the photovoltaic simulation PV curve until the tracking PV curve is completely fitted with the photovoltaic simulation PV curve.
Optionally, the step of adjusting the charging power in real time according to the photovoltaic simulated PV curve until the tracking PV curve and the photovoltaic simulated PV curve are completely fitted includes:
acquiring a preset comparison current value;
acquiring a first charging current and a second charging current in real time, and comparing a charging current difference value with the comparison current value; wherein the charging current difference is a difference between the first charging current and the second charging current;
if the current difference value is larger than the comparison current value, the duty ratio is increased when the duty ratio and the current are in the increasing direction, and the duty ratio is reduced when the current is increased;
and if the current difference value is smaller than the comparison current value, the duty ratio is reduced when the duty ratio and the current are in the reduction direction, and the duty ratio is increased when the current is reduced.
Optionally, if it is determined not to be the above, the step of selecting the commercial charging mode specifically includes:
acquiring an external battery voltage value, comparing the external battery voltage value with a preset charging voltage range of the battery, and judging whether the external battery voltage value falls into the preset charging voltage range of the battery;
if the voltage value is judged to be positive, the output current value and the output voltage value are adjusted to execute two-stage charging.
Optionally, if it is determined that the charging voltage is positive, the step of adjusting the output current value and the output voltage value to perform two-stage charging specifically includes:
acquiring the duty ratio of a preset voltage loop and a preset current loop;
and regulating the charging current to soft start to a target value, and controlling the charger to perform constant-current and constant-voltage charging.
Optionally, the step of determining whether the solar input voltage value is within a preset charging voltage range according to the solar input current value and the solar input voltage value specifically includes:
acquiring a preset charging voltage range corresponding to the solar input voltage value;
and comparing the solar input voltage value with the preset charging voltage range.
Optionally, after the step of determining whether the solar input voltage value is within a preset charging voltage range according to the solar input voltage value, the method further includes:
setting an over-temperature protection point, and detecting an NTC temperature value of the charger;
and adjusting the rotating speed of the heat dissipation fan in real time according to the sampling value of the NTC temperature value of the charger.
The utility model provides a solar charging and commercial power intelligent switching device that charges which characterized in that, the device includes:
the detection module is used for acquiring a solar input voltage value in real time;
the analysis module is used for judging whether the solar input voltage value is in a preset charging voltage range or not according to the solar input voltage value;
the solar charging selection module is used for selecting a charging mode as a solar charging mode;
and the commercial power charging selection module is used for selecting the charging mode as a commercial power charging mode.
An intelligent switching system for solar charging and commercial power charging comprises a photovoltaic charging power panel, an alternating current/direct current charging power panel and a main control panel, wherein the photovoltaic charging panel is used for processing solar input power and controlling energy input; the main control board is connected with the photovoltaic charging power board and the alternating current and direct current charging power board through a 485 bus, the main control board is connected with the photovoltaic charging power board and the alternating current and direct current charging power board, and the main control board is used for acquiring charging voltage and charging current of the photovoltaic charging power board and the alternating current and direct current charging power board; wherein the content of the first and second substances,
the main control panel is used for acquiring a solar energy input voltage value in real time; judging whether the solar input voltage value is in a preset charging voltage range or not according to the solar input voltage value; if the judgment result is yes, selecting the charging mode as a solar charging mode; if not, the commercial power charging mode is selected.
A computer device comprising one or more processors, memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs including control instructions of the solar charging and mains charging intelligent switching method.
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method for intelligent switching between solar charging and mains charging.
The invention also provides a computer readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the solar charging and commercial power charging intelligent switching method.
One or more technical schemes in the method, the device and the system for intelligently switching solar charging and commercial power charging provided by the embodiment of the invention at least have one of the following technical effects:
firstly, acquiring a solar input voltage value in real time; secondly, judging whether the solar input voltage value is in a preset charging voltage range or not according to the solar input voltage value; if the solar charging mode is judged to be the charging mode, selecting the charging mode as the solar charging mode; if not, selecting a commercial power charging mode; in the process, whether the solar input voltage value is in the preset charging voltage range or not is judged according to the solar input voltage value, so that the commercial power and the solar energy exist simultaneously and meet the conditions, solar charging is preferentially used, the priority of the solar charging is ensured, the solar energy is intelligently switched to the commercial power for charging when the conditions are not met, the cost of a solar application system is effectively solved, the commercial power charging and the solar photovoltaic charging can be intelligently and flexibly switched, the electric power cost required by charging is effectively reduced, and the working efficiency is remarkably improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is an application scenario diagram of an intelligent switching method between solar charging and commercial power charging according to an embodiment of the present invention;
fig. 2 is a flowchart of an intelligent switching method between solar charging and commercial power charging according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an over-temperature prevention method for intelligent switching between solar charging and commercial power charging according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for intelligently switching between solar charging and commercial power charging according to an embodiment of the present invention to determine a range of a solar input voltage value;
fig. 5 is a flowchart illustrating adjusting the charging power to a value that the tracking PV curve and the photovoltaic simulation PV curve are completely fitted in the intelligent switching method between solar charging and commercial power charging according to the embodiment of the present invention;
fig. 6 is a flowchart illustrating a process of adjusting charging power in an intelligent switching method between solar charging and commercial power charging according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a method for intelligently switching between solar charging and commercial power charging according to an embodiment of the present invention to select a commercial power charging mode;
fig. 8 is a flowchart illustrating a two-stage charging process performed by adjusting an output current value and an output voltage value in the intelligent switching method between solar charging and commercial power charging according to the embodiment of the present invention;
fig. 9 is a block diagram of a solar charging and commercial power charging intelligent switching device according to an embodiment of the present invention;
fig. 10 is a block diagram of a solar charging and commercial power charging intelligent switching system according to an embodiment of the present invention;
fig. 11 is a block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In an embodiment of the present invention, as shown in fig. 1, an application scenario diagram of intelligent switching between solar charging and commercial power charging according to the present invention is provided. The photovoltaic charging system comprises a main control panel, a photovoltaic charging power panel and an alternating current/direct current charging power panel, wherein the main control panel is connected with the photovoltaic power panel and the alternating current/direct current charging power panel through 485 buses to obtain charging voltages of the photovoltaic charging power panel and the alternating current/direct current charging power panel; the main control board intelligently selects a solar charging mode and a commercial power charging mode through voltage values input by the photovoltaic charging power board and the alternating current-direct current charging power board.
In another embodiment of the present invention, as shown in fig. 2, there is provided a method for intelligently switching between solar charging and commercial power charging, the method includes the following steps:
s100, acquiring a solar energy input voltage value in real time;
specifically, in this step, the main control board obtains the solar input current value and the solar input voltage value from the photovoltaic charging power board, and the main control board also obtains an external battery voltage value and an external battery current value from the ac/dc charging power board.
S200, judging whether the solar input voltage value is within a preset charging voltage range or not according to the solar input voltage value;
specifically, in this step, according to the solar input current value and the solar input voltage value, it is determined whether the solar input voltage value is within a preset charging voltage range, and if the solar input voltage value is within the preset charging voltage range, solar charging is performed; and if the solar input voltage value is preset as the charging voltage value, the solar charging function is not started.
S300, if the solar input voltage value is in a preset charging voltage range, selecting a charging mode as a solar charging mode;
specifically, in this step, the solar input voltage value is compared with a preset charging voltage value, when the solar input voltage value falls into the preset charging voltage value, the main control board selects a charging mode as solar charging, and the photovoltaic charging power board provides energy input; and when the solar input voltage value does not fall into the preset charging voltage value, the solar charging mode is not selected.
And S400, if the solar input voltage value is not in the preset charging voltage range, selecting a commercial charging mode.
Specifically, in this step, when the solar input voltage value does not fall into the preset charging voltage value, the main control panel switches to the commercial power charging mode without selecting the solar charging mode, and the ac/dc charging power panel provides energy input.
Firstly, acquiring a solar energy input voltage value in real time; secondly, judging the solar energy according to the solar energy input current value and the solar energy input voltage value; if the solar charging mode is judged to be the charging mode, selecting the charging mode as the solar charging mode; if not, selecting a commercial power charging mode; in the process, whether the solar input voltage value is in the preset charging voltage range or not is judged according to the solar input current value and the solar input voltage value, so that the commercial power and the solar energy exist simultaneously and meet the conditions, the solar charging is preferentially used, the solar charging priority is guaranteed, the solar energy is intelligently switched to the commercial power for charging when the conditions are not met, the cost of a solar energy application system is effectively solved, the commercial power charging and the solar photovoltaic charging can be intelligently and flexibly switched, the power cost required by charging is effectively reduced, and the working efficiency is remarkably improved.
In another embodiment of the present invention, as shown in fig. 5, if it is determined that the step of selecting the charging mode as the solar charging mode is yes, the method specifically includes:
s310, acquiring a photovoltaic simulation PV curve;
specifically, in this step, the photovoltaic analog PV curve is obtained to provide a reference for the main control board to adjust the solar charging power, so that the main control board can adjust the solar charging power to obtain the maximum power output. Further, in this embodiment, a photovoltaic simulator is adopted to simulate a solar cell panel, the input voltage and the maximum power point of the photovoltaic simulator are set, and the photovoltaic simulation PV curve is obtained, so as to realize tracking of charging power. When the duty ratio is in the increasing direction, the charging power direction is also in the increasing direction, and the duty ratio is increased; when the power increases, the duty cycle increases; as power decreases, the duty cycle also decreases. Thereby, the charging power is realized to reach the maximum power point and float around the maximum power point.
S320, acquiring the solar input voltage value in real time, and acquiring a tracking PV curve;
specifically, in this step, the real-time solar input voltage is tracked, the tracking PV curve is obtained from the real-time solar input voltage, and the intensity of the solar illumination is tracked in real time, so that the magnitude of the charging power is adjusted in real time.
S330, according to the photovoltaic simulation PV curve, adjusting the charging power in real time until the tracking PV curve and the photovoltaic simulation PV curve are completely fitted.
Specifically, in this step, the tracking PV curve is adjusted by adjusting the magnitude of the charging power according to the photovoltaic analog PV curve as a reference curve, so that the charging power can be adjusted according to the intensity of real-time solar illumination, and the tracking PV curve can be completely fitted to the photovoltaic analog curve, and the charging power is kept near the maximum power point under any climate condition. Thereby, the main control panel is enabled to automatically track the energy input of the solar energy, convert the light energy into the electric energy and store the electric energy in the battery system. The main control board tracks the intensity of sunlight in real time according to the input voltage of the photovoltaic charging power board, and adjusts the charging power in real time. Further, in this embodiment, the maximum power point of the photovoltaic simulator is 600W, and when the charging power exceeds 600W, the tracking point of the tracking PV curve is dynamically adjusted within the range of 600W, and stops increasing upwards; when the charging power is below 600W, the photovoltaic simulated PV curve will track the power maximum point below 600W. The main control board enables a tracking PV curve to be completely fitted with a photovoltaic simulation PV curve by adjusting the charging power, and further realizes that the charging power is kept near the maximum power point under any climate condition.
In another embodiment of the present invention, as shown in fig. 6, the step of adjusting the charging power in real time according to the photovoltaic simulated PV curve until the tracking PV curve is completely fitted to the photovoltaic simulated PV curve specifically includes:
s331, acquiring a preset comparison current value;
specifically, in this step, the comparison current value is an adjustable value, and is adjusted and set according to the actual requirement of the user.
S332, acquiring a first charging current and a second charging current in real time, and comparing a charging current difference value with the comparison current value; wherein the charging current difference is a difference between the first charging current and the second charging current;
specifically, in this step, the first charging current is a charging current collected at a previous time point and is recorded as a first charging current, the second charging current is a charging current collected at a later time point and is recorded as a second charging current, and the trend of the PV curve can be tracked by adjusting the real-time charging current and changing the duty ratio of the PWM control signal. The PWM control signal is a pulse width modulation signal sent by the main control board and used for tracking and controlling the charging power to be maintained near the maximum power point, and the control of the charging current is realized by utilizing the PWM signal, so that the charging power is ensured to be maintained near the maximum power point
S333, if the current difference value is larger than the comparison current value, the duty ratio is increased when the duty ratio and the current are in the increasing direction, and the duty ratio is reduced when the current is increased;
specifically, in this step, the current difference value is compared with a comparison current value to determine the increasing and decreasing directions of the duty ratio and the current, and when the duty ratio and the current are in the increasing direction, the duty ratio is increased and the current is increased, so that the duty ratio of the PWM control signal is decreased and the charging power is maintained near the maximum power point.
And S334, if the current difference value is smaller than the comparison current value and the duty ratio and the current are in the reduction direction, reducing the duty ratio, and increasing the duty ratio when the current is reduced.
Specifically, in this step, the current difference value is compared with a comparison current value to determine the increasing and decreasing directions of the duty ratio and the current, and when the duty ratio and the current are in the decreasing direction, the duty ratio is decreased and the current is decreased, so that the duty ratio of the PWM control signal is increased to maintain the charging power near the maximum power point.
In another embodiment of the present invention, as shown in fig. 7, if it is determined not to be the case, the step of selecting the commercial charging mode specifically includes:
s410, acquiring an external battery voltage value, comparing the external battery voltage value with a preset charging voltage range of the battery, and judging whether the external battery voltage value falls into the battery charging voltage range;
specifically, in this step, an external battery voltage value is obtained, and according to the external battery voltage value, whether the external battery voltage value is within a preset battery charging voltage range is determined, and if the external battery voltage value is within the preset battery charging voltage range and the solar input voltage value is not within the preset battery charging voltage range, the commercial power charging is started; otherwise, the start is not performed. In this embodiment, the preset charging voltage range of the external battery is 16V-28.8V, and when the voltage value of the external battery falls within the preset charging voltage range of the battery, the external battery can be identified to be connected and charged.
If the judgment result is yes, the output current value and the output voltage value are adjusted to execute two-stage charging;
specifically, in this step, the external battery voltage value is compared with a preset charging voltage value, and when the external battery voltage value falls into the preset charging voltage value and the solar input voltage value is not within a preset charging voltage range, the main control board selects a charging mode as the commercial power charging mode, and the alternating current/direct current charging power board provides energy input. The main control board acquires and controls voltage feedback information and current feedback information, and the main control board outputs an adjustable duty ratio with fixed frequency and adjusts output voltage and output current so as to realize control of the output voltage and control of the output current and realize two-stage charging.
In another embodiment of the present invention, as shown in fig. 8, if it is determined that the output current value is greater than the predetermined value, the step of adjusting the output current value and the output voltage value to perform the two-stage charging includes:
s421, acquiring the duty ratio of a preset voltage loop and a preset current loop;
specifically, in this step, the charger is in a loop control mode, the loop of the charger includes a voltage loop and a current loop, and the output voltage and the output current of the charger are adjusted in real time by obtaining an adjustable duty ratio with a set fixed frequency of the main control board. The voltage loop control is used for outputting target voltage through loop feedback control, the current loop control is used for outputting target current through loop feedback control, and the stability of the loop and the energy control of direct current output are realized through the voltage loop control and the current loop control.
S422, adjusting the charging current to soft start to a target value, and controlling the charger to perform constant-current and constant-voltage charging;
specifically, in this step, the charging current is adjusted by soft start to smoothly adjust the charging current to a target current value, thereby preventing the charging current from rapidly increasing or decreasing and effectively protecting the circuit.
In another embodiment of the present invention, as shown in fig. 4, the step of determining whether the solar input voltage value is within a preset charging voltage range according to the solar input current value and the solar input voltage value specifically includes:
s210, acquiring a preset charging voltage range of the solar input voltage value;
specifically, in this step, it is determined whether the solar input voltage value is within a preset charging voltage range by acquiring the preset charging voltage range set in the main control board. In this embodiment, the predetermined charging voltage is 30V, and the over-voltage point of the input terminal is set to 61V.
S220, comparing the solar input voltage value with the preset charging voltage range;
specifically, in this step, by comparing the solar input voltage value with the preset charging voltage range, it is determined whether the solar input voltage value falls within the preset charging voltage range. In this embodiment, when the solar input voltage value is not lower than 30V, the relay is closed to perform solar charging; otherwise, when the solar energy input voltage value is lower than 30V and does not fall into a preset charging voltage range, in order to provide stable energy input, the relay is disconnected to stop charging, and the solar energy charging function is not performed; further, when the solar voltage value is higher than 61V, in order to protect the circuit, the charging is stopped, and an overvoltage protection function is realized.
In another embodiment of the present invention, as shown in fig. 3, after the step of determining whether the solar input voltage value is within a preset charging voltage range according to the solar input voltage value, the method further includes:
s201, setting an over-temperature protection point, and detecting an NTC temperature value of a charger;
specifically, in this step, the normal operation is prevented from being affected by solar charging or commercial power charging overheating by setting an over-temperature protection point and detecting the NTC temperature value of the charger.
S202, adjusting the rotating speed of the heat dissipation fan in real time according to the sampling value of the NTC temperature value of the charger.
Specifically, in this step, the rotation speed of the heat dissipation fan is adjusted in real time according to the NTC temperature value of the charger. In the embodiment, when the NTC temperature value of the charger rises to 38 degrees celsius, acceleration is started; the cooling fan rotates at full speed when the temperature rises to 52 degrees celsius. Therefore, the temperature of the charger is reduced through the heat dissipation fan, and the influence on the normal work of the charger due to the charger is prevented.
In another embodiment of the present invention, as shown in fig. 9, an intelligent switching device 800 for solar charging and commercial power charging is provided, the device includes a detection module 810, an analysis module 820, a solar charging selection module 830 and a commercial power charging selection module 840;
the detection module 810 is configured to obtain a solar input current value, a solar input voltage value, an external battery voltage value, and an external battery current value in real time;
the analysis module 820 is configured to determine whether the solar input voltage value is within a preset charging voltage range according to the solar input current value and the solar input voltage value;
the solar charging selection module 830 is configured to select a charging mode as a solar charging mode when the solar input voltage value is within a preset charging voltage range;
the commercial power charging selection module 840 is configured to select a commercial power charging mode when the solar input voltage value is not within a preset charging voltage range.
In another embodiment of the present invention, the solar charging selection module 830 is further configured to:
acquiring a photovoltaic simulation PV curve;
acquiring the solar energy input voltage value in real time, and acquiring a tracking PV curve;
and adjusting the charging power in real time according to the photovoltaic simulation PV curve until the tracking PV curve is completely fitted with the photovoltaic simulation PV curve.
In another embodiment of the present invention, the solar charging selection module 830 is further configured to:
acquiring a preset comparison current value;
acquiring a first charging current and a second charging current in real time, and comparing a charging current difference value with the comparison current value; wherein the charging current difference is a difference between the first charging current and the second charging current;
if the current difference value is larger than the comparison current value, the duty ratio is increased when the duty ratio and the current are in the increasing direction, and the duty ratio is reduced when the current is increased;
and if the current difference value is smaller than the comparison current value, the duty ratio is reduced when the duty ratio and the current are in the reduction direction, and the duty ratio is increased when the current is reduced.
In another embodiment of the present invention, the commercial power charging selection module 840 is further configured to:
acquiring an external battery voltage value, comparing the external battery voltage value with a battery charging voltage range, and judging whether the external battery voltage value falls into the battery charging voltage range;
if the voltage value is judged to be positive, the output current value and the output voltage value are adjusted to execute two-stage charging.
In another embodiment of the present invention, the commercial power charging selection module 840 is further configured to:
acquiring the duty ratio of a preset voltage loop and a preset current loop;
and regulating the charging current to soft start to a target value, and controlling the charger to perform constant-current and constant-voltage charging.
In another embodiment of the present invention, the analysis module 820 is further configured to:
acquiring a preset charging voltage range corresponding to the solar input voltage value;
and comparing the solar input voltage value with the preset charging voltage range.
In another embodiment of the present invention, the analysis module 820 is further configured to:
setting an over-temperature protection point, and detecting an NTC temperature value of the charger;
and adjusting the rotating speed of the heat dissipation fan in real time according to the sampling value of the NTC temperature value of the charger.
In another embodiment of the present invention, as shown in fig. 10, there is further provided an intelligent solar charging and commercial power charging switching system 900, which includes a photovoltaic charging power panel 500, an ac/dc charging power panel 600 and a main control panel 700, where the photovoltaic charging power panel 600 is used for processing solar input power and controlling energy input; the ac/dc charging power board 600 is configured to process a mains input power and control energy input, the main control board 700 is connected to the photovoltaic charging power board 500 and the ac/dc charging power board 600, and the main control board 700 is configured to obtain a charging voltage and a charging current of the photovoltaic charging power board 500 and the ac/dc charging power board 600; wherein the content of the first and second substances,
the main control panel 700 is used for acquiring a solar input voltage value in real time; judging whether the solar input voltage value is in a preset charging voltage range or not according to the solar input voltage value; if the judgment result is yes, selecting the charging mode as a solar charging mode; if not, the commercial power charging mode is selected.
In another embodiment of the present invention, there is also provided a computer device comprising one or more processors, memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs comprising control instructions for performing the solar charging and mains charging intelligent switching method.
The computer device may be a terminal, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by the processor to realize the intelligent switching method of solar charging and commercial power charging. 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.
In another embodiment of the present invention, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above-mentioned solar charging and commercial power charging intelligent switching method.
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 can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can 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 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 (10)

1. A method for intelligently switching solar charging and commercial power charging is characterized by comprising the following steps:
acquiring a solar energy input voltage value in real time;
judging whether the solar input voltage value is within a preset charging voltage range or not according to the solar input voltage value;
if the judgment result is yes, selecting the charging mode as a solar charging mode;
if not, the commercial power charging mode is selected.
2. The method as claimed in claim 1, wherein after the step of selecting the charging mode as the solar charging mode if the determination result is yes, the method further comprises:
acquiring a photovoltaic simulation PV curve;
acquiring the solar energy input voltage value in real time, and acquiring a tracking PV curve;
and adjusting the charging power in real time according to the photovoltaic simulation PV curve until the tracking PV curve is completely fitted with the photovoltaic simulation PV curve.
3. The intelligent solar charging and utility charging switching method according to claim 2, wherein the step of adjusting the charging power in real time according to the photovoltaic simulated PV curve until the tracking PV curve and the photovoltaic simulated PV curve are completely fitted includes:
acquiring a preset comparison current value;
acquiring a first charging current and a second charging current in real time, and comparing a charging current difference value with the comparison current value; wherein the charging current difference is a difference between the first charging current and the second charging current;
if the current difference value is larger than the comparison current value, the duty ratio is increased when the duty ratio and the current are in the increasing direction, and the duty ratio is reduced when the current is increased;
and if the current difference value is smaller than the comparison current value, the duty ratio is reduced when the duty ratio and the current are in the reduction direction, and the duty ratio is increased when the current is reduced.
4. The intelligent switching method between solar charging and commercial power charging according to claim 1, wherein if no, the step of selecting the commercial power charging mode comprises:
acquiring an external battery voltage value, comparing the external battery voltage value with a preset charging voltage range of the battery, and judging whether the external battery voltage value falls into the preset charging voltage range of the battery;
if the voltage value is judged to be positive, the output current value and the output voltage value are adjusted to execute two-stage charging.
5. The method according to claim 4, wherein if yes, adjusting the output current and the output voltage to perform two-stage charging comprises:
acquiring the duty ratio of a preset voltage loop and a preset current loop;
and regulating the charging current to soft start to a target value, and controlling the charger to perform constant-current and constant-voltage charging.
6. The intelligent switching method between solar charging and commercial power charging according to claim 1, wherein the step of determining whether the solar input voltage value is within a preset charging voltage range according to the solar input voltage value specifically comprises:
acquiring a preset charging voltage range corresponding to the solar input voltage value;
and comparing the solar input voltage value with the preset charging voltage range.
7. The intelligent switching method between solar charging and commercial power charging according to claim 1, wherein after the step of determining whether the solar input voltage value is within a preset charging voltage range according to the solar input voltage value, the method further comprises:
setting an over-temperature protection point, and detecting an NTC temperature value of the charger;
and adjusting the rotating speed of the heat dissipation fan in real time according to the sampling value of the NTC temperature value of the charger.
8. The utility model provides a solar charging and commercial power intelligent switching device that charges which characterized in that, the device includes:
the detection module is used for acquiring a solar input voltage value in real time;
the analysis module is used for judging whether the solar input voltage value is in a preset charging voltage range or not according to the solar input voltage value;
the solar charging selection module is used for selecting a charging mode as a solar charging mode;
and the commercial power charging selection module is used for selecting the charging mode as a commercial power charging mode.
9. The intelligent switching system for solar charging and commercial power charging is characterized by comprising a photovoltaic charging power panel, an alternating current-direct current charging power panel and a main control panel, wherein the photovoltaic charging panel is used for processing solar input power and controlling energy input; the main control board is connected with the photovoltaic charging power board and the alternating current and direct current charging power board through a 485 bus, the main control board is connected with the photovoltaic charging power board and the alternating current and direct current charging power board, and the main control board is used for acquiring charging voltage and charging current of the photovoltaic charging power board and the alternating current and direct current charging power board; wherein the content of the first and second substances,
the main control panel is used for acquiring a solar energy input voltage value in real time; judging whether the solar input voltage value is in a preset charging voltage range or not according to the solar input voltage value; if the judgment result is yes, selecting the charging mode as a solar charging mode; if not, the commercial power charging mode is selected.
10. A computer device comprising one or more processors, memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs comprising control instructions for performing the solar charging and mains charging intelligent switching method of any one of claims 1 to 7.
CN202110384679.9A 2021-04-09 2021-04-09 Intelligent switching method, device and system for solar charging and commercial power charging Pending CN112994175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110384679.9A CN112994175A (en) 2021-04-09 2021-04-09 Intelligent switching method, device and system for solar charging and commercial power charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110384679.9A CN112994175A (en) 2021-04-09 2021-04-09 Intelligent switching method, device and system for solar charging and commercial power charging

Publications (1)

Publication Number Publication Date
CN112994175A true CN112994175A (en) 2021-06-18

Family

ID=76339664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110384679.9A Pending CN112994175A (en) 2021-04-09 2021-04-09 Intelligent switching method, device and system for solar charging and commercial power charging

Country Status (1)

Country Link
CN (1) CN112994175A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189007A (en) * 2021-11-15 2022-03-15 阳光电源股份有限公司 Vehicle-mounted charger working mode switching control method and device and vehicle-mounted charger

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189007A (en) * 2021-11-15 2022-03-15 阳光电源股份有限公司 Vehicle-mounted charger working mode switching control method and device and vehicle-mounted charger
CN114189007B (en) * 2021-11-15 2024-04-12 阳光电源股份有限公司 Vehicle-mounted charger working mode switching control method and device and vehicle-mounted charger

Similar Documents

Publication Publication Date Title
CN110915090B (en) Method and system for extracting redundant power
US7737665B2 (en) Multi-threshold charging of a rechargeable battery
US20110031926A1 (en) Battery charger for a phtovoltaic system, a controller therefor and a method of controlling the same
US9729083B2 (en) Power supply system and power source apparatus
US20170271912A1 (en) Dispatchable photovoltaic panel with fully integrated energy storage and grid interactive power conversion
Karami et al. Analysis and implementation of an adaptative PV based battery floating charger
CN103226373B (en) The method and apparatus relevant with the photovoltaic power generation apparatus of the photovoltaic module comprising series connection
US20180175662A1 (en) Battery charge method and device
US20150069950A1 (en) Control system
CN112994175A (en) Intelligent switching method, device and system for solar charging and commercial power charging
CN104868840A (en) Photovoltaic energy storage inverter off-grid MPPT perturbation method
CN105048013A (en) Charging management method and mobile terminal
US20170317503A1 (en) Power storage control apparatus, direct-current power system, and controlling method thereof
Algarín et al. Implementation of a cost-effective fuzzy MPPT controller on the Arduino board
CN114172256B (en) Solar energy power generation intelligent control device
JP2012196022A (en) Charge controller, charge control method, and photovoltaic power generation system
Akila et al. Charging station for e-vehicle using solar with IOT
TWI636638B (en) Charging system and control method thereof
CN107943158B (en) Intelligent heating control card capable of adaptively adjusting power output and control method thereof
Grebenchikov et al. Study of solar panel charge controllers
CN106208210B (en) A kind of PID charging currents stabilization regulation and control method and terminal
CN104597937A (en) Electronic equipment with intelligent temperature regulation function
Kim et al. Lifespan Extension of an IoT System with a Fixed Lithium Battery
CN114640170B (en) Outdoor power supply assembly, outdoor power supply and solar panel control method and device thereof
CN205666637U (en) Power supply unit of group battery

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