CN114537570A - Multi-person riding identification method, electric bicycle and computer readable storage medium - Google Patents

Multi-person riding identification method, electric bicycle and computer readable storage medium Download PDF

Info

Publication number
CN114537570A
CN114537570A CN202210159861.9A CN202210159861A CN114537570A CN 114537570 A CN114537570 A CN 114537570A CN 202210159861 A CN202210159861 A CN 202210159861A CN 114537570 A CN114537570 A CN 114537570A
Authority
CN
China
Prior art keywords
pressure
saddle
data
gravity
electric bicycle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210159861.9A
Other languages
Chinese (zh)
Inventor
钱光耀
陆伟
杨剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Apoco Blue Technology Co ltd
Hefei Pinecone Zhizao Intelligent Technology Co ltd
Original Assignee
Beijing Apoco Blue Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Apoco Blue Technology Co ltd filed Critical Beijing Apoco Blue Technology Co ltd
Priority to CN202210159861.9A priority Critical patent/CN114537570A/en
Publication of CN114537570A publication Critical patent/CN114537570A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62JCYCLE SADDLES OR SEATS; AUXILIARY DEVICES OR ACCESSORIES SPECIALLY ADAPTED TO CYCLES AND NOT OTHERWISE PROVIDED FOR, e.g. ARTICLE CARRIERS OR CYCLE PROTECTORS
    • B62J45/00Electrical equipment arrangements specially adapted for use as accessories on cycles, not otherwise provided for
    • B62J45/40Sensor arrangements; Mounting thereof
    • B62J45/41Sensor arrangements; Mounting thereof characterised by the type of sensor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/11Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Operations Research (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Chair Legs, Seat Parts, And Backrests (AREA)

Abstract

The invention relates to the technical field of shared electric bicycles, in particular to a multi-person riding identification method, an electric bicycle and a computer readable storage medium, wherein a saddle of the electric bicycle is provided with a plurality of sensors for sensing pressure values at different positions of the saddle, and the side of the saddle facing to a bicycle head is defined to be in front; the multi-person riding identification method comprises the following steps: acquiring pressure data of a plurality of sensors, wherein the pressure data comprises pressure directions and pressure values; calculating a position of a center of gravity of the pressure exerted on the saddle based on the acquired pressure data; judging whether a plurality of people ride on the bicycle or not based on the gravity center position and comparison between the position of the obtained pressure data and the gravity center position or obtaining a pressure gradient model and judging the number of the pressure gradient models; if so, executing a preset instruction. The invention can effectively identify whether a plurality of persons ride on the saddle.

Description

Multi-person riding identification method, electric bicycle and computer readable storage medium
Technical Field
The invention relates to the technical field of shared electric bicycles, in particular to a multi-person riding identification method, an electric bicycle and a computer readable storage medium.
Background
The shared electric bicycle is an energy-saving and environment-friendly vehicle, and meets the daily travel of most people. In order to ensure the driving safety of a driver, if a plurality of people take the bicycle during riding, the inertia is increased, the bicycle is difficult to control, and accidents are caused because the bicycle cannot respond in time in emergency.
In the existing method for identifying multi-user riding, a plurality of pressure sensors are arranged on a saddle and used for acquiring pressure information applied to the saddle by a user, and then the pressure information is compared with a preset pressure value to judge whether the user rides by multiple users, the weight of each user is different, and the like, so that the test result of the method is inaccurate when the method is used for different users.
Disclosure of Invention
In order to solve the problem of potential safety hazards of two or more people riding on the saddle at the same time, the invention provides a multi-person riding identification method, an electric bicycle and a computer readable storage medium.
In order to solve the technical problems, the invention provides the following technical scheme: a multi-person riding identification method is characterized in that a plurality of sensors are arranged on a saddle of an electric bicycle and used for sensing pressure values of the saddle at different positions, and one side of the saddle facing a bicycle head is defined as the front side; the multi-person riding identification method comprises the following steps:
acquiring pressure data of a plurality of sensors, wherein the pressure data comprises pressure directions and pressure values;
calculating a position of a center of gravity of the pressure exerted on the saddle based on the acquired pressure data;
judging whether a plurality of people ride on the bicycle or not based on the gravity center position and comparison between the position of the obtained pressure data and the gravity center position or obtaining a pressure gradient model and judging the number of the pressure gradient models;
if so, executing the preset instruction.
Preferably, the sensor is a thin film sensor.
Preferably, the specific steps of acquiring the pressure data of the plurality of sensors are as follows:
each sensor collects data of a preset number of groups;
judging whether the difference value between certain data and a plurality of data behind the data does not exceed 10%, and then calibrating the data as stable data;
the stable data is taken as pressure data acquired by the sensor.
Preferably, the determining whether the plurality of persons ride on the ground based on the position of the center of gravity and the comparison of the position according to the acquired pressure data with the position of the center of gravity specifically includes the steps of:
if the pressure position of the acquired pressure data is behind the gravity center position and the pressure direction is different from the gravity direction, the riding by multiple persons is judged.
Preferably, if it is determined that there is no pressure having a pressure direction different from the gravity direction after the position of the center of gravity, the method further includes the steps of:
obtaining pressure distribution information based on the obtained pressure data;
obtaining a pressure gradient model based on the pressure distribution information;
and judging whether the number of the pressure gradient models is more than one, if so, judging that the number of people riding is more than one, and executing a preset instruction.
Preferably, if a certain pressure value is higher than other pressure values around the certain pressure value in the pressure distribution information in the same pressure direction, it is determined that a pressure gradient model exists in the pressure distribution information.
Preferably, the determining whether or not a plurality of persons ride on the basis of the barycentric position and the number of pressure gradient models around the barycentric position specifically includes the steps of:
and if the number of the pressure gradient models is more than one, judging that the number of people riding is more than one, and executing a preset instruction.
Preferably, the preset instruction is one or more of locking the shared electric bicycle, disconnecting the power supply of the shared electric bicycle and giving an alarm sound.
In order to solve the above technical problems, the present invention provides another technical solution as follows: an electric bicycle comprises a bicycle body and a control system arranged in the bicycle body, wherein the control system comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, the electric bicycle further comprises a saddle provided with a plurality of sensors, and the processor executes the computer program to realize the steps of the multi-person riding identification method.
In order to solve the above technical problems, the present invention provides another technical solution as follows: a computer-readable storage medium storing a computer program which, when executed, implements the steps of the multi-person ride identification method as described above.
Compared with the prior art, the multi-person riding identification method, the electric bicycle and the computer readable storage medium provided by the invention have the following beneficial effects:
1. the saddle of the shared electric bicycle is provided with a plurality of sensors for sensing pressure values at different positions of the saddle, wherein one part of the sensors are mainly arranged on a main bearing surface of the saddle to detect the pressure vertical to the saddle caused by the gravity of a user, and the other part of the sensors are mainly arranged on the side edge of the saddle to detect the pressure applied to the saddle in the horizontal direction of thighs of the user, so that the side of the saddle facing a bicycle head is defined as the front; it is understood that when a user rides on the saddle, the sensors acquire pressure data applied to the saddle by the user and also include position information of the sensors, and the gravity center position can be calculated by the pressure data and the position information acquired by the sensors;
it can be understood that the center of gravity position is generally calculated by the pressure applied to the saddle by the gravity of the user, and by comparing the center of gravity position with the position of the acquired pressure data, it can be understood that if the user rides on the saddle, the leg is placed in front of the body when the user rides on the saddle, so the force applied to the saddle by the thigh of the user is definitely in front of the center of gravity of the user, if the pressure applied to the saddle by the thigh of the user is collected by the sensor positioned behind the center of gravity, the user can be determined to ride on by a plurality of people, and as the pressure data comprises the pressure direction, whether the pressure applied to the saddle by the leg can be determined by the pressure direction;
the pressure distribution of a person on the saddle is a gradual trend which gradually decreases from the center of gravity to the periphery, and whether the person rides by multiple persons can be judged by searching several gradual models.
And the preset instruction is executed when the user rides the electric bicycle, for example, the user cannot ride the electric bicycle to move, so that the problem of potential safety hazard of two persons riding on the saddle at the same time when the user rides multiple persons is solved.
2. The thin film sensor is a flexible thin film sensor with the resistance value reduced along with the increase of the pressure acting on the sensing area, and the magnitude of the pressure value can be obtained through reversely deducing by measuring the resistance value of the thin film sensor.
3. According to the multi-person riding identification method, the stable data are found by collecting the plurality of data, so that the accuracy of calculating and finding the center of gravity is improved, and the efficiency and the accuracy of identifying the multi-person riding are further improved.
4. If the pressure position of the acquired pressure data is behind the gravity center position and the pressure direction is different from the gravity direction, the bicycle is judged to be ridden by multiple persons, understandably, the force exerted on the saddle generally only comprises the gravity of the user and the pressure of the thigh of the user for clamping the saddle, the two force directions are different, and under the condition of one person riding, the thigh is placed in front of the body, so the pressure exerted on the saddle by the thigh is supposed to be in front of the gravity center, if the pressure data exists behind the gravity center position and the pressure direction is different from the gravity direction, the pressure exerted on the saddle by the leg part can be determined to be still stored behind the gravity center position, the bicycle can be judged to be ridden by multiple persons, and if the bicycle has multiple persons to ride at the same time, the situation that the pressure in the gravity center position and the pressure in the gravity direction different from the gravity direction can be detected to be behind the gravity center position
5. According to the invention, after the sensor positioned behind the gravity center position is judged not to acquire the pressure data applied to the saddle, the riding of multiple persons is judged by searching the pressure gradient model, understandably, the riding habits of some users may cause that the sensor does not acquire the pressure data applied to the saddle, and then the judgment is carried out in a second mode so as to enable the judgment result to be more accurate, and when the user rides on the saddle, the pressure distribution is a gradient trend which is gradually reduced from a certain position to the periphery, and whether the riding of multiple persons is carried out can also be determined by judging how many gradient trends exist in the pressure distribution information.
6. According to the invention, if the number of the pressure gradient models is more than one, the number of people riding is judged to be more than one, and understandably, only one pressure gradient model exists if one person rides on the saddle.
7. The bicycle can not be ridden by two or more users by locking the shared electric bicycle or disconnecting the power supply of the shared electric bicycle, so that the problem of potential safety hazards caused by two persons sitting on the saddle at the same time is solved, or the bicycle is reminded by continuous alarm sound that accidents are easily caused by not sitting on the two persons, so that the safety consciousness of the users is improved.
8. The embodiment of the invention also provides an electric bicycle, which has the same beneficial effect as the multi-person riding identification method, and the details are not repeated herein.
9. The embodiment of the invention also provides a computer-readable storage medium, which has the same beneficial effects as the multi-person riding identification method, and the details are not repeated herein.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Figure 1 is a schematic view of a saddle provided by a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating steps of a multi-person riding recognition method according to a first embodiment of the present invention.
Fig. 3 is a graph illustrating a resistance value of the thin film sensor according to the first embodiment of the present invention.
Fig. 4 is a flowchart illustrating a specific step of step S1 of a multi-person riding recognition method according to a first embodiment of the present invention.
Fig. 5 is a flowchart illustrating a step S300 of a multi-person riding recognition method according to a first embodiment of the present invention.
Fig. 6 is a flowchart illustrating steps after step S3 of a multi-person riding recognition method according to a first embodiment of the present invention.
FIG. 7 is a flowchart illustrating a step S301 of a multi-user riding recognition method according to a first embodiment of the present invention
Fig. 8 is a block diagram of an electric bicycle according to a second embodiment of the present invention.
FIG. 9 is a block diagram of a computer-readable storage medium according to a third embodiment of the present invention
The attached drawings indicate the following:
1. a saddle; 2. an electric bicycle; 3. a computer-readable storage medium;
10. a sensor; 21. a control system;
211. a memory; 212. a processor.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, in a saddle 1 applicable to a multi-user riding recognition method according to a first embodiment of the present invention, a plurality of sensors 10 are disposed on the saddle 1 for sensing pressure values at different positions of the saddle, and a side of the saddle 1 facing a vehicle head is defined as a front side.
Wherein, a part of the sensors 10 are arranged on the main bearing surface of the saddle 1, and the other part of the sensors 10 are arranged on the side surface of the saddle 1 close to the main bearing surface, so that understandably, when a user sits on the saddle 1, the user is mainly contacted with the main bearing surface of the saddle 1, therefore, the main bearing surface bears most of the pressure generated by the gravity of the user, the side surface mainly bears the pressure applied to the saddle 1 by the leg of the user, the pressure applied to the saddle 1 by the gravity is different from the pressure applied to the saddle 1 by the leg, and further, the pressure generated by the gravity of the human body or applied by the leg of the human body can be reversely deduced by the pressure direction.
It will be understood that the known saddles 1 almost all have a seat cushion, under which a plurality of sensors 10 are located, on which the user mainly sits when sitting on the saddle, after which the seat cushion is brought into contact with the sensors 10 so that the sensors 10 gather pressure information.
Referring to fig. 2, a first embodiment of the invention provides a multi-user riding recognition method, including the following steps:
s1: acquiring pressure data of a plurality of sensors, wherein the pressure data comprises pressure directions and pressure values;
s2: calculating a position of a center of gravity of the pressure exerted on the saddle based on the acquired pressure data;
s3: judging whether a plurality of people ride on the bicycle or not based on the gravity center position and comparison between the position of the obtained pressure data and the gravity center position or obtaining a pressure gradient model and judging the number of the pressure gradient models;
s4: if so, executing a preset instruction.
It is understood that when a user rides on the saddle, the sensors acquire pressure data applied to the saddle by the user and also include position information of the sensors, and the gravity center position can be calculated by the pressure data and the position information acquired by the sensors;
it can be understood that the center of gravity position is generally calculated by the pressure applied to the saddle by the gravity of the user, and by comparing the center of gravity position with the position of the acquired pressure data, it can be understood that if the user rides on one person, the leg is placed in front of the body when the user rides on the saddle, the force applied to the saddle by the thigh of the user is certainly in front of the center of gravity of the user, and the pressure applied to the saddle by the thigh of the user cannot be acquired by the sensor positioned behind the center of gravity, and if the pressure applied to the saddle by the leg is acquired by the sensor after judging the center of gravity, it can be judged whether the user rides on the saddle by multiple persons.
It can be understood that the pressure distribution of a person on the saddle is a gradual trend which gradually decreases from the center of gravity to the periphery, and whether the person rides by multiple persons can be judged by searching several gradual models.
When the electric bicycle is determined to be ridden by multiple persons, a preset instruction is executed, for example, the user cannot ride the electric bicycle to move, and the like, so that the problem of potential safety hazard of two persons sitting on the saddle at the same time when the saddle is ridden by multiple persons is solved.
It is understood that the position information is used to obtain the pressure distribution information more conveniently, and the position of the center of gravity is also calculated conveniently through the position information.
The position information can be expressed by the position of the coordinates, for example, a rectangular coordinate system or a spatial coordinate system is established by taking a certain point as an origin, and the position of the center of gravity can be calculated conveniently by the coordinate mode.
It is understood that the sensor located behind the center of gravity position is found by comparing the positions of all the sensors one by one with the center of gravity position to determine whether the sensor is located behind the center of gravity.
Referring to fig. 3, further, the sensor is a thin film sensor.
The thin film sensor is a flexible thin film sensor in which the resistance value decreases as the pressure acting on the sensing area increases.
Specifically, in the first embodiment of the present invention, the film sensor uses a film sensor with a range of 20g-6 Kg; the thin film sensor is referred to as the non-triggered state in the conventional absence of pressure, when the resistance of the thin film sensor is greater than 10M ohms, when the resistance of the thin film sensor is less than 200K ohms in the case of 20g of trigger force (20 g of trigger force represents the weight of an object acting vertically on the entire sensor face), and when the resistance of the thin film sensor is less than 1K ohms in the case of 6Kg of trigger force, the resistance of the thin film sensor varies with pressure as shown in fig. 3. Thus a membrane sensor with a range of 20g-6Kg plus the cushioning effect of the saddle's own cushion can be used to measure the weight change of a person from 40Kg to 100 Kg.
It can be understood that according to the resistance value change curve, the voltage dividing circuit is adopted to convert the pressure change into the voltage signal change which is easy to measure, and the voltage signal is sampled by the analog-digital converter and is converted into the digital signal which can be processed by the MCU.
In some embodiments, before step S2, the method may further include the steps of:
judging whether the electric bicycle is unlocked or not; if the lock is unlocked, the sensor starts to acquire pressure data.
It can be understood that the electric bicycle cannot be ridden before the electric bicycle is unlocked, namely, no matter whether the saddle is ridden by a plurality of people, the electric bicycle is unlocked, the electric bicycle is used, pressure data is obtained again, whether the saddle is ridden by a plurality of people is judged, and then the potential safety hazard existing when the saddle is ridden by two or more people is solved.
Referring to fig. 4, the specific steps of step S2 are as follows:
s11: each sensor collects data of a preset number of groups;
s12: judging whether the difference value between certain data and a plurality of data behind the data does not exceed 10%, and then calibrating the data as stable data;
s13: the stable data is taken as pressure data acquired by the sensor.
In one embodiment, the predetermined number of sets is typically 100 sets, wherein the 100 sets of data are collected in time sequence, i.e. the sensor collects data once every certain time, and step S12 represents the data after the data collection time.
In step S12, the interpolation calculation is generally that 10 data after the data are compared and calculated with the data; it is also understood that if the data after the data is in the range of (x-x/10, x + x/10), the data is designated as stable data, assuming that the data is x.
It is understood that how many sets of data are scheduled to be collected can be selected according to specific situations, and the plurality of data compared in step S12 can also be determined according to specific practical situations.
It can be understood that the stable data is used for calculating the position of the center of gravity, and the result is more accurate by finding the stable data and then calculating the center of gravity, thereby improving the efficiency of recognizing the riding of multiple persons.
Further, if a plurality of stable data are calibrated, the stable data at the last of the acquisition time is taken as the pressure data
It will be appreciated that the user sometimes needs to adjust his position while sitting on the saddle, and may also inadvertently touch the saddle before sitting on it causing the sensor to collect pressure data, with the last acquired to ensure that the pressure data collected is more accurate.
In some embodiments, if no difference between any data and the data after the data does not exceed 10% in step S12, the step S11 is repeated to collect a predetermined number of data again, and then the determination of step S12 is performed until at least one stable data is determined to be acquired.
The value in the stable data may be 0, which means that consecutive data in the data acquired by the sensor are all 0, i.e. that the pressure data is not detected at the sensor position.
Further, a barycentric position is calculated and pressure distribution information is obtained based on the pressure data of the sensors and the position corresponding to each sensor.
It will be understood that, in which the pressure exerted by gravity on the saddle when the user is seated on the saddle is mainly borne by the main bearing surface of the saddle, the position of the centre of gravity can be calculated from the pressure data acquired by the first sensor.
In particular, in a particular embodiment, the sensors arranged on the main bearing surface of the saddle are called first sensors, and the sensors arranged on the side passing through the main bearing surface are called second sensors, for distinguishing between the sensors acquiring different pressure information, it being understood that the first sensors are mainly the sensors acquiring the pressure exerted by the user perpendicularly to the saddle and the second sensors are mainly the sensors acquiring the pressure exerted by the user with his thighs horizontally on the saddle. The spacing distance between columns is equal, the spacing distance between the first sensors in each column is also equal, and the spacing distance between the second sensors on the side face is also equal.
The equal spacing distance is set so as to facilitate the acquisition of pressure data in more detail.
It will be understood by those skilled in the art that a different number of first and second sensors may be provided depending on the size and shape of the saddle.
The preset positions can be labeled according to the positions of the rows and the columns, for example, the position of the sensor in the nth row and the mth column is labeled as (n, m), and the data obtained by the sensor is labeled as w,
the position of the center of gravity may be calculated by first determining the position of the center of gravity in the row (N, M), where N and M represent the positions of the center of gravity in the row and column, respectively, as follows: the position of N is calculated to be obtained,
N=(n1×w1+n2×w2+...+ni×wi)/(w1+w2+...+wi)
wherein ni represents the position corresponding to the ith first sensor located on the row, and wi represents the pressure data acquired by the ith first sensor; calculating to obtain the position of M
M=(m1×w1+m2×w2+...+mi×wi)/(w1+w2+...+wi)
Similarly, mi therein indicates a position corresponding to the ith first sensor located in the column.
It will be appreciated that the calculations therein are generally performed by a program, but the principles are similar to those described above. The rows and columns can also be considered as x-axis and y-axis in a rectangular coordinate system.
It will be appreciated that the position of the center of gravity may also be calculated by other means by those skilled in the art.
Referring to fig. 5, further, the step S3 of determining whether more than one person is riding based on the barycentric location and the comparison between the location of the acquired pressure data and the barycentric location includes the following steps:
s300: and if the pressure position of the acquired pressure data is behind the gravity center position and the pressure direction is different from the gravity direction, the riding by multiple persons is judged.
It can be understood that the force applied to the saddle generally only includes the gravity of the user and the pressure of the thigh of the user clamping the saddle, and the directions of the two forces are different, and in the case of one person riding, the thigh is placed in front of the body, then the pressure applied to the saddle by the thigh should be located in front of the gravity center, if there is pressure data behind the gravity center position and the direction of the pressure is different from the direction of gravity, then it can be determined that the pressure applied to the saddle by the leg is still present behind the gravity center position, then it can be determined that many people ride, and many people ride simultaneously, then it is possible to detect that there is pressure different from the direction of gravity behind the gravity center.
Referring to fig. 6, if it is determined in step S3 that there is no pressure with a pressure direction different from the gravity direction after the gravity center position, the method further includes the following steps:
s31: obtaining pressure distribution information based on the obtained pressure data;
s32: obtaining a pressure gradient model based on the pressure distribution information;
s33: and judging whether the number of the pressure gradient models is more than one, if so, judging that the number of people riding is more than one, and executing a preset instruction.
It can be understood that, due to the riding habits of some users, the sensor may not acquire the pressure data horizontally applied to the saddle, and then the judgment result is judged in the second way so as to make the judgment result more accurate, and when the user rides on the saddle, the pressure distribution is a gradual trend that the pressure distribution gradually decreases from a certain position to the periphery, and whether the user rides on the saddle by multiple persons can also be determined by judging how many gradual trends exist in the pressure distribution information.
The pressure distribution information shows the pressure at each position of the saddle, and the image can easily know which position of the saddle is the highest pressure or which position is low pressure.
Further, the specific steps of obtaining the pressure gradient model based on the pressure distribution information are as follows:
if some pressure data is higher than other pressure data around the pressure data in the pressure distribution information, it is determined that one pressure gradient model exists in the pressure distribution information.
The pressure gradient model can be understood as a gradient trend that the pressure gradually decreases from a certain position to the periphery.
It can be understood that the multi-person riding is judged by searching a pressure gradient model, wherein when a user rides on the saddle, the pressure distribution is a gradient trend which gradually decreases from a certain position to the periphery, and whether the multi-person riding is judged by searching several gradient models.
Referring to fig. 7, further, the step S3 of "determining whether more than one person is riding based on the barycentric location and the number of pressure gradient models around the barycentric location" includes the following steps:
s301: and if the number of the pressure gradient models is more than one, judging that the number of people riding is more than one, and executing a preset instruction.
It is understood that when the user rides on the saddle, the pressure distribution is a gradual trend which gradually decreases from a certain position to the periphery, and whether the user rides on multiple persons can be determined by judging how much the pressure distribution information has the gradual trend.
It will be understood that if a person sits on the saddle, there will be only one pressure gradient pattern.
And further the preset instruction is one or more of locking the shared electric bicycle, disconnecting the power supply of the shared electric bicycle and giving an alarm sound.
Understandably, if have the condition that many people took on the saddle, the inertia grow of car, wayward, can not in time make the reaction cause the accident under emergency, then can't ride when making to take two and above users through pinning sharing electric bicycle or breaking off sharing electric bicycle power to solve and take two people simultaneously on the saddle and probably cause the potential safety hazard problem, perhaps remind not to take two people through continuous alarm sound, cause the accident easily.
Referring to fig. 8, a bicycle 2 according to a second embodiment of the present invention includes a body (not shown), a control system 21 disposed in the body, and a saddle 1 according to the first embodiment, where the control system 21 includes a memory 211, a processor 212, and a computer program stored in the memory 211 and running on the processor, and the processor 212 implements the steps of the multi-person riding recognition method as described above when executing the computer program.
Referring to fig. 9, a computer-readable storage medium 3 according to a third embodiment of the present invention stores a computer program (not shown), and the computer program implements the steps of the multi-person riding recognition method when executed.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The flowchart and block diagrams in the figures of the present application illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Compared with the prior art, the multi-person riding identification method, the electric bicycle and the computer readable storage medium provided by the invention have the following beneficial effects:
1. the saddle of the shared electric bicycle is provided with a plurality of sensors for sensing pressure values at different positions of the saddle, wherein one part of the sensors are mainly arranged on a main bearing surface of the saddle to detect the pressure vertical to the saddle caused by the gravity of a user, and the other part of the sensors are mainly arranged on the side edge of the saddle to detect the pressure applied to the saddle in the horizontal direction of thighs of the user, so that the side of the saddle facing a bicycle head is defined as the front; it is understood that when a user rides on the saddle, the sensors acquire pressure data applied to the saddle by the user and also include position information of the sensors, and the gravity center position can be calculated by the pressure data and the position information acquired by the sensors;
it can be understood that the center of gravity position is generally calculated by the pressure applied to the saddle by the gravity of the user, and by comparing the center of gravity position with the position of the acquired pressure data, it can be understood that if the user rides on the saddle, the leg is placed in front of the body when the user rides on the saddle, so the force applied to the saddle by the thigh of the user is definitely in front of the center of gravity of the user, if the pressure applied to the saddle by the thigh of the user is collected by the sensor positioned behind the center of gravity, the user can be determined to ride on by a plurality of people, and as the pressure data comprises the pressure direction, whether the pressure applied to the saddle by the leg can be determined by the pressure direction;
the pressure distribution of a person on the saddle is a gradual trend which gradually decreases from the center of gravity to the periphery, and whether the person rides by multiple persons can be judged by searching several gradual models.
And the preset instruction is executed when the user rides the electric bicycle, for example, the user cannot ride the electric bicycle to move, so that the problem of potential safety hazard of two persons riding on the saddle at the same time when the user rides multiple persons is solved.
2. The thin film sensor is a flexible thin film sensor with the resistance value reduced along with the increase of the pressure acting on the sensing area, and the magnitude of the pressure value can be obtained through reversely deducing by measuring the resistance value of the thin film sensor.
3. According to the multi-person riding identification method, the stable data are found by collecting the plurality of data, so that the accuracy of calculating and finding the center of gravity is improved, and the efficiency and the accuracy of identifying the multi-person riding are further improved.
4. If the pressure position of the acquired pressure data is behind the gravity center position and the pressure direction is different from the gravity direction, the bicycle is judged to be ridden by multiple persons, understandably, the force exerted on the saddle generally only comprises the gravity of the user and the pressure of the thigh of the user for clamping the saddle, the two force directions are different, and under the condition of one person riding, the thigh is placed in front of the body, so the pressure exerted on the saddle by the thigh is supposed to be in front of the gravity center, if the pressure data exists behind the gravity center position and the pressure direction is different from the gravity direction, the pressure exerted on the saddle by the leg part can be determined to be still stored behind the gravity center position, the bicycle can be judged to be ridden by multiple persons, and if the bicycle has multiple persons to ride at the same time, the situation that the pressure in the gravity center position and the pressure in the gravity direction different from the gravity direction can be detected to be behind the gravity center position
5. According to the invention, after the sensor positioned behind the gravity center position is judged not to acquire the pressure data applied to the saddle, the multi-person riding is judged by searching the pressure gradual change model, understandably, the riding habits of some users may cause that the sensor does not acquire the pressure data applied to the saddle, the judgment result is more accurate through the second mode judgment, and when the user rides on the saddle, the pressure distribution is a gradual trend gradually reduced from a certain position to the periphery, and whether the riding is performed by multiple persons can also be determined by judging the gradual trend of the pressure distribution information.
6. According to the invention, if the number of the pressure gradient models is more than one, the number of people riding is judged to be more than one, and understandably, only one pressure gradient model exists if one person rides on the saddle.
7. The bicycle can not be ridden by two or more users by locking the shared electric bicycle or disconnecting the power supply of the shared electric bicycle, so that the problem of potential safety hazards caused by two persons sitting on the saddle at the same time is solved, or the bicycle is reminded by continuous alarm sound that accidents are easily caused by not sitting on the two persons, so that the safety consciousness of the users is improved.
8. The embodiment of the invention also provides an electric bicycle, which has the same beneficial effects as the multi-person riding identification method, and the details are not repeated herein.
9. The embodiment of the invention also provides a computer-readable storage medium, which has the same beneficial effects as the multi-person riding identification method, and the details are not repeated herein.
The multi-person riding recognition method, the electric bicycle and the computer-readable storage medium disclosed by the embodiment of the invention are introduced in detail, a specific embodiment is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for the persons skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present description should not be construed as a limitation to the present invention, and any modification, equivalent replacement, and improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A multi-person riding identification method is characterized in that: the saddle of the electric bicycle is provided with a plurality of sensors for sensing pressure values at different positions of the saddle, and one side of the saddle facing the bicycle head is defined as the front side; the multi-person riding identification method comprises the following steps:
acquiring pressure data of a plurality of sensors, wherein the pressure data comprises pressure directions and pressure values;
calculating a position of a center of gravity of the pressure exerted on the saddle based on the acquired pressure data;
judging whether a plurality of persons ride on the bicycle or not based on the barycentric position and comparison between the position of the obtained pressure data and the barycentric position or obtaining pressure gradient models and judging the number of the pressure gradient models;
if so, executing a preset instruction.
2. The multi-person riding recognition method of claim 1, wherein: the sensor is a thin film sensor.
3. The multi-person riding recognition method of claim 1, wherein: the specific steps for acquiring the pressure data of the plurality of sensors are as follows:
each sensor collects data of a preset number of groups;
judging whether the difference value between certain data and a plurality of data behind the data does not exceed 10%, and then calibrating the data as stable data;
the stable data is taken as pressure data acquired by the sensor.
4. The multi-person riding recognition method of claim 1, wherein: the step of determining whether a plurality of persons ride on the vehicle based on the position of the center of gravity and the comparison of the position of the acquired pressure data with the position of the center of gravity specifically comprises the steps of:
and if the pressure position of the acquired pressure data is behind the gravity center position and the pressure direction is different from the gravity direction, the riding by multiple persons is judged.
5. The multi-person riding recognition method of claim 4, wherein: if it is judged that there is no pressure having a pressure direction different from the gravity direction after the position of the center of gravity, the method further includes the following steps:
obtaining pressure distribution information based on the obtained pressure data;
obtaining a pressure gradient model based on the pressure distribution information;
and judging whether the number of the pressure gradient models is more than one, if so, judging that the number of riding people is more than one, and executing a preset instruction.
6. The multi-person riding recognition method of claim 5, wherein: if a certain pressure value in the pressure distribution information is higher than other pressure values around the pressure value in the same pressure direction, determining that a pressure gradual change model exists in the pressure distribution information.
7. The multi-person riding recognition method according to claim 1, wherein: the step of determining whether a plurality of persons ride on the vehicle based on the gravity center position and the number of the pressure gradient models around the gravity center position specifically includes the steps of:
and if the number of the pressure gradient models is more than one, judging that the number of people riding is more than one, and executing a preset instruction.
8. The multi-person riding recognition method of claim 1, wherein: the preset instruction is one or more of locking the electric bicycle, disconnecting the power supply of the electric bicycle and giving out alarm sound.
9. An electric bicycle, its characterized in that: comprising a body and a control system arranged inside the body, said control system comprising a memory, a processor, and a computer program stored in said memory and executable on said processor, said electric bicycle further comprising a saddle provided with a plurality of sensors, said processor implementing the steps of the multi-person ride recognition method according to any one of claims 1 to 8 when executing said computer program.
10. A computer-readable storage medium characterized by: the computer readable storage medium stores a computer program which when executed implements the steps of the multi-person ride identification method according to any one of claims 1 to 8.
CN202210159861.9A 2022-02-22 2022-02-22 Multi-person riding identification method, electric bicycle and computer readable storage medium Pending CN114537570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210159861.9A CN114537570A (en) 2022-02-22 2022-02-22 Multi-person riding identification method, electric bicycle and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210159861.9A CN114537570A (en) 2022-02-22 2022-02-22 Multi-person riding identification method, electric bicycle and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114537570A true CN114537570A (en) 2022-05-27

Family

ID=81676930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210159861.9A Pending CN114537570A (en) 2022-02-22 2022-02-22 Multi-person riding identification method, electric bicycle and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114537570A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040035630A1 (en) * 2002-05-25 2004-02-26 Thomas Lich Apparatus for detecting an occupant of a two-wheeled motor vehicle
JP2015020480A (en) * 2013-07-17 2015-02-02 株式会社フジクラ Motor cycle seat device and motor cycle
CN112208692A (en) * 2020-10-16 2021-01-12 湖南喜宝达信息科技有限公司 Multi-person riding detection method, electric bicycle and computer readable storage medium
CN113029313A (en) * 2021-03-09 2021-06-25 赖文豪 Induction system for avoiding double riding sharing battery car
CN113962018A (en) * 2021-09-13 2022-01-21 武汉小安科技有限公司 Electric bicycle load detection method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040035630A1 (en) * 2002-05-25 2004-02-26 Thomas Lich Apparatus for detecting an occupant of a two-wheeled motor vehicle
JP2015020480A (en) * 2013-07-17 2015-02-02 株式会社フジクラ Motor cycle seat device and motor cycle
CN112208692A (en) * 2020-10-16 2021-01-12 湖南喜宝达信息科技有限公司 Multi-person riding detection method, electric bicycle and computer readable storage medium
CN113029313A (en) * 2021-03-09 2021-06-25 赖文豪 Induction system for avoiding double riding sharing battery car
CN113962018A (en) * 2021-09-13 2022-01-21 武汉小安科技有限公司 Electric bicycle load detection method and device

Similar Documents

Publication Publication Date Title
CN108372785B (en) Image recognition-based automobile unsafe driving detection device and detection method
US6116640A (en) Apparatus for detecting occupant's posture
CN112208692B (en) Multi-person riding detection method, electric bicycle and computer readable storage medium
JP7376038B2 (en) Seating posture determination device, chair, sitting posture determination method, program
CN104361321A (en) Methods of judging fall behaviors and body balance for old people
Guo et al. A threshold-based algorithm of fall detection using a wearable device with tri-axial accelerometer and gyroscope
CN112829864A (en) Single-vehicle manned detection method and system
JP5330143B2 (en) Moving form discriminating method, moving form discriminating apparatus, and calorie consumption calculating method
CN114537570A (en) Multi-person riding identification method, electric bicycle and computer readable storage medium
CN113947783A (en) Personnel riding monitoring management method and system
KR100686564B1 (en) Apparatus for detecting occupant's posture
WO2013157609A1 (en) Vehicle seat
Ding et al. Estimation of driver's posture using pressure distribution sensors in driving simulator and on-road experiment
JP4899725B2 (en) Step counting device
JP2012166579A (en) Device and method for determining state, and program
US6808200B2 (en) Method for occupant classification in a motor vehicle
JP2020009179A (en) Abnormality determination device
CN205661417U (en) Safety belt uses recognition device
CN109948679B (en) Vehicle seat object classification method and device and electronic equipment
JP2002193008A (en) Occupant classifying method and device using seat mat on vehicular seat
US6567732B2 (en) Method and a device for evaluating sensor signals from a seat mat in a vehicle seat
US20040051376A1 (en) Method for weighting a seat profile
CN113344118A (en) Bicycle gray fault detection system and detection method
CN113361452A (en) Driver fatigue driving real-time detection method and system based on deep learning
CN216969861U (en) Saddle and two-wheel vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20230403

Address after: 2501-04, 22nd Floor, Building 1, No. 16 Guangshun South Street, Chaoyang District, Beijing, 100000

Applicant after: Beijing apoco Blue Technology Co.,Ltd.

Applicant after: Hefei pinecone Zhizao Intelligent Technology Co.,Ltd.

Address before: 100020 2201-05, 20th floor, building 1, yard 16, Guangshun South Street, Chaoyang District, Beijing

Applicant before: Beijing apoco Blue Technology Co.,Ltd.

TA01 Transfer of patent application right