Device for determining the angular speed of a bicycle wheel and the pedaling cadence applied to the pedals of said bicycle
10989730 · 2021-04-27
Assignee
Inventors
- Matteo Corno (Milan, IT)
- Simone Formentin (Busto Arsizio, IT)
- Gianmarco Rallo (Marsala, IT)
- Sergio Matteo Savaresi (Cremona, IT)
- Fabio Todeschini (Lecco, IT)
Cpc classification
A63B69/16
HUMAN NECESSITIES
B62J43/30
PERFORMING OPERATIONS; TRANSPORTING
International classification
A63B69/16
HUMAN NECESSITIES
B62J45/40
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A device for determining a kinematic magnitude of a bicycle and a rate of the pedal-thrust exerted by a user on the pedals of the bicycle includes a sensor of the bicycle, adapted to be associated to the bicycle, suitable for detecting the bicycle kinematic magnitude (ω.sub.i) and for generating a signal representative of the bicycle kinematic magnitude; a filter connected to the sensor of the bicycle kinematic magnitude, configured for receiving at the input the signal representative of the bicycle kinematic magnitude (ω.sub.i) and for supplying, at the output, an optimized signal (ω.sub.opt) of the bicycle kinematic magnitude; and a module for the frequency-analysis of the optimized signal (ω.sub.opt) of the bicycle kinematic magnitude, connected to the filter.
Claims
1. Device for determining an angular speed of a bicycle wheel and a pedaling cadence applied by a user to the pedals of said bicycle, said device comprising: a sensor of said angular speed of the bicycle wheel, adapted to be coupled to said bicycle wheel, suitable for detecting said angular speed of the bicycle wheel (ω.sub.i) and for generating a signal representative of said angular speed of the bicycle wheel, wherein said sensor of the angular speed of the bicycle wheel comprises: a moving part, adapted to be rotatively integral with the wheel of the bicycle and provided with a plurality of reference elements integral with the moving part; a fixed part adapted to be associated to a bicycle frame, comprising means for detecting the transits of said reference elements near the detecting means and for generating a signal representing said transits; a control module configured for determining said angular speed of the bicycle wheel (ω.sub.i) and for generating said signal representing the angular speed of the bicycle wheel, based on said signal representing said transits; a filter connected to said sensor of the angular speed of the bicycle wheel, configured for receiving at the input said signal representative of the angular speed of the bicycle wheel (ω.sub.i) and for supplying at the output an optimized signal (ω.sup.opt) of the angular speed of the bicycle wheel obtained by eliminating from the signal representative of the angular speed of the bicycle wheel (ω.sub.i) estimated errors (ϑ.sub.i) correlated to the structure of said sensor of the angular speed of the bicycle wheel, wherein said filter is configured for estimating an angular error ({circumflex over (ϑ)}.sub.i) for each couple of reference elements of said plurality of reference elements integral with the moving part of the angular speed sensor from said signal representing the angular speed of the wheel (ω.sub.i) and from an average speed ({circumflex over (ω)}.sub.i.sup.0) estimated based on the time of revolution (Δt.sub.i.sup.rev) of said couple of reference elements, the optimized signal of the angular speed of the bicycle wheel (ω.sup.opt) being obtained from said estimated angular error ({circumflex over (ϑ)}.sub.i); a module for the frequency analysis of said optimized signal (ω.sup.opt) of the angular speed of the bicycle wheel connected to said filter, configured for determining said pedaling cadence based on the frequency analysis of said optimized signal (ω.sup.opt) of the angular speed of the bicycle wheel and for supplying a signal representative of said pedaling cadence (C).
2. Device according to claim 1, wherein said sensor of the angular speed of the bicycle wheel is an inductive sensor comprising a phonic wheel, adapted to be rotatably integral with the rotating wheel of the bicycle and provided with a plurality of permanent magnets, substantially uniformly distributed on the circumference of the phonic wheel, and a sensor body, adapted to be integral with the bicycle frame, comprising a Hall effect sensor suitable for detecting the transits of said permanent magnets near said Hall effect sensor and for generating a signal representative of said transits.
3. Device according to claim 2, wherein said sensor of the angular speed of the bicycle wheel comprises a battery and at least one auxiliary inductor, suitable for supplying an induced supply current to said battery, generated as an effect of the movement of said permanent magnets with respect to said auxiliary inductor.
4. Device according to claim 1, wherein said filter is an adaptive filter implementing a recursive least squares algorithm for the recursive estimate of said angular error (ϑ.sub.i*).
5. Device according to claim 1, wherein said module for the frequency analysis comprises an extended Kalman filter for determining the pedaling cadence (C), based on said optimized signal (ω.sup.opt) of the angular speed of the bicycle wheel.
6. Device according to claim 1, wherein said frequency analysis module comprises an extended Kalman filter for determining the transmission ratio, based on said optimized signal (ω.sup.opt) of the angular speed of the bicycle wheel, wherein said pedaling cadence (C) is determined based on said transmission ratio determined by the extended Kalman filter.
7. Device according to claim 1, wherein said frequency analysis module comprises a band-pass filter, adapted to filter the optimized signal (ω.sup.opt) of the angular speed of the bicycle wheel in a predetermined frequency band.
8. Device (1) according to claim 1, further comprising a module for determining the free wheel condition, configured for supplying a signal representative of the pedaling cadence null, which replaces the signal representative of the pedaling cadence supplied by the frequency analysis module of said optimized signal of the angular speed of the bicycle wheel, in the presence of said free wheel condition.
9. Bicycle comprising a device according to claim 1.
Description
BRIEF DESCRIPTION OF THE FIGURES
(1) To better understand the invention and appreciate its advantages, some of its non-limiting exemplary embodiments will be described below, referring to the attached figures, wherein:
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION
(7) With reference to the schematic illustration of
(8) Device 1 comprises an angular speed sensor 2 adapted to be associated to said bicycle wheel, in particular to the driving wheel, usually the rear wheel, connected to the pedals via a transmission, comprising, for example, a chain transmission and preferably provided with a free-wheel mechanism. The transmission is in particular with variable ratios, so that the rider can change the transmission ratio between the pedals and the driving wheel. The speed sensor 2 is suitable for detecting the angular speed w of the wheel, to which it is associated, and for generating a signal representative of said speed.
(9) The speed sensor 2 can be variously configured. With reference to
ω=α.sub.nom/Δt (1)
(10) wherein:
(11) ω is the wheel angular speed expressed in rad/s;
(12) α.sub.nom is the nominal angular distance, assumed constant, between consecutive permanent magnets. If the number of permanent magnets is equal to L (and if, according to the preferred embodiment previously described, they have alternating polarity and if the time interval Δt, as previously defined, is acquired when the digital signal is 1 as well as when the signal is 0), said nominal angular distance, expressed in radians, is given by:
(13)
(14) The control module 6 of the speed sensor 2 provides, therefore, an output signal representative of the wheel angular speed ω, determined through the previously explained methods.
(15) In accordance with a possible embodiment, the speed sensor 2 comprises an inductor 9 suitable for detecting the transit of one of the permanent magnets 4 and for generating an induced current consequent to the transit, as well as a switch-on module 10 configured for activating the speed sensor 2 as a result of the transit of a predetermined number of permanent magnets near the inductor 9.
(16) In accordance with a possible embodiment, the angular speed sensor 2 comprises a battery 11 for supplying the sensor itself. Advantageously, the speed sensor 2 further comprises one or more auxiliary inductors 12 suitable for generating an induced current consequent to the transit of the permanent magnets 4 nearby, which can be exploited for recharging the battery 11 itself. The previously mentioned inductor 9 can be used itself as an auxiliary inductor for recharging the battery. Between the auxiliary inductors 12 and the battery 11, an appropriate electronic circuit 18 can be used for processing the electric current induced in the auxiliary inductors 12, so that this is suitable for supplying battery 11. Said electronic circuit may comprise, in particular, a rectifier and a power converter. The energy storage system described naturally causes a small resistant torque on the wheel itself, which, however, will be substantially irrelevant and almost imperceptible to the cyclist.
(17) Note that, as an alternative to the phonic wheel speed sensor and to the Hall effect sensor, different speed sensors may be used generically comprising a moving part, fixed in rotation to the bicycle wheel and equipped with a set of reference elements linked with the moving part, and a fixed part associated to the bicycle frame, which in turn comprises elements for detecting the transits of such reference elements near the fixed part and for generating a signal representative of such transits, as well as a control module configured for determining the angular speed of the wheel and for generating the signal representative of the wheel angular speed based on said signal representative of such transits. For example, said type of speed sensor (not shown in the figures) may comprise an encoder, having a moving body equipped with a predefined number of notches, associated with the wheel, and an optical system for detecting and counting the notches that pass near the optical system.
(18) Note also that, however, different kinds of speed sensors can be used, such as, for example, tachometric dynamos.
(19) With reference again to
α.sub.i=α.sub.nom+ϑ.sub.i (3)
(20) wherein ϑ.sub.i is the error with respect to the nominal angular distance α.sub.nom of the i-th pair of consecutive magnets. From (3) it follows that the effective speed of the wheel ω.sup.opt, determined from each pair of consecutive magnets, is given by:
(21)
(22) wherein Δt.sub.i is the time that elapses between the transit, for example, of the first and second permanent magnets of the i-th pair of consecutive magnets near the Hall effect sensor 7.
(23) Therefore, in order to determine the effective angular speed of rotation, the error value ϑ.sub.i should be estimated for each pair of consecutive magnets. Said function is performed by the filter 13.
(24) The filter 13 operates in the following manner. For each pair i of consecutive magnets an average speed {circumflex over (ω)}.sub.i.sup.0 according to the revolution time Δt.sub.i.sup.rev is estimated, i.e. according to the time that elapses between two consecutive transits near the Hall effect sensor:
(25)
(26) Consequently, from the error ê.sub.t between the estimated average speed {circumflex over (ω)}.sub.i.sup.0 and the rotation effective angular speed ω.sub.i detected by the speed sensor with reference to the i-th pair of magnets, it is possible to estimate an error {circumflex over (ϑ)}.sub.i with respect to the nominal angular distance α.sub.nom of the i-th pair of consecutive magnets, as follows:
(27)
(28) from which it follows that:
{circumflex over (ϑ)}.sub.i=Δt.sub.i.Math.ê.sub.i (7)
(29) These steps are repeated for each pair of consecutive magnets (i=1, 2, . . . L). The geometric condition is that the sum of the estimated errors 19, of all pairs of consecutive magnets is null, considering the geometry of the sensor. By inserting the estimated error {circumflex over (ϑ)}.sub.i in (4), it is possible to determine the effective angular speed of the wheel ω.sup.opt.
(30) Advantageously, in order to estimate the errors ϑ.sub.i at further instants different from those, where the measurements of the revolution time Δt.sub.i.sup.rev are taken, it is possible to use a recursive least square algorithm (known in the literature as “ReLS—Recursive Least Square”).
(31) In particular, considering the most recent measurements of the errors {circumflex over (ϑ)}.sub.i, an estimating function ϑ.sub.i*, is determined so that the square error between the measured quantities {circumflex over (ϑ)}.sub.i and the estimate ϑ.sub.i* is minimized (recursive least square algorithm). Said estimate is then recursively updated every time a new measurement error {circumflex over (ϑ)}.sub.i is available (recursive least square algorithm). Preferably, it is possible to give less credit, for example by an appropriate coefficient, to the less recent measurements.
(32) Note that, as the skilled person of this sector will understand clearly, the ReLS algorithm described above may have many variants or be replaced by alternative algorithms that substantially lead to the same result.
(33) Note that the described algorithm is suitable for determining the angular errors ϑ.sub.i even when they vary over time, for example due to the wear of the sensors themselves, as previously mentioned, thanks to the recursiveness and to the estimate adaptation made by the algorithm ReLS.
(34)
(35) Removing said frequencies allows estimating in a quite reliable way the pedaling cadence from the optimized signal representing the speed ω.sup.opt. Still referring to
(36) With reference again to
(37) The extended Kalman filter is an extension to nonlinear systems of the Kalman filter. The Kalman filter is a filter, which implements a recursive algorithm that solves the problem of optimal state estimation for discrete-time linear systems with additive white Gaussian noise, which acts on the state and on the output values.
(38) In general, the Kalman filter uses a linear state representation of the system:
x(k+1)=Ax(k)+Bu(k)+w(k)
y(k)=Cx(k)+Du(k)+v(k) (8)
(39) wherein:
(40) k is the considered discrete instant;
(41) x is the system state;
(42) u is the considered input;
(43) y is the output of the system;
(44) w is the state disturbance;
(45) v is the measurement disturbance.
(46) The Kalman filter is suitable for determining by means of a recursive algorithm the value assumed by the state x at the current instant k, based on the knowledge of the actual input u, of the actual output y and of the previous estimate of the state x. The outputs y are connected to inputs u by a descriptive mathematical model of the system. It is therefore possible to recursively perform an estimate of the quantities of interest x.
(47) The extended Kalman filter is, as already stated, the extension of the Kalman filter to nonlinear systems, which, in general, requires a linearization of the system to bring it back to the conditions of unextended Kalman filter. In this case, it is possible to describe the system of interest, for example, as follows:
x.sub.1(k+1)=x.sub.1(k).Math.cos(x.sub.3(k))−x.sub.2(k).Math.sin(x.sub.3(k))
x.sub.2(k+1)=x.sub.1(k).Math.sin(x.sub.3(k))+x.sub.2(k).Math.cos(x.sub.3(k))
x.sub.3(k+1)=(1−ε)x.sub.3(k)+w(k)
y(k)=x.sub.1(k)+v(k) (9)
(48) wherein:
(49) k is the considered instant;
(50) x.sub.3 is the frequency to be determined, i.e. double the pedaling cadence C, recursively at every instant k, k+1 . . . ;
(51) v(k) is the measurement noise, in this case the noise which acts on the optimized signal representing the angular speed ω.sup.opt of the bicycle wheel, which is assumed to be a zero-mean Gaussian noise with variance r, to be defined in the calibration phase of the filter;
(52) w(k) is the noise which acts on the frequency x.sub.3(k) at the instant k, which is assumed to be a zero-mean Gaussian noise with variance q, to be defined in the calibration phase of the filter too;
(53) ε is an additional filter parameter, to be defined in the calibration phase too, which can be set, for example, to 0.
(54) The extended Kalman filter is suitable for determining, by means of a recursive algorithm, the value assumed by the state x, or x1, x2 and x3 starting from the output y.
(55) As an alternative to said method, it is possible to define and describe the system as follows:
x.sub.1(k+1)=x.sub.4(k)[x.sub.1(k).Math.cos(x.sub.3(k)u(k))−x.sub.2(k).Math.sin(x.sub.3 (k)u(k))]
x.sub.2(k+1)=x.sub.4(k)[x.sub.1(k).Math.sin(x.sub.3(k)u(k))+x.sub.2(k).Math.cos(x.sub.3(k)u(k))]
x.sub.3(k+1)=(1−ε.sub.f)x.sub.3(k)+w(k)
x.sub.4(k+1)=(1−ε.sub.a)x.sub.4(k)+z(k)
y(k)=x.sub.1(k)+v(k) (10)
(56) According to the model of (10), the frequency to be determined, linked to the pedaling cadence C, is no longer a state variable. In this case, in fact, the state x.sub.3 to be determined corresponds to double the transmission ratio of the bicycle gear, and the input u, missing in the system (9)—represents the angular speed of the wheel expressed in rad/s.
(57) The frequency of interest is then determined as the product of the state x.sub.3 by the input u. Moreover, according to this model, a further state variable x.sub.4 is introduced, representing the signal amplitude whose frequency must be determined. z is the noise acting on said state variable, while ε.sub.a and ε.sub.e are calibration parameters of the filter. X.sub.1 and x.sub.2, as in the case of the model (9), represent the phase and quadrature components of the signal whose frequency must be estimated.
(58) Certainly, there are further possible models to describe the system at the basis of the Kalman filter, with respect to the previously described models used by way of example.
(59) Preferably, the module 15 for the frequency analysis further comprises a band-pass filter 16 suitable for filtering the optimized signal of the angular speed of the bicycle wheel in a predetermined frequency band dependent on the detected speed of the bicycle wheel. As shown in
(60) Referring again to
(61) In order to determine the free wheel condition, various methods can be used. According to a possible method, the pedaling cadence or the transmission ratio are determined as explained with reference to (9) and (10). They tend towards zero in a free wheel condition. Setting a predefined threshold value for said quantities (or for their variation), a borderline between the free wheel condition and the pedaling condition can be drawn.
(62) From the above description the skilled person will appreciate that device according to the invention enables to determine the speed and pedaling cadence using only a single sensor, namely the speed sensor. This allows using lighter components and an easier assembly in comparison with known solutions, where two separate sensors are necessary.
(63) Note that, although the operation of device 1 according to the invention has been described referring to a sensor for detecting the angular speed of the bicycle driving wheel, device 1 may alternatively comprise a sensor, adapted to be fixed to the bicycle itself, configured for detecting a kinematic quantity of the bicycle, different in nature with respect to the angular speed of the bicycle wheel, and for providing a signal representing the same. For example, device 1 may comprise a longitudinal or lateral acceleration sensor, suitable for generating a signal representing the same. Said signal can be processed in a filter 13, suitable for identifying possible errors, so that an optimized signal can be obtained. The latter can be used as input of the module 15, which carries out a frequency analysis leading to the estimation of the pedaling cadence, following the methods described with reference to the wheel angular speed.
(64) The skilled person, in order to satisfy specific contingent requirements, may make several additions, modifications or replacements of elements with others functionally equivalent to the embodiments of the device described so far, without however departing from the scope of the appended claims.