CN115776105A - Current control method, device, computer equipment and storage medium - Google Patents

Current control method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN115776105A
CN115776105A CN202310103570.2A CN202310103570A CN115776105A CN 115776105 A CN115776105 A CN 115776105A CN 202310103570 A CN202310103570 A CN 202310103570A CN 115776105 A CN115776105 A CN 115776105A
Authority
CN
China
Prior art keywords
power supply
supply module
current information
abnormal
time
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.)
Granted
Application number
CN202310103570.2A
Other languages
Chinese (zh)
Other versions
CN115776105B (en
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.)
China Southern Power Grid Industry Investment Group Co ltd
Yonglian Technology Changshu Co ltd
Electric Vehicle Service of Southern Power Grid Co Ltd
Original Assignee
Yonglian Smart Energy Technology Changshu Co ltd
China Southern Power Grid Industry Investment Group Co ltd
Electric Vehicle Service of Southern Power Grid 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 Yonglian Smart Energy Technology Changshu Co ltd, China Southern Power Grid Industry Investment Group Co ltd, Electric Vehicle Service of Southern Power Grid Co Ltd filed Critical Yonglian Smart Energy Technology Changshu Co ltd
Priority to CN202310103570.2A priority Critical patent/CN115776105B/en
Publication of CN115776105A publication Critical patent/CN115776105A/en
Application granted granted Critical
Publication of CN115776105B publication Critical patent/CN115776105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Power Sources (AREA)

Abstract

The application relates to a current control method, a current control device, computer equipment and a storage medium. The method comprises the following steps: under the condition that the communication abnormality of any power supply module in at least one power supply module is monitored, determining the power supply module with the abnormal communication as an abnormal power supply module; determining a first moment and first current information of the abnormal power supply module during last normal communication, and acquiring total current information required by a power supply object of at least one power supply module at a second moment; and under the condition that the difference value between the second moment and the first moment meets a preset condition, determining second current information for supplying power to the power supply object at the second moment by the normal power supply module according to the total current information and the first current information. By adopting the method, the current can not be suddenly changed, and the stability of the power supply system is improved.

Description

Current control method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of power electronics technologies, and in particular, to a current control method and apparatus, a computer device, and a storage medium.
Background
At present, the control technology of power electronics is commonly applied in various industries, and in a power supply system, an alternating current/direct current (AC/DC) converter or a direct current/direct current (DC/DC) converter is generally called as a power supply module, and a plurality of power supply modules are connected in parallel, so that the high-power requirement of a power supply object can be met.
In the prior art, monitoring is usually set in a power supply system, the monitoring is connected with each power supply module, and a control instruction is sent to each power supply module, when a communication fault occurs in a power supply module, the power supply module needs a certain time to judge and monitor that the communication fault occurs, and after the fault is judged, the power supply module stops outputting voltage and current and shuts down. During the period from communication failure of the power supply module due to external reasons to output shutdown of the power supply module, the power supply module outputs the voltage and current required by last monitoring, and at the moment, if the current demand of a power supply object changes, the current is not controlled.
Therefore, the current is not controlled in the current power supply technology.
Disclosure of Invention
In view of the above, it is necessary to provide a current control method, an apparatus, a computer device, a computer readable storage medium, and a computer program product capable of avoiding current uncontrolled.
In a first aspect, the present application provides a current control method. The method comprises the following steps:
under the condition that the communication abnormality of any power supply module in at least one power supply module is monitored, determining the power supply module with the abnormal communication as an abnormal power supply module;
determining a first moment and first current information of the abnormal power supply module during last normal communication, and acquiring total current information required by a power supply object of at least one power supply module at a second moment; the second time is later than the first time;
under the condition that the difference value between the second moment and the first moment meets a preset condition, determining second current information for supplying power to the power supply object at the second moment by a normal power supply module according to the total current information and the first current information; the normal power supply module is a power supply module of the at least one power supply module except the abnormal power supply module.
In one embodiment, after determining, according to the total current information and the first current information, second current information that a normal power supply module supplies power to the power supply object at the second time, the method further includes:
and taking the first current information as third current information for the abnormal power supply module to supply power to the power supply object at the second moment.
In one embodiment, the method further comprises:
acquiring preset current information of the abnormal power supply module under the condition that the difference value between the second moment and the first moment does not accord with the preset condition;
and taking the preset current information as fourth current information for the abnormal power supply module to supply power to the power supply object at the second moment.
In one embodiment, after the preset current information is used as fourth current information for the abnormal power supply module to supply power to the power supply object at the second time, the method further includes:
and determining fifth current information for supplying power to the power supply object by the normal power supply module at the second moment according to the total current information and the fourth current information.
In one embodiment, in the case that communication abnormality of any power supply module in the at least one power supply module is monitored, before determining the power supply module with the abnormal communication as an abnormal power supply module, the method further includes:
sending a monitoring message to a target power supply module of the at least one power supply module;
and if the feedback message of the target power supply module aiming at the monitoring message is not received within the preset time length, judging that the communication of the target power supply module is abnormal.
In one embodiment, the preset condition includes that a difference between the second time and the first time is less than or equal to a duration threshold; the method further comprises the following steps:
determining the time length threshold value according to the preset time length; the time length threshold value is larger than the preset time length.
In one embodiment, in the case that a communication abnormality of any power supply module of the at least one power supply module is monitored, before determining the power supply module with the communication abnormality as an abnormal power supply module, the method further includes:
and determining the first current information according to the total current information required by the power supply object at the first moment and the number of the at least one power supply module.
In a second aspect, the present application further provides a current control device. The device comprises:
the monitoring module is used for determining a power supply module with abnormal communication as an abnormal power supply module under the condition that the communication of any power supply module in at least one power supply module is monitored to be abnormal;
the determining module is used for determining first time and first current information of the abnormal power supply module in the last normal communication and acquiring total current information required by a power supply object of the at least one power supply module at second time; the second time is later than the first time;
the control module is used for determining second current information for supplying power to the power supply object at the second moment by the normal power supply module according to the total current information and the first current information under the condition that the difference value between the second moment and the first moment meets a preset condition; the normal power supply module is a power supply module of the at least one power supply module except the abnormal power supply module.
In a third aspect, the application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the following steps when executing the computer program:
under the condition that the communication of any power supply module in at least one power supply module is monitored to be abnormal, determining the power supply module with the abnormal communication as an abnormal power supply module;
determining a first moment and first current information of the abnormal power supply module during last normal communication, and acquiring total current information required by a power supply object of at least one power supply module at a second moment; the second time is later than the first time;
under the condition that the difference value between the second moment and the first moment meets a preset condition, determining second current information for supplying power to the power supply object at the second moment by a normal power supply module according to the total current information and the first current information; the normal power supply module is a power supply module of the at least one power supply module except the abnormal power supply module.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
under the condition that the communication abnormality of any power supply module in at least one power supply module is monitored, determining the power supply module with the abnormal communication as an abnormal power supply module;
determining a first moment and first current information of the abnormal power supply module during last normal communication, and acquiring total current information required by a power supply object of at least one power supply module at a second moment; the second time is later than the first time;
under the condition that the difference value between the second moment and the first moment meets a preset condition, determining second current information for supplying power to the power supply object at the second moment by a normal power supply module according to the total current information and the first current information; the normal power supply module is a power supply module of the at least one power supply module except the abnormal power supply module.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which when executed by a processor performs the steps of:
under the condition that the communication abnormality of any power supply module in at least one power supply module is monitored, determining the power supply module with the abnormal communication as an abnormal power supply module;
determining a first moment and first current information of the abnormal power supply module during last normal communication, and acquiring total current information required by a power supply object of at least one power supply module at a second moment; the second time is later than the first time;
under the condition that the difference value between the second moment and the first moment meets a preset condition, determining second current information for supplying power to the power supply object at the second moment by a normal power supply module according to the total current information and the first current information; the normal power supply module is a power supply module of the at least one power supply module except the abnormal power supply module.
According to the current control method, the device, the computer equipment, the storage medium and the computer program product, under the condition that the communication abnormality of any power supply module in at least one power supply module is monitored, the power supply module with the abnormal communication is determined as the abnormal power supply module, the first time and the first current information of the abnormal power supply module during the last normal communication are determined, the total current information required by the power supply object of at least one power supply module at the second time is obtained, and under the condition that the difference value between the second time and the first time meets the preset condition, the second current information for supplying power to the power supply object by the normal power supply module at the second time is determined according to the total current information and the first current information; the output current of the normal power supply module can be determined according to the requirement of the power supply object and the output current of the abnormal power supply module within a period of time from the communication abnormality of the power supply module to the output shutdown of the power supply module, so that the current for supplying power to the power supply object by the power supply system is not changed suddenly, and the stability of the power supply system is improved.
Drawings
FIG. 1 is a diagram of an exemplary implementation of a current control method;
FIG. 2 is a flow diagram illustrating a method for current control according to one embodiment;
FIG. 3 is a diagram of a duration threshold in one embodiment;
FIG. 4 is a schematic illustration of a duration threshold in another embodiment;
FIG. 5 is a flow chart illustrating a method of current control in another embodiment;
FIG. 6 is a flow chart illustrating a method for controlling current in case of system abnormality in one embodiment;
FIG. 7 is a block diagram showing the structure of a current control device according to an embodiment;
FIG. 8 is a diagram of an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The current control method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. The power supply object 130 is an object charged by a plurality of power supply modules, and may be but not limited to various automobiles, mobile phones, radios, etc., the power supply system 100 may be but not limited to various charging post systems, the power supply system 100 includes a monitoring module 110 and at least one power supply module 120, wherein the monitoring module 110 may be but not limited to various monitors, a personal computer, a notebook computer, a smart phone, a tablet computer, an internet of things device, and a portable wearable device, the internet of things device may be a smart speaker, a smart television, a smart air conditioner, a smart vehicle-mounted device, etc., the portable wearable device may be a smart watch, a smart bracelet, a head-mounted device, etc., and the power supply module 120 may be but not limited to various AC/DC converters and DC/DC converters. The power supply system 100 is connected to the power supply object 130 to charge the power supply object 130, and the power supply system 100 is further connected to the cloud to upload various monitored data to the cloud, so that the cloud monitors and controls the power supply system 100.
The monitoring module 110 responds to the charging requirement of the power supply object 130, the processed current information required by the power supply object 130 is sent to each power supply module 120, the power supply module 120 supplies power to the power supply object 130 according to the received current information, when the communication interruption occurs between the power supply module 120 and the monitoring module 110, the power supply module 120 needs a certain time to judge that the communication interruption occurs with the monitoring module 110, and in the period from the communication interruption occurring at the power supply module 120 to the output shutdown of the power supply module 120, the monitoring module 110 distributes current to each power supply module according to the current information required by the power supply object 130, including an abnormal power supply module and a normal power supply module, and the steady-state output of the current is realized.
In one embodiment, as shown in fig. 2, a current control method is provided, which is exemplified by the method applied to the monitoring module 110 in fig. 1, and includes the following steps:
step S210, when it is monitored that any power supply module in the at least one power supply module is abnormal in communication, determining the power supply module with abnormal communication as an abnormal power supply module.
The abnormal power supply module can be a power supply module with abnormal communication.
In specific implementation, the monitoring module may send a monitoring message to any power supply module in the at least one power supply module, and if feedback information of the power supply module for the monitoring message is received within a preset time period, it is determined that the power supply module is in normal communication, and the power supply module is determined to be a normal power supply module; otherwise, if the feedback information of the power supply module for the monitoring message is not received within the preset time, judging that the power supply module is abnormal in communication, and determining the power supply module as an abnormal power supply module.
In practical application, the number of the power supply modules is set to be N, and the power supply modules are used by N i (i =1, \ 8230;, N) indicates that the power supply object is denoted by m, and the monitoring module may be provided in the power supply module N i Under the condition that no communication abnormity occurs, command information is issued to each power supply module in real time or periodically, the command information can comprise current information, each power supply module supplies power to a power supply object m according to the received current information, the command information can also comprise a monitoring message, and within a preset time length delta, if the monitoring module receives the power supply module n 1 But does not receive the power supply module n 2 Can then determine the power supply module n 1 For normal power supply module, power supply module n 2 And the power supply module is abnormal.
The monitoring message may be a message of a data unit exchanged and transmitted in the power supply system network, that is, a message of a data block sent at a time, and for example, may be a message of data such as a source IP address and a destination IP address.
The current information may be determined according to the total current required by the power supply object and the number of power supply modules. Specifically, the current information may be a total current required to power the object divided by the number of power modules. For example, if the total current required for the power supply target is 100mA and the number of power supply modules is 5, the current information may be 100mA/5=20ma.
Step S220, determining a first moment and first current information of an abnormal power supply module during last normal communication, and acquiring total current information required by a power supply object of at least one power supply module at a second moment; the second time is later than the first time.
The first time may be the time of the last normal communication of the abnormal power supply module.
The first current information may be current information issued by the monitoring module when the abnormal power supply module performs normal communication for the last time, where the current information may include a current value and/or a voltage value.
The second time may be any time after the first time.
The total current information may be information of a total current required by the power supply object at the second time.
In specific implementation, the monitoring module may send command information to any power supply module in at least one power supply module in real time or periodically, where the command information may include current information and a monitoring message, and if the monitoring module does not receive feedback information of the power supply module for the monitoring message in the command information within a preset time period, the monitoring module determines that the power supply module is an abnormal power supply module, determines a time when the monitoring module sends the command information last time as a first time, and determines current information sent by the monitoring module to the abnormal power supply module at the first time as the first current information. The monitoring module may further determine any time after the first time as the second time. Since the total current information required by the power supply object may change with the passage of time, based on this, the total current information required by the power supply object may be acquired at the second timing.
In practical application, assume the starting time t 0 The monitoring module supplies power to the N power supply modules N by taking delta as a period i (i =1, \8230;, N) sending command information, at t 0 At time + k Δ (k is a periodic coefficient), the monitoring module supplies power to the power supply module n 2 Sending command information, but not receiving feedback information, and judging the power supply module n 2 For an abnormal power supply module, t can be set 0 + k Δ is determined as the first time, t 0 + k delta time power supply module n 2 The current value and/or voltage value provided to the power supply object is determined as the first current information I _ last, and may also be in the interval [ t [ t ] ] 0 + delta, infinity) is selected as the second time t 2 And obtaining a second time t 2 Total current information I _ req required to power the object.
Step S230, under the condition that the difference value between the second moment and the first moment meets the preset condition, determining second current information for the normal power supply module to supply power to the power supply object at the second moment according to the total current information and the first current information; the normal power supply module is a power supply module except for the abnormal power supply module in at least one power supply module.
The preset condition may be that a difference between the second time and the first time is less than or equal to a duration threshold.
The normal power supply module can be a power supply module with normal communication.
The second current information may be current information that is sent to the normal power supply module by the monitoring module at the second time.
In specific implementation, a duration threshold may be predetermined, a difference between the second time and the first time is calculated, the obtained difference is compared with the duration threshold, if the difference is less than or equal to the duration threshold, the first current information may be subtracted from the total current information to obtain current information of all the normal power supply modules for supplying power to the power supply object at the second time, and the current information is divided by the number of the normal power supply modules to obtain second current information.
In practical application, when the first current information is I _ last, the total current information is I _ req, the number of the power supply modules is N, and the number of the abnormal power supply modules is 1, the number of the normal power supply modules is N-1, and the total current for the normal power supply modules to supply power to the power supply object is I _ req-I _ last, so that it can be obtained that each normal power supply module supplies power at the second time t 2 The second current information for supplying power to the power supply object is (I _ req-I _ last)/(N-1).
According to the current control method, under the condition that communication abnormality of any power supply module in at least one power supply module is monitored, the power supply module with the abnormal communication is determined as an abnormal power supply module, a first time and first current information of the abnormal power supply module during last normal communication are determined, total current information required by a power supply object of at least one power supply module at a second time is obtained, and under the condition that a difference value between the second time and the first time meets a preset condition, second current information for supplying power to the power supply object by a normal power supply module at the second time is determined according to the total current information and the first current information; the output current of the normal power supply module can be determined according to the requirement of the power supply object and the output current of the abnormal power supply module within a period of time from the communication abnormality of the power supply module to the output stop of the power supply module, so that the current for supplying power to the power supply object by the power supply system is not suddenly changed, and the stability of the power supply system is improved.
In an embodiment, after the step S230, the method may further include: and the first current information is used as third current information for supplying power to the power supply object at the second moment by the abnormal power supply module.
The third current information may be current information that is sent to the abnormal power supply module by the monitoring module at the second moment.
In a specific implementation, if the difference between the second time and the first time is less than or equal to the duration threshold, the first current information may be used as third current information for the abnormal power supply module to supply power to the power supply object at the second time.
In practical application, when the first current information is I _ last, the total current information is I _ req, the number of the power supply modules is N, and the number of the abnormal power supply modules is 1, the first current information I _ last may be used as third current information for the abnormal power supply module to supply power to the power supply object at the second time.
In this embodiment, by using the first current information as the third current information for the abnormal power supply module to supply power to the power supply object at the second time, after a communication abnormality occurs, and under the condition that the accumulated time length is less than or equal to the time length threshold, the first current information can be directly determined as the current information of the abnormal power supply module at the second time, so as to reasonably determine the power supply current of the abnormal power supply module at the second time, and improve the stability of the power supply system.
In an embodiment, the current control method may further include: acquiring preset current information of the abnormal power supply module under the condition that the difference value between the second moment and the first moment does not accord with a preset condition; and the preset current information is used as fourth current information for supplying power to the power supply object at the second moment by the abnormal power supply module.
The preset current information may be current information which is pre-stored according to different power supply objects and issued after the abnormal power supply module is stopped in output. For example, the predetermined current information may be 0, I _ last, and custom values.
The fourth current information may be current information that is issued by the monitoring module to the abnormal power supply module at the second time when the difference between the second time and the first time is greater than the duration threshold.
In a specific implementation, the monitoring module may obtain pre-stored preset current information when the difference between the second time and the first time is greater than the duration threshold, and directly determine the preset current information as fourth current information for the abnormal power supply module to supply power to the power supply object at the second time. The preset current information may be stored locally or in a cloud, which is not limited in this application.
In practical application, under the condition that the preset current information is 0, the fourth current information for supplying power to the power supply object by the abnormal power supply module at the second moment is 0. And under the condition that the preset current information is I _ last, the fourth current information for supplying power to the power supply object by the abnormal power supply module at the second moment is I _ last. Under the condition that the preset current information is the custom value, the fourth current information for supplying power to the power supply object by the abnormal power supply module at the second moment is the corresponding custom value, which can be represented as 0.05mA and 1mA, and is stored in advance according to different target objects, which is not limited in the application.
In the embodiment, the preset current information of the abnormal power supply module is obtained under the condition that the difference value between the second moment and the first moment does not accord with the preset condition; the preset current information is used as fourth current information for supplying power to the power supply object at the second moment by the abnormal power supply module, after communication abnormality occurs, the preset current information can be directly determined as the current information of the abnormal power supply module at the second moment under the condition that the accumulated time is greater than the time threshold, the power supply current of the abnormal power supply module at the second moment can be reasonably determined, and the stability of a power supply system is improved.
In an embodiment, after the preset current information is used as fourth current information for the abnormal power supply module to supply power to the power supply object at the second time, the method may specifically further include: and determining fifth current information for supplying power to the power supply object by the normal power supply module at the second moment according to the total current information and the fourth current information.
The fifth current information may be current information that is issued by the monitoring module to the normal power supply module at the second time when the difference between the second time and the first time is greater than the duration threshold.
In specific implementation, when the difference between the second time and the first time is greater than the duration threshold, the monitoring module may obtain total current information required by the power supply object at the second time, subtract fourth current information for the abnormal power supply module to supply power to the power supply object at the second time from the total current information, obtain current information for all normal power supply modules to supply power to the power supply object at the second time, and divide the current information by the number of the normal power supply modules to obtain fifth current information.
In practical application, when the fourth current information is 0 and the number of the abnormal power supply modules is 1, the fifth current information for the normal power supply module to supply power to the power supply object at the second moment is I _ req/(N-1); when the fourth current information is I-last and the number of the first power supply modules is 1, the fifth current information for the normal power supply module to supply power to the power supply object at the second moment is (I _ req-I _ last)/(N-1); when the fourth current information is a custom value, which may be represented as 1mA, for example, the fifth current information at which the normal power supply module supplies power to the power supply object at the second time is (I _ req-1)/(N-1).
In this embodiment, by determining the fifth current information that the normal power supply module supplies power to the power supply object at the second time according to the total current information and the fourth current information, after a communication abnormality occurs, in a case that the accumulated duration is greater than the duration threshold, the fifth current information may be determined according to the total current information and the fourth current information, and when a demand of the power supply object is met, the power supply current of the normal power supply module at the second time is reasonably determined, so that the stability of the power supply system is improved
In an embodiment, before the step S210, the method may further include: sending a monitoring message to a target power supply module in at least one power supply module; and if the feedback message of the target power supply module aiming at the monitoring message is not received within the preset time length, judging that the communication of the target power supply module is abnormal.
The target power supply module may be any one of a plurality of power supply modules.
The preset duration may be a duration determined based on a feedback duration of the monitoring message.
In the specific implementation, the monitoring module counts the time from sending the monitoring message to the power supply module to receiving the feedback message of the power supply module for many times when the communication is normal, so as to obtain the counted time, determines the preset time according to the counted time, wherein the preset time is greater than the highest value of the counted time, and determines that the communication abnormality occurs in the target power supply module when the feedback message of the target power supply module aiming at the monitoring message is not received in the preset time.
For example, the monitoring module counts the time length from sending the monitoring message to the power supply module to receiving the feedback message of the power supply module 4 times when the communication is normal, the obtained counted time lengths are respectively the time length for receiving the feedback message 1 st time is 1.0s, the time length for receiving the feedback message 2 nd time is 0.8s, the time length for receiving the feedback message 3 rd time is 1.1s, and the time length for receiving the feedback message 4 th time is 0.9s, and the predetermined time length is determined according to the counted time length, and is greater than the highest value 1.1s, specifically, 2s and 3s of the counted time length, which is not limited in the present application.
In this embodiment, a monitoring message is sent to a target power supply module in at least one power supply module; if the feedback message of the target power supply module aiming at the monitoring message is not received within the preset time length, the communication abnormity of the target power supply module is judged, the communication condition of the power supply module can be monitored in real time, and the power supply module which is possibly abnormal is timely processed.
In one embodiment, the preset condition includes that a difference between the second time and the first time is less than or equal to a duration threshold; the current control method may further include: determining a time length threshold value according to preset time length; the duration threshold is greater than a preset duration.
In particular implementations, FIG. 3 provides a schematic illustration of a duration threshold. According to fig. 3, the duration threshold may be a multiple of the preset duration, and the duration threshold is determined according to the multiple of the preset duration, for example, when the preset duration is 1s, the duration threshold may be 3 times or 4 times of the preset duration, and the application is not limited herein, and the duration threshold may be represented as 3s or 4s.
Fig. 4 provides a schematic illustration of another duration threshold. According to fig. 3, the time for the power supply module to judge the communication timeout with the monitoring module may also be set to T _ timeout, the communication command cycle time of the monitoring module and the power supply module is set to T _ circle, and the time for the power supply module to receive the response is set to T _ rcv, so that the duration threshold T _ all = T _ timeout + T _ circle + T _ rcv.
In this embodiment, by determining the duration threshold according to the preset duration, the current information issued to the normal power supply module and the abnormal power supply module can be determined by comparing the difference between the second time and the first time with the duration threshold, so as to improve the efficiency of current control.
In an embodiment, before the step S210, the method may further include: and determining first current information according to the total current information required by the power supply object at the first moment and the number of the at least one power supply module.
In the specific implementation, when each power supply module is in normal communication, the total current information required by the power supply object can be obtained in real time based on the consideration that the total current information required by the power supply object changes along with the time, because the first moment is the moment of the last normal communication of the abnormal power supply module, and the current sent by the monitoring module to each power supply module is consistent during the normal communication, the total current information required by the power supply object at the first moment can be divided by the number of the power supply modules, and the first current information sent by the monitoring module to each power supply module is obtained.
For example, when the communication is normal, if the number of power supply modules is N and the total current information required for the power supply target is I _ req, the first current information is I _ req/N.
In this embodiment, the first current information is determined according to the total current information required by the power supply object at the first moment and the number of the at least one power supply module, so that the first current information can be determined quickly, and the efficiency of current control is further improved.
In one embodiment, as shown in fig. 5, a current control method is provided, which is described by taking the method as an example applied to the monitoring module in fig. 1, and includes the following steps:
step S310, sending a monitoring message to a target power supply module in at least one power supply module;
step S320, if a feedback message of the target power supply module aiming at the monitoring message is not received within a preset time length, judging that the communication of the target power supply module is abnormal;
step S330, under the condition that the communication abnormality of any power supply module in at least one power supply module is monitored, determining the power supply module with the abnormal communication as an abnormal power supply module;
step S340, determining a first time and first current information of an abnormal power supply module during last normal communication, and acquiring total current information required by a power supply object of at least one power supply module at a second time; the second time is later than the first time;
step S350, under the condition that the difference value between the second moment and the first moment meets the preset condition, according to the total current information and the first current information, determining second current information for the normal power supply module to supply power to the power supply object at the second moment, and taking the first current information as third current information for the abnormal power supply module to supply power to the power supply object at the second moment;
step S360, when the difference value between the second moment and the first moment does not accord with the preset condition, acquiring the preset current information of the abnormal power supply module, using the preset current information as fourth current information for the abnormal power supply module to supply power to the power supply object at the second moment, and determining fifth current information for the normal power supply module to supply power to the power supply object at the second moment according to the total current information and the fourth current information.
Since the specific processing procedure of the monitoring module has been described in detail in the foregoing embodiments, it is not described herein again.
The current control method comprises the steps of sending a monitoring message to a target power supply module in at least one power supply module, if a feedback message of the target power supply module aiming at the monitoring message is not received within a preset time length, judging that the communication of the target power supply module is abnormal, determining the power supply module with abnormal communication as an abnormal power supply module under the condition that the communication of any power supply module in the at least one power supply module is abnormal, determining a first time and first current information of the abnormal power supply module during last normal communication, obtaining total current information required by a power supply object of the at least one power supply module at a second time, determining second current information of the normal power supply module for supplying power to the power supply object at the second time according to the total current information and the first current information under the condition that a difference value between the second time and the first time meets a preset condition, obtaining the preset current information of the abnormal power supply module under the condition that the difference value between the second time and the first time does not meet the preset condition, taking the first current information as third current information of the abnormal power supply module for supplying power to the power supply object at the second time, and determining the fourth current information of the abnormal power supply module according to the total current information of the fourth power supply object; under the condition that any one of the power supply modules is abnormal in communication, the corresponding current can be sent to the normal power supply module and the abnormal power supply module from the first moment to any moment after the abnormal communication occurs according to different time, and the stability of the power supply system is guaranteed.
To facilitate a thorough understanding of the embodiments of the present application by those skilled in the art, the following description will be given with reference to a specific example.
Fig. 6 provides a flow chart of a current control method in case of system abnormality. According to fig. 6, when a communication fault occurs in a power supply system of one or more power supply modules, the current control method can backup and accurately control the current in the communication fault occurrence stage and after the communication fault occurrence stage, so that the current is not suddenly changed and is stably output.
Taking the current in the constant current control mode of the charging pile as an example: the time of the module for judging and monitoring the communication timeout is T _ timeout, the communication command cycle time of the module for monitoring is T _ circle, the receiving response time of the power supply module is T _ rcv, the number of the power supply modules is N, the current required by the vehicle is I _ req, and the current information sent to the module last time is recorded in real time by the monitoring program as I _ last. Let T _ all = T _ timeout + T _ circle + T _ rcv, the real-time from when the monitor reads the module message of the last normal communication until T _ all is T _ run, as shown in fig. 4.
When the power supply system generates abnormal communication of the power supply module, the monitoring program starts to judge the change of the required current in real time:
when the communication is normal, the currents sent to each power supply module are consistent and are I _ req/N;
when the communication is abnormal, in the stage of T _ run < T _ all,
the down current to the abnormal power supply module is I _ rm = I _ last,
the down-current to the normal power supply module is I _ rm = (I _ req-I _ last)/(N-1);
when the communication is abnormal, in the stage of T _ run > T _ all,
delivering current to the abnormal power supply module to be I _ rm =0,
and delivering current to a normal power supply module, wherein the current is I _ rm = I _ req 2/(N-1).
In summary, the current control method for system abnormality provided by the present application specifically includes the following steps:
1. recording I _ last in real time;
2. calculating the section to which the T _ run belongs in real time;
3. controlling the system current according to the actual running condition of the T _ run;
4. and finally, the output current is stably controlled.
It should be noted that the above embodiments only take the constant current control method of the charging pile as an example, and the present application is also applicable to current control in voltage protection, non-constant current mode, and other fields of power electronics.
The current control method during system abnormity can record information before the power supply system is abnormal, carry out accurate current control after the abnormity occurs, effectively control the output current of the power supply system during communication abnormity within a required range, and improve the accuracy of current output of the power supply system and the stability of the power supply system.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a current control device for implementing the above-mentioned current control method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so specific limitations in one or more embodiments of the current control device provided below can be referred to the limitations of the current control method in the above, and are not described again here.
In one embodiment, as shown in fig. 7, there is provided a current control device including: a monitoring module 410, a determination module 420, and a control module 430, wherein:
the monitoring module 410 is configured to determine a power supply module with abnormal communication as an abnormal power supply module when communication abnormality of any power supply module in the at least one power supply module is monitored;
a determining module 420, configured to determine a first time and first current information of the abnormal power supply module during the last normal communication, and obtain total current information required by a power supply object of the at least one power supply module at a second time; the second time is later than the first time;
the control module 430 is configured to determine, according to the total current information and the first current information, second current information for the normal power supply module to supply power to the power supply object at the second time when a difference between the second time and the first time meets a preset condition; the normal power supply module is a power supply module of the at least one power supply module except the abnormal power supply module.
In one embodiment, the current control apparatus further includes:
and the third current information determining module is used for taking the first current information as third current information for supplying power to the power supply object at the second moment by the abnormal power supply module.
In one embodiment, the current control device further includes:
the preset current information acquisition module is used for acquiring the preset current information of the abnormal power supply module under the condition that the difference value between the second moment and the first moment does not accord with the preset condition;
and the fourth current information determining module is used for taking the preset current information as fourth current information for the abnormal power supply module to supply power to the power supply object at the second moment.
In one embodiment, the current control device further includes:
and the fifth current information determining module is used for determining fifth current information for supplying power to the power supply object at the second moment by the normal power supply module according to the total current information and the fourth current information.
In one embodiment, the current control apparatus further includes:
the monitoring message sending module is used for sending a monitoring message to a target power supply module in the at least one power supply module;
and the communication abnormity judging module is used for judging that the communication of the target power supply module is abnormal if a feedback message of the target power supply module aiming at the monitoring message is not received within a preset time length.
In one embodiment, the current control apparatus further includes:
the time length threshold value determining module is used for determining the time length threshold value according to the preset time length; the time length threshold value is larger than the preset time length.
In one embodiment, the current control apparatus further includes:
the first current information determining module is configured to determine the first current information according to total current information required by the power supply object at the first time and the number of the at least one power supply module.
The respective modules in the above current control apparatus may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 8. The computer apparatus includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input device. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile 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 input/output interface of the computer device is used for exchanging information between the processor and an external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a current control method. The display unit of the computer device is used for forming a visual visible picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the relevant laws and regulations and standards of the relevant country and region.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include a Read-Only Memory (ROM), a magnetic tape, a floppy disk, a flash Memory, an optical Memory, a high-density embedded nonvolatile Memory, a resistive Random Access Memory (ReRAM), a Magnetic Random Access Memory (MRAM), a Ferroelectric Random Access Memory (FRAM), a Phase Change Memory (PCM), a graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, the RAM may take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method of current control, the method comprising:
under the condition that the communication of any power supply module in at least one power supply module is monitored to be abnormal, determining the power supply module with the abnormal communication as an abnormal power supply module;
determining a first moment and first current information of the abnormal power supply module during last normal communication, and acquiring total current information required by a power supply object of at least one power supply module at a second moment; the second time is later than the first time;
under the condition that the difference value between the second moment and the first moment meets a preset condition, determining second current information for supplying power to the power supply object at the second moment by a normal power supply module according to the total current information and the first current information; the normal power supply module is a power supply module of the at least one power supply module except the abnormal power supply module.
2. The method according to claim 1, wherein after determining second current information that a normal power supply module supplies power to the power supply object at the second time according to the total current information and the first current information, the method further comprises:
and taking the first current information as third current information for the abnormal power supply module to supply power to the power supply object at the second moment.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring preset current information of the abnormal power supply module under the condition that the difference value between the second moment and the first moment does not accord with the preset condition;
and taking the preset current information as fourth current information for the abnormal power supply module to supply power to the power supply object at the second moment.
4. The method according to claim 3, wherein after the preset current information is used as fourth current information for the abnormal power supply module to supply power to the power supply object at the second time, the method further comprises:
and determining fifth current information for the normal power supply module to supply power to the power supply object at the second moment according to the total current information and the fourth current information.
5. The method according to claim 1, wherein in case that communication abnormality of any power supply module of the at least one power supply module is monitored, before determining the power supply module with the communication abnormality as an abnormal power supply module, the method further comprises:
sending a monitoring message to a target power supply module of the at least one power supply module;
and if the feedback message of the target power supply module aiming at the monitoring message is not received within the preset time length, judging that the communication of the target power supply module is abnormal.
6. The method according to claim 5, wherein the preset condition comprises that a difference between the second time and the first time is less than or equal to a duration threshold; the method further comprises the following steps:
determining the time length threshold value according to the preset time length; the duration threshold is greater than the preset duration.
7. The method according to claim 1, wherein in case that communication abnormality of any power supply module of the at least one power supply module is monitored, before determining the power supply module with the communication abnormality as an abnormal power supply module, the method further comprises:
and determining the first current information according to the total current information required by the power supply object at the first moment and the number of the at least one power supply module.
8. A current control device, the device comprising:
the monitoring module is used for determining a power supply module with abnormal communication as an abnormal power supply module under the condition that the communication of any power supply module in at least one power supply module is monitored to be abnormal;
the determining module is used for determining first time and first current information of the abnormal power supply module in the last normal communication and acquiring total current information required by a power supply object of the at least one power supply module at second time; the second time is later than the first time;
the control module is used for determining second current information for supplying power to the power supply object at the second moment by the normal power supply module according to the total current information and the first current information under the condition that a difference value between the second moment and the first moment meets a preset condition; the normal power supply module is a power supply module of the at least one power supply module except the abnormal power supply module.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202310103570.2A 2023-02-13 2023-02-13 Current control method, apparatus, computer device, and storage medium Active CN115776105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310103570.2A CN115776105B (en) 2023-02-13 2023-02-13 Current control method, apparatus, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310103570.2A CN115776105B (en) 2023-02-13 2023-02-13 Current control method, apparatus, computer device, and storage medium

Publications (2)

Publication Number Publication Date
CN115776105A true CN115776105A (en) 2023-03-10
CN115776105B CN115776105B (en) 2023-05-16

Family

ID=85393606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310103570.2A Active CN115776105B (en) 2023-02-13 2023-02-13 Current control method, apparatus, computer device, and storage medium

Country Status (1)

Country Link
CN (1) CN115776105B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06343202A (en) * 1993-06-01 1994-12-13 Nissan Motor Co Ltd Electric car battery charger
CN102969733A (en) * 2012-11-08 2013-03-13 南京南瑞继保电气有限公司 Coordination control method of multiterminal flexible direct current power transmission system
CN106451791A (en) * 2016-11-21 2017-02-22 中国南方电网有限责任公司 Method and system for detecting power supply and outage information
CN107123256A (en) * 2017-05-27 2017-09-01 环球智达科技(北京)有限公司 Detect judgment means
CN107517127A (en) * 2017-08-18 2017-12-26 深圳创维汽车智能有限公司 Processing method, mobile unit and the storage medium of communication abnormality
CN109239494A (en) * 2018-09-21 2019-01-18 无锡风繁伟业科技有限公司 A kind of non-intrusive electrical load alert detecting method and system
CN112290680A (en) * 2020-10-26 2021-01-29 杭州市电力设计院有限公司余杭分公司 Electric power communication system capable of monitoring communication state
CN115078863A (en) * 2022-05-20 2022-09-20 中国第一汽车股份有限公司 Fault diagnosis method and device for charging equipment and vehicle
CN115489329A (en) * 2021-06-17 2022-12-20 丰田自动车株式会社 Power supply management device and abnormality determination method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06343202A (en) * 1993-06-01 1994-12-13 Nissan Motor Co Ltd Electric car battery charger
CN102969733A (en) * 2012-11-08 2013-03-13 南京南瑞继保电气有限公司 Coordination control method of multiterminal flexible direct current power transmission system
CN106451791A (en) * 2016-11-21 2017-02-22 中国南方电网有限责任公司 Method and system for detecting power supply and outage information
CN107123256A (en) * 2017-05-27 2017-09-01 环球智达科技(北京)有限公司 Detect judgment means
CN107517127A (en) * 2017-08-18 2017-12-26 深圳创维汽车智能有限公司 Processing method, mobile unit and the storage medium of communication abnormality
CN109239494A (en) * 2018-09-21 2019-01-18 无锡风繁伟业科技有限公司 A kind of non-intrusive electrical load alert detecting method and system
CN112290680A (en) * 2020-10-26 2021-01-29 杭州市电力设计院有限公司余杭分公司 Electric power communication system capable of monitoring communication state
CN115489329A (en) * 2021-06-17 2022-12-20 丰田自动车株式会社 Power supply management device and abnormality determination method
CN115078863A (en) * 2022-05-20 2022-09-20 中国第一汽车股份有限公司 Fault diagnosis method and device for charging equipment and vehicle

Also Published As

Publication number Publication date
CN115776105B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
US11963063B2 (en) Event prediction through monitoring a mobile device
CN108920336A (en) A kind of service abnormity prompt method and device based on time series
CN107241380B (en) Method and apparatus for time-based adjusted load balancing
CN110969481B (en) Product data prediction method, device, computer equipment and storage medium
CN114462786A (en) Line loss judgment method, device, equipment, storage medium and program product
CN115480987A (en) Link data display method and device and computer equipment
CN117575481A (en) Data processing method, device, computer equipment and storage medium
CN116128351B (en) Resource transfer method and device based on charging pile and computer equipment
CN115776105A (en) Current control method, device, computer equipment and storage medium
CN111193617A (en) Webpage tampering identification method and device, electronic equipment and storage medium
CN112346552B (en) Power supply monitoring method, device, computer equipment and storage medium
CN110990219B (en) Computer monitoring method based on prediction model
CN114138970A (en) Asynchronous interaction method and device for content auditing process and storage medium
CN114441848A (en) Power consumption determination method and device, electronic equipment and storage medium
CN111158819B (en) Interface state determining method, device, equipment and storage medium
CN114816310A (en) Display data processing method and device, electronic equipment and storage medium
CN115719220A (en) Fault processing method and device, computer equipment and storage medium thereof
CN116245352A (en) Power dispatching reminding method, device, computer equipment and storage medium
JP6261970B2 (en) Battery deterioration determination device, battery deterioration determination method, and battery deterioration determination program
CN115312208B (en) Method, device, equipment and medium for displaying treatment data
CN117944454A (en) Protection method, device, equipment and storage medium for vehicle motor
JP2007087121A (en) Total management apparatus, database system, database management method, and database management program
CN118565513A (en) Mileage parameter writing method and device, computer equipment and storage medium
CN116974250A (en) Industrial equipment action data acquisition method and device and computer equipment
CN117148216A (en) Leakage fault detection method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 511458 room 409-a156, a157, No. 1, Mingzhu 1st Street, Hengli Town, Nansha District, Guangzhou City, Guangdong Province

Patentee after: China Southern Power Grid Industry Investment Group Co.,Ltd.

Patentee after: Southern Power Grid Electric Vehicle Service Co.,Ltd.

Patentee after: Yonglian Technology (Changshu) Co.,Ltd.

Address before: 511458 room 409-a156, a157, No. 1, Mingzhu 1st Street, Hengli Town, Nansha District, Guangzhou City, Guangdong Province

Patentee before: China Southern Power Grid Industry Investment Group Co.,Ltd.

Patentee before: Southern Power Grid Electric Vehicle Service Co.,Ltd.

Patentee before: Yonglian smart energy technology (Changshu) Co.,Ltd.

CP01 Change in the name or title of a patent holder