Disclosure of Invention
The invention aims to provide a shared electric vehicle helmet box and a control system thereof, which aim to solve the problems in the prior art.
In order to achieve the purpose, the invention provides the following technical scheme:
a shared electric vehicle helmet box control system comprises a code scanning module, an alarm module, a rescue module, a return module and a mobile phone terminal;
the code scanning module is used for controlling the helmet box lock to be opened and taking out the helmet and controlling the shared electric vehicle lock to be opened after the helmet is taken out;
the alarm module is used for positioning the helmet and the shared electric vehicle and warning a thief in a voice mode when the helmet is stolen and the shared electric vehicle exceeds a certain distance;
the rescue module is used for confirming whether the rider is conscious and helping the rider with a traffic accident to seek help for people who use the shared electric vehicle;
the returning module is used for sensing that the helmet is placed back into the helmet box and then controlling the lock of the helmet box to be locked, and controlling the lock of the shared electric vehicle to be locked and ending the stroke when the shared electric vehicle is returned after the helmet box is locked;
the mobile phone terminal comprises a camera and a display screen, the camera is used for collecting two-dimensional codes to be scanned, the display screen is used for displaying information of the shared electric vehicle and the helmet after the mobile phone terminal is unlocked through scanning, and the display screen is also used for displaying information received by the mobile phone terminal.
Sweep the output of code module and carry out wireless communication with the input of returning the module and be connected, alarm module carries out wireless communication with the input of succour module and is connected, and the output of succour module carries out wireless communication with the input of cell-phone terminal and is connected, and the output of cell-phone terminal carries out wireless communication with the input of sweeping code module and returning the module and is connected.
The code scanning module comprises a circuit sensing unit, a helmet box unlocking unit, a shared electric vehicle unlocking unit, a helmet box lock and a shared electric vehicle lock;
the shared electric vehicle unlocking unit is used for controlling the opening of the shared electric vehicle lock after the code scanning is finished;
the top end of the helmet is provided with a reed switch magnetic control inductive switch, and the bottom of the helmet box is provided with a magnetic control switch;
the circuit induction unit is used for inducing whether the helmet is taken out from the helmet box or not, when the helmet is taken out, a reed switch magnetic control induction switch on the helmet is separated from a magnetic control switch of the helmet box to cause circuit interruption of the prompting lamp, and when the circuit induction unit induces the circuit interruption, the helmet is taken out from the helmet box;
the output of the helmet box unlocking unit is in wireless communication connection with the input of the helmet box lock, the output of the circuit sensing unit is in wireless communication connection with the input of the shared electric vehicle unlocking unit, and the output of the shared electric vehicle unlocking unit is in wireless communication connection with the input of the shared electric vehicle lock.
The alarm module comprises a positioning unit, a distance measuring unit and a small-sized horn;
the positioning unit is used for respectively positioning the positions of the helmet and the shared electric vehicle;
the distance measuring unit measures the distance between the shared electric vehicle and the helmet according to the positions of the helmet and the shared electric vehicle provided by the positioning unit;
the small horn is used for carrying out voice warning when the distance measuring unit detects that the distance between the shared electric vehicle and the helmet box exceeds d meters, and the small horn is arranged on the helmet;
the positioning unit comprises a first positioning tag and a second positioning tag, the first positioning tag is installed on the helmet, and the second positioning tag is installed on the shared electric vehicle;
the output end of the positioning unit is in wireless communication connection with the input end of the ranging unit, and the output end of the ranging unit is in wireless communication connection with the input end of the small-sized horn.
The rescue module comprises a speed detection unit, a timing unit, a confirmation unit, a help seeking unit and an automatic dialing unit;
the speed detection unit is used for detecting the speed change condition of the shared electric vehicle and judging whether a traffic accident happens to a rider or not;
the confirmation unit is used for sending a popup frame to the mobile phone terminal of the rider to confirm whether the consciousness of the rider is clear or not when the shared electric vehicle is suddenly stopped, and the mobile phone terminal shakes and sounds a mobile phone ring when receiving the popup frame;
the timing unit is used for calculating the time from the moment that the bullet frame is sent to the mobile phone terminal of the rider to the moment that the rider confirms;
the automatic dialing unit is used for automatically dialing 120 for help when the timing unit reaches a certain time threshold;
the output end of the speed detection unit is in wireless communication connection with the input end of the confirmation unit, the output end of the confirmation unit is in wireless communication connection with the input ends of the mobile phone terminal, the timing unit and the help seeking unit, and the output end of the timing unit is in wireless communication connection with the input end of the automatic dialing unit.
The returning module comprises a helmet box locking unit and a shared electric vehicle lock locking unit;
the helmet box locking unit is used for controlling the code scanning lock of the helmet box to lock after the circuit sensing unit senses that the helmet is placed back in the helmet box;
the shared electric vehicle lock locking unit is used for controlling the lock of the shared electric vehicle to be locked and ending the travel after the code scanning lock of the helmet box is locked;
the output end of the helmet box locking unit is in wireless communication connection with the input end of the shared electric vehicle lock locking unit.
The distance measurement unit takes the position of the first positioning label as the circle center O of the coordinate system, the position of the second positioning label as A, and the position coordinate of A in the coordinate system is (X, Y), wherein X is the vertical distance between the second positioning label and the Y axis of the coordinate system on the coordinate system, Y is the vertical distance between the second positioning label and the X axis of the coordinate system on the coordinate system, and the included angle between the second positioning label and the X axis of the coordinate system is theta;
according to the formula:
wherein L is the distance between the two positioning labels, and sin theta is the sine value of the included angle theta.
The speed measuring unit detects that the speed is V at a certain point in the driving processim/s, speed V detected at another point after t seconds of travel-over timei+11m/s;
Set V ═ V1、V2、V3.....VnIn which V1、V2In sequence to Vi+1The speed of the shared electric vehicle is detected for different time points with the interval time of t seconds,
according to the formula:
......
ancalculating the acceleration of the shared electric vehicle every t seconds during running;
when a isiWhen the concentration of the carbon dioxide is more than 0,the vehicle speed of the shared electric vehicle still increases, when aiWhen 0, it means that the speed of the shared electric vehicle is kept stable, and when aiWhen the value is less than 0, the speed of the shared electric vehicle is reduced, when the value of t is less than s seconds, and the measured acceleration aiIs greater than a set value, and VnWhen 0, the shared electric vehicle suddenly stops.
The help seeking unit establishes a circular model with the radius of R meters by taking the position of the rider as a circle center O, establishes a coordinate system by taking the circle center O as an origin of the coordinate system, and determines the positions of other people riding in the range of the circular model by using the positioning unit, wherein the positions of the other people riding are W1、W2In sequence to Wn,W1、W2In sequence to WnThe perpendicular distance from the X axis of the coordinate system is q in sequence1、q2、q3To qn, W1、W2In sequence to WnThe included angle between the center of circle O and the center of circle is theta1、θ2、θ3To thetan。
......
Wherein L is1、L2In turn to LnThe distance between other riders in the range of the circular model and the rider needing rescue.
According to the formula:
Li-Li+1=Mi;
the result M obtained by calculationiLess than 0, Li minus L is selectedi+2;
Obtaining a formula:
Li-Li+2=Mi+1;
the result M obtained by calculationiGreater than or equal to 0, L is selectedi+1Minus Li+2;
Obtaining a formula:
Li+1-Li+2=Mi+1;
i in the formula is less than or equal to n-2, when the subtraction is carried out for the last time, a subtracted number is selected when the calculated result is less than 0, the subtracted number represents the distance of the nearest rider, and the subtracted number is selected when the calculated result is greater than or equal to 0, and the subtracted number represents the distance of the nearest rider;
the help seeking unit sends an independent reminding bullet frame to the mobile phone terminal of the nearest rider selected finally to remind the rider of being the person nearest to the rider needing rescue.
The utility model provides a sharing electric motor car helmet case, includes folding lid, helmet case box, helmet, sweeps sign indicating number lock lower part, sweeps sign indicating number lock upper portion, and helmet case box passes through folding hub connection folding lid, and the helmet has been placed to helmet case box inside, and the below at folding lid edge is installed and is swept sign indicating number lock upper portion, and the inside position that corresponds with sweeping sign indicating number lock upper portion of helmet case box is installed and is swept sign indicating number lock lower part.
Helmet case bottom is equipped with the recess, magnetic control switch is installed to the below of recess, helmet internally mounted has tongue tube magnetic control inductive switch, inside the recess was arranged in to the helmet inversion, the warning light is installed to the helmet rear side, inside the recess was arranged in to the helmet inversion, during tongue tube magnetic control inductive switch arranged magnetic control switch's magnetic field in, under the influence in magnetic control switch's magnetic field, tongue tube magnetic control inductive switch amalgamates switch-on circuit, let the warning light shine, show that the helmet has correctly placed in helmet case box.
Compared with the prior art, the invention has the beneficial effects that:
1. in the prior art, a rider can directly sweep a code on a shared electric vehicle and can directly ride the shared electric vehicle after opening a lock, but for the rider, the rider still needs to have an electric vehicle with a high speed on a sidewalk, so in order to protect the head safety of the rider, the shared electric vehicle is additionally provided with a helmet box, a helmet is placed in the helmet box, the rider wants to sweep the code to open the lock, the rider needs to sweep the code to open the lock, the helmet is taken out by sweeping the code to open the box lock of the helmet box, and then the rider can sweep the code to open the lock, so that the rider needs to forcibly take the helmet when the rider wants to open the lock.
2. According to the invention, the positioning tags are arranged on the helmet and the shared electric vehicle, when the distance between the helmet and the shared electric vehicle exceeds a certain distance, the small loudspeaker arranged on the helmet can warn the thief of the helmet by voice, the position of the helmet can be always positioned in the moving process, and finally the position of the helmet is stored in the database and is alarmed and retrieved by workers.
3. When a rider encounters a car accident and collides in the riding process, the control system can send a bullet frame to the mobile phone of the rider to confirm whether the rider is conscious, if the rider is not conscious, the control system can automatically dial 120, and the control system can send a help-seeking request to the mobile phones of people riding around to request the rider to give help to the collided rider before the ambulance arrives.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
A shared electric vehicle helmet box control system comprises a code scanning module, an alarm module, a rescue module, a return module and a mobile phone terminal;
the code scanning module is used for controlling the helmet box lock to be opened and taking out the helmet and controlling the shared electric vehicle lock to be opened after the helmet is taken out;
the alarm module is used for positioning the helmet and the shared electric vehicle and warning a thief in a voice mode when the helmet is stolen and the shared electric vehicle exceeds a certain distance;
the rescue module is used for confirming whether the rider is conscious and helping the rider with a traffic accident to seek help for people who use the shared electric vehicle;
the returning module is used for sensing that the helmet is placed back into the helmet box and then controlling the lock of the helmet box to be locked, and controlling the lock of the shared electric vehicle to be locked and ending the stroke when the shared electric vehicle is returned after the helmet box is locked;
the mobile phone terminal comprises a camera and a display screen, the camera is used for collecting two-dimensional codes to be scanned, the display screen is used for displaying information of the shared electric vehicle and the helmet after the mobile phone terminal is unlocked through scanning, and the display screen is also used for displaying information received by the mobile phone terminal.
Sweep the output of code module and carry out wireless communication with the input of returning the module and be connected, alarm module carries out wireless communication with the input of succour module and is connected, and the output of succour module carries out wireless communication with the input of cell-phone terminal and is connected, and the output of cell-phone terminal carries out wireless communication with the input of sweeping code module and returning the module and is connected.
The code scanning module comprises a circuit sensing unit, a helmet box unlocking unit, a shared electric vehicle unlocking unit, a helmet box lock and a shared electric vehicle lock;
the shared electric vehicle unlocking unit is used for controlling the opening of the shared electric vehicle lock after the code scanning is finished;
the top end of the helmet is provided with a reed switch magnetic control inductive switch, and the bottom of the helmet box is provided with a magnetic control switch;
the circuit induction unit is used for inducing whether the helmet is taken out from the helmet box or not, when the helmet is taken out, a reed switch magnetic control induction switch on the helmet is separated from a magnetic control switch of the helmet box to cause circuit interruption of the prompting lamp, and when the circuit induction unit induces the circuit interruption, the helmet is taken out from the helmet box;
the output of the helmet box unlocking unit is in wireless communication connection with the input of the helmet box lock, the output of the circuit sensing unit is in wireless communication connection with the input of the shared electric vehicle unlocking unit, and the output of the shared electric vehicle unlocking unit is in wireless communication connection with the input of the shared electric vehicle lock.
The alarm module comprises a positioning unit, a distance measuring unit and a small-sized horn;
the positioning unit is used for respectively positioning the positions of the helmet and the shared electric vehicle;
the distance measuring unit measures the distance between the shared electric vehicle and the helmet according to the positions of the helmet and the shared electric vehicle provided by the positioning unit;
the small horn is used for carrying out voice warning when the distance measuring unit detects that the distance between the shared electric vehicle and the helmet box exceeds d meters, and the small horn is arranged on the helmet;
the positioning unit comprises a first positioning tag and a second positioning tag, the first positioning tag is installed on the helmet, and the second positioning tag is installed on the shared electric vehicle;
the output end of the positioning unit is in wireless communication connection with the input end of the ranging unit, and the output end of the ranging unit is in wireless communication connection with the input end of the small-sized horn.
The rescue module comprises a speed detection unit, a timing unit, a confirmation unit, a help seeking unit and an automatic dialing unit;
the speed detection unit is used for detecting the speed change condition of the shared electric vehicle and judging whether a traffic accident happens to a rider or not;
the confirmation unit is used for sending a popup frame to the mobile phone terminal of the rider to confirm whether the consciousness of the rider is clear or not when the shared electric vehicle is suddenly stopped, and the mobile phone terminal shakes and sounds a mobile phone ring when receiving the popup frame;
the timing unit is used for calculating the time from the moment that the bullet frame is sent to the mobile phone terminal of the rider to the moment that the rider confirms;
the automatic dialing unit is used for automatically dialing 120 for help when the timing unit reaches a certain time threshold;
the output end of the speed detection unit is in wireless communication connection with the input end of the confirmation unit, the output end of the confirmation unit is in wireless communication connection with the input ends of the mobile phone terminal, the timing unit and the help seeking unit, and the output end of the timing unit is in wireless communication connection with the input end of the automatic dialing unit.
The returning module comprises a helmet box locking unit and a shared electric vehicle lock locking unit;
the helmet box locking unit is used for controlling the code scanning lock of the helmet box to lock after the circuit sensing unit senses that the helmet is placed back in the helmet box;
the shared electric vehicle lock locking unit is used for controlling the lock of the shared electric vehicle to be locked and ending the travel after the code scanning lock of the helmet box is locked;
the output end of the helmet box locking unit is in wireless communication connection with the input end of the shared electric vehicle lock locking unit.
The distance measurement unit takes the position of the first positioning label as the circle center O of the coordinate system, the position of the second positioning label as A, and the position coordinate of A in the coordinate system is (X, Y), wherein X is the vertical distance between the second positioning label and the Y axis of the coordinate system on the coordinate system, Y is the vertical distance between the second positioning label and the X axis of the coordinate system on the coordinate system, and the included angle between the second positioning label and the X axis of the coordinate system is theta;
according to the formula:
wherein L is the distance between the two positioning labels, and sin theta is the sine value of the included angle theta.
The speed measuring unit detects that the speed is V at a certain point in the driving processim/s, speed V detected at another point after t seconds of travel-over timei+11m/s;
Set V ═ V1、V2、V3.....VnIn which V1、V2In sequence to Vi+1The speed of the shared electric vehicle is detected for different time points with the interval time of t seconds,
according to the formula:
......
anto share electricityCalculating the acceleration every t seconds during the running of the motor car;
when a isiWhen the speed is more than 0, the speed of the shared electric vehicle is still increased, and when a isiWhen 0, it means that the speed of the shared electric vehicle is kept stable, and when aiWhen the value is less than 0, the speed of the shared electric vehicle is reduced, when the value of t is less than s seconds, and the measured acceleration aiIs greater than a set value, and VnWhen 0, the shared electric vehicle suddenly stops.
The help seeking unit establishes a circular model with the radius of R meters by taking the position of the rider as a circle center O, establishes a coordinate system by taking the circle center O as an origin of the coordinate system, and determines the positions of other people riding in the range of the circular model by using the positioning unit, wherein the positions of the other people riding are W1、W2In sequence to Wn,W1、W2In sequence to WnThe perpendicular distance from the X axis of the coordinate system is q in sequence1、q2、q3To qn, W1、W2In sequence to WnThe included angle between the center of circle O and the center of circle is theta1、θ2、θ3To thetan。
......
Wherein L is1、L2In turn to LnTo it isHe is within the range of the circular model of the rider's distance from the rider to be rescued.
According to the formula:
Li-Li+1=Mi;
the result M obtained by calculationiLess than 0, Li minus L is selectedi+2;
Obtaining a formula:
Li-Li+2=Mi+1;
the result M obtained by calculationiGreater than or equal to 0, L is selectedi+1Minus Li+2;
Obtaining a formula:
Li+1-Li+2=Mi+1;
i in the formula is less than or equal to n-2, when the subtraction is carried out for the last time, a subtracted number is selected when the calculated result is less than 0, the subtracted number represents the distance of the nearest rider, and the subtracted number is selected when the calculated result is greater than or equal to 0, and the subtracted number represents the distance of the nearest rider;
the help seeking unit sends an independent reminding bullet frame to the mobile phone terminal of the nearest rider selected finally to remind the rider of being the person nearest to the rider needing rescue.
The first embodiment is as follows:
the alarm module comprises a positioning unit, a distance measuring unit and a small-sized horn;
the positioning unit is used for respectively positioning the positions of the helmet and the shared electric vehicle;
the distance measuring unit measures the distance between the shared electric vehicle and the helmet according to the positions of the helmet and the shared electric vehicle provided by the positioning unit;
the small horn is used for carrying out voice warning when the distance measuring unit detects that the distance between the shared electric vehicle and the helmet box exceeds 3 m, and the small horn is arranged on the helmet;
the positioning unit comprises a first positioning tag and a second positioning tag, the first positioning tag is installed on the helmet, and the second positioning tag is installed on the shared electric vehicle;
distance measurementThe unit takes the position of the first positioning label as the center O of a coordinate system, the position of the second positioning label as A, the position coordinate of A in the coordinate system is (1,
) Wherein X is the vertical distance between the second positioning tag and the Y axis of the coordinate system on the coordinate system, Y is the vertical distance between the second positioning tag and the X axis of the coordinate system on the coordinate system, and the included angle between the second positioning tag and the X axis of the coordinate system is 30 degrees;
according to the formula:
the distance between the two positioning labels is 3.464 m, the distance exceeds 3 m, and a small horn can carry out voice warning.
The speed measuring unit detects that the speed is V at a certain point in the driving processim/s, a speed V detected at another point after 0.1 second of the traveling timei+11m/s;
The set V ═ {1, 2.5, 3, 2.5, 2, 1.5, 2, 0}, where V is1、 V2In sequence to Vi+1The speed of the shared electric vehicle is detected for different time points with the interval time of t seconds.
According to the formula:
based on the calculation result, the measured acceleration a8Is greater than 10, and V9And 0 means that the shared electric vehicle stops in a non-braking slow deceleration stop mode within 0.1 second, and a car accident or a fall in the riding process is possible.
And then the controlled confirmation unit sends a bullet frame to the mobile phone of the rider, and the mobile phone terminal vibrates when receiving the bullet frame and simultaneously sounds a mobile phone ring to remind the rider of confirmation, if the rider can operate on the mobile phone terminal within 2 minutes, the rider can judge whether to need to see a doctor or not by himself according to consciousness, and the rider dials a 120-degree telephone.
The help seeking unit establishes a circular model with the radius of R meters by taking the position of the rider as a circle center O, establishes a coordinate system by taking the circle center O as an origin of the coordinate system, and determines the positions of other people riding in the range of the circular model by using the positioning unit, wherein the positions of the other people riding are W1、W2In sequence to W3,W1、W2In sequence to W4The vertical distances from the X axis of the coordinate system are 70, 50, 20, 60 and W in sequence1、W2In sequence to W4The included angle between the central line and the circle center O is 15 degrees and 25 degrees,30°、60°。
Wherein L is1、L2In turn to LnThe distance between other riders in the range of the circular model and the rider needing rescue.
According to the formula:
Li-Li+1=Mi;
the calculated values are obtained: 270-;
if the calculated result 152 is greater than or equal to 0, then the value 118 minus 40 is selected;
118-40=78;
the calculated result 78 is equal to or greater than 0, and 40 minus 70:
the calculated values are obtained: 40-70 ═ 30
When the last subtraction is performed, if the calculated result-30 is less than 0, 40 is selected, namely 40 represents the distance of the nearest rider;
the help-seeking unit will select the nearest rider W3And the mobile phone terminal of the rider at the position sends an independent reminding bullet frame to remind the rider to be the nearest person to the rider needing rescue.
Example two:
as shown in fig. 1-3, a sharing electric motor car helmet case, including flip cover 1, helmet case box 2, helmet 3, sweep sign indicating number lock lower part 4, sweep sign indicating number lock upper portion 5, helmet case box 2 connects flip cover 1 through folding axle 8, helmet 3 has been placed to helmet case box 2 inside, the below at flip cover 1 edge is installed and is swept sign indicating number lock upper portion 5, helmet case box 2 inside with sweep the sign indicating number lock upper portion 5 corresponding position install sweep sign indicating number lock lower part 4, sweep the sign indicating number and accomplish and can open and sweep the sign indicating number lock.
Helmet case 2 bottom is equipped with the recess, magnetic control switch 6 is installed to the below of recess, helmet internally mounted has tongue tube magnetic control inductive switch 7, helmet 3 is placed upside down and is arranged in inside the recess, the warning light is installed to 3 rear sides of helmet, place the recess inside when helmet 3 is placed upside down, tongue tube magnetic control inductive switch 7 is arranged in magnetic field of magnetic control switch 6, under the influence in magnetic field of magnetic control switch 6, tongue tube magnetic control inductive switch 7 merges the conduction circuit, let the warning light shine, it has correctly placed in helmet case box 2 to show helmet 3.
The working principle is as follows: want to ride sharing electric motor car person, need sweep the sign indicating number earlier and open and sweep the sign indicating number lock, then take out helmet 3 from helmet case box 2, because taking out of helmet 3, reed switch magnetic control inductive switch 7 separates the disconnect-circuit, the lock of sharing electric motor car also can be opened afterwards, after riding, put back helmet 3 in helmet case box 2, reed switch magnetic control inductive switch 7 merges the switch-on circuit, let the warning light bright, show that helmet 3 has correctly placed in helmet case box 2, then can close flip cover 1, sweep the sign indicating number lock and can normally lock, lock shared electric motor car lock at last, confirm to end the stroke on the cell-phone.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.