Summary of the invention
The invention provides a kind of charging method for electric automobile and device, can compatible multiple charge protocol realizing on the basis of the asynchronous communication object of charging to reach charger and battery management system BMS, overcoming above-mentioned prior art can not complete the defect of charging by compatible multiple charge protocol between the charger and battery management system BMS of different frequency.
The technical scheme that the present invention solves the problems of the technologies described above is as follows.
According to an aspect of the present invention, a kind of charging method for electric automobile provided, the method comprises:
Obtain battery management system the first communication protocol used and charger second communication agreement used, and obtain frequency that battery management system that the first communication protocol comprises receives and sends messages and the frequency that the charger that second communication protocol package contains is received and sent messages;
The frequency analog battery management system adopting charger to receive and send messages and charger are shaken hands, the frequency analog charger simultaneously adopting battery management system to receive and send messages and battery management system are shaken hands, in the frequency range of receiving and sending messages of charger and battery management system, the default configuration information prestored is sent respectively to charger and battery management system, and when the default configuration information prestored does not belong to real deployment information, obtain the real deployment information of charger and/or battery management system;
After getting real deployment information, reconnect charger and battery management system, carry out charging connection and complete charging.
Preferably, the method also comprises:
In charging stage and charging ending phase, read the form of second communication agreement, after the instruction transformation of the first communications protocol format sent by battery management system becomes the form of second communication agreement, send to charger by second communication agreement; Read the form of the first communication protocol, after the instruction transformation of the second communication protocol format sent by charger becomes the form of the first communication protocol, send to battery management system by the first communication protocol.。
Preferably, the mode of above-mentioned acquisition first communication protocol and second communication agreement comprises:
By the passive acquisition of mode manually inputted or wireless telecommunications input; Or pass through the mode active obtaining of camera collection or protocol identification.
Preferably, obtain battery management system the first communication protocol used and charger second communication agreement used, and obtain frequency that battery management system that the first communication protocol comprises receives and sends messages and the frequency that the charger that second communication protocol package contains is received and sent messages, specifically comprise:
When each charging connects, the real deployment information of the frequency that the battery management system that Real-time Obtaining first communication protocol, the first communication protocol comprise is received and sent messages and battery management system, second communication agreement, the real deployment information of frequency that the charger that contains of second communication protocol package is received and sent messages and charger;
The real deployment information cache of the frequency that the real deployment information of the frequency of being received and sent messages by battery management system, battery management system, charger are received and sent messages and charger.
Preferably, obtain battery management system the first communication protocol used and charger second communication agreement used, and obtain frequency that battery management system that the first communication protocol comprises receives and sends messages and the frequency that the charger that second communication protocol package contains is received and sent messages, specifically comprise:
When initial charge connects, obtain the first communication protocol, the real deployment information of frequency that battery management system that the first communication protocol comprises is received and sent messages and battery management system, the real deployment information fixed storage of the frequency that battery management system is received and sent messages and battery management system;
When charging connects again, the real deployment information of the frequency that the charger that Real-time Obtaining second communication agreement, second communication protocol package contain is received and sent messages and charger, the real deployment information cache of the frequency that charger is received and sent messages and charger.
Preferably, obtain battery management system the first communication protocol used and charger second communication agreement used, and obtain frequency that battery management system that the first communication protocol comprises receives and sends messages and the frequency that the charger that second communication protocol package contains is received and sent messages, specifically comprise:
When initial charge connects, the real deployment information of the frequency that the charger that acquisition second communication agreement, second communication protocol package contain is received and sent messages and charger, the real deployment information fixed storage of the frequency that charger is received and sent messages and charger;
When charging connects again, the real deployment information of the frequency that the battery management system that Real-time Obtaining first communication protocol, the first communication protocol comprise is received and sent messages and battery management system, the real deployment information cache of the frequency that battery management system is received and sent messages and battery management system.
Preferably, when charge between battery management system and charger connection failure time, the method also comprises:
After getting the real deployment information of described battery management system and described charger, reconnect battery management system and charger, successfully carry out charging and connect.
According to a further aspect of the invention, a kind of charging device for electric automobile provided, this device comprises:
Data obtaining module, for obtaining battery management system the first communication protocol used and charger second communication agreement used, and obtain frequency that battery management system that the first communication protocol comprises receives and sends messages and the frequency that the charger that second communication protocol package contains is received and sent messages;
To shake hands analog module, the frequency analog battery management system of receiving and sending messages for adopting charger and charger are shaken hands, the frequency analog charger simultaneously adopting battery management system to receive and send messages and battery management system are shaken hands, in the frequency range of receiving and sending messages of charger and battery management system, the default configuration information prestored is sent respectively to charger and battery management system, and when the default configuration information prestored does not belong to real deployment information, obtain the real deployment information of charger and/or battery management system;
Charging link block, for reconnecting charger and battery management system after getting real deployment information, carrying out charging connection and completing charging.
Preferably, this charging link block also comprises:
Protocol conversion module, for the charging stage and charging ending phase, read the form of second communication agreement, after the instruction transformation of the first communications protocol format sent by battery management system becomes the form of second communication agreement, send to charger by second communication agreement; Read the form of the first communication protocol, after the instruction transformation of the second communication protocol format sent by charger becomes the form of the first communication protocol, send to battery management system by the first communication protocol.
Preferably, charging link block also for when battery management system and charger charge connection failure, after getting the real deployment information of described battery management system and described charger, reconnects battery management system and charger, successfully carries out charging and connect.
The invention provides a kind of charging method for electric automobile and device, by being in one's hands, the hand dummy run phase sends respectively to charger and battery management system the default configuration information prestored with its frequency of receiving and sending messages separately, and then get its real configuration information separately, thus realize the function that both sides successfully carry out asynchronous connection.The present invention does not need to do any substance transformation to existing charger or battery management system, by adding asynchronous communication mechanism in protocol conversion interface, the problem that different agreement handshake phase data transmission frequency difference causes connection failure can be solved, make multi-protocol communication process smooth.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Embodiment one
Fig. 3 is the flow chart of the charging method for electric automobile according to an embodiment of the invention, and describe the charging method for electric automobile according to an embodiment of the invention below in conjunction with Fig. 3, the method comprises:
S100, obtain battery management system the first communication protocol used and charger second communication agreement used, and obtain frequency that battery management system that the first communication protocol comprises receives and sends messages and the frequency that the charger that second communication protocol package contains is received and sent messages;
S200, the frequency analog battery management system adopting charger to receive and send messages and charger are shaken hands, the frequency analog charger simultaneously adopting battery management system to receive and send messages and battery management system are shaken hands, in the frequency range of receiving and sending messages of charger and battery management system, the default configuration information prestored is sent respectively to charger and battery management system, and when the default configuration information prestored does not belong to real deployment information, obtain the real deployment information of charger and/or battery management system; S300, after getting real deployment information, reconnect charger and battery management system, carry out charging connection and complete charging.
In embodiment of the present invention, after getting real deployment information, because real deployment information is stored in the charging device for electric automobile, therefore also need again to send to battery management system and/or charger the real deployment information obtained by charging device, after the real deployment information that battery management system and charger both sides all obtain the other side, just can carry out follow-up charging stage and charging ending phase.
In embodiment of the present invention, as long as when the default configuration information of the side in the charger prestored and battery management system both sides is not real deployment information, just need to obtain real deployment information to it, and after the acquisition, by reconnecting mode, carry out asynchronous communication by the real deployment data be kept in internal memory with it.Wherein, the mode of above-mentioned acquisition first communication protocol and second communication agreement comprises:
By the passive acquisition of mode manually inputted or wireless telecommunications input; Or pass through the mode active obtaining of camera collection or protocol identification.
In above-mentioned steps S300, reconnect charger and battery management system after getting real deployment information, the step having connected charging of carrying out charging also comprises:
In charging stage and charging ending phase, read the form of second communication agreement, after the instruction transformation of the first communications protocol format sent by battery management system becomes the form of second communication agreement, send to charger by second communication agreement; Read the form of the first communication protocol, send to battery management system by the first communication protocol after the instruction transformation of the second communication protocol format sent by charger becomes the form of the first communication protocol, complete the function of charging/power-off.
If control without frequency (sequential), for the communication of battery management system side, then there will be: battery management system sends three-way handshake message to charger, and total duration is 60ms.Now charger not yet arrives transmitting time 200ms, but battery management system exits communication, communication cannot continue, so in the frequency range (sequential scope) of receiving and sending messages of charger and battery management system, send respectively to charger and battery management system the default configuration information prestored, exit to ensure that charging process can not report an error because of wait timeout.
Citing, battery management system agreement Protocol used BMS (PB) communicates with charger agreement Protocol Charger (PC) used, complete after restarting, it is for subsequent use that the protocol conversion controller (consulting Fig. 9,10) for the charging device of electric automobile has changed data format by protocol mapping table.
Timing requirements: handshake phase, PB 20ms sends a secondary data, sends can not receive response for three times and namely report an error and exit; PC 200ms sends a secondary data, sends can not receive response for three times and namely report an error and exit.
Battery management system side communication process is:
Battery management system sends handshake information to protocol conversion controller, protocol conversion controller is read by internal memory restarts the front charger information Message (PC) preserved, send the message Message (PC->PB) that changed to battery management system with 20ms speed once, guarantee to connect not overtime.
PC side communication process is:
PC sends handshake information to protocol converter, protocol converter is read by internal memory restarts the front battery management system information Message (PB) preserved, send the message Message (PB->PC) that changed to charger with 200ms speed once, guarantee to connect not overtime.
The present embodiment sends respectively to charger and battery management system the default configuration information prestored with its frequency of receiving and sending messages separately by the hand dummy run phase of being in one's hands, and then get its real configuration information separately, thus realize the function that both sides successfully carry out asynchronous communication, but the function only reaching asynchronous communication is inadequate, although because do not interrupt to keep connecting by sending default configuration information, and obtain both sides' real information to internal memory, but in the connection incipient stage, in battery management system and charger, real configuration data does not configure in fact, directly enter into ' charging process ' and may exception be occurred, the generation effectively can avoiding this situation is just once reconnected in the stage connected.
Embodiment two
Fig. 4 is the flow chart of the charging method for electric automobile according to another embodiment of the present invention, and as shown in Figure 4, this charging method for electric automobile is on the basis comprising above-mentioned steps S200, S300, and above-mentioned steps S100 is specially:
S111, when each charging connects, the real deployment information of the frequency that the charger that the real deployment information of the frequency that the battery management system that Real-time Obtaining first communication protocol, the first communication protocol comprise is received and sent messages and battery management system, second communication agreement, second communication protocol package contain is received and sent messages and charger.
The real deployment information cache of S112, the frequency that battery management system is received and sent messages, the real deployment information of battery management system, frequency that charger is received and sent messages and charger.Now, the real deployment information of battery management system, the real deployment information of charger are all in the buffer, after needing charging device and charger, battery management system subsequently through electric automobile to shake hands to be connected respectively by the other side's real deployment information transmission in buffer memory to charger and battery management system both sides, realize parameter configuration.
When battery management system and charger charging connection failure, the method also comprises:
After getting the real deployment information of described battery management system and described charger, reconnect battery management system and charger, successfully carry out charging and connect.
Carry out the charger that matches and battery management system for first time, the message transmission frequency difference of both sides can cause has not carried out True Data ' layoutprocedure ' and just sends error code mutually and exit communication.So, before exiting communication, the relevant information of the other side first preserved by this charging device being used for electric automobile, get out corresponding speed and data format, restart connection procedure again, the transmission frequency adopt the parameter of preservation with both sides respectively and data frame format send, and ensure the entering smoothly of communication process.
If without reconnect procedure, both data is not yet ready to, although protocol controller keeps being communicatively connected to ' layoutprocedure ' and obtaining both sides' real deployment information to internal memory via transmission virtual data message, but in battery management system and charger, real configuration information does not configure in fact, and entering into ' charging process ' may be dangerous.So increase reconnect procedure be more conducive to the safety of charging process with smooth in scheme.
The present embodiment is applicable to the situation using different chargers to charge to different electric automobiles.
Embodiment three
Fig. 5 is the flow chart of the charging method for electric automobile according to still another embodiment of the invention, and as shown in Figure 5, this charging method for electric automobile is on the basis comprising above-mentioned steps S200, S300, and above-mentioned steps S100 is specially:
When S121, initial charge connect, obtain the first communication protocol, the real deployment information of frequency that battery management system that the first communication protocol comprises is received and sent messages and battery management system, the real deployment information fixed storage of the frequency that battery management system is received and sent messages and battery management system;
When S122, again charging connection, the real deployment information of the frequency that the charger that Real-time Obtaining second communication agreement, second communication protocol package contain is received and sent messages and charger, the real deployment information cache of the frequency that charger is received and sent messages and charger.The real deployment information of the Real-time Obtaining charger default configuration information (i.e. the real deployment information of battery management system) that can be prestored by charging device herein, after shaking hands with charger, obtains the real deployment information of charger.Then in follow-up flow process, then the real deployment information of the charger got is sent to battery management system, realize parameter configuration.
The present embodiment is applicable to the situation that different chargers charges to a certain electric electrical automobile.
Embodiment four
Fig. 6 is the flow chart of the charging method for electric automobile according to one more embodiment of the present invention, and as shown in Figure 6, this charging method for electric automobile is on the basis comprising above-mentioned steps S200, S300, and above-mentioned steps S100 is specially:
When S131, initial charge connect, the real deployment information of the frequency that the charger that acquisition second communication agreement, second communication protocol package contain is received and sent messages and charger, the real deployment information fixed storage of the frequency that charger is received and sent messages and charger;
When S132, again charging connection, the real deployment information of the frequency that the battery management system that Real-time Obtaining first communication protocol, the first communication protocol comprise is received and sent messages and battery management system, the real deployment information cache of the frequency that battery management system is received and sent messages and battery management system.The real deployment information of the Real-time Obtaining battery management system default configuration information (i.e. the real deployment information of charger) that can be prestored by charging device herein, after shaking hands with battery management system, obtain the real deployment information of battery management system.Then in follow-up flow process, then the real deployment information of the battery management system got is sent to charger, realize parameter configuration.
The present embodiment is applicable to the situation that same charger charges to different electric automobile.
Embodiment five
Fig. 7 is the exemplary block diagram of the charging device for electric automobile according to one embodiment of the invention, the charging device 100 for electric automobile as shown in Figure 7, and this device comprises:
Data obtaining module 01, for obtaining battery management system the first communication protocol used and charger second communication agreement used, and obtain frequency that battery management system that the first communication protocol comprises receives and sends messages and the frequency that the charger that second communication protocol package contains is received and sent messages;
To shake hands analog module 02, the frequency analog battery management system of receiving and sending messages for adopting charger and charger are shaken hands, the frequency analog charger simultaneously adopting battery management system to receive and send messages and battery management system are shaken hands, in the frequency range of receiving and sending messages of charger and battery management system, the default configuration information prestored is sent respectively to charger and battery management system, and when the default configuration information prestored does not belong to real deployment information, obtain the real deployment information of charger and/or battery management system;
Charging link block 03, for reconnecting charger and battery management system after getting real deployment information, carrying out charging connection and completing charging.
Wherein, this charging link block 03 also comprises:
Protocol conversion module, for the charging stage and charging ending phase, read the form of second communication agreement, after the instruction transformation of the first communications protocol format sent by battery management system becomes the form of second communication agreement, send to charger by second communication agreement; Read the form of the first communication protocol, after the instruction transformation of the second communication protocol format sent by charger becomes the form of the first communication protocol, send to battery management system by the first communication protocol.
This charging link block also for when battery management system and charger charge connection failure, after getting the real deployment information of described battery management system and described charger, reconnects battery management system and charger, successfully carries out charging and connect.
The analog module of shaking hands of the present embodiment sends respectively to charger and battery management system the default configuration information prestored with its frequency of receiving and sending messages separately by the hand dummy run phase of being in one's hands, get the real configuration information of charger and battery management system, thus realize the asynchronous communication function of both sides; In the connection incipient stage, charger and battery management system are reconnected by charging link block again, make, when charging connection, even if the real configuration data of both sides does not configure in fact, directly to enter into ' charging process ' and also there will not be exception.
Fig. 9 is the exemplary block diagram of the charging device for electric motor car according to another embodiment of the present invention, its connection diagram as shown in Figure 8, below in conjunction with Fig. 8 and Fig. 9, the charging device for electric automobile is according to another embodiment of the present invention described, in the specific embodiment of the invention, this charging device being used for electric motor car is a charging crossover sub 2.As shown in Figure 9, this charging crossover sub 2 comprises: agreement getter 4, protocol conversion controller 5, charger communication interface CAN16-2, BMS communication interface CAN26-1, charger connect confirmation gate-controlled switch 7-2, BMS and connect confirmation gate-controlled switch 7-1.
In embodiment of the present invention, agreement getter 4, comprises above-mentioned data obtaining module 01, and as shown in Figure 10, this agreement getter 4 can be touch-screen 4-1, also can be camera.
When agreement getter is touch-screen 4-1, as shown in Figure 10, the communication protocol of user's input is received by touch-screen 4-1, this touch-screen 4-1 is connected to protocol conversion controller 5 by RS485, touch screen interactive interface provides various battery management system communications protocol kind, charging electric vehicle user selects oneself the first communication protocol used and second communication agreement by touch screen.
Protocol conversion controller 5, comprising above-mentioned analog module 02 of shaking hands and to charge link block, for controlling the conversion of charge information between the first communication protocol and second communication agreement, battery management system and charger being charged upon establishment of a connection; Charging link block is also for when battery management system and charger connection failure, and control gate-controlled switch is restarted, and reconnects battery management system and charger.
Charger connects confirmation gate-controlled switch 7-2 with BMS and is connected confirmation gate-controlled switch 7-1, be respectively used to by the control Auto-reconnect charger 1 of protocol conversion controller 5 and battery management system 3, play and can restart the effect of charger and BMS connection procedure without the need to manual connection line again.
Communication interface (charger communication interface CAN16-2 and BMS communication interface CAN26-1), comprising above-mentioned charging link block 03, for providing the connectivity port of holding wire, realizing the transmission of communication data.
As shown in Figure 9 and Figure 10, this communication interface comprises CAN2 for carrying out the BMS communication interface 6-1 of communication with battery management system, and the agreement that this interface is followed is battery management system charge protocol used, i.e. the first communications protocol; Also comprise CAN1 for carrying out the charger communication interface 6-2 of communication with charger, the agreement that this interface is followed is the existing charge protocol of charger, i.e. the second communications protocol, is also traditional sense " internal agreement ".
Wherein, protocol conversion controller 5 specifically for:
The frequency storing the battery management system frequency of receiving and sending messages and battery management system configuration information that are sent by the first communication protocol and received and sent messages by the charger that second communication agreement sends and battery management system configuration information, after gate-controlled switch is restarted, read the form of the form of frequency that battery management system receives and sends messages and the frequency that charger is received and sent messages, according to the form of recipient's parameter used, the instruction received is sent to recipient.
Above-mentioned agreement getter 4 specifically for:
By manually input or wireless telecommunications input mode passive acquisition first communication protocol and second communication agreement; Or pass through mode active obtaining first communication protocol and the second communication agreement of camera collection or protocol identification.Its specific implementation such as receives the information of outside input by modes such as camera collection signal, artificial input, wireless telecommunications inputs, and send this information generation protocol character signal to protocol conversion controller 5, for determining which kind of agreement communication two party respectively takes.
Mc9s12 platform selected by above-mentioned protocol conversion controller 5, and this protocol conversion controller 5 comprises internal memory, for the information such as storage protocol, parameter.Based on the present invention, the charger realizing performing different charge protocol completes by following steps with the process that can communicate smoothly between battery management system:
1), at the beginning of charging, this charging crossover sub for electric automobile is installed to charger by the mode with reference to Fig. 8, realizes the physical isolation of charger communicating circuit and battery management system communicating circuit.The access of this charging crossover sub, the part making charger and electric automobile become relatively independent, improves the flexibility that this two parts function of charging process realizes separately.
2) protocol version of charging pusher side and battery management system side is determined by agreement getter, for both sides link up ready.
3) when the charging connector of charger to be connected to the charging inlet of electric automobile by this charging crossover sub, protocol conversion controller 5 has judged whether electrical connection, if be successfully completed electrical connection, protocol conversion controls 5 one aspects and starts to simulate BMS with charger is shaken hands, and it is for subsequent use that the relevant parameter of reading charger puts into sheet internal memory; On the other hand, protocol conversion controller completes communication according to BMS side agreement with it, and reading the relevant parameter of BMS, to put into sheet internal memory for subsequent use.
4) step 3) terminate after, protocol conversion controller 5 completes the state initialization to charger and BMS both sides, restart signal wiring process by the built-in gate-controlled switch braking of protocol conversion interface, complete shaking hands and Parameter Configuration process of charger and BMS according to the charger preserved in internal memory and the BMS information message transmission frequency different according to both sides.At Parameter Configuration process, charger sends the message of the maximum fan-out capability of charger to battery management system, as: charger maximum output voltage, output current etc., BMS judges whether to charge according to the maximum fan-out capability of charger.
After parameter configuration completes, protocol conversion controller completes the protocol conversion of charger and battery management system both sides in real time according to the agreement mapping relations of both sides, completes the work of charging and charging ending phase.
Compared with the prior art, advantage of the present invention is the charging crossover sub for electric automobile that the present embodiment provides:
1) charging crossover sub has been made the device being totally independent of battery management system and charger, be convenient to carry with car, do not need to do to battery management system and charger the charging operations that any repacking can complete compatible many charge protocol.
2) on the basis of version of an agreement translation, achieve the asynchronous communication of different transmission frequency message between different agreement, avoid the miscommunication that between different agreement, message transmission frequency difference causes.
For being used in the situation of same vehicle carrying out multi-protocols charging, the essential information of Vehicular battery management system can be preserved, above-mentioned steps 1 need not be repeated at every turn) ~ 3), can plug and play be realized.
Wherein, internal memory in this protocol conversion controller 5 comprises buffer area and fixed storage region, buffer area both can be divided into battery management system parameter buffer area and charger parameter buffer area, also can separately for battery management system parameter buffer memory and charger parameter buffer memory; Fixed storage region then or be battery management system parameter permanent storage area, or is charger parameter permanent storage area.Wherein:
Battery management system parameter buffer area, the frequency that first communication protocol used for interim storage battery management system and the battery management system by the transmission of this first communication protocol are received and sent messages and battery management system configuration parameter;
Charger parameter buffer area, for the charger frequency of receiving and sending messages that stores charger second communication agreement used and sent by this second communication agreement and charger configuration parameter temporarily;
Battery management system parameter permanent storage area, the frequency that first communication protocol used for permanent storage battery management system and the battery management system by the transmission of this first communication protocol are received and sent messages and battery management system configuration parameter;
Charger parameter permanent storage area, the frequency that the second communication agreement used for permanent storage charger and the charger by the transmission of this second communication agreement are received and sent messages and charger configuration parameter.
Based on this, the internal memory in switching controller 5 can have three kinds of compound modes for use:
The first, be only divided into battery management system parameter buffer area and charger parameter buffer area for use;
The second, be only divided into battery management system parameter permanent storage area and charger parameter buffer area for use
The third, be only divided into battery management system parameter buffer area and charger parameter permanent storage area.
The operating procedure corresponding with this first compound mode is as follows:
Step one
The agreement getter of charging translation interface head selects charger agreement and battery management system agreement, and by charging crossover sub, charger is connected with electric automobile.
Step 2
After connecting charging connector, protocol conversion controller carries out being connected with charger and battery management system respectively confirm according to the charge protocol selected.By shaking hands with charger and battery management system respectively independently, obtain the configuration information of charger and battery management system.In the process, protocol conversion controller sends to the configuration information of charger and battery management system to be the default configuration information prestored in protocol conversion controller, as: the peak power output, electric current etc. of charger, its object is to keep the connection status with both sides not interrupt.
Step 3
Get the configuration information of charger and battery management system and after being saved in internal memory, the connection controlled in translation interface of protocol conversion controller confirms that circuit disconnects and recloses and closes, and restarts the connection procedure of charger and battery management system.In this process, protocol conversion controller carries out asynchronous communication by being kept at real deployment information in internal memory and charger and battery management system both sides, avoid the connection failure caused because information transmission frequency is inconsistent, successfully set up the connection of charger under different agreement and battery management system.
Step 4
The charging control information that battery management system sends out by protocol conversion controller converts second communication agreement (internal agreement) to and sends to charger, controls charger and completes charge function.
Step 5
Battery management system sends charging halt instruction to protocol conversion controller, and protocol conversion controller adopts second communication agreement (internal agreement) to notify charger stopping charging.Charger stops charging, and this time charging process terminates.
The operating procedure corresponding with this second compound mode is as follows:
Step one:
In upper selection second communications protocol of the agreement getter (touch-screen) of charging translation interface, and by this charging translation interface, charger is connected with electric automobile.Because this embodiment is applied to the long-term situation to same charging electric vehicle, battery management system information is kept in charging translation interface for a long time, does not need to select again.
Step 2:
After connecting charging inlet, protocol conversion controller carries out being connected with charger and battery management system according to the charge protocol selected and confirms.By shaking hands with charger and battery management system respectively independently, obtain the configuration information of charger and battery management system.The configuration information of now protocol conversion interface transmission is the charger configuration information of Real-time Obtaining and is pre-stored in real battery management system configuration information in protocol conversion controller.Protocol conversion controller, by carrying out asynchronous communication with charger and battery management system both sides, avoids the connection failure caused because information transmission frequency is inconsistent, successfully sets up the connection of charger under different agreement and battery management system.
Step 3:
The charging control information that battery management system sends out by protocol conversion controller converts second communication agreement (internal agreement) to and sends to charger, controls charger and completes charge function.
Step 4:
Battery management system sends charging halt instruction to protocol conversion controller, and protocol conversion controller adopts second communication agreement (internal agreement) to notify charger stopping charging.Charger stops charging, and this time charging process terminates.
The operating procedure corresponding with this third compound mode is as follows:
Step one
The agreement getter of charging translation interface selects the first communications protocol, and by charging translation interface, charger is connected with electric automobile.Because this embodiment is applied to the situation of charging to different electric automobile to same charger for a long time, charger information is kept in charging translation interface for a long time, does not need to select again.
Step 2:
After connecting charging inlet, protocol conversion controller carries out being connected with charger and battery management system according to the charge protocol selected and confirms.By shaking hands with charger and battery management system respectively independently, obtain the configuration information of charger and battery management system.The configuration information of now protocol conversion interface transmission is the battery management system configuration information of Real-time Obtaining and is pre-stored in real charger configuration information in protocol conversion controller.Protocol conversion controller, by carrying out asynchronous communication with charger and battery management system both sides, avoids the connection failure caused because information transmission frequency is inconsistent, successfully sets up the connection of battery management system under different agreement and charger.
Step 3:
The charging control information that battery management system sends out by protocol conversion controller converts second communication agreement (internal agreement) to and sends to charger, controls charger and completes charge function.
Step 4:
Battery management system sends charging halt instruction to protocol conversion controller, and protocol conversion controller adopts second communication agreement (internal agreement) to notify charger stopping charging.Charger stops charging, and this time charging process terminates.
By a kind of charging method for electric automobile provided by the invention and device, the connection gate-controlled switch that can be controlled by protocol conversion controller, by performing cut-offfing of gate-controlled switch, realize reconnecting of charger and battery management system, thus realize the function of carrying out successfully asynchronous connection based on the two-sided information stored in internal memory, the present invention does not need to do any substance transformation to existing charger or battery management system, by adding asynchronous communication mechanism in protocol conversion interface, the problem that different agreement handshake phase data transmission frequency difference causes connection failure can be solved, make multi-protocol communication process smooth.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.