CN116436122A - Power supply equipment identification method, identification circuit and electronic equipment - Google Patents

Power supply equipment identification method, identification circuit and electronic equipment Download PDF

Info

Publication number
CN116436122A
CN116436122A CN202310365221.8A CN202310365221A CN116436122A CN 116436122 A CN116436122 A CN 116436122A CN 202310365221 A CN202310365221 A CN 202310365221A CN 116436122 A CN116436122 A CN 116436122A
Authority
CN
China
Prior art keywords
power supply
value
tracking circuit
maximum power
power
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
CN202310365221.8A
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.)
Ecoflow Technology Ltd
Original Assignee
Ecoflow Technology 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 Ecoflow Technology Ltd filed Critical Ecoflow Technology Ltd
Priority to CN202310365221.8A priority Critical patent/CN116436122A/en
Publication of CN116436122A publication Critical patent/CN116436122A/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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/66Regulating electric power
    • G05F1/67Regulating electric power to the maximum power available from a generator, e.g. from solar cell
    • 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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • 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/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Development (AREA)
  • Sustainable Energy (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Electrical Variables (AREA)

Abstract

The application provides a power supply equipment identification method, an identification circuit and electronic equipment, wherein the method comprises the following steps: after detecting that the power supply equipment is connected to the power supply interface, generating a first control signal to the maximum power tracking circuit, so that the output current of the maximum power tracking circuit is increased to a preset current threshold value in a first time period; acquiring a first voltage variation value of an input voltage of a power interface in a first time period; generating a second control signal to the maximum power tracking circuit when the duration of the first time period is reached, so that the output current value of the maximum power tracking circuit is a target current value; acquiring a second voltage variation value of the input voltage of the power interface in a second time period from the generation of a second control signal; and identifying the type of the power supply equipment according to the first voltage variation value and the second voltage variation value. The embodiment of the application improves the type identification accuracy of the power supply equipment.

Description

Power supply equipment identification method, identification circuit and electronic equipment
Technical Field
The application relates to the field of new energy, in particular to a power supply equipment identification method, an identification circuit and electronic equipment.
Background
In many areas of life, where it is desirable to use an electronic device, it is desirable to charge the electronic device. Common charging methods include direct current charging, alternating current charging, TYPE-C charging, and the like. In dc charging, the electronic device is usually charged either by using a dc regulated power supply or by using a photovoltaic power supply. In order to improve the charging efficiency, it is necessary to distinguish whether the power supply device is a dc stabilized power supply or a photovoltaic power supply, and then charge the electronic device by using an adaptive charging strategy. However, in the related art, when the electronic apparatus performs type recognition on the power supply apparatus, the accuracy of the recognition result is not ideal enough.
Disclosure of Invention
An object of the present invention is to provide a power supply device identification method, an identification circuit and an electronic device, which can improve the accuracy of type identification of the electronic device to the power supply device.
According to an aspect of an embodiment of the application, a method for identifying a power supply device is disclosed, and the method is applied to an electronic device, wherein the electronic device comprises a power supply interface and a maximum power tracking circuit; the power interface is connected with the maximum power tracking circuit; the power interface is used for being connected with power equipment; the method comprises the following steps:
After detecting that the power supply equipment is connected to the power supply interface, generating a first control signal to the maximum power tracking circuit; the first control signal is used for controlling the maximum power tracking circuit to work so that the output current of the maximum power tracking circuit is increased to a preset current threshold value in a first time period;
acquiring a change value of input voltage of the power interface in the first time period to obtain a first voltage change value;
generating a second control signal to the maximum power tracking circuit when the duration of the first time period is reached; the second control signal is used for controlling the maximum power tracking circuit to work so that the output current value of the maximum power tracking circuit is a target current value, and the target current value is smaller than the preset current threshold;
acquiring a change value of the input voltage of the power interface in a second time period from the generation of the second control signal, and obtaining a second voltage change value;
and identifying the type of the power supply equipment according to the first voltage variation value and the second voltage variation value.
According to an aspect of an embodiment of the present application, an identification device of a power supply device is disclosed, where the device is provided in an electronic device, and the electronic device includes a power supply interface and a maximum power tracking circuit; the power interface is connected with the maximum power tracking circuit; the power interface is used for being connected with power equipment; the device comprises:
The first generation module is configured to generate a first control signal to the maximum power tracking circuit after detecting that the power supply equipment is connected to the power supply interface; the first control signal is used for controlling the maximum power tracking circuit to work so that the output current of the maximum power tracking circuit is increased to a preset current threshold value in a first time period;
the first acquisition module is configured to acquire a change value of the input voltage of the power interface in the first time period to obtain a first voltage change value;
a second generation module configured to generate a second control signal to the maximum power tracking circuit when the duration of the first period is reached; the second control signal is used for controlling the maximum power tracking circuit to work so that the output current value of the maximum power tracking circuit is a target current value, and the target current value is smaller than the preset current threshold;
the second acquisition module is configured to acquire a change value of the input voltage of the power interface in a second time period from the generation of the second control signal, and obtain a second voltage change value;
and the identification module is configured to identify the type of the power supply equipment according to the first voltage variation value and the second voltage variation value.
In an exemplary embodiment of the present application, the identification module is configured to:
when the first voltage change value is larger than a first preset threshold value and the second voltage change value is larger than a second preset threshold value, the power supply equipment is identified as a photovoltaic power supply; the first preset threshold is greater than the second preset threshold.
In an exemplary embodiment of the present application, the apparatus is configured to:
tracking the maximum power point of the photovoltaic power supply based on the input voltage and the output current, and determining the maximum power point;
and controlling the electronic equipment to charge at the maximum power point.
In an exemplary embodiment of the present application, the identification module is configured to:
and when the first voltage change value is smaller than or equal to the first preset threshold value and/or the second voltage change value is smaller than or equal to the second preset threshold value, identifying the access power supply as a direct-current stabilized voltage supply.
In an exemplary embodiment of the present application, the apparatus is configured to:
acquiring an input voltage value at the power interface;
and if the input voltage value is within a preset range, executing the step of generating the first control signal to the maximum power tracking circuit.
In an exemplary embodiment of the present application, the apparatus is configured to:
if the input voltage value is not in the preset range, generating a prompt signal; the prompting signal is used for prompting that the power supply equipment is abnormal.
In an exemplary embodiment of the present application, the apparatus is configured to:
if the input voltage value is not in the preset range, generating a charge prohibiting instruction; the charge prohibition instruction is used for prohibiting the electronic equipment from being charged by using the power supply of the power interface.
In an exemplary embodiment of the present application, the apparatus is configured to:
the first control signal is used for controlling the duty ratio of a switching tube in the maximum power tracking circuit to be gradually increased in the first time period, so that the output current of the maximum power tracking circuit is increased to the preset current threshold value in the first time period;
the second control signal is used for controlling the duty ratio of a switching tube in the maximum power tracking circuit to be a preset duty ratio, so that the output current value of the maximum power tracking circuit is a target current value.
According to an aspect of the embodiments of the present application, an identification circuit of a power supply device is disclosed, and the identification circuit is provided in an electronic device, and includes: the system comprises a controller, a maximum power tracking circuit and a sampling circuit; the controller is in communication connection with the sampling circuit; the power interface of the electronic equipment is connected with the maximum power tracking circuit; the power interface is used for being connected with power equipment; the sampling circuit is used for collecting the input voltage value of the power interface; the controller is configured to implement the methods provided in the various alternative implementations described above.
According to an aspect of an embodiment of the application, an electronic device is disclosed, comprising a maximum power tracking circuit, a power interface, a sampling circuit, a controller, and a memory; the power interface is connected with the maximum power tracking circuit; the power interface is used for being connected with power equipment; the sampling circuit is used for sampling the input voltage at the power interface; the memory stores a computer program executable by the controller; the computer program, when executed by the controller, implements the methods provided in the various alternative implementations described above.
According to an aspect of embodiments of the present application, a computer program medium having computer readable instructions stored thereon, which when executed by a processor of a computer, cause the computer to perform the methods provided in the various alternative implementations described above is disclosed.
According to an aspect of embodiments of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods provided in the various alternative implementations described above.
The embodiment of the application provides a power supply equipment identification method which is applied to electronic equipment, wherein the electronic equipment comprises a power supply interface and a maximum power tracking circuit; the power interface is connected with the maximum power tracking circuit; the power interface is used for being connected with power equipment. After the electronic equipment detects that the power supply equipment is connected to the power supply interface, a first control signal is generated, the maximum power tracking circuit is further controlled to boost the output current of the maximum power tracking circuit to a preset current threshold value in a first time period, and the electronic equipment further obtains the change value of the input voltage of the power supply interface in the first time period, so that the first voltage change value which can be preliminarily used for distinguishing different performances of different types of direct current power supplies under the condition that the output current of the maximum power tracking circuit is gradually boosted is obtained. When the duration of the first time period is reached, the electronic device further generates a second control signal to control the output current of the maximum power tracking circuit to be a target current value smaller than a preset current threshold value, and the electronic device further obtains a change value of the input voltage of the power interface in the second time period from the generation of the second control signal, so as to obtain a second voltage change value which can be used for further distinguishing different manifestations of different types of direct current power supplies under the condition that the output current of the maximum power tracking circuit is instantaneously reduced. And the electronic equipment can improve the type identification accuracy of the power supply equipment according to the first voltage change value and the second voltage change value.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned in part by the practice of the application.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
Fig. 1 shows a flowchart of a method of identifying a power supply device according to one embodiment of the present application.
Fig. 2 shows a voltage-current characteristic of a photovoltaic power supply according to one embodiment of the present application.
Fig. 3 shows a voltage-current characteristic of a dc regulated power supply according to one embodiment of the present application.
Fig. 4 shows a schematic diagram of the related art for identifying a power supply device using a hardware terminal.
Fig. 5 shows a block diagram of an identification device of a power supply apparatus according to an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more example embodiments. In the following description, numerous specific details are provided to give a thorough understanding of example embodiments of the present application. One skilled in the relevant art will recognize, however, that the aspects of the application may be practiced without one or more of the specific details, or with other methods, components, steps, etc. In other instances, well-known structures, methods, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the application.
Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
The application provides a power supply equipment identification method which is mainly used for identifying the type of the power supply equipment. Wherein, the power supply device refers to a device that supplies electric power to other devices to perform direct current charging on the other devices, for example: charging adapters special for electronic equipment such as vehicles/computers/mobile phones and the like, wherein the charging adapters are usually direct-current stabilized power supplies; solar photovoltaic panels, i.e., photovoltaic power sources.
The identification method of the power supply device is applied to the electronic device comprising a power supply interface and a maximum power tracking circuit. The power interface is used for being connected with the power equipment to receive electric energy provided by the power equipment for charging. The maximum power tracking circuit is connected with the power interface, and is mainly used for controlling the power transmission efficiency of the charging process to be maintained at a maximum power point by adopting a maximum power point tracking (Maximum power point tracking, MPPT) technology in a photovoltaic solar system.
Fig. 1 shows a flowchart of a method for identifying a power supply device provided by the present application, and referring to fig. 1, the method for identifying a power supply device provided by the present application includes:
step S110, after detecting that the power supply equipment is connected to a power supply interface, generating a first control signal to a maximum power tracking circuit; the first control signal is used for controlling the maximum power tracking circuit to work so that the output current of the maximum power tracking circuit is increased to a preset current threshold value in a first time period.
In this embodiment of the present application, the power supply device is connected to a power interface of the electronic device to charge the electronic device. After detecting that the power supply device is connected to the power supply interface, the electronic device generates a first control signal and sends the first control signal to the maximum power tracking circuit. Under the triggering of the first control signal, the maximum power tracking circuit increases the output current to a preset current threshold value in a first time period.
For example: before the power supply equipment is connected to the power supply interface, the output current of the maximum power tracking circuit is 0A; the preset current threshold is 10A. After detecting that the power supply equipment is connected to the power supply interface at the time t0, generating a first control signal to the maximum power tracking circuit, and controlling the maximum power tracking circuit to increase the output current of the maximum power tracking circuit from 0A to 10A in a first time period t 1-t 2.
Step S120, obtaining a change value of the input voltage of the power interface in a first time period, and obtaining a first voltage change value.
Fig. 2 shows a voltage-current characteristic curve of the photovoltaic power supply, and fig. 3 shows a voltage-current characteristic curve of the dc stabilized power supply. Referring to fig. 2 and 3, if the power supply device is a photovoltaic power supply, the output current of the maximum power tracking circuit gradually decreases in the input voltage at the power interface under the condition that the output current gradually increases in the first period (t 1-t 2) according to the first control signal. If the power supply device is a dc regulated power supply, the input voltage at the power interface remains stable and unchanged, no matter how the output current of the maximum power tracking circuit increases in the first period of time.
Taking into account the different manifestations of the input voltage at the power interface in the first time period of different power supply types, the variation value of the input voltage at the power interface in the first time period, namely, the first voltage variation value, is obtained, so that the type of the power supply equipment can be primarily identified according to the first voltage variation value.
Step S130, when the duration of the first time period is reached, generating a second control signal to the maximum power tracking circuit; the second control signal is used for controlling the maximum power tracking circuit to work so that the output current value of the maximum power tracking circuit is a target current value, and the target current value is smaller than a preset current threshold.
When the duration of the first time period is reached, the electronic device generates a second control signal and sends the second control signal to the maximum power tracking circuit. Under the triggering of the second control signal, the maximum power tracking circuit reduces the output current of the maximum power tracking circuit from a preset current threshold value to a target current value.
For example: after the maximum power tracking circuit is controlled by the first control signal to raise the output current of the maximum power tracking circuit from 0A to 10A in the first time period t 1-t 2, the electronic equipment generates a second control signal to the maximum power tracking circuit at the time t2, and the maximum power tracking circuit is controlled to lower the output current of the maximum power tracking circuit from 10A to a target current value of 0.25A at the time t 2.
Step S140, obtaining a change value of the input voltage of the power interface in a second time period from the generation of the second control signal, and obtaining a second voltage change value.
Referring to fig. 2 and 3, if the power supply device is a photovoltaic power supply, and the maximum power tracking circuit instantaneously reduces its output current from a higher preset current threshold value to a lower target current value, when the target current value is a very low current value (e.g., 0a;0.1a;0.25a, etc.), the input voltage at the power supply interface may instantaneously rebound to a state close to the open circuit voltage (i.e., instantaneously rebound to a voltage when the circuit is not loaded), and maintain the state close to the open circuit voltage for a next second period (e.g., period t2 to t3 in fig. 2). If the power supply device is a dc regulated power supply, the input voltage at the power interface will not change, in an ideal case, even if the maximum power tracking circuit instantaneously reduces its output current from a higher preset current threshold to a lower target current value.
Taking into account the different manifestations of the input voltage at the power interface in the second time period of different power supply types, the change value of the input voltage at the power interface in the second time period, namely, the second voltage change value, is obtained so as to further identify the type of the power supply equipment according to the second voltage change value.
Step S150, the type of the power supply equipment is identified according to the first voltage variation value and the second voltage variation value.
As described above, the first voltage variation value corresponding to the first time period and the second voltage variation value corresponding to the second time period can be used for distinguishing the dc voltage-stabilized power supply from the photovoltaic power supply. In addition, considering that the direct current stabilized power supply may have voltage fluctuation, if the direct current stabilized power supply and the photovoltaic power supply are distinguished according to the first voltage variation value corresponding to the first time period, erroneous judgment may occur, and therefore, in the embodiment of the application, the second voltage variation value is further combined on the basis of the first voltage variation value, so that the type identification accuracy of the power supply device is improved.
In summary, in this embodiment of the present application, after detecting that a power supply device is connected to a power supply interface, an electronic device generates a first control signal to further control a maximum power tracking circuit to boost an output current of the maximum power tracking circuit to a preset current threshold in a first period of time, and then the electronic device obtains a change value of an input voltage of the power supply interface in the first period of time, so as to obtain a first voltage change value that can be used to primarily distinguish different expressions of different types of direct current power supplies under the condition that the maximum power tracking circuit gradually boosts the output current. When the duration of the first time period is reached, the electronic device further generates a second control signal to control the output current of the maximum power tracking circuit to be a target current value smaller than a preset current threshold value, and the electronic device further obtains a change value of the input voltage of the power interface in the second time period from the generation of the second control signal, so as to obtain a second voltage change value which can be used for further distinguishing different manifestations of different types of direct current power supplies under the condition that the output current of the maximum power tracking circuit is instantaneously reduced. And the electronic equipment can improve the type identification accuracy of the power supply equipment according to the first voltage change value and the second voltage change value.
In an embodiment, identifying the type of the power supply device according to the first voltage variation value and the second voltage variation value includes:
when the first voltage change value is larger than a first preset threshold value and the second voltage change value is larger than a second preset threshold value, the power supply equipment is identified as a photovoltaic power supply; the first preset threshold is greater than the second preset threshold.
In this embodiment, to determine whether the power supply device is a photovoltaic power supply, a first preset threshold is set for the first voltage variation value, so as to determine whether the input voltage at the power interface has a large variation in a first period of time. And setting a second preset threshold value for the second voltage change value to judge whether the input voltage at the power interface has a large change in a second time period.
And, considering that the target current value output by the maximum power tracking circuit in response to the second control signal is generally greater than 0A, when the power supply device is a photovoltaic power supply, the input voltage at the power interface will rebound to rise, but will not rebound completely to the open circuit voltage, and therefore the degree of change of the input voltage at the power interface in the second period is generally smaller than the degree of change of the input voltage at the power interface in the first period, and therefore the first preset threshold value of the first voltage change value is set to be greater than the second preset threshold value of the second voltage change value.
When the power supply device is a photovoltaic power supply, the input voltage at the power supply interface can change greatly in the first time period and the second time period, so that if the first voltage change value is larger than the first preset threshold value and the second voltage change value is larger than the second preset threshold value, the input voltage at the power supply interface is changed greatly in the first time period and is changed greatly in the second time period, and the power supply device is a photovoltaic power supply.
In an embodiment, after identifying the power supply device as a photovoltaic power supply, the method provided by the present application further includes:
tracking the maximum power point of the photovoltaic power supply based on the input voltage and the output current, and determining the maximum power point;
and controlling the electronic equipment to charge at the maximum power point.
In this embodiment, after identifying that the power supply device is a photovoltaic power supply, the electronic device tracks a maximum power point of the photovoltaic power supply according to a preset photovoltaic power supply charging algorithm based on an input voltage of a power interface and an output current of a maximum power tracking circuit, and determines the maximum power point of the photovoltaic power supply. The input voltage of the power interface is the output voltage of the maximum power tracking circuit.
And then when the maximum power point of the photovoltaic power supply output is tracked, controlling the electronic equipment to charge at the maximum power point.
With continued reference to fig. 2, in one embodiment, the electronic device, after identifying the power supply device as a photovoltaic power supply, tracks a maximum power point of the photovoltaic power supply, and determines at time t4 that the maximum power point of the photovoltaic power supply is reached. And then the electronic equipment is controlled to charge at the maximum power point from the time t 4.
In an embodiment, identifying the type of the power supply according to the first voltage variation value and the second voltage variation value further includes:
and when the first voltage change value is smaller than or equal to a first preset threshold value and/or the second voltage change value is smaller than or equal to a second preset threshold value, identifying the access power supply as a direct current stabilized power supply.
In this embodiment, considering that when the power supply device is a dc regulated power supply, the input voltage at the power supply interface is generally kept stable in both the first time period and the second time period, but because the voltage fluctuation possibly existing in the dc regulated power supply itself may cause the input voltage at the power supply interface to fluctuate, in the power supply device type identifying method, the first voltage variation value or the second voltage variation value at the power supply interface of the electronic device may be caused to satisfy the condition of judging the photovoltaic power supply, so long as at least one of the following conditions is satisfied, it may be judged that the power supply device is a dc regulated power supply—condition 1: "the first voltage variation value is equal to or smaller than the first preset threshold", condition 2: the second voltage variation value is equal to or less than a second preset threshold value.
In an embodiment, before generating the first control signal to the maximum power tracking circuit, the method further includes:
acquiring an input voltage value at a power interface;
if the input voltage value is within the preset range, executing the step of generating a first control signal to the maximum power tracking circuit.
In this embodiment, after detecting that the power supply device is connected to the power supply interface, the electronic device first obtains an input voltage value at the power supply interface, and then detects whether the input voltage value is within a preset range, so as to determine whether the input voltage value is normal.
If the input voltage value is within the preset range, which indicates that the positive and negative sides of the power supply device are not misplaced, or the power supply device is a corresponding type of interface (for example, the power supply device is determined to be an anderson interface), the input voltage value is normal, and the electronic device can be safely charged, the maximum power tracking circuit generating the first control signal controls the maximum power tracking circuit to increase the output current to the preset current threshold value in the following first time period.
In one embodiment, the method provided by the present application further comprises:
if the input voltage value is not in the preset range, generating a prompt signal; the prompt signal is used for prompting the abnormality of the power supply equipment.
In this embodiment, after detecting that the power supply device is connected to the power supply interface, if it is detected that the input voltage value at the power supply interface is not within the preset range, it is indicated that the positive and negative insertion of the power supply device is wrong, or the connection type of the power supply device is inconsistent, so that the input voltage value is abnormal, and the electronic device cannot be safely charged, a prompt signal for prompting that the power supply device is abnormal is generated, so as to prompt a user that the power supply device is abnormal, and there is a safety risk in continuously using the power supply device to charge the electronic device. The generated prompting signal can control the charging indicator lamp of the electronic equipment to flash in a red state, and can also control the electronic equipment to broadcast alarming voice.
In one embodiment, the method provided by the present application further comprises:
if the input voltage value is not in the preset range, generating a charge prohibiting instruction; the charge prohibition instruction is used for prohibiting the electronic device from being charged by power supply of the power interface.
In this embodiment, after detecting that the power supply device is connected to the power supply interface, if the input voltage value at the power supply interface is detected to be not within the preset range, it is indicated that the positive and negative insertion of the power supply device is wrong, the input voltage value is abnormal, and the electronic device cannot be safely charged, then a charging prohibition instruction is generated or the connection type of the power supply device is inconsistent, so that the electronic device is prohibited from being charged by using the power supply of the power supply interface, and thus the safety risk caused by continuous charging is avoided.
In one embodiment, the first control signal is used to control the operation of the maximum power tracking circuit, including: the first control signal is used for controlling the duty ratio of a switching tube in the maximum power tracking circuit to be gradually increased in a first time period, so that the output current of the maximum power tracking circuit is increased to a preset current threshold value in the first time period;
the second control signal is used for controlling the maximum power tracking circuit to work, and comprises the following steps: the second control signal is used for controlling the duty ratio of a switching tube in the maximum power tracking circuit to be a preset duty ratio so that the output current value of the maximum power tracking circuit is a target current value.
In this embodiment, a Buck-Boost (Buck-Boost) dc conversion circuit and a switching tube are provided in the maximum power tracking circuit, and the Buck-Boost dc conversion circuit controls the duty ratio of a driving signal driving the control terminal of the switching tube to control the magnitude of the output current. The larger the duty ratio of the driving signal is, the larger the output current of the maximum power tracking circuit is; conversely, the smaller the duty cycle of the drive signal, the smaller the output current of the maximum power tracking circuit.
After a first control signal generated by the electronic device is sent to the maximum power tracking circuit, the maximum power tracking circuit responds to the first control signal, and controls the duty ratio of a driving signal of the control end of the switching tube to be gradually increased in a first time period, so that the output current of the maximum power tracking circuit is gradually increased to a preset current threshold value in the first time period.
After the second control signal generated by the electronic device is sent to the maximum power tracking circuit, the maximum power tracking circuit responds to the second control signal, and controls the duty ratio of the driving signal at the control end of the switching tube to be a preset duty ratio, so that the output current of the maximum power tracking circuit is a target current value.
The application also provides an identification circuit of the power supply device, and the identification circuit is arranged in the electronic device. The identification circuit includes: a controller, a maximum power tracking circuit and a sampling circuit. The power interface of the electronic device is connected with the maximum power tracking circuit, and the power interface is used for being connected with the power device.
The sampling circuit is used for collecting an input voltage value of the power interface and transmitting the input voltage value to a controller in communication connection with the sampling circuit in real time. And the controller further identifies the type of power supply device according to the method provided by the application as set forth in the description above. Since various alternative implementations of the methods provided herein have been described in detail above, they are not described in detail herein.
Therefore, after the identification circuit of the power supply equipment is integrated, the electronic equipment can accurately identify the type of the power supply equipment without specially arranging other hardware components special for identifying the power supply equipment.
In contrast to the related art, there is also provided a way to identify a power supply device using a hardware terminal. Fig. 4 shows a schematic diagram of the related art for identifying a power supply device using a hardware terminal. Referring to fig. 4, in the related art, a hardware terminal is provided on a charging cable for charging an electronic device by a power supply device. When the charging cable is inserted into the electronic device, the level state of the charging circuit is judged by whether the metal iron sheet carried by the hardware terminal is in a pulled-up state (i.e. in a "1" position in fig. 1) or in a pulled-down state (i.e. in a "0" position in fig. 1), and then a signal describing the level state is input into the main control chip of the electronic device, so that the main control chip judges whether the power supply device is a direct-current stabilized power supply or a photovoltaic power supply according to the signal describing the level state.
It follows that this approach of the related art, which relies on the introduction of hardware terminals with metallic iron sheets in the charging cable in hardware for identifying the type of power supply device, adds undoubtedly to the hardware cost.
Compared with the related technology that the hardware terminal is used for identifying the type of the power supply equipment according to the state of the metal iron sheet, the identification circuit of the power supply equipment provided by the embodiment of the application can accurately identify the type of the power supply equipment without the help of the hardware terminal with the metal iron sheet, and the hardware cost is saved.
Fig. 5 shows a block diagram of an identification device 200 of a power supply apparatus according to an embodiment of the present application, the device being provided in an electronic apparatus, the electronic apparatus comprising a power supply interface and a maximum power tracking circuit; the power interface is connected with the maximum power tracking circuit; the power interface is used for being connected with power equipment; the device comprises:
the first generating module 210 is configured to generate a first control signal to the maximum power tracking circuit after detecting that the power supply device is connected to the power interface; the first control signal is used for controlling the maximum power tracking circuit to work so that the output current of the maximum power tracking circuit is increased to a preset current threshold value in a first time period;
a first obtaining module 220 configured to obtain a change value of the input voltage of the power interface in a first period of time, so as to obtain a first voltage change value;
a second generation module 230 configured to generate a second control signal to the maximum power tracking circuit when the duration of the first time period is reached; the second control signal is used for controlling the maximum power tracking circuit to work so that the output current value of the maximum power tracking circuit is a target current value, and the target current value is smaller than a preset current threshold;
a second obtaining module 240, configured to obtain a change value of the input voltage of the power interface in a second period of time from the generation of the second control signal, so as to obtain a second voltage change value;
The identification module 250 is configured to identify the type of the power supply device according to the first voltage variation value and the second voltage variation value.
In an exemplary embodiment of the present application, the identification module is configured to:
when the first voltage change value is larger than a first preset threshold value and the second voltage change value is larger than a second preset threshold value, the power supply equipment is identified as a photovoltaic power supply; the first preset threshold is greater than the second preset threshold.
In an exemplary embodiment of the present application, an apparatus is configured to:
tracking the maximum power point of the photovoltaic power supply based on the input voltage and the output current, and determining the maximum power point;
and controlling the electronic equipment to charge at the maximum power point.
In an exemplary embodiment of the present application, the identification module is configured to:
and when the first voltage change value is smaller than or equal to a first preset threshold value and/or the second voltage change value is smaller than or equal to a second preset threshold value, identifying the access power supply as a direct current stabilized power supply.
In an exemplary embodiment of the present application, an apparatus is configured to:
acquiring an input voltage value at a power interface;
if the input voltage value is within the preset range, executing the step of generating a first control signal to the maximum power tracking circuit.
In an exemplary embodiment of the present application, an apparatus is configured to:
if the input voltage value is not in the preset range, generating a prompt signal; the prompt signal is used for prompting the abnormality of the power supply equipment.
In an exemplary embodiment of the present application, an apparatus is configured to:
if the input voltage value is not in the preset range, generating a charge prohibiting instruction; the charge prohibition instruction is used for prohibiting the electronic device from being charged by power supply of the power interface.
In an exemplary embodiment of the present application, an apparatus is configured to:
the first control signal is used for controlling the duty ratio of a switching tube in the maximum power tracking circuit to be gradually increased in a first time period, so that the output current of the maximum power tracking circuit is increased to a preset current threshold value in the first time period;
the second control signal is used for controlling the duty ratio of a switching tube in the maximum power tracking circuit to be a preset duty ratio so that the output current value of the maximum power tracking circuit is a target current value.
The application also provides electronic equipment. The electronic device comprises a maximum power tracking circuit, a power interface, a sampling circuit, a controller and a memory.
The power interface is connected with the maximum power tracking circuit and also connected with the power supply equipment to receive the power supplied by the power supply equipment. The sampling circuit is used for sampling the input voltage at the power interface.
The memory stores a computer program executable by the controller. The computer program, when executed by the controller, implements the methods provided by the present application as set forth in the above description. Since various alternative implementations of the methods provided herein have been described in detail above, they are not described in detail herein.
The memory may include readable media in the form of volatile memory, such as Random Access Memory (RAM) and/or cache memory, and may further include Read Only Memory (ROM).
The memory may also include a program/utility having a set (at least one) of program modules including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The electronic device may also communicate with one or more external devices (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device, and/or with any device (e.g., router, modem, etc.) that enables the electronic device to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface. An input/output (I/O) interface is connected to the display unit.
And, the electronic device may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through a network adapter. The network adapter communicates with other modules of the electronic device via a bus. The bus may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
It should be appreciated that other hardware and/or software modules may be used in connection with an electronic device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present application.
In an exemplary embodiment of the present application, there is also provided a computer-readable storage medium having stored thereon computer-readable instructions, which, when executed by a processor of a computer, cause the computer to perform the method described in the method embodiment section above.
According to an embodiment of the present application, there is also provided a program product for implementing the method in the above method embodiments, which may employ a portable compact disc read only memory (CD-ROM) and comprise program code and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the various steps of the methods herein are depicted in the accompanying drawings in a particular order, this is not required to either suggest that the steps must be performed in that particular order, or that all of the illustrated steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.

Claims (10)

1. The identification method of the power supply equipment is characterized by being applied to the electronic equipment, wherein the electronic equipment comprises a power supply interface and a maximum power tracking circuit; the power interface is connected with the maximum power tracking circuit; the power interface is used for being connected with power equipment; the method comprises the following steps:
after detecting that the power supply equipment is connected to the power supply interface, generating a first control signal to the maximum power tracking circuit; the first control signal is used for controlling the maximum power tracking circuit to work so that the output current of the maximum power tracking circuit is increased to a preset current threshold value in a first time period;
Acquiring a change value of input voltage of the power interface in the first time period to obtain a first voltage change value;
generating a second control signal to the maximum power tracking circuit when the duration of the first time period is reached; the second control signal is used for controlling the maximum power tracking circuit to work so that the output current value of the maximum power tracking circuit is a target current value, and the target current value is smaller than the preset current threshold;
acquiring a change value of the input voltage of the power interface in a second time period from the generation of the second control signal, and obtaining a second voltage change value;
and identifying the type of the power supply equipment according to the first voltage variation value and the second voltage variation value.
2. The method of claim 1, wherein the identifying the type of the power device based on the first voltage variation value and the second voltage variation value comprises:
when the first voltage change value is larger than a first preset threshold value and the second voltage change value is larger than a second preset threshold value, the power supply equipment is identified as a photovoltaic power supply; the first preset threshold is greater than the second preset threshold.
3. The method of claim 2, wherein after identifying the power supply device as a photovoltaic power supply, the method further comprises:
tracking the maximum power point of the photovoltaic power supply based on the input voltage and the output current, and determining the maximum power point;
and controlling the electronic equipment to charge at the maximum power point.
4. The method of claim 2, wherein the identifying the type of the access power source based on the first voltage variation value and the second voltage variation value further comprises:
and when the first voltage change value is smaller than or equal to the first preset threshold value and/or the second voltage change value is smaller than or equal to the second preset threshold value, identifying the access power supply as a direct-current stabilized voltage supply.
5. The method of claim 1, wherein prior to generating the first control signal to the maximum power tracking circuit, the method further comprises:
acquiring an input voltage value at the power interface;
and if the input voltage value is within a preset range, executing the step of generating the first control signal to the maximum power tracking circuit.
6. The method of claim 5, wherein the method further comprises:
if the input voltage value is not in the preset range, generating a prompt signal; the prompting signal is used for prompting that the power supply equipment is abnormal.
7. The method of claim 5, wherein the method further comprises:
if the input voltage value is not in the preset range, generating a charge prohibiting instruction; the charge prohibition instruction is used for prohibiting the electronic equipment from being charged by using the power supply of the power interface.
8. The method of claim 1, wherein the first control signal is configured to control operation of the maximum power tracking circuit, comprising: the first control signal is used for controlling the duty ratio of a switching tube in the maximum power tracking circuit to be gradually increased in the first time period, so that the output current of the maximum power tracking circuit is increased to the preset current threshold value in the first time period;
the second control signal is used for controlling the maximum power tracking circuit to work, and comprises the following components: the second control signal is used for controlling the duty ratio of a switching tube in the maximum power tracking circuit to be a preset duty ratio, so that the output current value of the maximum power tracking circuit is a target current value.
9. An identification circuit of a power supply device, characterized by being provided in an electronic device, the identification circuit comprising: the system comprises a controller, a maximum power tracking circuit and a sampling circuit; the controller is in communication connection with the sampling circuit; the power interface of the electronic equipment is connected with the maximum power tracking circuit; the power interface is used for being connected with power equipment;
the sampling circuit is used for collecting the input voltage value of the power interface;
the controller is adapted to implement the method of any one of claims 1 to 8.
10. An electronic device is characterized by comprising a maximum power tracking circuit, a power interface, a sampling circuit, a controller and a memory; the power interface is connected with the maximum power tracking circuit; the power interface is used for being connected with power equipment; the sampling circuit is used for sampling the input voltage at the power interface; the memory stores a computer program executable by the controller; the computer program, when executed by the controller, implements the method of any one of claims 1 to 8.
CN202310365221.8A 2023-03-30 2023-03-30 Power supply equipment identification method, identification circuit and electronic equipment Pending CN116436122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310365221.8A CN116436122A (en) 2023-03-30 2023-03-30 Power supply equipment identification method, identification circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310365221.8A CN116436122A (en) 2023-03-30 2023-03-30 Power supply equipment identification method, identification circuit and electronic equipment

Publications (1)

Publication Number Publication Date
CN116436122A true CN116436122A (en) 2023-07-14

Family

ID=87084900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310365221.8A Pending CN116436122A (en) 2023-03-30 2023-03-30 Power supply equipment identification method, identification circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN116436122A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117614087A (en) * 2024-01-24 2024-02-27 大秦数字能源技术股份有限公司 Intelligent identification direct-current charging method, intelligent identification direct-current charging device, micro-control unit and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117614087A (en) * 2024-01-24 2024-02-27 大秦数字能源技术股份有限公司 Intelligent identification direct-current charging method, intelligent identification direct-current charging device, micro-control unit and medium
CN117614087B (en) * 2024-01-24 2024-04-05 大秦数字能源技术股份有限公司 Intelligent identification direct-current charging method, intelligent identification direct-current charging device, micro-control unit and medium

Similar Documents

Publication Publication Date Title
US10601238B2 (en) Charging apparatus and charging control circuit thereof and charging control method
US10189367B2 (en) Electric vehicle quick charge control apparatus
CN107472028B (en) Method and system for controlling charging device of vehicle
CN116670958A (en) Photovoltaic power generation system, power control device and energy storage system
CN110949183B (en) Direct current charging heating control method, device, circuit, vehicle and storage medium
US9748866B2 (en) Power conversion apparatus and control method for power conversion apparatus when an instantaneous voltage drop has occurred in a power system
CN116436122A (en) Power supply equipment identification method, identification circuit and electronic equipment
CN104716750A (en) Low-energy-consumption wireless power supply method and relevant device and system
CN115714419A (en) Photovoltaic charging control method, device and system
KR100641127B1 (en) Output power control apparatus for fuel cell system
EP3828560A1 (en) Direct current electric appliance control method and direct current electric appliance
US20180301928A1 (en) Power storage system and power storage method
US20080116854A1 (en) Current control in rechargeable electronic devices
JP2019193317A (en) Power storage system, charge/discharge control device, control method thereof, and program
KR100664090B1 (en) Power converting control apparatus and method for line conection type fuel cell system
US20120212189A1 (en) System and method for electronic device charging
CN115765131A (en) Charging device and charging control method
JP2018057213A (en) Power conversion system and power conversion equipment
CN105406554A (en) Charge control method and charge control device
WO2019127022A1 (en) Optimizer, photovoltaic power generation system and photovoltaic power generation control method
CN113690962B (en) MPPT control method, device, equipment and storage medium for different input sources
US11522380B2 (en) Power storage apparatus with voltage stepping-up/down bi-directional converter
JP2018196245A (en) DC power supply system
CN114475248A (en) Vehicle control device, control method, non-transitory storage medium, and vehicle
US20140176081A1 (en) Boost control method and system for boost converter

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