Disclosure of Invention
The main objective of the present invention is to provide a method and apparatus for automatically updating parameters of an energy storage system, which can automatically update parameters of the system, so as to solve the problems set forth in the background art.
The invention provides a method for automatically updating parameters of an energy storage system, which comprises the following steps:
reading operation data of the energy storage system, and writing the operation data into a specified table in a classified manner;
reading the operation data in the table, and calculating to obtain a first configuration parameter according to a preset formula;
and updating the first configuration parameters to an energy storage system.
Further, before the step of reading the operation data of the energy storage system and writing the operation data into the designated table in a classified manner, the method further includes:
initializing an SD card driver inserted into the energy storage system;
the table is generated within the SD card.
Further, the step of reading the operation data in the table and calculating the first configuration parameter according to a preset formula includes:
and periodically reading the operation data in the table, and calculating to obtain a first configuration parameter according to a preset formula.
Further, after the step of updating the first configuration parameter to the energy storage system, the method includes:
acquiring a second configuration parameter of the PC end;
and updating the second configuration parameters to an energy storage system.
Further, the step of initializing the SD card drive inserted into the energy storage system further comprises:
judging whether a system upgrade file is stored in the SD card;
if yes, the energy storage system is upgraded by using the system upgrade file.
An apparatus for automatically updating energy storage system parameters, comprising:
the writing module is used for reading the operation data of the energy storage system and writing the operation data into a specified table in a classified manner;
the calculation module is used for reading the operation data in the table and calculating to obtain a first configuration parameter according to a preset formula;
and the first updating module is used for updating the first configuration parameters to the energy storage system.
Further, the apparatus further comprises:
the initialization module is used for initializing an SD card driver inserted into the energy storage system;
and the generating module is used for generating the table in the SD card.
Further, the computing module includes:
and the periodic unit is used for periodically reading the operation data in the table and calculating to obtain a first configuration parameter according to a preset formula.
Further, the apparatus further comprises:
the acquisition module is used for acquiring a second configuration parameter of the PC end;
and the second updating module is used for updating the second configuration parameters to the energy storage system.
Further, the apparatus further comprises:
the judging module is used for judging whether a system upgrade file is stored in the SD card or not;
and the upgrading module is used for upgrading the energy storage system by utilizing the system upgrading file.
Compared with the prior art, the invention has the beneficial effects that: the built-in table is set to enable the built-in parameters to record the system operation data into a standard format file in a file standard format, so that the data can be acquired and updated more conveniently. The system can automatically read the data of the energy storage system and generate parameters to update to the energy storage system, so that the degree of automation is improved.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a method for automatically updating parameters of an energy storage system according to an embodiment of the present invention is provided, including the steps of:
s3, reading operation data of the energy storage system, and writing the operation data into a specified table in a classified manner;
s4, reading the operation data in the table, and calculating to obtain a first configuration parameter according to a preset formula;
s5, updating the first configuration parameters to the energy storage system.
In this embodiment, the energy storage system is a system that can store electric energy and supply power. The configuration parameters of the energy storage system are some parameters used for limiting work, such as high charging voltage, low working voltage, battery temperature, chargeable quantity, dischargeable quantity and the like, corresponding columns of the corresponding high charging voltage, low working voltage and the like are also formed in a designated table, the singlechip in the energy storage system writes operation data in the system into the corresponding columns, and the steps of calculating the first configuration parameter data are faster through writing the operation data into the corresponding columns in the designated table in a classified manner. The system is provided with a singlechip, which can process the work of updating the parameters of the energy storage system. In another embodiment, the second singlechip is independent of the energy storage system, and specially processes the work of updating the parameters of the energy storage system, so that the work of the energy storage system is not influenced, and the work of updating the parameters is more accurate and is not interfered. The singlechip directly reads the operation data of the energy storage system during operation, writes the operation data into a table, namely classifies the data, can accelerate the speed of processing the data by the singlechip, and rapidly generates the first configuration parameters. For example, the singlechip calculates the current internal resistance state and the actual total capacity state of the battery by reading the voltage and SOC curve changes recorded in the previous month of charge and discharge process, calculates the adjustment value of the key coefficient required by the current SOC calculation, and obtains the first configuration parameter, so that the battery characteristic parameter recorded by the system is updated and adjusted in real time after the battery is deteriorated in the use process, and further the continuous increase of the calculation error of the system electric quantity along with the time is avoided. And then the singlechip updates the first configuration parameters to the energy storage system, and the other storage terminals are not used for exporting data and calculating the first configuration parameters, so that steps are saved, and the energy storage system can operate more effectively and rapidly. The method has the advantages that a table is established, different types of operation data of the energy storage system are placed in a designated storage table, the operation data are directly classified, subsequent data reading and calculation are facilitated, a first configuration parameter is obtained, the whole system is in a state of closed-loop control, the latest configuration parameter is automatically updated, and the efficiency of the energy storage system is kept in the highest state.
Referring to fig. 2, in this embodiment, before step S3 of reading the operation data of the energy storage system and writing the operation data into the specified table in a classified manner, the method further includes:
s1, initializing an SD card driver inserted into the energy storage system;
s2, generating the table in the SD card.
In the embodiment, the SD card (Secure Digital Memory Card) has the advantages of light weight, high transmission speed, large capacity, low cost and convenient reading and writing. The driving of the SD card is initialized, so that the SD card can be accurately connected with the energy storage system to transfer data, the operation data of the energy storage system can be smoothly and accurately written into the SD card, and the configuration parameters in the SD card can be smoothly and accurately updated to the energy storage system. After initializing the drive of the SD card, the energy storage system is configured into a system supporting a file standard, daily work data is recorded to the SD card according to a file format, and the data is automatically analyzed and calculated to obtain a first configuration parameter and updated to the system, so that the automatic upgrading of the system parameter is realized. The SD card is inserted and the table is generated in the SD card, so that the data is placed in the SD card instead of the system, firstly, the energy storage system is prevented from being crashed and the data is prevented from being lost, and the function similar to a black box on an airplane is achieved; in addition, the singlechip independently analyzes and processes the data in the SD card, so that the data can be rapidly and accurately processed, and the operation of the energy storage system is not influenced.
In this embodiment, the step S4 of reading the operation data in the table and calculating the first configuration parameter according to a preset formula includes:
s41, periodically reading the operation data in the table, and calculating to obtain a first configuration parameter according to a preset formula.
In this embodiment, the generated first configuration parameters are read regularly, so that automatic updating of the system can be ensured, the regular time cannot be too short, and the data collected by the system in too short time are not representative and regular, so that the configuration parameters generated by analysis are inaccurate; the regular time is not too long, the data collected by the system is not time-efficient, and the configuration parameters generated by analysis are not applicable to the energy storage system at the current moment. In a specific embodiment, the time of the period is one month, and the singlechip calculates the current internal resistance state and the actual total capacity state of the battery and calculates the adjustment value of the key coefficient required by the current SOC calculation by reading the voltage and the SOC curve change recorded in the charge and discharge process of the last month, so that the battery characteristic parameters recorded in the system after the battery is deteriorated in the use process are updated and adjusted in real time, and further the continuous increase of the calculation error of the system electric quantity along with the time is avoided.
Referring to fig. 3, in this embodiment, after step S6 of updating the first configuration parameter to the energy storage system, the method includes:
s6, acquiring a second configuration parameter of the PC end;
and S7, updating the second configuration parameters to the energy storage system.
In this embodiment, if the operation of the energy storage system is unstable due to other factors such as the environment, the obtained data is not very accurate, and the calculated first configuration parameter is also not accurate, if the first configuration parameter is updated to the energy storage system, the operation efficiency of the energy storage system is reduced or even the operation is wrong, a worker can manually update the configuration parameter when seeing, update the second configuration parameter on the PC terminal, and update the accurate second configuration parameter to the energy storage system through the connection between the PC terminal and the energy storage system. In another embodiment, the staff directly takes out the SD card and connects with the PC end, the system configuration file is opened on the PC end to directly modify to obtain the second configuration parameter, and then the SD card is inserted back into the energy storage system to realize the configuration parameter modification of the system. The energy storage system is very convenient and rapid to update, so that the energy storage system can operate more efficiently and stably.
Referring to fig. 4, in this embodiment, after step S1 of initializing the SD card drive inserted into the energy storage system, the method further includes:
s8, judging whether a system upgrade file is stored in the SD card;
and S9, if yes, upgrading the energy storage system by using the system upgrading file.
In this embodiment, the energy storage system is also a system, which includes many attributes, and as technology develops and some hardware is updated, some attributes of the corresponding system need to be updated or changed. By copying the new system version into the SD card and inserting the SD card into the card slot, the singlechip automatically reads the system software to update and upgrade, and other steps are not required to be added, so that the system is very convenient to use.
In one embodiment, the configuration parameters of the energy storage system include high charge voltage, low operating voltage, battery temperature, chargeable amount, dischargeable amount, etc. After the SD card is inserted into the SD card slot, the SD card drive is initialized by the singlechip, so that the SD card and the energy storage system can accurately exchange data, the influence on the energy storage system is avoided, and then a data table is generated in the SD card. The energy storage system starts to operate, and in the operation process, some state data or operation data are stored in corresponding tables in the data tables. In a specific embodiment, after fixing the time of one month, the singlechip calculates the current internal resistance state and the actual total capacity state of the battery by reading the voltage and SOC curve change recorded in the charge and discharge process of the previous month, calculates the configuration parameters of key parameters required by the current SOC calculation, and then updates the configuration parameters to the energy storage system to automatically update the parameters of the energy storage system. In another embodiment, after the time of two weeks is fixed, the singlechip calculates the configuration parameters of the working time and the working power of a new cooling unit by reading the battery temperature change recorded in the charge and discharge processes of the previous two weeks and combining the working time of the cooling unit of the energy storage system, and then updates the configuration parameters to the energy storage system. Or in another embodiment, because the whole power grid is adjusted, parameters of the energy storage system need to be manually adjusted, the set second configuration parameters are copied into the SD card through the PC end, when the SD card is inserted into a card slot of the energy storage system, the singlechip detects that new parameters exist in the SD card, and the second configuration parameters are updated to the energy storage system, so that the parameters of the energy storage system are automatically updated.
According to the method for automatically updating the parameters of the energy storage system, the built-in table is arranged, so that the built-in parameters record the system operation data into the standard format file in the standard format file, and the data can be acquired and updated more conveniently. The method can automatically read the data of the energy storage system and generate the first configuration parameters to update the first configuration parameters to the energy storage system, so that the degree of automation is improved.
Referring to fig. 5, the present invention provides an apparatus for automatically updating parameters of an energy storage system, comprising:
the writing module 3 is used for reading the operation data of the energy storage system and writing the operation data into a specified table in a classified manner;
the calculation module 4 is used for reading the operation data in the table and calculating to obtain a first configuration parameter according to a preset formula;
and the first updating module 5 is used for updating the first configuration parameters to the energy storage system.
In this embodiment, the energy storage system is a system that can store electric energy and supply power. The configuration parameters of the energy storage system are parameters for limiting the operation, such as high charging voltage, low operating voltage, battery temperature, chargeable amount, dischargeable amount, etc., corresponding columns of the corresponding high charging voltage, low operating voltage, etc. are also provided in the designated table, and the writing module 3 writes the operation data in the system into the corresponding columns, and by writing into the corresponding columns in the designated table in a classified manner, the calculation of the following calculation module 4 is faster. The system is provided with the singlechip, so that the work of updating the parameters of the energy storage system can be processed, and the work of updating the parameters of the system is more convenient and accurate. In another embodiment, the second singlechip is independent of the energy storage system, and specially processes the work of updating the parameters of the energy storage system, so that the work of the energy storage system is not influenced, and the work of updating the parameters is more accurate and is not interfered. The writing module 3 of the singlechip directly reads the operation data of the energy storage system during operation, writes the operation data into a table, namely classifies the data, can accelerate the speed of processing the data by the singlechip, and the calculating module 4 rapidly generates the first configuration parameters. For example, the calculation module 4 of the singlechip calculates the current internal resistance state and the actual total capacity state of the battery by reading the voltage and the SOC curve change recorded in the previous month of charge and discharge process, and calculates the adjustment value of the key coefficient required by the current SOC calculation to obtain the first configuration parameter, so that the battery characteristic parameter recorded in the system after the battery is degraded in the use process is updated and adjusted in real time, and further the continuous increase of the calculation error of the system electric quantity along with the time is avoided. And then the first updating module 5 updates the first configuration parameters to the energy storage system, and other storage terminals are not used for exporting data and calculating the first configuration parameters, so that the time is saved, and the energy storage system can operate more effectively and rapidly. The device has the advantages that a table is set up, the write-in module 3 places different types of operation data of the energy storage system into a designated storage table, the operation data are directly classified, a subsequent calculation module 4 is convenient to read the data and calculate to obtain a first configuration parameter, the whole system is in a state of closed-loop control, the first update module 5 automatically updates the latest configuration parameter, and the efficiency of the energy storage system is kept in the highest state.
In this embodiment, the apparatus further includes:
the initialization module 1 is used for initializing an SD card driver inserted into the energy storage system;
and the generation module 2 is used for generating the table in the SD card.
In the embodiment, the SD card (Secure Digital Memory Card) has the advantages of light weight, high transmission speed, large capacity, low cost and convenient reading and writing. The initialization module 1 initializes the drive of the SD card, so that the SD card can be accurately connected with the energy storage system to transfer data, the operation data of the energy storage system can be smoothly and accurately written into the SD card, and the configuration parameters in the SD card can be smoothly and accurately updated to the energy storage system. After initializing the drive of the SD card, the energy storage system is configured into a system supporting a file standard, daily work data is recorded to the SD card according to a file format, and the data is automatically analyzed and calculated to obtain a first configuration parameter and updated to the system, so that the automatic upgrading of the system parameter is realized. The generation module 2 generates the table in the SD card, so as to put data in the SD card instead of the system, firstly, prevent the energy storage system from crashing and losing the data, and play a role similar to a black box on an airplane; in addition, the singlechip independently analyzes and processes the data in the SD card, so that the data can be rapidly and accurately processed without affecting the operation of the energy storage system.
In this embodiment, the computing module 4 includes:
the periodic unit 41 is configured to periodically read the operation data in the table, and calculate a first configuration parameter according to a preset formula.
In this embodiment, the periodic unit 41 periodically reads the generated first configuration parameter, so as to ensure automatic updating of the system, and the periodic time is not too short, and the data collected by the system in too short time is not representative and regular, so that the configuration parameter generated by analysis is inaccurate; the regular time is not too long, the data collected by the system is not time-efficient, and the configuration parameters generated by analysis are not applicable to the energy storage system at the current moment. In a specific embodiment, the periodic unit 41 is set to be performed at a time of every month, and the singlechip calculates the current internal resistance state and the actual total capacity state of the battery by reading the voltage and the SOC curve change recorded in the charge-discharge process of the last month, and calculates the adjustment value of the key coefficient required by the current SOC calculation, so that the battery characteristic parameters recorded in the system after the battery is degraded in the use process are updated and adjusted in real time, and further the continuous increase of the calculation error of the system electric quantity along with the time is avoided.
In this embodiment, the apparatus further includes:
the acquisition module 6 is used for acquiring a second configuration parameter of the PC end;
and a second updating module 7, configured to update the second configuration parameter to the energy storage system.
In this embodiment, if the operation of the energy storage system is unstable due to other factors such as the environment, the obtained data is not very accurate, and the first configuration parameter obtained by analysis and calculation is also not accurate, if the first configuration parameter is updated to the energy storage system, the operation efficiency of the energy storage system is reduced or even the operation is wrong, a worker can manually update the configuration parameter when seeing, update the second configuration parameter on the PC terminal, and update the accurate second configuration parameter to the energy storage system through the connection between the PC terminal and the energy storage system. In another embodiment, the staff directly takes out the SD card and connects with the PC terminal, and opens the system configuration file on the PC terminal to directly modify to obtain the second configuration parameter, the obtaining module 6 controls the SD card to receive the second configuration parameter, the staff inserts the SD card back into the energy storage system, and the second updating module 7 updates the second configuration parameter in the SD card to the energy storage system, so as to realize the configuration parameter modification of the system. The energy storage system is very convenient and rapid to update, so that the energy storage system can operate more efficiently and stably.
Referring to fig. 6, in this embodiment, the apparatus further includes:
the judging module 8 is used for judging whether a system upgrade file is stored in the SD card;
and the upgrading module 9 is used for upgrading the energy storage system by using the system upgrading file.
In this embodiment, the energy storage system is also a system, which includes many attributes, and as technology develops and some hardware is updated, some attributes of the corresponding system need to be updated or changed. The judging module 8 checks whether a system upgrade file exists in the SD card, and when the system upgrade file exists in the SD card, the information is sent to the system upgrade module 9, and the upgrade module 9 firstly stores operation data and then utilizes the system upgrade file to update the whole energy storage software system. The staff copies the new system version into the SD card, and inserts the SD card into the card slot of the energy storage system, so that the upgrade module 9 automatically reads the system software to update and upgrade, the staff does not need to add other steps, and the system is very convenient to update.
In one embodiment, the configuration parameters of the energy storage system include high charge voltage, low operating voltage, battery temperature, chargeable amount, dischargeable amount, etc. After the SD card is inserted into the slot of the energy storage system, the initialization module 1 initializes the SD card drive, so that the SD card and the energy storage system can avoid accurately exchanging data, the energy storage system is prevented from being influenced, and then the generation module 2 generates a data table in the SD card. The energy storage system starts to operate, and the writing module 3 stores some state data or operation data of the energy storage system in corresponding tables in the data tables in the operation process. In a specific embodiment, after the periodic unit 41 fixes the time of one month, the singlechip calculates the current internal resistance state and the actual total capacity state of the battery by reading the voltage and the SOC curve change recorded in the charge and discharge process of the previous month, calculates the configuration parameters of key parameters required for the current SOC calculation, and then updates the configuration parameters to the energy storage system to realize automatic updating of the parameters of the energy storage system. In another embodiment, after the periodic unit 41 fixes the time of two weeks, the calculating module 4 calculates the configuration parameters of the working time and the working power of the new cooling unit by reading the battery temperature changes recorded in the charge and discharge processes of the previous two weeks and combining the working time of the cooling unit of the energy storage system, and then the first updating module 5 updates the configuration parameters to the energy storage system. Or in another embodiment, because the whole power grid is adjusted, the parameters of the energy storage system need to be manually adjusted, the worker copies the set second configuration parameters into the SD card through the PC end, the acquisition module 6 controls the SD card to receive the second configuration parameters of the PC end, and when the worker inserts the SD card into the SD card slot again, the second updating module 7 detects that the SD card has new parameters, and updates the second configuration parameters to the energy storage system, so that the parameters of the energy storage system are automatically updated. The built-in table is set to enable the built-in parameters to record the system operation data into a standard format file in a file standard format, so that the data can be acquired and updated more conveniently. The device can automatically read the data of the energy storage system and generate the first configuration parameters to update the first configuration parameters to the energy storage system, so that the degree of automation is improved.
According to the device for automatically updating the parameters of the energy storage system, the built-in table is arranged, so that the built-in parameters record the system operation data into the standard format file in the standard format file, and the data acquisition and updating are facilitated. The device can automatically read the data of the energy storage system and generate the first configuration parameters to update the first configuration parameters to the energy storage system, so that the degree of automation is improved.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes using the descriptions and drawings of the present invention or directly or indirectly applied to other related technical fields are included in the scope of the invention.