CN115842405A - High-pressure energy storage valve system, control unit of power module of high-pressure energy storage valve system and upgrading method of control unit - Google Patents

High-pressure energy storage valve system, control unit of power module of high-pressure energy storage valve system and upgrading method of control unit Download PDF

Info

Publication number
CN115842405A
CN115842405A CN202211448027.8A CN202211448027A CN115842405A CN 115842405 A CN115842405 A CN 115842405A CN 202211448027 A CN202211448027 A CN 202211448027A CN 115842405 A CN115842405 A CN 115842405A
Authority
CN
China
Prior art keywords
power supply
upgrading
power
control unit
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211448027.8A
Other languages
Chinese (zh)
Inventor
徐柳茂
卢艳华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningde Times Future Energy Shanghai Research Institute Co ltd
Original Assignee
Ningde Times Future Energy Shanghai Research Institute 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 Ningde Times Future Energy Shanghai Research Institute Co ltd filed Critical Ningde Times Future Energy Shanghai Research Institute Co ltd
Priority to CN202211448027.8A priority Critical patent/CN115842405A/en
Publication of CN115842405A publication Critical patent/CN115842405A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Safety Devices In Control Systems (AREA)

Abstract

The application relates to a control unit of a high-pressure energy storage valve system and a power module thereof and an upgrading method thereof, wherein the power module comprises the control unit and a power unit, and the control unit comprises: controlling a processing device and a power supply module; the control processing equipment is connected with the power unit, is connected with the network upgrading control equipment through a network, is used for controlling the switching state of the power unit, and finishes the upgrading process according to the upgrading instruction when receiving the upgrading instruction from the network upgrading control equipment; the power module is connected with the control processing equipment and the high-voltage energy-taking power supply, and the high-voltage energy-taking power supply provides power for the control processing equipment through the power module.

Description

High-pressure energy storage valve system, control unit of power module of high-pressure energy storage valve system and upgrading method of control unit
Technical Field
The present disclosure relates to the field of high-pressure energy storage technologies, and in particular, to a control unit of a power module of a high-pressure energy storage valve system, an upgrading method of the control unit of the power module of the high-pressure energy storage valve system, an upgrading apparatus of the control unit of the power module of the high-pressure energy storage valve system, an electronic device, a computer-readable storage medium, and the high-pressure energy storage valve system.
Background
In an electric power system, a technical scenario of high-pressure energy storage, such as a high-pressure energy storage valve system, is inevitably involved. A plurality of power modules can be arranged in the high-pressure energy storage valve system and are limited by the anti-interference application environment of high-pressure electromagnetism of the high-pressure valve tower, and the power modules are used for taking electricity at high pressure on site. Meanwhile, due to the high-electric-pressure electromagnetic working environment, the power module usually adopts a single FPGA (field programmable gate array) working mode, and programs are directly burned through an FPGA debugging port when firmware is primarily burned in a factory or upgraded by valve control outside the factory.
In the application process of the power module, the situation that the control unit of the power module needs to be upgraded due to field defects or other requirements is inevitable. However, the inventor finds that the upgrading process of the power module in the traditional technology is difficult and the upgrading efficiency is low.
Disclosure of Invention
In view of the above, it is necessary to provide a control unit of a power module of a high-pressure tank valve system, an upgrading method of the control unit of the power module of the high-pressure tank valve system, an upgrading device of the control unit of the power module of the high-pressure tank valve system, an electronic apparatus, a computer-readable storage medium, and a high-pressure tank valve system, which can improve upgrading efficiency.
In a first aspect, the present application provides a control unit for a power module of a high pressure tank valve system, the power module comprising the control unit and a power unit, the control unit comprising: controlling a processing device and a power supply module;
the control processing equipment is connected with the power unit, is connected with the network upgrading control equipment through a network, is used for controlling the switching state of the power unit, and finishes the upgrading process according to the upgrading instruction when receiving the upgrading instruction from the network upgrading control equipment;
the power module is connected with the control processing equipment and the high-voltage energy-taking power supply, and the high-voltage energy-taking power supply provides power for the control processing equipment through the power module.
Based on the control unit of the power module of the high-pressure energy storage valve system, the control processing equipment of the control unit of the power module can be in communication connection with the network upgrading control equipment to receive the upgrading instruction of the network upgrading control equipment and respond to the upgrading instruction to carry out upgrading operation, so that the control unit of the power module can be remotely upgraded, the upgrading efficiency of upgrading the control unit of the power module of the high-pressure energy storage valve system is improved, and the requirement of field operation is lowered.
In some embodiments, the control unit further comprises: the power supply switching module and the low-voltage standby power supply;
the power supply switching module is connected between the power supply module and the high-voltage energy-taking power supply, is connected with the low-voltage standby power supply, and is used for switching the low-voltage standby power supply or the high-voltage energy-taking power supply to provide power for the power supply module;
the low-voltage standby power supply is connected with the power supply switching module and the high-voltage energy-taking power supply, and the low-voltage standby power supply is charged by the high-voltage energy-taking power supply;
the control processing equipment is used for completing the upgrading process when the power supply switching module is switched to a state that the low-voltage standby power supply provides power for the power supply module.
Thereby, when receiving the upgrading instruction, switch to and supply power by the low pressure stand-by power supply for the control unit of power module, and make and accomplish the upgrading process under the low pressure stand-by power supply carries out the condition of low pressure power supply, make and carry out long-range upgrading to the control unit of power module, when improving upgrading efficiency, avoided carrying the problem that independent working power supply could accomplish when upgrading the control unit of power module, the requirement of field operation has been reduced, and the power supply reliability in the upgrading process has been improved.
In some embodiments, the low voltage backup power source comprises a charging module and an energy storage module connected to each other;
the charging module is connected with the high-voltage energy taking power supply and is used for charging the energy storage module;
the energy storage module is connected with the power supply switching module and used for providing power for the power supply module through the power supply switching module.
Therefore, the low-voltage standby power supply can supply power through the high-voltage energy-taking power supply without accessing an external power supply device, and the upgrading process of the control unit of the power module can be completed by supplying power to the control unit through the low-voltage power supply under the condition that the original high-voltage high-electromagnetism environment of the power module is not required to be adjusted.
In some embodiments, the control processing device is further configured to determine whether the low-voltage standby power supply supplies power normally after receiving the upgrade instruction; and under the condition that the power supply of the low-voltage standby power supply is normal, the power supply switching module is controlled to be switched to the state that the low-voltage standby power supply provides power for the power supply module.
Therefore, under the condition that the low-voltage standby power supply can normally supply power, the power supply switching module is controlled to be switched to the state that the low-voltage standby power supply provides power for the power supply module, the influence of the power supply source for directly switching the power supply module due to the fact that the low-voltage standby power supply cannot normally supply power on the correctness of the upgrading process is avoided, and the accuracy of upgrading the control unit of the power module is improved.
In some embodiments, the control processing device is further configured to determine whether the high-voltage energy-obtaining power supply is in a maintenance state when it is determined that the low-voltage backup power supply supplies power normally, and switch to supplying power to the power supply module by the low-voltage backup power supply when the high-voltage energy-obtaining power supply is in the maintenance state.
Therefore, when the upgrading instruction is received, under the condition that the high-voltage energy-taking power supply is determined to be in the overhauling state, the low-voltage standby power supply is switched to supply power for the control unit, and the upgrading process is completed. The influence on the correctness of the upgrading process caused by the fact that the power module is in a high-voltage high-electromagnetism environment under the condition that the high-voltage energy-taking power supply supplies power to the control unit of the power module is avoided, and the accuracy of upgrading the control unit of the power module is improved.
In some embodiments, the control processing device comprises a controller;
the controller is connected with the network upgrading control equipment through a valve control device, receives an upgrading instruction sent by the network upgrading control equipment through the valve control device, and responds to the upgrading instruction to complete the upgrading process.
Therefore, the upgrading process of the power unit of the power module can be remotely realized by multiplexing the valve control device of the high-pressure energy storage valve system, receiving the upgrading instruction of the network upgrading control equipment through the valve control device and without adjusting the framework of the high-pressure energy storage valve system.
In some embodiments, the controller is connected to the valve control device through a serial port, and the valve control device is connected to the network upgrade control device through an ethernet interface.
Therefore, the controller is connected with the valve control device through the serial port, the serial port connection relation of the valve control device can be directly multiplexed, and the upgrading process of the control unit of the power module can be remotely realized without adjusting the framework of the high-pressure energy storage valve system.
In some embodiments, the controller is further configured to receive service data through the valve control device, and perform service processing according to the service data.
Therefore, the valve control device can send the service data of the upper computer to the controller and send the upgrading instruction of the network upgrading control equipment to the controller through the multiplexing valve control device, normal service processing of the control unit of the power module can be realized without adjusting the framework of the high-pressure energy storage valve system, and a remote upgrading function can be realized.
In some embodiments, the control processing device comprises a controller and a first processor connected to each other;
the controller is connected with the power unit and the power supply module and is used for controlling the switching state of the power unit;
the first processor is connected with the network upgrading control equipment and used for receiving an upgrading instruction sent by the network upgrading control equipment and responding to the upgrading instruction to complete the upgrading process of the controller.
Therefore, the control unit can be connected with the network upgrading control equipment through the first processor to receive the control instruction of the network upgrading control equipment, the upgrading process of the control unit of the power module is controlled through the first processor, the existing service processing process of the controller is not influenced, and the processing efficiency of the upgrading process of the control unit of the power module can be improved.
In some embodiments, the first processor is connected to the network upgrade control device through an ethernet interface. Therefore, under the condition that the first processor of the control unit is connected with the network upgrading control device through the Ethernet interface, any device capable of realizing Ethernet communication can be used for remotely controlling the upgrading process of the control unit of the power module, and the convenience for upgrading the control unit of the power module is improved.
In some embodiments, the first processor is further configured to receive an upgrade package sent by the network upgrade control device, verify the upgrade package, and complete an upgrade process for the controller based on the upgrade package after the upgrade package is verified.
Therefore, after receiving the upgrade package sent by the network upgrade control equipment, the first processor also verifies the upgrade package, and the upgrade can be completed only after the upgrade package is verified. Therefore, even under the environment that the power unit processes high voltage and high electromagnetism, the first processor completes the upgrading process under the condition that the upgrading package is determined to be correct, and the service processing process of the control unit is not influenced.
In some embodiments, the controller includes a first storage area and a second storage area;
and under the condition that the controller runs the application program in the first storage area, the first processor responds to an upgrading instruction, stores the application program data packet into the second storage area, finishes the upgrading process, and controls the controller to switch to run the application program data packet in the second storage area after upgrading is finished.
Therefore, in the process of upgrading the control unit of the power module, the upgrading process can be completed under the condition that the control unit of the power module operates, and the control unit of the power module is switched to the program corresponding to the new application program data packet to operate after the upgrading is completed, so that the processing process of the control unit of the power module in the upgrading process can not be influenced.
In some embodiments, the control processing device comprises a controller;
the controller is connected with the network upgrading control device through a second processor, the second processor receives the upgrading instruction sent by the network upgrading control device, and the upgrading process of the controller is completed in response to the upgrading instruction.
Therefore, the controller is connected with the network upgrading control device through the second processor, so that the control units of the power modules can be connected with the same second processor, namely the control units of the power modules can be upgraded through the same second processor.
In a second aspect, the present application provides a method of upgrading a control unit of a power module of a high pressure tank valve system, the method comprising:
receiving an upgrading instruction of network upgrading control equipment;
and responding to the upgrading instruction, and finishing the upgrading process according to the upgrading instruction.
In some embodiments, said responding to the upgrade instruction, completing an upgrade process according to the upgrade instruction, includes:
responding to the upgrading instruction, and switching to a low-voltage standby power supply to supply power to the control unit;
and finishing the upgrading process in the state that the low-voltage standby power supply supplies power to the control unit.
In some embodiments, said responding to the upgrade instruction, completing an upgrade process according to the upgrade instruction, includes:
in response to the upgrading instruction, writing upgrading data into a data backup area of the control unit;
and after the control unit is controlled to be restarted, finishing the upgrading process of the control unit based on the upgrading data of the data backup area.
Therefore, in the process of upgrading the control unit, the upgrading data is written into the data backup area of the control unit, after the control unit is restarted, the control unit is upgraded based on the upgrading data stored in the data backup area, and the success rate of the upgrading process is improved.
In some embodiments, said writing upgrade data to a data backup area of said control unit in response to said upgrade instruction comprises:
responding to the upgrading instruction, and acquiring upgrading data;
carrying out correctness verification and/or integrity verification on the upgrading data to obtain a verification result;
and when the verification result is that the verification is passed, writing the upgrade data into a data backup area of the control unit.
Therefore, after the upgrade data is obtained, under the condition that the correctness and/or integrity of the upgrade data is verified, the upgrade data is written into the data backup area of the control unit, the upgrade data written into the data backup area is ensured to be correct, the situation that the upgrade process is abnormal due to the abnormality of the upgrade data to cause upgrade failure is avoided, and the upgrade efficiency is improved.
In some embodiments, said switching to supply power to the control unit from the low voltage backup power supply in response to said upgrade instruction comprises:
determining whether the low-voltage standby power supply supplies power normally or not in response to the upgrading instruction;
and under the condition that the low-voltage standby power supply is normal, switching to the state that the low-voltage standby power supply supplies power to the control unit.
In some embodiments, said switching to supply power to the control unit from the low voltage backup power supply in response to said upgrade instruction comprises:
determining whether the high-voltage energy-taking power supply is in a maintenance state or not in response to the upgrading instruction;
and under the condition that the high-voltage energy-taking power supply is in a maintenance state, switching to a low-voltage standby power supply to supply power for the control unit.
In some embodiments, the method further comprises:
after the upgrade is completed, the control unit is switched to be powered by a high-voltage energy-taking power supply, wherein the high-voltage energy-taking power supply is used for charging the low-voltage standby power supply in the power supply process of the control unit.
In some embodiments, the upgrade instructions carry at least one power cell identification; the step of responding to the upgrading instruction and completing the upgrading process according to the upgrading instruction comprises the following steps:
and in response to the upgrading instruction, completing the upgrading process of the power unit corresponding to at least one power unit identification.
In a third aspect, the present application provides an apparatus for upgrading a control unit of a power module of a high pressure tank valve system, the apparatus comprising:
the instruction receiving module is used for receiving an upgrading instruction of the network upgrading control equipment;
and the upgrading control module is used for responding to the upgrading instruction and finishing the upgrading process according to the upgrading instruction.
In a fourth aspect, the present application provides an electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method in any of the embodiments as described above when executing the computer program.
In a fifth aspect, the present application provides a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method in any of the embodiments as described above.
In a sixth aspect, the present application provides a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method in any of the embodiments as described above.
In a seventh aspect, the present application provides a high pressure tank valve system, wherein the system comprises several power modules, at least one of said power modules comprising a control unit as described in any of the embodiments described above.
In an eighth aspect, the present application provides a high pressure stored energy valve system, wherein the system comprises: the system comprises a second processor and a plurality of power modules, wherein any one power module comprises a control unit and a power unit;
the control unit is connected with the power unit and used for controlling the switching state of the power unit;
the second processor is connected with the control units of the power modules, is connected with the network upgrading control equipment through a network, and is used for receiving upgrading instructions of the network upgrading control equipment and finishing the upgrading process of at least one control unit according to the upgrading instructions.
In some embodiments, the control unit comprises: the control processing device comprises a control processing device, a power supply module, a power supply switching module and a low-voltage standby power supply;
the control processing equipment is connected with the power unit and used for controlling the switching state of the power unit;
the power supply module provides power supply for the control processing equipment;
the power supply switching module, the control processing equipment, the power supply switching module, the low-voltage standby power supply and the high-voltage energy-taking power supply are used for switching the low-voltage standby power supply or the high-voltage energy-taking power supply to provide power for the power supply module;
the low-voltage standby power supply is connected with the power supply switching module and the high-voltage energy-taking power supply, and is charged by the high-voltage energy-taking power supply;
the second processor is configured to complete an upgrade process of the corresponding control unit when the power supply switching module of the corresponding control unit is switched to a state in which the low-voltage standby power supply provides power for the power supply module.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
Various additional advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Moreover, like reference numerals are used to refer to like elements throughout. In the drawings:
FIG. 1 is a schematic structural diagram of a power module according to some embodiments of the present application;
FIG. 2 is a schematic diagram of a power module according to another embodiment of the present application;
FIG. 3 is a schematic diagram of a power module according to another embodiment of the present application;
FIG. 4 is a schematic structural diagram of a power module according to some embodiments of the present application;
FIG. 5 is a schematic diagram of a power module according to another embodiment of the present application;
FIG. 6 is a schematic diagram of a power module according to another embodiment of the present application;
FIG. 7 is a schematic diagram of a power module according to another embodiment of the present application;
FIG. 8 is a schematic structural diagram of a power module according to further embodiments of the present application;
FIG. 9 is a schematic diagram of a high pressure accumulator valve system according to some embodiments of the present application;
FIG. 10 is a schematic illustration of a high pressure accumulator valve system in accordance with further embodiments of the present application;
FIG. 11 is a schematic illustration of a high pressure accumulator valve system in accordance with further embodiments of the present application;
FIG. 12 is a flow chart illustrating a method of upgrading a control unit of a power module of a high pressure tank valve system in some embodiments of the present application;
FIG. 13 is a flow chart illustrating a method of upgrading a control unit of a power module of a high pressure tank valve system in some specific examples of the present application;
FIG. 14 is a block diagram of an upgrade to a control unit of a power module of the high pressure tank valve system in some embodiments of the present application;
fig. 15 is an internal structural diagram of an electronic device according to some embodiments of the present application.
The reference numbers in the detailed description are as follows:
a power module 10; the system comprises a high-voltage energy-taking power supply 20, a network 30, network upgrading control equipment 40, a valve control device 50 and a second processor 60;
a control unit 110, a power unit 120;
a control processing device 111, a power supply module 112, a power supply switching module 113, a low-voltage standby power supply 114;
a controller 1111 and a first processor 1112.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further 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.
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are merely used to more clearly illustrate the technical solutions of the present application, and therefore are only examples, and the protection scope of the present application is not limited thereby.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions.
In the description of the embodiments of the present application, the technical terms "first", "second", and the like are used only for distinguishing different objects, and are not to be construed as indicating or implying relative importance or implicitly indicating the number, specific order, or primary-secondary relationship of the technical features indicated. In the description of the embodiments of the present application, "a plurality" means two or more unless specifically defined otherwise.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In the description of the embodiments of the present application, the term "and/or" is only one kind of association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In the description of the embodiments of the present application, the term "plurality" refers to two or more (including two), and similarly, "plural sets" refers to two or more (including two sets), "plural pieces" refers to two or more (including two pieces).
In the description of the embodiments of the present application, unless otherwise explicitly specified or limited, the terms "connected" and the like are to be construed broadly, e.g., as meaning mechanically and electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the embodiments of the present application can be understood by those of ordinary skill in the art according to specific situations.
In power systems, high-pressure energy storage is an important requirement of power systems, such as high-pressure energy storage valve systems. Taking a high-pressure energy storage valve system as an example, a plurality of power modules can be arranged in the high-pressure energy storage valve system, and are limited by the anti-interference application environment of high-voltage electromagnetism of a high-pressure valve tower, and the power modules are used for taking electricity at high pressure on site. Meanwhile, due to the high-electric-pressure electromagnetic working environment, the power module usually adopts a single FPGA working mode, and programs are directly burned through an FPGA debugging port when firmware is first burned in a factory or upgraded by valve control outside the factory.
In the application process of the power module of the high-pressure energy storage valve system, the situation that the control unit of the power module needs to be upgraded due to field defects or other requirements is inevitable. When a control unit of a power module is upgraded in the traditional technology, a high-pressure valve tower is generally firstly put into maintenance, an independent working power supply is carried by a worker to a scene where the power module is located, and the power module is electrified on site through the carried independent working power supply module; completing software upgrading after power on; and restarting the power module after upgrading is completed.
The inventor of the present application has noted that, in the upgrading process, the main control chip of the control unit of the power module is implemented by selecting a single FPGA device, and the upgrading mode of the main control chip can only support local software upgrading, so that a worker must arrive at the site of the power module to upgrade the power module. Moreover, the power module is in the valve tower structure, is not supplied with power by a secondary alternating current and direct current power supply, can only get power by high voltage, and only has a single high-voltage power supply, so power failure maintenance operation is required before and after upgrading, the operation time is long before and after power failure, and the problems of inconvenience in field debugging and low operation and maintenance efficiency are caused.
In order to improve the upgrading efficiency of the power module in the high-pressure energy storage valve system, the inventor of the present application has studied and found that, by improving the control unit of the power module or upgrading the application program of the control unit, the power module can communicate with the external network upgrading control device to receive the upgrading command and the upgrading packet of the network upgrading control device. Furthermore, a low-voltage standby power supply can be added for the control unit at the same time, the high-voltage energy-taking power supply is used for charging the low-voltage standby power supply, the power supply is switched to the control unit which is used as the power module in the upgrading process, the upgrading process of the power module can be completed under the condition that the power module is not required to carry an external power supply in the power module, and the safety of the upgrading process of the power module is ensured.
Referring to a power module 10 shown in fig. 1, an embodiment of the present application may provide a control unit 110 of the power module of a high-pressure tank valve system, where the power module 10 includes the control unit 110 and a power unit 120, where the control unit 110 includes: control the processing device 111 and the power module 112.
The control processing device 111 is connected to the power unit 120, connected to the network upgrade control device 40 through the network 30, and configured to control the switching state of the power unit 120, and complete an upgrade process according to an upgrade instruction when receiving the upgrade instruction from the network upgrade control device 40;
and the power supply module 112 is connected with the control processing equipment 111 and the high-voltage energy-taking power supply 20, and the high-voltage energy-taking power supply 20 supplies power to the control processing equipment 111 through the power supply module 112.
The control processing device 111 is a module capable of executing a control function in the control unit 110 of the power module 10, and can control the switching state of the power unit 120. In some embodiments, the control processing device 111 may be implemented based on a controller in an existing power module, for example, the control processing device 111 may include an FPGA. In some embodiments, the control processing device 111 may also be a device that includes other processing devices in addition to the controller included in the existing power module.
The upgrade instruction received by the control processing device 111 from the network upgrade control device 40 may be an upgrade instruction sent by the network upgrade control device 40, an upgrade instruction forwarded by a third-party device different from the network upgrade control device 40, or an instruction sent by the third-party device after further processing the upgrade instruction of the network upgrade control device 40.
The power module 112 is a module for supplying power to the control processing device 111, and the power supplied by the power module 112 to the controller 111 may be from the high-voltage power supply 20.
Among them, the network upgrade control device 40 is a device capable of remotely transmitting a control instruction to the control processing device 111 and providing an upgrade package to the control processing device 111 to remotely control the control processing device 111 for upgrade. The network upgrade control device 40 may be a device that can be directly or indirectly connected to and communicate with the control processing device 111 through a local network, or may be a device that can be directly or indirectly connected to and communicate with the control processing device 111 through an online network such as an ethernet network.
During operation, the network upgrade control device 40 sends an upgrade instruction to the power module 10, the control processing device 111 in the control unit 110 of the power module 10 receives the upgrade instruction, and if the upgrade instruction carries an upgrade packet, the upgrade process may be executed according to the upgrade packet. If the upgrade instruction does not carry the upgrade package, the upgrade process is executed according to the obtained upgrade package after the upgrade package is obtained from the network upgrade control device 40.
Based on the control unit of the power module of the high-pressure energy storage valve system, the control processing equipment of the control unit of the power module can be in communication connection with the network upgrading control equipment to receive the upgrading instruction of the network upgrading control equipment to carry out upgrading operation, so that the control unit of the power module can be remotely upgraded, the upgrading efficiency of upgrading the control unit of the power module of the high-pressure energy storage valve system is improved, and the requirements of field operation are reduced.
According to some embodiments of the present application, referring to fig. 2, optionally, the control unit 110 may further include: a power switching module 113 and a low-voltage backup power supply 114;
the power supply switching module 113 is connected between the power supply module 112 and the high-voltage energy-taking power supply 20, is connected with the low-voltage standby power supply 114, and is used for switching the low-voltage standby power supply 114 or the high-voltage energy-taking power supply 20 to supply power to the power supply module 112;
the low-voltage standby power supply 114 is connected with the power supply switching module 113 and the high-voltage energy-taking power supply 20, and the low-voltage standby power supply 114 is charged by the high-voltage energy-taking power supply 20;
and a control processing device 111 for completing the upgrade process in a state where the power supply switching module 113 is switched to a state where the power supply module is supplied with power from the low-voltage backup power supply 114.
In this case, the power supply provided by the power module 112 to the control processing device 111 comes from the low-voltage standby power supply 114 or the high-voltage energy-obtaining power supply 20, and the switching of the power supply switching module 113 is used to implement whether the low-voltage standby power supply 114 provides power for the power module 112 or the high-voltage energy-obtaining power supply 20 provides power for the power module 112.
Under the condition that the power module 10 normally works, the power switching module 113 is switched to supply power to the power module 112 from the high-voltage energy-taking module 20, and when the control unit 110 of the power module 10 needs to be upgraded, the power switching module 113 is switched to supply power to the power module 112 from the low-voltage standby power supply 114.
In operation, the network upgrade control device 40 sends a control instruction to the power module 10, the control processing device 111 in the control unit 110 of the power module 10 receives the upgrade instruction, and the control power switching module 113 switches to the low-voltage standby power 114 to provide power for the power module 112, that is, low-voltage power supply of the power module 10 is realized, so as to complete the upgrade process. If the control instruction carries the upgrade package, the upgrade process can be executed according to the upgrade package. If the control instruction does not carry the upgrade package, the upgrade process is executed according to the obtained upgrade package after the upgrade package is obtained from the network upgrade control device 40. After the upgrading process is completed, the power switching module 113 is controlled to switch to the high-voltage energy-taking power supply 20 to supply power to the power module 112, that is, the high-voltage power supply of the power module 10 is realized, so that the power module 10 is in a high-voltage high-electromagnetic environment during normal operation.
Based on the control unit of the power module of the high pressure energy storage valve system that this application embodiment provided, the control processing equipment of the control unit of power module, can with network upgrading control device communication connection, carry out the upgrading operation with the upgrading instruction of receiving network upgrading control device, and when receiving the upgrading instruction, switch over to the control unit who is power module by low pressure stand-by power supply and supply power, and make and accomplish the upgrading process under the environment that low pressure stand-by power supply carries out the low pressure power supply, make can carry out remote upgrade to the control unit of power module, when improving upgrading efficiency, avoided carrying the problem that independent working power supply could accomplish when upgrading the control unit to power module, the requirement of field operation has been reduced, and the power supply reliability in the upgrading process has been improved.
According to some embodiments of the present application, optionally, the low-voltage backup power supply 114 comprises a charging module and an energy storage module connected to each other;
the charging module is connected with the high-voltage energy taking power supply and is used for charging the energy storage module;
the energy storage module is connected with the power supply switching module and used for providing power supply for the power supply module through the power supply switching module.
The charging module is a functional module capable of realizing a charging process, and can be realized by any device or circuit capable of realizing a charging function.
Therefore, the low-voltage standby power supply can supply power through the high-voltage energy-taking power supply without accessing an external power supply device, and the upgrading process of the control unit of the power module can be completed by supplying power to the control unit through the low-voltage power supply under the condition that the original high-voltage high-electromagnetism environment of the power module is not required to be adjusted.
According to some embodiments of the present application, optionally, the control processing device 111 is further configured to determine whether the low-voltage backup power supply 114 supplies power normally after receiving the upgrade instruction; under the condition that the power supply of the low-voltage standby power supply 114 is normal, the power supply switching module 113 is controlled to switch to the state that the low-voltage standby power supply 114 supplies power to the power supply module 112.
Therefore, under the condition that the low-voltage standby power supply can normally supply power, the power supply switching module is controlled to be switched to the state that the low-voltage standby power supply provides power for the power supply module, the influence of the fact that the low-voltage standby power supply cannot normally supply power and the power supply source of the power supply module is directly switched on the correctness of the upgrading process is avoided, and the accuracy of upgrading the control unit of the power module is improved.
According to some embodiments of the present application, optionally, the control processing device 111 is further configured to determine whether the high-voltage energy-extracting power source 20 is in a maintenance state if it is determined that the low-voltage backup power source 114 supplies power normally, and switch to supplying power to the power module by the low-voltage backup power source 114 if the high-voltage energy-extracting power source 20 is in the maintenance state.
The high-voltage energy-taking power supply 20 is in a maintenance state, which means that the power module 10 is in a power-off maintenance state, and the high-voltage energy-taking power supply 20 does not supply power to the power unit 120.
Therefore, when the upgrading instruction is received, under the condition that the high-voltage energy-taking power supply is determined to be in the overhauling state, the low-voltage standby power supply is switched to supply power for the control unit, and the upgrading process is completed. The influence on the correctness of the upgrading process caused by the fact that the power module is in a high-voltage high-electromagnetism environment under the condition that the high-voltage energy-taking power supply supplies power to the control unit of the power module is avoided, and the accuracy of upgrading the control unit of the power module is improved.
According to some embodiments of the present application, as shown with reference to fig. 3, 4, optionally, the control processing device 111 comprises a controller 1111;
the controller 1111 is connected to the network upgrade control device 40 through the valve control device 50, and the controller 1111 receives the upgrade instruction sent by the network upgrade control device 40 through the valve control device 50 and completes the upgrade process in response to the upgrade instruction.
Further, in the case where the control unit includes the power switching module 113 and the low-voltage backup power 114, the controller 1111 also controls the power switching module 113 to switch to supply power to the power module 112 from the low-voltage backup power 114 in response to the upgrade instruction, and then completes the upgrade process in the case where the low-voltage backup power 114 supplies power to the power module 112.
Therefore, the upgrading instruction of the network upgrading control equipment can be received through the valve control device by multiplexing the valve control device of the high-pressure energy storage valve system, and the remote upgrading process of the power unit of the power module can be realized without adjusting the framework of the high-pressure energy storage valve system.
According to some embodiments of the present application, optionally, the controller 1111 is connected to the valve control apparatus 50 through a serial port, and the valve control apparatus 50 is connected to the network upgrade control device 40 through an ethernet interface.
The serial port is an extension interface adopting a serial communication mode, the communication line is simple, and bidirectional communication can be realized by only one pair of transmission lines. In power systems, serial interfaces are typically employed to enable connection and communication between devices.
Therefore, the controller is connected with the valve control device through the serial port, the serial port connection relation of the valve control device can be directly multiplexed, the framework of the high-pressure energy storage valve system does not need to be adjusted, and the upgrading process of the control unit of the power module can be remotely realized.
According to some embodiments of the present application, optionally, the controller 1111 is further configured to receive the service data through the valve control device 50, and perform service processing according to the service data.
The service data refers to data that needs to be interacted or processed with the control unit of the power module 10 during the operation of the power system, such as data for controlling the control unit of the power module, and further, for example, monitoring data obtained by monitoring during the operation of the power module 10 is sent to the upper computer through the valve control device 50, and then the upper computer analyzes the monitoring data and combines the data sent by the analysis result. Of course, in other embodiments, other service data related to the power module 10 during the operation of the power system may be also possible. The upper computer may be the network upgrade control device 40, or may be a device different from the network upgrade control device 40.
Therefore, the valve control device can send the service data of the upper computer to the controller and send the upgrading instruction of the network upgrading control equipment to the controller through the multiplexing valve control device, normal service processing of the control unit of the power module can be realized without adjusting the framework of the high-pressure energy storage valve system, and a remote upgrading function can be realized.
According to some embodiments of the present application, referring to fig. 5, 6, optionally, the control processing device 111 comprises a controller 1111 and a first processor 1112 connected to each other;
the controller 1111 is connected to the power unit 120 and the power module 112, and configured to control a switching state of the power unit 120;
the first processor 1112 is connected to the network upgrade control device 40, and is configured to receive an upgrade instruction sent by the network upgrade control device 40, and complete an upgrade process for the controller in response to the upgrade instruction.
Further, in the case that the control unit includes the power supply switching module 113 and the low-voltage backup power supply 114, the first processor 1112 also controls the power supply switching module 113 to switch to supply power to the power supply module 112 from the low-voltage backup power supply 114 in response to the upgrade instruction, and controls the upgrade process to the controller 1111 to be completed in the case that the power supply module 112 is supplied from the low-voltage backup power supply 114.
Wherein the first processor is a device that performs operations and control. In some embodiments, the first processor 1112 can be implemented by a microprocessor, which is a central processing unit composed of one or a few large scale integrated circuits, and these circuits perform the functions of the control unit and the arithmetic logic unit, and have the advantages of small size, light weight, and easy modularization, so that the control unit can be conveniently implemented.
Therefore, the control unit can be connected with the network upgrading control equipment through the first processor to receive the control instruction of the network upgrading control equipment, the upgrading process of the control unit of the power module is controlled through the first processor, the existing service processing process of the controller is not influenced, and the processing efficiency of the upgrading process of the control unit of the power module can be improved.
According to some embodiments of the present application, the first processor 1112 is optionally connected to the network upgrade control device 40 through an ethernet interface.
An ethernet interface is a port that enables the transmission of network data in an ethernet protocol. The ethernet interface may be implemented by various possible ethernet interfaces, such as an SC fiber interface, an RJ45 interface, an FDDI interface, an AUI interface, a BNC interface, a Console interface, and the like.
Therefore, under the condition that the first processor of the control unit is connected with the network upgrading control device through the Ethernet interface, any device capable of carrying out Ethernet communication can be adopted, the upgrading process of the control unit of the power module is controlled remotely, and the convenience of upgrading the control unit of the power module is improved.
According to some embodiments of the present application, optionally, the first processor 1112 is further configured to receive an upgrade package sent by the network upgrade control device 40, check the upgrade package, and complete an upgrade process for the controller based on the upgrade package after the upgrade package passes the check.
The upgrade package is a data package containing data to be upgraded, and may be a full upgrade package or an enhanced upgrade package. The full upgrade package is a data package containing all data of the upgraded application program, and the incremental upgrade package is a data package only containing data of the upgraded application program which is different from the application program before upgrading. By sending the incremental data packet, the data volume of the data packet sent from the network upgrade control device to the power module can be reduced, which is beneficial to improving the transmission speed and the upgrade efficiency.
The verification of the upgrade package may include verification of a signature of a data package of the upgrade package and verification of integrity of the upgrade package, and the specific verification mode may be implemented in any possible data verification mode.
Therefore, after receiving the upgrade package sent by the network upgrade control equipment, the first processor also checks the upgrade package, and finishes the upgrade after the upgrade package passes the check. Therefore, even under the environment that the power unit processes high voltage and high electromagnetism, the first processor completes the upgrading process under the condition that the upgrading package is determined to be correct, and the service processing process of the control unit is not influenced.
According to some embodiments of the present application, optionally, as shown with reference to fig. 7, 8, the control processing device 111 includes a controller 1111; the controller 1111 is connected to the network upgrade control apparatus 40 through the second processor 60.
In some embodiments, the controller 1111 receives the upgrade instruction sent by the second processor 60, and completes the upgrade process in response to the upgrade instruction.
In some embodiments, the second processor 60 receives an upgrade instruction sent by the network upgrade control device 40, and completes the upgrade process for the controller 1111 in response to the upgrade instruction.
Further, in the case that the control unit includes the power switching module 113 and the low-voltage backup power 114, the controller 1111 also controls the power switching module 113 to switch to supply power to the power module 112 from the low-voltage backup power 114 in response to the upgrade instruction, and the controller 1111 or the second processor 60 completes the upgrade process for the controller 1111 in the case that the low-voltage backup power 114 supplies power to the power module 112.
Therefore, the control unit can be connected with the network upgrading control equipment through the first processor to receive the control instruction of the network upgrading control equipment, the upgrading process of the control unit of the power module is controlled through the first processor, the existing service processing process of the controller is not influenced, and the processing efficiency of the upgrading process of the control unit of the power module can be improved.
The second processor 60 is a device that performs operations and control. In some embodiments, the second processor 60 may be implemented using a central processor, thereby facilitating control of the upgrade process of the control units of multiple power modules by the same second processor 60.
According to some embodiments of the present application, the second processor 1112 is optionally connected to the network upgrade control device 40 via an ethernet interface and to the controller 1111 via a serial port.
An ethernet interface is a port that enables the transmission of network data in an ethernet protocol. The ethernet interface may be implemented by various possible ethernet interfaces, such as an SC fiber interface, an RJ45 interface, an FDDI interface, an AUI interface, a BNC interface, a Console interface, and the like.
According to some embodiments of the present application, optionally, the controller 1111 comprises a first memory area and a second memory area;
in a state where the controller 1111 runs the application program in the first storage area, the first processor 1112 stores the application program data packet to the second storage area in response to the upgrade instruction, completes the upgrade process, and controls the controller to switch to run from the application program data packet in the second storage area after the upgrade is completed.
The storage area is an area in the controller that can be used to store data. In some embodiments, the first storage area may be an operation data storage area for storing information to which the application program of the controller needs to be applied during operation, and in some embodiments, the first storage area may be a cache storage area to ensure the normal operation of the controller. The second storage area is used for storing relevant program data information of the application program.
Therefore, in the process of upgrading the control unit of the power module, the upgrading process can be completed under the condition that the control unit of the power module operates, and the control unit of the power module is switched to the program corresponding to the new application program data packet to operate after the upgrading is completed, so that the processing process of the control unit of the power module in the upgrading process can not be influenced.
Based on the embodiments of the present application as described above, the present application further provides a high pressure energy storage valve system.
In some of these embodiments, the high pressure tank valve system comprises several power modules, at least one of which comprises the control unit 110 of any of the embodiments above.
In some of these embodiments, the high pressure tank valve system comprises a second processor and a number of power modules, any one of said power modules comprising a control unit and a power unit;
the control unit is connected with the power unit of the power module where the control unit is located and used for controlling the switching state of the power unit;
and the second processor is connected with the control units of the power modules, is connected with the network upgrading control equipment through a network, and is used for receiving upgrading instructions of the network upgrading control equipment and finishing the upgrading process of at least one control unit according to the upgrading instructions.
According to some embodiments of the present application, the specific implementation manner of the control unit may be the same as that of the control unit in each embodiment described above. For example, in some embodiments, the control unit comprises: the device comprises a control processing device, a power supply module, a power supply switching module and a low-voltage standby power supply;
the control processing equipment is connected with the power unit and used for controlling the switching state of the power unit;
the power supply module is used for supplying power to the control processing equipment;
the power supply switching module is connected with the control processing equipment, the power supply switching module, the low-voltage standby power supply and the high-voltage energy-taking power supply and is used for switching the low-voltage standby power supply or the high-voltage energy-taking power supply to provide power for the power supply module;
the low-voltage standby power supply is connected with the power supply switching module and the high-voltage energy-taking power supply and is charged by the high-voltage energy-taking power supply;
and the second processor is used for finishing the upgrading process of the corresponding control unit when the power supply switching module of the corresponding control unit is switched to a state that the low-voltage standby power supply provides power for the power supply module.
In the following, the network upgrade control device 40 is exemplified by a power module upgrade workbench, and the controller 1111 is an FPGA, and is exemplified by combining a high-pressure energy storage valve system in several embodiments.
According to some embodiments of the present application, reference is made to fig. 9, which is a schematic structural diagram of a high pressure charging valve system according to some embodiments of the present application. In the example shown in fig. 9, the description is given taking as an example that the control processing device of the control unit 110 includes a controller and a first processor connected to each other. In this embodiment, the network 30 may be a remote upgrade network.
Wherein the power module upgrade workbench serves as a network upgrade control device 40 for sending control instructions to the control unit and providing upgrade packages to the control unit.
In some embodiments of the present application, the power module upgrade stage may be a user terminal device. In other embodiments of the present application, the power module upgrade workstation may be implemented by a server (e.g., a cloud server), and meanwhile, the power module upgrade workstation may provide a user interface interacting with a user, where the user may send an upgrade instruction to the power module upgrade workstation through the user interface, and after receiving the upgrade instruction, the power module upgrade workstation sends the upgrade instruction to the control unit 110, and may provide an upgrade package to the control unit 110 to instruct the control unit 110 to complete an upgrade process.
In fig. 9, the remote upgrade network may be implemented in conjunction with an existing communications network, such as an existing ethernet communications network. For example, taking an RJ45 interface connection as an example, in some embodiments, the power module upgrade workstation and the remote upgrade network may be connected through an RJ45 electrical ethernet. The remote upgrading network and the first processor of the control unit of the power module can be connected through the RJ45 optical Ethernet to complete the processing of upgrading commands and data. Thus, the power module upgrade station may be connected to the control unit via an ethernet network, and the control unit may be configured with a first processor having an ethernet interface to enable communication with the remote network upgrade control device 40.
The first processor 1112 is configured to receive an upgrade instruction sent by the network upgrade control device 40 and configure a software program of the controller 1111, so as to download an upgrade package of a software program of the FPGA to the FPGA and complete an upgrade process of the FPGA.
And a power switching module 113, wherein the power switching module 113 can be connected to the high-voltage energy-taking power supply 20, can be connected to the low-voltage standby power supply 114, and can switch power supplies of the high-voltage energy-taking power supply 20 and the low-voltage standby power supply 114. In fig. 7, the power switching module 113 may switch the power supply modes of the high-voltage energy-obtaining power supply 20 and the low-voltage standby power supply 114 according to the control of the first processor.
The low-voltage backup power supply 114 can provide low-voltage power for the power supply module 112 through the power supply switching module 113. In some embodiments, the low voltage backup power supply 114 may be a lithium battery capable of supporting both charging and discharging functions. In some embodiments, the charging voltage at which the low voltage backup power supply 114 is charged and the discharging voltage at which the low voltage backup power supply 114 is discharged may be different. For example, in some embodiments, the charging voltage for charging the low voltage backup power supply 114 may be 24V, and the discharging voltage for discharging the low voltage backup power supply 114 may be 12V.
In some embodiments, in the operation process of the power module, the high-voltage energy-taking power supply 20 can provide a 12V power supply for the FPGA as a working power supply of the working unit of the control unit, so that the FPGA can normally work when the power module operates.
Referring to fig. 10, a schematic diagram of a high pressure accumulator valve system according to some embodiments of the present application is shown. In this embodiment, it is exemplified that the control processing device of the control unit 110 includes a controller, and the network upgrade control device 40 sends the upgrade instruction to the FPGA by multiplexing the valve control device 50. In this embodiment, the network 30 may be a local monitoring network.
Wherein the power module upgrade workbench serves as a network upgrade control device 40 for sending control instructions to the control unit and providing upgrade packages to the control unit.
In fig. 10, the local monitoring network may be an existing network of the power system, wherein, for example, an RJ45 interface connection is used between the power module upgrade workstation and the local monitoring network, and the RJ45 electrical ethernet connection may be used. The local monitoring network and the valve control device 50 may be connected via an ethernet network, for example, an RJ45 ethernet connection. The valve control device 50 and the FPGA can be connected through a serial network, for example, an optical serial network. Therefore, by multiplexing the data communication serial network between the power module in the high-voltage energy storage valve and the valve control device 50, the transmission of the remote upgrade instruction and the transmission of the upgrade package can be completed without additional independent networking.
Other implementations of the high pressure stored energy valve system of the embodiment shown in fig. 10 may be the same as those of the embodiment shown in fig. 7, and are not described herein again.
According to some embodiments of the present application, reference is made to fig. 11, which is a schematic illustration of a high pressure charging valve system according to other embodiments of the present application. In this embodiment, the high-pressure tank valve system includes a second processor, the second processor is connected to the control units of the plurality of power modules, and the control processing device of the control unit 110 includes a controller. In this embodiment, the network 30 may be a remote upgrade network.
In fig. 11, the remote upgrade network may be implemented in conjunction with an existing communications network, such as an existing ethernet communications network.
Wherein one second processor 60 may be connected to the control units of the plurality of power modules, thereby implementing the control of the control units of the plurality of power modules by one second processor.
In some implementations, the second processor 60 is configured to receive an upgrade instruction sent by the network upgrade control device 40 and the software program configuration of the controller 1111, and send an upgrade package of the software program of the FPGA to the FPGA, so that the FPGA completes the upgrade process.
In some implementations, the second processor 60 is configured to receive an upgrade instruction sent by the network upgrade control device 40, and configure a software program of the controller 1111, so as to download an upgrade package of a software program of the FPGA to the FPGA and complete an upgrade process of the FPGA. That is, the second processor 60 completes the upgrade process of the FPGA based on the upgrade package of the software program of the FPGA.
The upgrade instruction sent by the network upgrade control device 40 and received by the second processor may carry at least one power unit identifier. And the second processor sends the upgrade package to at least one FPGA corresponding to at least one power unit identifier according to the upgrade instruction, and the at least one FPGA completes the upgrade process. And the second processor completes the upgrading process of the FPGA corresponding to at least one power unit identifier according to the upgrading instruction and the upgrading instruction. Therefore, batch upgrading of the control units of a plurality of power modules can be completed through the second processor, and upgrading of the control unit of a single power module as required can also be completed.
Based on the embodiment described above, referring to fig. 12, an embodiment of the present application further provides a method for upgrading a control unit of a power module of a high-pressure energy storage valve system, where the method includes:
step S101: receiving an upgrading instruction of network upgrading control equipment;
step S102: and responding to the upgrading instruction, and finishing the upgrading process according to the upgrading instruction.
Optionally, according to some embodiments of the present application, in response to the upgrade instruction, completing an upgrade process according to the upgrade instruction, including:
in response to the upgrade instruction, writing upgrade data into a data backup area of the control unit;
and after the control unit is controlled to be restarted, finishing the upgrading process of the control unit based on the upgrading data of the data backup area.
Wherein, when the upgrade data is written in the data backup area of the control unit, in combination with the example of the control unit as described above, in the example of the control unit shown in fig. 3 and 4, the controller 1111 may write the upgrade data in the data backup area of the controller 1111, in the example of the control unit shown in fig. 5 and 6, the upgrade process may be performed by the first processor 1112, the first processor 1112 writes the upgrade data in the data backup area of the controller 1111, and in the example of the control unit shown in fig. 7 and 8, the upgrade process may be performed by the second processor 60, and the second processor 60 writes the upgrade data in the data backup area of the controller 1111 of the corresponding control unit 110.
The writing of the upgrade data into the data backup area of the control unit may be performed during the normal operation of the control unit 110, that is, the upgrade data is written into the data backup area of the control unit without affecting the normal operation of the control unit 110.
Therefore, in the process of upgrading the control unit, the upgrading data is written into the data backup area of the control unit, after the control unit is restarted, the control unit is upgraded based on the upgrading data stored in the data backup area, and the success rate of the upgrading process is improved.
According to some embodiments of the present application, optionally, writing upgrade data into a data backup area of the control unit in response to the upgrade instruction, includes:
responding to an upgrading instruction, and acquiring upgrading data;
carrying out correctness verification and/or integrity verification on the upgrade data to obtain a verification result;
and when the verification result is that the verification is passed, writing the upgrade data into the data backup area of the control unit.
The upgrading method and the upgrading device can be realized by combining different technical requirements when upgrading data is acquired in response to an upgrading instruction. In some embodiments, the upgrade package may be carried in the upgrade instruction, and the upgrade package is obtained while the upgrade instruction is obtained, and the upgrade package is analyzed to obtain the upgrade data. In other embodiments, the upgrade package may be requested to be downloaded to the upgrade package download address based on the upgrade instructions after the upgrade instructions are obtained. The upgrade package download address may be pre-stored in the device executing the upgrade process, for example, the controller 1111 shown in fig. 3 and 4, the first processor 1112 shown in fig. 5 and 6, and the second processor 60 shown in fig. 7 and 8. The upgrade package download address may also be carried in the upgrade instruction, so as to download the upgrade package from the upgrade package download address specified by the network upgrade control device. In other embodiments, the upgrade package may be obtained directly from the network upgrade control device after obtaining the upgrade instruction. And after the upgrade package is obtained, analyzing the upgrade package to obtain upgrade data. It should be understood that in other embodiments, the upgrade data may be obtained in other manners.
When verifying the correctness of the upgrade data, the method is used for verifying whether the received upgrade data is correct, for example, whether the upgrade data has error data. When the verification is specifically performed, the verification may be performed in any possible manner, and the embodiment of the present application is not particularly limited.
When integrity verification is performed on the upgrade data, the integrity verification is performed on the received upgrade data, for example, whether the upgrade data has a omission or not is performed. When the verification is specifically performed, the verification may be performed in combination with any possible integrity verification manner, and the embodiment of the present application is not particularly limited.
Therefore, after the upgrade data is obtained, under the condition that the correctness and/or integrity of the upgrade data passes verification, the upgrade data is written into the data backup area of the control unit, the upgrade data written into the data backup area is ensured to be correct, the situation that the upgrade process is abnormal due to the abnormality of the upgrade data to cause upgrade failure is avoided, and the upgrade efficiency is improved.
According to some embodiments of the present application, optionally, the completing, in response to the upgrade instruction, an upgrade process according to the upgrade instruction includes:
responding to the upgrading instruction, and switching to a low-voltage standby power supply to supply power to the control unit;
and finishing the upgrading process in the state that the low-voltage standby power supply supplies power to the control unit.
In some embodiments, after the control unit is restarted in response to the upgrading instruction, the control unit is switched to be powered by the low-voltage standby power supply. The upgrading process of the control unit is performed in a low-voltage power supply environment, so that the success rate and the safety of the upgrading process are ensured.
According to some embodiments of the application, optionally, the switching to supplying power to the control unit from the low-voltage standby power supply in response to the upgrade instruction includes:
determining whether the low-voltage standby power supply supplies power normally or not in response to the upgrading instruction;
and under the condition that the low-voltage standby power supply is normal, switching to the state that the low-voltage standby power supply supplies power to the control unit.
According to some embodiments of the application, optionally, the switching to supplying power to the control unit from the low-voltage standby power supply in response to the upgrade instruction includes:
in response to the upgrading instruction, determining whether the high-voltage energy-taking power supply is in a maintenance state;
and under the condition that the high-voltage energy-taking power supply is in a maintenance state, switching to a low-voltage standby power supply to supply power for the control unit.
According to some embodiments of the application, optionally, the method further comprises:
after the upgrade is completed, the control unit supplies power by switching to a high-voltage energy-taking power supply, wherein the high-voltage energy-taking power supply is used in the power supply process of the control unit, and the high-voltage energy-taking power supply charges the low-voltage standby power supply.
According to some embodiments of the present application, optionally, the upgrade order carries at least one power unit identifier; the step of responding to the upgrading instruction and completing the upgrading process according to the upgrading instruction comprises the following steps:
and responding to the upgrading instruction, and completing the upgrading process of the power unit corresponding to at least one power unit identification.
Based on the embodiments described above, the following description is given with reference to a specific upgrade process.
Referring to fig. 13, in a state where the power module exits from the maintenance and online operation, if an upgrade instruction is received, it is determined whether the power supply of the low-voltage backup power supply is normal, and if the power supply is not normal, it indicates that the low-voltage backup power supply is not enough to support the upgrade process of the control unit of the power module, so as to reply to the network upgrade control device a reject upgrade message, where the reject upgrade message may include a message that the reason for rejecting the upgrade is that the power supply of the low-voltage backup power supply is abnormal.
If the power supply of the low-voltage standby power supply is normal, whether the high-voltage energy-taking power supply is normal or not is further judged, and whether the power module is in a maintenance state or not is judged. If the high-voltage energy-taking power supply is abnormal or the power module is not in the overhaul state, it indicates that power supply abnormality may exist or a risk of upgrading in a high-voltage high-electromagnetic environment may exist, and therefore upgrading cannot be performed, so that the network upgrading control device is replied to reject upgrading information, and the reject upgrading information may include information that the reason for rejecting upgrading is that the high-voltage energy-taking power supply is abnormal or the power module is not in the overhaul state.
If the high-voltage energy-taking power supply is normal and the power module is in the maintenance state, the upgrading process is determined to be executed, so that the low-voltage standby power supply is switched to supply power to the control unit, the FPGA is informed to prepare software upgrading, and meanwhile, the upgrading readiness of the network upgrading control equipment is replied.
And after receiving the information of the ready upgrading, the network upgrading control equipment sends an upgrading packet to be carried out to the control unit. After receiving the upgrade package, the control unit may perform an upgrade process based on the upgrade package.
Before the control unit executes a specific upgrading process, the integrity of the upgrading packet can be verified, and after the integrity of the upgrading packet is determined through verification, the upgrading process can be executed. If the verified upgrade package is incomplete, information of upgrade errors of the network upgrade control device can be replied, wherein the information of the upgrade errors can include information that the upgrade package fails to be verified.
And if the integrity of the upgrade package passes the verification, executing a specific upgrade process. In the upgrading process, if incorrect information of the upgrading process occurs, information of upgrading errors of the network upgrading control equipment can be replied, wherein the information of upgrading errors can contain the information of upgrading process errors.
After the upgrade of the upgrade package is completed, whether the device is automatically restarted after the upgrade is completed is monitored. If the automatic restart is not carried out, whether the information that the maintenance personnel confirm the manual start equipment is received or not is confirmed, if the information is not received, the FPGA is informed again to prepare software upgrading, and the upgrading process is executed again.
If the equipment is automatically restarted after the upgrading is finished, or the information that maintenance personnel confirm that the equipment is manually started is received although the equipment is not automatically restarted, the upgrading is confirmed to be finished, and the upgraded program data are stored.
And after the program data is stored, whether the initialization is correct after restarting is confirmed, if the initialization is incorrect, the FPGA is informed again to prepare software upgrading, and the upgrading process is executed again.
If the initialization is correct, whether the power supply of the high-voltage energy-taking power supply is normal is further confirmed, if the power supply is normal, the high-voltage energy-taking power supply is switched to the power supply of the high-voltage energy-taking power supply, the maintenance state is quitted, and therefore the upgrading process is finished.
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 performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. 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 rotated or alternated 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 an upgrading apparatus for a control unit of a power module of a high-pressure energy storage valve system, which is used for implementing the above-mentioned upgrading method for a control unit of a power module of a high-pressure energy storage valve system. 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 the following embodiment of the upgrading device for the control unit of the power module of one or more high-pressure energy storage valve systems can be referred to the limitations in the above upgrading method for the control unit of the power module of the high-pressure energy storage valve system, and details are not repeated here.
In one embodiment, as shown in fig. 8, there is provided an upgrading apparatus of a power module of a high pressure tank valve system, including: an instruction receiving module 801, an image processing module 802, and a signal output module 803.
An instruction receiving module 141, configured to receive an upgrade instruction of a network upgrade control device;
and the upgrade control module 142 is configured to respond to the upgrade instruction and complete an upgrade process according to the upgrade instruction.
According to some embodiments of the present application, optionally, the apparatus further comprises a power supply switching module:
the power supply switching module is used for responding to the upgrading instruction and switching to a low-voltage standby power supply to supply power to the control unit;
and the upgrading control module 142 is used for completing the upgrading process in the state that the low-voltage standby power supply supplies power to the control unit.
According to some embodiments of the present application, optionally, the power supply switching module is further configured to determine whether the low-voltage standby power supply supplies power normally in response to the upgrade instruction; and under the condition that the low-voltage standby power supply is normal, switching to the state that the low-voltage standby power supply supplies power to the control unit.
According to some embodiments of the present application, optionally, the power supply switching module is further configured to determine whether the high-voltage energy-taking power supply is in a maintenance state in response to the upgrade instruction; and under the condition that the high-voltage energy-taking power supply is in a maintenance state, switching to a low-voltage standby power supply to supply power for the control unit.
According to some embodiments of the application, optionally, the power supply switching module is further configured to switch to supply power to the control unit by using the high-voltage energy-obtaining power supply after the upgrade is completed, wherein the high-voltage energy-obtaining power supply charges the low-voltage standby power supply in a process of supplying power to the control unit by using the high-voltage energy-obtaining power supply.
According to some embodiments of the present application, optionally, the upgrade instruction carries at least one power unit identifier, and the upgrade control module 142 is configured to, in response to the upgrade instruction, complete an upgrade process for a power unit corresponding to the at least one power unit identifier.
The modules in the upgrading device of the control unit of the power module of the high-pressure tank valve system can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the electronic device, or can be stored in a memory in the electronic device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, an electronic device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 15. The electronic device includes a processor, a memory, a communication interface, and an input device connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the electronic device is used for communicating with an external device in a wired or wireless mode, for example, when the communication interface is an ethernet interface, the communication interface can be communicated with an upper computer, when the communication interface is a serial interface, the communication interface can be connected with the valve control device 40 to communicate with the upper computer, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of upgrading a control unit of a power module of a high pressure tank valve system. The input device of the electronic device may be a touch layer covered on a display screen, a key, a track ball or a touch pad arranged on a shell of the electronic device, or an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the structure shown in fig. 15 is a block diagram of only a portion of the structure relevant to the present application, and does not constitute a limitation on the electronic device to which the present application is applied, and a particular electronic device may include more or less components than those shown in the drawings, or combine certain components, or have a different arrangement of components.
In an embodiment, there is provided an electronic device comprising a memory in which a computer program is stored and a processor which, when executing the computer program, carries out the steps of the method of upgrading a control unit of a power module of a high pressure tank valve system as in any of the embodiments described above.
In an embodiment, a computer readable storage medium is provided, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of upgrading a control unit of a power module of a high pressure tank valve system as in any of the embodiments described above.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the steps of the method for upgrading the control unit of the power module of the high pressure energy storage valve system of any of the embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present disclosure, and the present disclosure should be construed as being covered by the claims and the specification. In particular, the technical features mentioned in the embodiments can be combined in any way as long as there is no structural conflict. The present application is not intended to be limited to the particular embodiments disclosed herein but is to cover all embodiments that may fall within the scope of the appended claims.

Claims (25)

1. A control unit of a power module of a high pressure tank valve system, the power module comprising the control unit and a power unit, characterized in that the control unit comprises: controlling a processing device and a power supply module;
the control processing equipment is connected with the power unit, is connected with the network upgrading control equipment through a network, is used for controlling the switching state of the power unit, and finishes the upgrading process according to the upgrading instruction when receiving the upgrading instruction from the network upgrading control equipment;
the power module is connected with the control processing equipment and the high-voltage energy-taking power supply, and the high-voltage energy-taking power supply provides power for the control processing equipment through the power module.
2. The control unit of claim 1, further comprising: the power supply switching module and the low-voltage standby power supply;
the power supply switching module is connected between the power supply module and the high-voltage energy-taking power supply, is connected with the low-voltage standby power supply, and is used for switching the low-voltage standby power supply or the high-voltage energy-taking power supply to provide power for the power supply module;
the low-voltage standby power supply is connected with the power supply switching module and the high-voltage energy-taking power supply, and the low-voltage standby power supply is charged by the high-voltage energy-taking power supply;
the control processing equipment is used for completing the upgrading process when the power supply switching module is switched to a state that the low-voltage standby power supply provides power for the power supply module.
3. The control unit of claim 2, wherein:
the low-voltage standby power supply comprises a charging module and an energy storage module which are connected with each other;
the charging module is connected with the high-voltage energy taking power supply and is used for charging the energy storage module;
the energy storage module is connected with the power supply switching module and used for providing power for the power supply module through the power supply switching module.
4. The control unit of claim 2, wherein:
the control processing equipment is further used for determining whether the low-voltage standby power supply supplies power normally or not after receiving the upgrading instruction; and under the condition that the power supply of the low-voltage standby power supply is normal, the power supply switching module is controlled to be switched to the state that the low-voltage standby power supply provides power for the power supply module.
5. The control unit of claim 4, wherein:
the control processing equipment is also used for determining whether the high-voltage energy-taking power supply is in a maintenance state or not under the condition that the power supply of the low-voltage standby power supply is normal, and switching to the low-voltage standby power supply to provide power for the power module under the condition that the high-voltage energy-taking power supply is in the maintenance state.
6. The control unit of any one of claims 1 to 5, wherein the control processing device comprises a controller;
the controller is connected with the network upgrading control equipment through a valve control device, receives an upgrading instruction sent by the network upgrading control equipment through the valve control device, and responds to the upgrading instruction to complete the upgrading process.
7. The control unit of claim 6, wherein the controller is connected to the valve control device via a serial port, and the valve control device is connected to the network upgrade control apparatus via an Ethernet interface.
8. The control unit of claim 6, wherein:
the controller is also used for receiving the service data through the valve control device and carrying out service processing according to the service data.
9. The control unit of any one of claims 1 to 5, wherein the control processing device comprises a controller and a first processor connected to each other;
the controller is connected with the power unit and the power module and is used for controlling the switching state of the power unit;
the first processor is connected with the network upgrading control equipment and used for receiving an upgrading instruction sent by the network upgrading control equipment and responding to the upgrading instruction to complete the upgrading process of the controller.
10. The control unit of claim 9, wherein the first processor is coupled to the network upgrade control device via an ethernet interface.
11. The control unit of claim 9, wherein:
the first processor is further configured to receive an upgrade package sent by the network upgrade control device, verify the upgrade package, and complete an upgrade process for the controller based on the upgrade package after the upgrade package is verified.
12. The control unit of any one of claims 1 to 5, wherein the control processing device comprises a controller;
the controller is connected with the network upgrading control device through a second processor, the second processor receives an upgrading instruction sent by the network upgrading control device, and the upgrading process of the controller is completed in response to the upgrading instruction.
13. A method of upgrading a control unit of a power module of a high pressure tank valve system, the method comprising:
receiving an upgrading instruction of network upgrading control equipment;
and responding to the upgrading instruction, and finishing the upgrading process according to the upgrading instruction.
14. The method of claim 13, wherein said performing an upgrade procedure in accordance with the upgrade instructions in response to the upgrade instructions comprises:
in response to the upgrading instruction, writing upgrading data into a data backup area of the control unit;
and after the control unit is controlled to be restarted, finishing the upgrading process of the control unit based on the upgrading data of the data backup area.
15. The method of claim 14, wherein said writing upgrade data to a data backup area of the control unit in response to the upgrade instruction comprises:
responding to the upgrading instruction, and acquiring upgrading data;
carrying out correctness verification and/or integrity verification on the upgrading data to obtain a verification result;
and when the verification result is that the verification is passed, writing the upgrade data into a data backup area of the control unit.
16. The method of any of claims 13 to 15, wherein said performing an upgrade procedure in accordance with the upgrade instruction in response to the upgrade instruction comprises:
responding to the upgrading instruction, and switching to a low-voltage standby power supply to supply power to the control unit;
and finishing the upgrading process in the state that the low-voltage standby power supply supplies power to the control unit.
17. The method of claim 16, wherein said switching to powering the control unit from a low voltage backup power source in response to the upgrade instructions comprises:
determining whether the high-voltage energy-taking power supply is in a maintenance state or not in response to the upgrading instruction;
and under the condition that the high-voltage energy-taking power supply is in a maintenance state, switching to a low-voltage standby power supply to supply power for the control unit.
18. The method of any of claims 13 to 16, wherein the upgrade instructions carry at least one power cell identification; the step of responding to the upgrading instruction and completing the upgrading process according to the upgrading instruction comprises the following steps:
and in response to the upgrading instruction, completing the upgrading process of the power unit corresponding to at least one power unit identification.
19. An apparatus for upgrading a control unit of a power module of a high pressure tank valve system, the apparatus comprising:
the instruction receiving module is used for receiving an upgrading instruction of the network upgrading control equipment;
and the upgrading control module is used for responding to the upgrading instruction and finishing the upgrading process according to the upgrading instruction.
20. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 13 to 18 when executing the computer program.
21. 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 13 to 18.
22. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 13 to 18 when executed by a processor.
23. A high pressure tank valve system, characterized by comprising several power modules, at least one of said power modules comprising a control unit according to any of claims 1 to 12.
24. A high pressure stored energy valve system, comprising: the system comprises a second processor and a plurality of power modules, wherein any one power module comprises a control unit and a power unit;
the control unit is connected with the power unit and used for controlling the switching state of the power unit;
the second processor is connected with the control units of the power modules, is connected with the network upgrading control equipment through a network, and is used for receiving upgrading instructions of the network upgrading control equipment and finishing the upgrading process of at least one control unit according to the upgrading instructions.
25. The system of claim 24, wherein the control unit comprises: the device comprises a control processing device, a power supply module, a power supply switching module and a low-voltage standby power supply;
the control processing equipment is connected with the power unit and used for controlling the switching state of the power unit;
the power supply module provides power supply for the control processing equipment;
the power supply switching module, the control processing equipment, the power supply switching module, the low-voltage standby power supply and the high-voltage energy-obtaining power supply are used for switching the low-voltage standby power supply or the high-voltage energy-obtaining power supply to provide power for the power supply module;
the low-voltage standby power supply is connected with the power supply switching module and the high-voltage energy-taking power supply, and the low-voltage standby power supply is charged by the high-voltage energy-taking power supply;
the second processor is configured to complete an upgrade process of the corresponding control unit when the power supply switching module of the corresponding control unit is switched to a state in which the low-voltage standby power supply provides power for the power supply module.
CN202211448027.8A 2022-11-18 2022-11-18 High-pressure energy storage valve system, control unit of power module of high-pressure energy storage valve system and upgrading method of control unit Pending CN115842405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211448027.8A CN115842405A (en) 2022-11-18 2022-11-18 High-pressure energy storage valve system, control unit of power module of high-pressure energy storage valve system and upgrading method of control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211448027.8A CN115842405A (en) 2022-11-18 2022-11-18 High-pressure energy storage valve system, control unit of power module of high-pressure energy storage valve system and upgrading method of control unit

Publications (1)

Publication Number Publication Date
CN115842405A true CN115842405A (en) 2023-03-24

Family

ID=85575705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211448027.8A Pending CN115842405A (en) 2022-11-18 2022-11-18 High-pressure energy storage valve system, control unit of power module of high-pressure energy storage valve system and upgrading method of control unit

Country Status (1)

Country Link
CN (1) CN115842405A (en)

Similar Documents

Publication Publication Date Title
US7831860B2 (en) System and method for testing redundancy and hot-swapping capability of a redundant power supply
CN102722420B (en) Self-diagnosis terminal, detection method and remote maintenance system
CN109654666B (en) Method, device and equipment for debugging unit
CN103455352B (en) The method of application deployment software and application software dispose device
CN106445613B (en) code upgrading method and system
CN103677946A (en) Method and system for updating elevator device control programs
CN104503782A (en) Method for remote software upgrading of in-situ relay protection device
CN110192321A (en) The method for updating program of electronic device and electronic device
CN105630555A (en) On-line upgrading method and device for software in control chip
EP4394583A1 (en) Charging stand, charging stand upgrading method and apparatus, device, and storage medium
CN107656751A (en) User program upgrade method and device
CN110727255A (en) Whole vehicle controller software upgrading test system and vehicle
CN111193968A (en) Verification method, debugging verification host, monitoring host and system of remote signaling information
CN107451024A (en) The credible measure of hardware realized based on BMC chip
CN115842405A (en) High-pressure energy storage valve system, control unit of power module of high-pressure energy storage valve system and upgrading method of control unit
US10237131B2 (en) Communication adapter and program update method for communication adapter
WO2023206473A1 (en) Fault diagnosis method and fault diagnosis device
CN111984287A (en) Equipment upgrading method and system
CN111522571A (en) Equipment upgrading method and device, terminal equipment and storage medium
US11442720B2 (en) Communication adapter and program update method for communication adapter
CN112104497A (en) Terminal management method, device, system, server, terminal and storage medium
CN118092980B (en) PCS remote upgrading method and terminal
CN111260501B (en) Remote online maintenance system and method for distributed acquisition terminal
CN115767861A (en) Single lamp monitoring module abnormity detection system
CN113746877A (en) Method and system for downloading procedure of converter valve control unit in batch

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