The present invention pertains to control of electric vehicles, and in particular, controlling and limiting electric vehicle speed.
A wide range of transporters and methods are known for transporting human subjects. Typically, such transporters rely upon static stability and are designed for stability under all foreseen conditions of placement of their ground-contacting members with an underlying surface. For example, a gravity vector acting on the center of gravity of an automobile passes between the points of ground contact of the automobile's wheels and the suspension of the automobile keeps all wheels on the ground at all times making the automobile stable. Although, there are conditions (e.g., increase in speed and sharp turns) which cause otherwise stable transporters to become unstable.
A dynamically stabilized transporter, also known as a balancing transporter, is a type of transporter that has a control system that actively maintains the stability of the transporter while the transporter is operating. The control system maintains the stability of the transporter by continuously sensing the orientation of the transporter, determining the corrective action necessary to maintain stability, and commanding the wheel motors to make the corrective action. If the transporter loses the ability to maintain stability, such as through the failure of a component or a lack of sufficient power, the rider may experience a sudden loss of balance.
For vehicles that maintain a stable footprint, coupling between steering control and control of the forward motion of the vehicles is not an issue of concern. Under typical road conditions, stability is maintained by virtue of the wheels being in contact with the ground throughout the course of a turn. In a balancing transporter, however, any torque applied to one or more wheels affects the stability of the transporter. Coupling between steering and balancing control mechanisms is one subject of U.S. Pat. No. 6,789,640, which is incorporated herein by reference.
The invention, in one aspect, features a computerized method for controlling the speed of a vehicle having an electric motorized drive. The method involves determining steady-state average torque and torque during acceleration and deceleration of the vehicle traveling over underlying surface. The method also involves controlling the speed of the vehicle based on the steady-state average torque, the torque during acceleration and deceleration, a measured actuator current generated by a motorized drive arrangement of the vehicle that applies torque to at least one ground-contacting element of the vehicle for traveling over the underlying surface. Controlling the speed of the vehicle is also controlled based on weight of the vehicle and a payload, the torque applied to the ground-contacting element, acceleration of the vehicle and speed of the vehicle.
In some embodiments, controlling the speed of the vehicle involves determining an acceleration-compensated average current. In some embodiments, controlling the speed of the vehicle involves determining an amount of actuator current required for accelerating or decelerating the vehicle. In some embodiment, determining the amount of actuator current required for accelerating or decelerating the vehicle is based on the speed of the vehicle and the slope of the underlying surface. In some embodiments, determining the acceleration-compensated average current involves subtracting actuator current caused by acceleration or deceleration from the measured actuator current of the vehicle.
In some embodiments, the vehicle is a dynamically stabilized transporter with a maximum allowable speed of the vehicle controlled by modulating a pitch component of the vehicle. In some embodiments, a pitch controller modulates the maximum allowable speed of the vehicle based on the acceleration-compensated average current. In some embodiments, the method also involves decreasing the maximum allowable speed of the vehicle if regeneration current is increasing. In some embodiments, the method also involves increasing the maximum allowable speed of the vehicle if regeneration current is decreasing. In some embodiments, acceleration and deceleration of the vehicle is achieved at least primarily by operation of the motorized drive arrangement. In some embodiments, the speed of the vehicle is controlled when the measured current exceeds an overall current threshold. In some embodiments, the overall current threshold is based on experience level of a user. In some embodiments, the vehicle is a statically stable transporter. In some embodiments, the weight of the vehicle and payload is an estimate. In some embodiments, the weight of the vehicle and payload is a measurement.
The invention, in another aspect, features a controller for controlling the speed of a vehicle having a motorized drive. The controller includes a torque module that determines steady-state average torque and torque during acceleration and deceleration of the vehicle traveling over an underlying surface. The controller also includes a speed module that receives the steady-state average torque and torque during acceleration and deceleration from the torque module and outputs a desired vehicle speed command (e.g., pitch angle). The desired pitch angle is based on the steady-state average torque, the torque during acceleration and deceleration, weight of the vehicle and payload, a measured current generated by a motorized drive arrangement of the vehicle that applies torque to at least one ground-contacting element of the vehicle for traveling over the underlying surface, the torque applied by the motorized drive arrangement and speed of the vehicle.
In some embodiments, the controller controls the speed of the vehicle when an acceleration-compensated average is below a threshold. In some embodiments, the controller includes a pitch controller module for controlling pitch of the vehicle to modulate speed of the vehicle based on the vehicle speed command (e.g., desired pitch angle).
The invention, in another aspect, features a vehicle having an electric motorized drive. The vehicle includes a platform that supports a payload. The vehicle also includes a ground-contacting module coupled to the platform that includes at least one ground-contacting element for travels over an underlying surface. The vehicle also includes a motorized drive arrangement for applying torque to the at least one ground-contacting element. The vehicle also includes a power source for energizing the motorized drive arrangement. The vehicle also includes a controller that limits the speed of the ground-contacting element based on weight of the vehicle and the payload and slope of the underlying surface.
In some embodiments, the vehicle includes a torque module that determines steady-state average torque and torque during acceleration and deceleration of the vehicle. In some embodiments, the vehicle includes a speed module that outputs a desired vehicle speed command based on the steady-state average torque, the torque during acceleration and deceleration, a measured current generated by the motorized drive arrangement, the weight of the vehicle and the payload, the torque applied by the motorized drive arrangement, and the speed of the vehicle.
In some embodiments, the vehicle includes a speed controller that controls speed of the vehicle based on the vehicle speed command. In some embodiments, the vehicle wherein the vehicle speed command is a desired pitch angle of the vehicle and the speed controller is a pitch controller that controls pitch of the vehicle to control the speed of the vehicle based on a desired pitch angle. In some embodiments, the vehicle is a dynamically stabilized transporter and maximum allowable speed of the vehicle is controlled by modulating a pitch component of the vehicle.
The foregoing features of the invention will be more readily understood by reference to the following detailed description, taken with reference to the accompanying drawings, in which:
Embodiments of the present invention are useful in vehicles that utilize electric motors and drives as the sole or primary means of applying force/torque to the vehicle wheels for both acceleration and deceleration for traveling over an underlying surface. Such vehicles typically are motoring or consuming energy when operating to drive forward. Sometimes when traveling down a sufficiently steep hill, the drive actuator may need to apply a reverse torque or regenerate in order to maintain a steady speed without accelerating. Embodiments of the present invention are useful with balancing and non-balancing vehicles where motoring and braking are accomplished by the same vehicle component (e.g., an electric motor). For example, embodiments of the present invention are useful with statically stable vehicles and dynamically stabilized vehicles (e.g., dynamically stabilized balancing transporters).
In electric motor vehicles, the amount of available actuator capability used in decelerating during uphill, downhill or flat travel should be understood. The amount of actuator capability used for acceleration or deceleration limits the braking capability of the vehicle. Knowing how much of the actuator capability is used for accelerating or decelerating and how much remains in reserve allows the system to alter the vehicle motion to inhibit undesirable dynamics. The undesirable dynamics, such as reduced braking capability, could result from the vehicle traveling downhill as compared to traveling over flat ground.
A transporter may be said to act as ‘balancing’ if it is capable of operation on one or more wheels but would be unable to stand on the wheels but for operation of a control loop governing operation of the wheels. A balancing transporter lacks static stability but is dynamically balanced. A transporter may advantageously be used as a mobile work platform or a recreational vehicle such as a golf cart, or as a delivery vehicle. The wheels, or other ground-contacting elements, that provide contact between such a transporter and the ground or other underlying surface, and minimally support the transporter with respect to tipping during routine operation, are referred to herein as ‘ground-contacting elements.’
Different numbers of wheels or other ground-contacting members may advantageously be used in various embodiments of the invention as particularly suited to varying applications. U.S. Patent Publication No. 2006/0108156, incorporated herein by reference, describes a balancing all-terrain vehicle in
Control gains K1, K2, K3 and K4, differentiators 212 and 216 and a summer 204 are used to achieve balance. To achieve dynamic control and to insure stability of the system, and to keep the system in the neighborhood of a reference point on the surface, the wheel torque T in this embodiment is set to satisfy the following equation:
T=K1θ+K2θr+K3X+K4Xr (EQN. 1)
The values of the gains K1, K2, K3 and K4 are dependent on settings of the control loop, physical parameters of the system, and other effects such as gravity.
The block diagram of
In other embodiments, the control system 31 may have more than two wheel motor drives. Additional wheel motor drives may be used for a vehicle with more than two wheels, as is shown in U.S. Pat. No. 6,874,591, FIG. 2, the entire disclosure of which is incorporated herein by reference.
In other embodiments, the control system 31 may limit the speed of the transporter to ensure that adequate speed reserve is available to maintain balance or to preserve a particular amount of acceleration or deceleration capability, as is discussed with respect to
The term “lean,” as used herein, refers to the angle with respect to the local vertical direction of a line that passes through the center of mass of the system and the center of rotation of a ground-contacting element supporting the system above the ground at a given moment. The term “system” refers to all mass caused to move due to motion of the ground-contacting elements with respect to the surface over which the vehicle is moving.
“Pitch state” as used herein includes both the pitch in the fore-aft plane and the pitch rate of the vehicle (i.e., θ and θr (or {dot over (θ)}) where θr is the time rate of change of θ).
One mechanism for providing user input for a yaw control system of a personal transporter is described in detail in U.S. Pat. No. 6,789,640. As described therein, a user mounted on a transporter may provide yaw control input to a yaw controller 402 (shown in
One of the key properties of a good directional input device is its ability to provide directional input while managing lateral acceleration. High lateral acceleration turns require the user to lean into the turn to keep from falling off or tipping over the transporter. An optimal directional input device requires the user to have their body properly positioned when commanding a directional input. A twist grip yaw input, such as discussed above with reference to U.S. Pat. No. 6,789,640, encourages proper body positioning through the orientation of its rotation axis and the design of the knob and handle combination. It is possible, however, to make an uncoordinated input depending on the driver's technique.
Another method of encouraging proper body positioning is to make one or more handlebars into a joystick. By pivoting the bar near the base of the machine, the user can move his or her body at high speeds and merely hold onto the handlebar and command an input. When properly tuned, the user's body is already in position to react against the lateral acceleration at the initiation of the turn, reducing the likelihood of an improperly coordinated turn.
In the handlebar lean machine, the yaw input is proportional to the handlebar angle with respect to the chassis. Preferably, the pivot axis is mounted as low as practical on the transporter ground-contacting module in order to allow the bar motion to follow the user's body motion naturally, since a person leans most stably by pivoting at the ankles. In other words, a low pivot handlebar tracks the body kinematics. In this embodiment, the yaw input is converted into a yaw command using standard personal transporter algorithms, which apply a fixed gain to yaw input at low speeds, but scale the gain at higher speed to make the yaw input correspond to lateral acceleration instead of yaw rate. This works well with the handlebar lean device, since the desired lean angle is roughly proportional to lateral acceleration. The result is a very natural input method, where the user “thinks” right or left via leaning, and the machine follows.
{dot over (ψ)}cmd=K(ΦHB−ΦRoll) (EQN. 2)
where K is a constant;
ΦHB is the handlebar angle with respect to the platform;
ΦRoll is the platform lean with respect to gravity;
{dot over (ψ)}cmd is the yaw command.
Other embodiments of the invention may have an inclined or horizontally mounted pivot handlebar. In machines with inclined pivots, the angle of the pivot with respect to the contact patch and surface provide interesting turning dynamics. Specifically, the axis of rotation may affect the dynamics of turning on a slope or on a flat surface. Preferably, the machine has a low horizontal pivot. A horizontal pivot can easily track the kinematics of the body during a turn.
In accordance with yet other embodiments of the invention, with the direction of travel as the reference point, the pivoted handlebar may be either mounted in the front or the rear of the transporter. The configuration of a rear mounted pivot handlebar enables a user to steer the transporter with other parts of the body such as the knees, in addition to using a limb coupled to the handlebar. Furthermore, the transporter may include a feature that disables the lean steer when a user is mounting or dismounting. The feature may be activated when the transporter determines that a user is partially on/off the platform such that the transporter may not turn into or away from the user while mounting or dismounting.
Of the various mechanisms suited to provide for handlebar lean, a first is described with reference to
In one embodiment, the motion of the handlebar is not biased to a central position. In embodiments where the handlebar is not biased to a central position, there is no preloading around the center and thus a user can precisely and accurately steer the transporter.
In accordance with an embodiment depicted in
Yet a further embodiment of the invention is depicted in
One issue that must be addressed in handlebar lean control is the effect of terrain sensitivity. If the machine is driven over obstacles or rough terrain, a roll disturbance is forced on the machine/rider system since the resulting change in position of the user may cause an unintended yaw input into the system. Yaw control modalities that depend upon the overall body lean of a standing person are prone to be more sensitive to terrain than, say, yaw control by means of a twist grip.
To combat this roll sensitivity, a roll compensation algorithm may be employed. In such an algorithm, the yaw input is modified to compensate for the roll angle of the chassis, making the yaw input the angle of the handlebar with respect to gravity. Since it is easier for the user to maintain body position with respect to gravity rather than the platform, this facilitates rejection of roll disturbances.
In accordance with certain embodiments of the invention, a method for reducing terrain sensitivity employs an algorithm for filtering yaw inputs based on the roll rate of the chassis. The instantaneous rate of rolling, referred to as Roll Rate, is readily available from the Pitch State Estimator, such as that described, for example, in U.S. Pat. No. 6,332,103 (incorporated herein by reference), which derives the orientation of the transporter based on one or more gyroscopes, an inclinometer, or combinations of the above. Large roll transients cause the rider to be accelerated and, if the roll transients were to be rigidly coupled, through the rider, to the yaw control mechanism, they would cause unintended yaw input.
There are two distinct parts of the solution: rejecting terrain while riding straight and rejecting terrain while turning; the first is a special case of the second. While disabling yaw during periods of large roll rates would solve the problem for motion in a fixed direction, more input is required in order to decouple roll from steered motion.
An unknown input is an estimate of the “intended” yaw input from the user (e.g., the intention by the user to ride around in a 20′ (6.1 m) diameter circle). While the intended yaw input information is not directly available, it can be usefully inferred from the history of the yaw input. Simply low-pass filtering the data provides an estimate of yaw input. However, this causes a response delay that is noticeable to the user. On the other hand, if low-pass filtered data are used only when high roll rates are present, the rider is less likely to notice the delay. The algorithm, then, in accordance with one embodiment of the invention, employs a mixer, controlled by roll rate, between direct yaw input and a heavily filtered version.
A transfer function models the amount of roll rate that couples into the yaw signal. It is a function of various factors, including the design of the yaw input, the rider's ability, and how the rider is holding on to the yaw input (e.g., the handle 16 of
Four main tuning points are: how fast the mixer slews to the filtered version, how fast the mixer slews back, at what threshold the mix starts and ends, and the corner frequency of the low pass filter (LPF) on yaw input. There are limits to the amount of uncommanded yaw that can be removed due to setting the mix threshold. By setting it high there is more uncommanded yaw, by setting it low there are more false trips and the rider begins to notice the time lag on the yaw signal. Setting the LPF frequency also has tradeoffs. If yaw is too heavily filtered, then there is a noticeable delay and a possibility of yaw transients coupling in from the past. Setting it too low reduces the ability of the mixer to remove the transients.
Referring now to
yaw command=F*Yaw Input+(1−F)*Yaw Filtered, (EQN. 3)
where F is the mixer function which is a continuously varying signal between 0.0 and 1.0. Low pass filtering of the sensed roll rate (Filtered Roll Rate) is advantageously provided in order that travel over a rough surface does not result in erratic yaw response.
Handle 16 may also be referred to as a “steering column,” “member” or “stalk,” which terms are used interchangeably herein. In this embodiment of the invention, support platform 12 includes separate left foot plate 18 and right foot plate 19, as further discussed below.
A control loop is provided so that forward or backward leaning of the subject results in the application of torque to wheels 20 about axis 22 by means of a motor drive (not shown) as discussed herein, thereby causing an acceleration of the transporter 10. The control loop is implemented with a controller (not shown) located on, or in, the transporter 10. The controller includes at least one processor and inputs and outputs for controlling operation of the transporter 10. Transporter 10, however, is statically unstable, and, absent operation of the control loop to maintain dynamic stability, transporter 10 is unable to operate in its typical operating orientation.
It is to be understood that while, in one preferred embodiment, the user who provides yaw input is the rider aboard the personal transporter, the invention is not to be limited in that regard. For example, in one alternative embodiment, yaw input is provided by a user changing the position of the handle 16 while walking alongside, or in front of, the transporter 10.
The LateralAccelScale function 82 reduces the effect of the yaw input 80 at higher wheel speeds and at higher centripetal acceleration. Feedback 84, used to regulate the commanded yaw velocity, contains a yaw position term 85 to maintain yaw position, a velocity squared term 86 that attempts to regulate the yaw velocity to zero, and a feedforward term 89 used to provide better yaw command response to the user.
Feedforward term 89 dominates for rapid maneuvers in order to provide a responsive system. The velocity-squared feedback 86 is an example of deviation from linear control theory and has the effect of providing nonlinear yaw velocity damping.
The rate of change in a variable associated with yaw input (such as the handle bar angle about fiducial axis {circumflex over (z)}, typically the transporter roll axis, as discussed below) may also be employed as an additional yaw command, and may be derived by means of differentiator 81. The rate of change of the yaw input variable 80 creates a component of the yaw command which “anticipates” the rider lean and is more likely to keep the handle 16 coordinated with the rider and makes the transporter 10 feel more responsive.
The gain 87 associated with the rate-of-change component of the yaw input may be varied, for example, on the basis of the level of experience of the user. In this manner, the yaw command signal is generated based on the position of the handle 16 and the rate of change of the position of the handle 16 which is weighted based on the level of experience of the user. In one embodiment, the value of the gain 87 for an expert is set to be 130% of the value associated with a beginner. Different gain values can be implemented in alternative embodiments of the invention. In some embodiments, the transporter can be configured to allow a user to set multiple levels of experience.
In some embodiments, the rate of change of the position of the handle 16 which is weighted in response to the user selecting or specifying a user proficiency or experience level by, for example, toggling among beginner, intermediate and expert modes of the transporter 10. Each mode can impose a different, specified operational constraint on the transporter 10. In some embodiments, the user selects the mode through use of controls or buttons located on the transporter 10. In some embodiments, the user selects the mode through use of buttons located on a control device (not shown). In some embodiments, the rate of change of the position of the handle 16 is weighted to reduce its effect on the yaw command signal for a beginner user. In some embodiments, the rate of change of the position of the handle 16 is weighted to increase its effect on the yaw command signal for an experienced user. Thus, for beginners, the rate-of-change term is advantageously reduced or eliminated, with the yaw command being based predominantly, or solely, on the yaw input variable, such as the angle of the handlebar about the fiducial axis {circumflex over (z)}.
Moreover, the rate-of-change component may be filtered with respect to frequency, such that the yaw command may be tailored to be more responsive to sudden maneuvers executed by more experienced riders and more forgiving of sudden maneuvers executed by less capable riders.
In some embodiments, the experience level of the user is used to provide different operating characteristics for a transporter depending on whether the user is a beginner or an expert. In this manner, the low speed sensitivity and maximum commanded yaw rate can be reduced for a beginner mode while preserving the steady-state operation of a transporter that the transporter would operate in for an expert mode.
Further, in some embodiments of the invention, different control gains are used to control operation of the transporter for a beginner mode versus an expert mode when, for example, operating the transporter in reverse and/or during mounting and dismounting of the platform of the transporter.
Several alternative modalities for specifying user directional or velocity input are described in U.S. patent application Ser. No. 10/939,955, which has been incorporated herein by reference. A preferred technique for receiving yaw command input on the basis of handlebar lean is discussed herein, and several embodiments for implementing handlebar lean are depicted in
In the handlebar lean modality, in some embodiments, the yaw input is proportional to some function of the handlebar angle with respect to the chassis, where that functional dependence may be changed on the basis of specified operational circumstances. Alternatively, the yaw input may be proportional to some function of the handlebar angle with respect to a device-independent frame, such as with respect to the local Earth/inertial frame of reference (i.e., to the local vertical—the local gravity vector).
A preferred relation of handle tilt to commanded yaw is shown in
Referring again to
Shaft 102 is aligned along the pivot axis {circumflex over (z)} (see,
The orientation of shaft 102, and, thus, of handle 16, is sensed by pivot angle sensor assembly 118 which contains redundant sensors 101, which may be any sensors known in the art for sensing rotation (e.g., Hall-effect sensors). Other sensors (e.g., optical sensors or magnetic sensors) may also be employed are therefore within the scope of the present invention.
Any mechanism for providing a force that opposes an increasing yaw command, and that restores the yaw input to its central position is within the scope of the invention. One preferred embodiment includes the constant-stress torsional bushing 113.
Torsional bushing 103 is shown in greater detail in
An array of five lights 122 (e.g., light emitting diodes (LEDs)), is provided, preferably on a console 124 disposed in a fixed position relative to platform 12 (between transversely disposed wheels 20) so as to be readily viewable by a rider either mounted on, or mounting, the transporter. In one embodiment, when the colors displayed by the LEDs are all illuminated in a single color (e.g., green), it is indicative of the platform 12 being level and in a correct orientation for mounting. Illumination of an LED in another color (e.g., red) indicates a tilt in the direction corresponding to that LED.
The lights of the digital level 120 may also be employed to indicate other states of the transporter. For example, a condition of blinking red lights may indicate an alarm condition such as a fault, requiring deceleration and dismounting. In some embodiments, blinking lights are representative of a condition involving unauthorized use of the transporter.
In accordance with another embodiment of the invention, separate plates 18 and 19 (shown in
The use of plates 18 and 19 may be advantageously employed to control or limit turning of the transporter during the process of mounting or dismounting the transporter, as a matter of, for example, convenience and safety. For example, sensitivity of the control used to operate the transporter (e.g., the transport 10 of
Alternative steering behavior can be specified in alternative embodiments of the invention. For example, alternative transporter speeds can be specified. Further, steering behavior can be changed based on the amount of force applied by a user to one, or both, of the plates 18 and 19. In some embodiments, the experience level of the user (similarly as discussed herein) is a factor that is used to specify the steering behavior of the transporter.
In some embodiments of the invention, transporter (e.g., transporter 10 of
In various embodiments of the invention, fore-aft stability may be achieved by providing a control loop (e.g., as discussed above in
A ground-contacting member typically has a “point” (actually, a region) of contact or tangency with the surface over which a vehicle (e.g., transporter) is traveling or standing. Due to the compliance of the ground-contacting member, the “point” of contact is actually an area, where the region of contact may also be referred to as a contact patch. For example, the weight of a transporter is distributed over the contact region, giving rise to a distribution of pressures over the region, with the center of pressure displaced forward during forward motion. The distribution of pressures is a function both of the composition and structure of the wheel, the rotational velocity of the wheel, the torque applied to the wheel, and thus of the frictional forces acting on the wheel.
A force in the direction of motion is required to overcome rolling friction (and other frictional forces, including air resistance). In some embodiments of the invention, gravity may be used to provide a torque about the point of contact with the surface in a direction having a component in the sense of desired motion.
The wheel is driven with respect to the transporter by a torque T (supplied by, for example, a motor) which in turn creates a reaction torque −T on the transporter. Since the torque acts about the axle 144, the reaction torque corresponds to a force Fb acting at the center of gravity (CG) of the system, including the transporter and payload, where Fb=T/RCG, where RCG is the distance between the axle and the CG of the system. The line 143 from the CG to point P is at an angle θs relative to the vertical 146.
The rolling friction, f, acting on the wheel at point P, is proportional to the velocity v of the rim of the wheel, with the proportionality expressed as f=μv. For constant velocity to be maintained, this force f must be exactly canceled. Consequently, with gravity providing the force, the condition that must be satisfied is:
Fb cos θs=fb (EQN. 4),
where fb is the component of the reaction force acting transverse to axis 141 between the CG and point P. In order to maintain stability (e.g., prevent a transporter from falling), a stability condition must also exist, namely that no net force acts on the CG in a direction transverse to line 143. There must be no net torque about the point of contact P during motion at constant velocity (i.e., in an inertial frame of reference where the point P is fixed). This condition may be expressed as:
Fg sin θs=fb (EQN. 5),
where Fg sin θs is the “tipping” component of gravity, and fb is the counter-tipping component of the reactive force on a vehicle (e.g., transporter) caused by wheel rotation (fb=Fb cos δ), and where δ is the angle shown between line 143 and line 141.
Equations 4 and 5 may be combined to yield Fg sin θs cos θs=f=μv, thus, in the limit of small angles (where sin θ is approximately θ),
showing that for a transporter, increasing velocity requires increased lean to overcome the effects of friction. Additionally, a control loop that imposes stability on the system will respond to an increased lean by increasing velocity of the system. Additional lean beyond that required to overcome the effects of friction results in acceleration since an additional forward-directed force acts on the CG of the vehicle. Conversely, in order to achieve acceleration (or deceleration) of the transporter, additional leaning (forward or backward) must be provided in a manner discussed in further detail below.
1. Variables defined in world coordinates are named using a single subscript in capital letters. World coordinates are coordinates fixed to the earth (inertial).
2. A non-subscripted r identifies a wheel radius.
3. Lower case subscripts are used to indicate other attributes, e.g., right/left, etc.: r=right; l=left; ref reference; f=finish; s=start.
4. All angles are positive in the clockwise direction, where positive travel is in the positive x direction.
5. A dot over a variable indicates differentiation in time, e.g., {dot over (θ)}.
As shown, the control algorithms 1660 for motors of right and left wheels of a vehicle, for example wheels 20 and 21 of the transporter of
The control algorithms 1660 recognize that a directional input along the X axis moves the reference coordinate system, as shown in
The yaw error signal ψ is input to a standard proportional-plus-integral-plus-derivative (PID) control loop 1616. The output of the PID control loop 1616 is combined with the output of the basic balancing torque command of summer 1619, to produce individual wheel torque commands. The individual wheel torque command causes the wheels to maintain fore-aft stability and also cause the transporter to align itself with the axes of, and follow the origin of, the reference coordinate system as directed by directional input 1600.
In a further embodiment of the invention, speed limiting is used to maintain balance and control, which may otherwise be lost if the ground contacting elements (e.g., wheels) were permitted to reach a maximum operating speed of a transporter. The term “maximum operating speed,” as used herein, refers to the maximum speed at which the vehicle (e.g., transporter) is presently capable of being propelled. This maximum operating speed is typically a function of an instantaneous capability of the transporter. For example, the maximum operating speed may be a function of the capability of the drive system and/or the capability of the energy storage device provided to power the drive system. An energy storage device may be a battery. The “instantaneous capability” of the energy storage device is a measure of the instantaneous power that can be delivered by the device. The “maximum capability” of the energy storage device is a measure of the greatest power that the device can supply at any time. The terms “speed intervention band,” “intervention speed,” and “speed limit”, as used herein, refer to a range or band of speeds extending from an “intervention speed” at the lower end to a “speed limit” at the upper end. The intervention speed is a threshold speed at which means may be employed to reduce a transporter's speed. A transporter will typically be operated with a margin between the maximum operating speed and the speed limit, as illustrated in
Speed reduction may be accomplished by pitching the transporter back in the direction opposite from the current direction of travel, which causes the transporter to slow down. (As discussed above, the extent and direction of system lean determine the transporter's acceleration.) In this embodiment, the transporter is pitched back by adding a pitch modification to the inclinometer pitch value. Speed reduction can occur whenever the velocity of the transporter exceeds the intervention speed. The pitch modification is determined by looking at the difference between the transporter velocity and the intervention speed, integrated over time. The automatic pitch modification sequence may be maintained until the transporter slows to the desired dropout speed (some speed below the intervention speed), and the pitch angle may then be smoothly returned to its original value.
An electric motor connected to a wheel that supports a payload exerts some effort to maintain a steady-state condition. For a stationary vehicle on a slope, the electrical power source supplies the effort via the motor. When the machine begins traveling on the slope, speed increases as potential energy is converted into kinetic energy. Once a steady-state speed is reached, potential energy is no longer being converted to kinetic energy and there is no increase in velocity. Rather, the potential energy can be converted to electrical energy via the motor. The potential energy is converted to electrical energy, minus any losses in the system. The electrical energy can, for example, charge a battery used to drive the motor.
Motor current is proportional to the weight of the combination of the vehicle and supported payload and slope of an underlying surface. Together these two parameters determine how much work gravity can do on the system. If the surface slope is zero, gravity can do no work.
A given actuator system is typically limited in the amount of electric current that can be handled. Considerations such as motor drive hardware, battery capacity and thermal constraints affect this limit.
Motor amplifier 1920 contains both an amplifier controller 1922 and a power amplification stage 1924. Amplifier controller 1922 may be configured to control either current or voltage applied to the motor 1930. These control modes may be referred to as current control mode and voltage control mode, respectively. Power stage 1924 switches the power source 1940 into or out of connection with each coil, based on the switching of the power stage 1924. The power stage 1924 is controlled by the amplifier controller 1922. An inner loop 1826 senses whether the output of power stage 1924 is equal to the commanded value and feeds back an error signal to amplifier controller 1922 at a closed loop bandwidth, preferably on the order of 500 Hz. The amplifier controller alters the output of the power stage 1824 based on the error signal. Additionally, control by amplifier controller 1922 is based, in part, on a feedback signal from shaft feedback sensor (SFS) 1935.
Shaft feedback sensor 1935 is coupled to balancing controller 1910. Shaft feedback sensor 1935 provides information related to the shaft position or motion to the balancing controller 1910. The shaft feedback sensor 1935 may be any sensor known in the sensor art capable of sensing the angular position or velocity of a rotating shaft and includes tachometers, encoders, and resolvers. In order to obtain a measure of shaft rotation velocity from a position signal provided by shaft feedback sensor 1935, the position signal is differentiated by differentiator 1908. The outer feedback loop 1942 operates at a bandwidth characteristic of the balance control provided by balance controller 1910 and may be as low as 20-30 Hz.
While current and voltage control may be equivalent in certain applications, voltage control is advantageously applied in embodiments of transporter control where the outer loop bandwidth is more than 3-4 times slower than the inner closed loop bandwidth.
Vemf=kvω (EQN. 7)
T=kc*i (EQN. 8)
where kv and kc are motor constants. Series resistor 2030 models the losses of the motor 2010.
In a further embodiment of the invention, a method for estimating the instantaneous capability of a battery is provided. As shown in
Vbat=Voc−(Ibat*Rbat) (EQN. 9)
Since this linear relationship is ideal, measured values of Vbat and Ibat will likely present a “scatter plot.” Note that “statistical”, as used herein, refers to the drawing of inferences as to the value of a parameter based on sampling the value by measurement at intervals that may be regular or irregular with respect to distribution of the samples in time or in terms of another dimension. The verb “filter,” as used herein, refers to the process of extracting a value attributable to a single point in time from a plurality of data that may be obtained in successive samplings and may be subject to either random or systematic fluctuations, or both. Application of filtering techniques, as are known in the art, to the data allows estimated values of Voc and Rbat to be derived. For example, a regression analysis using a least squares technique may be employed to derive estimated values of Voc and Rbat from the measured values of Vbat and Ibat. Voc and Rbat will change, such as, for example, due to ambient temperature, battery temperature, battery age, battery usage (both the overall amount of usage and usage pattern), and over time as the battery charge is depleted (and/or regenerated). Accordingly, a more accurate estimate may be obtained if the more recent measured values of Vbat and Ibat are used for the regression or more recent values are weighted more heavily than older values.
In another specific embodiment of the invention, as shown in
The distance from previously accepted measurements identifies data points that may provide additional information from which to refine the estimate of current battery parameters. For example, when the transporter is at rest, little current is drawn and a series of such measurements could skew the estimated value for the battery parameters from their true values, as filtering progresses. An appropriately set threshold for D can be used to mitigate the impact of such data points on the estimate.
The following calculations may then be performed:
(1) calculate update gains Kvoc and Krbat (step 2240):
where, pa is the direct Voc covariance matrix element, pb is the cross coupling covariance matrix element, and pc is the direct Rbat covariance matrix element,
(Note: pa, pb and pc represent the uncertainty in the state estimate);
(2) calculate error between battery state estimate and the new data point (step 2250):
Err=Vbat−(Voc−Ibat*Rbat) (EQN. 11)
(3) update battery state estimate (step 2270):
(If D is less than the threshold (step 2260), Krbat is set to zero (step 2265) so that Rbat is not updated.)
Voc=Voc+Kvoc*Err (EQN. 12)
Rbat=Rbat+Krbat*Err (EQN. 13)
(4) update signal content variables (step 2280), if D is greater than the threshold (step 2275)
Vprev=Vbat (EQN. 14)
Iprev=Ibat (EQN. 15)
The process can continue with repeated measurement of Vbat and Ibat (step 2220), thereby continually updating the estimates of Vbat and Ibat.
In another embodiment of the invention, estimated values of battery parameters are used to calculate a maximum operating speed for a transporter based on the state of the battery and other transporter parameters, such as motor current. For example, the maximum operating speed of the transporter, Y, may be modeled by a linear equation of the form:
Y=M*Imax+B (EQN. 16)
The values for M and B may vary over time and either M or B may be functions of current values of transporter operating parameters such as battery open circuit voltage and internal resistance and motor parameters, such as back EMF gain and motor resistance.
Actuator systems have a physical limit on the amount of torque they can supply and the amount of electric current that can be in the system. The amount of output torque and current in the actuator system are interrelated, the torque is a function of the current (and vice versa), as shown above in EQN. 8, in connection with
A dynamically stabilized transporter such as the one described above may operate so as to maintain a margin for its drive actuator to handle various motoring transients which may arise (for example, needing to accelerate the wheels over small obstacles). That is, for some operating conditions, the wheels need to accelerate to stay underneath the center of mass so as to maintain balance of the vehicle. Similarly, there may be an operational constraint that requires some actuator margin be maintained so as to bring the vehicle to safe stop if the system integrity fails. When traveling uphill or on a flat surface, the vehicle stops by accelerating the wheels out in front of the center of mass causing the system to pitch backwards. The backward pitch causes a reduction or reversal in torque subsequently reducing speed.
The transporter performance is limited and its speed reduced by modulating the pitch of the transporter. This performance reduction can be related to the overall current. That is, the greater the weight of the vehicle and payload and steeper the slope, the more current created. For example, additional current can be required when traveling uphill, due to the increase in torque needed to pitch the vehicle back before stopping. Alternatively, additional current can be created when traveling downhill, due to the regeneration current created when braking. Additional current contributes to the overall current which can cause the overall current limit (i.e., the physical current limit) to be reached, resulting in lowering the speed limit. A lower speed limit lowers the amount of possible sustained deceleration. Reducing the speed limit does not increase the braking capability, but rather puts the system into an operational state where it is less likely to need to use the braking capability, and where the braking capability is used for a shorter time than from a higher initial speed. Because the transporter uses the electric motor to generate braking forces, the very act of slowing down also regenerates current.
Various methods exist for measuring the speed and acceleration of the vehicle which can be used in embodiments of the invention. For example, rotary encoders can be used to measure the speed of one or more wheels of the vehicle. The derivative of the speed of the vehicle with respect to time can be used to determine the acceleration of the vehicle. Further, accelerometers can be used to determine the acceleration of the vehicle.
In some embodiments, the overall current limit is based on operating characteristics of the transporter traveling uphill. In some embodiments, the overall current limit is based on the operating characteristics of the transporter traveling downhill. In some embodiments, a measured motor current threshold (e.g., 2(A) as shown in
In vehicles that do not incorporate the principles of the present invention, positive feedback results during acceleration or deceleration which causes erroneous slowing of the transporter. The positive feedback causes additional unnecessary slowing because the speed is further limited in response to an exceeded current threshold. The lower speed limit requires acceleration when traversing uphill and deceleration when traversing downhill. The acceleration or deceleration causes a further increase in current because an even greater torque than the torque that initially caused the current threshold to be exceeded must be applied to further accelerate or decelerate the vehicle. The current threshold is then further exceeded because the greater the torque, the more current is generated. This overall current increase-deceleration cycle (besides eventually causing a complete undesirable stop) further reduces the available performance margins for responding to transients and failures. In vehicles that incorporate principles of the present invention, the additional current from the acceleration or deceleration is accounted for so it is not seen as additional current from slope and payload. To minimize the effect of the current associated with the slope and weight of the vehicle and payload, and to avoid unnecessary performance reduction (speed limiting) and improve transient dynamics, the control algorithm separates out the actuator current needed for traveling up or down a slope from the current required for acceleration or deceleration. An estimate of the amount of measured current due to acceleration or deceleration may be removed from the measured overall current. Removing the amount of current due to acceleration or deceleration allows the speed limit to be set based on the current resulting from the slope and payload only, which was the original intent.
Speed of some vehicles is not controlled by controlling the pitch of the vehicle. In these vehicles, a speed controller is used to control the vehicle speed by varying, for example, a throttle command signal applied to the vehicle throttle rather than by varying a commanded pitch angle applied to the vehicle motor.
In effect, the acceleration-compensated average current is an estimate of the combined effects of slope and payload. In the embodiment of the invention implemented in a dynamically stabilized transporter, a generalized estimate (e.g., a fixed gain in the vehicle control system) of vehicle and payload mass may be used in determining the acceleration-compensation average current. For example, in one embodiment, the estimate is that 5 amps are required to decelerate the vehicle by one meter per second. In other embodiments, the total system weight is measured or estimated.
Principles of the present invention may be employed with a variety of other types of vehicles. In some embodiments of the invention, principles of the present invention are used with statically stables vehicles (e.g., automobiles, all-terrain vehicles). For example, in one embodiment of the invention, the principles of the present invention are applied to a four wheel, statically stable automobile. The automobile includes two or more electric motors coupled to wheels of the automobile. The electric motors are used as the primary means of acceleration and deceleration of the automobile. Referring to
In one embodiment, the acceleration-compensated average current depends on the total system weight. The total system weight can be accurately reflected by measuring or estimating the weight transferred to the wheels.
In one embodiment, the slope of the surface and the weight of the payload may be estimated based on measurements of torque, acceleration, and speed. The slope and payload estimates based on measurements of torque, acceleration, and speed may also be generally applied to the monitoring and limiting of vehicle performance related to performance limits for hill climbing.
In some embodiments, the maximum allowable speed limit, (e.g., in step 2505 of
The described embodiments of the invention are intended to be merely exemplary and numerous variations and modifications will be apparent to those skilled in the art. In particular, many of the controllers and methods of direction and speed control described herein may be applied advantageously to electric vehicles that are not balancing personal transporters. Balancing transporters present particular requirements for controlling the vehicle as discussed in the foregoing description and in U.S. Pat. No. 6,789,640. All such variations and modifications are intended to be within the scope of the present invention as defined in any appended claims.
The present application claims priority to U.S. Provisional Patent Application No. 60/837,440, filed Aug. 11, 2006, which is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
584127 | Draullette et al. | Jun 1897 | A |
849270 | Schafer et al. | Apr 1907 | A |
2742973 | Johannesen et al. | Apr 1956 | A |
3145797 | Taylor | Aug 1964 | A |
3260324 | Suarez | Jul 1966 | A |
3348518 | Forsyth et al. | Oct 1967 | A |
3374845 | Selwyn | Mar 1968 | A |
3399742 | Malick | Sep 1968 | A |
3446304 | Alimanestiano | May 1969 | A |
3450219 | Fleming | Jun 1969 | A |
3515401 | Gross | Jun 1970 | A |
3568018 | Macdonald | Mar 1971 | A |
3580344 | Floyd | May 1971 | A |
3626177 | Franke | Dec 1971 | A |
3872945 | Hickman et al. | Mar 1975 | A |
3876025 | Green | Apr 1975 | A |
3952822 | Udden et al. | Apr 1976 | A |
3984748 | Sullivan | Oct 1976 | A |
4019602 | Habiger | Apr 1977 | A |
4050533 | Seamone | Sep 1977 | A |
4094372 | Notter | Jun 1978 | A |
4109741 | Gabriel | Aug 1978 | A |
4151892 | Francken | May 1979 | A |
4212443 | Duncan et al. | Jul 1980 | A |
4222449 | Feliz | Sep 1980 | A |
4241931 | Healy | Dec 1980 | A |
4244215 | Merhav et al. | Jan 1981 | A |
4247127 | Wilkes | Jan 1981 | A |
4260942 | Fleming | Apr 1981 | A |
4293052 | Daswick et al. | Oct 1981 | A |
4324414 | Wilkes | Apr 1982 | A |
4414937 | Ueda et al. | Nov 1983 | A |
4442723 | Auer | Apr 1984 | A |
4507737 | LaSarge et al. | Mar 1985 | A |
4536686 | Gartner | Aug 1985 | A |
4560022 | Kassai | Dec 1985 | A |
4566707 | Nitzberg | Jan 1986 | A |
4607205 | Kito et al. | Aug 1986 | A |
4685693 | Vadjunec | Aug 1987 | A |
4709772 | Brunet | Dec 1987 | A |
4716980 | Butler | Jan 1988 | A |
4796716 | Masuda | Jan 1989 | A |
4797826 | Onogi et al. | Jan 1989 | A |
4798255 | Wu | Jan 1989 | A |
4802542 | Houston et al. | Feb 1989 | A |
4809804 | Houston et al. | Mar 1989 | A |
4874055 | Beer | Oct 1989 | A |
4979582 | Forster | Dec 1990 | A |
4998596 | Miksitz | Mar 1991 | A |
5011171 | Cook | Apr 1991 | A |
5033000 | Littlejohn et al. | Jul 1991 | A |
5070959 | Grabowski | Dec 1991 | A |
5111899 | Reimann | May 1992 | A |
5121806 | Johnson | Jun 1992 | A |
5168947 | Rodenborn | Dec 1992 | A |
5171173 | Henderson et al. | Dec 1992 | A |
5194872 | Musoff et al. | Mar 1993 | A |
5215159 | Nishida | Jun 1993 | A |
5221883 | Takenaka et al. | Jun 1993 | A |
5248007 | Watkins et al. | Sep 1993 | A |
5303156 | Matsuoka et al. | Apr 1994 | A |
5350033 | Kraft | Sep 1994 | A |
5366036 | Perry | Nov 1994 | A |
5376868 | Toyoda et al. | Dec 1994 | A |
5390753 | Parker | Feb 1995 | A |
5397890 | Schueler et al. | Mar 1995 | A |
5430432 | Camhi et al. | Jul 1995 | A |
5487441 | Endo et al. | Jan 1996 | A |
5645135 | Peterson, Jr. | Jul 1997 | A |
5670780 | Lewis | Sep 1997 | A |
5701965 | Kamen et al. | Dec 1997 | A |
5701968 | Wright-Ott et al. | Dec 1997 | A |
5712426 | Sapuppo et al. | Jan 1998 | A |
5764014 | Jakeway et al. | Jun 1998 | A |
5775452 | Patmont | Jul 1998 | A |
5791425 | Kamen et al. | Aug 1998 | A |
5794730 | Kamen | Aug 1998 | A |
5809755 | Velke et al. | Sep 1998 | A |
5854843 | Jacknin et al. | Dec 1998 | A |
5860480 | Jayaraman et al. | Jan 1999 | A |
5950754 | Ondrish, Jr. | Sep 1999 | A |
5971091 | Kamen et al. | Oct 1999 | A |
5973463 | Okuda et al. | Oct 1999 | A |
5975225 | Kamen et al. | Nov 1999 | A |
6003624 | Jorgensen et al. | Dec 1999 | A |
6037861 | Ying | Mar 2000 | A |
6037862 | Ying | Mar 2000 | A |
6050357 | Staelin et al. | Apr 2000 | A |
6059062 | Staelin et al. | May 2000 | A |
6125957 | Kauffmann | Oct 2000 | A |
6131057 | Tamaki et al. | Oct 2000 | A |
6148939 | Brookhart et al. | Nov 2000 | A |
6155367 | Alber | Dec 2000 | A |
6170598 | Furukawa | Jan 2001 | B1 |
6179076 | Fernie et al. | Jan 2001 | B1 |
6205375 | Naito | Mar 2001 | B1 |
6246232 | Okumura | Jun 2001 | B1 |
6253143 | Silvernagle et al. | Jun 2001 | B1 |
6276230 | Crum et al. | Aug 2001 | B1 |
6288505 | Heinzmann et al. | Sep 2001 | B1 |
6302226 | Kanno et al. | Oct 2001 | B1 |
6302230 | Kamen et al. | Oct 2001 | B1 |
6332103 | Steenson, Jr. et al. | Dec 2001 | B1 |
6334084 | Moteki et al. | Dec 2001 | B1 |
6367817 | Kamen et al. | Apr 2002 | B1 |
6377906 | Rowe | Apr 2002 | B1 |
6408240 | Morrell et al. | Jun 2002 | B1 |
6443250 | Kamen et al. | Sep 2002 | B1 |
6527071 | Villedieu | Mar 2003 | B1 |
6538411 | Field et al. | Mar 2003 | B1 |
6543564 | Kamen et al. | Apr 2003 | B1 |
6581714 | Kamen et al. | Jun 2003 | B1 |
6651763 | Kamen et al. | Nov 2003 | B1 |
6651766 | Kamen et al. | Nov 2003 | B2 |
6779621 | Kamen et al. | Aug 2004 | B2 |
6789640 | Arling et al. | Sep 2004 | B1 |
6796396 | Kamen et al. | Sep 2004 | B2 |
6827163 | Amsbury et al. | Dec 2004 | B2 |
6868931 | Morrell et al. | Mar 2005 | B2 |
6874591 | Morrell et al. | Apr 2005 | B2 |
6965206 | Kamen et al. | Nov 2005 | B2 |
7017686 | Kamen et al. | Mar 2006 | B2 |
7275607 | Kamen et al. | Oct 2007 | B2 |
20020063006 | Kamen et al. | May 2002 | A1 |
20030205419 | Kamen et al. | Nov 2003 | A1 |
20030231022 | Morrell et al. | Dec 2003 | A1 |
20040011573 | Kamen et al. | Jan 2004 | A1 |
20040055795 | Kamen et al. | Mar 2004 | A1 |
20040118622 | Morrell et al. | Jun 2004 | A1 |
20040162683 | Verbrugge et al. | Aug 2004 | A1 |
20050121866 | Kamen et al. | Jun 2005 | A1 |
20060108156 | Heinzmann et al. | May 2006 | A1 |
20060108165 | Kamen et al. | May 2006 | A1 |
Number | Date | Country |
---|---|---|
3242880 | Jun 1983 | DE |
0537698 | Apr 1993 | EP |
0663313 | Jul 1995 | EP |
2 756 521 | Jun 1998 | FR |
57087766 | Jun 1982 | JP |
01316810 | Dec 1989 | JP |
4-201793 | Jul 1992 | JP |
WO8605752 | Oct 1986 | WO |
WO9623478 | Aug 1996 | WO |
WO9846474 | Oct 1998 | WO |
WO0075001 | Dec 2000 | WO |
Number | Date | Country | |
---|---|---|---|
20080039990 A1 | Feb 2008 | US |
Number | Date | Country | |
---|---|---|---|
60837440 | Aug 2006 | US |