The present application claims the benefit under 35 U.S.C. § 119 of German Patent Application No. DE 10 2021 203 686.4 filed on Apr. 14, 2021, which is expressly incorporated herein by reference in its entirety.
The present invention relates to a method for ascertaining a state of operating dynamics of a bicycle, the method including the steps
The present invention further relates to a device for ascertaining a state of operating dynamics of a bicycle, including an inertial measuring device configured to provide signals regarding an acceleration in at least one spatial direction and regarding a rate of rotation about at least one spatial direction, an incremental encoder configured to provide speed signals, and a state determination device configured to ascertain the state of operating dynamics on the basis of an estimation method, in light of the supplied signals.
The present invention further relates to a bicycle.
Although applicable to any estimation methods, the present invention is described with regard to estimation methods utilizing Kalman filters.
Although applicable to any bicycles, in particular, e-bikes, pedelecs, motorcycles, and the like, the present invention is described with regard to e-bikes.
Important variables, which describe the dynamic response and/or state of operating dynamics of an e-bike, include, inter alia, the speed variable or also the roll angle variable, which represents the lateral inclination of the bicycle. On one hand, this allows different functions of the e-bike to be improved; on the other hand, some functions are only possible through exact knowledge of the states of operating dynamics. However, as a rule, these states of operating dynamics are not able to be measured directly, and/or the equipment necessary for measuring the same is, on one hand, too large to install in the e-bike and, on the other hand, overly expensive, as well.
In order to determine a state of operating dynamics, it is conventional, for example, that cameras or GPS, inertial sensor systems, or also speed sensors may be used, and that the data of the sensors may be evaluated; depending on the presence of corresponding sensors, high-resolution signals of the sensors being necessary, which are, in turn, expensive.
In one specific example embodiment, the present invention provides a method for ascertaining a state of operating dynamics of a bicycle, including the steps
In a further specific example embodiment, the present invention provides a device for ascertaining a state of operating dynamics of a bicycle, including an inertial measuring device configured to provide signals regarding an acceleration in at least one spatial direction and regarding a rate of rotation about at least one spatial direction, an incremental encoder configured to provide speed signals, and a state determination device configured to ascertain the state of operating dynamics on the basis of an estimation method, in light of the provided signals; the current riding state being ascertained, and in the case of a dead stop of the bicycle as a current, ascertained riding state, substitute speed signals being used in place of the speed signals of the incremental encoder, in order to estimate the state of operating dynamics for the estimation method.
In a further specific example embodiment, the present invention provides a bicycle including a device disclosed herein.
One of the advantages consequently possible is that precise estimation of the states of operating dynamics of the bicycle is enabled in every riding state, in particular, at both high and low speeds, on inclines, etc. A further advantage is that drift of the estimate of the speed is prevented, in particular, at a dead stop and/or at very low speeds. By supplying substitute speed signals, the state of operating dynamics may continue to be determined reliably and accurately. In this manner, use of a different estimation method during a dead stop is obviated. One further advantage is that during the transition from a dead stop to a riding state having a positive speed, reliable determination of the state of operating dynamics is likewise enabled, since it is not necessary to correct the drifted, estimated speed signal because of the provision of the substitute speed signals.
The term “bicycle” is to be understood in the broadest sense, and, in particular, in the description, relates to bicycles having at least two wheels, which may be operated manually and/or with the aid of a drive unit. In particular, e-bikes, pedelecs, and motorcycles are to be understood by the term “bicycle.”
Further features, advantages and additional specific embodiments of the present invention are described in the following or become apparent from it.
According to an advantageous further refinement of the present invention, the state of operating dynamics is ascertained with the aid of at least one of the variables displacement, yaw rate, roll angle, and/or pitch angle, as well as a first derivative of the specific variable with respect to time. This allows the specific state of operating dynamics to be determined in a reliable and sufficiently accurate manner.
According to a further advantageous refinement of the present invention, a second derivative of the specific variable with respect to time is additionally ascertained for estimating the state of operating dynamics. One of the advantages rendered possible by that is a more accurate determination of states of operating dynamics.
According to another advantageous further refinement of the present invention, possible changes in the variables, in particular, their second derivative with respect to time, are taken into consideration, using additional noise terms, in order to estimate the state of operating dynamics. Consequently, inaccuracies in the modeling and/or during the determination of the state of operating dynamics may be taken into account in a simple manner.
According to another advantageous further refinement of the present invention, the dead stop of the bicycle is determined with the aid of
This renders a determination and/or detection of a dead stop possible in a simple and simultaneously reliable manner.
According to another advantageous further refinement of the present invention, the estimation method includes the use of a Kalman filter, in particular, a nonlinear Kalman filter. An advantage of this is a sufficient accuracy of the estimate, while the required computational resources are simultaneously justifiable.
According to another advantageous further refinement of the present invention, the incremental encoder is provided in the form of a monopulse incremental encoder including, in particular, a reed contact and/or a rim magnet on a wheel of the bicycle. An advantage of this is a simple and inexpensive incremental encoder.
According to another advantageous further refinement of the present invention, in the estimation method, the state of operating dynamics is estimated with the aid of a model, and in the case of changed, measured values, the estimated state of operating dynamics is adjusted in light of the signals. This renders a reliable and accurate estimate of the state of operating dynamics possible.
According to another advantageous further refinement of the present invention, the state of operating dynamics is ascertained with the aid of at least one sensor-specific parameter of a sensor, in particular, the offset of the sensor and/or position of the sensor on the vehicle. Consequently, an even more accurate determination of the riding state is possible.
According to another advantageous further refinement of the present invention, a lateral and/or vertical speed of a rear wheel of the bicycle is neglected in the determination of the current riding state. An advantage of this is a simpler and more rapid determination of the state of operating dynamics.
Additional, important features and advantages of the present invention are disclosed herein or are derived therefrom in view of the disclosure.
It is understood that the features mentioned above and still to be explained below may be used not only in the respectively indicated combination, but also in other combinations, or by themselves, without departing from the scope of the present invention.
Preferred variants and specific embodiments of the present invention are shown in the figures and are explained in more detail in the following description, where identical reference numerals denote the same or similar or functionally identical components or elements.
In
The high level of agreement of the estimated values of each variable with the reference values, as well as the low, respective, absolute error of the estimated variable, are readily apparent.
In this case, the estimation method for estimating the state of operating dynamics of a bicycle having a front and rear wheel is based on a nonlinear Kalman filter including state limitations for use with a bicycle. In this connection, the estimation method uses information about the current riding state, in particular, “moving” or “stopped,” in order to add pseudo-measurements of the speed, that is, substitute speed signals, during stoppage, and thus, to prevent drift of the speed signal at a dead stop. No signals of the incremental encoder are generated during stoppage, which may result in drift of the estimated speed. By adding the pseudo-measurements or substitute speed signals, it is possible to continue determining all of the states of the bicycle; in particular, a second Kalman filter does not have to be used. This also eliminates the need for a switchover between Kalman filters.
In particular, in a Kalman filter, the state vector for the state of operating dynamics is estimated in a prediction step with the aid of a system model. If new measured values are available, the estimated state is subsequently corrected with the aid of a measuring model and the available measured values. For accurate estimation of, for example, the states of speed, roll angle, pitch angle, and yaw rate, further states, which occur in the exact measuring model, must also be estimated. The vector of the estimated states is put together as follows:
In this connection, the distance covered by the contact point of the rear wheel is s, the speed of the rear-wheel contact point in the direction of the bicycle is vx (corresponds to the bicycle speed), the acceleration of the rear-wheel contact point in the direction of the bicycle is ax, the yaw rate is {dot over (ψ)}, the yaw acceleration is {umlaut over (ψ)}, the roll angle is φ, the roll rate is {dot over (φ)}, the roll acceleration is {umlaut over (φ)}, the pitch angle is θ, the pitch rate is {dot over (θ)}, and the pitch acceleration is {umlaut over (θ)}.
This state vector may even be expanded by further states, such as sensor offsets or system parameters, in this case, for example, the position of an inertial measuring unit for measuring acceleration and rate of rotation, if these are also intended to be estimated.
In the following, the order of rotation is yaw-roll-pitch, the inertial system is a north-east-down system, the bicycle system has its origin at the hub of the rear wheel, the x-axis of the bicycle system points in the direction of travel, the y-axis points to the right, and the z-axis points downwards.
Now, the continuous system model of the Kalman filter is as follows:
In this connection, wa, w{umlaut over (ψ)}, w{umlaut over (φ)}, and w{umlaut over (θ)} describe noise terms in the model for the different accelerations. The noise terms are used for taking inaccuracies in the modelling of the system into account. The accelerations are modeled as if they would not change, the noise term allows a change within certain limits.
In order to be able to use the system model for the prediction step of the Kalman filter, it is discretized with the aid of conventional methods.
Measuring models of the different sensors are utilized for the correction step of the Kalman filter.
The following measuring model is obtained for the reed sensor:
θR=−s/rR−θ
where rR is the radius of the rear wheel, and θR is the angle of rotation of the rear wheel. This angle of rotation of the rear wheel is updated, when a new reed pulse (and/or another pulse) is available:
θR,new=θR,last Pulse+2π
The measuring model of the rate-of-rotation sensor is as follows:
The state limitations of the bicycle have an influence on the measuring model of the acceleration sensor. In this context, it is assumed, in particular, that the rear wheel has no lateral slip, that is, the lateral speed of the rear-wheel contact point vy=0.
To derive the measuring model of the acceleration sensor, the position of the inertial measuring unit in the bicycle coordinate system and in the inertial/world coordinate system is initially determined. In this context, in the following, the z-dynamics and the accompanying change in the z-coordinate in the inertial/world coordinate system of the bicycle are neglected.
The distances xIMU, yIMU and zIMU between the rear-wheel hub and the inertial measuring unit are fixed, x and y are the coordinates of the rear-wheel contact point in the inertial system. R is the rotation matrix, which describes the position of the bicycle in space.
The speed of the inertial measuring unit is obtained by differentiating the position of the inertial measuring unit with respect to time:
In this, {dot over (x)} and {dot over (y)} (speeds of the rear-wheel contact point) are replaced by
Since, as explained above, it is assumed that there is no slip of the rear wheel, the lateral speed is set to zero (vy=0). By further differentiating with respect to time, the acceleration of the sensor in world coordinates is obtained.
In order to obtain the measuring model for the acceleration sensor, gravitational acceleration g is taken into account, and with the aid of rotation matrix R, which describes the position of the bicycle, the accelerations are rotated into the sensor coordinate system:
The measuring equation of the acceleration sensor is independent of the coordinates of the rear-wheel contact point (x, y) and of yaw angle ψ and may therefore be represented by the states described above. The specific measurements and measuring models are only used for the correction step, if new information is present in the corresponding sensor.
In order to prevent drift of the speed signal at a dead stop, when no more pulses of the incremental encoder occur, the dead stop must initially be detected. One or more of the following options may be used for this:
If a dead stop is detected, then a pseudo-measurement of the speed and/or substitute speed signals are transmitted to the Kalman filter. This results in the estimated speed signal approaching zero at a dead stop.
The corresponding measuring model is:
{dot over (θ)}R=−vx/rR−{dot over (θ)}
In one further specific embodiment, the state vector may be reduced by three states, by neglecting angular accelerations {umlaut over (ψ)}, {umlaut over (φ)}, and {umlaut over (θ)} in the measuring equation of the acceleration sensor. Then, the system model is correspondingly adjusted, using “constant rates of rotation” instead of “constant angular accelerations.” This leads to improved efficiency of the estimation method.
In one further specific embodiment, the z-dynamics of the bicycle may additionally be considered. In this connection, in particular, the assumption is made that the rear wheel of the bicycle is constantly in contact with the roadway, that is, does not become airborne. Accordingly, it is assumed that the vertical speed of the rear-wheel contact point is zero (vz=0). This assumption has an influence on the derivation of the acceleration measuring equation aIMU. In addition, the grade of the roadway and/or the pitch angle of the bicycle is further taken into account in the conversion of the speeds from inertial/world coordinates to bicycle coordinates.
As described,
Reference values 1 and estimates 2, 3 of the speed over a time window are plotted in
In detail,
In this context, the method includes the steps
In summary, at least one of the specific embodiments of the present invention includes at least one of the following features and/or provides at least one of the following advantages:
Although the present invention was described in light of preferred exemplary embodiments, it is not limited to them, but is modifiable in numerous ways.
Number | Date | Country | Kind |
---|---|---|---|
10 2021 203 686.4 | Apr 2021 | DE | national |