Vehicle battery encoding method, device, equipment and medium
By obtaining the initial address and level data from the main controller, the power batteries in the vehicle battery pack are automatically determined and coded, solving the problem of low efficiency of manual coding and improving the efficiency and accuracy of battery installation.
Patent Information
- Application Number
- CN202411789677.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2044-12-06
AI Technical Summary
When batteries are manually installed according to the coding sequence of the coded batteries, the installation efficiency is low.
By obtaining the initial address data and initial input level data from the main controller, determining the target power battery from each power battery according to the installation address and initial address data of each power battery in the vehicle battery pack, and inputting the initial input level data into the target power battery to obtain the target output level data, the target power battery is encoded according to the initial address data, the initial input level data and the target output level data.
This eliminates the need to pre-code each power battery and enables automatic coding of each power battery, improving the efficiency and accuracy of on-board battery coding.
Smart Images

Figure CN119428337B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a vehicle-mounted battery encoding method, device, equipment and medium. Background Art
[0002] With the rapid development of technology, the number and types of vehicles are increasing. Electric vehicles are becoming increasingly common in all aspects of our lives. Electric vehicles are powered by at least one battery pack equipped with at least one power cell. When the battery pack is powered, the vehicle is driven.
[0003] Currently, each battery has its corresponding code, and the batteries are manually sorted according to the codes, packaged into battery packs, and installed at designated locations on the vehicle.
[0004] However, when batteries are manually installed according to the coding sequence of the already coded batteries, the installation efficiency is low. Summary of the Invention
[0005] The present invention provides a vehicle-mounted battery coding method, device, equipment and medium to improve the accuracy of vehicle-mounted battery coding.
[0006] In a first aspect, an embodiment of the present invention provides a vehicle battery encoding method, the method comprising:
[0007] Obtain initial address data and initial input level data from the main controller;
[0008] Determine a target power battery from among the power batteries according to the installation address and initial address data of each power battery in the vehicle battery pack;
[0009] Inputting the initial input level data into the target power battery to obtain the target output level data;
[0010] The target power battery is encoded according to the initial address data, the initial input level data and the target output level data.
[0011] In a second aspect, an embodiment of the present invention further provides a vehicle-mounted battery encoding device, the device comprising:
[0012] A data acquisition module, used for acquiring initial address data and initial input level data from the main controller;
[0013] A target battery determination module is used to determine a target power battery from each power battery in the vehicle battery pack based on the installation address and initial address data of each power battery;
[0014] An output data acquisition module, used to input the initial input level data into the target power battery to obtain target output level data;
[0015] The battery encoding module is used to encode the target power battery according to the initial address data, the initial input level data and the target output level data.
[0016] In a third aspect, an embodiment of the present invention further provides a vehicle-mounted battery encoding device, the vehicle-mounted battery encoding device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by the at least one processor so that the at least one processor can execute the vehicle battery encoding method of any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores computer instructions, which are used to enable a processor to implement the vehicle battery encoding method of any embodiment of the present invention when executed.
[0021] The technical solution of the embodiment of the present invention obtains initial address data and initial input level data from a main controller; determines a target power battery from each power battery according to the installation address and initial address data of each power battery in the vehicle-mounted battery pack; inputs the initial input level data into the target power battery to obtain target output level data; and encodes the target power battery according to the initial address data, the initial input level data, and the target output level data. This eliminates the need to encode each power battery in advance and allows automatic encoding of each power battery, thereby improving the efficiency of vehicle-mounted battery encoding.
[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 This is a flow chart of a vehicle battery encoding method provided according to the first embodiment of the present invention;
[0025] Figure 2This is a flow chart of a vehicle battery encoding method provided according to the second embodiment of the present invention;
[0026] Figure 3 This is a structural diagram of a vehicle-mounted battery encoding device provided according to an embodiment of the present invention;
[0027] Figure 4 It is a structural diagram of an on-board battery encoding device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] In the technical solutions of the embodiments of the present invention, the acquisition, storage and application of the initial input level data, etc., all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0031] Example 1
[0032] Figure 1 This is a flow chart of a vehicle battery encoding method provided in Embodiment 1 of the present invention. This embodiment of the present invention is applicable to vehicle battery encoding. This method can be performed by a vehicle battery encoding device, which can be implemented in the form of hardware and / or software.
[0033] See also Figure 1 The vehicle battery coding method shown includes:
[0034] S101 , obtaining initial address data and initial input level data from a main controller.
[0035] The power battery may be a battery that drives the vehicle. The main controller may be a device that transmits level data to the battery. The initial address data may be used to describe the address to which the main controller is to send level data. The initial input level data may be data indicating the level to be input to the power battery corresponding to the initial address data.
[0036] Specifically, the level data can be a pulse width modulation signal (PWM), which controls the signal by adjusting the pulse width. Initial level data and initial address data can be preset, and the initial level data and initial input level data can be sent to the main controller. Data can be transmitted to the main controller via a connecting line. The initial address data and initial input level data are obtained from the main controller. The acquisition method includes but is not limited to: a sequential search algorithm, a block search algorithm, a hash search algorithm, and a tree table search algorithm, etc., which are not limited in the embodiment of the present invention.
[0037] S102 : Determine a target power battery from among the power batteries according to the installation address and initial address data of each power battery in the vehicle-mounted battery pack.
[0038] The vehicle battery pack may be a device that can be installed with a power battery. The installation address may be information describing the installation location of the power battery in the data packet. The target power battery may be the power battery to be encoded.
[0039] Specifically, a vehicle-mounted battery pack contains at least one power battery. Each power battery corresponds to a different location in the vehicle-mounted installation pack. Therefore, each power battery in the vehicle-mounted installation pack corresponds one-to-one to an installation address. The initial address data can be matched against the installation addresses of each power battery in the vehicle-mounted battery pack. The power battery corresponding to the installation address identical to the address in the initial address data is identified as the target power battery.
[0040] S103 : Input the initial input level data into the target power battery to obtain target output level data.
[0041] The target output level data may be descriptive information of the target power battery output level.
[0042] Specifically, different power batteries may correspond to different level data processing methods. The initial input level data may be input to the target power battery, and the target power battery processes the initial input level data according to its corresponding level data processing method to obtain target output level data.
[0043] S104 : Encode the target power battery according to the initial address data, the initial input level data, and the target output level data.
[0044] Specifically, the change trend of the initial input level data can be obtained based on the initial input level data and the target output level data of the target power battery. For example, the size of the value of the change in the initial input level data and whether the initial input level data is shrinking or increasing can be obtained. The calculation method of the target power battery is determined based on the initial input level data and the target output level data of the target power battery. Different calculation methods correspond to different identifiers. At the same time, the power battery can also be uniquely identified based on the initial address data. Therefore, the target power battery is encoded by the initial address data, the initial input level data and the target output level data to generate a unique identifier for the target power battery. According to the unique identifier of the power battery, data such as voltage or temperature can be configured for it, and the battery does not need to be installed according to the preset encoding of the power battery, thereby improving the efficiency of battery installation.
[0045] The technical solution of the embodiment of the present invention obtains the initial address data and initial input level data of the target power battery from the main controller; determines the target power battery from each power battery according to the installation address and initial address data of each power battery in the vehicle-mounted battery pack; inputs the initial input level data into the target power battery to obtain target output level data; and encodes the target power battery according to the initial address data, initial input level data and target output level data. There is no need to encode each power battery in advance, and each power battery can be automatically encoded, thereby improving the efficiency of vehicle-mounted battery encoding.
[0046] Example 2
[0047] Figure 2 This is a flow chart of a vehicle battery encoding method provided in the second embodiment of the present invention. Based on the above embodiments, this embodiment of the present invention optimizes and improves the vehicle battery encoding operation.
[0048] Furthermore, “inputting the initial input level data into the target power battery to obtain the target output level data” is refined into “obtaining the initial voltage and initial duty cycle of the initial input level data; obtaining the adjustment method and adjustment duty cycle corresponding to the target power battery; and calculating the target output level data output by the target power battery according to the initial voltage, initial duty cycle, adjustment method and adjustment duty cycle” to improve the operation of on-board battery coding.
[0049] It should be noted that for parts not described in detail in the embodiments of the present invention, reference may be made to the descriptions of other embodiments.
[0050] See also Figure 2 The vehicle battery coding method shown includes:
[0051] S201 , obtaining initial address data and initial input level data from a main controller.
[0052] S202 : Determine a target power battery from among the power batteries according to the installation address and initial address data of each power battery in the vehicle-mounted battery pack.
[0053] S203 : Obtain the initial voltage and initial duty cycle of the initial input level data.
[0054] The initial voltage may be the voltage to be applied to the target power battery, and the initial duty cycle may be the proportion of the power-on time of the main controller to the total time in a pulse cycle.
[0055] Specifically, the initial input level data is a collection of data including an initial voltage, an initial duty cycle, and an initial level, where the value of the initial level is obtained by multiplying the initial voltage and the initial duty cycle. The initial input level data can be identified to obtain the initial voltage and initial duty cycle of the initial input level data. Identification methods include, but are not limited to, feedforward neural networks, recursive neural networks, convolutional neural networks, generative adversarial neural networks, or deep belief networks, and are not limited in this embodiment of the present invention.
[0056] S204: Obtain an adjustment mode and an adjustment duty cycle corresponding to the target power battery.
[0057] The adjustment mode may be information describing the adjustment of the target power battery to the change trend of the initial input level data. The adjustment duty cycle may be used to describe the range of the duty cycle of the initial duty cycle adjustment.
[0058] Specifically, different power batteries correspond to different regulation methods and duty cycles. There is a one-to-one correspondence between each power battery and regulation method. The corresponding regulation method and duty cycle for the target power battery can be determined based on the battery type, version number, and manufacturer.
[0059] S205 : Calculate target output level data of the target power battery output according to the initial voltage, the initial duty cycle, the adjustment method, and the adjustment duty cycle.
[0060] Specifically, data is sent to the target power battery based on the initial voltage and initial duty cycle. The target power battery has its own corresponding regulation method and duty cycle. The target power battery determines whether the initial duty cycle should be adjusted to increase or decrease based on its corresponding regulation method. Based on the adjusted duty cycle, the target power battery determines how much to adjust the initial duty cycle to match the regulation trend, thereby obtaining target output level data for the target power battery.
[0061] S206 : Encode the target power battery according to the initial address data, the initial input level data, and the target output level data.
[0062] The embodiment of the present invention obtains the initial voltage and initial duty cycle of the initial input level data; obtains the adjustment method and adjustment duty cycle corresponding to the target power battery; and calculates the target output level data of the target power battery according to the initial voltage, initial duty cycle, adjustment method and adjustment duty cycle.
[0063] Optionally, the target output level data of the target power battery output is calculated based on the initial voltage, initial duty cycle, adjustment method and adjustment duty cycle, including: determining a calculation identifier based on the adjustment method; calculating the battery duty cycle based on the initial duty cycle, adjustment duty cycle and calculation identifier; and calculating the target output level data of the target power battery output based on the initial voltage and battery duty cycle.
[0064] The calculation identifier may be a mathematical symbol used to calculate the value of the duty cycle. The battery duty cycle is used to describe the proportion of the target power battery's power-on time relative to the total time within a pulse cycle.
[0065] Specifically, the adjustment method is identified to obtain the adjustment trend information of the initial duty cycle, and it can be determined whether the target power battery needs to increase or decrease the initial duty cycle value. The calculation identifier is obtained based on the adjustment trend information of the adjustment method. For example, the calculation identifier can be "+" or "-". When the calculation identifier is "+", it indicates that the target power battery needs to increase the initial duty cycle value. When the calculation identifier is "-", it indicates that the target power battery needs to decrease the initial duty cycle value. Based on the initial duty cycle, the adjustment duty cycle and the calculation identifier, the calculation method can be obtained. For example, if the calculation identifier is "+", the battery duty cycle is the sum of the initial duty cycle and the adjustment duty cycle; if the calculation identifier is "-", the battery duty cycle is the difference between the initial duty cycle and the adjustment duty cycle. The target output level data of the target power battery output is obtained by multiplying the initial voltage and the battery duty cycle.
[0066] By determining the calculation identifier according to the adjustment method; calculating the battery duty cycle according to the initial duty cycle, the adjustment duty cycle and the calculation identifier; calculating the target output level data of the target power battery output according to the initial voltage and the battery duty cycle, and performing different target output level data calculation operations for different adjustment methods, the target output level data calculation method is refined and the accuracy of the on-board battery coding is improved.
[0067] Optionally, after encoding the target power battery according to the initial address data, the initial input level data and the target output level data, the method includes: obtaining the target output level data; redetermining the target power battery among each power battery; and using the target output level data as the initial input level data of the redetermined target power battery to calculate the target output level data of the redetermined target power battery.
[0068] Specifically, the vehicle battery pack includes at least one power battery. After calculating target output level data based on initial address data and initial input level data, the target output level data is obtained as updated input data, and the initial address data is re-acquired in preparation for encoding the next power battery in the vehicle battery pack. Based on the re-acquired initial address data, a power battery corresponding to the initial address data is searched in the vehicle battery pack and determined as the new target power battery. The updated input data is input as initial input level data to the new target power battery. The target output level data of the new target power battery is recalculated based on the initial input level data to facilitate encoding of the new target power battery.
[0069] By acquiring target output level data; redetermining the target power battery in each power battery; and using the target output level data as initial input level data of the redetermined target power battery to calculate the target output level data of the redetermined target power battery, the target output level data of all power batteries in an on-vehicle battery pack can be calculated to facilitate encoding of each power battery, thereby improving the integrity of the battery encoding.
[0070] Optionally, the target power battery is encoded according to the initial address data, the initial input level data and the target output level data, including: generating query information of the target power battery according to the initial address data, the initial input level data and the target output level data; querying the query information in a battery coding library to obtain a query result, wherein the battery coding library stores at least one query information and the initial code corresponding to each query information; if the query result is a successful search, the target power battery is encoded according to the initial code; if the query result is a failed search, the target power battery is encoded according to the query information, and an alarm message is generated.
[0071] The query information may be descriptive information about the target power battery code. The battery code library may be a database storing power battery code information. The query result may be a result obtained by searching the battery code library based on the query information. The initial code may be a code in the battery code library corresponding to the query information. The warning message may be a prompt message indicating that the code was not found in the battery code library.
[0072] Specifically, the battery coding library presets at least one query information and the corresponding code for each query information. The query information and the code correspond one-to-one. The query information is generated based on the description information of the power battery. The query information and the power battery correspond one-to-one. The query information of the target power battery is generated based on the initial address data, the initial input level data, and the target output level data; the query information is queried in the battery coding library to obtain a query result. If the query result is a successful search, it indicates that the code of the power battery corresponding to the new query information exists in the battery coding library, and the initial code of the power battery is obtained. There is no need to re-encode the power battery, and the initial code is used as the target power battery code. If the query result is a failed search, it indicates that the power battery code is not recorded in the battery coding library. The power battery may have new description information. The new description information may be due to a system failure that causes a calculation error of the power battery, resulting in new description information, or it may be due to a change in the battery adjustment method that results in new data being calculated. Therefore, the target power battery is coded according to the query information, and an alarm message is generated to prompt the power battery corresponding to the initial address data to be coded, so that the operation and maintenance personnel can determine whether a system failure has occurred.
[0073] By generating query information of the target power battery according to the initial address data, the initial input level data and the target output level data; querying the query information in the battery coding library to obtain the query result, the battery coding library stores at least one query information and the initial code corresponding to each query information; if the query result is a successful search, the target power battery is coded according to the initial code; if the query result is a failed search, the target power battery is coded according to the query information, and an alarm message is generated. The power battery code can be determined according to the query information, and a unique identifier is generated for the target power battery, which facilitates the execution of different operations for different power batteries and improves the accuracy of the vehicle battery coding.
[0074] Optionally, after generating the alarm information, it also includes: counting the alarm information to obtain the number of alarm messages; obtaining the alarm number threshold; comparing the number of alarm messages with the alarm number threshold to obtain a number comparison result; generating maintenance information based on the number comparison result, and sending the maintenance information to the operation and maintenance personnel.
[0075] The number of alarm messages may be the number of times the power battery is coded based on the query information. The alarm number threshold may be a preset maximum number of alarm messages. The number comparison result may be the result of comparing the number of alarm messages with the alarm number threshold. The maintenance information may be information prompting operations and maintenance personnel to perform power battery maintenance.
[0076] Specifically, the alarm information is counted to obtain the number of alarm messages. The alarm number threshold is obtained by mouse selection, keyboard input, voice input, or text input, etc., which is not limited by the embodiment of the present invention. The number of alarm messages is compared with the alarm number threshold to obtain a number comparison result. If the number of alarm messages is greater than the alarm number threshold, maintenance information is generated based on the number comparison result, and the maintenance information is sent to the operation and maintenance personnel; if the number of alarm messages is less than or equal to the alarm number threshold, it indicates that the system is not faulty, and the encoding of the power battery continues. The maintenance information can be sent to the operation and maintenance personnel in the form of a pop-up prompt, a phone prompt, or a text message prompt, etc., which is not limited by the embodiment of the present invention.
[0077] By counting the alarm information, the number of alarm messages is obtained; the alarm number threshold is obtained; the number of alarm messages is compared with the alarm number threshold to obtain a number comparison result; based on the number comparison result, maintenance information is generated and sent to the operation and maintenance personnel to facilitate timely maintenance of the system and ensure the accuracy of the vehicle battery coding.
[0078] Optionally, after encoding the target power battery according to the initial address data, the initial input level data and the target output level data, it also includes: obtaining the maintenance identification, production date and battery type corresponding to the target power battery; generating an additional code corresponding to the target power battery according to the maintenance identification, production date and battery type corresponding to the target power battery; and supplementing the encoding of the target power battery according to the additional code.
[0079] Among them, the maintenance identification can be an identification of the maintenance status corresponding to the target power battery. The production date can be the production date corresponding to the target power battery. The battery type can be descriptive information of the type of the target power battery. The additional code can be additional coding information corresponding to the target power battery. Specifically, the maintenance identification can be 0, indicating that the power battery is brand new and has not been repaired; the maintenance identification can be 5, indicating that the power battery has been repaired less than or equal to 5 times; the maintenance identification can be 1, indicating that the power battery has been repaired more than 5 times. The battery type can be: brand new battery (X), turnover battery (Z) and maintenance battery (W). Obtain the maintenance identification, production date and battery type corresponding to the target power battery, generate the additional code corresponding to the target power battery according to the maintenance identification, production date and battery type corresponding to the target power battery, and supplement the target power battery according to the additional code. The additional code and the power battery have a one-to-one correspondence.
[0080] By obtaining the maintenance identification, production date and battery type corresponding to the target power battery; generating the additional code corresponding to the target power battery according to the maintenance identification, production date and battery type corresponding to the target power battery; supplementing the coding of the target power battery according to the additional code, the battery coding contains more information, and the power battery is coded through multi-dimensional data to avoid the randomness of coding and improve the accuracy of battery coding.
[0081] Example 3
[0082] Figure 3 This is a schematic diagram of the structure of a vehicle battery encoding device provided in Embodiment 3 of the present invention. This embodiment of the present invention is applicable to vehicle battery encoding. The device can execute the vehicle battery encoding method and can be implemented in the form of hardware and / or software.
[0083] See also Figure 3 The vehicle-mounted battery encoding device shown includes: a data acquisition module 301, a target battery determination module 302, an output data acquisition module 303 and a battery encoding module 304, wherein:
[0084] The data acquisition module 301 is used to acquire initial address data and initial input level data from the main controller;
[0085] A target battery determination module 302 is configured to determine a target power battery from among the power batteries according to the installation address and initial address data of each power battery in the vehicle-mounted battery pack;
[0086] The output data acquisition module 303 is used to input the initial input level data into the target power battery to obtain target output level data;
[0087] The battery encoding module 304 is configured to encode the target power battery according to the initial address data, the initial input level data and the target output level data.
[0088] The technical solution of the embodiment of the present invention obtains the initial address data and initial input level data of the target power battery from the main controller; determines the target power battery from each power battery according to the installation address and initial address data of each power battery in the vehicle-mounted battery pack; inputs the initial input level data into the target power battery to obtain target output level data; and encodes the target power battery according to the initial address data, initial input level data and target output level data. There is no need to encode each power battery in advance, and each power battery can be automatically encoded, thereby improving the efficiency of vehicle-mounted battery encoding.
[0089] Optionally, the output data acquisition module 303 includes:
[0090] An input data acquisition unit, configured to acquire an initial voltage and an initial duty cycle of initial input level data;
[0091] An adjustment data acquisition unit, used to obtain an adjustment mode and an adjustment duty cycle corresponding to a target power battery;
[0092] The target data acquisition unit is used to calculate the target output level data of the target power battery output according to the initial voltage, the initial duty cycle, the adjustment method and the adjustment duty cycle.
[0093] Optionally, the target data acquisition unit is specifically used to:
[0094] Determine the calculation identifier based on the adjustment method;
[0095] Calculate the battery duty cycle according to the initial duty cycle, the adjustment duty cycle and the calculation identifier;
[0096] The target output level data of the target power battery output is calculated based on the initial voltage and the battery duty cycle.
[0097] Optionally, the on-board battery encoding device also includes:
[0098] an output level acquisition module, configured to acquire target output level data after encoding the target power battery according to the initial address data, the initial input level data, and the target output level data;
[0099] A power battery determination module, used to redetermine a target power battery among the power batteries;
[0100] The input data switching module is used to use the target output level data as initial input level data of the re-determined target power battery, and is used to calculate the target output level data of the re-determined target power battery.
[0101] Optionally, the battery encoding module 304 includes:
[0102] an information generating unit, configured to generate query information of a target power battery according to the initial address data, the initial input level data, and the target output level data;
[0103] An information query unit, configured to query the query information in a battery code library to obtain a query result, wherein the battery code library stores at least one query information and an initial code corresponding to each query information;
[0104] A search success unit, configured to encode the target power battery according to the initial code if the query result is a successful search;
[0105] The search failure unit is used to encode the target power battery according to the query information and generate an alarm message if the query result is a search failure.
[0106] Optionally, the battery encoding module 304 further includes:
[0107] An information statistics unit is used to count the alarm information after generating the alarm information to obtain the number of alarm information;
[0108] A threshold acquisition unit is used to obtain the alarm number threshold;
[0109] The threshold comparison unit is used to compare the number of alarm information with the alarm number threshold to obtain a number comparison result; generate maintenance information based on the number comparison result, and send the maintenance information to the operation and maintenance personnel.
[0110] Optionally, the on-board battery encoding device also includes:
[0111] an additional information acquisition module, configured to obtain a maintenance identification, a production date, and a battery type corresponding to the target power battery after encoding the target power battery according to the initial address data, the initial input level data, and the target output level data;
[0112] An additional code generation module is used to generate an additional code corresponding to the target power battery according to the maintenance identification, production date, and battery type corresponding to the target power battery;
[0113] The coding supplement module is used to supplement the coding of the target power battery according to the additional coding.
[0114] The vehicle-mounted battery encoding device provided in the embodiment of the present invention can execute the vehicle-mounted battery encoding method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the vehicle-mounted battery encoding method.
[0115] Example 4
[0116] Figure 4 A schematic structural diagram of a vehicle-mounted battery encoding device 400 that can be used to implement an embodiment of the present invention is shown.
[0117] like Figure 4As shown, the on-board battery encoding device 400 includes at least one processor 401, and a memory connected to the at least one processor 401 in communication, such as a read-only memory (ROM) 402, a random access memory (RAM) 403, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 401 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 402 or the computer program loaded from the storage unit 408 to the random access memory (RAM) 403. Various programs and data required for the operation of the on-board battery encoding device 400 can also be stored in RAM403. The processor 401, ROM402 and RAM403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0118] Multiple components in the vehicle battery encoding device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a magnetic disk, optical disk, etc.; and a communication unit 409, such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the vehicle battery encoding device 400 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0119] Processor 401 can be a variety of general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of processor 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. Processor 501 executes the various methods and processes described above, such as the vehicle battery encoding method.
[0120] In some embodiments, the on-board battery coding method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed onto the on-board battery coding device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded into the RAM 403 and executed by the processor 401, one or more steps of the on-board battery coding method described above may be performed. Alternatively, in other embodiments, the processor 401 may be configured to execute the on-board battery coding method in any other appropriate manner (e.g., by means of firmware).
[0121] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0122] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0123] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0124] To provide interaction with a user, the systems and techniques described herein may be implemented on an onboard battery encoding device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) through which a user can provide input to the onboard battery encoding device. Other types of devices may also be used to provide interaction with a user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0125] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0126] A computing system may include clients and servers. The clients and servers are generally remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within a cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS (Virtual Private Server) services.
[0127] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0128] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A vehicle battery encoding method, characterized in that: The method comprises: Obtain initial address data and initial input level data from the main controller; Determining a target power battery from among the power batteries according to the installation addresses of the power batteries in the vehicle battery pack and the initial address data; Inputting the initial input level data into the target power battery to obtain target output level data; encoding the target power battery according to the initial address data, the initial input level data, and the target output level data; Inputting the initial input level data into the target power battery to obtain target output level data includes: Acquiring an initial voltage and an initial duty cycle of the initial input level data; Obtaining an adjustment mode and an adjustment duty cycle corresponding to the target power battery; Calculating target output level data of the target power battery output according to the initial voltage, the initial duty cycle, the adjustment method, and the adjustment duty cycle; The calculating and obtaining target output level data of the target power battery output according to the initial voltage, the initial duty cycle, the adjustment method, and the adjustment duty cycle includes: determining a calculation identifier according to the adjustment method; Calculating a battery duty cycle according to the initial duty cycle, the adjusted duty cycle, and the calculation identifier; The target output level data of the target power battery output is calculated according to the initial voltage and the battery duty cycle.
2. The method according to claim 1, characterized in that After encoding the target power battery according to the initial address data, the initial input level data and the target output level data, the method further includes: Get target output level data; re-determining the target power battery among the power batteries; The target output level data is used as the re-determined initial input level data of the target power battery to calculate the re-determined target output level data of the target power battery.
3. The method according to claim 1, characterized in that The encoding of the target power battery according to the initial address data, the initial input level data and the target output level data includes: generating query information of the target power battery according to the initial address data, the initial input level data, and the target output level data; Querying the query information in a battery code library to obtain a query result, wherein the battery code library stores at least one query information and an initial code corresponding to each query information; If the query result is a successful search, the target power battery is coded according to the initial code; If the query result is that the search fails, the target power battery is coded according to the query information and an alarm message is generated.
4. The method according to claim 3, characterized in that After generating the alarm information, the method further includes: Counting the alarm information to obtain the number of alarm information; Get the alarm count threshold; The number of alarm messages is compared with the alarm number threshold to obtain a number comparison result; maintenance information is generated according to the number comparison result, and the maintenance information is sent to an operation and maintenance personnel.
5. The method according to claim 1, wherein After encoding the target power battery according to the initial address data, the initial input level data and the target output level data, the method further includes: Obtaining the maintenance identification, production date, and battery type corresponding to the target power battery; Generate an additional code corresponding to the target power battery according to the maintenance identification, production date, and battery type corresponding to the target power battery; The target power battery is supplementally coded according to the additional code.
6. A vehicle-mounted battery encoding device, characterized in that: The device comprises: A data acquisition module, used for acquiring initial address data and initial input level data from the main controller; a target battery determination module, configured to determine a target power battery from among the power batteries in the vehicle-mounted battery pack according to the installation addresses of the power batteries and the initial address data; an output data acquisition module, configured to input the initial input level data into the target power battery to obtain target output level data; a battery encoding module, configured to encode the target power battery according to the initial address data, the initial input level data, and the target output level data; Output data acquisition module, including: An input data acquisition unit, configured to acquire an initial voltage and an initial duty cycle of initial input level data; An adjustment data acquisition unit, used to obtain an adjustment mode and an adjustment duty cycle corresponding to a target power battery; A target data acquisition unit, configured to calculate target output level data of a target power battery output according to an initial voltage, an initial duty cycle, an adjustment method, and an adjustment duty cycle; The target data acquisition unit is specifically used to: Determine the calculation identifier based on the adjustment method; Calculate the battery duty cycle according to the initial duty cycle, the adjustment duty cycle and the calculation identifier; The target output level data of the target power battery output is calculated based on the initial voltage and the battery duty cycle.
7. A vehicle-mounted battery encoding device, characterized in that: The vehicle-mounted battery encoding device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executed by the at least one processor, and the computer program is executed by the at least one processor so as to enable the at least one processor to execute the vehicle battery encoding method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle battery encoding method according to any one of claims 1 to 5 when executed.
Citation Information
Patent Citations
Automatic addressing method and system and master control module thereof
CN111787128A
Automatic coding method, system and device and medium
CN115472932A