DEVICES AND METHODS FOR CONTROLLING THE POWER OF A VEHICLE MOTOR

20220340223 · 2022-10-27

    Inventors

    Cpc classification

    International classification

    Abstract

    A device includes a magnet and a magnetic field sensor configured to sense a magnetic field of the magnet. The magnet and the magnetic field sensor are arranged to be movable relative to each other. A relative movement between the magnet and the magnetic field sensor is based on a movement of a throttle controller of a vehicle. A power provided by a motor of the vehicle correlates to a position of the magnet relative to the magnetic field sensor as sensed by the magnetic field sensor.

    Claims

    1. A device, comprising: a magnet; and a magnetic field sensor configured to sense a magnetic field of the magnet, wherein the magnet and the magnetic field sensor are arranged to be movable relative to each other, wherein a relative movement between the magnet and the magnetic field sensor is based on a movement of a throttle controller of a vehicle, and wherein a power provided by a motor of the vehicle correlates to a position of the magnet relative to the magnetic field sensor as sensed by the magnetic field sensor.

    2. The device of claim 1, wherein a position of the throttle controller is uniquely assignable to a magnetic field strength of the sensed magnetic field.

    3. The device of claim 1, wherein the throttle controller comprises a throttle grip configured to rotate around a handle bar of the vehicle.

    4. The device of claim 3, further comprising: a magnet holder mechanically coupled to the throttle grip and configured to hold the magnet; and a sensor holder mechanically coupled to the handle bar and configured to hold the magnetic field sensor.

    5. The device of claim 4, wherein: the magnet holder is rotatable around the handle bar, and the sensor holder is fixed relative to the handle bar.

    6. The device of claim 4, wherein the magnet holder comprises a cavity and the magnetic field sensor is at least partly arranged in the cavity.

    7. (canceled)

    8. The device of claim 1, wherein: the magnet comprises a first magnet and a second magnet, and the magnetic field sensor is movable between the first magnet and the second magnet.

    9. The device of claim 8, wherein a total range of movement of the magnetic field sensor between the first magnet and the second magnet is smaller than 12 millimeters.

    10. The device of claim 8, wherein a movement path of the magnetic field sensor between the first magnet and the second magnet has a shape of a circular arc.

    11. The device of claim 8, wherein: a first position of the magnetic field sensor at the first magnet is associated with a minimum power of the motor, and a second position of the magnetic field sensor at the second magnet is associated with a maximum power of the motor.

    12. The device of claim 4, wherein: the magnet comprises a first magnet and a second magnet, the magnetic field sensor is movable between the first magnet and the second magnet, the magnet holder includes a first opening and a second opening, and the first magnet is arranged in the first opening and the second magnet is arranged in the second opening.

    13. The device of claim 1, wherein the magnetic field sensor is configured to: generate a sensing signal based on the sensed magnetic field, and output the sensing signal to an electronic control unit of the vehicle, wherein the electronic control unit is configured to control the power of the motor based on the sensing signal.

    14. The device of claim 1, wherein the magnetic field sensor is configured to sense the magnetic field of the magnet based on a head-on configuration.

    15. The device of claim 14, wherein the magnetic field sensor is a 1D Hall sensor.

    16. The device of claim 1, wherein the magnetic field sensor is a bipolar magnetic field sensor.

    17. The device of claim 4, wherein: the magnet holder is movable in an axial direction of the handle bar, and the magnetic field sensor is configured to detect a change in magnetic field due to a movement of the magnet in the axial direction of the handle bar and to generate a detection signal based on the detection.

    18. The device of claim 17, wherein the detection signal is based on a behavior or a condition of a driver of the vehicle.

    19. The device of claim 17, wherein: the detection signal is configured as an input signal for an electronic control unit, and the electronic control unit is configured to trigger an alert or an action in response to a detection signal associated with a specific driver behavior pattern.

    20. The device of claim 17, wherein the magnetic field sensor is a 3D Hall sensor.

    21. (canceled)

    22. A method, comprising: moving a magnet and a magnetic field sensor relative to each other, wherein a relative movement between the magnet and the magnetic field sensor is based on a movement of a throttle controller of a vehicle; sensing, by the magnetic field sensor, a magnetic field of the magnet; and controlling a power of a motor of the vehicle based on a position of the magnet relative to the magnetic field sensor as sensed by the magnetic field sensor.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0006] Devices and methods in accordance with the disclosure will be explained in more detail below based on the drawings. Like reference signs may designate corresponding similar parts.

    [0007] FIG. 1 illustrates a perspective view of a device in accordance with the disclosure in a first position.

    [0008] FIG. 2 illustrates a perspective view of the device of FIG. 1 in a second position.

    [0009] FIG. 3 illustrates a perspective view of a magnet holder which may be part of a device in accordance with the disclosure.

    [0010] FIG. 4 illustrates a block diagram of a magnetic field sensor which may be part of a device in accordance with the disclosure.

    [0011] FIGS. 5A-5C illustrate example transfer functions for mapping magnetic field ranges to output voltages.

    [0012] FIG. 6 illustrates a head-on configuration of a magnet and a magnetic field sensor.

    [0013] FIGS. 7A-7C illustrate magnetic field components sensed by a magnetic field sensor based on a head-on configuration.

    [0014] FIG. 8 illustrates a flow chart of a method in accordance with the disclosure.

    [0015] FIGS. 9A-9C illustrate different views of a device in accordance with the disclosure.

    DETAILED DESCRIPTION

    [0016] FIG. 1 shows a handle bar 2 of a vehicle and a throttle controller 4 arranged on the handle bar 2. In addition, a device 100 may be mounted on the handle bar 2. The device 100 may include a magnet holder 6 configured to hold one or more magnets (not illustrated). For example, the magnets may be arranged in one or more openings 8A, 8B of the magnet holder 6. The device 100 may further include a sensor holder 10 configured to hold a magnetic field sensor 12.

    [0017] The handle bar 2 may be part of a vehicle. For example, the vehicle may be an electric vehicle such as, for example, an electric bike, an electric scooter, an electric trike, an electric quad bike, etc. The design of the throttle controller 4 may depend on the vehicle type. In the example of FIG. 1, the throttle controller 4 may be a throttle grip (or twist throttle grip) configured to rotate or twist around the handle bar 2 (e.g., around a symmetry axis A of the handle bar 2 (see dashed line)). In a further example (see FIG. 9), a throttle controller of a vehicle may be a throttle lever configured to pivot around a fixing point. The sensor holder 10 may be mechanically coupled to the handle bar 2, for example using a cuff 16 as shown in FIG. 1. The magnet holder 6 may be mechanically coupled to the handle bar 2 as well.

    [0018] In some implementations, for example as shown in FIG. 1, the sensor holder 10 may be fixed relative to the handle bar 2 to prevent a rotation of the sensor holder 10 and the magnetic field sensor 12 arranged thereon around the handle bar 2. In some implementations, the magnet holder 6 may be rotatable around the handle bar 2. In this regard, the magnet holder 6 may be connected to the throttle grip 4 such that a rotation of the throttle grip 4 around the handle bar 2 may result in a corresponding rotation of the magnet holder 6. In some implementations, the described mobility of the sensor holder 10 and the magnet holder 6 with respect to the handle bar 2 may be inverted. That is, the magnet holder 6 may be fixed relative to the handle bar 2, while the sensor holder 10 may be rotatable around the handle bar 2.

    [0019] A first magnet and a second magnet (not illustrated) may be arranged in the openings 8A, 8B of the magnet holder 6, respectively. The openings 8A, 8B may be arranged at opposite ends of a cavity 14 formed in the magnet holder 6. An example arrangement of magnets in the openings 8A, 8B of the magnet holder 6 is shown and discussed in connection with FIG. 3. The magnets may extend through the openings 8A, 8B may at least partly protrude into the cavity 14. The magnetic field sensor 12 may be mounted on the sensor holder 10 in such a way that the magnetic field sensor 12 may be arranged in the cavity 14 and may be movable between the magnets.

    [0020] The magnetic field sensor 12 may e.g. include a Hall sensor (or Hall-IC) having one or more sensor elements implemented in form of one or more Hall elements. The magnetic field sensor 12 may be configured to sense the magnetic field generated by the magnets at the position of the sensor element(s). A detailed design of a magnetic field sensor usable in a device in accordance with the disclosure is shown and discussed in connection with FIG. 4. A rotation of the throttle grip 4 around the handle bar 2 may result in a corresponding rotation of the magnet holder 6 around the handle bar 2. As a result, the position of the magnetic field sensor 12 between the first magnet and the second magnet may change. A position of the magnetic field sensor 12 between the magnets (and thus a position of the throttle grip 4) may be uniquely assignable to a magnetic field strength sensed by the magnetic field sensor 12.

    [0021] The throttle grip 4 may be configured to control the power of a motor of the vehicle. In some implementations, the motor power may be used to accelerate and drive the vehicle. The vehicle motor may be of any suitable type such as, for example, an electric motor, a combustion motor, etc. The power output of the vehicle motor may be increased (and the vehicle may be accelerated) by clockwise rotating the throttle grip 4. Contrarily, the motor power may be reduced by counterclockwise rotating the throttle grip 4. The rotation of the throttle grip 4 may be restricted between the two extremal positions of the magnetic field sensor 12 at the ends of the cavity 14.

    [0022] FIG. 1 illustrates a first scenario in which the throttle grip 4 and the magnetic field sensor 12 may be in a first position. The throttle grip 4 is not rotated and the magnetic field sensor 12 is located at the magnet arranged in the second opening 8B. The first position may be associated with a minimum power of the vehicle motor. Note that the term “minimum power” may depend on the considered motor type. For the case of a combustion engine, a minimum power may be configured to maintain an internal combustion of the engine. Such minimum power of a combustion engine may be controlled by an electronic control unit of the vehicle, rather than by a throttle controller operated by the driver. For the case of an electric motor, a minimum power may correspond to an off state of the electric motor. Such off state may be set by the driver keeping the throttle grip in the first position as shown in FIG. 1.

    [0023] FIG. 2 illustrates a second scenario in which the throttle grip 4 and the magnetic field sensor 12 may be in a second position. Here, the throttle grip 4 has been rotated clockwise to a maximum extent. The magnetic field sensor 12 may be located at the magnet arranged in the first opening 8A. The second position may be associated with a maximum power of the vehicle motor.

    [0024] During an operation of the vehicle, the driver may rotate the throttle grip 4 depending on the desired acceleration and speed of the vehicle. A rotation of the throttle grip 4 may change the airgaps between the magnets and the magnetic field sensor 12. At any time and position, the magnetic field sensor 12 may sense the magnetic field generated by the magnets at the location of the magnetic field sensor 12. The sensed magnetic field strength may be uniquely assignable to the position of the throttle grip 4. Based on the sensed magnetic field, the magnetic field sensor 12 may generate a sensing signal which may be output to an electronic control unit (not illustrated) of the vehicle. The electronic control unit may be configured to control the power of the vehicle motor based on the sensing signal. In one example, the sensing signal may correspond to an output voltage of the magnetic field sensor 12. The first position of the throttle grip 4 (see FIG. 1) may e.g. result in a minimum output voltage. When calibrating the throttle mechanism, the minimum output voltage may be associated with a minimum throttle. The second position of the throttle grip 4 (see FIG. 2) may e.g. result in a maximum output voltage which may be associated with a maximum throttle. Example transfer functions for mapping a sensed magnetic field strength to an output voltage are shown and discussed in connection with FIGS. 5A-5C.

    [0025] The cavity 14 and the movement path of the magnetic field sensor 12 between the magnets may have the shape of a circular arc. A total range of movement of the magnetic field sensor 12 between the magnets may be smaller than about 12 mm, more particular smaller than about 11 mm, more particular small than about 10 mm, and even more particular smaller than about 9 mm. Due to the small range of movement, the arc-shaped movement path of the magnetic field sensor 12 may be considered approximately linear. The magnetic field sensor 12 may thus be configured to sense the magnetic field at the location of the magnetic field sensor 12 based on a head-on configuration. A head-on configuration of a magnet and a magnetic field sensor as well as magnetic field components sensed with such head-on configuration are shown and discussed in connection with FIG. 6 and FIGS. 7A-7C.

    [0026] For safety reasons the throttle grip 4 may be fixed with respect to a movement in an axial direction along the symmetry axis A. That is, the only degree of freedom for the throttle grip 4 may be its rotation around the symmetry axis A. In contrast to this, the magnet holder 6 may optionally be movable in the axial direction. The magnetic field sensor 12 may be configured to detect a change in magnetic field due to a movement of the magnet(s) in the axial direction. In this case, the magnetic field sensor 12 may be a 3D Hall sensor (e.g., a Hall sensor configured to sense magnetic field components of all three spatial directions). Based on a detection of an axial movement, the magnetic field sensor 12 may generate a detection signal. The detection signal may be used as an input signal for an electronic control unit (not illustrated) of the vehicle. The electronic control unit may be configured to trigger an alert or action in response to the detection signal.

    [0027] For example, a movement of the magnet holder 6 in the axial direction may be based on a behavior or a condition of the driver, such as, for example, a steering behavior. The electronic control unit of the vehicle may receive detection signals from the magnetic field sensor 12 and may detect changes in the steering behavior over the course of the trip based on the detection signals. In this connection, a driver's level of fatigue may be detected in one example. Typical warning signs of decreasing concentration of the driver may be phases during which the driver is barely steering in combination with slight, but quick and abrupt steering movements in order to keep the vehicle on track. Based on such a specific driver behavior pattern, an algorithm may calculate the driver's level of fatigue. For example, the algorithm may be based on or may take into account one or more of: frequency of the detected driver movements, length of the trip, number of frequency use of turn signals, time of day, etc. If the calculated level of fatigue (or the detection signals associated therewith) exceeds one or more predetermined values, the electronic control unit may trigger an alert or action for warning the driver of a potential threat due to his or her fatigue.

    [0028] A movement of the magnet holder 6 in the axial direction may further be used as an input for an onboard control system which may be operated by the driver of the vehicle. In one example, the driver may control an onboard entertainment system which may include a music player. By moving the magnet holder 6 in the axial direction, a detection signal provided by the magnetic field sensor may trigger the music system to play the previous or the next song of a playlist in one example. In a further example, a movement of the magnet holder 6 in the axial direction may be used for operating the menu of a navigation system.

    [0029] FIG. 3 illustrates a magnet holder 6 which may be similar to the magnet holder 6 of FIGS. 1 and 2. A first magnet 18A and a second magnet 18B may extend through the first opening 8A and the second opening 8B, respectively. In the example of FIG. 3, each of the magnets 18A, 18B may be a bar magnet of cylindrical shape. In the example of FIG. 3, the north pole of the first magnet 18A and the south pole of the second magnet 18B may extend into the cavity 14, respectively. The north pole of the first magnet 18A may thus be arranged opposite to the south pole of the second magnet 18B. In a further example, the poles of each magnet may be inverted such that the south pole of the first magnet 18A may be arranged opposite to the north pole of the second magnet 18B. The magnet holder 6 may include an opening 20 for accommodating the handle bar 2 of the vehicle.

    [0030] The magnetic field sensor 400 of FIG. 4 may e.g. be used in the device 100 of FIG. 1. In particular, the magnetic field sensor 400 may be similar to the magnetic field sensor 12 of FIG. 1. The magnetic field sensor 400 may include a supply voltage 32 (see V.sub.DD) of, for example, about 5V, a ground potential 34 which may be connected to circuit ground, and an output 22 for providing a ratiometric analog output voltage (see OUT). The analog output 22 may be connected to an ADC on a motor control unit (MCU) side. For example, the sensor IC may be manufactured in a BiCMOS technology. A digital processing of the sensor IC may be based on a 16-bit DSP 24 architecture. A digital temperature compensation may be provided based on sensing signals of a temperature sensor 26.

    [0031] The magnetic field sensor 400 may include one or more Hall cells 28 configured to measure a magnetic flux. An output signal of the Hall cell(s) 28 may be converted from analog to digital by an ADC 30A. The noise of the signal may be reduced by a programmable low pass filter. The temperature may be measured by the temperature sensor 26 and may be converted from analog to digital by a further ADC 30B. Temperature compensation may be processed digitally, for example by using a second order function. After digital signal processing performed by the DSP 24, the output value may be converted from digital to analog by a DAC 38. The output voltage provided at the output 22 may be proportional to the supply voltage 32 (see V.sub.DD). The output voltage range may be clamped by digital limiters. The magnetic field sensor 400 may include an On-Board-Diagnostics (OBD) circuit 36 which may connect the output 22 to a supply voltage or a ground potential in case of occurring errors.

    [0032] FIGS. 5A-5C illustrate example transfer functions for mapping magnetic field ranges to desired output voltage ranges. Based on such transfer function, a magnetic field strength sensed by a magnetic field sensor may be mapped to an output voltage output by the magnetic field sensor. In each figure, a left vertical axis shows a magnetic field range in units of mT indicated by a hatched area. A right vertical axis shows an output voltage range in units of V indicated by a hatched area. Dashed lines between the vertical axes indicate a mapping of the minimum and maximum magnetic field values to respective output voltages.

    [0033] In the example of FIG. 5A, a magnetic field range from about −20 mT to about 45 mT may be mapped to an output voltage range from about 0 V to about 5 V. The transfer function of FIG. 5A may be based on a bipolar polarity mode. In a bipolar mode, magnetic fields may be measured in both orientations. The limit points of the magnetic field range do not necessarily have to be symmetrical around the zero field point.

    [0034] In the example of FIG. 5B, a magnetic field range from about 65 mT to about 100 mT may be mapped to an output voltage range from about 0.2 V to about 3.0 V. The transfer function of FIG. 5B may be based on a unipolar polarity mode. In a unipolar mode, only north- or south-oriented magnetic fields may be measured. The magnetic field range may show a relatively large offset.

    [0035] In the example of FIG. 5C, a magnetic field range from about −200 mT to about 200 mT may be mapped to an output voltage range from about 0.5 V to about 4.5 V. The transfer function of FIG. 5C may be based on a bipolar mode. The mapping of FIG. 5C may be inverted. That is, the minimum magnetic field value may be mapped to the maximum output voltage while the maximum magnetic field value may be mapped to the minimum output voltage. In some implementations, the magnetic field sensor 12 of FIG. 1 may be a bipolar magnetic field sensor configured to operate in a bipolar mode as shown in FIG. 5C.

    [0036] FIG. 6 illustrates a head-on configuration of a magnet 18 and a magnetic field sensor 12. A movement of the magnet 18 relative to the magnetic field sensor 12 is indicated by a linear vertical arrow which may e.g. extend along the z-direction. At the upper tip of the arrow, a magnet travelling distance may have a value of about 0 mm, while at the lower tip of the arrow, the magnet travelling distance may have a value of about 10 mm. At the magnet travelling distance of about 10 mm, an air gap between the magnet 18 and the magnetic field sensor 12 may have a value of about 4 mm. At an air gap of about 11.2 mm, the z-component B.sub.z of the magnetic field generated by the magnet 18 may have a value of about 1 mT. For example, the magnetic field sensor 12 may cover a range from smaller than about 1 mT to about 250 mT. Note that the numerical values provided in connection with FIG. 6 are example and in no way limiting.

    [0037] A linear movement of the magnet 18 in the z-direction may be detected based on the head-on configuration shown in FIG. 6. In the head-on configuration only the B-field of the z-axis may be considered. In this regard, it is to be noted that the arc-shaped movement path of the magnetic field sensor 12 as shown in FIGS. 1 and 2 may be considered approximately linear. That is, the head-on configuration of FIG. 6 may be applied to the scenario of FIG. 1. Since the magnetic field may decrease sharply with distance from the magnet 18, only small magnet travelling distances may be realized in a head-on configuration. A total range of movement of the magnet 18 relative to the magnetic field sensor 12 may be smaller than about 12 mm, more particular smaller than about 11 mm, more particular small than about 10 mm, and even more particular smaller than about 9 mm. In one example, a temperature influence may be canceled out by a microcontroller in order to provide proper position detection.

    [0038] When sensing the magnetic field strength based on a head-on configuration, the magnetic field sensor 12 may correspond to a 1D Hall sensor, in particular a 1D linear Hall sensor. A 1D linear Hall sensor may be configured to measure one component (here: the z-component) of a magnetic field and output a signal that is directly proportional to the measured magnetic field. A linear Hall sensor may represent a cost effective and reliable solution for measuring the position of the throttle grip 4 and controlling the power of the vehicle motor.

    [0039] FIGS. 7A-C illustrate magnetic field components sensed by a magnetic field sensor based on a head-on configuration as shown in FIG. 6. In each figure the sensed magnetic field component in units of T is plotted against the magnet travelling distance in units of m.

    [0040] FIGS. 7A and 7B show that the sensed x-component B.sub.x and y-component B.sub.y of the magnetic field have values of substantially zero. FIG. 7C shows that the sensed z-component B.sub.z of the magnetic field sharply (and in particular exponentially) decreases with decreasing magnet travelling distance. The sensed z-component B.sub.z of the magnetic field having a value of about 1 mT at an air gap of about 11.2 mm is indicated by a cross.

    [0041] FIG. 8 illustrates a flow chart of a method in accordance with the disclosure. For example, the method may be used for operating a device in accordance with the disclosure as described herein. The method may thus be read in connection with the foregoing figures.

    [0042] At 40, a magnet and a magnetic field sensor may be moved relative to each other, wherein a relative movement between the magnet and the magnetic field sensor may be based on a movement of a throttle controller of a vehicle. At 42, a magnetic field of the magnet may be sensed by the magnetic field sensor. At 44, a power of a motor of the vehicle may be controlled based on a position of the magnet relative to the magnetic field sensor as sensed by the magnetic field sensor.

    [0043] FIG. 9A illustrates a first perspective view of the device 900, FIG. 9B illustrates a second perspective view of the device 900, and FIG. 9C illustrates a cross-sectional side view of the device 900. The device 900 of FIGS. 9A-9C may be similar to the device 100 of FIGS. 1 and 2 and may include similar components. In contrast to FIGS. 1 and 2, the throttle controller of the device 900 may include or may correspond to a throttle lever 4 configured to pivot around a fixing point. The throttle lever 4 may be arranged on the handle bar 2. In the example of FIG. 9, the throttle lever 4 may be arranged at a top surface of the magnet holder 6. In further examples, the throttle lever 4 may be arranged at any other suitable position of the device 900. The magnet holder 6 may be connected to the throttle lever 4 such that a rotation of the throttle lever 4 around the handle bar 2 may result in a corresponding rotation of the magnet holder 6 around the handle bar 2. As a result, the position of the magnetic field sensor 12 between the first magnet and the second magnet may change. The throttle lever 4 may thus be configured to control the power of a motor of the vehicle.

    ASPECTS

    [0044] In the following, devices and methods will be explained using Aspects.

    [0045] Aspect 1 is a device comprising: a magnet; and a magnetic field sensor configured to sense a magnetic field of the magnet, wherein the magnet and the magnetic field sensor are arranged to be movable relative to each other, wherein a relative movement between the magnet and the magnetic field sensor is based on a movement of a throttle controller of a vehicle, and wherein a power provided by a motor of the vehicle correlates to a position of the magnet relative to the magnetic field sensor as sensed by the magnetic field sensor.

    [0046] Aspect 2 is a device according to Aspect 1, wherein a position of the throttle controller is uniquely assignable to a magnetic field strength of the sensed magnetic field.

    [0047] Aspect 3 is a device according to Aspect 1 or 2, wherein the throttle controller comprises a throttle grip configured to rotate around a handle bar of the vehicle.

    [0048] Aspect 4 is a device according to Aspect 3, further comprising: a magnet holder mechanically coupled to the throttle grip and configured to hold the magnet; and a sensor holder mechanically coupled to the handle bar and configured to hold the magnetic field sensor.

    [0049] Aspect 5 is a device according to Aspect 4, wherein: the magnet holder is rotatable around the handle bar, and the sensor holder is fixed relative to the handle bar.

    [0050] Aspect 6 is a device according to Aspect 4 or 5, wherein the magnet holder comprises a cavity and the magnetic field sensor is at least partly arranged in the cavity.

    [0051] Aspect 7 is a device according to one of the preceding Aspects, wherein the throttle controller comprises a throttle lever configured to pivot around a fixing point.

    [0052] Aspect 8 is a device according to one of the preceding Aspects, wherein: the magnet comprises a first magnet and a second magnet, and the magnetic field sensor is movable between the first magnet and the second magnet.

    [0053] Aspect 9 is a device according to Aspect 8, wherein a total range of movement of the magnetic field sensor between the first magnet and the second magnet is smaller than 12 millimeters.

    [0054] Aspect 10 is a device according to Aspect 8 or 9, wherein a movement path of the magnetic field sensor between the first magnet and the second magnet has the shape of a circular arc.

    [0055] Aspect 11 is a device according to one of Aspects 8-10, wherein: a first position of the magnetic field sensor at the first magnet is associated with a minimum power of the motor, and a second position of the magnetic field sensor at the second magnet is associated with a maximum power of the motor.

    [0056] Aspect 12 is a device according to Aspect 4 and Aspect 8, wherein: the magnet holder includes a first opening and a second opening, and the first magnet is arranged in the first opening and the second magnet is arranged in the second opening.

    [0057] Aspect 13 is a device according to one of the preceding Aspects, wherein the magnetic field sensor is configured to: generate a sensing signal based on the sensed magnetic field, and output the sensing signal to an electronic control unit of the vehicle, wherein the electronic control unit is configured to control the power of the motor based on the sensing signal.

    [0058] Aspect 14 is a device according to one of the preceding Aspects, wherein the magnetic field sensor is configured to sense the magnetic field of the magnet based on a head-on configuration.

    [0059] Aspect 15 is a device according to Aspect 14, wherein the magnetic field sensor is a 1D Hall sensor.

    [0060] Aspect 16 is a device according to one of the preceding Aspects, wherein the magnetic field sensor is a bipolar magnetic field sensor.

    [0061] Aspect 17 is a device according to Aspect 4, wherein: the magnet holder is movable in an axial direction of the handle bar, and the magnetic field sensor is configured to detect a change in magnetic field due to a movement of the magnet in the axial direction of the handle bar and to generate a detection signal based on the detection.

    [0062] Aspect 18 is a device according to Aspect 17, wherein the detection signal is based on a behavior or a condition of a driver of the vehicle.

    [0063] Aspect 19 is a device according to Aspect 17, wherein: the detection signal is configured as an input signal for an electronic control unit, and the electronic control unit is configured to trigger an alert or an action in response to a detection signal associated with a specific driver behavior pattern.

    [0064] Aspect 20 is a device according to one of Aspects 17-19, wherein the magnetic field sensor is a 3D Hall sensor.

    [0065] Aspect 21 is a device according to one of the preceding Aspects, wherein the vehicle is one of an electric bike, an electric scooter, an electric trike, or an electric quad bike.

    [0066] Aspect 22 is a method, comprising: moving a magnet and a magnetic field sensor relative to each other, wherein a relative movement between the magnet and the magnetic field sensor is based on a movement of a throttle controller of a vehicle; sensing, by the magnetic field sensor, a magnetic field of the magnet; and controlling a power of a motor of the vehicle based on a position of the magnet relative to the magnetic field sensor as sensed by the magnetic field sensor.

    [0067] While this implementation has been described with reference to illustrative implementations, this description is not intended to be construed in a limiting sense. Various modifications and combinations of the illustrative implementations, as well as other implementations of the implementation, will be apparent to persons skilled in the art upon reference of the description. It is therefore intended that the appended claims encompass any such modifications or implementations.