The content of the invention
It is an object of the invention to solve the above problems, it is proposed that a kind of reservation charging formula electric bicycle charging station fillsMethod for electrically, the charging method can realize reservation charging, and can by swiping the card, the means of payment such as wechat, Alipay, as far as possiblePaid for user and provide convenient, it is while the power consumption of user, reasonable charging can be calculated accurately, clearing unit is smart from " member "" dividing " really is arrived, and the charge power of user is limited, the electric car that power exceedes 600W will be unable to charging of paying, mostThe safety that ensure that supply line of big degree.
The present invention is achieved through the following technical solutions above-mentioned purpose:A kind of charging of reservation type electric bicycle charging stationMethod, described electric bicycle supply station include Cloud Server, user mobile phone, be dispersed in the charging pile of each position of city withAnd electric bicycle to be charged, the charging method comprises the following steps:
Step 1:Reservation charging stake;Special reservation charging position is set on charging pile, and only subscriber can be used, non-Subscriber cannot be used, and when subscriber needs charging, subscriber is in advance using user mobile phone to neighbouring chargingReservation charging position in stake is inquired about, and no on the charging pile inquired about in inquiry objective time interval is to have vacant position;If on charging pileThere is reservation charging position idle, then can successfully preengage the corresponding reservation charging on the charging pile after basic fee for appointment is paidPosition;If there is no reservation charging position idle on charging pile, reservation failure;If being inquired about on charging pile in the period, reservation charging position can notIt is determined that, then advise that user is preengage again after a time;When non-subscriber needs charging, the non-reservation on charging pile is only capable ofCharge position is charged;
Step 2:Connect charging pile;Electric bicycle is connected to the corresponding reservation charging for the charging pile preengage by userOn position, the control module that the charging pile starts and generated in a temporarily fixed IP, charging pile will be included by GPRS moduleThe charging pile facility information of the IP is transmitted to Cloud Server, and the logical of interim stabilization is set up between Cloud Server and the charging pileNews frequency road;
Step 3:Charging pile carries out charge power identification;Charge power is identified using power limitation module, and rootCharging is judged whether to according to charge power;When user's electric bicycle charge power to be charged is more than or equal to 600W,Charging pile can be refused to charge and send the voice message that can not be charged;If the charge power of electric bicycle is less than 600W, but such asFruit is charged, and the total load power of charging pile power transmission line can be made to be more than or equal to 2500W, then charging pile can refuse charging simultaneouslySend the voice message charged later;The feelings that charge power is less than 2500W less than 600W and total load power are only met simultaneouslyCondition just allows user to carry out charging pre-payment module;Power limitation module includes single-chip microcomputer, working condition indicating module, data inspectionModule, relay, setting power display module, measured power display module, photoelectric coupling circuit and A/D modular converters are surveyed, it is singlePiece machine connect respectively working condition indicating module, setting power display module, measured power display module, photoelectric coupling circuit,A/D change-over circuits, A/D change-over circuits connection data detection module, photoelectric coupling circuit is connected with relay, relay and dataDetection module is connected with protection module, and single-chip microcomputer completes data processing and output control function, and data detection module is completed to negativeThe acquisition function of electricity consumption loop current is carried, photoelectric coupling circuit and relay complete the function of control load electrical circuit break-make,Protection module completes short-circuit protection function;
Step 4:User is paid using user mobile phone, and the 2 D code information that user mobile phone is scanned on charging pile is logged inCloud Server, is provided the facility information of Cloud Server address and charging pile by Quick Response Code during being somebody's turn to do, taken by user mobile phone and cloudThe whole communication of device progress, cloud server charging pile facility information be engaged in while the accounts information of acquisition user mobile phone, cloud serviceDevice carries out prompting user after logic judgment and carries out pre-paying using user mobile phone, and the amount of money is determined by user oneself, then resultFeed back on charging pile, the charged state of electric bicycle is then controlled by the control module of charging pile;
Step 5:Charging pile fills consumption real-time monitoring;Real-time monitoring modular built in charging pile, during charging pile works,Charging pile monitors the charged state of electric bicycle in real time, while recording the power consumption of electric bicycle and being converted into charging expenseWith;When the expense that charges is more than or equal to advance payment, charging pile is stopped power supply;When the expense that charges is less than advance payment, sentenceWhether disconnected charge power is less than designated value;If charge power is more than designated value, continue to power;Specified if charge power is less thanValue, then judge whether physical connection disconnects, if physical connection is not turned off, and stops charging and settling accounts after one hour of delayExpense;If physical connection disconnects, judge whether physical connection disconnects again after delay 10s, if now physical connection is recovered,Continue to charge, otherwise stop charging and closing the account;
Step 6:Charging expense is measured;The accounting module of charging pile includes module for metering electric quantity and expense computing module, electricityMeasure metering module and use electric quantity metering chip, in real time the consumption of monitoring electricity, the control module system after charging complete in charging pileThe total electricity of consumption in meter charging duration, and calculate the expense of this charging;
Step 7:Return remaining sum;After the electric bicycle charging complete of step 5, by filling for being calculated in step 6The expense of electricity is sent to Cloud Server using GPRS module, and Cloud Server is settled accounts to the expense of charging, and by unnecessary goldVolume is returned into the account of user mobile phone;
Step 8:Notify user's charging complete;After charging complete, charging pile disconnects charging connection automatically, and utilizes GPRS mouldsBlock transmits charge completion information to Cloud Server, is sent user's charge completion information to user mobile phone by Cloud Server,Remind user that charging has been completed.
Further, the reservation charging bit quantity and non-reservation charging bit quantity that described charging pile is provided with respectively account for chargingCharge position on the half of position total quantity, each charging pile is compiled successively by being arranged on the digit plate above charge positionNumber.
Further, the preposition judge module of disbursement and sattlement built in charging pile, when electric bicycle completes charging or physics companyWhen connecing disconnection, charging pile can the preposition judge module of automatic running disbursement and sattlement, the preposition judge module automatic decision thing of disbursement and sattlementThe classification that part occurs, and the classification occurred according to event performs different countermeasures;If electric bicycle completes charging, expenseThe electric power system of charging pile and the built-in connection of power transmission line can be disconnected after logic judgment is set up by settling accounts preposition judge module, be preventedOnly the equipment in charging pile persistently consumes electricity again;If user's imprudence is disconnected physical connection, the preposition judgement mould of disbursement and sattlementBlock allows user to be reconnected within the time of 10 seconds;If user is in a hurry, needs are left, and disbursement and sattlement is preposition to be judgedModule can close the account for user and initialize system after 10 seconds, wait the arrival of next bit user.
Further, the charging pile also includes by way of recharged card is charged, the receiving branch of the recharged cardThe mode of paying is paid for ID cards, i.e., all cost informations are stored on the database in high in the clouds, the Quick Response Code on scanning recharged cardCloud Server is logged in, inputs after password and directly starts to charge up if related high in the clouds account, if the high in the clouds account of onrelevantNew account is then generated on Cloud Server, and associates WeChat ID, password is set, points out user to supplement with money, supplements with money and finish in userStart to charge to the electric bicycle of user afterwards.
Further, improper charging alarm module is additionally provided with the charging pile, judges whether to charge normal;Pulling outFall relay after plug to disconnect, be automatically stopped power supply.
Further, bluetooth module is additionally provided with the charging pile, bluetooth module is connected with single-chip microcomputer and controls chargingThe script that software view is installed automatically is provided with the initialization of whole system, the mobile phone of maintenance mans in stake, maintenance can pass throughMobile phone and charging pile bluetooth connection, and the system initialization in charging pile is realized using mobile phone.
Further, user logs in the Cloud Server of charging pile, the Cloud Server of charging pile by the app on user mobile phoneSupport user's Net silver, three kinds of payment methods of Alipay and wechat;Module of swiping the card is additionally provided with charging pile, user passes through mould of swiping the cardSwiping the card on block realizes the payment of the charging amount of money.
Further, when non-subscriber is charged on charging pile, if it there is non-reservation charging position on charging pileDirectly it can be charged on non-reservation charging position;If the non-reservation charging position on charging pile is all used, it can lead toQuick Response Code on overscanning charging pile downloads the app softwares for reservation, remaining to the charging pile pre- after as subscriberAbout charge position is inquired about;If non-subscriber remaining reservation charging position after as subscriber is not predetermined full,The reservation charging position that the free time can be chosen carries out charging operations.
The beneficial effects of the present invention are:
1st, the present invention can realize reservation charging, and can by swiping the card, the means of payment such as wechat, Alipay, as far as possiblePaid for user and provide convenient, it is while the power consumption of user, reasonable charging can be calculated accurately, clearing unit is smart from " member "" dividing " really is arrived, the reasonability of electricity charge calculating is drastically increased, user's charging enthusiasm is improved, also prevents because user usesThe economic loss that high-power electric appliance charging is caused to operator.
2nd, the present invention is limited the charge power of user by power limitation module, and power exceedes 600W electricityDynamic bicycle will be unable to charging of paying, and can not also carry out paying when the peak power of charging pile power transmission line is more than 2500W and fillElectricity, farthest ensure that the safety of supply line;Because the real time charging power of electric bicycle is generally in 100~200WBetween, so the electric bicycle that 2500W general power is fully able to meet ten charge positions charges simultaneously.
3rd, the present invention is internally provided with module for metering electric quantity and electricity metering module, can accurately measure battery truck and use electricityThe number of degrees, can reflect different charge powers electric bicycle true electricity consumption, break traditions passage time calculate expenseWith, it is more fair to user, and can prevent businessman from losing or losing money instead of making money the electricity charge.
4th, the present invention is limited the charge power of electric bicycle by power limitation module, can both be realized to fillingThe single charge position of electric stake carries out Power Control, also controls general power, prevents from, because various harm caused by power overload, improvingThe safety coefficient that charging pile is used.
5th, the 2 D code information that the present invention is scanned by user mobile phone on charging pile logs in Cloud Server, has in this processQuick Response Code provides the facility information of Cloud Server address and charging pile, and whole communication, pole are carried out by user mobile phone and Cloud ServerThe earth facilitates user's supplementing with money and using to charging pile.
6th, the present invention by the real-time detection module built in charging pile to the electric bicycle that is being used on charging pileCharged state is judged, charging connection is disconnected automatically in charging complete, is prevented because of waste of energy caused by overcharge,The charging expense of user is also reduced simultaneously.
7th, the present invention shows charging status information in real time using the app of user mobile phone, will can have been charged after charging completeInto information on the APP that Cloud Server pushes to user mobile phone, facilitate user to connect the charged state of electric bicycle in real time,It is more convenient for use of the user to electric bicycle.
8th, the present invention sets multiple reservation charging positions and non-reservation charging position on charging pile simultaneously, both can guarantee that reservation is usedThe use at family, can guarantee that the use of non-subscriber again, while reservation charging position only reservation charging position can be used, on the one hand may be usedWith ensure businessman use app download, on the other hand it is also ensured that the reservation charging demand of subscriber.
9th, the present invention judges that electric bicycle still disconnects depending on charging complete state by the preposition judge module of disbursement and sattlementConnection status, even if disconnecting the connection of user's electric bicycle and charging pile can also be reconnected within 10s again, sideJust use of the user to charging pile.
10th, the present invention can control the overall initialization of charging pile to realize by the bluetooth module set in charging pileMaintenance operation on charging pile software view.
Embodiment
The invention will be further described below in conjunction with the accompanying drawings:
As shown in Fig. 1~8, a kind of charging method of reservation type electric bicycle charging station, described electric bicycle is suppliedPower station, including Cloud Server, user mobile phone, the charging pile and electric bicycle to be charged that are dispersed in each position of city,The charging method comprises the following steps:
Step 1:Reservation charging stake;Special reservation charging position is set on charging pile, and only subscriber can be used, non-Subscriber cannot be used, and when subscriber needs charging, subscriber is in advance using user mobile phone to neighbouring chargingReservation charging position in stake is inquired about, and no on the charging pile inquired about in inquiry objective time interval is to have vacant position;If on charging pileThere is reservation charging position idle, then can successfully preengage the corresponding reservation charging on the charging pile after basic fee for appointment is paidPosition;If there is no reservation charging position idle on charging pile, reservation failure;If being inquired about on charging pile in the period, reservation charging position can notIt is determined that, then advise that user is preengage again after a time;When non-subscriber needs charging, the non-reservation on charging pile is only capable ofCharge position is charged;
Step 2:Connect charging pile;Electric bicycle is connected to the corresponding reservation charging for the charging pile preengage by userOn position, the control module that the charging pile starts and generated in a temporarily fixed IP, charging pile will be included by GPRS moduleThe charging pile facility information of the IP is transmitted to Cloud Server, and the logical of interim stabilization is set up between Cloud Server and the charging pileNews frequency road;
Step 3:Charging pile carries out charge power identification;Charge power is identified using power limitation module, and rootCharging is judged whether to according to charge power;When user's electric bicycle charge power to be charged is more than or equal to 600W,Charging pile can be refused to charge and send the voice message that can not be charged;If the charge power of electric bicycle is less than 600W, but such asFruit is charged, and the total load power of charging pile power transmission line can be made to be more than or equal to 2500W, then charging pile can refuse charging simultaneouslySend the voice message charged later;The feelings that charge power is less than 2500W less than 600W and total load power are only met simultaneouslyCondition just allows user to carry out charging pre-payment module;Power limitation module includes single-chip microcomputer, working condition indicating module, data inspectionModule, relay, setting power display module, measured power display module, photoelectric coupling circuit and A/D modular converters are surveyed, it is singlePiece machine connect respectively working condition indicating module, setting power display module, measured power display module, photoelectric coupling circuit,A/D change-over circuits, A/D change-over circuits connection data detection module, photoelectric coupling circuit is connected with relay, relay and dataDetection module is connected with protection module, and single-chip microcomputer completes data processing and output control function, and data detection module is completed to negativeThe acquisition function of electricity consumption loop current is carried, photoelectric coupling circuit and relay complete the function of control load electrical circuit break-make,Protection module completes short-circuit protection function;
Step 4:User is paid using user mobile phone, and the 2 D code information that user mobile phone is scanned on charging pile is logged inCloud Server, is provided the facility information of Cloud Server address and charging pile by Quick Response Code during being somebody's turn to do, taken by user mobile phone and cloudThe whole communication of device progress, cloud server charging pile facility information be engaged in while the accounts information of acquisition user mobile phone, cloud serviceDevice carries out prompting user after logic judgment and carries out pre-paying using user mobile phone, and the amount of money is determined by user oneself, then resultFeed back on charging pile, the charged state of electric bicycle is then controlled by the control module of charging pile;
Step 5:Charging pile fills consumption real-time monitoring;Real-time monitoring modular built in charging pile, during charging pile works,Charging pile monitors the charged state of electric bicycle in real time, while recording the power consumption of electric bicycle and being converted into charging expenseWith;When the expense that charges is more than or equal to advance payment, charging pile is stopped power supply;When the expense that charges is less than advance payment, sentenceWhether disconnected charge power is less than designated value;If charge power is more than designated value, continue to power;Specified if charge power is less thanValue, then judge whether physical connection disconnects, if physical connection is not turned off, and stops charging and settling accounts after one hour of delayExpense;If physical connection disconnects, judge whether physical connection disconnects again after delay 10s, if now physical connection is recovered,Continue to charge, otherwise stop charging and closing the account;
Step 6:Charging expense is measured;The accounting module of charging pile includes module for metering electric quantity and expense computing module, electricityMeasure metering module and use electric quantity metering chip, in real time the consumption of monitoring electricity, the control module system after charging complete in charging pileThe total electricity of consumption in meter charging duration, and calculate the expense of this charging;
Step 7:Return remaining sum;After the electric bicycle charging complete of step 5, by filling for being calculated in step 6The expense of electricity is sent to Cloud Server using GPRS module, and Cloud Server is settled accounts to the expense of charging, and by unnecessary goldVolume is returned into the account of user mobile phone;
Step 8:Notify user's charging complete;After charging complete, charging pile disconnects charging connection automatically, and utilizes GPRS mouldsBlock transmits charge completion information to Cloud Server, is sent user's charge completion information to user mobile phone by Cloud Server,Remind user that charging has been completed.
The reservation charging bit quantity and non-reservation charging bit quantity that described charging pile is provided with respectively account for charge position total quantityHalf, the charge position on each charging pile carries out number consecutively by being arranged on the digit plate above charge position.
The preposition judge module of disbursement and sattlement built in charging pile, when electric bicycle completes charging or physical connection disconnection,Charging pile can the preposition judge module of automatic running disbursement and sattlement, the class that the preposition judge module automatic decision event of disbursement and sattlement occursNot, and according to event the classification occurred performs different countermeasures;If electric bicycle completes charging, disbursement and sattlement is preposition to be sentencedDisconnected module can disconnect the electric power system of charging pile and the built-in connection of power transmission line after logic judgment is set up, and prevent in charging pileEquipment persistently consume electricity again;If user's imprudence is disconnected physical connection, the preposition judge module of disbursement and sattlement allows userReconnected within the time of 10 seconds;If user is in a hurry, needs leave, and the preposition judge module of disbursement and sattlement can be 10Closed the account after second for user and initialize system, wait the arrival of next bit user.
The charging pile also includes by way of recharged card is charged, and the means of payment that receives of the recharged card is IDCard is paid, i.e., all cost informations are stored on the database in high in the clouds, and the Quick Response Code on scanning recharged card logs in cloud serviceDevice, inputs after password if related high in the clouds account and directly starts to charge up, in cloud service if the high in the clouds account of onrelevantGenerate new account on device, and associate WeChat ID, password is set, points out user to supplement with money, start after user supplements with money and finished toThe electric bicycle at family is charged.
Improper charging alarm module is additionally provided with the charging pile, judges whether to charge normal;After plug is pulled outRelay disconnects, and is automatically stopped power supply.
Bluetooth module is additionally provided with the charging pile, bluetooth module is connected and controlled with single-chip microcomputer is entirely in charging pileThe script that software view is installed automatically is provided with the initialization of system, the mobile phone of maintenance mans, maintenance can pass through mobile phone and chargingStake bluetooth connection, and the system initialization in charging pile is realized using mobile phone.
User logs in the Cloud Server of charging pile by the app on user mobile phone, and the Cloud Server of charging pile supports userNet silver, three kinds of payment methods of Alipay and wechat;Module of swiping the card is additionally provided with charging pile, user passes through the brush in module of swiping the cardCard realizes the payment of the charging amount of money.
When non-subscriber is charged on charging pile, can directly it exist if it there is non-reservation charging position on charging pileCharged on non-reservation charging position;If the non-reservation charging position on charging pile is all used, it can be charged by scanningQuick Response Code in stake downloads the app softwares for reservation, and the charging pile residual reservation charge position is entered after as subscriberRow inquiry;If non-subscriber remaining reservation charging position after as subscriber is not predetermined full, sky can be chosenNot busy reservation charging position carries out charging operations.
Above-described embodiment is presently preferred embodiments of the present invention, is not the limitation to technical solution of the present invention, as long asThe technical scheme that can be realized without creative work on the basis of above-described embodiment, is regarded as falling into patent of the present inventionRights protection scope in.