A charging method and system for electric vehicles based on multiple communication modes
By identifying the communication protocol type and battery status data of electric vehicles, compatibility with multiple communication protocols is achieved, solving the problem of poor charger compatibility, improving charging efficiency and battery life, and meeting the needs of intelligent management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- KARASAWA BRAKE(TIANJIN) CO LTD
- Filing Date
- 2025-11-17
- Publication Date
- 2026-06-26
AI Technical Summary
Existing two-wheeled vehicle chargers often only support one or a few communication protocols, resulting in poor compatibility, increased inconvenience for users and production difficulties for enterprises, and at the same time, limiting the functional expansion and intelligent and networked management needs of vehicle management systems.
By receiving communication connection instructions between the target charger and the electric vehicle, the system obtains the current communication signal feature set, identifies the protocol type, and performs intelligent charging based on battery status data. It supports three protocols: SIF one-line communication, UART single-line communication, and LIN bus, enabling real-time acquisition of battery information to accurately adjust charging parameters.
It improves the charger's versatility and applicability, enabling real-time acquisition of detailed battery information, extending battery life, improving charging efficiency, and reducing charging time.
Smart Images

Figure CN121180049B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electric vehicle charging technology, and in particular to an electric vehicle charging method and system based on multiple communication methods. Background Technology
[0002] With the rapid development of the two-wheeled vehicle industry, especially the widespread adoption of electric bicycles and electric motorcycles, higher demands are being placed on the performance and intelligence of chargers. During the charging process, the charger needs to communicate with the vehicle's battery management system (BMS) and other electronic control components to achieve functions such as precise charging control, status monitoring, and fault diagnosis.
[0003] Currently, there are various communication protocols available on the market for communication within two-wheeled vehicles. For example:
[0004] SIF (Single-Wire Communication) employs a single-wire master-slave simplex communication mode, offering advantages such as simple protocol and low cost. It is commonly used for data transmission between the electric vehicle battery management system (BMS) and the charger. The BMS acts as the master, sending data, while the charger acts as the slave, receiving data. Data levels adhere to the TTL standard, using PWM waveforms with fixed periods and different duty cycles to represent 0 and 1. Compared to traditional UART communication, which simply uses high and low voltage levels to represent 0 and 1, SIF offers stronger anti-interference capabilities, but its data rate is generally lower. Each data transmission is performed in frames, each consisting of three key parts: a synchronization signal, a master message, and a stop signal. The synchronization signal is the preamble for sending the master message, informing the receiver that data transmission is about to begin and allowing the receiver to prepare. The master message carries the actual valid data content, typically containing 8 bits × 12 data bits. The stop signal marks the end of a complete data frame transmission, ensuring the integrity and order of data transmission.
[0005] UART single-wire communication is a single-wire application of a universal asynchronous transceiver, which can simplify circuit design to a certain extent and achieve low-cost data exchange between devices. It typically follows the TTL (Transistor-to-Transistor Logic) standard, with a high level representing logic "1" and a low level representing logic "0". A complete data frame includes: one start bit (low level) to notify the receiver of the start of data transmission; 5-9 data bits carrying the actual valid data information, the specific number of bits can be set according to requirements, with 8 data bits often used in two-wheeled vehicle charger applications; one optional parity bit for error detection in data transmission, which can be set to odd parity, even parity, or no parity; and 1-2 stop bits (high level) to indicate the end of a data transmission frame. The baud rate determines the data transmission rate. In communication between a two-wheeled vehicle charger and vehicle components, a suitable baud rate needs to be determined based on the data volume and real-time requirements to ensure the accuracy and efficiency of data transmission.
[0006] LIN bus is a low-cost serial communication bus mainly used in distributed electronic control systems inside automobiles and electric bicycles. It features single-wire transmission and strong anti-interference capabilities.
[0007] However, existing two-wheeled vehicle chargers often only support one or a few communication protocols, resulting in poor compatibility. This means that in practical use, users may need to equip their vehicles with different chargers depending on the brand and model of the two-wheeled vehicle, causing significant inconvenience and increasing the difficulty of production for manufacturers due to varying protocol requirements. Furthermore, for shared two-wheeled vehicle operators and vehicle manufacturers, chargers with only a single communication protocol limit the functional expansion and upgrades of vehicle management systems, failing to meet the demands of intelligent and networked management. Summary of the Invention
[0008] This invention protects a method for charging electric vehicles based on multiple communication methods, the method comprising the following steps:
[0009] S100: When receiving a communication connection instruction between the target charger and the target electric vehicle, the current communication signal feature set of the target electric vehicle is obtained.
[0010] S200, based on the current communication signal feature set, identify the current communication protocol type between the target charger and the target electric vehicle;
[0011] S300: Obtain the current battery status data of the target electric vehicle and charge the target electric vehicle according to the current battery status data of the target electric vehicle.
[0012] This invention also protects an electric vehicle charging system based on multiple communication methods. The system includes a processor, a memory, and a storage medium. The memory stores at least one instruction or at least one program segment, which is loaded and executed by the processor to implement the following steps.
[0013] S100: When receiving a communication connection instruction between the target charger and the target electric vehicle, the current communication signal feature set of the target electric vehicle is obtained.
[0014] S200, based on the current communication signal feature set, identify the current communication protocol type between the target charger and the target electric vehicle;
[0015] S300: Obtain the current battery status data of the target electric vehicle and charge the target electric vehicle according to the current battery status data of the target electric vehicle.
[0016] Compared with the prior art, the present invention has at least the following beneficial effects:
[0017] This invention discloses an electric vehicle charging method based on multiple communication methods. The method includes the following steps: upon receiving a communication connection instruction between a target charger and a target electric vehicle, acquiring the current communication signal feature set of the target electric vehicle; identifying the current communication protocol type between the target charger and the target electric vehicle based on the current communication signal feature set; acquiring the current battery status data of the target electric vehicle and charging the target electric vehicle based on the current battery status data. It is evident that this method is compatible with three different communication protocols: SIF single-line, UART single-line, and LIN bus, improving the charger's versatility and applicability. Simultaneously, it can acquire detailed information about the vehicle battery in real time, including parameters such as charge level, voltage, temperature, and internal resistance. This allows for precise adjustment of the charging current and voltage based on the actual battery status, enabling intelligent switching between different stages such as constant current charging, constant voltage charging, and trickle charging, effectively extending battery life, improving charging efficiency, and reducing charging time. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a flowchart of an electric vehicle charging method based on multiple communication methods provided in Embodiment 1 of the present invention. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] Example 1:
[0022] like Figure 1 As shown in the figure, this embodiment provides a method for charging electric vehicles based on multiple communication methods. The method includes the following steps:
[0023] S100: When receiving a communication connection instruction between the target charger and the target electric vehicle, the current communication signal feature set of the target electric vehicle is obtained.
[0024] S200, based on the current communication signal feature set, identify the current communication protocol type between the target charger and the target electric vehicle;
[0025] S300: Obtain the current battery status data of the target electric vehicle and charge the target electric vehicle according to the current battery status data of the target electric vehicle.
[0026] Specifically, the current communication signal feature set ,in, It is the set of level characteristics of the current communication signal. It is the time feature set of the current communication signal; among which, , It is the number of times the initial high level and the initial low level alternate. It is the initial PWM duty cycle; , It is the initial jump time interval. It is the duration of a single initial level. It is the initial PWM cycle. It is the duration of the initial low level. It is the average of the preset number of jump time intervals.
[0027] Furthermore, step S100 also includes the following step to determine A:
[0028] S101, Obtain the initial level state characteristics within a preset time window △T. and initial jump time node features , This refers to the i-th initial level acquired, where i ranges from 1 to n, and n is the number of initial levels, and n is a positive integer greater than 1. It is the j-th initial transition time node collected, where j ranges from 1 to m, m is the number of initial transition time nodes, and m is a positive integer greater than 1.
[0029] Furthermore, the preset time window ΔT ranges from 100ms to 500ms. Preferably, ΔT meets the following conditions:
[0030] ,in, It is the maximum value of the time interval corresponding to T. It is the minimum value of the time interval corresponding to T. ΔT is the mean of the time intervals corresponding to T, where the unit of ΔT is ms.
[0031] S102, when a Break signal is detected between the target charger and the target electric vehicle, determine according to S... .
[0032] Furthermore, to obtain The steps are as follows: Obtain the initial high level and initial low level from S, and determine the number of times the initial high level and initial low level alternate after the time node of the Break signal between the target charger and the target electric vehicle.
[0033] Furthermore, Meets the following conditions:
[0034] , It is the average of the time intervals from the initial high level in S obtained from T. It is the average of the time intervals from the initial low level in S obtained from T.
[0035] S103, based on S and T, determine .
[0036] Furthermore, in step S103, Meets the following conditions:
[0037] And when j=1, .
[0038] Furthermore, step S103 can be further understood as follows: It is the average duration of each initial level.
[0039] Furthermore, in step S103, Meets the following conditions:
[0040] , It is the average of the time intervals from the initial high level in S obtained from T. It is the average of the time intervals from the initial low level in S obtained from T.
[0041] Furthermore, let's understand this further in step S103: It is the sum of the durations of each initial low level in S.
[0042] Furthermore, let's understand this further in step S103: The number of preset transition levels corresponds to the average time interval of the transition time. The preset number of transition levels ranges from 8 to 10. Those skilled in the art can set the preset number of transition levels according to actual needs, which will not be elaborated here.
[0043] In one specific embodiment, step S200 further includes the following step:
[0044] S201, when and When both conditions are met, the current communication protocol type between the target charger and the target electric vehicle is determined to be the first communication protocol type, wherein the first communication protocol type is the LIN bus type; wherein, It is a preset threshold number of alternations between the initial high level and the initial low level. The value range is 8-10. Those skilled in the art can set the preset threshold for the number of alternations between the initial high level and the initial low level according to actual needs, which will not be elaborated here. It is the preset minimum duration of the interval field signal and ≥500μs. Those skilled in the art can set the preset minimum duration of the interval field signal according to actual needs, which will not be elaborated here. This is the lower limit of the bit period corresponding to common baud rates. This is the upper limit of the bit period corresponding to common baud rates, preferably... =80μs, =120μs.
[0045] S202, when and When not both conditions are met, and The current communication protocol type between the target charger and the target electric vehicle is determined to be the second communication protocol type, wherein the second communication protocol type is UART type, and Δt is the preset error.
[0046] S203, when and Not all conditions are met simultaneously, when and When both conditions are not met simultaneously, , or At that time, the current communication protocol type between the target charger and the target electric vehicle is determined to be the third communication protocol type, wherein the third communication protocol type is SIF type. and The lower and upper limits are preset for the period. and These represent the lower and upper limits of the PWM duty cycle corresponding to "0". and These are the lower and upper limits of the PWM duty cycle corresponding to "1".
[0047] In one specific embodiment, step S300 further includes the following step:
[0048] S301, Obtain the current battery state data of the target electric vehicle. , This is the current battery charge of the target electric vehicle. It is the current battery voltage of the target electric vehicle. It is the current battery temperature of the target electric vehicle. It is the rate of change of the current battery internal resistance of the target electric vehicle; wherein, the current battery state data of the target electric vehicle is obtained by transmitting through the current communication protocol type.
[0049] S302, based on B, obtain the current charging priority F corresponding to B, where F meets the following conditions:
[0050] ,in, yes The corresponding weight value, yes The corresponding weight value, yes The corresponding weight value, yes The corresponding weight value, It is a preset voltage threshold. It is a preset temperature threshold.
[0051] Preferred, .
[0052] S303, Obtain the preset charging priority threshold range set. ,in, It is the preset first charging priority threshold. It is the preset second charging priority threshold. It is the preset third charging priority threshold. It is the preset fourth charging priority threshold. It is the preset fifth charging priority threshold.
[0053] Preferred, .
[0054] S304, according to F and The target electric vehicle is charged by obtaining the target charging parameters corresponding to F.
[0055] Preferably, step S304 further includes the following steps;
[0056] S3041, when At that time, the first charging parameter is used as the target charging parameter to charge the target electric vehicle.
[0057] S3042, when At that time, the second charging parameter is used as the target charging parameter to charge the target electric vehicle.
[0058] S3043, when At that time, the third charging parameter is used as the target charging parameter to charge the target electric vehicle.
[0059] S3044, when At that time, the fourth charging parameter is used as the target charging parameter to charge the target electric vehicle.
[0060] Furthermore, the first charging parameters include a first charging current, a first charging current transmission bandwidth, and a first charging current interval; preferably, the first charging current is 0.1c, the first charging current transmission bandwidth is 100ms, and the first charging current interval is 50ms.
[0061] Furthermore, the second charging parameters include a second charging current, a second charging current transmission bandwidth, and a second charging current interval; preferably, the second charging current is 0.5c. W0, the second charging current transmission bandwidth is 100ms, and the second charging current interval is 20ms.
[0062] Furthermore, Meets the following conditions:
[0063] ,in, It is by Temperature corresponding to the data collection time point prior to the corresponding data collection time point. This represents the time interval for temperature acquisition.
[0064] Furthermore, the third charging parameters include a third charging current, a third charging current transmission bandwidth, and a third charging current interval; preferably, the third charging current is 0.5c + (0.5 - g). g / 0.5, the bandwidth of the fourth charging current transmission is 100ms, the interval of the fourth charging current is 20ms, and x is the changing current value.
[0065] Furthermore, the fourth charging parameters include a fourth charging current, a fourth charging current transmission bandwidth, and a fourth charging current interval; preferably, the fourth charging current is 0.05C, the fourth charging current transmission bandwidth is 100ms, and the fourth charging current interval is 1s.
[0066] S3045, when When the time comes, stop charging the target electric vehicle.
[0067] This embodiment discloses an electric vehicle charging method based on multiple communication methods. The method includes the following steps: upon receiving a communication connection instruction between a target charger and a target electric vehicle, acquiring the current communication signal feature set of the target electric vehicle; identifying the current communication protocol type between the target charger and the target electric vehicle based on the current communication signal feature set; acquiring the current battery status data of the target electric vehicle and charging the target electric vehicle based on the current battery status data; it is known that the charging method is compatible with three different communication protocols: SIF single-line, UART single-line, and LIN bus, which improves the charger's versatility and applicability. Simultaneously, it can acquire detailed information about the vehicle battery in real time, including parameters such as charge, voltage, temperature, and internal resistance. This allows for precise adjustment of the charging current and voltage based on the actual battery status, enabling intelligent switching between different stages such as constant current charging, constant voltage charging, and trickle charging, effectively extending battery life, improving charging efficiency, and reducing charging time.
[0068] Example 2:
[0069] This second embodiment provides an electric vehicle charging system based on multiple communication methods. The system includes a processor, a memory, and a storage medium. The memory stores at least one instruction or at least one program segment. The at least one instruction or the at least one program segment is loaded and executed by the processor to achieve the following steps:
[0070] S100: When receiving a communication connection instruction between the target charger and the target electric vehicle, the current communication signal feature set of the target electric vehicle is obtained.
[0071] S200, based on the current communication signal feature set, identify the current communication protocol type between the target charger and the target electric vehicle;
[0072] S300: Obtain the current battery status data of the target electric vehicle and charge the target electric vehicle according to the current battery status data of the target electric vehicle.
[0073] While specific embodiments of the invention have been described in detail by way of example, those skilled in the art should understand that the examples are for illustrative purposes only and not intended to limit the scope of the invention. It should also be understood that various modifications can be made to the embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.
Claims
1. A method for charging electric vehicles based on multiple communication methods, characterized in that, The method includes the following steps: S100: Upon receiving a communication connection instruction between the target charger and the target electric vehicle, the current communication signal feature set of the target electric vehicle is obtained; step S100 also includes the following step to determine A: S101, Obtain the initial level state characteristics S={S1, ..., S2} within a preset time window △T. i , ..., S n } and the initial jump time node features T={T1,……,T j , ..., T m }, S i It is the i-th initial level acquired, where i ranges from 1 to n, n is the number of initial levels and n is a positive integer greater than 1, T j It is the j-th initial transition time node collected, where j ranges from 1 to m, m is the number of initial transition time nodes and m is a positive integer greater than 1; S102, when a Break signal is detected between the target charger and the target electric vehicle, A1 is determined according to S; S103, based on S and T, determine A2; Wherein, the current communication signal feature set A = {A1, A2}, where A1 is the level feature set of the current communication signal, and A2 is the time feature set of the current communication signal; where A1 = {A... 11 A 12 }, A 11 It is the number of times the initial high level and the initial low level alternate, A 12 It is the initial PWM duty cycle; A2={A 21 A 22 A 23 A 24 A 25 }, A 21 It is the initial jump time interval, A 22 It is the duration of a single initial level, A 23 It is the initial PWM period, A 24 It is the initial low-level duration, A 25 It is the average of the preset number of jump time intervals; Among them, A 12 Meets the following conditions: , △T high It is the average time interval from T to the initial high level in S, ΔT min It is the average of the time intervals from the initial low level in S obtained from T; Among them, A 21 Meets the following conditions: And when j=1, T j -T j-1 =0; Among them, A 22 It is the average duration of each initial level, A 24 A is the sum of the durations of each initial low level in S. 25 The average time interval between transitions corresponding to the preset number of transition levels; A 23 Meets the following conditions: , △T high It is the average time interval from T to the initial high level in S, ΔT min It is the average of the time intervals from the initial low level in S obtained from T; S200, based on the current communication signal feature set, identify the current communication protocol type between the target charger and the target electric vehicle; S300, acquire the current battery state data of the target electric vehicle and charge the target electric vehicle according to the current battery state data; the current battery state data of the target electric vehicle B={B1, B2, B3, B4}, where B1 is the current battery charge of the target electric vehicle, B2 is the current battery voltage of the target electric vehicle, B3 is the current battery temperature of the target electric vehicle, and B4 is the current battery internal resistance change rate of the target electric vehicle; wherein, the current battery state data of the target electric vehicle is acquired by transmitting the current communication protocol type.
2. The electric vehicle charging method based on multiple communication methods according to claim 1, characterized in that, The preset time window △T ranges from 100ms to 500ms.
3. The electric vehicle charging method based on multiple communication methods according to claim 2, characterized in that, △T satisfies the following conditions: , where △T max It is the maximum value of the time interval corresponding to T, ΔT min ΔT is the minimum value of the time interval corresponding to T, and ΔT0 is the mean value of the time interval corresponding to T, where the unit of ΔT is ms.
4. An electric vehicle charging system based on multiple communication methods, characterized in that, The system includes a processor, a memory, and a storage medium, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to perform the following steps: S100: Upon receiving a communication connection instruction between the target charger and the target electric vehicle, the current communication signal feature set of the target electric vehicle is obtained; step S100 also includes the following step to determine A: S101, Obtain the initial level state characteristics S={S1, ..., S2} within a preset time window △T. i , ..., S n } and the initial jump time node features T={T1,……,T j , ..., T m }, S i It is the i-th initial level acquired, where i ranges from 1 to n, n is the number of initial levels and n is a positive integer greater than 1, T j It is the j-th initial transition time node collected, where j ranges from 1 to m, m is the number of initial transition time nodes and m is a positive integer greater than 1; S102, when a Break signal is detected between the target charger and the target electric vehicle, A1 is determined according to S; S103, based on S and T, determine A2; Wherein, the current communication signal feature set A = {A1, A2}, where A1 is the level feature set of the current communication signal, and A2 is the time feature set of the current communication signal; where A1 = {A... 11 A 12 }, A 11 It is the number of times the initial high level and the initial low level alternate, A 12 It is the initial PWM duty cycle; A2={A 21 A 22 A 23 A 24 A 25 }, A 21 It is the initial jump time interval, A 22 It is the duration of a single initial level, A 23 It is the initial PWM period, A 24 It is the initial low-level duration, A 25 It is the average of the preset number of jump time intervals; Among them, A 12 Meets the following conditions: , △T high It is the average time interval from T to the initial high level in S, ΔT min It is the average of the time intervals from the initial low level in S obtained from T; Among them, A 21 Meets the following conditions: And when j=1, T j -T j-1 =0; Among them, A 22 It is the average duration of each initial level, A 24 A is the sum of the durations of each initial low level in S. 25 The average time interval between transitions corresponding to the preset number of transition levels; A 23 Meets the following conditions: , △T high It is the average time interval from T to the initial high level in S, ΔT min It is the average of the time intervals from the initial low level in S obtained from T; S200, based on the current communication signal feature set, identify the current communication protocol type between the target charger and the target electric vehicle; S300, acquire the current battery state data of the target electric vehicle and charge the target electric vehicle according to the current battery state data; the current battery state data of the target electric vehicle B={B1, B2, B3, B4}, where B1 is the current battery charge of the target electric vehicle, B2 is the current battery voltage of the target electric vehicle, B3 is the current battery temperature of the target electric vehicle, and B4 is the current battery internal resistance change rate of the target electric vehicle; wherein, the current battery state data of the target electric vehicle is acquired by transmitting the current communication protocol type.
Citation Information
Patent Citations
Communication protocol detection method, circuit, chip and electronic equipment
CN118573613A
Charging control method and system of super charging pile
CN119239367A