Summary of the invention
The invention aims to provide a kind of low cost, low-power consumption realize charging pile communication function and complete data interaction, charging pile system and micropower data communication thereof that remote information is uploaded are machine-processed.
The present invention is achieved through the following technical solutions: a kind of charging pile system, including public network, remote communication module, charging pile substation, some wireless micro-power modules and some charging pile terminals, described charging pile substation and charging pile terminal are both provided with wireless micro-power module, the wireless micro-power module of described charging pile substation is also respectively connected with the wireless micro-power module of all charging pile terminals, described charging pile substation is additionally provided with remote communication module, is used for connecting public network;Described charging pile substation includes human-machine interface module, charging output interface, protection module, kernel control module, monitoring indicating module, main loop of power circuit module, power input interface, wireless micro-power module, remote communication module;Described kernel control module is connected with protection module, monitoring indicating module, main loop of power circuit module respectively, remote communication module, human-machine interface module and the connection of wireless micro-power module; described main loop of power circuit module is also connected with protection module and monitoring indicating module, and described main loop of power circuit module is also respectively connected with power input interface and charging output interface;Described remote communication module, human-machine interface module and wireless micro-power module are also connected with charging output interface, and described kernel control module is also connected with charging output interface;Described charging pile terminal includes human-machine interface module, charging output interface, protection module, kernel control module, monitoring indicating module, main loop of power circuit module, power input interface, wireless micro-power module;Described kernel control module is connected with protection module, monitoring indicating module, main loop of power circuit module respectively, human-machine interface module and the connection of wireless micro-power module; described main loop of power circuit module is also connected with protection module and monitoring indicating module, and described main loop of power circuit module is also respectively connected with power input interface and charging output interface;Described human-machine interface module and wireless micro-power module are also connected with charging output interface, and described kernel control module is also connected with charging output interface;Described wireless micro-power module is 433M wireless RF radio-frequency module, is used for realizing information interactive function.
A kind of micropower data communication mechanism of charging pile system, the wireless micro-power module of charging pile substation is address, substation, the wireless micro-power module's address of charging pile terminal is terminal address, configuring some terminal address in charging pile substation is effective address, in charging pile terminal, configuration address, substation is address, effective substation, and communication process step is as follows:
A) charging pile substation and charging pile terminal power on, identify the configuration information of charging pile, then charge up stake station and send inquiry effective address packet to charging pile terminal, the packet that the charging pile substation whether charging pile terminal check is corresponding sends, if not the packet then packet loss that corresponding charging pile substation sends processes, if the packet that corresponding charging pile substation sends then waits that charging pile substation sends connection message of shaking hands;
B) charging pile substation sends, to charging pile terminal, connection message of shaking hands, if charging pile terminal does not receive connection message of shaking hands, charging pile terminal is marked as and extremely links terminal, if charging pile terminal receives the connection message of shaking hands that charging pile substation sends, then whether verification terminal address is the machine address, if not the packet of the machine address then packet loss processes, if the packet of the machine address then sends returned packet of shaking hands to corresponding charging pile substation, charging pile substation is just successfully established to shake hands with charging pile terminal and is connected, and the handshake terminals address being successfully established is recorded as registered address;
C) charging pile substation in registered address charging pile terminal send pair time message, when starting after message when charging pile terminal receives pair pair, if pair time failure; failed charging pile terminal address during deletion pair registered address in, and recording events generates SOE, if pair time success; when sending pair, confirmation message is to charging pile substation, when then thinking after confirmation message when charging pile substation receives pair pair successfully;
Pair D) time, success then sets up data communication mode between charging pile substation and charging pile terminal, enters normal linking status;Charging pile substation sends the packet of inquiry terminal, and pattern is intercepted in entrance;Charging pile terminal checks terminal address after receiving the packet inquiring about terminal, if the packet of non-native terminal address then does packet loss and processes, if the packet of local terminal address then sends native data bag to charging pile substation;
E) charging pile substation enters pattern of intercepting and then receives the incident data bag of charging pile terminal in registered address and receive the terminal aborts respond packet of interior charging pile terminal of effective address;After receiving incident data bag, the record accident of charging pile substation generates SOE and sends accident reception confirmation message;After receiving terminal aborts respond packet, this terminal address is write in the table of registered address by charging pile substation, and sends accreditation verification packet;If other packets received in non-effective address, then do packet loss and process.
In described step D, the pattern of intercepting of charging pile substation is charging pile substation according to communication pattern with 1min for the cycle, performs each charging pile terminal successively;In described step B, charging pile substation will send the connection message this address is set to registered address of shaking hands of next address after receiving the returned packet of shaking hands that charging pile terminal sends;Charging pile substation receives the registration request that the charging pile terminal in effective address sends in intercepting pattern, it will adding this charging pile terminal is registered address, inquires about at next cycle and starts poll this address in packet;If charging pile terminal does not receive charging pile substation and sends the packet of inquiry terminal in described step D, just for the abnormal terminal that links, described abnormal link terminal will actively launch log-on data.
The present invention configures wireless micro-power module on charging pile, without configuring remote communication module, as charging pile terminal, and choose a charging pile configuration wireless micro-power module and remote communication module in the comunication area as charging pile substation, wireless micro-power module is adopted to carry out communication, reduce communication cost, and wireless micro-power signal cover is wide, can according to the Mass adjust-ment transmitting power of communication signal, strong adaptability and signal stabilization are high, completing the communication function of all charging piles in region, complete data interaction, remote information is uploaded.
The invention have benefit that: 1) realize the communication function of all charging piles in wireless micro-power signal cover;2) without adopting independent GPRS or independent ethernet communication, low cost, low-power consumption, and without cable designs;3) only need to installing remote communication module and wireless micro-power module as charging pile substation at a charging pile, other charging pile only need to install wireless micro-power module, reduces cost and power consumption.
Detailed description of the invention
Below in conjunction with accompanying drawing and detailed description of the invention, the invention will be further described.
See Fig. 1 to Fig. 3, a kind of charging pile system, including public network, remote communication module, charging pile substation, some wireless micro-power modules and some charging pile terminals, described charging pile substation and charging pile terminal are both provided with wireless micro-power module, the wireless micro-power module of described charging pile substation is also respectively connected with the wireless micro-power module of all charging pile terminals, described charging pile substation is additionally provided with remote communication module, is used for connecting public network;Described charging pile substation includes human-machine interface module, charging output interface, protection module, kernel control module, monitoring indicating module, main loop of power circuit module, power input interface, wireless micro-power module, remote communication module;Described kernel control module is connected with protection module, monitoring indicating module, main loop of power circuit module respectively, remote communication module, human-machine interface module and the connection of wireless micro-power module; described main loop of power circuit module is also connected with protection module and monitoring indicating module, and described main loop of power circuit module is also respectively connected with power input interface and charging output interface;Described remote communication module, human-machine interface module and wireless micro-power module are also connected with charging output interface, and described kernel control module is also connected with charging output interface;Described charging pile terminal includes human-machine interface module, charging output interface, protection module, kernel control module, monitoring indicating module, main loop of power circuit module, power input interface, wireless micro-power module;Described kernel control module is connected with protection module, monitoring indicating module, main loop of power circuit module respectively, human-machine interface module and the connection of wireless micro-power module; described main loop of power circuit module is also connected with protection module and monitoring indicating module, and described main loop of power circuit module is also respectively connected with power input interface and charging output interface;Described human-machine interface module and wireless micro-power module are also connected with charging output interface, and described kernel control module is also connected with charging output interface;Described wireless micro-power module is 433M wireless RF radio-frequency module, is used for realizing information interactive function.
A kind of micropower data communication mechanism of charging pile system, the wireless micro-power module of charging pile substation is address, substation, the wireless micro-power module's address of charging pile terminal is terminal address, configuring some terminal address in charging pile substation is effective address, in charging pile terminal, configuration address, substation is address, effective substation, and communication process step is as follows:
A) charging pile substation and charging pile terminal power on, identify the configuration information of charging pile, then charge up stake station and send inquiry effective address packet to charging pile terminal, the packet that the charging pile substation whether charging pile terminal check is corresponding sends, if not the packet then packet loss that corresponding charging pile substation sends processes, if the packet that corresponding charging pile substation sends then waits that charging pile substation sends connection message of shaking hands;
B) charging pile substation sends, to charging pile terminal, connection message of shaking hands, if charging pile terminal does not receive connection message of shaking hands, charging pile terminal is marked as and extremely links terminal, if charging pile terminal receives the connection message of shaking hands that charging pile substation sends, then whether verification terminal address is the machine address, if not the packet of the machine address then packet loss processes, if the packet of the machine address then sends returned packet of shaking hands to corresponding charging pile substation, charging pile substation is just successfully established to shake hands with charging pile terminal and is connected, and the handshake terminals address being successfully established is recorded as registered address;
C) charging pile substation in registered address charging pile terminal send pair time message, when starting after message when charging pile terminal receives pair pair, if pair time failure; failed charging pile terminal address during deletion pair registered address in, and recording events generates SOE, if pair time success; when sending pair, confirmation message is to charging pile substation, when then thinking after confirmation message when charging pile substation receives pair pair successfully;
Pair D) time, success then sets up data communication mode between charging pile substation and charging pile terminal, enters normal linking status;Charging pile substation sends the packet of inquiry terminal, and pattern is intercepted in entrance;Charging pile terminal checks terminal address after receiving the packet inquiring about terminal, if the packet of non-native terminal address then does packet loss and processes, if the packet of local terminal address then sends native data bag to charging pile substation;
E) charging pile substation enters pattern of intercepting and then receives the incident data bag of charging pile terminal in registered address and receive the terminal aborts respond packet of interior charging pile terminal of effective address;After receiving incident data bag, the record accident of charging pile substation generates SOE and sends accident reception confirmation message;After receiving terminal aborts respond packet, this terminal address is write in the table of registered address by charging pile substation, and sends accreditation verification packet;If other packets received in non-effective address, then do packet loss and process.
In described step D, the pattern of intercepting of charging pile substation is charging pile substation according to communication pattern with 1min for the cycle, performs each charging pile terminal successively;In described step B, charging pile substation will send the connection message this address is set to registered address of shaking hands of next address after receiving the returned packet of shaking hands that charging pile terminal sends;Charging pile substation receives the registration request that the charging pile terminal in effective address sends in intercepting pattern, it will adding this charging pile terminal is registered address, inquires about at next cycle and starts poll this address in packet;If charging pile terminal does not receive charging pile substation and sends the packet of inquiry terminal in described step D, just for the abnormal terminal that links, described abnormal link terminal will actively launch log-on data.
In present embodiment, described power input interface is the input of power supply, is mainly made up of binding post and bronze medal;Described main loop of power circuit module is the main loop of power circuit that charges, and is mainly made up of catalyst, fuse for alternating-current charging pile, and for direct-current charging post, is mainly made up of AC/DC transducer, catalyst, fuse;Described protection module realizes major loop protection, is mainly made up of lightning protection device and earth leakage protective device;The functions such as described kernel control module realizes the data management of charging pile, BMS communication, metering, are responsible for processing the information of packing comunication area charging pile, and main body is circuit board;Described monitoring indicating module realizes the current/voltage detection of charging pile charge circuit, mainly has transformer to constitute;Described human-machine interface module provides man-machine interface, shows charge information, is mainly made up of liquid crystal panel and keyboard, card reader etc.;Described wireless micro-power module realizes with communication interval in the information interactive process of charging pile substation class charging pile, is mainly made up of RF radio-frequency communication module, for instance the CC1101 chip of T1;Described remote communication module realizes uploading of all charging pile information in communication interval, mainly has 3G/4G module or ethernet communication parts to constitute.
In present embodiment, first arranging a charging pile is charging pile substation, its wireless micro-power module's address is address, substation, and all the other charging piles are charging pile terminal, its wireless micro-power module's address is terminal address, configuring 9 terminal address in charging pile substation is effective address, and configuring address, substation in charging pile terminal is address, effective substation.
In present embodiment, after charging pile substation powers on, sending inquiry effective address packet, then terminal each with in effective address is set up to shake hands and is connected;After connection establishment of shaking hands, handshake terminals address is recorded as registered address, message when then issuing pair the terminal in registered address is unified, then carry out data communication with the charging pile terminal in registered address;Charging pile substation, after data communication, enters and intercepts state, with 1min for the cycle in data communication process, performs sequence 1 to sequence 19 successively;Inquire about that one group of effective address limit is consuming time is: send 50*3 consuming time three times, once wait consuming time 500, once accept consuming time 150, amount to 800ms;The maximum 7.2S consuming time of sequence 1 to sequence 18;Within all the other 52.8 seconds, it is used for interception data;In the interception data stage, packet is interrupted in the registration of the charging pile in the burst message of the charging pile terminal in reception registered address, charging pile substation and effective address.
In present embodiment, after charging pile terminal powers on, waiting that charging pile substation sends inquiry registered address bag and handshake communication bag, the successful terminal of handshake communication is for normally linking terminal;After charging pile terminal receives inquiry registered address bag, whether the address, substation that verification receives is consistent with the address, substation of setting, and inconsistent then packet loss processes, and address is consistent, then be ready for handshake communication;The terminal not receiving inquiry registered address bag after powering on links terminal for abnormal;After receiving the handshake data bag that charging pile substation sends, whether verification terminal address is the machine address;It not the data packetloss process of the machine address, be that the machine address then sends reply message of shaking hands, and record terminal coding.
In present embodiment, the communication of charging pile substation is, after charging pile powers on, identifies this configuration information, confirms that the machine is charging pile substation.Then inquiry effective address packet is sent.
Inquiry effective address packet content, amounts to 9 bytes, including:
Sequence number |
Data content |
Data form |
1 |
Data packet head |
2 bytes |
2 |
Address, substation |
4 bytes |
3 |
Traffic category |
2 bytes (inquiry registered address) |
4 |
CRC check code |
1 byte |
Send 50ms consuming time, interval 5S to continuously transmit three times, then send connection message of shaking hands.
Connection message of shaking hands includes packet content, amounts to 15 bytes, including:
Sequence number |
Data content |
Data form |
1 |
Data packet head |
2 bytes |
2 |
Address, substation |
4 bytes |
3 |
Terminal address |
4 bytes |
4 |
Terminal encodes |
2 bytes (the storage sequence number of effective address) |
5 |
Traffic category |
1 byte |
6 |
CRC check code |
1 byte |
After charging pile substation receives the charging pile terminal returned packet of counterpart terminal address, then with send the handshake message of next address and this address be set to registered address.In 5S, do not receive return handshake message, then retransmit message, send 3 times at most.Do not shake hands yet after repeating transmission successfully, then send the handshake data bag of next address.Shake hands message when issuing afterwards pair.
Pair time message include packet content, amount to 20 bytes, including:
Sequence number |
Data content |
Data form |
1 |
Data packet head |
2 bytes |
2 |
Address, substation |
4 bytes |
3 |
Time |
11 bytes (XX-X-XX-XX-XX-XX, year, month, day, hour, min, second) |
4 |
Traffic category |
2 bytes (handshake communication) |
5 |
CRC check code |
1 byte |
Charging pile substation receives a charging pile terminal and returns during school after success, and beginning data communication process sends the packet of inquiry terminal.If terminal failed when having pair or not pair time terminal, then retransmit after 10S;3 times still pair time failed terminal, then in the table of registered address, delete this charging pile address and recording events, generate SOE.
The packet of the terminal data of inquiry, amounts to 13 bytes, including:
Sequence number |
Data content |
Data form |
1 |
Data packet head |
2 bytes |
2 |
Address, substation |
4 bytes |
3 |
Terminal address |
4 bytes |
4 |
Traffic category |
2 bytes (polling data) |
5 |
CRC check code |
1 byte |
In the interception data time period, receive the incident data bag in registered address;Accept the terminal aborts respond packet of effective address.
After receiving the incident data bag in registered address, record accident generates SOE, and sends accident reception confirmation message, amounts to 13 bytes, including:
Sequence number |
Data content |
Data form |
1 |
Data packet head |
2 bytes |
2 |
Address, substation |
4 bytes |
3 |
Terminal address |
4 bytes |
4 |
Traffic category |
2 bytes (burst message receives and confirms) |
5 |
CRC check code |
1 byte |
After receiving the terminal aborts respond packet of effective address, this terminal address is write in the table of registered address, and sends accreditation verification packet, totally 24 bytes:
After personal data bag is removed in transmission registration, wait confirmation message during the transmission pair of this terminal address.If terminal failed when having pair or not pair time terminal, then retransmit after 10S.3 times still pair time failed terminal, then in the table of registered address, delete this charging pile address and recording events, generate SOE;In the data communication in continuous 3 cycles, the terminal in registered address does not return packet, deletes in registered address by this address;If the registration request that the charging pile terminal in effective address accepted in the interception data time period sends, it will adding this charging pile terminal address is registered address, in next cyclic polling packet, start poll this address;Other packets in non-effective address, packet loss processes.
In present embodiment, after charging pile powers on, identify this configuration information, confirm that the machine is charging pile terminal.Etc. effective address packet to be checked.After receiving inquiry effective address packet, after confirming as the packet of charging pile substation transmission of correspondence, wait handshake communication.
Reply message of shaking hands has 9 bytes, including:
Sequence number |
Data content |
Data form |
1 |
Data packet head |
2 bytes |
2 |
Terminal address |
4 bytes |
3 |
Traffic category |
2 bytes (reply of shaking hands) |
4 |
CRC check code |
1 byte |
If not receiving the handshake message of correspondence in 3min, then terminal links terminal for abnormal.
Charging pile terminal receive that charging pile substation sends pair time message after, process when carrying out pair, confirmation message when then sending pair;When receiving pair after message, each charging pile terminal is confirmation message in time sending afterwards pair at " 100ms+ terminal coding * 10m ".
Pair time confirmation message totally 13 byte, including:
Sequence number |
Data content |
Data form |
1 |
Data packet head |
2 bytes |
2 |
Address, substation |
4 bytes |
3 |
Terminal address |
4 bytes |
4 |
Traffic category |
2 bytes (pair time complete/pair time failure) |
5 |
CRC check code |
1 byte |
Pair time after the packet of terminal data of the inquiry to be received such as charging pile terminal, receive verification terminal address after packet;The packet packet loss of non-native terminal address processes, and confirms as local terminal packet,
Then send native data bag.
The terminal data bag sent, totally 21 byte, packet content is:
Sequence number |
Data content |
Data form |
1 |
Data packet head |
2 bytes |
2 |
Terminal address |
4 bytes |
3 |
Traffic category |
2 bytes (data answering) |
4 |
Status information of equipment |
4 bytes |
5 |
Equipment telemetry intelligence (TELINT) |
8 bytes |
6 |
CRC check code |
1 byte |
The terminal not receiving the machine address polling data bag that charging pile substation sends in 5min links terminal for abnormal;In abnormal link, it will actively launching log-on data, 9 bytes of work, its content of registration packet includes:
When sending registration packet, launching three times continuously, interval 5S, other send rule as follows:
It is in abnormal linking status 20min |
Every 1min sends once |
After being in abnormal linking status 20min |
Every 5min sends once |
After being in abnormal linking status 6H |
Every 20min sends once |
Terminal under normal linking status, when there being burst message to produce, it will actively sending burst message, do not receive in the confirmation message situation of charging pile substation, 5S launches once, launches 3 times continuously;Incident data bag has 15 bytes, and content is:
Sequence number |
Data content |
Data form |
1 |
Data packet head |
2 bytes |
2 |
Terminal address |
4 bytes |
3 |
Traffic category |
2 bytes (burst message) |
4 |
Address, substation |
4 bytes |
5 |
Accident classification |
2 bytes |
6 |
CRC check code |
1 byte |
Protection scope of the present invention includes but not limited to embodiment of above, and protection scope of the present invention is as the criterion with claims, and any replacement that those skilled in the art will find apparent that this technology is made, deformation, improvement each fall within protection scope of the present invention.