Multi-channel independent control method, multi-channel system, controller and storage medium
The real-time data and template information of the channel module are obtained through the central computer control unit, and combined with industrial template data, independent control of multi-channel systems and efficient process operation are realized, solving the problem of low efficiency in the existing technology.
Patent Information
- Application Number
- CN202310330898.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2043-03-30
AI Technical Summary
In existing multi-channel systems, channel modules cannot be flexibly and independently controlled, resulting in low process operation efficiency and the inability to load multiple process templates at the same time.
The real-time operation data and template loading information of the channel module are obtained through the central computer control unit, and combined with the preset industrial template data, the template to be loaded and the work step information are determined to realize independent control of each channel module.
The process operation efficiency of multi-channel systems is improved, single-channel independent control and multiple templates are realized simultaneously, and channel modules are avoided from being affected by other channels.
Smart Images

Figure CN116400654B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of charge and discharge control technology, and in particular to a multi-channel independent control method, a multi-channel system, a controller, and a storage medium. Background Art
[0002] In the prior art, in the charge and discharge process control of the power supply industry, there is a multi-channel system consisting of a lower-level control unit and multiple channel modules. Its main control method is that the control unit uniformly controls all channel modules of a single lower-level machine, so that all channel modules of a single lower-level machine can perform the same process step, and wait until all channels are cut off before uniformly updating the process step.
[0003] However, the work steps are updated uniformly only after all channels are terminated. As a result, in actual use, after a single channel module in the multi-channel system is terminated early, it cannot jump to the next work step immediately. It is necessary to wait for other channel modules to be terminated, resulting in the multi-channel system being unable to flexibly control a single channel. If all channels can only run the same work step at the same time, it will also make it impossible to load multiple process templates at the same time, resulting in low process operation efficiency of the multi-channel system. Summary of the Invention
[0004] An embodiment of the present application provides a multi-channel independent control method, which can at least ensure that the present application solution is applied to the middle computer master control unit in the multi-channel system, and obtains the real-time operation data and template loading information of multiple channel modules through the lower computer control unit, and combines the preset industrial template data to enable each channel module to independently load the work step information to be loaded and perform corresponding work step actions, thereby effectively improving the process operation efficiency of the multi-channel system, and further performing more efficient charging and discharging control of multiple batteries.
[0005] In a first aspect, an embodiment of the present application provides a multi-channel independent control method, which is applied to a central control unit in a multi-channel system, wherein the multi-channel system further includes a lower control unit and a plurality of channel modules. The method includes:
[0006] Acquiring real-time operation data and template loading information of the plurality of channel modules through the lower computer control unit;
[0007] determining whether the channel module is in a cut-off state according to the real-time operating data of the channel module and a preset cut-off condition;
[0008] When the channel module is in a cut-off state and the channel module completes the work step corresponding to the template loading information, the template information to be loaded is determined according to the template loading information and the preset industrial template data;
[0009] The work step information to be loaded is determined according to the template information to be loaded, so that the channel module loads the work step information to be loaded and performs corresponding work step actions.
[0010] In some embodiments, the acquiring of the real-time operation data and template loading information of the plurality of channel modules by the lower computer control unit includes:
[0011] Determining a current detection channel module from the plurality of channel modules, and obtaining a channel number of the current detection channel module;
[0012] When the channel number is less than or equal to the preset maximum channel number, the real-time operation data and the template loading information of the current detection channel module are obtained.
[0013] In some embodiments, after obtaining the channel number of the current detection channel module, the method further includes:
[0014] In the case that the channel number is greater than the preset maximum channel number, the channel number of the current detection channel module is acquired again after a preset time interval.
[0015] In some embodiments, after obtaining the real-time operation data and template loading information of the plurality of channel modules through the lower computer control unit, the method further includes:
[0016] Generate a template identifier according to the template loading information;
[0017] The template information to be loaded of the channel module is determined according to the template identification and the template loading order corresponding to the industrial template data.
[0018] In some embodiments, the industrial template data includes sub-step information and protection item information of multiple templates, and the method further includes:
[0019] The industrial template data is temporarily stored in a dedicated memory and stored in a FLASH file architecture.
[0020] In some embodiments, determining the work step information to be loaded based on the template information to be loaded, so that the channel module loads the work step information to be loaded and performs the corresponding work step action, includes:
[0021] Determine the sub-step information corresponding to the step information to be loaded according to the template information to be loaded;
[0022] Sending charging and discharging instructions to the lower computer control unit through the bus, so that the lower computer control unit controls the channel module to load the sub-step information according to the charging and discharging instructions, and performs the sub-step action corresponding to the sub-step information.
[0023] In some embodiments, the acquiring of real-time operation data of the plurality of channel modules by the lower computer control unit includes:
[0024] The voltage information, current information, temperature information and charge and discharge mode information of the plurality of channel modules are obtained through the lower computer control unit.
[0025] In a second aspect, an embodiment of the present application provides a multi-channel system, the multi-channel system comprising a central computer master control unit, a lower computer control unit, and a plurality of channel modules, the central computer master control unit comprising a process template cache module and a work step control module;
[0026] The process template cache module is used to store preset industrial template data;
[0027] The work step control module is used to obtain the real-time operation data and template loading information of multiple channel modules through the lower computer control unit, and determine whether the channel module is in the cut-off state according to the real-time operation data of the channel module and the preset cut-off condition. When the channel module is in the cut-off state and the channel module completes the work step action corresponding to the template loading information, the template information to be loaded is determined according to the template loading information and the industrial template data, and the work step information to be loaded is determined according to the template information to be loaded, so that the channel module loads the work step information to be loaded and performs the corresponding work step action.
[0028] In a third aspect, an embodiment of the present application provides a controller comprising a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the multi-channel independent control method as described in any one of the embodiments in the first aspect is implemented.
[0029] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the multi-channel independent control method as described in any one of the embodiments in the first aspect.
[0030] The present application has at least the following beneficial effects: the present application is applied to the central computer master control unit in a multi-channel system, and obtains the real-time operation data and template loading information of multiple channel modules through the lower computer control unit; determines whether the channel module is in the cut-off state according to the real-time operation data of the channel module and the preset cut-off condition; when the channel module is in the cut-off state and the channel module completes the work step action corresponding to the template loading information, determines the template information to be loaded according to the template loading information and the preset industrial template data; determines the work step information to be loaded according to the template information to be loaded, so that the channel module loads the work step information to be loaded and performs the corresponding work step action, wherein, combined with the preset industrial template data, it can effectively avoid the problem that multiple channels of the lower computer can only perform the same process template, so that each of the channel modules independently loads the work step information to be loaded and performs the corresponding work step action, realizes single-channel control, and effectively improves the process operation efficiency of the multi-channel system. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A flowchart of a multi-channel independent control method proposed for an embodiment of this application;
[0032] Figure 2 A flowchart of obtaining information of multiple channel modules in a multi-channel independent control method proposed in another embodiment of the present application;
[0033] Figure 3 A flowchart of determining template information to be loaded in a multi-channel independent control method proposed in another embodiment of the present application;
[0034] Figure 4 A flowchart of corresponding working steps in a multi-channel independent control method proposed in another embodiment of the present application;
[0035] Figure 5 A schematic diagram of a multi-channel system proposed for another embodiment of the present application;
[0036] Figure 6 This is an example diagram of a multi-channel independent control method proposed in one embodiment of the present application;
[0037] Figure 7 This is a schematic diagram of a controller proposed in another embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0039] In some embodiments, although the system diagrams illustrate functional module divisions and the flowcharts illustrate logical sequences, in some cases, the steps shown or described may be performed in a sequence that differs from the module divisions in the system or the sequence in the flowcharts. The terms "first," "second," and so on in the specification, claims, and drawings are used to distinguish similar items and are not necessarily used to describe a specific sequence or precedence.
[0040] In the current power supply industry, the mainstream control method for controlling charging and discharging processes is for the upper layer to simultaneously load the same synchronization process onto all slave computers in a storage location. This results in parallel charging and discharging. If a single channel on the same slave computer prematurely terminates a process step, the next process step cannot be immediately executed. The next process step must wait until all channels on the slave computer are terminated before the next process step can be updated. This operation results in low process efficiency, an inability to support independent control of a single channel, and a lack of process template diversification.
[0041] That is, the main existing production mode in the existing technology is that the intermediate machine uniformly sends the same work step to the lower machine, and the control algorithm and process management cannot be flexibly adjusted. Therefore, the existing technology has the following problems:
[0042] The intermediate computer can only load the work steps of the same slave computer power board after all channels have completed their work steps, resulting in slow operation efficiency. Furthermore, if a single channel ends prematurely, it cannot immediately jump to the next work step, resulting in limited flexibility in single-channel control. If all channels can only run the same work step at the same time, it will also be impossible to load multiple process templates simultaneously.
[0043] In order to at least solve the above-mentioned problems, the present application discloses a multi-channel independent control method, a multi-channel system, a controller and a storage medium. The method is applied to the central computer master control unit in the multi-channel system, and obtains the real-time operation data and template loading information of multiple channel modules through the lower computer control unit, and determines whether the channel module is in the cut-off state according to the real-time operation data of the channel module and the preset cut-off conditions. When the channel module is in the cut-off state and the channel module completes the work step action corresponding to the template loading information, the template information to be loaded is determined according to the template loading information and the preset industrial template data, and the work step information to be loaded is determined according to the template information to be loaded, so that the channel module loads the work step information to be loaded. Among them, combined with the preset industrial template data, it can effectively avoid the problem that multiple channels of the lower computer can only perform the same process template, so that each channel module can independently load the work step information to be loaded and perform the corresponding work step action, realize single-channel control, and effectively improve the process operation efficiency of the multi-channel system.
[0044] The embodiments of the present application are further described below in conjunction with the accompanying drawings.
[0045] refer to Figure 1 , Figure 1 This is a flowchart of a multi-channel independent control method proposed in an embodiment of the present application. In some embodiments, the present application provides a multi-channel independent control method, which is applied to a central computer master control unit in a multi-channel system. The multi-channel system also includes a lower computer control unit and multiple channel modules. The method includes but is not limited to the following steps S110, S120, S130, and S140.
[0046] Step S110, obtaining real-time operation data and template loading information of multiple channel modules through the lower computer control unit;
[0047] Step S120, determining whether the channel module is in a cutoff state according to the real-time operation data of the channel module and a preset cutoff condition;
[0048] Step S130: when the channel module is in the cut-off state and the channel module completes the work step corresponding to the template loading information, determine the template information to be loaded according to the template loading information and the preset industrial template data;
[0049] Step S140 , determining the work step information to be loaded according to the template information to be loaded, so that the channel module loads the work step information to be loaded and performs corresponding work step actions.
[0050] In some embodiments, the preset industrial template data is the multiple industrial template information cached in advance by this application. By adding a multi-template caching mechanism, this application obtains the real-time operation data and template loading information of multiple channel modules through the lower computer control unit. It can then combine the cached multiple industrial template information to determine the next industrial template and corresponding work step information to be loaded corresponding to a single channel module, thereby enabling all channels to be independently controlled, avoiding the problem that multiple channels of the lower computer can only run the same process template.
[0051] In some embodiments, the present application inspects multiple lower-level control units and inspects all channel modules under the current lower-level control unit at a fixed frequency. During the inspection process, the real-time operation data and template loading information of the channel module are obtained, and then the work step corresponding to the template loading information is detected. After the current channel module has reached the end condition and completed the work step, the next work step information (industrial template) to be loaded is retrieved from the industrial template data according to the template structure mapped by the template loading information of the channel module, and independently updated to the channel module corresponding to the lower-level control unit, so that the current detection channel module will always maintain the work step operation independently, and start to detect the next channel module according to the inspection order, and so on, thereby achieving the effect of multi-channel independent jump work step control, which can solve the problem of low process operation efficiency and the previous lack of support for single-channel control.
[0052] In some embodiments, the methods of the present application are applied to the central computer master control unit in a multi-channel system, and the preset industrial template data is also stored in the central computer master control unit, so that multiple templates can be controlled under one central computer. One central computer can control multiple channel modules at the same time and run multiple templates at the same time according to the preset industrial template data.
[0053] In some embodiments, since the method of the present application inspects all channel modules under the current lower computer control unit at a fixed frequency, and performs cutoff status judgment, work step action detection and loading of work step information to be loaded on the detected channel modules separately, it does not issue commands to multiple channel modules in a unified manner, thereby achieving a single channel under a middle computer to be independently loaded with work steps without being affected by the work steps of other channels, thereby realizing independent control of a single channel under a multi-channel system.
[0054] In some embodiments, the method of the present application inspects all channel modules under the current lower-level control unit at a fixed frequency, thereby determining the current detection channel module from multiple channel modules; specifically, assuming that a single lower-level control unit under the current intermediate-level control unit has n channel templates, and all n channel templates have been loaded with templates, the intermediate unit will record the unique identifier of the loaded template corresponding to each channel template to form a mapping relationship with the corresponding channel template; at this time, the control module will inspect all channel modules of the current lower-level machine at a frequency of 1Hz; when the x-th channel module has reached the end condition and completed the work step, the intermediate-level control unit can retrieve the next work step information to be loaded based on the template structure mapped by the x-th channel module and the preset industrial template data, and independently update it to the corresponding channel of the lower-level machine, so that the x-th channel will always maintain the work step operation independently. By analogy, the effect of all channels being able to be independently controlled is achieved.
[0055] refer to Figure 2 , Figure 2 This is a flowchart of obtaining information of multiple channel modules in a multi-channel independent control method proposed in another embodiment of the present application. In some embodiments, obtaining real-time operation data and template loading information of multiple channel modules by a lower computer control unit includes but is not limited to the following steps S210 and S220;
[0056] Step S210, determining a current detection channel module from a plurality of channel modules, and obtaining a channel number of the current detection channel module;
[0057] Step S220: When the channel number is less than or equal to the preset maximum number of channels, real-time operation data and template loading information of the current detection channel module are obtained.
[0058] In some embodiments, after obtaining the channel number of the current detection channel module, the method further includes: if the channel number is greater than a preset maximum number of channels, obtaining the channel number of the current detection channel module again after a preset time interval.
[0059] In some embodiments, if the channel number is less than or equal to the preset maximum number of channels, it means that the processing quantity of the channel module is still within the processing range of the lower computer control unit. If the channel number is less than or equal to the preset maximum number of channels, it means that the processing quantity of the channel module exceeds the processing range of the lower computer control unit. At this time, the inspection of the channel module under the current lower computer control unit can be stopped, and the channel number acquisition action can be performed again after the middle master control unit performs the sleep action for a preset time interval.
[0060] It can be imagined that multiple channel modules in this application are channel modules that have been loaded with industrial templates and need to wait for the next work step. Channel modules that do not need to wait for the next work step are not within the scope of multiple channel modules inspected in this application. Therefore, after the central master control unit performs the sleep action for a preset time interval, the channel modules that do not need to wait for the next work step may no longer be within the channel number marking range, and the channel number has been updated, so the channel number acquisition action can be performed again at this time.
[0061] In some embodiments, when the channel number is less than or equal to the preset maximum channel number, it means that the current channel module is within the effective control range of the current inspection lower computer control unit, and the real-time operation data and template loading information of the current detection channel module can be effectively obtained through the lower computer control unit. If the channel number is greater than the preset maximum channel number, it means that the current channel module is outside the effective control range of the current inspection lower computer control unit, so it goes into sleep mode and waits for a fixed time interval so that the lower computer control unit can reallocate the channel number to the channel module, so that the channel module is within the effective control range of the current inspection lower computer control unit, and perform subsequent information acquisition actions, thereby effectively improving the operation stability of the multi-channel system.
[0062] In some embodiments, the preset time interval is 1 second, during which the channel numbers can be effectively reallocated to the channel modules, thereby improving system stability.
[0063] refer to Figure 3 , Figure 3 This is a flowchart of determining template information to be loaded in a multi-channel independent control method proposed in another embodiment of the present application. In some embodiments, after the lower computer control unit obtains the real-time operation data and template loading information of multiple channel modules, the method further includes but is not limited to the following steps S310 and S320;
[0064] Step S310, generating a template identifier according to the template loading information;
[0065] Step S320 : determining the template information to be loaded of the channel module according to the template identification and the template loading order corresponding to the industrial template data.
[0066] In some embodiments, the industrial template data includes sub-step information and protection item information of multiple templates, and the method further includes: temporarily storing the industrial template data through a dedicated memory, and storing the industrial template data through a FLASH file architecture.
[0067] In some embodiments, the template identifier is a unique identifier of the loading template corresponding to each channel template recorded by the central computer master control unit, and is mapped to the corresponding channel template. The central computer master control unit can only store the template identifier, thereby reducing the storage space consumption of multiple channel module information in the central computer master control unit, so that the central computer master control unit can store more unique identifiers and speed up the data reading speed, which is conducive to comparing the template loading order corresponding to the unique identifier and the industrial template data, speeding up the comparison speed, and then more quickly determining the template information to be loaded of the channel module, realizing more efficient template loading control of more channel modules, and effectively improving the process operation efficiency of the multi-channel system.
[0068] refer to Figure 4 , Figure 4 This is a flowchart of performing corresponding work step actions in a multi-channel independent control method proposed in another embodiment of the present application. In some embodiments, the work step information to be loaded is determined based on the template information to be loaded, so that the channel module loads the work step information to be loaded and performs the corresponding work step actions, including but not limited to the following steps S410 and S420:
[0069] Step S410, determining the sub-step information corresponding to the step information to be loaded according to the template information to be loaded;
[0070] Step S420: sending a charge and discharge instruction to the lower computer control unit through the bus, so that the lower computer control unit controls the channel module to load the sub-step information according to the charge and discharge instruction, and performs the sub-step action corresponding to the sub-step information.
[0071] In some embodiments, obtaining real-time operating data of multiple channel modules through the lower computer control unit includes: obtaining voltage information, current information, temperature information and charge and discharge mode information of multiple channel modules through the lower computer control unit.
[0072] refer to Figure 5 , Figure 5 This is a schematic diagram of a multi-channel system proposed in another embodiment of the present application. In some embodiments, the multi-channel system includes a central computer master control unit, a lower computer control unit, and multiple channel modules. The central computer master control unit includes a process template cache module and a work step control module.
[0073] The process template cache module is used to store preset industrial template data;
[0074] The work step control module is used to obtain the real-time operation data and template loading information of multiple channel modules through the lower computer control unit, and determine whether the channel module is in the cut-off state according to the real-time operation data of the channel module and the preset cut-off conditions. When the channel module is in the cut-off state and the channel module completes the work step action corresponding to the template loading information, the template information to be loaded is determined according to the template loading information and the industrial template data, and the work step information to be loaded is determined according to the template information to be loaded, so that the channel module loads the work step information to be loaded and performs the corresponding work step action.
[0075] In some embodiments, the intermediate computer master control unit includes a process template cache module and a work step control module. The process template cache module and the work step control module are the software architecture of this application, and the intermediate computer master control unit, the lower computer control unit, and the multiple channel modules are the hardware architecture of this application. Specifically, the functions of each module component are as follows:
[0076] In some embodiments, the intermediate computer master control unit controls the intermediate computer and is the execution unit of the process template cache module and the work step control module. It is used to perform overall control and data processing on the lower computer channels. The intermediate computer will use high-speed memory and FLASH to temporarily store and store process template data, and send charging and discharging instructions to the lower computer through RS485 or CAN, as well as real-time recovery monitoring of the lower computer channel information.
[0077] In some embodiments, the lower-level control unit controls the lower-level computers and is the execution unit of the electronic charge and discharge process. It is responsible for power control of each channel's charge and discharge. The lower-level computer collects important analog-to-digital data, such as voltage, current, and temperature, for each channel in real time and periodically reports it to the intermediate computer. Based on the charge and discharge instructions issued by the intermediate computer, the lower-level computer controls the voltage, current, and charge and discharge mode of the channel module's power circuit to achieve the sub-process operation effect.
[0078] In some embodiments, a channel module controls each channel and is a hardware unit used to output a specific current or voltage to a single load. Specifically, a slave computer may include 8 or 16 channel circuit modules, meaning the slave computer can simultaneously support charge and discharge control of 8 to 16 batteries.
[0079] In some embodiments, the process template cache module is an information storage architecture used to allow the intermediate computer to cache all loaded process template information separately. A dedicated memory will be dynamically allocated inside the intermediate computer to specifically store the sub-step settings and protection items of each template; specifically, a single intermediate computer supports caching up to 16 process template data at the same time, and templates will not be overwritten by each other, and the intermediate computer will also use a FLASH-based file architecture to save process information when power is off.
[0080] In some embodiments, the work step control module is an operation algorithm module used to analyze the operation status of each independent channel in real time and independently load the work step. Its control logic is as follows: Assuming that a single slave computer controlled by the current intermediate computer has n channels loaded with templates, the intermediate computer will record the unique identifier of the template corresponding to each channel to form a mapping relationship. The control module will inspect all channels of the current slave computer at a frequency of 1Hz. When the x-th gold channel has reached the end condition and completed the work step, the channel control module can retrieve the next work step information to be loaded based on the template structure mapped by the x-th channel, and independently update it to the corresponding channel of the slave computer, so that the x-th channel will always maintain the work step operation independently, and so on, to achieve the effect of independent control of all channels.
[0081] refer to Figure 6 , Figure 6 This is an example diagram of a multi-channel independent control method proposed in an embodiment of the present application, wherein the present application further includes the following steps:
[0082] Step S601, start:
[0083] Step S602, determine whether the current inspection channel number n is less than the maximum number of channels, if so, jump to step S603, if not, jump to step S601;
[0084] Step S603, calculating the real-time data of the current channel, such as voltage, current, capacity, energy, time, etc.;
[0085] Step S604, determine whether the current channel has been terminated, if so, jump to step S605, if not, jump to step S602;
[0086] Step S605, determine whether the current channel has not completed the template, if so, jump to step S606, if not, jump to step S602;
[0087] Step S606: Retrieve the template information corresponding to the channel through the mapping relationship, and parse the next step to be loaded through the algorithm and load it into the current channel;
[0088] Step S607, n=n+1, and jump to step S602.
[0089] Through the above steps, the problem that multiple channels of the lower computer can only perform the same process template can be effectively avoided, thereby effectively improving the process operation efficiency of the multi-channel system.
[0090] refer to Figure 7 , Figure 7 It is a schematic diagram of the structure of the controller provided in an embodiment of the present application.
[0091] Some embodiments of the present application provide a controller, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the multi-channel independent control method of any of the above embodiments is implemented, for example, the multi-channel independent control method described above is implemented. Figure 1 Steps S110 to S140 of the method, Figure 2 Steps S210 to S220 of the method, Figure 3 Steps S310 to S320 of the method, Figure 4 Method steps S410 to S420.
[0092] The controller 700 of the embodiment of the present application includes one or more processors 710 and a memory 720. Figure 7 In the figure, a processor 710 and a memory 720 are taken as an example.
[0093] The processor 710 and the memory 720 may be connected via a bus or other means. Figure 7 The bus connection is taken as an example.
[0094] Memory 720, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. Memory 720 can include high-speed random access memory and non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device.
[0095] In some embodiments, the memory 720 optionally includes a memory 720 remotely located relative to the processor 710. These remote memories can be connected to the controller 700 via a network. At the same time, examples of the above-mentioned network include but are not limited to the Internet, corporate intranet, local area network, mobile communication network and their combinations.
[0096] In some embodiments, when the processor executes the computer program, the multi-channel independent control method of any one of the above embodiments is executed at a preset interval.
[0097] Those skilled in the art will understand that Figure 7The system structure shown in the figure does not constitute a limitation on the controller 700, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0098] exist Figure 7 In the controller 700 shown, the processor 710 can be used to call the multi-channel independent control method stored in the memory 720, thereby implementing the multi-channel independent control method.
[0099] Based on the hardware structure of the above-mentioned controller 700, various embodiments of the multi-channel system of the present application are proposed. At the same time, the non-transient software programs and instructions required to implement the multi-channel independent control method of the above-mentioned embodiments are stored in the memory. When executed by the processor, the multi-channel independent control method of the above-mentioned embodiments is executed.
[0100] In addition, an embodiment of the present application further provides a multi-channel system, which includes the above-mentioned controller.
[0101] In some embodiments, since the multi-channel system of the embodiment of the present application has the controller of the above-mentioned embodiment, and the controller of the above-mentioned embodiment can execute the multi-channel independent control method of the above-mentioned embodiment, the specific implementation methods and technical effects of the multi-channel system of the embodiment of the present application can refer to the specific implementation methods and technical effects of the multi-channel independent control method of any of the above-mentioned embodiments.
[0102] The embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are used to execute the above-mentioned multi-channel independent control method, for example, to enable the above-mentioned one or more processors to execute the multi-channel independent control method in the above-mentioned method embodiment, for example, to execute the above-mentioned Figure 1 Steps S110 to S140 of the method, Figure 2 Steps S210 to S220 of the method, Figure 3 Steps S310 to S320 of the method, Figure 4 Method steps S410 to S420.
[0103] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network nodes. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.
[0104] Those skilled in the art will appreciate that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer-readable storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer-readable storage medium is included in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) and is volatile and non-volatile, removable, and non-removable. Computer-readable storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technology, CD-ROM, digital versatile disks (DVD), or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage, or other magnetic storage systems, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0105] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above implementation mode. Technical personnel familiar with the field can also make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A multi-channel independent control method, characterized in that: The method is applied to a central computer master control unit in a multi-channel system, wherein the multi-channel system further includes a lower computer control unit and a plurality of channel modules. The method includes: Acquiring real-time operation data and template loading information of the plurality of channel modules through the lower computer control unit; determining whether the channel module is in a cut-off state according to the real-time operating data of the channel module and a preset cut-off condition; When the channel module is in a cut-off state and the channel module completes the work step corresponding to the template loading information, the template information to be loaded is determined according to the template loading information and the preset industrial template data; The work step information to be loaded is determined according to the template information to be loaded, so that the channel module loads the work step information to be loaded and performs corresponding work step actions.
2. The multi-channel independent control method according to claim 1, characterized in that: The acquiring of the real-time operation data and template loading information of the plurality of channel modules by the lower computer control unit includes: Determining a current detection channel module from the plurality of channel modules, and obtaining a channel number of the current detection channel module; When the channel number is less than or equal to the preset maximum channel number, the real-time operation data and the template loading information of the current detection channel module are obtained.
3. The multi-channel independent control method according to claim 2, characterized in that: After obtaining the channel number of the current detection channel module, the method further includes: In the case that the channel number is greater than the preset maximum channel number, the channel number of the current detection channel module is acquired again after a preset time interval.
4. The multi-channel independent control method according to claim 1, characterized in that: After the real-time operation data and template loading information of the plurality of channel modules are obtained by the lower computer control unit, the method further includes: Generate a template identifier according to the template loading information; The template information to be loaded of the channel module is determined according to the template identification and the template loading order corresponding to the industrial template data.
5. The multi-channel independent control method according to claim 1, characterized in that: The industrial template data includes sub-step information and protection item information of multiple templates, and the method further includes: The industrial template data is temporarily stored in a dedicated memory and stored in a FLASH file architecture.
6. The multi-channel independent control method according to claim 1 or 5, characterized in that: The determining of the work step information to be loaded according to the template information to be loaded, so that the channel module loads the work step information to be loaded and performs corresponding work step actions, includes: Determine the sub-step information corresponding to the step information to be loaded according to the template information to be loaded; Sending charging and discharging instructions to the lower computer control unit through the bus, so that the lower computer control unit controls the channel module to load the sub-step information according to the charging and discharging instructions, and performs the sub-step action corresponding to the sub-step information.
7. The multi-channel independent control method according to claim 5, characterized in that: The acquiring of real-time operation data of the plurality of channel modules by the lower computer control unit includes: The voltage information, current information, temperature information and charge and discharge mode information of the plurality of channel modules are obtained through the lower computer control unit.
8. A multi-channel system, characterized in that The multi-channel system includes a central computer master control unit, a lower computer control unit and a plurality of channel modules, wherein the central computer master control unit includes a process template cache module and a work step control module; The process template cache module is used to store preset industrial template data; The work step control module is used to obtain the real-time operation data and template loading information of multiple channel modules through the lower computer control unit, and determine whether the channel module is in the cut-off state according to the real-time operation data of the channel module and the preset cut-off condition. When the channel module is in the cut-off state and the channel module completes the work step action corresponding to the template loading information, the template information to be loaded is determined according to the template loading information and the industrial template data, and the work step information to be loaded is determined according to the template information to be loaded, so that the channel module loads the work step information to be loaded and performs the corresponding work step action.
9. A controller, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the multi-channel independent control method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the multi-channel independent control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Middle position machine control system of battery formation capacity grading equipment and capacity grading equipment
CN110703655A
Channel control method of battery detection equipment
CN113867990A