CN117517991A - Battery detection method, device, system, equipment and computer storage medium - Google Patents

Battery detection method, device, system, equipment and computer storage medium Download PDF

Info

Publication number
CN117517991A
CN117517991A CN202311325515.4A CN202311325515A CN117517991A CN 117517991 A CN117517991 A CN 117517991A CN 202311325515 A CN202311325515 A CN 202311325515A CN 117517991 A CN117517991 A CN 117517991A
Authority
CN
China
Prior art keywords
detection
battery
task
detected
mode data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311325515.4A
Other languages
Chinese (zh)
Inventor
李明星
杨冬强
薛洲
王文义
江海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Huasu Technology Co ltd
Original Assignee
Hangzhou Huasu Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Huasu Technology Co ltd filed Critical Hangzhou Huasu Technology Co ltd
Priority to CN202311325515.4A priority Critical patent/CN117517991A/en
Publication of CN117517991A publication Critical patent/CN117517991A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/385Arrangements for measuring battery or accumulator variables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/367Software therefor, e.g. for battery testing using modelling or look-up tables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/389Measuring internal impedance, internal conductance or related variables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/396Acquisition or processing of data for testing or for monitoring individual cells or groups of cells within a battery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a battery detection method, a device, a system, equipment and a computer storage medium, relates to the technical field of batteries, and solves the problems of lower detection efficiency and poor flexibility in the battery detection process in the prior art. The specific scheme comprises the following steps: acquiring attribute information and detection mode data corresponding to at least one battery to be detected; determining a target detection task corresponding to each battery to be detected from a plurality of preset detection tasks based on attribute information and detection mode data; the method comprises the steps of presetting a plurality of detection tasks, wherein the preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process; and detecting the battery to be detected based on the target detection task, and generating a detection result of the battery to be detected.

Description

Battery detection method, device, system, equipment and computer storage medium
Technical Field
The present disclosure relates to the field of battery technologies, and in particular, to a battery detection method, device, system, apparatus, and computer storage medium.
Background
In practice, the battery is used as the main power source of the product, and can drive the equipment to operate. By detecting the battery, the current actual parameters of the battery can be known, so that the performance of the battery can be evaluated. In the related art, in the process of detecting a battery, a plurality of detection modules with different functions are installed to detect the battery respectively, so as to obtain a battery detection result.
However, the battery detection process using the above method has problems of low detection efficiency and poor flexibility.
Disclosure of Invention
The application provides a battery detection method, a device, a system, equipment and a computer storage medium, which can solve the problems of lower detection efficiency and poorer flexibility in the battery detection process in the prior art.
In order to achieve the above purpose, the present application adopts the following technical scheme:
an embodiment of the present application provides a battery detection method, including:
acquiring attribute information and detection mode data corresponding to at least one battery to be detected;
determining a target detection task corresponding to each battery to be detected from a plurality of preset detection tasks based on attribute information and detection mode data; the method comprises the steps of presetting a plurality of detection tasks, wherein the preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process;
and detecting the battery to be detected based on the target detection task, and generating a detection result of the battery to be detected.
In one possible implementation manner, the attribute information includes item information and detection environment information corresponding to the battery to be detected, and the detection mode data includes stand-alone operation detection mode data and master-slave operation detection mode data; the single-machine work detection mode data are used for representing that each electric to be detected is detected through one battery detection device, and the master-slave work detection mode data are used for representing that each electric to be detected is detected through at least one first battery detection device serving as a master machine and at least one second battery detection device corresponding to each first battery detection device serving as a slave machine.
In one possible implementation, the preset multiple detection tasks include a system task, a basic task, an optional task, a slave specific task and an extension task, wherein the system task includes a working mode switching function, an adding function and a deleting function, the basic task includes voltage detection, temperature detection, internal resistance test, fault detection, MOS tube detection, low-power consumption power down mode detection, modbus protocol analysis and bootload online upgrading, the optional task includes equalization function detection, charging, internal resistance test calibration, charging current configuration and battery activation, the slave specific task includes a broadcasting mode and a slave automatic addressing mode, and the extension task includes current detection and battery thermal runaway monitoring.
In one possible embodiment, if the detection mode data is stand-alone operation detection mode data, based on the attribute information and the detection mode data, the control unit determines a target detection task corresponding to the battery to be detected from a preset plurality of detection tasks, including:
based on the attribute information and the single machine work detection mode data, controlling the battery detection device to select a first detection task and/or a second detection task from a plurality of preset detection tasks as a target detection task; the first detection task comprises a system task and a basic task, and the second detection task comprises a matching task and/or an expansion task.
In one possible implementation manner, if the detection mode data is master-slave operation detection mode data, based on the attribute information and the detection mode data, the control battery detection device determines a target detection task corresponding to the battery to be detected from a preset plurality of detection tasks, including:
based on the attribute information and the master-slave work detection mode data, controlling the battery detection device to select a third detection task and/or a fourth detection task from a plurality of preset detection tasks as a target detection task; the third detection task comprises a system task, a basic task and a slave specific task, and the fourth detection task comprises a matching task and/or an expansion task.
In one possible embodiment, the method further comprises:
acquiring new attribute information corresponding to at least one battery to be detected and new detection mode data;
aiming at each battery to be detected, deleting and/or adding the target detection task based on the new attribute information and the new detection mode data to obtain a new target detection task;
and detecting the battery to be detected based on the new target detection task, and generating a detection result of the battery to be detected.
A second aspect of an embodiment of the present application proposes a battery detection device, including:
the acquisition module is used for acquiring attribute information and detection mode data corresponding to at least one battery to be detected;
the determining module is used for determining target detection tasks corresponding to the batteries to be detected from a plurality of preset detection tasks based on the attribute information and the detection mode data for the batteries to be detected; the method comprises the steps of presetting a plurality of detection tasks, wherein the preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process;
the detection module is used for carrying out detection operation on the battery to be detected based on the target detection task and generating a detection result of the battery to be detected.
In one possible implementation manner, the attribute information includes item information and detection environment information corresponding to the battery to be detected, and the detection mode data includes stand-alone operation detection mode data and master-slave operation detection mode data; the single-machine work detection mode data are used for representing that each electric to be detected is detected through one battery detection device, and the master-slave work detection mode data are used for representing that each electric to be detected is detected through at least one first battery detection device serving as a master machine and at least one second battery detection device corresponding to each first battery detection device serving as a slave machine.
In one possible implementation, the preset multiple detection tasks include a system task, a basic task, an optional task, a slave specific task and an extension task, wherein the system task includes a working mode switching function, an adding function and a deleting function, the basic task includes voltage detection, temperature detection, internal resistance test, fault detection, MOS tube detection, low-power consumption power down mode detection, modbus protocol analysis and bootload online upgrading, the optional task includes equalization function detection, charging, internal resistance test calibration, charging current configuration and battery activation, the slave specific task includes a broadcasting mode and a slave automatic addressing mode, and the extension task includes current detection and battery thermal runaway monitoring.
In one possible implementation, if the detection mode data is stand-alone operation detection mode data, the determining module is specifically configured to:
based on the attribute information and the single machine work detection mode data, controlling the battery detection device to select a first detection task and/or a second detection task from a plurality of preset detection tasks as a target detection task; the first detection task comprises a system task and a basic task, and the second detection task comprises a matching task and/or an expansion task.
In one possible implementation, if the detection mode data is master-slave operation detection mode data, the determining module is further configured to:
based on the attribute information and the master-slave work detection mode data, controlling the battery detection device to select a third detection task and/or a fourth detection task from a plurality of preset detection tasks as a target detection task; the third detection task comprises a system task, a basic task and a slave specific task, and the fourth detection task comprises a matching task and/or an expansion task.
In one possible embodiment, the battery detection device is further configured to:
acquiring new attribute information corresponding to at least one battery to be detected and new detection mode data;
aiming at each battery to be detected, deleting and/or adding the target detection task based on the new attribute information and the new detection mode data to obtain a new target detection task;
and detecting the battery to be detected based on the new target detection task, and generating a detection result of the battery to be detected.
The third aspect of the present application provides a battery detection system, the system includes at least one battery detection device and an upper computer, at least one battery detection device is connected with the upper computer in a communication manner, wherein:
the battery detection device is used for acquiring attribute information and detection mode data corresponding to at least one battery to be detected; determining a target detection task corresponding to each battery to be detected from a plurality of preset detection tasks based on attribute information and detection mode data; the method comprises the steps of presetting a plurality of detection tasks, wherein the preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process; detecting the battery to be detected based on the target detection task, generating a detection result of the battery to be detected, and sending the detection result to an upper computer;
and the upper computer is used for sending the attribute information and the detection mode data corresponding to the at least one battery to be detected to the at least one battery detection device and receiving the detection result sent by the at least one battery detection device.
A fourth aspect of the present application proposes an electronic device, which includes a processor and a memory, where at least one instruction, at least one section of program, a code set, or an instruction set is stored in the memory, where the at least one instruction, the at least one section of program, the code set, or the instruction set is loaded and executed by the processor to implement the battery detection method according to the first aspect.
A fifth aspect of the embodiments of the present application proposes a computer readable storage medium, in which at least one instruction, at least one program, a code set, or an instruction set is stored, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the battery detection method according to the first aspect.
The beneficial effects that technical scheme that this application embodiment provided include at least:
the battery detection method provided by the embodiment of the application comprises the following steps: acquiring attribute information and detection mode data corresponding to at least one battery to be detected; determining a target detection task corresponding to each battery to be detected from a plurality of preset detection tasks based on attribute information and detection mode data; the method comprises the steps of presetting a plurality of detection tasks, wherein the preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process; and detecting the battery to be detected based on the target detection task, and generating a detection result of the battery to be detected. According to the battery detection method, the plurality of original detection tasks are fused into the battery detection device, so that the adaptability of the battery detection device is improved, the battery detection process can be flexibly adapted to various specific environments according to different actual items, and the efficiency and the flexibility of battery detection are improved.
Drawings
Fig. 1 is a flowchart of a battery detection method according to an embodiment of the present application;
fig. 2 is a schematic diagram corresponding to data of a single machine operation detection mode according to an embodiment of the present application;
fig. 3 is a schematic diagram corresponding to data of a master-slave operation detection mode according to an embodiment of the present application;
FIG. 4 is a flowchart of generating a detection result according to an embodiment of the present application;
fig. 5 is a block diagram of a battery detection system according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the embodiments of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
In addition, the use of "based on" or "according to" is meant to be open and inclusive, as a process, step, calculation, or other action that is "based on" or "according to" one or more conditions or values may in practice be based on additional conditions or exceeded values.
Embodiments of the present application may be applied to electronic devices such as terminal devices, computer systems, servers, etc., which may operate in conjunction with a wide variety of other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with the terminal device, computer system, server, or other electronic device include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above systems, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server may be implemented in a distributed cloud computing environment in which tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including memory storage devices.
The execution subject of the embodiments of the present application may be a computer device or a battery detection system, and the following method embodiments will be described with reference to the computer device as the execution subject.
Fig. 1 is a flowchart of a battery detection method according to an embodiment of the present application, where the method includes:
step 102, obtaining attribute information and detection mode data corresponding to at least one battery to be detected.
Wherein, the battery is used as a main power source of the product, and can drive the equipment to operate. By detecting the battery, the current actual parameters of the battery can be known, so that the performance of the battery can be evaluated. When the battery to be detected is detected, one or more batteries to be detected can be provided, so that the attribute information and the detection mode data corresponding to at least one battery to be detected can be acquired first.
The attribute information may include item information and detection environment information corresponding to the battery to be detected, and of course, may also include other types of attribute information, which is not specifically limited in the embodiment of the present application.
The detection mode data may include, but is not limited to, stand-alone operation detection mode data and master-slave operation detection mode data. The stand-alone operation detection mode data is used for characterizing that each electric to be detected is detected by one battery detection device, and can be used for configuring related parameters of each managed battery to be detected, and the related parameters can include, for example, but not limited to, parameters such as a high-voltage threshold and a low-voltage threshold set according to model information of the battery to be detected, an internal resistance alarm threshold, a battery temperature threshold, a sampling rate, a filtering algorithm and the like. As shown in fig. 2, fig. 2 is a schematic diagram corresponding to data of a single machine operation detection mode provided in an embodiment of the present application, where three batteries managed under one battery detection device are to-be-detected batteries that need to be detected.
The master-slave operation detection mode data is used for representing that each battery to be detected is detected through at least one first battery detection device serving as a master machine and at least one second battery detection device serving as a slave machine corresponding to each first battery detection device, namely, a plurality of battery detection devices can be respectively preconfigured into modes of the master machine and the slave machine to configure related parameters of each managed battery to be detected. As shown in fig. 3, fig. 3 is a schematic diagram corresponding to master-slave operation detection mode data provided in this embodiment, where the uppermost battery detection device is a first battery detection device serving as a master, the two lower battery detection devices corresponding to the first battery detection device are second battery detection devices serving as slaves, and three batteries managed under each second battery detection device are to-be-detected batteries to be detected.
In some alternative embodiments, an instruction may be issued to each battery detection device in advance through a host computer, that is, a server and a proprietary protocol, so that the corresponding battery detection device is configured as a first battery detection device serving as a master or as a second battery detection device serving as a slave.
In other alternative embodiments, the number of the first battery detection devices may be determined according to the number of the batteries to be detected, for example, if the number of the batteries to be detected is smaller than a preset number threshold, only one first battery detection device serving as a master may be provided, and the other battery detection devices are configured as second battery detection devices serving as slaves; if the number of the batteries to be detected is greater than or equal to the preset number threshold, a plurality of first battery detection devices serving as a host machine can be set, and other battery detection devices are configured to serve as second battery detection devices serving as slave machines, wherein the preset number threshold can be preset in a customized mode according to experience.
In addition, since the number of the slave computers can be carried by each first battery detection device as the master computer is limited, the specific number of the first battery detection devices as the master computers can be determined in combination with the maximum value of the number of the slave computers which the first battery detection devices can carry.
Step 104, determining a target detection task corresponding to each battery to be detected from a plurality of preset detection tasks based on the attribute information and the detection mode data.
The preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process, and the original detection tasks are all battery tasks involved in the battery detection process. The preset plurality of detection tasks may include a system task, a basic task, a selection task, a slave-specific task, and an extension task.
In the actual detection process, each battery detection device comprises a plurality of settable detection tasks, so that the target detection task corresponding to the battery to be detected can be determined from the preset plurality of detection tasks according to specific attribute information and detection mode data.
The system tasks may include a working mode switching function, an adding function and a deleting function, where the working mode switching function is to switch between a single working mode corresponding to single working detection mode data and a master working mode corresponding to master-slave working detection mode data, and the adding function and the deleting function are to delete or add some detection tasks in the current online detection tasks, for example, some battery detection devices may include all types of basic tasks, and may also add or delete in various types of basic tasks.
The basic tasks can comprise voltage detection, temperature detection, internal resistance test, fault detection, MOS tube detection, low-power consumption power failure mode detection, modbus protocol analysis and bootload online upgrading. The optional tasks may include equalization function detection, charging, internal resistance test calibration, charge current configuration, and battery activation. The slave-specific task may include a broadcast mode and a slave automatic addressing mode, where the slave-specific task is a specific detection task that may be set on the second battery detection device serving as a slave, the broadcast mode is to broadcast and collect parameters of each battery to be detected under the second battery detection device serving as a slave, and the slave automatic addressing mode is to automatically encode each second battery detection device serving as a slave. The extended tasks may include current detection and battery thermal runaway monitoring.
Because each battery detection device comprises the 32 detection tasks, the adaptability of the battery detection device is improved, and the battery detection device can be flexibly adapted to various specific environments according to different actual projects to carry out the battery detection process.
In some optional embodiments, if the detection mode data is stand-alone operation detection mode data, based on the attribute information and the detection mode data, the controlling the battery detection device to determine a target detection task corresponding to the battery to be detected from a preset plurality of detection tasks may include: based on the attribute information and the single machine work detection mode data, the battery detection device is controlled to select a first detection task and/or a second detection task from a plurality of preset detection tasks as a target detection task. The first detection task comprises a system task and a basic task, and the second detection task comprises a matching task and/or an expansion task.
In other optional embodiments, if the detection mode data is master-slave operation detection mode data, based on the attribute information and the detection mode data, the controlling the battery detection device to determine a target detection task corresponding to the battery to be detected from a preset plurality of detection tasks may include: based on the attribute information and the master-slave work detection mode data, the battery detection device is controlled to select a third detection task and/or a fourth detection task from a plurality of preset detection tasks as a target detection task. The third detection task comprises a system task, a basic task and a slave specific task, and the fourth detection task comprises a matching task and/or an expansion task.
Specifically, since each battery detection device includes the above 32 detection tasks, and each detection task has a corresponding priority, that is, 32 priorities, and the priority of bit0 is the highest, typically, the priority of the system task is bit0, and the priority of bit 31 is the lowest. The specific implementation method of each detection task is as follows: a 32-BIT static variable Task may be defined first, and if no Task is set, the Task value is set to 0x0000, and when the working mode is set to switch, BIT0 is set to 1 first, and at this time, the Task value is set to 0x0001, and the function pointer of BIT0 is pointed to the function of the working mode switching. When the internal program detects that BIT0 is set, the function is called, the function is waited for running, a function pointer points to NULL, BIT0 is set to 0 again, and the Task value is 0. Similarly, the basic tasks are also run by such a method. The service function registers to the Task, sets up the flag bit, calls the running, cancels the function, cancels the flag bit, and thus runs reciprocally.
Above the above operation framework, in order to improve the operation efficiency of the system and prevent the system from blocking, concepts such as task locks, semaphores and the like are introduced. The Task lock is a sign for prohibiting registration of the Task, and the Task with the Task lock cannot be registered in the Task, so that the Task adding or deleting function is achieved, for example, the Task lock is added in the default of selecting the Task and expanding the Task, the Task lock is canceled by adding the function, and the Task lock is applied in the deleting function.
The semaphore is that each task has its own priority range, for example, the highest fixed system task priority is bit 0. If two functions in the system task are triggered simultaneously, a sequence of triggering is needed, and if the time interval between the triggering of the two tasks is extremely short and exceeds the speed of function operation, the spin lock needs to be applied to the former task, the latter task waits all the time, after the former task is completed, the spin lock is released, and then the latter task is operated immediately, so that the operation of the task with the highest priority is ensured. For tasks with low priority requirements, such as basic tasks, a mutual exclusion lock can be applied, for example, one task is registered to BIT3, the next task also wants to be registered to BIT3, and the next task can be registered to BIT4 when the two tasks collide, so that smooth operation of the system is ensured.
After the working mode is reset, the battery detection device is initialized again, so that the task lock can be applied to the unnecessary tasks according to the existing working mode, and the task lock can be canceled for the necessary tasks.
Further, in the master-slave operation mode, for the second battery detection device as the slave, if some functions are not required in the field, some detection tasks do not need to be added. For the first battery detection device serving as the host, the host needs to communicate with a plurality of slaves, so that functions which are not needed by the slaves can be deleted, the slaves can not upload meaningless data to the host, the conciseness and high efficiency of the data are ensured, the information processing capability of the host is improved, and the efficiency of the whole battery detection process is further improved.
In this embodiment, by configuring different first battery detection devices as a master or second battery detection devices as a slave, the switching can be performed in a single-machine working mode and a master-slave working mode, so that each battery detection device can adapt to different specific environments, and different application effects can be realized at different time points, so that each battery detection device is more diversified and has wider applicability.
And 106, performing detection operation on the battery to be detected based on the target detection task, and generating a detection result of the battery to be detected.
And after determining the target detection task, the battery detection device can detect the battery to be detected based on the target detection task, and finally, a detection result of the battery to be detected is generated.
In some alternative embodiments, as shown in fig. 4, fig. 4 is a flowchart of generating a detection result provided in an embodiment of the present application, including:
step 402, obtaining new attribute information and new detection mode data corresponding to at least one battery to be detected.
Step 404, for each battery to be detected, deleting and/or adding operation is performed on the target detection task based on the new attribute information and the new detection mode data, so as to obtain a new target detection task.
Step 406, performing detection operation on the battery to be detected based on the new target detection task, and generating a detection result of the battery to be detected.
Wherein, no matter the battery detection device is in a single-machine working mode or a master-slave working mode, certain detection tasks can be deleted or added in the current online detection tasks, so that the method is suitable for the actual application process. In addition, the battery detection device is in a stand-alone working mode or a master-slave working mode, and is usually set when the environment is installed, the working mode is switched to be used for changing the actual installation environment, and the actual use situation needs to be combined, for example, if only data needs to be transmitted and interface display is not needed, n first battery detection devices serving as a host computer can be set, and each first battery detection device is responsible for processing data of other second battery detection devices serving as a slave computer and pushing the data to an upper computer.
Therefore, in the actual detection process, new attribute information and new detection mode data corresponding to at least one battery to be detected can be obtained again, so that the target detection task can be deleted and/or added based on the new attribute information and the new detection mode data to obtain a new target detection task, and finally, the battery to be detected is detected based on the new target detection task to generate a detection result of the battery to be detected.
In this embodiment, since a new target detection task can be redetermined according to new attribute information and new detection mode data, a battery detection process is performed, and suitability of a battery detection device is further improved, so that the battery detection process can be flexibly adapted to various specific environments according to different actual items.
The battery detection method provided by the embodiment of the application comprises the following steps: acquiring attribute information and detection mode data corresponding to at least one battery to be detected; determining a target detection task corresponding to each battery to be detected from a plurality of preset detection tasks based on attribute information and detection mode data; the method comprises the steps of presetting a plurality of detection tasks, wherein the preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process; and detecting the battery to be detected based on the target detection task, and generating a detection result of the battery to be detected. According to the battery detection method, the plurality of original detection tasks are fused into the battery detection device, so that the adaptability of the battery detection device is improved, the battery detection process can be flexibly adapted to various specific environments according to different actual items, and the efficiency and the flexibility of battery detection are improved.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Fig. 5 is a block diagram of a battery detection device according to an embodiment of the present invention.
As shown in fig. 5, the battery detection device 500 includes:
the obtaining module 502 is configured to obtain attribute information and detection mode data corresponding to at least one battery to be detected.
A determining module 504, configured to determine, for each battery to be detected, a target detection task corresponding to the battery to be detected from a preset plurality of detection tasks based on the attribute information and the detection mode data; the preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process.
The detection module 506 is configured to perform a detection operation on the battery to be detected based on the target detection task, and generate a detection result of the battery to be detected.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein. Each of the modules in the above battery detection device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may invoke and perform the operations of the above modules.
The embodiment of the application also provides a battery detection system, which is characterized in that the system comprises at least one battery detection device and an upper computer, wherein the at least one battery detection device is in communication connection with the upper computer, and the battery detection device comprises:
the battery detection device is used for acquiring attribute information and detection mode data corresponding to at least one battery to be detected; determining a target detection task corresponding to each battery to be detected from a plurality of preset detection tasks based on attribute information and detection mode data; the method comprises the steps of presetting a plurality of detection tasks, wherein the preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process; detecting the battery to be detected based on the target detection task, generating a detection result of the battery to be detected, and sending the detection result to an upper computer;
and the upper computer is used for sending the attribute information and the detection mode data corresponding to the at least one battery to be detected to the at least one battery detection device and receiving the detection result sent by the at least one battery detection device.
The specific manner in which the various modules perform the operations in relation to the systems of the above embodiments have been described in detail in relation to the embodiments of the method and will not be described in detail herein.
The embodiment of the application also provides an electronic device, which comprises a processor and a memory, wherein at least one instruction, at least one section of program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by the processor to realize the steps of the embodiments of the method.
The implementation principle and technical effects of the electronic device provided in the embodiment of the present application are similar to those of the above method embodiment, and are not described herein again.
Embodiments of the present application also provide a computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, at least one program, code set, or instruction set being loaded and executed by a processor to implement the steps of the various embodiments of the method as described above.
The computer readable storage medium provided in this embodiment has similar principles and technical effects to those of the above method embodiment, and will not be described herein.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer-executable instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are fully or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, a website, computer, server, or data center via a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. Computer readable storage media can be any available media that can be accessed by a computer or data storage devices including one or more servers, data centers, etc. that can be integrated with the media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples represent only a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A battery detection method, the method comprising:
acquiring attribute information and detection mode data corresponding to at least one battery to be detected;
determining a target detection task corresponding to each battery to be detected from a plurality of preset detection tasks based on the attribute information and the detection mode data; the preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process;
and detecting the battery to be detected based on the target detection task, and generating a detection result of the battery to be detected.
2. The method according to claim 1, wherein the attribute information includes item information and detection environment information corresponding to the battery to be detected, and the detection mode data includes stand-alone operation detection mode data and master-slave operation detection mode data; the single-machine work detection mode data are used for representing that each electric to be detected is detected through one battery detection device, and the master-slave work detection mode data are used for representing that each electric to be detected is detected through at least one first battery detection device serving as a master machine and at least one second battery detection device serving as a slave machine, wherein the second battery detection device corresponds to each first battery detection device.
3. The method of claim 1 or 2, wherein the preset plurality of detection tasks include a system task, a basic task, an optional task, a slave-specific task and an extension task, wherein the system task includes an operation mode switching function, an addition function and a deletion function, the basic task includes voltage detection, temperature detection, internal resistance test, fault detection, MOS transistor detection, low power consumption power down mode detection, modbus protocol parsing and bootload online upgrade, the optional task includes equalization function detection, charging, internal resistance test calibration, charging current configuration and battery activation, the slave-specific task includes a broadcast mode and a slave automatic addressing mode, and the extension task includes current detection and battery thermal runaway monitoring.
4. The method of claim 3, wherein if the detection mode data is stand-alone operation detection mode data, the controlling the battery detection device to determine a target detection task corresponding to the battery to be detected from a preset plurality of detection tasks based on the attribute information and the detection mode data comprises:
based on the attribute information and the single machine work detection mode data, controlling a battery detection device to select a first detection task and/or a second detection task from a plurality of preset detection tasks as the target detection task; the first detection task comprises the system task and the basic task, and the second detection task comprises the matching task and/or the expansion task.
5. The method according to claim 3, wherein if the detection mode data is master-slave operation detection mode data, the controlling the battery detection device to determine a target detection task corresponding to the battery to be detected from a preset plurality of detection tasks based on the attribute information and the detection mode data includes:
based on the attribute information and the master-slave work detection mode data, controlling a battery detection device to select a third detection task and/or a fourth detection task from a plurality of preset detection tasks as the target detection task; the third detection task comprises the system task, the basic task and the slave-specific task, and the fourth detection task comprises the matching task and/or the expansion task.
6. The method according to claim 1, wherein the method further comprises:
acquiring new attribute information corresponding to at least one battery to be detected and new detection mode data;
for each battery to be detected, deleting and/or adding the target detection task based on the new attribute information and the new detection mode data to obtain a new target detection task;
and detecting the battery to be detected based on the new target detection task, and generating a detection result of the battery to be detected.
7. A battery testing device, the device comprising:
the acquisition module is used for acquiring attribute information and detection mode data corresponding to at least one battery to be detected;
the determining module is used for determining target detection tasks corresponding to the to-be-detected batteries from a plurality of preset detection tasks based on the attribute information and the detection mode data for each to-be-detected battery; the preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process;
and the detection module is used for carrying out detection operation on the battery to be detected based on the target detection task and generating a detection result of the battery to be detected.
8. The battery detection system is characterized by comprising at least one battery detection device and an upper computer, wherein the at least one battery detection device is in communication connection with the upper computer, and the battery detection device comprises:
the at least one battery detection device is used for acquiring attribute information and detection mode data corresponding to at least one battery to be detected; determining a target detection task corresponding to each battery to be detected from a plurality of preset detection tasks based on the attribute information and the detection mode data; the preset detection tasks are obtained by fusing a plurality of original detection tasks required in the battery detection process; detecting the battery to be detected based on the target detection task, generating a detection result of the battery to be detected, and sending the detection result to the upper computer;
the upper computer is used for sending the attribute information and the detection mode data corresponding to the at least one battery to be detected to the at least one battery detection device and receiving the detection result sent by the at least one battery detection device.
9. An electronic device comprising a processor and a memory having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, code set, or instruction set being loaded and executed by the processor to implement the battery detection method of any of claims 1-6.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code set, or instruction set being loaded and executed by a processor to implement the battery detection method of any of claims 1-6.
CN202311325515.4A 2023-10-13 2023-10-13 Battery detection method, device, system, equipment and computer storage medium Pending CN117517991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311325515.4A CN117517991A (en) 2023-10-13 2023-10-13 Battery detection method, device, system, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311325515.4A CN117517991A (en) 2023-10-13 2023-10-13 Battery detection method, device, system, equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN117517991A true CN117517991A (en) 2024-02-06

Family

ID=89750270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311325515.4A Pending CN117517991A (en) 2023-10-13 2023-10-13 Battery detection method, device, system, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN117517991A (en)

Similar Documents

Publication Publication Date Title
CN111045901B (en) Container monitoring method and device, storage medium and electronic equipment
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
CN111800443B (en) Data processing system and method, device and electronic equipment
CN110166562B (en) Data synchronization method and device, storage medium and electronic equipment
KR20180029900A (en) Management of log data in electronic systems
CN111464513A (en) Data detection method, device, server and storage medium
CN111970339A (en) Request control method and device and electronic equipment
CN105094278A (en) information processing method and device
CN111585817B (en) Power-saving mode switching method and device
CN110930110B (en) Distributed flow monitoring method and device, storage medium and electronic equipment
CN111885892A (en) Heat dissipation control method, system and device of power adapter and readable storage medium
CN105245591A (en) Method and system for monitoring desktop cloud performance experience
CN117517991A (en) Battery detection method, device, system, equipment and computer storage medium
CN102769495B (en) A kind of optical fiber access network equipment communication means, Apparatus and system
CN109144676A (en) A kind of self-starting detection method, device and the server of application program
CN116150273A (en) Data processing method, device, computer equipment and storage medium
CN104572418A (en) Diagnostic method, device and system for mobile terminal
CN110536186B (en) Remote sensing control method and device, electronic equipment and storage medium
CN114553628A (en) Systems and methods for group control using service data objects
CN112379763A (en) Method, system, equipment and medium for preventing electric leakage
Kang et al. A Distributed and Parallell Computing Framwork for SCADA Application in Power System
CN112118420A (en) Automatic configuration method and device for monitoring system
CN107273328B (en) Interface management method and system
CN114208122A (en) Autonomous semantic data discovery for distributed networked systems
CN111831153B (en) Capacitive touch screen control method and device and capacitive touch screen

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination