Storage battery replacement method and system based on code scanning recognition

By installing chips on batteries and vehicles, using scan code recognition and Internet of Things technology to intelligently match and predict the remaining battery life, the problems of low intelligence level and lagging safety response in existing battery swap technologies are solved, and accurate monitoring of battery status and a safe and efficient battery swap process are achieved.

CN120354868AActive Publication Date: 2025-07-22WANGAO (BEIJING) TECHNOLOGY CO LTD

Patent Information

Application Number
CN202510440530.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-09
Publication Date
2025-07-22
Estimated Expiration
2045-04-09

AI Technical Summary

Technical Problem

The existing battery swap technology has low intelligence level, inaccurate data matching and lagging safety response, resulting in large errors in the remaining battery life and early warning mechanism, and insufficient battery swap efficiency and safety.

Method used

Install chips on the battery and vehicle, collect and store detailed information, and use scan code to identify and upload to the cloud server for intelligent matching. An exponential attenuation model is used to predict the remaining battery life, set a battery swap warning threshold, and start the security protection process when abnormal conditions are detected.

Benefits of technology

Accurate monitoring of battery status and intelligent battery swap are realized, which improves battery swap efficiency, reduces user waiting time, and enhances safety and battery utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120354868A_ABST
    Figure CN120354868A_ABST
Patent Text Reader

Abstract

The invention discloses a battery replacement method and system based on code scanning recognition, and relates to the technical field of intelligent battery replacement management, and the method comprises the steps: installing chips on a battery and a vehicle, and storing the information of the battery and the vehicle; vehicle information is obtained through code scanning identification, cloud server matching is carried out, and monitoring management is carried out through the Internet of Things; the battery swap station receives the battery swap instruction through the cloud server, and the battery swap station intelligently recommends an optimal battery; a user inserts a replaced battery into the slot position, the battery changing station automatically detects the state of the battery, and a safety protection process is started when an abnormal condition is recognized. According to the method, the optimal battery replacement scheme is automatically recommended; and meanwhile, an exponential decay model is adopted to predict the remaining life of the battery, a battery replacement early warning threshold value is set, accurate monitoring of the charging and discharging state of the battery is achieved, and a safety protection process is started immediately when an abnormal condition is detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent battery swapping management, and specifically to a battery swapping method and system based on code scanning recognition. Background Art

[0002] In recent years, with the rapid development of high-tech such as the Internet of Things, cloud computing, big data, and intelligent recognition, the technology of electric vehicle battery swapping has also made great progress. Traditional battery swapping modes mostly rely on mechanical operations and manual monitoring, and there are significant limitations in terms of battery swapping efficiency, data real-time performance, and safety protection. To improve the intelligent level of the system, the industry has started to explore installing chips on batteries and vehicles in recent years to achieve real-time collection and storage of battery model, capacity, service life, charging times, load conditions, and vehicle data, and upload the data to the cloud database through wireless communication technology, and perform data matching, intelligent scheduling, and safety warning through the cloud server. In addition, advanced data processing algorithms, such as the exponential decay model and the remaining life prediction model, are used to dynamically monitor and evaluate the battery health status, providing a scientific basis for battery swapping decisions. This technical path not only improves the problem of manual intervention in the traditional battery swapping process but also lays a solid technical foundation for battery status evaluation and system safety management.

[0003] However, there are still several deficiencies in the existing technology in the field of battery swapping: First, most existing systems only use a single parameter or a simple threshold to judge the battery status, making it difficult to achieve a comprehensive quantitative analysis of the battery health condition, resulting in certain errors in the battery remaining life and warning mechanism; Second, during the code scanning recognition process, due to data transmission delay and inaccurate matching algorithms, incomplete vehicle information recognition or untimely battery swapping scheduling may occur, further affecting the battery swapping efficiency and safety; Third, traditional safety protection mostly relies on mechanical limits and static alarm devices, lacking the ability to perform real-time dynamic monitoring and rapid response to abnormal battery states. Summary of the Invention

[0004] In view of the above problems, the present invention is proposed.

[0005] Therefore, the technical problem solved by the present invention is that the existing battery swapping technology has problems such as low intelligent level, inaccurate data matching, and lagging safety response.

[0006] To solve the above technical problems, the present invention provides the following technical solution: A battery swapping method based on code scanning recognition, including:

[0007] Install chips on the battery and the vehicle to store battery and vehicle information;

[0008] Obtain vehicle information through code scanning recognition, perform matching with the cloud server, and conduct monitoring and management through the Internet of Things;

[0009] The battery swapping station receives battery swapping instructions through the cloud server, and the battery swapping station intelligently recommends the optimal battery;

[0010] The user inserts the replaced battery into the slot, and the battery swapping station automatically detects the battery status. If an abnormal situation is recognized, the safety protection process is started.

[0011] As a preferred solution of the battery swapping method based on code scanning recognition according to the present invention, wherein: the storage of battery and vehicle information includes installing chips on the battery and the vehicle to store battery model, capacity, service life, number of charging times, load condition information, and vehicle VIN;

[0012] A sensor network is built in the battery swapping station to monitor the charging area and battery status in real time, collect temperature T, humidity H, smoke concentration S, and moisture intrusion indication W, and upload the collected data to the cloud database through the Internet of Things.

[0013] As a preferred solution of the battery swapping method based on code scanning recognition according to the present invention, wherein: the obtaining of vehicle information through code scanning recognition includes that the user scans the code with a mobile phone in front of the battery swapping station, and the system obtains the user's unique identifier and the code scanning time; if the code scanning information is missing or abnormal, the user is prompted to scan the code again and the subsequent operation is interrupted;

[0014] When scanning the code, the battery swapping station reads the user's electric vehicle and battery information. After confirming the vehicle identity, the battery swapping station reads the user's vehicle battery information through the code scanning device and uploads it to the cloud server for comparison; the cloud server calculates the current battery charging situation, the availability of the battery swapping work position, and the battery priority ranking, and issues a battery swapping guide to the user; the system checks the user's account and payment status. If the payment verification fails, access to the battery swapping process is refused and the user is prompted to supplement payment information; otherwise, proceed to the next step;

[0015] Standardize the data of each battery in the intelligent battery storage cabinet, remove outliers, and perform a trial charge to judge the replaceability; set multiple scoring factors for each battery, including the power factor, temperature factor, and health factor, and accumulate the factors after multiplying them by the preset weights to obtain a comprehensive score;

[0016] The health factor includes calculating the remaining life of the battery using an exponential decay model. The health state of the battery decreases exponentially with the number of charge and discharge cycles. The system calculates its future available duration based on historical data and predicts based on the number of charge and discharge cycles and the current health state of the battery;

[0017] Construct a remaining useful life model RUL of the battery, and the prediction is based on historical data and the current state of the battery, using an exponential decay model;

[0018] Set a battery swapping warning threshold L d When the battery life is lower than the threshold L dIf so, the scoring weight is reduced; if the battery health status is lower than the set value L d and the service life is too long, a battery replacement prompt is given, and a new battery is preferentially scheduled for replacement;

[0019] The power factor includes calculating the remaining capacity ratio of the battery's electricity storage. If it is lower than the minimum required capacity, it is marked as unavailable; if it is higher than the minimum required capacity, the ratio is mapped to [0, 100] using linear normalization;

[0020] The temperature factor includes using a piecewise linear scoring method. When the temperature is lower than the ideal temperature, the full score is obtained, and the temperature linearly decreases between the ideal and safety thresholds; if the temperature of the battery exceeds the safety threshold during the trial charge, the battery is marked as unavailable;

[0021] All batteries are sorted according to the comprehensive score, and the battery with the highest score and meeting all safety conditions is selected as the replacement candidate.

[0022] As a preferred scheme of the battery replacement method based on barcode scanning recognition according to the present invention, wherein: the cloud server matching includes setting a cloud database in the cloud server, connecting the vehicle-mounted Internet of Things and the automatic battery replacement station, and storing the battery standards of electric vehicle manufacturers, the current market battery models, and the battery parameter information adapted to each vehicle;

[0023] The data acquisition layer includes a sensor network, a camera, and a reader; the edge computing layer is connected to the local server of the battery replacement station to quickly process the battery replacement demand; the cloud computing layer is responsible for storing vehicle and battery data, analyzing user battery replacement demands, and scheduling vehicle battery replacements; the application service layer is responsible for managing the battery replacement station, including data interaction of the battery replacement APP and controlling the operation and maintenance background of the automatic battery replacement station;

[0024] Users can remotely query the battery status and reserve battery replacement through the vehicle Internet of Things system of the battery replacement APP.

[0025] As a preferred scheme of the battery replacement method based on barcode scanning recognition according to the present invention, wherein: the monitoring and management through the Internet of Things includes, after reading the vehicle barcode information, the system automatically queries the database to obtain the battery model adapted to the current vehicle and the recommended battery replacement plan; intelligent matching is performed in combination with the remaining available capacity, health status, and historical vehicle usage data of the battery;

[0026] The intelligent matching includes, for each candidate battery, calculating its degree of adaptation to the target vehicle's needs. The core calculation of battery matching is the battery demand of the target vehicle V i and selecting the optimal battery B from the inventory of the battery replacement station j ;

[0027] The battery matching degree calculation includes defining the battery matching degree M ij as the vehicle Vi and the battery B j degree of adaptation;

[0028] Select the battery replacement priority according to user needs, including long battery life priority and performance priority;

[0029] Select the battery replacement priority according to user needs, adjust the weights in the matching degree score, and calculate the battery replacement priority score P i , and sort the battery replacement request queue;

[0030] If there is no completely matching battery in the inventory of the battery replacement station, recommend similar compatible models and perform compatibility verification.

[0031] As a preferred solution of the battery replacement method based on code scanning recognition according to the present invention, wherein: the receiving the battery replacement instruction includes, according to the battery information recognized by code scanning, performing pre- and post-battery replacement detections and executing the battery replacement operation;

[0032] Before replacement, detect the status of the battery to be replaced on the electric vehicle to ensure safe disassembly;

[0033] Scan the current battery, automatically detect the battery status, and confirm the matching situation of the replacement battery;

[0034] Automatically unlock the old battery, unlock and take out the battery to be replaced, the execution unit enters the standby state, and receives the position information and operation instructions of the selected battery; detect the status of the mechanical equipment, and start the battery replacement action only after confirming no faults, otherwise trigger a maintenance alarm and interrupt the operation.

[0035] As a preferred solution of the battery replacement method based on code scanning recognition according to the present invention, wherein: the automatically allocating a suitable battery includes, according to the instruction, the automatic ejection mechanism starts to eject the selected charged battery from the storage slot; after ejecting the battery, confirm whether the user has taken out the battery through the sensor, and at the same time detect the vacancy status;

[0036] If the user fails to complete the take-out operation within the specified time, the battery replacement station relocks the battery and prompts the user to reconfirm the removal operation; if the vacancy fails to be correctly detected, maintain the waiting state and issue an abnormal status notification;

[0037] After the battery replacement is completed, perform secondary verification to ensure that the new battery is correctly matched;

[0038] After replacement, the electric vehicle tests the battery installation status, confirms that the voltage and current are normal, and avoids the risk of short circuit;

[0039] After the user removes the popped-out rechargeable battery, insert the depleted battery into the original empty slot; the internal sensor detects the identity and status of the battery to be replaced inserted, the safety protection module automatically conducts a health assessment on the replaced battery to be replaced, and after meeting the safety standards, the charging management module performs the charging operation and uploads it to the background control module for priority sorting;

[0040] During the charging process, if it is detected that the battery temperature exceeds the safe range or the charging current is abnormal, the charging will be immediately interrupted, enter the protection state and trigger an alarm;

[0041] If it is detected that the status of the inserted battery does not match, the safety protection module prompts the user to operate again. If the re-operation fails or there is no response, the slot will be locked for safety inspection.

[0042] As a preferred solution of the battery swapping system based on code scanning recognition described in the present invention, it includes: a background control module, a background control module, a safety protection module, and a battery recycling module;

[0043] The background control module integrates and processes code scanning information, battery status management, charging management, battery distribution strategies, and conducts automatic billing and payment settlement; the intelligent battery storage cabinet is configured with multiple battery storage compartments, and each compartment is equipped with a battery status sensor to real-time monitor the battery voltage, power, and temperature;

[0044] The background control module is equipped with a waterproof charging interface, adopts intelligent charging technology, and real-time monitors the temperature, voltage, and current during the battery charging process; if it monitors abnormal temperature rise or voltage fluctuation of the battery, it immediately activates the safety mechanism;

[0045] The safety protection module internally installs an automatic power-off device and a fire extinguishing device, and automatically activates an alarm, cuts off the power, and conducts fire extinguishing treatment when it discovers abnormal battery temperature; the overall outer shell of the battery swapping station adopts high-efficiency heat insulation materials, keeps warm in winter to ensure battery endurance, and insulates heat in summer to prevent the internal battery from overheating and exploding;

[0046] The battery recycling module includes a code scanning recognition unit. The user scans the code of the battery through a mobile phone or a terminal device, and the system automatically reads the battery ID, specification, voltage, and power status; according to the calculation result of the background system, it automatically selects and ejects the battery with the highest power; after the user removes the battery, insert the low-power battery into the original empty slot and start automatic charging.

[0047] A computer device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of the battery swapping method based on code scanning recognition.

[0048] A computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, the steps of a battery replacement method based on code scanning recognition are implemented.

[0049] Advantages of the present invention: By installing chips on the battery and the vehicle, detailed battery and vehicle information is collected and stored, and then the data is transmitted to the cloud server in real time using Internet of Things technology for comprehensive matching and intelligent analysis, automatically recommending the optimal battery replacement solution; at the same time, an exponential decay model is used to predict the remaining life of the battery, a replacement warning threshold is set, the charging and discharging status of the battery is accurately monitored, and a safety protection process is immediately started when an abnormal situation is detected. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.

[0051] Figure 1 It is the overall flowchart of a battery replacement method based on code scanning recognition provided for the first embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0052] In order to make the above objects, features, and advantages of the present invention more obvious and understandable, the following will describe the specific embodiments of the present invention in detail with reference to the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of protection of the present invention.

[0053] Embodiment 1, referring to Figure 1 , which is an embodiment of the present invention, provides a battery replacement method based on code scanning recognition, including:

[0054] S1: Install chips on the battery and the vehicle and store battery and vehicle information.

[0055] The storing of battery and vehicle information includes installing chips on the battery and the vehicle and storing battery model, capacity, service life, number of charging times, load condition information, and vehicle VIN;

[0056] Install a sensor network in the battery replacement station to monitor the charging area and battery status in real time, collect temperature T, humidity H, smoke concentration S, and moisture intrusion indication W, and upload the collected data to the cloud database through the Internet of Things.

[0057] After data collection, the IoT gateway performs local preprocessing. Data formatting. Compare with historical records, match the vehicle's past battery replacement situation, and compensate for missing data. After processing, the edge server sends the recognition result to the cloud server for comparison. Call the cloud database, match the vehicle's historical data and battery replacement records, and confirm the vehicle's identity.

[0058] It should be noted that traditional battery management systems mainly rely on parameters such as battery voltage, current, and temperature for status monitoring, but it is difficult to accurately predict the future service life of the battery. Current mainstream methods include physical modeling-based, data-driven machine learning methods, and hybrid modeling methods. Among them, the exponential decay model is widely used to describe the relationship between battery capacity decay and charge-discharge cycle times due to its good fitting effect and computational efficiency.

[0059] S2: Obtain vehicle information through QR code scanning recognition, perform matching on the cloud server, and conduct monitoring and management through the Internet of Things.

[0060] Furthermore, the obtaining of vehicle information through QR code scanning recognition includes that the user uses the mobile phone to scan the QR code in front of the battery replacement station, and the system obtains the user's unique identifier and the QR code scanning time; if the QR code information is missing or abnormal, prompt the user to scan the QR code again and interrupt the subsequent operations;

[0061] When scanning the QR code, the battery replacement station reads the user's electric vehicle and battery information. After confirming the vehicle's identity, the battery replacement station reads the user's vehicle battery information through the QR code scanning device and uploads it to the cloud server for comparison; the cloud server calculates the current battery charging situation, the availability of the battery replacement work position, and the battery priority ranking, and issues a battery replacement guide to the user; the system checks the user's account and payment status. If the payment verification fails, reject entry into the battery replacement process and prompt the user to supplement payment information; otherwise, proceed to the next step;

[0062] Standardize the data of each battery in the intelligent battery storage cabinet, remove outliers, and conduct a trial charge to judge the replaceability; set multiple scoring factors for each battery, including the power factor, temperature factor, and health factor, and accumulate them after multiplying each factor by a preset weight to obtain a comprehensive score.

[0063] The health factor includes using S h Denote the health factor, calculate the remaining life of the battery using the exponential decay model. The health state of the battery decreases exponentially with the number of charge-discharge cycles. The system calculates its future available duration based on historical data, and makes a prediction by combining the number of charge-discharge cycles and the current health state of the battery;

[0064] Construct a remaining useful life model RUL of the battery, and the prediction is based on historical data and the current state of the battery, using the exponential decay model.

[0065] Finally, select the one that meets M ijThe battery B with the maximum value * , which is expressed by the formula:

[0066]

[0067] Build the remaining useful life model RUL of the battery, and predict based on historical data and the current state of the battery, using the exponential decay model:

[0068] L remain = L0e -λN

[0069] Where L remain represents the current remaining useful life of the battery. L0 represents the initial rated life of the battery. λ represents the decay coefficient. N represents the current number of charge and discharge cycles.

[0070] Set the battery swapping warning threshold L d . When the battery life is lower than the threshold L d , the scoring weight is reduced; if the battery health status is lower than the set L d and the service life is too long, a battery swapping prompt is given, and a new battery is preferentially scheduled for replacement.

[0071] The power factor includes calculating the proportion of the remaining storage capacity of the battery. If it is lower than the minimum required capacity, it is marked as unavailable; if it is higher than the minimum required capacity, the proportion is mapped to [0, 100] using linear normalization;

[0072] Calculate the proportion, defined as:

[0073]

[0074] Set the minimum acceptable proportion r min . If r < r min , it is considered that the battery does not meet the requirements and is directly marked as unavailable or given a score of 0.

[0075] When r ≥ r min , map r to the scoring range of [0, 100]. Set the proportion corresponding to the full score to 1, then the following linear mapping formula can be used:

[0076]

[0077] If the remaining capacity of the battery is equal to the minimum requirement, the score is 0, and when it reaches the maximum capacity, the score is 100; the intermediate values are linearly distributed.

[0078] The temperature factor includes using a piecewise linear scoring method and setting the upper safety temperature limit T safe . Set the ideal operating temperature T ideal , that is, the lower temperature that is expected to be reached during trial charging.

[0079] When the measured temperature T ≤ T ideal , it is considered to be in the optimal state and given a full score of 100;

[0080] When T ideal < T < T safe , it is calculated in a linear decrease manner. S T represents the temperature factor:

[0081]

[0082] When T ≥ T safe , the score is directly given as 0, and the battery is marked as unavailable. When the temperature is lower than the ideal temperature, the full score is obtained, and the temperature linearly decreases between the ideal and safety thresholds; if the temperature of the battery exceeds the safety threshold during the trial charge, the battery is marked as unavailable.

[0083] All batteries are sorted according to the comprehensive score, and the battery with the highest score and meeting all safety conditions is selected as the candidate for battery replacement.

[0084] The matching of the cloud server includes setting up a cloud database in the cloud server, connecting the vehicle-mounted Internet of Things and the automatic battery replacement station, and storing the battery standards of electric vehicle manufacturers, the current market battery models, and the battery parameter information suitable for each vehicle.

[0085] The data acquisition layer includes IoT devices, cameras, and RFID readers; the edge computing layer connects to the local server of the battery replacement station to quickly process battery replacement requirements; the cloud computing layer is responsible for storing vehicle and battery data, analyzing user battery replacement requirements, and scheduling vehicle battery replacement; the application service layer is responsible for managing the battery replacement station, including data interaction of the battery replacement APP and the operation and maintenance background control of the automatic battery replacement station.

[0086] Users can remotely query the battery status and reserve battery replacement through the vehicle Internet of Things system of the battery replacement APP.

[0087] The monitoring and management through the Internet of Things includes that after reading the vehicle scanning code information, the system automatically queries the database to obtain the battery model suitable for the current vehicle and the recommended battery replacement plan; intelligent matching is performed in combination with the remaining available capacity, health status, historical usage data of the vehicle, and the corresponding temperature factor, power factor, and health factor.

[0088] The intelligent matching includes that the core calculation of battery matching is the battery demand of the target vehicle V i , and the optimal battery B j is selected from the inventory of the battery replacement station.

[0089] The calculation of battery matching degree includes defining the battery matching degree M ij as the vehicle V i and the battery B jThe degree of adaptation between them.

[0090] Select the battery replacement priority according to user needs, including long battery life priority, health priority, and economy priority.

[0091] Calculate the battery replacement priority score P i , and sort the battery replacement request queue.

[0092] If there is no completely matching battery in the battery replacement station inventory, recommend similar compatible models and perform compatibility verification.

[0093] It should be noted that the adaptation rules are set. According to the matching requirements between the vehicle and the battery, adaptation rules are established. The rule content includes physical matching: considering the size, interface type, and installation method of the battery to ensure that the new battery can be physically installed in the vehicle's battery compartment. Voltage and power matching: the voltage and output power required by the vehicle match the rated parameters of the battery. Endurance requirement matching: set weights according to user needs, and match the required endurance mileage of the vehicle with parameters such as the energy density and charging speed of the battery. Safety matching: based on the temperature and health status data collected by the Internet of Things, ensure that the recommended battery is in a safe state and meets the preset safety threshold.

[0094] S3: The battery replacement station receives the battery replacement instruction through the cloud server, and the battery replacement station intelligently recommends the optimal battery.

[0095] Furthermore, the monitoring and management through the Internet of Things includes that after reading the vehicle's scanned code information, the system automatically queries the database to obtain the battery model suitable for the current vehicle and the recommended battery replacement plan. Perform intelligent matching in combination with the remaining available capacity, health status, and historical vehicle usage data of the battery.

[0096] Select the battery replacement priority according to user needs, including long battery life priority, performance priority.

[0097] The battery replacement station server calculates the battery replacement priority score for each vehicle based on the temperature factor, power factor, health factor, and cost parameter of the battery. The formula is as follows:

[0098] P i = α1·SOC i + α2·SOH i + α3·C i + α4·W i

[0099] Among them, SOC i represents the current charging state of the battery, with the highest weight when long battery life is prioritized, and SOH i represents the health state of the battery, with the highest weight when health is prioritized. C i represents the usage cost of the battery, with the highest weight when economy is prioritized. W iIndicates the current queuing waiting time, which affects the calculation of the battery swapping priority score P by the battery swapping scheduling system i , sort the battery swapping request queue:

[0100] Q = {V1, V2,..., V n}

[0101] High-priority users and health-first users skip part of the waiting queue. Low-priority users, long-range and economy-first users enter the waiting queue.

[0102] If there is no perfectly matching battery in the inventory of the battery swapping station, the system will recommend similar compatible models and perform compatibility verification.

[0103] The intelligent matching includes calculating the battery requirements of the core target vehicle V i and selecting the optimal battery B j from the inventory of the battery swapping station.

[0104] The calculation of the battery matching degree includes defining the battery matching degree M ij as the adaptation degree between the vehicle V i and the battery B j :

[0105] M ij = w1S ij + w2H ij + w3C ij + w4T ij

[0106] Among them, S ij represents the matching degree between the rated specifications (such as voltage and capacity) of the battery B j and the requirements of the vehicle V i . H ij represents the state of health of the battery SOH, and the formula is expressed as:

[0107]

[0108] Among them, C remain represents the current remaining available capacity of the battery, C new represents the capacity of the new battery. C ij represents the state of charge SOC of the battery, and the formula is expressed as:

[0109]

[0110] Among them, E remain represents the current remaining power, E max represents the total energy under full charge. T ij represents the matching degree of the battery temperature state, ensuring that the battery operating temperature is within the safe range.

[0111] The received battery replacement instruction includes performing pre- and post-replacement detections based on the battery information identified by scanning the code and executing the battery replacement operation.

[0112] Before replacement, detect the status of the battery to be replaced on the electric vehicle to ensure safe removal.

[0113] Scan the current battery, automatically detect the battery status, and confirm the matching situation of the replacement battery.

[0114] Automatically unlock the old battery, unlock and remove the battery to be replaced, the execution unit enters the standby state, and receives the position information and operation instructions of the selected battery; detect the status of the mechanical equipment, and only start the battery replacement action after confirming no faults, otherwise trigger a maintenance alarm and interrupt the operation.

[0115] It should be noted that the battery replacement priority scoring algorithm dynamically calculates the user's battery replacement order to ensure that different user needs are met. The intelligent dispatching system provides fast battery replacement guidance and balances the load of the battery replacement station to improve the operation efficiency. Automatic battery replacement + AI dispatching improves the accuracy of battery replacement and realizes unattended and intelligent matching.

[0116] S4: The user inserts the replaced battery into the slot, and the battery replacement station automatically detects the battery status. If an abnormal situation is identified, the safety protection process is started.

[0117] The automatic allocation of a suitable battery includes that the battery replacement station traverses all the inventory batteries and calculates their respective matching degrees.

[0118] If there is a completely matching battery in the inventory of the battery replacement station, select the battery with the highest matching degree;

[0119] If there is no complete match, recommend a similar model with higher compatibility and perform compatibility verification (check whether the installation interface and charging interface are certified).

[0120] Feed back the finally matched recommended solution to the user, including information such as the recommended battery model, expected increase in battery life, and charging solution. The user can confirm or select an alternative solution according to the system recommendation. The background is optimized in real time, and all matching results, user feedback, and actual operation data after battery replacement are stored in the database for subsequent machine learning and rule optimization to continuously improve the matching accuracy.

[0121] According to the instruction, the battery replacement station's automatic ejection mechanism starts to eject the selected charging battery from the storage slot; after ejecting the battery, confirm whether the user has removed the battery through the sensor, and at the same time detect the vacancy status.

[0122] If the user fails to complete the removal operation within the specified time, the battery replacement station relocks the battery and prompts the user to reconfirm the removal operation; if the vacancy cannot be correctly detected, it remains in the waiting state and issues a notification of abnormal status.

[0123] After the battery replacement is completed, a secondary verification is carried out to ensure that the new battery is correctly matched.

[0124] After replacement, the electric vehicle tests the battery installation status, confirms that the voltage and current are normal, and avoids the risk of short circuit.

[0125] After the user removes the ejected charging battery, the exhausted battery is inserted into the original empty slot; the internal sensor detects the identity and status of the battery to be replaced inserted, the safety protection module automatically conducts a health assessment on the battery to be replaced removed, and after meeting the safety standards, the charging management module performs the charging operation and uploads it to the background control module for priority sorting.

[0126] During the charging process, if it is detected that the battery temperature exceeds the safe range or the charging current is abnormal, the charging will be immediately interrupted, entering the protection state and triggering an alarm.

[0127] If it is detected that the status of the inserted battery does not match, the safety protection module prompts the user to operate again. If the re-operation fails or there is no response, the slot will be locked for safety inspection.

[0128] It should be noted that for the dispatching of the battery swap station, the server calculates the battery swap sequence according to the user priority and locks the optimal battery in advance. If the station is congested, users with a higher priority can skip part of the queue. During the dynamic battery swap matching, if it is found that the battery matching degree is insufficient during the battery swap process, the system will adjust the strategy, provide a sub-optimal battery and inform the user of the selection result. After the battery swap, the battery usage situation is synchronized to the cloud to optimize the future battery swap recommendation strategy. For the settlement of the battery swap cost, users with economic priority enjoy discounts, and users with long battery life may have preferential battery costs.

[0129] Embodiment 2 is an embodiment of the present invention, which provides a battery swap method based on barcode scanning recognition. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0130] First of all, in order to verify the effectiveness of a battery swap system based on barcode scanning recognition, the test is carried out at a new energy vehicle battery swap station. The core objectives of the test include:

[0131] Evaluating the performance of the system in vehicle recognition, intelligent battery matching, battery swap efficiency, optimization of user waiting time, and battery health management.

[0132] Comparing the differences between the traditional battery swap mode and the battery swap mode of the present invention in terms of efficiency and resource optimization. Verifying whether the present invention can improve the operation efficiency of the battery swap station, reduce the user waiting time, and improve the intelligent level of battery management.

[0133] The test was carried out at an urban charging and battery swapping integrated service station, which has 30 battery swapping positions. The average daily number of battery swapping vehicles is about 200, and about 50 vehicles participated in this experiment. The Internet of Things battery swapping management system of the present invention consists of the following components:

[0134] Data acquisition sensor network, high-definition camera, QR code scanner, vehicle information chip.

[0135] The local server of the battery swapping station performs vehicle identification and battery matching. Stores battery health information, and the battery swapping scheduling algorithm calculates the battery swapping priority. The battery swapping station management platform and the user battery swapping APP support remote reservation for battery swapping.

[0136] During the test process, after the user scans the QR code through the mobile APP to identify the vehicle information, the system automatically connects to the cloud database to obtain the battery model suitable for the vehicle. Before the experiment, the batteries in the inventory of the battery swapping station were numbered, and their real-time power, temperature, and health status data were collected through Internet of Things sensors. During the test, an intelligent battery storage cabinet was used for pre-charging testing, and the real-time temperature data of the battery was collected to determine its safety.

[0137] The test first performs data standardization processing on each battery, eliminates abnormal data points collected by the sensor, and directly marks the batteries with temperature and power lower than the safety threshold as unavailable.

[0138] The server calculates the battery matching degree based on the vehicle historical data, the current state of the battery, the battery health state (SOH), and the remaining power (SOC).

[0139] The exponential decay model is used to calculate the remaining useful life (RUL) of the battery. If the current battery RUL is lower than the set threshold, the system recommends replacing the battery.

[0140] The system calculates the battery swapping priority score system to calculate the battery swapping priority score P i As the basis for battery swapping sorting:

[0141] P i = α1·SOC i + α2·SOH i + α3·C i + α4·W i

[0142] Where, SOC i Remaining power, with the highest weight when long battery life is prioritized. SOH i Health status, with the highest weight when health is prioritized. C i Battery swapping cost, with the highest weight when economy is prioritized. W i Queuing waiting time, which affects the scheduling strategy. The weight settings for different modes are shown in Table 1:

[0143] Table 1 Weight Parameter Table

[0144] Mode α1 (SOC) α2 (SOH) α3 (Cost) α4 (Waiting Time) Long Battery Life Priority 0.5 0.3 0.1 0.1 Health Priority 0.3 0.5 0.1 0.1 Economic Priority 0.2 0.2 0.5 0.1

[0145] The final battery swapping order is according to P i Dispatch the user with the highest

[0146]

[0147] Dispatch according to three modes: long battery life first, health first, and economy first. High-priority users skip part of the waiting queue, and low-priority users enter the queuing system.

[0148] After the user's electric vehicle enters the designated battery swapping work position, the scanning device confirms the battery information and the battery health status. The user disassembles the old battery, installs the optimal battery, and detects the voltage, current, and connection status.

[0149] The user settles the fees through the battery swapping APP. After the battery swapping is completed, the system synchronously updates the battery status data.

[0150] Table 2 Test Data Record

[0151]

[0152] Test Data Table 2 shows that the present invention has significant advantages in terms of battery swapping efficiency, battery management optimization, and user experience.

[0153] The traditional mode only fixedly matches the battery according to the vehicle model, resulting in a battery incompatibility rate as high as 23.5%. The present invention adopts Internet of Things data analysis + battery health prediction model, and dynamically matches the optimal battery according to the vehicle usage situation, historical data, SOC / SOH, improving the battery matching degree to 95.6%, reducing the battery incompatibility problem, and improving the battery utilization rate. In the traditional mode, the vehicle needs to wait in line for an average of 12.5 minutes, and even exceeds 15 minutes during peak periods. By using the intelligent dispatching system of the present invention, the battery swapping priority is calculated, the queuing order is dynamically adjusted, and combined with the battery swapping optimization allocation algorithm, the average waiting time is reduced to 5.2 minutes, improving the operation efficiency of the battery swapping station.

[0154] The traditional battery swapping station lacks an intelligent life prediction mechanism, resulting in 23.4% of the RUL of the old batteries being lower than the safety threshold, with situations of overuse or premature replacement. By predicting the battery life through the exponential decay model of the present invention, a warning for battery swapping is given before the threshold is reached, reducing the proportion of RUL lower than the threshold to 9.8%, and improving the efficiency of the full life cycle management of the battery.

[0155] Example 3, an embodiment of the present invention, provides a battery swapping system based on code scanning recognition, including:

[0156] The background control module integrates the processing of code scanning information, battery status management, charging management, battery allocation strategy, and performs automatic charging and payment settlement; the intelligent battery storage cabinet is configured with multiple battery storage compartments, and each compartment is equipped with a battery status sensor to real-time monitor the battery voltage, power, and temperature.

[0157] The charging management module is equipped with a waterproof charging interface and adopts intelligent charging technology to real-time monitor the temperature, voltage, and current during the battery charging process; if abnormal temperature rise or voltage fluctuation of the battery is detected, the safety mechanism is immediately activated.

[0158] The safety protection module installs an automatic power-off device and fire extinguishing equipment inside. When abnormal battery conditions are detected, it automatically activates alarms, cuts off power, and conducts fire extinguishing; the overall outer shell of the battery swapping station uses high-efficiency heat insulation materials to keep warm in winter to ensure battery endurance and prevent overheating and explosion of internal batteries in summer.

[0159] The battery recycling module includes a code scanning and identification unit. Users scan the code of the battery through a mobile phone or terminal device, and the system automatically reads the battery ID, specifications, voltage, and power status; according to the calculation results of the background system, it automatically selects and outputs the battery with the highest power; after the user takes out the battery, inserts the low-power battery into the original empty position and starts automatic charging.

[0160] If the function is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods in various embodiments of the present invention. And the aforementioned storage medium includes: USB flash drives, mobile hard disks, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks, or optical discs and other various media that can store program codes.

[0161] The logic and / or steps represented in the flowchart or otherwise described herein can, for example, be considered a definitional sequence of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device. As used in this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

[0162] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection (electronic device) having one or more wirings, a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which a program can be printed, as the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or other suitable processing as necessary, and then stored in a computer memory.

[0163] It should be understood that the various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or a combination of the following techniques known in the art can be used: discrete logic circuits having logic gates for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc. It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and they should all be covered by the scope of the claims of the present invention.

[0164] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and they should all be covered within the scope of the claims of the present invention.

Claims

1. A battery replacement method based on code scanning recognition, characterized in that, Including: Install chips on the battery and the vehicle to store battery and vehicle information; Obtain vehicle information through scanning code recognition, perform matching with the cloud server, and conduct monitoring and management through the Internet of Things; The battery swapping station receives battery swapping instructions through the cloud server, and the battery swapping station intelligently recommends the optimal battery; The user inserts the replaced battery into the slot, and the battery swapping station automatically detects the battery status. If an abnormal situation is recognized, the safety protection process is started.

2. The battery replacement method based on code scanning recognition according to claim 1, wherein: The storage of battery and vehicle information includes installing chips on the battery and the vehicle, and storing battery model, capacity, service life, number of charging times, load condition information, and vehicle VIN; Install a sensor network in the battery swapping station to monitor the charging area and battery status in real time, collect temperature T, humidity H, smoke concentration S, and moisture intrusion indication W, and upload the collected data to the cloud database through the Internet of Things.

3. The battery swapping method based on code scanning recognition according to claim 2, wherein: The obtaining of vehicle information through scanning code recognition includes that the user uses a mobile phone to scan the code in front of the battery swapping station, and the system obtains the user's unique identifier and the scanning time; if the scanning information is missing or abnormal, the user is prompted to scan the code again and the subsequent operations are interrupted; When scanning the code, the battery swapping station reads the user's electric vehicle and battery information. After confirming the vehicle identity, the battery swapping station reads the user's vehicle battery information through the scanning device and uploads it to the cloud server for comparison; the cloud server calculates the current battery charging situation, the availability of the battery swapping position, and the battery priority ranking, and issues a battery swapping guide to the user; the system checks the user's account and payment status. If the payment verification fails, the user is refused to enter the battery swapping process and is prompted to supplement payment information; otherwise, proceed to the next step; Standardize the data of each battery in the intelligent battery storage cabinet, remove outliers, and conduct a trial charge to judge the replaceability; set multiple scoring factors for each battery, including the power factor, temperature factor, and health factor, multiply each factor by a preset weight and accumulate them to obtain a comprehensive score; The health factor includes calculating the remaining life of the battery using an exponential decay model. The health state of the battery decreases exponentially with the number of charge and discharge cycles. The system calculates its future available duration based on historical data and predicts based on the number of charge and discharge cycles and the current health state of the battery; Construct a remaining useful life model RUL of the battery, and the prediction is based on historical data and the current state of the battery, using an exponential decay model; Set the battery swapping warning threshold L d , when the battery life is lower than the threshold L d , the scoring weight is reduced; if the battery health status is lower than the set L d and the usage years are too long, a battery swapping prompt is given, and new batteries are preferentially scheduled for replacement; The power factor includes calculating the remaining capacity ratio of the battery's stored electricity. If it is lower than the minimum required capacity, it is marked as unavailable; If it is higher than the minimum required capacity, linear normalization is used to map the ratio to [0, 100]; The temperature factor includes using a piecewise linear scoring method. When the temperature is lower than the ideal temperature, it gets a full score, and it linearly decreases between the ideal and safety thresholds; if the temperature of the battery exceeds the safety threshold during the trial charge, the battery is marked as unavailable; Sort all the batteries according to the comprehensive score, and select the battery with the highest score and meeting all safety conditions as the battery swapping candidate.

4. The battery swapping method based on code scanning recognition according to claim 3, wherein: The cloud server matching includes setting up a cloud database in the cloud server, connecting the in-vehicle Internet of Things and the automatic battery swapping station, and storing battery standards of electric vehicle manufacturers, current market battery models, and battery parameter information suitable for each vehicle; The data acquisition layer includes a sensor network, cameras, and readers; The edge computing layer is connected to the local server of the battery swapping station to quickly process battery swapping requirements; the cloud computing layer is responsible for storing vehicle and battery data, analyzing users' battery swapping requirements, and scheduling vehicle battery swapping; the application service layer is responsible for the management of the battery swapping station, including data interaction of the battery swapping APP and the operation and maintenance background control of the automatic battery swapping station; Users can remotely query the battery status and reserve battery swapping through the vehicle networking system of the battery swapping APP.

5. The battery swapping method based on code scanning recognition according to claim 4, wherein: The monitoring and management through the Internet of Things includes that after reading the vehicle's scanned code information, the system automatically queries the database to obtain the battery model suitable for the current vehicle and the recommended battery swapping solution; intelligent matching is performed by combining the remaining available capacity, health status of the battery, and the vehicle's historical usage data; The intelligent matching includes, for each candidate battery, calculating its degree of suitability for the requirements of the target vehicle. The core calculation of battery matching is the battery requirements of the target vehicle V i and selecting the optimal battery B from the inventory of the battery swapping station j ; The calculation of battery matching degree includes defining the battery matching degree M ij as that between the vehicle V i and the battery B j in terms of the adaptation degree; Select the battery swapping priority according to the user's needs, including long endurance priority and performance priority; Select the battery swapping priority according to the user's needs, adjust the weights of each item in the matching degree score, and calculate the battery swapping priority score P i , sort the battery swapping request queue; If there is no completely matching battery in the inventory of the battery swapping station, a similar compatible model is recommended and compatibility verification is performed.

6. The battery swapping method based on code scanning recognition according to claim 5, wherein: The receiving of the battery swapping instruction includes performing pre- and post-battery swapping detections based on the battery information identified by the scanned code and executing the battery swapping operation; Before replacement, detect the status of the battery to be replaced on the electric vehicle to ensure safe disassembly; Scan the current battery, automatically detect the battery status, and confirm the matching situation of the replacement battery; Automatically unlock the old battery, unlock and remove the battery to be replaced, the execution unit enters the standby state, and receives the position information and operation instructions of the selected battery; detect the status of the mechanical equipment, and start the battery swapping action only after confirming no faults, otherwise trigger a maintenance alarm and interrupt the operation.

7. The battery replacement method based on code scanning recognition according to claim 6, wherein: The automatic allocation of a suitable battery includes that the background control module of the battery swapping station issues an instruction, and the automatic ejection mechanism starts to eject the selected charged battery from the storage slot; After the battery is ejected, confirm whether the user has removed the battery through the sensor, and at the same time detect the vacancy status; If the user fails to complete the removal operation within the specified time, the battery swapping station relocks the battery and prompts the user to reconfirm the removal operation; if the vacancy cannot be correctly detected, it remains in the waiting state and issues an abnormal status notification; After the battery swapping is completed, perform a secondary verification to ensure that the new battery is correctly matched; After replacement, the electric vehicle tests the installation status of the battery, confirms that the voltage and current are normal, and avoids the risk of short circuit; After the user removes the ejected charged battery, insert the depleted battery into the original vacancy; the internal sensor detects the identity and status of the inserted battery to be replaced, the safety protection module automatically performs a health assessment on the replaced battery to be replaced, and after meeting the safety standards, the charging management module performs a charging operation and uploads it to the background control module for priority sorting; During the charging process, if it is detected that the battery temperature exceeds the safe range or the charging current is abnormal, the charging is immediately interrupted, the protection state is entered, and an alarm is triggered; If it is detected that the status of the inserted battery does not match, the safety protection module prompts the user to operate again. If the re-operation fails or there is no response, the slot is locked for safety inspection.

8. A system adopting the battery swapping method based on code scanning recognition as described in any one of claims 1 to 7, characterized in that: Including; The background control module integrates the processing of scanned code information, battery status management, charging management, battery allocation strategy, and performs automatic billing and payment settlement; the intelligent battery storage cabinet is configured with multiple battery storage compartments, and each compartment is equipped with a battery status sensor to real-time monitor the battery voltage, power, and temperature; The charging management module is equipped with a waterproof charging interface and adopts intelligent charging technology to monitor the temperature, voltage, and current in real time during the battery charging process. If abnormal temperature rise or abnormal voltage fluctuation of the battery is detected, the safety mechanism will be activated immediately. The safety protection module is internally installed with an automatic power-off device and a fire extinguishing device, which will automatically start alarm, power-off, and fire extinguishing when abnormal battery temperature is detected. The overall outer shell of the battery swapping station uses high-efficiency heat-insulating materials to keep warm in winter to ensure battery endurance and prevent overheating and explosion of internal batteries in summer. The battery recycling module includes a code scanning and identification unit. The user scans the code of the battery through a mobile phone or a terminal device, and the system automatically reads the battery ID, specifications, voltage, and power status. According to the calculation result of the background system, the battery with the highest power will be automatically selected and ejected. After the user removes the battery, the low-power battery is inserted into the original empty position to start automatic charging.

9. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the battery swapping method based on code scanning and identification according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the battery swapping method based on code scanning and identification according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method for predicting service life of lithium ion battery based on particle filter and LSTM

    CN110703120A

  • Intelligent battery replacing method of battery replacing station, battery replacing station control system and readable storage medium

    CN113415204A

  • Intelligent power supply solution for electric automobile

    CN114386633A

  • Intelligent battery replacement monitoring management system based on cloud platform

    CN116451949A

  • Battery replacement management system and method

    CN116485342A

Cited By

  • Intelligent battery replacement recommendation method and system based on battery historical data

    CN121019374A

  • A Smart Battery Swapping Recommendation Method and System Based on Historical Battery Data

    CN121019374B