Portable vehicle online detection device and method
Through the portable vehicle online detection device, a variety of detection functions and automated data upload are integrated, the efficiency and cost problems of electric vehicle charging detection are solved, and efficient detection of electric vehicles and charging piles are achieved and electricity bill optimization is achieved.
Patent Information
- Application Number
- CN202111353924.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-11
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-11-11
AI Technical Summary
In the prior art, electric vehicle charging detection requires multiple separate equipment, which is inconvenient to use and high cost, and cannot detect electric vehicles and charging piles at the same time. Data summary depends on labor, and low efficiency and quality.
A portable vehicle online detection device is designed, integrating the main control module, detection module, power supply module, communication module, contact module, charging socket and charging gun, and a multi-chip control insulation withstand voltage test, voltmeter and ammeter for multiple detections. And use the peak-cutting and valley-filling strategy to optimize power use and automatically upload data to the server.
It has achieved the integration of multiple detection functions for electric vehicles and charging piles, automated data upload, improved charging detection efficiency and quality, reduced costs, and optimized electricity bill expenditure through peak-cutting and valley-filling strategies.
Smart Images

Figure CN114019395B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric vehicles, and in particular to a portable vehicle online detection device and method. Background Art
[0002] Battery electric vehicles (BEV) refer to vehicles that use onboard power as a power source, use motors to drive wheels, and comply with various requirements of road traffic and safety regulations. As they have less impact on the environment than traditional vehicles, their prospects are widely optimistic. With the development of electric vehicles, the demand for charging electric vehicles is increasing day by day, and the number of charging piles has exploded.
[0003] In order to ensure the safety of charging, a series of tests are required before charging electric vehicles. Traditionally, multiple different testing devices are required for pre-charging testing. Since different testing devices need to be operated separately, it is very inconvenient to use. The cost of purchasing testing equipment separately is high. In addition, traditional testing equipment has a single function and only has corresponding testing functions. It can only test the electric vehicle end, but not the charging pile end. The data completed by the test needs to be recorded and summarized manually.
[0004] Therefore, how to provide a portable vehicle online detection device and method to improve the efficiency and quality of charging detection and reduce the cost of charging detection has become an urgent problem to be solved. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a portable vehicle online detection device and method, so as to improve the efficiency and quality of charging detection and reduce the cost of charging detection.
[0006] In a first aspect, the present invention provides a portable vehicle online detection device, including a main control module, a detection module, a power module, a communication module, a contact module, a charging socket, a charging gun and a jump-start rescue interface;
[0007] The main control module is respectively connected to the detection module, power module, communication module, contact module, charging socket and charging gun; one end of the contact module is connected to the power module and the jump-start rescue interface, and the other end is connected to the charging socket, charging gun and detection module.
[0008] Furthermore, the main control module includes a charging pile controller, a single chip microcomputer and a display screen;
[0009] One end of the charging pile controller is connected to the single-chip microcomputer, and the other end is connected to the display screen; the single-chip microcomputer is respectively connected to the detection module, the power module, the communication module, the contact module, the charging socket and the charging gun.
[0010] Further, the power module includes a bidirectional DC converter, a 12V DC converter and a battery;
[0011] One end of the bidirectional DC converter is connected to the battery, and the other end is connected to the contact module; one end of the 12V DC converter is connected to the battery, and the other end is connected to the contact module;
[0012] The bidirectional DC converter and the 12V DC converter are both connected to the single chip microcomputer.
[0013] Further, the charging socket includes a terminal 1, a terminal 2, a terminal 3, a terminal 4, a terminal 5, a terminal 6, a terminal 7, a terminal 8, a terminal 9 and a resistor R1;
[0014] One end of the resistor R1 is connected to the terminal 3, and the other end is connected to the terminal 6; the terminal 1 is connected to the detection module, the terminal 2 is connected to the detection module and the charging gun, the terminal 3 is connected to the detection module and the charging gun, the terminal 4 is connected to the single-chip microcomputer and the charging gun, the terminal 5 is connected to the single-chip microcomputer and the charging gun, the terminal 7 is connected to the single-chip microcomputer and the detection module, the terminal 8 is connected to the contact module and the charging gun, and the terminal 9 is connected to the contact module and the charging gun;
[0015] The charging gun includes a wiring pin 1, a wiring pin 2, a wiring pin 3, a wiring pin 4, a wiring pin 5, a wiring pin 6, a wiring pin 7, a wiring pin 8, a wiring pin 9, a resistor R2 and a resistor R3;
[0016] One end of the resistor R2 is connected to the wiring pin 3, and the other end is connected to the wiring pin 6 and the single-chip microcomputer; one end of the resistor R3 is connected to the wiring pin 3, and the other end is connected to the wiring pin 7; the wiring pin 1 is connected to the detection module, the wiring pin 2 is connected to the detection module and the wiring terminal 2, the wiring pin 3 is connected to the detection module and the wiring terminal 3, the wiring pin 4 is connected to the single-chip microcomputer and the wiring terminal 4, the wiring pin 5 is connected to the single-chip microcomputer and the wiring terminal 5, the wiring pin 8 is connected to the contact module and the wiring terminal 8, and the wiring pin 9 is connected to the contact module and the wiring terminal 9;
[0017] The jump-start rescue interface includes a wiring contact 1 and a wiring contact 2; the wiring contact 1 and the wiring contact 2 are both connected to the contact module.
[0018] Further, the detection module includes an insulation withstand voltage tester IMD, a voltmeter V, an ammeter A1, an ammeter A2 and a sampling resistor R4;
[0019] Pin 1 of the insulation withstand voltage tester IMD is connected to terminal 2, the negative pole of voltmeter V, the contact module and wiring pin 2, pin 2 is connected to terminal 3, resistor R1, resistor R2, resistor R3 and wiring pin 3, and pin 3 is connected to ammeter A1, ammeter A2 and the contact module;
[0020] The positive pole of the voltmeter V is connected to the wiring terminal 1 and the ammeter A1; the ammeter A2 is connected to the wiring pin 1; one end of the sampling resistor R4 is connected to the wiring terminal 7 and the single chip microcomputer;
[0021] The insulation withstand voltage tester IMD, the voltmeter V, the ammeter A1 and the ammeter A2 are all connected to the single chip computer.
[0022] Further, the contact module includes a switch K1, a switch K2, a switch K3, a switch K4, a switch K5 and a switch K6;
[0023] One end of the switch K1 is connected to the power module, and the other end is connected to the detection module; one end of the switch K2 is connected to the power module, and the other end is connected to the detection module and the charging gun; one end of the switch K3 is connected to the power module and the switch K6, and the other end is connected to the charging socket and the charging gun; one end of the switch K4 is connected to the power module and the switch K5, and the other end is connected to the charging socket and the charging gun; the switches K5 and K6 are connected to the contact modules respectively;
[0024] The switch K1, switch K2, switch K3, switch K4, switch K5 and switch K6 are all connected to the single chip microcomputer;
[0025] The system also includes a server, which is connected to the communication module.
[0026] In a second aspect, the present invention provides a portable vehicle online detection method, comprising the following steps:
[0027] Step S10: After the charging socket of the test device is connected to the charging pile and the charging gun is connected to the electric vehicle, the charging pile controller disconnects the contact module through the single chip microcomputer;
[0028] Step S20: the charging pile controller charges and discharges the electric vehicle based on the detection instruction input from the display screen or issued by the server, collects the charging and discharging data, and performs insulation withstand voltage detection on the electric vehicle through the insulation withstand voltage tester IMD to generate a first detection result;
[0029] Step S30: The charging pile controller performs voltage accuracy detection, current accuracy detection and charging protocol consistency detection on the charging pile based on the charging and discharging data to generate a second detection result;
[0030] Step S40: The charging pile controller displays the first detection result and the second detection result on a display screen, and uploads the charging and discharging data, the first detection result and the second detection result to a server through a communication module;
[0031] Step S50: The charging pile controller charges and discharges the battery of the power module based on the peak shaving and valley filling strategy.
[0032] Furthermore, in step S20, collecting charging and discharging data specifically includes:
[0033] The voltage value of charging and discharging is collected by the voltmeter V, and the current value of charging and discharging is collected by the ammeter A1 and the ammeter A2.
[0034] Furthermore, the step S30 specifically includes:
[0035] Step S31: The charging pile controller sets a voltage sampling number n, randomly obtains n actually measured first voltage values from the charge and discharge data based on the voltage sampling number n, and obtains the requested second voltage value corresponding to each of the first voltage values, and subtracts the corresponding second voltage value from each of the first voltage values to obtain a number of voltage differences, and selects the largest voltage difference as the voltage accuracy:
[0036] Voltage accuracy = MAX(ΔX1…ΔXn);
[0037] ΔXn=CXn-Xn;
[0038] Wherein, ΔXn represents the voltage difference obtained by subtracting the nth second voltage value from the nth first voltage value; CXn represents the nth first voltage value; and Xn represents the nth second voltage value;
[0039] Step S32, the charging pile controller sets a current sampling number m, screens the data of the portion of the charge and discharge data where the SOC is less than 70%, randomly obtains m actually measured first current values from the screened charge and discharge data based on the current sampling number m, and obtains the requested second current value corresponding to each of the first current values, and subtracts the corresponding second current value from each of the first current values to obtain a number of current differences, and selects the largest current difference as the current accuracy:
[0040] Current accuracy = MAX (ΔY1…ΔYm);
[0041] ΔYm=CYm-Ym;
[0042] Wherein, ΔYm=represents the current difference obtained by subtracting the mth second current value from the mth first current value; CYm represents the mth first current value; Ym represents the mth second current value;
[0043] Step S33: The charging pile controller creates a deviation threshold, performs a charging protocol consistency test on the difference between the charging and discharging data and the requested charging and discharging data based on the deviation threshold, and generates a consistency judgment result;
[0044] Step S34: The charging pile controller generates a second detection result based on the voltage accuracy, current accuracy and consistency judgment result;
[0045] The steps S31, S32 and S33 are performed in no particular order.
[0046] Furthermore, the step S50 specifically includes:
[0047] Step S51, the charging pile controller creates a peak shaving and valley filling strategy, an SOC upper limit and an SOC lower limit;
[0048] The peak-shaving and valley-filling strategy specifically sets a peak power period and a valley power period, during which the battery of the power module is preferentially used to charge the electric vehicle, and during the valley power period, the battery of the power module is supplemented with electricity;
[0049] Step S52: When the charging pile controller receives the charging instruction, it determines whether the current time period is a peak power period or a valley power period. If it is a peak power period, then:
[0050] Determine whether the current power of the battery is greater than the SOC lower limit. If so, based on the peak shaving and valley filling strategy, close switch K1 and switch K2 to charge the electric vehicle through the battery until the power of the battery is less than the SOC lower limit; if not, charge the electric vehicle through the charging pile;
[0051] If it is off-peak period, then:
[0052] Determine whether the current power of the battery is greater than the SOC upper limit. If so, charge the electric vehicle through the charging pile; if not, close the switch K1 and the switch K2 based on the peak-shaving and valley-filling strategy, and charge the electric vehicle and the battery through the charging pile;
[0053] Step S53: When the charging pile controller receives the discharge instruction, it determines whether the current time period is a peak power period or a valley power period. If it is a peak power period, the power of the electric vehicle is transmitted to the power grid through the charging pile; if it is a valley power period, based on the peak-shaving and valley-filling strategy, the switch K1 and the switch K2 are closed to store the power of the electric vehicle in the battery;
[0054] The step S52 and step S53 are performed in no particular order.
[0055] The advantages of the present invention are:
[0056] 1. By setting up a detection module including an insulation withstand voltage tester IMD, a voltmeter V, an ammeter A1 and an ammeter A2, it is possible to collect charging and discharging data of the electric vehicle charging and discharging process, perform insulation withstand voltage detection on the electric vehicle, and detect the voltage accuracy, current accuracy and charging protocol consistency of the charging pile. That is, it integrates multiple detection functions, and can detect electric vehicles and charging piles. There is no need to purchase and operate different detection equipment separately as traditionally. The charging and discharging data and detection results are automatically uploaded to the server, and there is no need to record and summarize them manually as traditionally, thus avoiding human operation and recording errors, and ultimately greatly improving the efficiency and quality of charging detection, and greatly reducing the cost of charging detection.
[0057] 2. By setting up a bidirectional DC converter, switch K1 and switch K2, the charging pile controller is based on the peak shaving and valley filling strategy. The single-chip computer opens and closes switch K1 and switch K2, and then gives priority to using the battery of the power module to charge the electric vehicle during the peak power period, and replenishes the battery of the power module during the valley power period, thereby reducing the electricity bill expenditure and further reducing the cost of charging detection.
[0058] 3. By setting switch K5, switch K6 and jump-start rescue interface, when the battery is out of power, switch K5 and switch K6 can be closed, and the external 12V power supply can be connected through the jump-start rescue interface to supply power to the auxiliary power supply of the electric vehicle, which greatly improves the application scope of the detection device. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.
[0060] Figure 1 The invention discloses a circuit principle block diagram of a portable vehicle online detection device.
[0061] Figure 2 It is a circuit principle block diagram of the single chip microcomputer of the present invention.
[0062] Figure 3 The present invention discloses a circuit diagram of a portable vehicle online detection device.
[0063] Figure 4 It is a circuit diagram of the charging socket of the present invention.
[0064] Figure 5 It is a circuit diagram of the charging gun of the present invention.
[0065] Figure 6 It is a circuit diagram of the power-on rescue interface of the present invention.
[0066] Figure 7 The present invention is a flowchart of a portable vehicle online detection method. DETAILED DESCRIPTION
[0067] The technical solution in the embodiment of the present application has the following overall idea: by setting up a detection module including an insulation withstand voltage tester IMD, a voltmeter V, an ammeter A1 and an ammeter A2, multiple detection functions are integrated, and there is no need to purchase and operate different detection equipment separately as traditionally, and the charging and discharging data and detection results are automatically uploaded to the server through the communication module, and there is no need to record and summarize them manually as traditionally, so as to improve the efficiency and quality of charging detection and reduce the cost of charging detection; through the charging pile controller based on the peak shaving and valley filling strategy, the switch K1 and the switch K2 are opened and closed, and the battery of the power module is used preferentially to charge the electric vehicle during the peak power period, and the battery of the power module is replenished during the valley power period, thereby reducing the expenditure on electricity bills and further reducing the cost of charging detection.
[0068] Please refer to Figures 1 to 7 As shown, a preferred embodiment of a portable vehicle online detection device of the present invention includes a main control module, a detection module, a power module, a communication module, a contact module, a charging socket, a charging gun and a jump-start rescue interface; the main control module is used to control the operation of the detection device; the detection module is used to collect the charging and discharging data of the charging pile and the electric vehicle during the charging and discharging process, and then perform a series of detections on the charging pile and the electric vehicle; the power module is used to power the battery and the auxiliary power supply of the electric vehicle, and receive the electric energy transmitted during the discharge process of the electric vehicle; the communication module is a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, a NB-IOT communication module, a LORA communication module, a WIFI communication module, a Bluetooth communication module or a ZigBee communication module, which is used for communication between the detection device and the server; the contact module is used to switch the connection between the power module and the charging gun; the charging socket is used to connect the charging pile; the charging gun is used to connect the electric vehicle; the jump-start rescue interface is used to connect an external 12V power supply to power the auxiliary power supply of the electric vehicle;
[0069] The main control module is respectively connected to the detection module, power module, communication module, contact module, charging socket and charging gun; one end of the contact module is connected to the power module and the jump-start rescue interface, and the other end is connected to the charging socket, charging gun and detection module.
[0070] The main control module includes a charging pile controller (MTU), a single-chip microcomputer and a display screen; the charging pile controller is used to control the operation of the main control module; the single-chip microcomputer is used to control the operation of the detection module, the power module and the communication module, control the on and off of the contact module, collect the CAN message data of the charging socket and the charging gun, and the signals of CC1 and CC2. In the specific implementation, it is sufficient to select a single-chip microcomputer that can realize this function from the prior art, and it is not limited to any model, such as the STM32F103 series single-chip microcomputer of ST Company, and the control program is well known to those skilled in the art, which can be obtained by those skilled in the art without creative labor; the display screen is used to operate the detection device and display the detection results;
[0071] One end of the charging pile controller is connected to the single-chip microcomputer, and the other end is connected to the display screen; the single-chip microcomputer is respectively connected to the detection module, the power module, the communication module, the contact module, the charging socket and the charging gun.
[0072] The power module includes a bidirectional DC converter (bidirectional DC-DC), a 12V DC converter (12VDC-DC) and a battery; the bidirectional DC converter is used for bidirectional conversion and transmission of electric energy, that is, charging or discharging the battery; the 12V DC converter is used to convert the voltage output by the battery into 12V, thereby supplying power to the auxiliary power supply of the electric vehicle;
[0073] One end of the bidirectional DC converter is connected to the battery, and the other end is connected to the contact module; one end of the 12V DC converter is connected to the battery, and the other end is connected to the contact module;
[0074] The bidirectional DC converter and the 12V DC converter are both connected to the single chip microcomputer, that is, they are controlled by the single chip microcomputer.
[0075] The charging socket comprises a terminal 1, a terminal 2, a terminal 3, a terminal 4, a terminal 5, a terminal 6, a terminal 7, a terminal 8, a terminal 9 and a resistor R1;
[0076] One end of the resistor R1 is connected to the terminal 3, and the other end is connected to the terminal 6; the terminal 1 is connected to the detection module, the terminal 2 is connected to the detection module and the charging gun, the terminal 3 is connected to the detection module and the charging gun, the terminal 4 is connected to the single-chip computer and the charging gun, the terminal 5 is connected to the pin 3 of the single-chip computer and the charging gun, the terminal 7 is connected to the pin 1 of the single-chip computer and the detection module, the terminal 8 is connected to the contact module and the charging gun, and the terminal 9 is connected to the contact module and the charging gun;
[0077] The charging gun includes a wiring pin 1, a wiring pin 2, a wiring pin 3, a wiring pin 4, a wiring pin 5, a wiring pin 6, a wiring pin 7, a wiring pin 8, a wiring pin 9, a resistor R2 and a resistor R3;
[0078] One end of the resistor R2 is connected to the wiring pin 3, and the other end is connected to the wiring pin 6 and the pin 4 of the single-chip microcomputer; one end of the resistor R3 is connected to the wiring pin 3, and the other end is connected to the wiring pin 7; the wiring pin 1 is connected to the detection module, the wiring pin 2 is connected to the detection module and the wiring terminal 2, the wiring pin 3 is connected to the detection module and the wiring terminal 3, the wiring pin 4 is connected to the single-chip microcomputer and the wiring terminal 4, the wiring pin 5 is connected to the pin 3 of the single-chip microcomputer and the wiring terminal 5, the wiring pin 8 is connected to the contact module and the wiring terminal 8, and the wiring pin 9 is connected to the contact module and the wiring terminal 9;
[0079] The jump-start rescue interface includes a wiring contact 1 and a wiring contact 2; the wiring contact 1 and the wiring contact 2 are both connected to the contact module, that is, the wiring contact 1 is connected to the switch K5, and the wiring contact 2 is connected to the switch K6.
[0080] The detection module includes an insulation withstand voltage tester IMD, a voltmeter V, an ammeter A1, an ammeter A2 and a sampling resistor R4; the insulation withstand voltage tester IMD is used to perform insulation withstand voltage detection and transmit the detection data to the single chip microcomputer; the voltmeter V, ammeter A1 and ammeter A2 are used to collect the voltage and current values of DC+ and DC- during the charging and discharging process; the sampling resistor R4 is used to sample the voltage of the wiring terminal 7;
[0081] Pin 1 of the insulation withstand voltage tester IMD is connected to terminal 2, the negative pole of voltmeter V, the contact module and wiring pin 2, pin 2 is connected to terminal 3, resistor R1, resistor R2, resistor R3 and wiring pin 3, and pin 3 is connected to ammeter A1, ammeter A2 and the contact module;
[0082] The positive pole of the voltmeter V is connected to the wiring terminal 1 and the ammeter A1; the ammeter A2 is connected to the wiring pin 1; one end of the sampling resistor R4 is connected to the wiring terminal 7 and the single chip microcomputer;
[0083] The insulation withstand voltage tester IMD, the voltmeter V, the ammeter A1 and the ammeter A2 are all connected to the single chip microcomputer, that is, the detection data are aggregated to the single chip microcomputer.
[0084] The contact module includes a switch K1, a switch K2, a switch K3, a switch K4, a switch K5 and a switch K6; the switch K1 and the switch K2 are used to switch on and off the bidirectional DC converter; the switch K3 and the switch K4 are used to switch on and off the 12V DC converter; the switch K5 and the switch K6 are used to connect an external 12V power supply;
[0085] One end of the switch K1 is connected to the power module, and the other end is connected to the detection module; one end of the switch K2 is connected to the power module, and the other end is connected to the detection module and the charging gun; one end of the switch K3 is connected to the power module and the switch K6, and the other end is connected to the charging socket and the charging gun; one end of the switch K4 is connected to the power module and the switch K5, and the other end is connected to the charging socket and the charging gun; the switches K5 and K6 are connected to the contact modules respectively;
[0086] The switch K1, switch K2, switch K3, switch K4, switch K5 and switch K6 are all connected to the single chip microcomputer and are controlled on and off by the single chip microcomputer;
[0087] It also includes a server, which is connected to the communication module; the mobile terminal can obtain the detection result through the server, or directly send a detection instruction to the detection device.
[0088] A preferred embodiment of a portable vehicle online detection method of the present invention comprises the following steps:
[0089] Step S10: After the charging socket of the test device is connected to the charging pile and the charging gun is connected to the electric vehicle, the charging pile controller disconnects the switches of the contact module through the single chip microcomputer;
[0090] Step S20: The charging pile controller charges and discharges the battery of the electric vehicle or the power module based on the detection instruction input by the display screen or issued by the server, collects the charging and discharging data in real time, and performs insulation withstand voltage detection on the electric vehicle through the insulation withstand voltage tester IMD to generate a first detection result;
[0091] Step S30: The charging pile controller performs voltage accuracy detection, current accuracy detection and charging protocol consistency detection on the charging pile based on the charging and discharging data to generate a second detection result;
[0092] Step S40: The charging pile controller displays the first detection result and the second detection result on a display screen, and uploads the charging and discharging data, the first detection result and the second detection result to a server in real time through a communication module;
[0093] Step S50: The charging pile controller charges and discharges the battery of the power module based on the peak shaving and valley filling strategy, and synchronizes the battery charging and discharging records to the server.
[0094] In step S20, the charging and discharging data collection is specifically:
[0095] The voltage value of charging and discharging is collected by the voltmeter V, and the current value of charging and discharging is collected by the ammeter A1 and the ammeter A2.
[0096] The step S30 specifically includes:
[0097] Step S31: The charging pile controller sets a voltage sampling number n, randomly obtains n actually measured first voltage values from the charge and discharge data based on the voltage sampling number n, and obtains the requested second voltage value corresponding to each of the first voltage values, and subtracts the corresponding second voltage value from each of the first voltage values to obtain a number of voltage differences, and selects the largest voltage difference as the voltage accuracy:
[0098] Voltage accuracy = MAX(ΔX1…ΔXn);
[0099] ΔXn=CXn-Xn;
[0100] Wherein, ΔXn represents the voltage difference obtained by subtracting the nth second voltage value from the nth first voltage value; CXn represents the nth first voltage value; and Xn represents the nth second voltage value;
[0101] Step S32, the charging pile controller sets a current sampling number m, screens the data of the charge and discharge data with SOC less than 70% (the SOC of the battery of the power module or the battery of the electric vehicle), randomly obtains m actually measured first current values from the screened charge and discharge data based on the current sampling number m, and obtains the requested second current value corresponding to each of the first current values, and subtracts the corresponding second current value from each of the first current values to obtain several current differences, and selects the largest current difference as the current accuracy:
[0102] Current accuracy = MAX (ΔY1…ΔYm);
[0103] ΔYm=CYm-Ym;
[0104] Wherein, ΔYm=represents the current difference obtained by subtracting the mth second current value from the mth first current value; CYm represents the mth first current value; Ym represents the mth second current value;
[0105] Step S33: the charging pile controller creates a deviation threshold, performs a charging protocol consistency test on the difference between the charging and discharging data and the requested charging and discharging data based on the deviation threshold, and generates a consistency judgment result; that is, judges whether the difference exceeds the deviation threshold;
[0106] Step S34: The charging pile controller generates a second detection result based on the voltage accuracy, current accuracy and consistency judgment result;
[0107] The steps S31, S32 and S33 are performed in no particular order.
[0108] The step S50 specifically includes:
[0109] Step S51, the charging pile controller creates a peak shaving and valley filling strategy, an SOC upper limit and an SOC lower limit;
[0110] The peak-shaving and valley-filling strategy specifically sets a peak power period and a valley power period, during which the battery of the power module is preferentially used to charge the electric vehicle, and during the valley power period, the battery of the power module is supplemented with electricity;
[0111] Step S52: When the charging pile controller receives the charging instruction, it determines whether the current time period is a peak power period or a valley power period. If it is a peak power period, then:
[0112] Determine whether the current power of the battery is greater than the SOC lower limit. If so, based on the peak shaving and valley filling strategy, close switch K1 and switch K2 to charge the electric vehicle through the battery until the power of the battery is less than the SOC lower limit; if not, charge the electric vehicle through the charging pile;
[0113] If it is off-peak period, then:
[0114] Determine whether the current power of the battery is greater than the SOC upper limit. If so, charge the electric vehicle through the charging pile; if not, close the switch K1 and the switch K2 based on the peak-shaving and valley-filling strategy, and charge the electric vehicle and the battery through the charging pile until the power of the battery is greater than the SOC upper limit;
[0115] Step S53: When the charging pile controller receives the discharge instruction, it determines whether the current time period is a peak power period or a valley power period. If it is a peak power period, the power of the electric vehicle is transmitted to the power grid through the charging pile; if it is a valley power period, based on the peak-shaving and valley-filling strategy, the switch K1 and the switch K2 are closed to store the power of the electric vehicle in the battery until the power of the battery is greater than the SOC upper limit.
[0116] The step S52 and step S53 are performed in no particular order.
[0117] In summary, the advantages of the present invention are:
[0118] 1. By setting up a detection module including an insulation withstand voltage tester IMD, a voltmeter V, an ammeter A1 and an ammeter A2, it is possible to collect charging and discharging data of the electric vehicle charging and discharging process, perform insulation withstand voltage detection on the electric vehicle, and detect the voltage accuracy, current accuracy and charging protocol consistency of the charging pile. That is, it integrates multiple detection functions, and can detect electric vehicles and charging piles. There is no need to purchase and operate different detection equipment separately as traditionally. The charging and discharging data and detection results are automatically uploaded to the server, and there is no need to record and summarize them manually as traditionally, thus avoiding human operation and recording errors, and ultimately greatly improving the efficiency and quality of charging detection, and greatly reducing the cost of charging detection.
[0119] 2. By setting up a bidirectional DC converter, switch K1 and switch K2, the charging pile controller is based on the peak shaving and valley filling strategy. The single-chip computer opens and closes switch K1 and switch K2, and then gives priority to using the battery of the power module to charge the electric vehicle during the peak power period, and replenishes the battery of the power module during the valley power period, thereby reducing the electricity bill expenditure and further reducing the cost of charging detection.
[0120] 3. By setting switch K5, switch K6 and jump-start rescue interface, when the battery is out of power, switch K5 and switch K6 can be closed, and the external 12V power supply can be connected through the jump-start rescue interface to supply power to the auxiliary power supply of the electric vehicle, which greatly improves the application scope of the detection device.
[0121] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.
Claims
1. A portable vehicle online detection method, characterized in that: The method requires the use of a portable vehicle online detection device, including a main control module, a detection module, a power module, a communication module, a contact module, a charging socket, a charging gun and a jump-start rescue interface; The main control module is respectively connected to the detection module, the power module, the communication module, the contact module, the charging socket and the charging gun; one end of the contact module is connected to the power module and the jump-start rescue interface, and the other end is connected to the charging socket, the charging gun and the detection module; The main control module includes a charging pile controller, a single chip microcomputer and a display screen; One end of the charging pile controller is connected to the single-chip microcomputer, and the other end is connected to the display screen; the single-chip microcomputer is respectively connected to the detection module, the power module, the communication module, the contact module, the charging socket and the charging gun; The power module includes a bidirectional DC converter, a 12V DC converter and a battery; One end of the bidirectional DC converter is connected to the battery, and the other end is connected to the contact module; one end of the 12V DC converter is connected to the battery, and the other end is connected to the contact module; The bidirectional DC converter and the 12V DC converter are both connected to the single chip microcomputer; The charging socket includes a terminal 1, a terminal 2, a terminal 3, a terminal 4, a terminal 5, a terminal 6, a terminal 7, a terminal 8, a terminal 9 and a resistor R1; the terminal 1, the terminal 2, the terminal 3, the terminal 4, the terminal 5, the terminal 6, the terminal 7, the terminal 8, the terminal 9 are DC+, DC-, PE, S+, S-, CC1, CC2, A+, A- respectively; One end of the resistor R1 is connected to the terminal 3, and the other end is connected to the terminal 6; the terminal 1 is connected to the detection module, the terminal 2 is connected to the detection module and the charging gun, the terminal 3 is connected to the detection module and the charging gun, the terminal 4 is connected to the single-chip microcomputer and the charging gun, the terminal 5 is connected to the single-chip microcomputer and the charging gun, the terminal 7 is connected to the single-chip microcomputer and the detection module, the terminal 8 is connected to the contact module and the charging gun, and the terminal 9 is connected to the contact module and the charging gun; The charging gun includes a wiring pin 1, a wiring pin 2, a wiring pin 3, a wiring pin 4, a wiring pin 5, a wiring pin 6, a wiring pin 7, a wiring pin 8, a wiring pin 9, a resistor R2 and a resistor R3; the wiring pin 1, the wiring pin 2, the wiring pin 3, the wiring pin 4, the wiring pin 5, the wiring pin 6, the wiring pin 7, the wiring pin 8, and the wiring pin 9 are DC+, DC-, PE, S+, S-, CC1, CC2, A+, and A- respectively; One end of the resistor R2 is connected to the wiring pin 3, and the other end is connected to the wiring pin 6 and the single-chip microcomputer; one end of the resistor R3 is connected to the wiring pin 3, and the other end is connected to the wiring pin 7; the wiring pin 1 is connected to the detection module, the wiring pin 2 is connected to the detection module and the wiring terminal 2, the wiring pin 3 is connected to the detection module and the wiring terminal 3, the wiring pin 4 is connected to the single-chip microcomputer and the wiring terminal 4, the wiring pin 5 is connected to the single-chip microcomputer and the wiring terminal 5, the wiring pin 8 is connected to the contact module and the wiring terminal 8, and the wiring pin 9 is connected to the contact module and the wiring terminal 9; The jump-start rescue interface includes a wiring contact 1 and a wiring contact 2; the wiring contact 1 and the wiring contact 2 are both connected to the contact module; The detection module includes an insulation withstand voltage tester IMD, a voltmeter V, an ammeter A1, an ammeter A2 and a sampling resistor R4; Pin 1 of the insulation withstand voltage tester IMD is connected to terminal 2, the negative pole of voltmeter V, the contact module and wiring pin 2, pin 2 is connected to terminal 3, resistor R1, resistor R2, resistor R3 and wiring pin 3, and pin 3 is connected to ammeter A1, ammeter A2 and the contact module; The positive pole of the voltmeter V is connected to the wiring terminal 1 and the ammeter A1; the ammeter A2 is connected to the wiring pin 1; one end of the sampling resistor R4 is connected to the wiring terminal 7 and the single chip microcomputer; The insulation withstand voltage tester IMD, voltmeter V, ammeter A1 and ammeter A2 are all connected to the single chip microcomputer; The contact module includes a switch K1, a switch K2, a switch K3, a switch K4, a switch K5 and a switch K6; One end of the switch K1 is connected to the bidirectional DC converter of the power module, and the other end is connected to the insulation withstand voltage tester IMD, ammeter A1 and ammeter A2 of the detection module; one end of the switch K2 is connected to the bidirectional DC converter of the power module, and the other end is connected to the insulation withstand voltage tester IMD, voltmeter V and charging gun of the detection module; one end of the switch K3 is connected to the 12V DC converter of the power module and the switch K6, and the other end is connected to the charging socket and the charging gun; one end of the switch K4 is connected to the 12V DC converter of the power module and the switch K5, and the other end is connected to the charging socket and the charging gun; the switches K5 and K6 are respectively connected to pins 1 and 2 of the jump-start rescue interface; The switch K1, switch K2, switch K3, switch K4, switch K5 and switch K6 are all connected to the single chip microcomputer; Also includes a server, the server is connected to the communication module; The method comprises the following steps: Step S10, connecting the charging socket of the portable vehicle online detection device to the charging pile, and after the charging gun is connected to the electric vehicle, the charging pile controller disconnects the contact module through the single chip microcomputer; Step S20: the charging pile controller charges and discharges the electric vehicle based on the detection instruction input from the display screen or issued by the server, collects the charging and discharging data, and performs insulation withstand voltage detection on the electric vehicle through the insulation withstand voltage tester IMD to generate a first detection result; Step S30: The charging pile controller performs voltage accuracy detection, current accuracy detection and charging protocol consistency detection on the charging pile based on the charging and discharging data to generate a second detection result; Step S40: The charging pile controller displays the first detection result and the second detection result on a display screen, and uploads the charging and discharging data, the first detection result and the second detection result to a server through a communication module; Step S50: The charging pile controller charges and discharges the battery of the power module based on the peak shaving and valley filling strategy; In step S20, the charging and discharging data collection is specifically: The voltage value of charging and discharging is collected through the voltmeter V, and the current value of charging and discharging is collected through the ammeter A1 and the ammeter A2; The step S30 specifically includes: Step S31: The charging pile controller sets a voltage sampling number n, randomly obtains n actually measured first voltage values from the charge and discharge data based on the voltage sampling number n, and obtains the requested second voltage value corresponding to each of the first voltage values, and subtracts the corresponding second voltage value from each of the first voltage values to obtain a number of voltage differences, and selects the largest voltage difference as the voltage accuracy: Voltage accuracy = MAX(ΔX1…ΔXn); ΔXn=CXn-Xn; Wherein, ΔXn represents the voltage difference obtained by subtracting the nth second voltage value from the nth first voltage value; CXn represents the nth first voltage value; and Xn represents the nth second voltage value; Step S32, the charging pile controller sets a current sampling number m, screens the data of the portion of the charge and discharge data where the SOC is less than 70%, randomly obtains m actually measured first current values from the screened charge and discharge data based on the current sampling number m, and obtains the requested second current value corresponding to each of the first current values, and subtracts the corresponding second current value from each of the first current values to obtain a number of current differences, and selects the largest current difference as the current accuracy: Current accuracy = MAX (ΔY1…ΔYm); ΔYm=CYm-Ym; Wherein, ΔYm represents the current difference obtained by subtracting the mth second current value from the mth first current value; CYm represents the mth first current value; and Ym represents the mth second current value; Step S33: The charging pile controller creates a deviation threshold, performs a charging protocol consistency test on the difference between the charging and discharging data and the requested charging and discharging data based on the deviation threshold, and generates a consistency judgment result; Step S34: The charging pile controller generates a second detection result based on the voltage accuracy, current accuracy and consistency judgment result; The steps S31, S32 and S33 are performed in no particular order.
2. A portable vehicle online detection method as claimed in claim 1, characterized in that: The step S50 specifically includes: Step S51, the charging pile controller creates a peak shaving and valley filling strategy, an SOC upper limit and an SOC lower limit; The peak-shaving and valley-filling strategy specifically sets a peak power period and a valley power period, during which the battery of the power module is preferentially used to charge the electric vehicle, and during the valley power period, the battery of the power module is supplemented with electricity; Step S52: When the charging pile controller receives the charging instruction, it determines whether the current time period is a peak power period or a valley power period. If it is a peak power period, then: Determine whether the current power of the battery is greater than the SOC lower limit. If so, based on the peak shaving and valley filling strategy, close switch K1 and switch K2 to charge the electric vehicle through the battery until the power of the battery is less than the SOC lower limit; if not, charge the electric vehicle through the charging pile; If it is off-peak period, then: Determine whether the current power of the battery is greater than the SOC upper limit. If so, charge the electric vehicle through the charging pile; if not, close the switch K1 and the switch K2 based on the peak-shaving and valley-filling strategy, and charge the electric vehicle and the battery through the charging pile; Step S53: When the charging pile controller receives the discharge instruction, it determines whether the current time period is a peak power period or a valley power period. If it is a peak power period, the power of the electric vehicle is transmitted to the power grid through the charging pile; if it is a valley power period, based on the peak-shaving and valley-filling strategy, the switch K1 and the switch K2 are closed to store the power of the electric vehicle in the battery; The step S52 and step S53 are performed in no particular order.
