A full-matrix flexible switching module device and method
By designing a full matrix flexible cutting module device, the PID and fuzzy controller are used to fuzzify the power deviation and change rate, the problem of insufficient smoothness in the power cutting process of the full matrix flexible charging pile is solved, and a more stable and efficient charging process is achieved.
Patent Information
- Application Number
- CN202411052318.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-08-01
AI Technical Summary
The full matrix flexible charging stack has insufficient smoothness during the power switching process, which causes the charging power received by the user to suddenly increase, causing interference signals such as noise.
A full matrix flexible cutting module device is designed, including a cutting construction module, a flexible judgment module, a deviation calculation module, a parameter output module and a flexible cutting module. The device uses the PID controller and the fuzzy controller to calculate the power deviation and the deviation change rate through the power demand and current power, and performs fuzzing processing to determine the gain parameters of the PID controller to achieve smooth switching of the power of the full matrix charging stack.
It improves the smoothness of the flexible casting of the entire matrix, reduces power abruptness, reduces noise interference, and ensures the stability and efficiency of the charging process.
Smart Images

Figure CN118983902B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric energy storage systems, and in particular to a full-matrix flexible switching module device and method. Background Art
[0002] Full-matrix flexible switching refers to the process of flexibly switching and switching the power, current, voltage and other data output by the full-matrix flexible charging stack to the electric vehicle. Flexible switching refers to the process of flexibly switching or flexibly switching power, current, voltage and other data, and ensuring the smoothness of the switched or switched data.
[0003] At present, some technologies have realized the flexible switching of the power output by the full-matrix flexible charging stack to the electric vehicle. In this implementation method, the charging power in the full-matrix flexible charging stack is divided into fixed charging power and dynamic charging power. Initially, only fixed charging power is provided to the user. When the user's charging demand exceeds the upper limit of the fixed charging power, flexible switching is to provide fixed charging power and dynamic charging power to the user for charging at the same time. This switching method is realized through a switch in the circuit. When the dynamic charging power is not needed, only the switch between the fixed charging power and the user is opened. When the dynamic charging power is needed, the switch between the dynamic charging power and the user also needs to be opened. Thus, dynamic switching of power is realized. However, there are two problems in this process. First, when dynamic charging power is enabled on the basis of fixed charging power, the charging power received by the user end will suddenly increase, and the power mutation will cause interference signals such as noise. Second, the dynamic charging power is divided into multiple sub-dynamic power zones of standard size. The power required by the user is not the integration of multiple standard dynamic powers. For example, if the multiple sub-dynamic power zones are 5 20KW dynamic power zones and the power required by the user is 30KW, the sub-dynamic power zones required by the user are a complete 20KW dynamic power zone and a half-power 10KW dynamic power zone. Therefore, the smoothness of full-matrix flexible switching is insufficient. Summary of the invention
[0004] The present invention provides a full-matrix flexible switching module device and method, the main purpose of which is to improve the smoothness of full-matrix flexible switching.
[0005] To achieve the above object, the present invention provides a full-matrix flexible switching module device, which includes: a switching construction module, a flexible judgment module, a deviation calculation module, a parameter output module, and a flexible switching module;
[0006] The switching construction module is used to construct a flexible switching module of a full-matrix charging stack, wherein the flexible switching module includes a charging terminal, a current power module, other power modules, a PID controller and a fuzzy controller, and the fuzzy controller includes a fuzzification stage, a fuzzy reasoning stage and a clarification stage;
[0007] The flexible judgment module is used to collect the power demand of the charging terminal, and use the power demand and the current power module to determine whether it is necessary to perform power flexible switching on the full-matrix charging stack;
[0008] The deviation calculation module is used to calculate the power deviation between the power demand and the current power module, and calculate the deviation change rate of the power deviation when determining the need to perform power flexible switching of the full matrix charging stack by using the power demand and the current power module;
[0009] The parameter output module is used to fuzzify the power deviation and the deviation change rate in the fuzzification stage to obtain the fuzzified deviation and the fuzzified change rate, calculate the gain membership of the gain increment parameter of the PID controller by using the fuzzified deviation and the fuzzified change rate in the fuzzy reasoning stage, and output the current gain parameter of the PID controller based on the gain membership in the clarification stage;
[0010] The flexible switching module is used to output the required power of the charging terminal using the PID controller according to the current gain parameter, use the required power to schedule the target power from the other power modules, and use the target power to flexibly switch the power of the full-matrix charging stack to obtain the flexible power switching result of the full-matrix charging stack.
[0011] Optionally, the flexible switching module for constructing a full matrix charging stack includes:
[0012] Connecting the output end of the fuzzy controller to the input end of the PID controller to obtain a connected fuzzy controller-PID controller;
[0013] Connecting the output end of the PID controller to the other power module to obtain a connection PID controller-other power module;
[0014] Connecting the current power module to the charging terminal to obtain a connection between the current power module and the charging terminal;
[0015] Connecting the other power module to the charging terminal to obtain a connection between the other power module and the charging terminal;
[0016] The connection between the fuzzy controller and the PID controller, the connection between the PID controller and other power modules, the connection between the current power module and the charging terminal, and the connection between other power modules and the charging terminal are used as the flexible switching modules.
[0017] The using the power demand and the current power module to determine whether it is necessary to perform power flexible switching on the full matrix charging stack includes:
[0018] Determining whether the power demand is greater than the current power in the current power module;
[0019] When the power demand is not greater than the current power in the current power module, determining that there is no need to perform power flexible switching on the full-matrix charging stack;
[0020] When the power demand is greater than the current power in the current power module, collecting a power timing sequence of the current power input to the charging terminal;
[0021] When the power mutation index is a preset mutation index, determining that the full-matrix charging stack needs to be subjected to power flexible switching;
[0022] When the power mutation index is not the preset mutation index, it is determined that there is no need to perform flexible power switching on the full-matrix charging stack.
[0023] The calculating the deviation change rate of the power deviation includes:
[0024] Obtaining a previous round of power deviation of the power deviation;
[0025] The deviation change rate is calculated based on the power deviation and the previous round of power deviation.
[0026] The step of fuzzifying the power deviation and the deviation change rate in the fuzzification stage to obtain the fuzzified deviation and the fuzzified change rate includes:
[0027] In the fuzzification stage, a deviation fuzzy set and a deviation fuzzy level of the power deviation are constructed;
[0028] Based on the deviation fuzzy level, calculating the deviation membership of the power deviation to the deviation fuzzy set;
[0029] Calculating a maximum value of the deviation change rate of the deviation change rate;
[0030] Calculating the membership of the rate of change of the deviation using the maximum value of the rate of change of the deviation;
[0031] The deviation membership and the change rate membership are used as the fuzzified deviation and the fuzzified change rate respectively.
[0032] The step of calculating the gain membership of the gain increment parameter of the PID controller by using the fuzzy deviation and the fuzzy change rate in the fuzzy inference stage includes:
[0033] In the fuzzy inference stage, the fuzzified deviation is used as a row value, and the fuzzified change rate is used as a column value;
[0034] A gain membership of a gain increment parameter of the PID controller is calculated based on the row value and the column value.
[0035] The step of outputting a current gain parameter of the PID controller based on the gain membership comprises:
[0036] Based on the gain membership, a current gain parameter of the PID controller is output.
[0037] The step of outputting the required power of the charging terminal by using the PID controller according to the current gain parameter includes:
[0038] The required power of the charging terminal is calculated in the PID controller according to the current gain parameter.
[0039] The utilizing the required power to dispatch target power from the other power modules includes:
[0040] Calculate the power quantity corresponding to the required power in the other power modules;
[0041] When the product of the power number and other powers in the other power modules is greater than the required power, calculating the product of the power number and other powers in the other power modules and the required power minus the required difference;
[0042] Calculating a target current value corresponding to the product-demand difference; and calculating the number of current branches corresponding to the product-demand difference based on the target current value;
[0043] Determining the target power using the power number and the current branch number;
[0044] When the product of the power number and other powers in the other power modules is not greater than the required power, the target power is determined by using the power number.
[0045] The present invention provides a full-matrix flexible switching module method, characterized in that the method comprises:
[0046] Construct a flexible switching module of a full-matrix charging stack, wherein the flexible switching module includes a charging terminal, a current power module, other power modules, a PID controller and a fuzzy controller, and the fuzzy controller includes a fuzzification stage, a fuzzy reasoning stage and a clarification stage;
[0047] Collecting the power demand of the charging terminal, and using the power demand and the current power module to determine whether it is necessary to perform power flexible switching on the full-matrix charging stack;
[0048] When the power demand and the current power module are used to determine that the full-matrix charging stack needs to be flexibly switched, a power deviation between the power demand and the current power module is calculated, and a deviation change rate of the power deviation is calculated;
[0049] In the fuzzification stage, the power deviation and the deviation change rate are fuzzified to obtain a fuzzified deviation and a fuzzified change rate; in the fuzzy reasoning stage, the fuzzified deviation and the fuzzified change rate are used to calculate the gain membership of the gain increment parameter of the PID controller; in the clarification stage, based on the gain membership, the current gain parameter of the PID controller is output;
[0050] According to the current gain parameter, the PID controller is used to output the required power of the charging terminal, the required power is used to schedule the target power from the other power modules, and the target power is used to perform power flexible switching on the full-matrix charging stack to obtain the power flexible switching result of the full-matrix charging stack.
[0051] It can be seen that the embodiment of the present invention constructs a flexible switching module of the full-matrix charging stack to use the flexible switching module to perform smooth power switching. The embodiment of the present invention uses the power demand and the current power module to determine whether the full-matrix charging stack needs to be flexibly switched to determine whether the power demand of the user exceeding the current charging module is smoothly connected with the current power. The embodiment of the present invention uses the PID controller to output the required power of the charging terminal according to the current gain parameter, so as to use the PID controller to output the smoothed other power that the other power modules should output. Further, the embodiment of the present invention uses the required power to schedule the target power from the other power modules, so as to use the other power modules to schedule the complete other power and the incomplete power limited by the current branch, so as to avoid the situation where only the complete power is output and the power value deviates from the power demand of the user. Therefore, the full-matrix flexible switching module device and method provided by the embodiment of the present invention can improve the smoothness of the full-matrix flexible switching. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A functional module diagram of a full-matrix flexible switching module device provided by one embodiment of the present invention;
[0053] Figure 2 A schematic diagram of a full-matrix flexible switching module of a full-matrix flexible switching module method provided by an embodiment of the present invention;
[0054] Figure 3 A schematic flow chart of a full-matrix flexible switching module method provided in one embodiment of the present invention.
[0055] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.
[0058] In fact, the server-side device deployed by the full-matrix flexible switching module device may be composed of one or more devices. The above-mentioned full-matrix flexible switching module device can be implemented as: a service instance, a virtual machine, and a hardware device. For example, the full-matrix flexible switching module device can be implemented as a service instance deployed on one or more devices in a cloud node. In simple terms, the system can be understood as a software deployed on a cloud node, which is used to provide the service of the full-matrix flexible switching module to each user terminal. Alternatively, the full-matrix flexible switching module device can also be implemented as a virtual machine deployed on one or more devices in a cloud node. The virtual machine is installed with application software for managing each user terminal. Alternatively, the full-matrix flexible switching module device can also be implemented as a server composed of many hardware devices of the same or different types, and one or more hardware devices are set to provide the full-matrix flexible switching module service to each user terminal.
[0059] In terms of implementation, the full-matrix flexible switching module device and the user end are adapted to each other. That is, the full-matrix flexible switching module device is an application installed on the cloud service platform, and the user end is a client that establishes a communication connection with the application; or the full-matrix flexible switching module device is implemented as a website, and the user end is implemented as a web page; or the full-matrix flexible switching module device is implemented as a cloud service platform, and the user end is implemented as a small program in an instant messaging application.
[0060] Reference Figure 1 , which is a functional module diagram of a full-matrix flexible switching module device provided in one embodiment of the present invention.
[0061] The full matrix flexible switching module device 100 of the present invention can be set in a cloud server. In terms of implementation, it can be used as one or more service devices, or as an application installed in the cloud (such as a server, server cluster, etc. of the full matrix flexible switching module device), or it can also be developed as a website. According to the functions implemented, the full matrix flexible switching module device 100 includes a switching construction module 101, a flexible judgment module 102, a deviation calculation module 103, a parameter output module 104, and a flexible switching module 105.
[0062] In the embodiment of the present invention, in the tracking based on the full-matrix flexible switching module, each of the above modules can be independently implemented and called with other modules. The call here can be understood as that a certain module can connect to multiple modules of another type and provide corresponding services to the multiple modules connected to it. In the full-matrix flexible switching module device provided by the embodiment of the present invention, the application scope of the full-matrix flexible switching module architecture can be adjusted by adding modules and directly calling them without modifying the program code, so as to achieve cluster-type horizontal expansion, so as to achieve the purpose of quickly and flexibly expanding the full-matrix flexible switching module device. In practical applications, the above modules can be set in the same device or different devices, or in virtual devices, such as service instances in cloud servers.
[0063] In the following, in conjunction with specific embodiments, various components of the full-matrix flexible switching module device and specific work processes are described respectively.
[0064] The switching construction module 101 is used to construct a flexible switching module of a full-matrix charging stack, wherein the flexible switching module includes a charging terminal, a current power module, other power modules, a PID controller and a fuzzy controller, and the fuzzy controller includes a fuzzification stage, a fuzzy reasoning stage and a clarification stage.
[0065] In the embodiment of the present invention, the full-matrix charging stack refers to a flexible charging stack that outputs electrical energy in a full-matrix manner.
[0066] Furthermore, the embodiment of the present invention constructs a flexible switching module of the full-matrix charging stack to perform smooth switching of power using the flexible switching module.
[0067] In one embodiment of the present invention, the flexible switching module for constructing a full-matrix charging stack includes: connecting the output end of the fuzzy controller to the input end of the PID controller to obtain a connection between the fuzzy controller and the PID controller; connecting the output end of the PID controller to the other power modules to obtain a connection between the PID controller and the other power modules; connecting the current power module to the charging terminal to obtain a connection between the current power module and the charging terminal; connecting the other power modules to the charging terminal to obtain a connection between the other power modules and the charging terminal; using the connection between the fuzzy controller and the PID controller, the connection between the PID controller and the other power modules, the connection between the current power module and the charging terminal, and the connection between the other power modules and the charging terminal as the flexible switching module.
[0068] See also Figure 2 FIG. 1 is a schematic diagram of a full-matrix flexible switching module of a full-matrix flexible switching module method provided by an embodiment of the present invention. Figure 2 In the figure, 1, 2, and 3 represent current power modules, 4, 5, and 6 represent other power modules, 7, 8, and 9 represent switches of current branches, 10 represents a charging terminal, 11 represents a DC bus, and 12 represents a current trunk. The output end of the fuzzy controller is connected to the input end of the PID controller, and the output end of the PID controller is connected to the switches of other power modules. Each current power module or other power module has a corresponding circuit and a DC bus. Figure 2 To omit the figure, only the current main circuits of the other 6 power modules are drawn.
[0069] The flexible judgment module 102 is used to collect the power demand of the charging terminal, and use the power demand and the current power module to determine whether it is necessary to perform power flexible switching on the full-matrix charging stack.
[0070] The embodiment of the present invention uses the power demand and the current power module to determine whether the full-matrix charging stack needs to be flexibly switched in power, so as to determine whether the power demand of the user exceeding the current charging module is smoothly connected with the current power.
[0071] In one embodiment of the present invention, the use of the power demand and the current power module to determine whether the full-matrix charging stack needs to be flexibly switched in power includes: determining whether the power demand is greater than the current power in the current power module; when the power demand is not greater than the current power in the current power module, determining that the full-matrix charging stack does not need to be flexibly switched in power; when the power demand is greater than the current power in the current power module, collecting the power timing sequence of the current power input to the charging terminal; and calculating the power mutation index in the power timing sequence using the following formula:
[0072]
[0073] Where F represents the power mutation index, represents the i-th current power in the w-th sliding window of length n in the power time series, represents the power mean of the current power in the w-th sliding window of length n in the power time series, (S w ) 2 represents the variance of the current power in the w-th sliding window of length n in the power time series, and α represents a constant between [0,1];
[0074] When the power mutation index is a preset mutation index, it is determined that the full-matrix charging stack needs to be flexibly switched in power; when the power mutation index is not the preset mutation index, it is determined that the full-matrix charging stack does not need to be flexibly switched in power.
[0075] Among them, the power timing sequence refers to the current power collected in a continuous time period, and the preset mutation index is 1. It should be noted that when the power demand is greater than the current power in the current power module, it only means that the full-matrix charging stack needs to be power-switched. If the power demand of the user exceeds the current charging module and is close to the current power of the current charging module, there is no need for flexible switching. For example, the current power is 20KW, and the power demand of the user exceeds the current charging module by 0.5KW, that is, the total power demand of the user is 20.5KW, of which 0.5KW needs to be provided by the other power modules, and 20.5KW is close to 20KW, then it is only necessary to turn on the switch of the other power module to achieve power switching. If the power demand of the user exceeds the current charging module by 30KW, that is, the total power demand of the user is 50KW, and 50KW is not close to 20KW, if the switch of the other power module is switched, it will cause a large power mutation, and flexible switching is required at this time.
[0076] The deviation calculation module 103 is used to calculate the power deviation between the power demand and the current power module, and calculate the deviation change rate of the power deviation when using the power demand and the current power module to determine the need for flexible power switching of the full matrix charging stack.
[0077] In one embodiment of the present invention, the calculation of the deviation change rate of the power deviation includes: obtaining the power deviation of the previous round of the power deviation; and calculating the deviation change rate based on the power deviation and the previous round of power deviation using the following formula:
[0078]
[0079] Among them, ec represents the rate of change of deviation, e t-1 represents the power deviation of the previous round, e t represents the power deviation, Δt represents e t-1 The sampling time and e t The time interval between sampling moments.
[0080] The parameter output module 104 is used to fuzzify the power deviation and the deviation change rate in the fuzzification stage to obtain the fuzzified deviation and the fuzzified change rate, and use the fuzzified deviation and the fuzzified change rate to calculate the gain membership of the gain increment parameter of the PID controller in the fuzzy reasoning stage; in the clarification stage, based on the gain membership, output the current gain parameter of the PID controller.
[0081] In one embodiment of the present invention, the power deviation and the deviation change rate are fuzzified in the fuzzification stage to obtain the fuzzified deviation and the fuzzified change rate, including: in the fuzzification stage, constructing the deviation fuzzy set and the deviation fuzzy level of the power deviation using the following format:
[0082] e 1 ={NB,NM,NS,ZO,PS,PM,PB}
[0083] ΔP max =y max -x max
[0084]
[0085] y 3 =y max -d
[0086] y 2 =y 3 -d
[0087] y1 =y 2 -d
[0088] e 2 ={-y max ~-y 2 ,-y 2 ~-y 1 ,-y 1 ~y 0 ,y 0 ~y 1 ,y 1 ~y 2 ,y 2 ~y max}
[0089] Among them, e 1 represents the deviation fuzzy set, e 2 Indicates the deviation fuzziness level, NB means negative big, NM means negative medium, NS means negative small, ZO means zero, PS means positive small, PM means positive medium, PB means positive big, NB = -y max , NM=-y 2 , NS=-y 1 , ZO=y 0 , PS = y 1 , PM=y 2 , PB=y max ,y max Indicates the maximum value of other powers in the other power modules, x max Indicates the maximum value of the current power in the current power module, ΔP max Represents y max With x max The maximum power deviation between , d represents the interval of each level interval in the deviation fuzzy level;
[0090] Based on the deviation fuzzy level, the deviation membership of the power deviation to the deviation fuzzy set is calculated using the following formula:
[0091]
[0092] Among them, E l Indicates the deviation membership corresponding to the left boundary, E r represents the deviation membership corresponding to the right boundary, r represents the sequence number when the deviation fuzzy set belongs to the left boundary, r represents the sequence number when the deviation fuzzy set belongs to the right boundary, y l Indicates the level corresponding to the left boundary in the deviation blur level, y r represents the level corresponding to the right boundary in the deviation fuzzy level, and ΔP represents the power deviation;
[0093] The maximum value of the deviation change rate of the deviation change rate is calculated using the following formula:
[0094]
[0095] Among them, ec max Indicates the maximum value of the deviation change rate, Δt indicates e t-1 The sampling time and e t The time interval between sampling moments, y max Indicates the maximum value of other powers in the other power modules, x max Indicates the maximum value of the current power in the current power module, ΔP max Represents y max With x max The maximum power deviation between min Indicates the minimum value of other powers in the other power modules;
[0096] The maximum value of the deviation change rate is used to calculate the change rate membership of the deviation change rate; the deviation membership and the change rate membership are used as the fuzzified deviation and the fuzzified change rate respectively.
[0097] Exemplarily, in the process of calculating the deviation membership of the power deviation to the deviation fuzzy set based on the deviation fuzzy level, for example, the value of ΔP belongs to y 2 ~y max That is, the value of ΔP is within PM~PB, so the left boundary is y 2 , the right boundary is y max , and PM belongs to the left boundary, PB belongs to the right, because y 2 Also with y 1 ~y 2 The level interval is related, so it is necessary to calculate ΔP belonging to y 1 ~y 2 The membership of the grade interval and ΔP belong to y 2 ~y max The membership degree of the level interval, that is, the membership degree E of ΔP to PM needs to be calculated l The degree of membership E of ΔP to PB r .
[0098] Optionally, the principle of calculating the degree of membership of the deviation change rate using the maximum value of the deviation change rate is similar to the principle of constructing the deviation fuzzy set and the deviation fuzzy level of the power deviation in the fuzzification stage; and calculating the degree of membership of the power deviation to the deviation fuzzy set based on the deviation fuzzy level, and will not be further elaborated here.
[0099] Furthermore, in an embodiment of the present invention, the gain increment parameter refers to the increment of the proportional coefficient, the integral coefficient and the differential coefficient in the PID controller.
[0100] In one embodiment of the present invention, the step of calculating the gain membership of the gain increment parameter of the PID controller by using the fuzzy deviation and the fuzzy change rate in the fuzzy reasoning stage comprises: in the fuzzy reasoning stage, using the fuzzy deviation as a row value and the fuzzy change rate as a column value; and calculating the gain membership of the gain increment parameter of the PID controller based on the row value and the column value using the following formula:
[0101]
[0102] in, represents the gain membership of the gain increment parameter Δk of the PID controller, represents the deviation membership of the fuzzified deviation of the u-th row corresponding to the g-th gain fuzzy subset in the q-th category of the gain fuzzy set corresponding to the gain increment parameter in the row value, It represents the membership degree of the fuzzification change rate of the g-th gain fuzzy subset under the q-th category in the gain fuzzy set corresponding to the gain increment parameter in the v-th column corresponding to the column value, and G represents the total number of gain fuzzy subsets under the q-th category.
[0103] It should be noted that when calculating the gain membership of the gain increment parameter of the PID controller, the gain increment parameter also has a corresponding gain fuzzy set, and the gain fuzzy set also includes seven fuzzy subsets: NB, NM, NS, ZO, PS, PM, and PB. The value of each fuzzy subset is determined by the deviation membership and the change rate membership. For example, the NB fuzzy subset is in the 3rd row and 4th column of the matrix, and the deviation membership of the 3rd row in the row value and the change rate membership of the 4th column in the column value can be used to calculate the membership of the gain increment parameter to the NB fuzzy subset. In this process, there may be more than one NB in the matrix, so G is used to represent the number of NBs.
[0104] In one embodiment of the present invention, outputting the current gain parameter of the PID controller based on the gain membership includes: outputting the current gain parameter of the PID controller based on the gain membership using the following formula:
[0105]
[0106] Among them, k t Indicates the current gain parameter, k t-1 represents the historical gain parameter corresponding to the previous round t-1, represents the gain membership of the gain increment parameter Δk of the PID controller, express The oth maximum value in The total number of maximum values in .
[0107] The flexible switching module 105 is used to output the required power of the charging terminal using the PID controller according to the current gain parameter, use the required power to schedule the target power from the other power modules, and use the target power to flexibly switch the power of the full-matrix charging stack to obtain the flexible power switching result of the full-matrix charging stack.
[0108] The embodiment of the present invention uses the PID controller to output the required power of the charging terminal according to the current gain parameter, so as to use the PID controller to output the smoothed other power that the other power modules should output.
[0109] The required power refers to the smoothed other power that the PID controller should output from the other power modules.
[0110] In one embodiment of the present invention, outputting the required power of the charging terminal using the PID controller according to the current gain parameter includes: calculating the required power of the charging terminal using the following formula in the PID controller according to the current gain parameter:
[0111]
[0112] Among them, U represents the required power, K p Represents the proportional coefficient in the current gain parameter, K i Represents the integral coefficient in the current gain parameter, K d represents the differential coefficient in the current gain parameter, e t represents the power deviation, x represents the current power output by the current power module to the charging terminal, and t represents the time variable.
[0113] Furthermore, an embodiment of the present invention utilizes the required power to schedule the target power from the other power modules, so as to utilize the other power modules to schedule the complete other power and the incomplete power limited by the current branch, thereby avoiding the situation where only the complete power is output, resulting in a deviation between the power value and the user's power demand.
[0114] In one embodiment of the present invention, the step of scheduling the target power from the other power modules using the required power includes: calculating the number of powers corresponding to the required power in the other power modules using the following format:
[0115] (MP) min ≥U
[0116] Where M represents size-based alignment (MP) min ≥U represents the number of selected powers, P represents the size of other powers in the other power modules, and U represents the required power;
[0117] When the product of the power number and the other powers in the other power modules is greater than the required power, the product of the power number and the other powers in the other power modules and the required power minus the required power is calculated; a target current value corresponding to the product minus the required power is calculated; and based on the target current value, the number of current branches corresponding to the product minus the required power is calculated using the following formula:
[0118]
[0119] Where N represents the number of current branches, I 总 Indicates the total current value corresponding to other powers in the other power modules, I 支 represents the target current value;
[0120] Determining the target power using the power number and the current branch number;
[0121] When the product of the power number and other powers in the other power modules is not greater than the required power, the target power is determined by using the power number.
[0122] Optionally, the process of determining the target power using the power number and the current branch number is: turning on circuit switches of other power modules of the power number, and turning on circuit switches of the current branch number of the last other power module.
[0123] The embodiment of the present invention constructs a flexible switching module of a full-matrix charging stack to use the flexible switching module to perform smooth power switching. The embodiment of the present invention uses the power demand and the current power module to determine whether the full-matrix charging stack needs to be flexibly switched to determine whether the power demand of the user exceeding the current charging module is smoothly connected with the current power. The embodiment of the present invention uses the PID controller to output the required power of the charging terminal according to the current gain parameter, so as to use the PID controller to output the smoothed other power that the other power modules should output. Further, the embodiment of the present invention uses the required power to schedule the target power from the other power modules, so as to use the other power modules to schedule the complete other power and the incomplete power limited by the current branch, so as to avoid the situation where only the complete power is output and the power value deviates from the power demand of the user. Therefore, the full-matrix flexible switching module device and method provided by the embodiment of the present invention can improve the smoothness of the full-matrix flexible switching.
[0124] Reference Figure 3 FIG. 1 is a flow chart of a full-matrix flexible switching module method provided in an embodiment of the present invention. In this embodiment, the full-matrix flexible switching module method includes:
[0125] S1. Construct a flexible switching module of a full-matrix charging stack, wherein the flexible switching module includes a charging terminal, a current power module, other power modules, a PID controller and a fuzzy controller, and the fuzzy controller includes a fuzzification stage, a fuzzy reasoning stage and a clarification stage;
[0126] S2. Collecting the power demand of the charging terminal, and using the power demand and the current power module to determine whether it is necessary to perform power flexible switching of the full-matrix charging stack;
[0127] S3, when using the power demand and the current power module to determine that the full-matrix charging stack needs to be flexibly switched, calculating the power deviation between the power demand and the current power module, and calculating the deviation change rate of the power deviation;
[0128] S4, in the fuzzification stage, fuzzifying the power deviation and the deviation change rate to obtain the fuzzified deviation and the fuzzified change rate, in the fuzzy reasoning stage, using the fuzzified deviation and the fuzzified change rate to calculate the gain membership of the gain increment parameter of the PID controller, and in the clarification stage, based on the gain membership, outputting the current gain parameter of the PID controller;
[0129] S5. According to the current gain parameter, the PID controller is used to output the required power of the charging terminal, the required power is used to schedule the target power from the other power modules, and the target power is used to perform power flexible switching on the full-matrix charging stack to obtain the power flexible switching result of the full-matrix charging stack.
[0130] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A full matrix flexible switching module device, characterized in that: The full-matrix flexible switching module device includes: a switching construction module, a flexible judgment module, a deviation calculation module, a parameter output module, and a flexible switching module; The switching construction module is used to construct a flexible switching module of a full-matrix charging stack, wherein the flexible switching module includes a charging terminal, a current power module, other power modules, a PID controller and a fuzzy controller, and the fuzzy controller includes a fuzzification stage, a fuzzy reasoning stage and a clarification stage; The flexible judgment module is used to collect the power demand of the charging terminal, and use the power demand and the current power module to determine whether it is necessary to perform power flexible switching on the full-matrix charging stack; The deviation calculation module is used to calculate the power deviation between the power demand and the current power module, and calculate the deviation change rate of the power deviation when determining the need to perform power flexible switching of the full matrix charging stack by using the power demand and the current power module; The parameter output module is used to fuzzify the power deviation and the deviation change rate in the fuzzification stage to obtain the fuzzified deviation and the fuzzified change rate, calculate the gain membership of the gain increment parameter of the PID controller by using the fuzzified deviation and the fuzzified change rate in the fuzzy reasoning stage, and output the current gain parameter of the PID controller based on the gain membership in the clarification stage; The flexible switching module is used to output the required power of the charging terminal using the PID controller according to the current gain parameter, use the required power to dispatch the target power from the other power modules, and use the target power to perform power flexible switching on the full-matrix charging stack to obtain the power flexible switching result of the full-matrix charging stack; The use of the power demand and the current power module to determine whether the full-matrix charging stack needs to be flexibly switched in power includes: determining whether the power demand is greater than the current power in the current power module; when the power demand is not greater than the current power in the current power module, determining that the full-matrix charging stack does not need to be flexibly switched in power; when the power demand is greater than the current power in the current power module, collecting the power timing sequence of the current power input to the charging terminal; and calculating the power mutation index in the power timing sequence using the following formula: Where F represents the power mutation index, represents the i-th current power in the w-th sliding window of length n in the power time series, represents the power mean of the current power in the w-th sliding window of length n in the power time series, (S w ) 2 represents the variance of the current power in the w-th sliding window of length n in the power time series, and α represents a constant between [0,1]; When the power mutation index is a preset mutation index, it is determined that the full-matrix charging stack needs to be flexibly switched in power; when the power mutation index is not the preset mutation index, it is determined that the full-matrix charging stack does not need to be flexibly switched in power.
2. A full matrix flexible switching module device as claimed in claim 1, characterized in that: The flexible switching module for constructing a full matrix charging stack includes: Connecting the output end of the fuzzy controller to the input end of the PID controller to obtain a connected fuzzy controller-PID controller; Connecting the output end of the PID controller to the other power module to obtain a connection between the PID controller and the other power module; Connecting the current power module to the charging terminal to obtain a connection between the current power module and the charging terminal; Connecting the other power module to the charging terminal to obtain a connection between the other power module and the charging terminal; The connection between the fuzzy controller and the PID controller, the connection between the PID controller and other power modules, the connection between the current power module and the charging terminal, and the connection between other power modules and the charging terminal are used as the flexible switching modules.
3. A full matrix flexible switching module device as claimed in claim 1, characterized in that: The calculating the deviation change rate of the power deviation includes: Obtaining a previous round of power deviation of the power deviation; The deviation change rate is calculated based on the power deviation and the previous round of power deviation.
4. A full matrix flexible switching module device as claimed in claim 1, characterized in that: The step of fuzzifying the power deviation and the deviation change rate in the fuzzification stage to obtain the fuzzified deviation and the fuzzified change rate includes: In the fuzzification stage, a deviation fuzzy set and a deviation fuzzy level of the power deviation are constructed; Based on the deviation fuzzy level, calculating the deviation membership of the power deviation to the deviation fuzzy set; Calculating a maximum value of the deviation change rate of the deviation change rate; Calculating the membership of the rate of change of the deviation using the maximum value of the rate of change of the deviation; The deviation membership and the change rate membership are used as the fuzzified deviation and the fuzzified change rate respectively.
5. A full matrix flexible switching module device as claimed in claim 1, characterized in that: The step of calculating the gain membership of the gain increment parameter of the PID controller by using the fuzzy deviation and the fuzzy change rate in the fuzzy inference stage includes: In the fuzzy inference stage, the fuzzified deviation is used as a row value, and the fuzzified change rate is used as a column value; Based on the row value and the column value, a gain membership of a gain increment parameter of the PID controller is calculated.
6. A full matrix flexible switching module device as claimed in claim 1, characterized in that: The step of outputting a current gain parameter of the PID controller based on the gain membership comprises: Based on the gain membership, a current gain parameter of the PID controller is output.
7. A full matrix flexible switching module device as claimed in claim 1, characterized in that: The step of outputting the required power of the charging terminal by using the PID controller according to the current gain parameter includes: The required power of the charging terminal is calculated in the PID controller according to the current gain parameter.
8. A full matrix flexible switching module device as claimed in claim 1, characterized in that: The utilizing the required power to dispatch target power from the other power modules includes: Calculate the power quantity corresponding to the required power in the other power modules; When the product of the power number and other powers in the other power modules is greater than the required power, calculating the product of the power number and other powers in the other power modules and the required power minus the required difference; Calculating a target current value corresponding to the product-demand difference; and calculating the number of current branches corresponding to the product-demand difference based on the target current value; Determining the target power using the power number and the current branch number; When the product of the power number and other powers in the other power modules is not greater than the required power, the target power is determined by using the power number.
9. A full-matrix flexible switching module method, the method is implemented based on the device as claimed in claim 1, characterized in that: The method comprises: Construct a flexible switching module of a full-matrix charging stack, wherein the flexible switching module includes a charging terminal, a current power module, other power modules, a PID controller and a fuzzy controller, and the fuzzy controller includes a fuzzification stage, a fuzzy reasoning stage and a clarification stage; Collecting the power demand of the charging terminal, and using the power demand and the current power module to determine whether it is necessary to perform power flexible switching on the full-matrix charging stack; When the power demand and the current power module are used to determine that the full-matrix charging stack needs to be flexibly switched, a power deviation between the power demand and the current power module is calculated, and a deviation change rate of the power deviation is calculated; In the fuzzification stage, the power deviation and the deviation change rate are fuzzified to obtain a fuzzified deviation and a fuzzified change rate; in the fuzzy reasoning stage, the fuzzified deviation and the fuzzified change rate are used to calculate the gain membership of the gain increment parameter of the PID controller; in the clarification stage, based on the gain membership, the current gain parameter of the PID controller is output; According to the current gain parameter, the PID controller is used to output the required power of the charging terminal, the required power is used to schedule the target power from the other power modules, and the target power is used to perform power flexible switching on the full-matrix charging stack to obtain the power flexible switching result of the full-matrix charging stack.
Citation Information
Patent Citations
Matrix-type flexible charging pile and charging method capable of dynamically allocating power
CN106033904A
Distributed sewage treatment station monitoring system and method based on power utilization information
CN113552834A