Multi-channel parallel charging and discharging cooperative control method based on priority scheduling
Through the multi-channel parallel charging and discharging collaborative control method of priority scheduling, the problems of waste of resources and low efficiency of battery test equipment are solved, and the current range superposition and test efficiency are improved.
Patent Information
- Application Number
- CN202510696362.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-08-26
AI Technical Summary
When existing battery test equipment faces different current requirements, there are problems of resource waste and low testing efficiency, especially when high current testing is required, the existing equipment cannot be effectively utilized, resulting in resource waste and increased costs.
A multi-channel parallel charging and discharging collaborative control method based on priority scheduling is adopted, and the parallel connection between shared channels and test channels is automatically realized, and the current size of the test step is dynamically adjusted to reduce manual intervention and improve testing efficiency.
The current range superposition is achieved, the existing resources are rationally utilized, equipment waste is reduced, costs are reduced, and testing efficiency is improved.
Smart Images

Figure CN120539592A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery detection equipment, and in particular to a multi-channel parallel charging and discharging coordinated control method based on priority scheduling. Background Art
[0002] With the development of new energy technologies, technologies and facilities for different test objects such as electric vehicles, mobile phone batteries and energy storage devices are constantly being improved, but they still face various challenges in terms of cost, resources and testing efficiency.
[0003] Currently, new energy battery testing equipment on the market can be divided into different current ranges to charge or discharge the battery according to different battery models or requirements. For example, a battery tester may support five channels, each capable of outputting a maximum test current of 600A. However, when the battery needs to be tested at 1200A, the 600A range cannot meet the test function and requires a tester that supports the 1200A range. If a company already has 600A test equipment, this equipment will be unusable, resulting in a waste of resources.
[0004] At the same time, if the 1200A high-current test only occupies a small part of the entire battery test process, then if the 1200A equipment is occupied throughout the entire test process, this will also cause waste of resources and the equipment cannot be effectively utilized.
[0005] Therefore, if shared channels can be automatically connected in parallel based on the test current to achieve range overlap, a 1200A battery test can be achieved. After the 1200A test step is completed, the shared channels can be disconnected from the parallel state, returning them to an idle state. Then, channels that require 1200A testing can be requested for parallel connection. This not only effectively utilizes existing resources and reduces the cost of purchasing large-range equipment, but also improves overall testing efficiency through the automatic parallel connection and disconnection logic control method. Summary of the Invention
[0006] The purpose of the present invention is to solve the above technical problems and provide a new type of multi-channel parallel charging and discharging collaborative control method based on priority scheduling. According to the current size requirements of the test step, the shared channel and the test channel are automatically connected in parallel, and the parallel connection is automatically released at the end of the test, thereby reducing manual intervention and improving test efficiency.
[0007] The present invention is achieved through the following technical solutions: A multi-channel parallel charging and discharging coordinated control method based on priority scheduling includes the following steps: S1: Open the client on the battery test equipment, then click the step editor on the client to edit the step process parameters. Start editing the dynamic parallel control step information and select one of the M real channels under the current median machine as a shared channel. After setting the dynamic parallel control step information, start setting the large-range charge and discharge step information for the battery to be tested. Then, continue to configure and cancel the dynamic parallel control step as needed. Where: M represents the number of real channels under the current median machine. The maximum load capacity of the current median machine is 1024 channels, and 1≤M≤1024. S2: After the work step process is edited in step S1, N channels to be tested are selected on the client to start. After clicking Start, one or N test channels on the client are matched with the shared channels under the current intermediate computer for usage rights. The client packages the work step process parameters edited in the work step editor and sends them to the server. The server sends them to the intermediate computer via TCP-Socket. Where: N is the number of channels selected by the intermediate computer to start testing from M-1 real channels, 1≤N≤M-1; S3: After step S2 sends the test step information to the intermediate computer, the intermediate computer parses the step process parameters and creates a maximum capacity of Q for the number of storage elements. size The priority waiting queue Q is set; the N test channels started by the user are started to test at the same time, and the battery charging or discharging test begins according to the test step content; the intermediate computer stores the information of each battery test step number, test time, test voltage and test current in real time and uploads it to the server, which forwards the test status to the client monitoring interface of the battery test equipment; Where: Q size Indicates the storage capacity of the priority queue Q, Q size =N; Q represents the channel number queue structure used to orderly store the queues waiting to use the shared channel. The priority of the queue that joins first is high, and the priority of the queue that joins later is low; C i represents the i-th channel, 1≤i≤N; S4: Step S3 starts the process of charging and discharging N batteries. If a channel first executes the step of requesting dynamic parallel control, if channel C i When the dynamic parallel control step is first executed, the middle position machine determines the test status of the shared channel. If the test status of the shared channel is idle, the middle position machine will switch channel C to i and the shared channel in parallel, so that channel C i The range of channel C is doubled and then i Continue to execute the charge and discharge step after requesting the dynamic parallel control step. At the same time, the intermediate computer uploads the test status of the shared channel to the server / client. The client shows that the shared channel is now in parallel with channel C. iParallel test in progress; Channel C i Continue to execute the large range step test content after parallel connection. If channel C i If an abnormal state of protection or stop occurs during the parallel test, channel C will be automatically cancelled. i and the parallel relationship of the shared channel, so that the shared channel returns to the idle state; otherwise, test channel C i Continue to execute the test. If the configuration is to cancel the dynamic parallel control step, cancel channel C. i If the parallel relationship with the shared channel is not configured to cancel the dynamic parallel control step, you must wait until channel C i Channel C will be cancelled only after the test is completed. i and the parallel information of the shared channel, so that the shared channel returns to the idle state; where: C i represents the i-th channel, 1≤i≤N; S5: If the execution process of step S4 is continued, if channel C j When the dynamic parallel control step is also executed, if the intermediate machine determines that the shared channel is in the test state, it means that channel C i and the shared channel is still in parallel testing, then channel C j The shared channel cannot be used temporarily, and the middle machine will use channel C j Store it in the priority waiting queue Q, and at the same time the middle machine transfers channel C j The status of the shared channel is being uploaded to the server client. The client displays channel C. j Waiting to use the shared channel; if the middle computer determines that the shared channel is idle, it enters S4 execution; where: C j is one of the N test channels N, C j ≠C i And 1≤j≤N; S6: If the execution process of step S5 is continued, when channel C i Because the dynamic parallel control is canceled or the parallel relationship with the shared channel is canceled due to stop, protection and completion, the shared channel changes from the test state to the idle state, then the intermediate computer reads the number of elements stored in the waiting queue Q. If the number of elements in the queue Q is 0, it means that there is no channel waiting to use the shared channel. The shared channel is in the idle state, waiting for other channels to request parallel use. If the number of elements in the queue Q is not 0, the element information in the queue Q is read from high to low priority, and the queue element Q' with the highest priority is obtained, and the channel information Q' (C x ) is stored as a temporary variable; then after Q' is successfully dequeued from Q, channel C x Start executing in parallel with the shared channel, then channel C xStart executing the test steps after parallel connection; where: Q' represents the element with the highest priority from the priority queue Q; Q'(C x ) represents the channel number information from the highest priority element Q' in the queue, the channel number is C x , 1≤x≤N; S7: Continue the execution process of step S6. After Q' is successfully dequeued from the waiting queue Q, the number of elements in the waiting queue Q is reduced by one. All channels continue to be tested until the work steps of all test channels are completed. Then the test ends.
[0008] Furthermore, the process parameters of the shared channel parallel connection step include two control step types, and the two control step types are requesting a dynamic parallel connection control step and canceling a dynamic parallel connection control step.
[0009] Furthermore, the request dynamic parallel control step and the cancel dynamic parallel control step appear in pairs, with the request dynamic parallel setting in front and the cancel dynamic parallel setting in the back; there can also be a request dynamic parallel control step without a cancel dynamic parallel control step; if only the cancel dynamic parallel control step is set and the request dynamic parallel control step is not set, the dynamic parallel function is not effective, and the two control steps are the specific steps for charging and discharging the battery in a large range; if the request dynamic parallel control step is set, the control step information includes the configuration of the shared channel number, and the shared channel is any channel among all connected mid-position machines, that is, one channel is selected from M channels as the shared channel. If the shared channel is not set when the request dynamic parallel control step is set, the function is invalid; when setting the cancel dynamic parallel control step, no parameter information needs to be set.
[0010] Furthermore, the use of dynamic parallel connection in a process step should satisfy the following requirements: (1) The step configuration requests dynamic parallel control step information, and the shared channel cannot be empty; (2) Optionally, configure the cancellation of dynamic parallel control step information. If the cancellation of dynamic parallel control step information is configured, then the request for dynamic parallel control step information must exist before this; (3) If only the information for canceling the dynamic parallel control step is configured in the work step, and the information for requesting the dynamic parallel control step is not configured, the dynamic parallel function will be invalid.
[0011] Furthermore, during the execution process, the following steps are specifically included: Q1: The middle computer determines the shared channel status and the number of elements in the waiting queue at intervals T. The middle computer checks channels 1 to N in sequence and determines which channel is executing the step requesting dynamic parallel control. If the shared channel is idle when the step is executed, indicating that no test channel needs to use the shared channel, the channel currently executing the step requesting dynamic parallel control is directly tested in parallel with the shared channel, and the process proceeds to Q2. Q2: During the parallel test, it is still monitored whether other channels need to use the shared channel. If necessary, the channel is added to the waiting queue and enters Q3; Q3: The test status of the channel and shared channel is regularly determined at time interval T. If a channel test abnormality occurs during the parallel test, causing a stop or protection, the parallel status of the channel and shared channel is canceled and the process enters Q4. Otherwise, the channel continues to be tested in parallel until the test encounters a step to cancel dynamic parallel control or the test ends. Q4: After the shared channel becomes idle, if the number of elements in the waiting queue is not 0, the channel with the highest priority is extracted from the waiting queue and tested in parallel with the shared channel, entering Q2. If the number of elements in the waiting queue is 0, the process enters Q1.
[0012] The beneficial effects of the present invention are: realizing the current range superposition technical function by connecting channels in parallel; rationally and effectively utilizing existing test equipment resources, reducing resource waste, reducing the purchase of equipment with different ranges, and reducing equipment costs; automatically realizing parallel connection of shared channels (idle channels) and test channels according to the current size requirements of the test step, and automatically releasing the parallel connection at the end of the test, reducing manual intervention and improving test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 Flowchart of the steps of the present invention; Figure 2 This is a system scheduling flow chart for the first parallel connection of a shared channel with a channel according to the present invention; Figure 3 This is a flow chart of switching waiting channels in parallel based on the priority waiting queue scheduling system of the present invention. DETAILED DESCRIPTION
[0014] The present invention will be further described below with reference to the accompanying drawings and specific embodiments: Unless otherwise defined, all technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the art to which this application belongs. The terms used in the specification of the application are only for the purpose of describing specific embodiments and are not intended to limit this application. The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0015] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0016] Refer to Figure 1-Figure 3 As shown, a multi-channel parallel charging and discharging coordinated control method based on priority scheduling includes the following steps: S1: Open the client on the battery test equipment, then click the step editor on the client to edit the step process parameters. Start editing the dynamic parallel control step information and select one of the M real channels under the current median machine as a shared channel. After setting the dynamic parallel control step information, start setting the large-range charge and discharge step information for the battery to be tested. Then, continue to configure and cancel the dynamic parallel control step as needed. Where: M represents the number of real channels under the current median machine. The maximum load capacity of the current median machine is 1024 channels, and 1≤M≤1024. S2: After the work step process is edited in step S1, N channels to be tested are selected on the client to start. After clicking Start, one or N test channels on the client are matched with the shared channels under the current intermediate computer for usage rights. The client packages the work step process parameters edited in the work step editor and sends them to the server. The server sends them to the intermediate computer via TCP-Socket. Where: N is the number of channels selected by the intermediate computer to start testing from M-1 real channels, 1≤N≤M-1; S3: After step S2 sends the test step information to the intermediate computer, the intermediate computer parses the step process parameters and creates a maximum capacity of Q for the number of storage elements. sizeThe priority waiting queue Q is set; the N test channels started by the user are started to test at the same time, and the battery charging or discharging test begins according to the test step content; the intermediate computer stores the information of each battery test step number, test time, test voltage and test current in real time and uploads it to the server, which forwards the test status to the client monitoring interface of the battery test equipment; Where: Q size Indicates the storage capacity of the priority queue Q, Q size =N; Q represents the channel number queue structure used to orderly store the queues waiting to use the shared channel. The priority of the queue that joins first is high, and the priority of the queue that joins later is low; C i represents the i-th channel, 1≤i≤N; S4: Step S3 starts the process of charging and discharging N batteries. If a channel first executes the step of requesting dynamic parallel control, if channel C i When the dynamic parallel control step is first executed, the middle position machine determines the test status of the shared channel. If the test status of the shared channel is idle, the middle position machine will switch channel C to i and the shared channel in parallel, so that channel C i The range of channel C is doubled and then i Continue to execute the charge and discharge step after requesting the dynamic parallel control step. At the same time, the intermediate computer uploads the test status of the shared channel to the server / client. The client shows that the shared channel is now in parallel with channel C. i Parallel test in progress; Channel C i Continue to execute the large range step test content after parallel connection. If channel C i If an abnormal state of protection or stop occurs during the parallel test, channel C will be automatically cancelled. i and the parallel relationship of the shared channel, so that the shared channel returns to the idle state; otherwise, test channel C i Continue to execute the test. If the configuration is to cancel the dynamic parallel control step, cancel channel C. i If the parallel relationship with the shared channel is not configured to cancel the dynamic parallel control step, you must wait until channel C i Channel C will be cancelled only after the test is completed. i and the parallel information of the shared channel, so that the shared channel returns to the idle state; where: C i represents the i-th channel, 1≤i≤N; S5: If the execution process of step S4 is continued, if channel C j When the dynamic parallel control step is also executed, if the intermediate machine determines that the shared channel is in the test state, it means that channel C i and the shared channel is still in parallel testing, then channel C jThe shared channel cannot be used temporarily, and the middle machine will use channel C j Store it in the priority waiting queue Q, and at the same time the middle machine transfers channel C j The status of the shared channel is being uploaded to the server client. The client displays channel C. j Waiting to use the shared channel; if the middle computer determines that the shared channel is idle, it enters S4 execution; where: C j is one of the N test channels N, C j ≠C i And 1≤j≤N; S6: If the execution process of step S5 is continued, when channel C i Because the dynamic parallel control is canceled or the parallel relationship with the shared channel is canceled due to stop, protection and completion, the shared channel changes from the test state to the idle state, then the intermediate computer reads the number of elements stored in the waiting queue Q. If the number of elements in the queue Q is 0, it means that there is no channel waiting to use the shared channel. The shared channel is in the idle state, waiting for other channels to request parallel use. If the number of elements in the queue Q is not 0, the element information in the queue Q is read from high to low priority, and the queue element Q' with the highest priority is obtained, and the channel information Q' (C x ) is stored as a temporary variable; then after Q' is successfully dequeued from Q, channel C x Start executing in parallel with the shared channel, then channel C x Start executing the test steps after parallel connection; where: Q' represents the element with the highest priority from the priority queue Q; Q'(C x ) represents the channel number information from the highest priority element Q' in the queue, the channel number is C x , 1≤x≤N; S7: Continue the execution process of step S6. After Q' is successfully dequeued from the waiting queue Q, the number of elements in the waiting queue Q is reduced by one. All channels continue to be tested until the work steps of all test channels are completed. Then the test ends.
[0017] Preferably, the process parameters of the shared channel parallel connection step include two control step types, and the two control step types are requesting a dynamic parallel control step and canceling a dynamic parallel control step.
[0018] Preferably, the steps of requesting dynamic parallel control and canceling dynamic parallel control appear in pairs, with the step of requesting dynamic parallel control being set first and the step of canceling dynamic parallel control being set later; there may also be a step of requesting dynamic parallel control but no step of canceling dynamic parallel control; if only the step of canceling dynamic parallel control is set and the step of requesting dynamic parallel control is not set, the dynamic parallel function will not take effect, and the two control steps are the specific steps of charging and discharging the battery in a large range; if the step of requesting dynamic parallel control is set, the control step information includes the configuration of the shared channel number, and the shared channel is any channel among all the connected mid-position machines, that is, one channel is selected from the M channels as the shared channel, and if the shared channel is not set when the step of requesting dynamic parallel control is set, the function will be invalid; when setting the step of canceling dynamic parallel control, no parameter information needs to be set.
[0019] As a preference, the use of dynamic parallel connection in a process step should satisfy the following requirements: (1) The step configuration requests dynamic parallel control step information, and the shared channel cannot be empty; (2) Optionally, configure the cancellation of dynamic parallel control step information. If the cancellation of dynamic parallel control step information is configured, then the request for dynamic parallel control step information must exist before this; (3) If only the information for canceling the dynamic parallel control step is configured in the work step, and the information for requesting the dynamic parallel control step is not configured, the dynamic parallel function will be invalid.
[0020] Preferably, during the execution process, the following steps are specifically included: Q1: The middle computer determines the shared channel status and the number of elements in the waiting queue at intervals T. The middle computer checks channels 1 to N in sequence and determines which channel is executing the step requesting dynamic parallel control. If the shared channel is idle when the step is executed, indicating that no test channel needs to use the shared channel, the channel currently executing the step requesting dynamic parallel control is directly tested in parallel with the shared channel, and the process proceeds to Q2. Q2: During the parallel test, it is still monitored whether other channels need to use the shared channel. If necessary, the channel is added to the waiting queue and enters Q3; Q3: The test status of the channel and shared channel is regularly determined at time interval T. If a channel test abnormality occurs during the parallel test, causing a stop or protection, the parallel status of the channel and shared channel is canceled and the process enters Q4. Otherwise, the channel continues to be tested in parallel until the test encounters a step to cancel dynamic parallel control or the test ends. Q4: After the shared channel becomes idle, if the number of elements in the waiting queue is not 0, the channel with the highest priority is extracted from the waiting queue and tested in parallel with the shared channel, entering Q2. If the number of elements in the waiting queue is 0, the process enters Q1.
[0021] Based on the disclosure and teachings of the above description, those skilled in the art may also make appropriate changes and modifications to the above embodiments. Therefore, the present invention is not limited to the specific embodiments disclosed and described above, and any modifications and variations of the present invention should also fall within the scope of protection of the claims of the present invention. In addition, although certain specific terms are used in this description, these terms are only for convenience of description and do not constitute any limitation to the present invention.
Claims
1. A multi-channel parallel charging and discharging coordinated control method based on priority scheduling, characterized in that: The steps include: S1: Open the client on the battery test equipment, then click the step editor on the client to edit the step process parameters, start editing the request dynamic parallel control step information, and select one of the M real channels under the current median machine as a shared channel; After setting the request dynamic parallel control step, start setting the large-range charge and discharge step information for the battery to be tested. Then, continue to configure and cancel the dynamic parallel control step as needed. Where: M represents the actual number of channels under the current median machine. The maximum load capacity of the current median machine is 1024 channels, 1≤M≤1024; S2: After the work step process is edited in step S1, N channels to be tested are selected on the client to start. After clicking Start, one or N test channels on the client are matched with the shared channels under the current intermediate computer for usage rights. The client packages the work step process parameters edited in the work step editor and sends them to the server. The server sends them to the intermediate computer via TCP-Socket. Where: N is the number of channels selected by the intermediate computer to start testing from M-1 real channels, 1≤N≤M-1; S3: After step S2 sends the test step information to the intermediate computer, the intermediate computer parses the step process parameters and creates a maximum capacity of Q for the number of storage elements. size The priority waiting queue Q is set; at the same time, the N test channels started by the user are started to test, and the battery is charged or discharged according to the test step content; the intermediate computer stores the information of each battery test step number, test time, test voltage and test current in real time and uploads it to the server, and the server forwards the test status to the client monitoring interface of the battery test equipment; Among them: Q size Indicates the storage capacity of the priority queue Q, Q size =N; Q represents the channel number queue structure used to orderly store the queues waiting to use the shared channel. The priority of the queue that joins first is high, and the priority of the queue that joins later is low. S4: Step S3 starts the process of charging and discharging N batteries. If a channel first executes the step of requesting dynamic parallel control, if channel C i When the dynamic parallel control step is first executed, the central computer determines the test status of the shared channel. If the test status of the shared channel is idle, the central computer will switch channel C to i and the shared channel in parallel, so that channel C i The range of channel C is doubled and then i Continue to execute the charge and discharge step after the dynamic parallel control step. At the same time, the intermediate computer uploads the test status of the shared channel to the server / client. The client shows that the shared channel is now in parallel with channel C. i Parallel test in progress; Channel C i Continue to execute the large range step test content after parallel connection. If channel C i If an abnormal state of protection or stop occurs during the parallel test, channel C will be automatically cancelled. i and the parallel relationship of the shared channel, so that the shared channel returns to the idle state; otherwise, test channel C i Continue to execute the test. If the configuration is to cancel the dynamic parallel control step, cancel channel C. i If the parallel relationship with the shared channel is not configured to cancel the dynamic parallel control step, you must wait until channel C i Channel C will be cancelled only after the test is completed. i and the parallel information of the shared channel, so that the shared channel returns to the idle state; where: C i represents the i-th channel, 1≤i≤N; S5: If the execution process of step S4 is continued, if channel C j When the dynamic parallel control step is also executed, if the intermediate machine determines that the shared channel is in the test state, it means that channel C i and the shared channel is still in parallel testing, then channel C j The shared channel cannot be used temporarily, and the middle machine will use channel C j Store it in the priority waiting queue Q, and at the same time the middle machine transfers channel C j The status of the shared channel is being uploaded to the server client. The client displays channel C. j Waiting to use the shared channel; if the middle computer determines that the shared channel is idle, it enters S4 execution; where: C j is one of the N test channels N, C j ≠C i And 1≤j≤N; S6: If the execution process of step S5 is continued, when channel C i Because the dynamic parallel control is canceled or the parallel relationship with the shared channel is canceled due to stop, protection and completion, the shared channel changes from the test state to the idle state, then the intermediate computer reads the number of elements stored in the waiting queue Q. If the number of elements in the queue Q is 0, it means that there is no channel waiting to use the shared channel. The shared channel is in the idle state, waiting for other channels to request parallel use. If the number of elements in the queue Q is not 0, the element information in the queue Q is read from high to low priority, and the queue element Q' with the highest priority is obtained, and the channel information Q' (C x ) is stored as a temporary variable; then after Q' is successfully dequeued from Q, channel C x Start executing in parallel with the shared channel, then channel C x Start executing the test steps after parallel connection; where: Q' represents the element with the highest priority from the priority queue Q; Q'(C x ) represents the channel number information from the highest priority element Q' in the queue, the channel number is C x , 1≤x≤N; S7: Continue the execution process of step S6. After Q' is successfully dequeued from the waiting queue Q, the number of elements in the waiting queue Q is reduced by one. All channels continue to be tested until the work steps of all test channels are completed. Then the test ends.
2. The multi-channel parallel charging and discharging coordinated control method based on priority scheduling according to claim 1 is characterized in that: The shared channel parallel process step parameters include two control step types, which are a request dynamic parallel control step and a cancel dynamic parallel control step.
3. The multi-channel parallel charging and discharging coordinated control method based on priority scheduling according to claim 2 is characterized in that: The request dynamic parallel control step and the cancel dynamic parallel control step appear in pairs, with the request dynamic parallel setting in front and the cancel dynamic parallel setting in the back; there can also be a request dynamic parallel control step without a cancel dynamic parallel control step; if only the cancel dynamic parallel control step is set and the request dynamic parallel control step is not set, the dynamic parallel function will not take effect, and the two control steps are the specific steps for charging and discharging the battery in a large range; if the request dynamic parallel control step is set, the control step information includes the configuration of the shared channel number, and the shared channel is any channel among all connected mid-position machines, that is, one channel is selected from M channels as the shared channel. If the shared channel is not set when the request dynamic parallel control step is set, the function is invalid; when setting the cancel dynamic parallel control step, no parameter information needs to be set.
4. The multi-channel parallel charging and discharging coordinated control method based on priority scheduling according to claim 3 is characterized in that: The use of dynamic parallel connection in a process step should meet the following requirements: (1) The step configuration requests dynamic parallel control step information, and the shared channel cannot be empty; (2) Optionally, configure the cancellation of dynamic parallel control step information. If the cancellation of dynamic parallel control step information is configured, then the request for dynamic parallel control step information must exist before this; (3) If only the information for canceling the dynamic parallel control step is configured in the work step, and the information for requesting the dynamic parallel control step is not configured, the dynamic parallel function will be invalid.
5. The multi-channel parallel charging and discharging coordinated control method based on priority scheduling according to claim 1, characterized in that: The execution process includes the following steps: Q1: The middle computer determines the shared channel status and the number of elements in the waiting queue at intervals T. The middle computer checks channels 1 to N in sequence and determines which channel is executing the step requesting dynamic parallel control. If the shared channel is idle when the step is executed, indicating that no test channel needs to use the shared channel, the channel currently executing the step requesting dynamic parallel control is directly tested in parallel with the shared channel, and the process proceeds to Q2. Q2: During the parallel test, it is still monitored whether other channels need to use the shared channel. If necessary, the channel is added to the waiting queue and enters Q3; Q3: The test status of the channel and shared channel is regularly determined at time interval T. If a channel test abnormality occurs during the parallel test, causing a stop or protection, the parallel status of the channel and shared channel is canceled and the process enters Q4. Otherwise, the channel continues to be tested in parallel until the test encounters a step to cancel dynamic parallel control or the test ends. Q4: After the shared channel becomes idle, if the number of elements in the waiting queue is not 0, the channel with the highest priority is extracted from the waiting queue and tested in parallel with the shared channel, entering Q2. If the number of elements in the waiting queue is 0, the process enters Q1.
