Control method based on double-gun charging and discharging energy management dual-control system

By automatically switching the control signal output cycles of systems A and systems B in EMS software, and receiving input signals incorrectly, stateflow logic processing is optimized, the software code redundancy problem of the dual-gun charge and discharge energy management system is solved, and control logic and resource optimization are achieved.

CN120236350APending Publication Date: 2025-07-01ZHONGDE CENTURY (TIANJIN) NEW ENERGY TECHNOLOGY CO LTD +2
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510298608.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

The existing dual-gun charge and discharge energy management dual-control system control strategy leads to redundant software code and complex system architecture.

Method used

The input signal is used in the EMS software to automatically switch the control signal output cycles of systems A and systems B, and receive the input signal incorrectly. Through the optimized stateflow logic processing, the amount of software code is reduced and the control board RAM resources are optimized.

Benefits of technology

By reducing the amount of software code and optimizing the control architecture, the control logic of the double-gun charge and discharge energy management system is simplified, and the accuracy of the control signal and resource utilization efficiency are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120236350A_ABST
    Figure CN120236350A_ABST
Patent Text Reader

Abstract

The invention provides a control method based on a double-gun charging and discharging energy management double-control system, and the double-gun charging and discharging energy management double-control system comprises a system A and a system B. The control method comprises the steps: inputting a signal in EMS software, and automatically switching the system A and the system B according to a control signal output period of the double-gun charging and discharging energy management double-control system, and receiving input signals of the system A and the system B in a staggered manner, performing logic processing according to the input signals, and controlling the system A and the system B to output the signals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy management control, and particularly relates to a control method for a dual control system of dual-gun charge and discharge energy management. Background Art

[0002] The existing control strategies of the dual control system for dual-gun charge and discharge energy management are divided into System A and System B, and the control strategies of System A and System B are the same, which will cause software code redundancy and make the system architecture more complex. Summary of the Invention

[0003] In order to solve the above technical problems, the present invention provides a control method for a dual control system of dual-gun charge and discharge energy management.

[0004] The technical solution adopted by the present invention is as follows:

[0005] A control method for a dual control system of dual-gun charge and discharge energy management, the dual control system of dual-gun charge and discharge energy management includes System A and System B, and the control method is: input signals in the EMS software, automatically switch between System A and System B according to the control signal output period of the dual control system of dual-gun charge and discharge energy management, receive the input signals of System A and System B at staggered times, perform logical processing according to the input signals, and control the output signals of System A and System B.

[0006] Both the input signals and the output signals include CAN signals, CANFD signals, Ethernet signals, and underlying hardwired signals.

[0007] The logical processing includes the control logic of System A and the overall pile power supply logic. Among them, the control logics of System A and System B are the same, and the control logic of System A is used for processing. The control logic adopts the optimized stateflow logic.

[0008] The output period of a certain control signal of the dual control system of dual-gun charge and discharge energy management is Tms, and the logical processing period is The switching period of the control input signals of System A and System B is also

[0009] In the first Tms period, receive and process the input signals of System A, then output the signals of System A, and at the same time output the signal value of System B as the default value or the value of the previous two periods; in the second Tms period, switch to receive and process the input signals of System B, then output the signals of System B, and at the same time output the signal value of System A as the default value or the value of the previous two periods.

[0010] During the logic processing, if the output signal is an A-system signal and the signal value of the B-system is required in the logic processing, the most recently received and processed B-system signal is directly adopted; if the output signal is a B-system signal and the signal value of the A-system is required in the logic processing, the most recently received and processed A-system signal is also directly adopted, or when the A-system signal is not updated within the current cycle, the most recently received and processed B-system signal is adopted as a substitute.

[0011] Advantages of the present invention:

[0012] Based on the control method of the double-gun charge and discharge energy management double control system of the present invention, for the software of the double-system logic, only the control logic of the A or B system is selected, and the control of the A and B systems is realized only by switching the input signals of the A or B system, which can reduce the software code amount, optimize the RAM resources of the control board, and optimize the software control architecture. Description of the drawings

[0013] Figure 1 It is a schematic diagram of the EMS software control architecture;

[0014] Figure 2 It is a schematic diagram of the stateflow state flow before the change;

[0015] Figure 3 It is a schematic diagram of the stateflow state flow after the change. Detailed implementation manners

[0016] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0017] As Figure 1 shown, a control method of a double-gun charge and discharge energy management double control system according to an embodiment of the present invention, the double-gun charge and discharge energy management double control system is an energy management system EMS, and the double-gun charge and discharge energy management double control system includes an A system and a B system.

[0018] Specifically, the control method is: input signals in the EMS software, automatically switch the A system and the B system according to the control signal output period of the double-gun charge and discharge energy management double control system, receive the input signals of the A system and the B system at staggered times, perform logic processing according to the input signals, and control the output signals of the A system and the B system.

[0019] In one embodiment of the present invention, both the input signal and the output signal include CAN signals, CANFD signals, Ethernet signals, and underlying hardwired signals.

[0020] In one embodiment of the present invention, the logic processing includes the control logic of System A and the overall pile power supply logic. Among them, the control logics of System A and System B are the same, and the control logic of System A is used for processing. The control logic adopts the optimized stateflow logic.

[0021] Specifically, since the stateflow is used to build the strategy model in the EMS logic processing, it is necessary to optimize the stateflow model. For example, Figure 3 As shown, it is the stateflow state flow after the change. Figure 2 And it is the stateflow state flow before the change. Since Stateflow is suitable for strong logic calculations, if the stateflow software is not modified, when the conditions are met and enter the state machine, after the signal switching of System A / B, if the conditions are not met, it will cause the state machine signal to be incorrect, ultimately affecting the accuracy of the control signal. Therefore, it needs to be modified to the Figure 3 state flow shown.

[0022] In one embodiment of the present invention, the output period of a certain control signal of the dual-gun charge and discharge energy management dual control system is T ms, and the logic processing period is The switching period of the control input signals of System A and System B is also Within the first T ms period, receive and process the input signal of System A, then output the signal of System A, and at the same time output the signal value of System B as the default value or the value of the previous two periods; within the second T ms period, switch to receive and process the input signal of System B, then output the signal of System B, and at the same time output the signal value of System A as the default value or the value of the previous two periods.

[0023] Exemplarily, it is set that the output period of a certain control signal of the dual-gun charge and discharge energy management dual control system is 20 ms, the logic processing period is 10 ms, and the switching period of the control input signals of System A and System B is also 10 ms; within the first 10 ms period, receive and process the input signal of System A, then output the signal of System A, and at the same time output the signal value of System B as the default value or the value of the previous two periods (i.e., before 20 ms); within the second 10 ms period, switch to receive and process the input signal of System B, then output the signal of System B, and at the same time output the signal value of System A as the default value or the value of the previous two periods.

[0024] In one embodiment of the present invention, during the logical processing, if the output signal is an A-system signal and the signal value of the B-system is required in the logical processing, the B-system signal received and processed most recently is directly adopted; if the output signal is a B-system signal and the signal value of the A-system is required in the logical processing, the A-system signal received and processed most recently is also directly adopted, or when the A-system signal is not updated within the current cycle, the B-system signal received and processed most recently is adopted as a substitute.

[0025] The control method of the present invention is based on a dual-gun charge-discharge energy management dual control system. For the software of the dual-system logic, only the control logic of the A-system or the B-system is selected, and the control of the A-system and the B-system is realized only by switching the input signals of the A-system or the B-system, which can reduce the software code amount, optimize the RAM resources of the control board, and optimize the software control architecture.

[0026] In the description of the present invention, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. The meaning of "a plurality" is two or more, unless otherwise specifically defined.

[0027] In the present invention, unless otherwise clearly defined and limited, the terms such as "installed", "connected", "connected to", "fixed" and the like should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal communication of two components or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0028] In the present invention, unless otherwise clearly defined and limited, the first feature being "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on top of" the second feature may be that the first feature is directly above or obliquely above the second feature, or merely indicates that the first feature has a higher horizontal height than the second feature. The first feature being "under", "below" and "beneath" the second feature may be that the first feature is directly below or obliquely below the second feature, or merely indicates that the first feature has a lower horizontal height than the second feature.

[0029] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0030] Any process or method description represented in a flowchart or described in other ways herein can be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a specific logical function or process, and the scope of the preferred embodiments of the present invention includes additional implementations, where the functions can be executed in a manner other than shown or discussed, including in a substantially simultaneous manner according to the functions involved or in a reverse order, which should be understood by those skilled in the art to which the embodiments of the present invention pertain.

[0031] The logic and / or steps represented in a flowchart or described in other ways herein, for example, can be considered as a sequenced list of executable instructions for implementing a logical function, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in connection with these instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion having one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or other suitable processing as necessary, and then stored in a computer memory.

[0032] It should be understood that each part of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits with logic gate circuits for implementing logical functions on data signals, application specific integrated circuits with appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

[0033] Those of ordinary skill in the art can understand that all or part of the steps carried by the method of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0034] In addition, each functional unit in various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. When the above integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0035] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A control method based on a dual-gun charging and discharging energy management dual control system, the dual-gun charging and discharging energy management dual control system includes an A system and a B system, characterized in that: The control method is: Input the signal in the EMS software, automatically switch the A system and the B system according to the control signal output cycle of the dual-gun charging and discharging energy management dual control system, receive the input signals of the A system and the B system at different times, perform logical processing according to the input signals, and control the output signals of the A system and the B system.

2. The control method based on dual-gun charging and discharging energy management dual control system according to claim 1 is characterized in that: Both input signals and output signals include CAN signals, CANFD signals, Ethernet signals and underlying hard-wire signals.

3. The control method based on dual-gun charging and discharging energy management dual control system according to claim 2 is characterized in that: The logic processing includes the control logic of system A and the whole pile power supply logic. The control logic of system A and system B are the same, and the control logic of system A is used for processing. The control logic adopts the optimized stateflow logic.

4. The control method based on dual-gun charging and discharging energy management dual control system according to claim 3 is characterized in that: The output cycle of a control signal of the dual-gun charge and discharge energy management dual control system is Tms, and the logic processing cycle is The switching cycle of the control input signal of system A and system B is also During the first Tms cycle, the input signal of system A is received and processed, and then the signal of system A is output, and at the same time, the output signal value of system B is the default value or the value of the previous two cycles; during the second Tms cycle, the input signal of system B is switched to be received and processed, and then the signal of system B is output, and at the same time, the output signal value of system A is the default value or the value of the previous two cycles.

5. The control method based on dual-gun charging and discharging energy management dual control system according to claim 4 is characterized in that: During the logic processing, if the output signal is a system A signal and the signal value of system B is required in the logic processing, the system B signal that was received and processed most recently is directly used; if the output signal is a system B signal and the signal value of system A is required in the logic processing, the system A signal that was received and processed most recently is also directly used; or when the system A signal is not updated in the current cycle, the system B signal that was received and processed most recently is used as a substitute.

Citation Information

Patent Citations

  • Double-charging-gun control system and method

    CN104022547A

  • Combined charging control method and combined charging system

    CN110386024A

  • Charging and discharging control method and system for double-gun V2G charging pile

    CN117644798A

  • Charging gun redundancy control system of charging pile

    CN117774760A

  • Duplex process controller

    JP2000347885A