Electric bicycle charging starting detection method based on transient characteristics
By sampling the voltage and current during charging of the electric bicycle, calculating the transient impact and event characteristics, combined with the time distance judgment, the problem of the inability to accurately detect the charging start of the electric bicycle in the prior art is solved, and high-precision charging behavior recognition and Security monitoring.
Patent Information
- Application Number
- CN202411016697.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-19
AI Technical Summary
The existing charging detection methods of electric bicycles cannot accurately predict charging start, resulting in frequent fire accidents. Existing research only uses active and reactive harmonic data and fails to effectively utilize instantaneous data of current.
The electric bicycle charging start detection method based on transient characteristics is used, and the electric bicycle charging start detection method is used to sample the voltage and current of the total power supply inlet line, and the characteristics of the transient shock and transient events are calculated, and the time distance is used to determine whether the electric bicycle charging starts.
It realizes accurate and rapid detection of the charging behavior of electric bicycles, improves identification accuracy, avoids misidentification of similar transient events, and helps property management to monitor and protect timely.
Smart Images

Figure CN118980871A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of load identification, and in particular to a method for detecting charging start of an electric bicycle based on transient characteristics. Background Art
[0002] Electric bicycles have always been a very convenient means of transportation for people. With the increase in load, the safety of residents' electricity use has become increasingly prominent. Fire accidents caused by electricity use are frequent, and a large part of them are caused by charging electric bicycles, especially charging electric bicycles indoors. The battery of an electric vehicle may overheat during charging, causing a fire. The chemical substances in the battery may react at high temperatures, generating a large amount of heat and flammable gases, leading to an explosion.
[0003] Existing research and literature only use processed data such as active and reactive harmonics to detect transient events in electric bicycle charging, without studying the instantaneous data value of current, and cannot accurately predict the startup of the electric bicycle algorithm. Summary of the invention
[0004] Technical purpose: In view of the defects in the prior art, the present invention discloses a method for detecting the charging start of an electric bicycle based on transient characteristics. The present invention uses instantaneous current to detect transient impacts, combines the transient events detected by active and reactive harmonic data, calculates the distance between the transient impact and the transient event, and thus determines whether there is a battery vehicle charging start, which can effectively detect whether there is an electric bicycle charging behavior in the household.
[0005] Technical solution: In order to achieve the above technical objectives, the present invention adopts the following technical solution.
[0006] A method for detecting charging start of an electric bicycle based on transient characteristics, the method comprising:
[0007] The voltage and current of the main power supply incoming line are sampled respectively to obtain a voltage sampling sequence and a current sampling sequence;
[0008] Calculate and obtain transient characteristics in the current sampling sequence, including transient impact characteristics; substitute the transient impact characteristics into the transient impact judgment formula to determine whether the transient impact exists; and record the time series of the transient impact;
[0009] Calculate and obtain transient characteristics in the voltage sampling sequence and the current sampling sequence, wherein the transient characteristics include transient event characteristics; substitute the transient event characteristics into the transient event discrimination formula to determine whether the transient event exists, and record the time series of the transient event;
[0010] According to the time series of transient impact and the time series of transient events, it is judged whether the electric bicycle is started for charging by time distance, and the results are recorded and output.
[0011] Preferably, the process of acquiring the transient impact characteristics includes:
[0012] Current cycle data is obtained from the current sampling sequence according to time windows, each time window includes N cycles; six transient impact features of each cycle are calculated.
[0013] Preferably, the six transient impact characteristics include:
[0014] Calculate the maximum value of the absolute value of each current value in the current cycle current sequence and use it as the first transient impact feature;
[0015] Calculate the maximum absolute value of the primary difference of the current cyclic current sequence and use it as the second transient impact feature;
[0016] Calculate the maximum absolute value of the difference between each current value of the next cycle current sequence and the current cycle current sequence, and use it as the third transient impact feature, and obtain the corresponding position of the third transient impact feature;
[0017] Calculate the absolute value of the difference between the current value of the current sequence and the current value of the previous sequence at the corresponding position of the third transient impulse feature, and use it as the fourth transient impulse feature;
[0018] Calculate the product of the current value difference between the current cycle current sequence and the previous cycle current sequence and the current value difference between the next cycle current sequence and the current cycle current sequence at the corresponding position of the third transient impulse feature, and use it as the fifth transient impulse feature;
[0019] The absolute value of the difference between the current values of the current sequence and the previous sequence and the absolute value of the difference between the current values of the next sequence and the current sequence at the corresponding position of the third transient impulse feature is calculated and used as the sixth transient impulse feature.
[0020] Preferably, the calculation formula of the first transient impact feature F1 includes:
[0021] F1=max(abs(I_current))
[0022] Among them, I_current is the current cycle current sequence, abs is the absolute value function;
[0023] The calculation formula of the second transient impact characteristic F2 includes:
[0024] F2 = max(abs(tempI_current))
[0025] tempI_current=I_current i+1 -I_current i
[0026] Among them, tempI_current is the primary difference of the current cycle current sequence, I_current i I_current is the current value of the i-th point in the current cycle current sequence; i+1 is the current value of the i+1th point in the current cycle current sequence; 1≤i≤n-1, n is the number of current values in the current cycle current sequence;
[0027] The third transient impact feature F3, and the corresponding position of the third transient impact feature F3, the calculation formula includes:
[0028] [F3, index]=max(abd(I_next-I_current))
[0029] Wherein, I_next is the next cycle current sequence, and index is the corresponding position of the third transient impulse feature F3, that is, the time sequence position of the third transient impulse feature F3 in the cycle current sequence;
[0030] The fourth transient impact feature F4 is calculated by the following formula:
[0031] F4=abs(I_current(index)-I_before(index))
[0032] Wherein, I_current(index) is the current value of the current cycle current sequence at the corresponding position of the third transient impulse feature F3; I_before(index) is the current value of the previous cycle current sequence at the corresponding position of the third transient impulse feature F3;
[0033] The fifth transient impact feature F5 is calculated by the following formula:
[0034] F5=(I_current(index)-I_before(index))×(I_next(index)-I_current(index))
[0035] Wherein, I_before(index) is the current value of the previous cycle current sequence at the corresponding position of the third transient impulse feature F3;
[0036] The calculation formula of the sixth transient impact feature F6 includes:
[0037]
[0038] Wherein, I_before(index) is the current value of the previous cycle current sequence at the corresponding position of the third transient impulse feature F3.
[0039] Preferably, the transient impact judgment formula includes three impact judgment conditions, and the calculation formula is as follows:
[0040] F1(current)-F1(before)>w1 and F1(current)-F1(next)>w1
[0041] F2(current)>w2
[0042] F3(current)>w1 and F4(current)>wl and F5(current)<w3 and F6(current)<w4
[0043] Among them, F1(current) is the first transient impact feature of the current cycle current sequence, F1(before) is the first transient impact feature of the previous cycle current sequence, F1(next) is the first transient impact feature of the next cycle current sequence, F2(current), F3(current), F4(current), F5(current), F6(current) are the second transient impact feature, the third transient impact feature, the fourth transient impact feature, the fifth transient impact feature, and the sixth transient impact feature of the current cycle current sequence respectively; w1, w2, w3, w4 are the first threshold, the second threshold, the third threshold, and the fourth threshold respectively;
[0044] Substitute the transient shock characteristics into the transient shock judgment formula. If any transient shock judgment formula is satisfied, it is determined that the transient shock exists.
[0045] Preferably, the process of acquiring the transient event characteristics includes:
[0046] According to the voltage sampling sequence U and the current sampling sequence I, the active power P, reactive power Q and third harmonic I3 of the total power supply line are calculated, and then the three transient event characteristics ΔP, ΔQ and ΔI3 are calculated. The calculation formula is as follows:
[0047] ΔP=P 2 -P 1
[0048] ΔQ=Q 2 -Q 1
[0049] ΔI3=I3 2 -I3 1
[0050] Among them, ΔP, ΔQ, and ΔI3 are the first transient event characteristics, the second transient event characteristics, and the third transient event characteristics, respectively representing the increment of active power, the increment of reactive power, and the increment of the third harmonic; P 1 , P 2 are the steady-state active power before and after the mutation, Q 1 , Q 2 are the steady-state reactive power before and after the mutation, I3 1 、I3 2 They are the steady-state third harmonic before mutation and the steady-state third harmonic after mutation, respectively.
[0051] Preferably, the transient event discrimination formula includes three event discrimination conditions, and the calculation formula is as follows:
[0052] w5<ΔP<w6
[0053] w7<ΔI3×500<w8 and
[0054] ΔQ<w11
[0055] Among them, w5, w6, w7, w8, w9, w10, and w11 are the fifth threshold, the sixth threshold, the seventh threshold, the eighth threshold, the ninth threshold, the tenth threshold, and the eleventh threshold respectively;
[0056] Substitute the transient event characteristics into the transient event discrimination formula, and determine that a transient event exists when all transient event discrimination formulas are satisfied.
[0057] Preferably, the step of judging whether the charging of the electric bicycle is started by using the time distance comprises: in the time sequence of transient events, according to the time T of each transient event 2 In the time series of transient shocks, look forward to find whether there is a transient shock within the first time threshold. If not, the transient event does not belong to the charging start event of the electric bicycle; if it exists, according to the time T of the transient event 2 Find the time T of the most recent transient shock in the transient shock time series. 1 , if the time of the transient event is T 2 The time of transient impact T 1 If the time distance meets the second time threshold range, the transient event belongs to the charging start event of the electric bicycle; if not, the transient event does not belong to the charging start event of the electric bicycle.
[0058] Beneficial effects:
[0059] 1. The present invention only needs to collect the voltage and current of the incoming line, and can accurately, effectively and quickly identify the start time of the electric bicycle charging. It has the advantages of being simple, economical, and easy to promote and apply, and can effectively detect whether there is electric bicycle charging behavior in the household;
[0060] 2. Since the accuracy of instantaneous current data is relatively high, the present invention uses instantaneous current data to calculate the transient impact time, which can improve the accuracy of the transient impact time;
[0061] 3. In the existing technology, only active and reactive harmonic data are used to detect transient events to determine the charging start of battery vehicles. In the present invention, the time distance between the detection of transient impact and transient events is used to determine the charging start of electric bicycles, which can effectively avoid the misidentification of electrical appliances due to similar transient events and improve the recognition accuracy of the charging start of electric bicycles;
[0062] 4. The identification results can help property management personnel or relevant management departments of the police station to timely monitor whether there are residents charging electric bicycles at home, so as to take corresponding protective measures. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 This is a flow chart of a method for detecting charging start of an electric bicycle based on transient characteristics of the present invention;
[0064] Figure 2 Schematic diagram of transient impact of charging start of an electric bicycle in an embodiment;
[0065] Figure 3 is a schematic diagram of active power for charging and starting of an electric bicycle in an embodiment;
[0066] Figure 4 is a schematic diagram of the third harmonic of the electric bicycle charging start-up in the embodiment;
[0067] Figure 5 Schematic diagram of reactive power for charging and starting an electric bicycle in an embodiment. DETAILED DESCRIPTION
[0068] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0069] As attached Figure 1 As shown, a method for detecting charging start of an electric bicycle based on transient characteristics of the present invention comprises the following steps:
[0070] Step 1: Use a voltage and current collector to sample the voltage and current of the main power supply line of the meter box respectively to obtain a voltage sampling sequence U and a current sampling sequence I; the sampling frequency range is 800HZ to 10KHZ. In some embodiments of the present invention, the sampling frequency uses 10KHZ;
[0071] The present invention only needs to collect the voltage and current of the incoming line, and can accurately, effectively and quickly identify the start time of charging the electric bicycle, and has the advantages of being simple, economical, and easy to promote and apply.
[0072] Step 2: Calculate and obtain the transient characteristics in the current sampling sequence I, the transient characteristics include transient impact characteristics; substitute the transient impact characteristics into the transient impact judgment formula to determine whether the transient impact exists; and record the time series of the transient impact;
[0073] The process of acquiring transient impact characteristics includes:
[0074] The current cycle data is obtained from the current sampling sequence I according to the time window, each time window includes N cycles; in some embodiments of the present invention, the time window size is 0.1s, and each time window includes 5 cycles; the six transient impact features F1, F2, F3, F4, F5, and F6 of each cycle are calculated, and the calculation formula is as follows:
[0075] The maximum value of the absolute value of each current value in the current cycle current sequence is calculated and used as the first transient impact feature F1. The calculation formula includes:
[0076] F1=max(abs(I_current))
[0077] Among them, I_current is the current cycle current sequence, abs is the absolute value function;
[0078] The maximum absolute value of the primary difference of the current cyclic current sequence is calculated and used as the second transient impact feature F2. The calculation formula includes:
[0079] F2 = max(abs(tempI_current))
[0080] tempI_current=I_current i+1 -I_current i
[0081] Among them, tempI_current is the primary difference of the current cycle current sequence, I_current i I_current is the current value of the i-th point in the current cycle current sequence; i+1is the current value of the i+1th point in the current cycle current sequence; 1≤i≤n-1, n is the number of current values in the current cycle current sequence;
[0082] The maximum absolute value of the difference between the next cyclic current sequence and each current value of the current sequence is calculated and used as the third transient impulse feature F3, and the corresponding position of the third transient impulse feature F3 is obtained. The calculation formula includes:
[0083] [F3, index]=max(abd(I_next-I_current))
[0084] Wherein, I_next is the next cycle current sequence, and index is the corresponding position of the third transient impulse feature F3, that is, the time sequence position of the third transient impulse feature F3 in the cycle current sequence;
[0085] The absolute value of the difference between the current value of the current sequence and the current value of the previous sequence at the corresponding position of the third transient impulse feature F3 is calculated and used as the fourth transient impulse feature F4. The calculation formula includes:
[0086] F4=abs(I_current(index)-I_before(index))
[0087] Wherein, I_current(index) is the current value of the current cycle current sequence at the corresponding position of the third transient impulse feature F3; I_before(index) is the current value of the previous cycle current sequence at the corresponding position of the third transient impulse feature F3;
[0088] The product of the current value difference between the current cycle current sequence and the previous cycle current sequence and the current value difference between the next cycle current sequence and the current cycle current sequence at the corresponding position of the third transient impulse feature F3 is calculated and used as the fifth transient impulse feature F5. The calculation formula includes:
[0089] F5=(I_current(index)-I_before(index))×(I_next(index)-I_current(index))
[0090] Wherein, I_before(index) is the current value of the previous cycle current sequence at the corresponding position of the third transient impulse feature F3;
[0091] The absolute value of the difference between the current value of the current cycle current sequence and the previous cycle current sequence and the absolute value of the difference between the current value of the next cycle current sequence and the current cycle current sequence at the corresponding position of the third transient impulse feature F3 is calculated and used as the sixth transient impulse feature F6, and its calculation formula includes:
[0092]
[0093] Wherein, I_before(index) is the current value of the previous cycle current sequence at the corresponding position of the third transient impulse feature F3;
[0094] The transient impact judgment formula includes three impact judgment conditions, and the calculation formula is as follows:
[0095] F1(current)-F1(before)>w1 and F1(current)-F1(next)>w1
[0096] F2(current)>w2
[0097] F3(current)>w1 and F4(current)>w1 and F5(current)<w3 and F6(current)<w4
[0098] Among them, F1(current) is the first transient impact feature of the current cycle current sequence, F1(before) is the first transient impact feature of the previous cycle current sequence, F1(next) is the first transient impact feature of the next cycle current sequence, F2(current), F3(current), F4(current), F5(current), F6(current) are the second transient impact feature, the third transient impact feature, the fourth transient impact feature, the fifth transient impact feature, and the sixth transient impact feature of the current cycle current sequence respectively; w1, w2, w3, w4 are the first threshold, the second threshold, the third threshold, and the fourth threshold respectively; 5≤w1≤10, 10≤w2≤20,
[0099] -1≤w3≤O, 0≤w4≤2.
[0100] Substitute the transient shock characteristics into the transient shock judgment formula. If any transient shock judgment formula is satisfied, it is determined that the transient shock exists.
[0101] Since the accuracy of instantaneous current data is relatively high, the present invention uses the instantaneous current data to calculate the transient impact time, which can improve the accuracy of the transient impact time.
[0102] Step 3: Calculate and obtain transient characteristics in the voltage sampling sequence U and the current sampling sequence I, wherein the transient characteristics include transient event characteristics; substitute the transient event characteristics into the transient event discrimination formula to determine whether a transient event exists, and record the time series of the transient event;
[0103] The process of acquiring transient event characteristics includes:
[0104] According to the voltage sampling sequence U and the current sampling sequence I, the active power P, reactive power Q and third harmonic I3 of the total power supply line are calculated, and then the three transient event characteristics ΔP, ΔQ and ΔI3 are calculated. The calculation formula is as follows:
[0105] ΔP=P 2 -P 1
[0106] ΔQ=Q 2 -Q 1
[0107] ΔI3=I3 2 -I3 1
[0108] Among them, ΔP, ΔQ, and ΔI3 are the first transient event characteristics, the second transient event characteristics, and the third transient event characteristics, respectively representing the increment of active power, the increment of reactive power, and the increment of the third harmonic; P 1 , P 2 are the steady-state active power before and after the mutation, Q 1 , Q 2 are the steady-state reactive power before and after the mutation, I3 1 、I3 2 They are the steady-state third harmonic before mutation and the steady-state third harmonic after mutation respectively;
[0109] The transient event discrimination formula includes three event discrimination conditions, and the calculation formula is as follows:
[0110] w5<ΔP<w6
[0111] w7<ΔI3×500<w8 and
[0112] ΔQ<w11
[0113] Among them, w5, w6, w7, w8, w9, w10, and w11 are the fifth threshold, the sixth threshold, the seventh threshold, the eighth threshold, the ninth threshold, the tenth threshold, and the eleventh threshold respectively; 50≤w5≤100, 400≤w6≤700, 80≤w7≤150, 1000≤w8≤1500, 0.5≤w9≤1, 1≤w10≤5, 5≤w11≤30.
[0114] Substitute the transient event characteristics into the transient event discrimination formula, and determine that a transient event exists when all transient event discrimination formulas are satisfied.
[0115] Step 4: Based on the time series of transient impacts and the time series of transient events, determine whether it is the charging start of the electric bicycle through time distance, and record and output the results.
[0116] In the time series of transient events, according to the time T of each transient event 2 In the time series of transient shocks, look forward to find whether there is a transient shock within the first time threshold. If not, the transient event does not belong to the charging start event of the electric bicycle; if it exists, according to the time T of the transient event 2 Find the time T of the most recent transient shock in the transient shock time series. 1 , if the time of the transient event is T 2 The time of transient shock T 1 If the time distance meets the second time threshold range, the transient event belongs to the charging start event of the electric bicycle; if not, the transient event does not belong to the charging start event of the electric bicycle, and the judgment result is recorded and output.
[0117] The time of transient event T 2 The time of transient shock T 1 The calculation formula of the time distance ΔT is:
[0118] ΔT=T 2 -T 1
[0119] In the existing technology, only active and reactive harmonic data are used to detect transient events to determine the charging start of electric bicycles. In the present invention, the time distance between the detection of transient impact and transient events is used to determine the charging start of electric bicycles, which can effectively avoid the misidentification of electrical appliances due to similar transient events and improve the recognition accuracy of the charging start of electric bicycles. The recognition results of the present invention are helpful for property management personnel or relevant management departments of the police station to timely monitor whether there are residents charging electric bicycles at home, so as to take corresponding protective measures.
[0120] Example:
[0121] A method for detecting charging start of an electric bicycle based on transient characteristics in this embodiment includes the following steps:
[0122] Step 1: Use the voltage and current collector to sample the voltage and current of the main power supply line respectively to obtain the voltage sampling sequence U and the current sampling sequence I. The sampling frequency is 800HZ~10KHZ. This solution uses 10KHZ.
[0123] Step 2: Calculate and obtain the transient impact in the current sequence I; obtain 0.1s data in the current sequence in sequence, that is, 5 cycles, t1~t5, and calculate the characteristics of each cycle F1~F6. The calculation formula is as follows:
[0124] 1. Calculate the maximum absolute value of each current value in the current cycle. The calculation formula is as follows:
[0125] F1=max(abd(I_current)) (1)
[0126] 2. Calculate the maximum absolute value of the current frequency difference. The calculation formula is as follows:
[0127] F2=max(abs(tempI_current)) (2)
[0128] 3. Calculate the next frequency - the maximum absolute value of the current frequency, and the corresponding position of the maximum value. The calculation formula is as follows:
[0129] [F3, index]=max(abs(I_next-I_current)) (3)
[0130] 4. Calculate the absolute value of the current cycle minus the previous cycle at the maximum value. The calculation formula is as follows:
[0131] F4=abs(I_current(index)-I_before(index)) (4)
[0132] 5. Calculate the product of the current cycle - the previous cycle and the next cycle - the current cycle at the maximum position. The calculation formula is as follows:
[0133]
[0134] 6. Calculate the absolute value of the difference between the absolute value of the current cycle - the previous cycle and the absolute value of the next cycle - the current cycle at the maximum position. The calculation formula is as follows:
[0135]
[0136] In formulas 1 to 6, the current sequence of the current cycle is I_current, the current sequence of the previous cycle is I_before, and the current sequence of the next cycle is I_next;
[0137] If any of the following conditions is met, it means that the impact is detected and the impact time is recorded. The data of the 0.1s window is detected in sequence and all the detected impact time series are recorded. The condition rules are as follows:
[0138] Condition 1: F1(current)-F1(before)>w1 and F1(current)-F1(next)>w1
[0139] Condition 2: F2(current)>w2
[0140] Condition 3:
[0141] F3(current)>w1 and F4(current)>w1 and F5(current)<w3 and F6(current)<w4 In conditions 1 to 3, the range of w1 is 5 to 10, and in this solution w1=5; the range of w2 is 10 to 20, and in this solution w2=20; the range of w3 is -1 to 0, and in this solution w3=0; the range of w4 is 0 to 2, and in this solution w4=1;
[0142] The calculation formula of the primary difference is as follows:
[0143] tempI_current=I_current i+1 -I_current i (7)
[0144] 1≤i≤n-1, n is the number of current values in the current cycle current sequence, and the value in the present invention is 200.
[0145] like Figure 2 As shown, the impact is found in the third cycle of 2239 0.1s data, that is, F2(3) meets the conditions, and the impact time is 223.8438 seconds.
[0146] Step 3: Based on U and I, calculate the average power P, reactive power Q, and third harmonic I3 of the incoming line; calculate transient events;
[0147] The transient event ΔP is the increase in active power, ΔI3 is the increase in third harmonic, and ΔQ is the increase in reactive power. The calculation formula is as follows:
[0148] ΔP=P 2 -P 1 (8)
[0149] ΔI3=I3 2 -I3 1 (9)
[0150] ΔQ=Q 2 -Q 1 (10)
[0151] In formulas 8 to 10, P 1 , P 2 are the steady-state active power before and after the mutation, Q1 , Q 2 are the steady-state reactive power before and after the mutation, I3 1 、I3 2 They are the steady-state third harmonic before mutation and the steady-state third harmonic after mutation, respectively.
[0152] If w5<ΔP<w6, and w7<ΔI3×500<w8 and And ΔQ<w11;
[0153] Wherein, the range of w5 is 50-100, and in this solution w5=80; the range of w6 is 400-700, and in this solution w6=500; the range of w7 is 80-150, and in this solution w7=100; the range of w8 is 1000-1500, and in this solution w8=1200; the range of w9 is 0.5-1, and in this solution w9=0.9; the range of w10 is 1-5, and in this solution w10=3; the range of w11 is 5-30, and in this solution w11=20;
[0154] When all the above conditions are met, it means that a transient event is detected and the time is recorded. Then, the transient events are searched for in sequence and the time series of the events is recorded.
[0155] like Figure 3-Figure 5 As shown, the above conditions are met and the transient event detection time is 224.3 seconds.
[0156] Step 4: Determine whether it is the charging start of the electric bicycle based on the time distance between the transient event and the transient impact.
[0157] According to the time T of the transient event 2 Look forward for the first time threshold 30s to find the transient impact. If it is not found, the transient event is not the electric bicycle start event. Otherwise, look for the transient impact at the most recent transient impact time T. 1 The distance is judged. If the distance ΔT is between the second time threshold of 0.1s and 20s, the charging of the electric bicycle is started. The calculation formula of ΔT is as follows:
[0158] ΔT=T 2 -T 1 (11)
[0159] According to the time T in step 2 1 The time T of the transient event detected in step 3 2 Make a difference, ΔT = T 2 -T 1 =0.4562s is within the range, which means that the electric bicycle is charged and started.
[0160] The "first" and "second" in the names of "first" and "second" mentioned in the embodiments of this application are only used as name identifications and do not represent their importance rankings.
[0161] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for detecting the charging start of an electric bicycle based on transient characteristics, characterized in that: The method comprises: The voltage and current of the main power supply line of the meter box are sampled respectively to obtain a voltage sampling sequence and a current sampling sequence; Calculate and obtain transient characteristics in the current sampling sequence, including transient impact characteristics; substitute the transient impact characteristics into the transient impact judgment formula to determine whether the transient impact exists; and record the time series of the transient impact; Calculate and obtain transient characteristics in the voltage sampling sequence and the current sampling sequence, wherein the transient characteristics include transient event characteristics; substitute the transient event characteristics into the transient event discrimination formula to determine whether the transient event exists, and record the time series of the transient event; According to the time series of transient impact and the time series of transient events, it is judged whether the electric bicycle is started for charging by time distance, and the results are recorded and output.
2. The method for detecting charging start of an electric bicycle based on transient characteristics according to claim 1, characterized in that: The process of acquiring the transient impact characteristics includes: Current cycle data is obtained from the current sampling sequence according to time windows, each time window includes N cycles; six transient impact features of each cycle are calculated.
3. The method for detecting charging start of an electric bicycle based on transient characteristics according to claim 2, characterized in that: The six transient shock characteristics include: Calculate the maximum value of the absolute value of each current value in the current cycle current sequence and use it as the first transient impact feature; Calculate the maximum absolute value of the primary difference of the current cyclic current sequence and use it as the second transient impact feature; Calculate the maximum absolute value of the difference between each current value of the next cycle current sequence and the current cycle current sequence, and use it as the third transient impact feature, and obtain the corresponding position of the third transient impact feature; Calculate the absolute value of the difference between the current value of the current sequence and the current value of the previous sequence at the corresponding position of the third transient impulse feature, and use it as the fourth transient impulse feature; Calculate the product of the current value difference between the current cycle current sequence and the previous cycle current sequence and the current value difference between the next cycle current sequence and the current cycle current sequence at the corresponding position of the third transient impulse feature, and use it as the fifth transient impulse feature; The absolute value of the difference between the current values of the current sequence and the previous sequence and the absolute value of the difference between the current values of the next sequence and the current sequence at the corresponding position of the third transient impulse feature is calculated and used as the sixth transient impulse feature.
4. The method for detecting charging start of an electric bicycle based on transient characteristics according to claim 3, characterized in that: The calculation formula of the first transient impact feature F1 includes: F1=max(abs(I_current)) Among them, I_current is the current cycle current sequence, and a is the absolute value function; The calculation formula of the second transient impact characteristic F2 includes: F2 = max(abs(tempI_current)) tempI_current=I_current i+1 -I_current i Among them, tempI_current is the primary difference of the current cycle current sequence, I_current i I_current is the current value of the i-th point in the current cycle current sequence; i+1 is the current value of the i+1th point in the current cycle current sequence; 1≤i≤n-1, n is the number of current values in the current cycle current sequence; The third transient impact feature F3, and the corresponding position of the third transient impact feature F3, the calculation formula includes: [F3, index]=max(abs(I_next-I_current)) Wherein, I_next is the current sequence of the next cycle, index is the corresponding position of the third transient impact feature F3, that is, the timing position of the third transient impact feature F3 in the current cycle current sequence; The fourth transient impact feature F4, and its calculation formula includes: F4 = abs(I_current(index) - I_before(index)) Wherein, I_current(index) is the current value of the current cycle current sequence at the corresponding position of the third transient impact feature F3; I_before(index) is the current value of the previous cycle current sequence at the corresponding position of the third transient impact feature F3; The fifth transient impact feature F5, and its calculation formula includes: F5 = (I_current(index) - I_before(index)) × (I_next(index) - I_current(index)) Wherein, I_before(index) is the current value of the previous cycle current sequence at the corresponding position of the third transient impact feature F3; The sixth transient impact feature F6, and its calculation formula includes: Wherein, I_before(index) is the current value of the previous cycle current sequence at the corresponding position of the third transient impact feature F3.
5. The method for detecting charging start of an electric bicycle based on transient characteristics according to claim 1, characterized in that: The transient impact discrimination formula includes three impact discrimination conditions, and the calculation formula is as follows: F1(current) - F1(before) > w1 and F1(current) - F1(next) > w1 F2(current) > w2 F3(current) > w1 and F4(current) > w1 and F5(current) < w3 and F6(current) < w4. Wherein, F1(current) is the first transient impact feature of the current cycle current sequence, F1(before) is the first transient impact feature of the previous cycle current sequence, F1(next) is the first transient impact feature of the next cycle current sequence, F2(current), F3(current), F4(current), F5(current), F6(current) are respectively the second transient impact feature, the third transient impact feature, the fourth transient impact feature, the fifth transient impact feature, and the sixth transient impact feature of the current cycle current sequence; w1, w2, w3, w4 are respectively the first threshold, the second threshold, the third threshold, and the fourth threshold; Substitute the transient impact feature into the transient impact discrimination formula, and if any transient impact discrimination formula is satisfied, it is determined that the transient impact exists.
6. The method for detecting charging start of an electric bicycle based on transient characteristics according to claim 1, characterized in that: The obtaining process of the transient event feature includes: According to the voltage sampling sequence U and the current sampling sequence I, calculate the active power P, reactive power Q, and third harmonic I3 of the total power supply incoming line, and then calculate three transient event features ΔP, ΔQ, ΔI3. The calculation formula is as follows: ΔP = P2 - P1 ΔQ = Q2 - Q1 ΔI3 = I32 - I31 Among them, ΔP, ΔQ, and ΔI3 are the first transient event characteristics, the second transient event characteristics, and the third transient event characteristics, respectively, representing the increase in active power, the increase in reactive power, and the increase in third harmonics, respectively; P1 and P2 are the steady-state active power before and after the mutation, respectively, Q1 and Q2 are the steady-state reactive power before and after the mutation, respectively, and I31 and I32 are the steady-state third harmonic before and after the mutation, respectively.
7. The method for detecting charging start of an electric bicycle based on transient characteristics according to claim 1, characterized in that: The transient event discrimination formula includes three event discrimination conditions, and the calculation formula is as follows: w5<△P<w6 w7 < △I3 × 500 < w8 and △Q <w11 Among them, w5, w6, w7, w8, w9, w10, and w11 are the fifth threshold, the sixth threshold, the seventh threshold, the eighth threshold, the ninth threshold, the tenth threshold, and the eleventh threshold respectively; Substitute the transient event characteristics into the transient event discrimination formula, and determine that a transient event exists when all transient event discrimination formulas are satisfied.
8. The method for detecting charging start of an electric bicycle based on transient characteristics according to claim 1, characterized in that: The method of judging whether it is the charging start of the electric bicycle by time distance includes: in the time sequence of transient events, according to the time T2 of each transient event, looking forward in the time sequence of transient impacts to see whether there is a transient impact within a first time threshold; if not, the transient event does not belong to the charging start event of the electric bicycle; if so, according to the time T2 of the transient event, looking backward in the time sequence of transient impacts for the time T1 of the most recent transient impact; if the time distance between the time T2 of the transient event and the time T1 of the transient impact meets the second time threshold range, the transient event belongs to the charging start event of the electric bicycle; if not, the transient event does not belong to the charging start event of the electric bicycle.
