Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
MOTOR CONTROL IN AN ELECTRIC POWER STEERING
Document Type and Number:
WIPO Patent Application WO/2022/144551
Kind Code:
A1
Abstract:
An electric power assisted steering system for a vehicle which comprises an electric motor configured to apply an assistance torque to a part of a steering assembly so as to assist a driver of a vehicle in turning the steering wheel, a drive circuit for the motor which selectively connects the motor phases to an electrical supply to cause current to flow in the motor phases, the amount of assistance torque applied by the motor being a function of the current flowing in the phases of the motor, and a control circuit which generates a control signal that is applied to the motor drive stage, the control signal indicating the currents required in the motor phases, in which the control circuit comprises a PID controller which receives at an input a demand signal indicative of a required behaviour of the motor and provides at an output the control signal that is fed to the drive stage for the motor, the controller being arranged in a closed loop with the motor and configured to minimise an error value comprising the difference between the demanded behaviour as indicated by the demand signal and the actual behaviour of the motor, and a neural network which has an input layer of neurons, at least one hidden layer of neurons, and an output layer comprising at least one output neuron, in which the neural network comprises a feedforward neural network that receives at the input layer of input neurons the demand signal, the control signal output from the controller and the error value, and in which the neural network is configured to determine one or more of the P gain, I gain and D gain terms used by the PID controller, and further in which the neural network receives as an additional feedforward term at least one additional discrete environmental variable.

Inventors:
SUN XIAO-DONG (GB)
Application Number:
PCT/GB2021/053447
Publication Date:
July 07, 2022
Filing Date:
December 30, 2021
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ZF AUTOMOTIVE UK LTD (GB)
International Classes:
G06N3/04; B62D15/02; H02P9/00
Foreign References:
CN109969181B2020-06-05
CN104836498B2019-01-15
Attorney, Agent or Firm:
BARKER BRETTELL LLP (GB)
Download PDF:
Claims:
CLAIMS

1. An electric power assisted steering system for a vehicle which comprises: an electric motor configured to apply an assistance torque to a part of a steering assembly so as to assist a driver of a vehicle in turning the steering wheel, a drive circuit for the motor which selectively connects the motor phases to an electrical supply to cause current to flow in the motor phases, the amount of assistance torque applied by the motor being a function of the current flowing in the phases of the motor, and a control circuit which generates a control signal that is applied to the motor drive stage, the control signal indicating the currents required in the motor phases, in which the control circuit comprises: a PID controller which receives at an input a demand signal indicative of a required behaviour of the motor and provides at an output the control signal that is fed to the drive stage for the motor, the controller being arranged in a closed loop with the motor and configured to minimise an error value comprising the difference between the demanded behaviour as indicated by the demand signal and the actual behaviour of the motor, and a neural network which has an input layer of neurons, at least one hidden layer of neurons, and an output layer comprising at least one output neuron, in which the neural network comprises a feedforward neural network that receives at the input layer of input neurons the demand signal, the control signal output from the controller and the error value, and in which the neural network is configured to determine one or more of the P gain, I gain and D gain terms used by the PID controller, and further in which the neural network receives as an additional feedforward term at least one additional discrete environmental variable.

2. A system according to claim 1 in which the demand signal comprises a torque demand signal indicative of a torque that is required from the motor, and the measure of the motor behaviour comprises a measurement of the motor torque.

3. A system according to claim 1 in which the demand signal input to the PID controller comprises a current demand signal Idq set indicative of the required motor current. 4. A system according to any preceding claim in which the values of one or more of the P I and D terms used by the PID controller are set directly by the neural network in real time.

5. A system according to any one of claims 1 to 3 in which the neural network is configured to set the values of one or more of the P I and D terms when the electric power steering system is offline and to store the values in a look up table for use by the controller in real time.

6. A system according to any preceding claim in which the neural network is configured to determine one or more of the P I and D gain values as respective nodal values within a hidden layer of the neural network.

7. A system according to any preceding claim in which the environmental variable comprises at least one of the following:

-the speed of the vehicle,

- the motor rotation speed/angle for the current/torque control, and

- steering torque or angle

Description:
MOTOR CONTROL IN AN ELECTRIC POWER STEERING

This invention relates to improvements in motor control of in electric power steering systems.

It is known to fit most modern vehicles with an electric power steering system. An electric power steering system includes an actuator, usually an electric motor that can apply a torque that assists the driver in turning the steering wheel. The motor can also be used to apply torque in varying levels to give different amounts of assistance at different vehicle speeds, and even to help the driver to avoid an accident by applying torque to steer the road wheels independent of the action of the driver such as to help stay in a lane on a highway.

The motor generates torque in response to drive currents applied to the phases of the motor, and the value of these drive currents may be set by a controller in response to a demand torque from a signal processor. The demanded torque may, for instance, be proportional to the amount of torque applied to the steering wheel by a driver. A torque sensor may be provided which measures the steering wheel torque.

The value of the drive currents is typically set by a controller which outputs a signal or set of signals in response to an input torque demand signal. One suitable kind of controller that is commonly used with a motor in an electric power steering system is the PID controller. An exemplary prior art arrangement is shown in Figure 4 of the drawings. In use a set point value Idq set representing some demanded behaviour of the actuator, in this case the current demanded for the phases of a motor, is combined with a measure of that behaviour, in this case a measure of the actual currents Idq in the phases, to provide an error signal e indicative of the difference between what is demanded and what is actually happening. This error signal is fed into the PID controller which in turn outputs the signal for driving the motor that will cause it to track the setpoint value. The PID controller constantly adjusts the value of this output signal that is fed to the motor drive circuit so that the error signal is minimised and the tracking is achieved. This forms a closed loop control of the motor currents and can provide a highly accurate control for the actuator involved. By controlling the current, in combination with knowledge of the motor rotor position and other physical characteristics of the motor, full torque control can be achieved. A PID controller is so called because it can use the three control terms, each typically expressed as a gain value Kp, Ki, Kd, which has a proportional, integral and derivative control effect on the signal output feedback from the control system. The principles are well known from the literature and can be expressed as:

Referring to Figure 1, a PID controller 1 for an actuator 2 or other controlled plant calculates an error value e(t) as the difference between a desired setpoint and the behaviour of the controlled plant and applies a correction based on the proportional, integral, and derivative control terms from the error. The controller attempts to minimize the error over time by adjustment of the control signal u(t). In the case of a plant comprising a three phased direct current motor, this control actuation signal may define the voltages that are to be applied to the motor for and may be fed to an inverter which in turn generates pulse width modulation signals that are applied to switches of an inverter.

The performance of the controller will depend significantly on the selection of the three gain terms, and the process of selecting the gain terms is known in the art as tuning of the controller. The gain terms will generally be set to fixed values during a design phase of the system, and may be modified to suit a particular application in a vehicle. As shown in Figure 4 a look up table may be provided which enables different gain terms to be used in different conditions, such as at different vehicle speeds Vspd. A problem with the fixing of the gain terms is that over time the tuning can become suboptimal as the system they are controlling changes internally in the features away from that in the design phase, and they can be suboptimal for certain changes in the operating conditions of the vehicle.

The applicant has proposed an electric power steering system which ameliorates the limitations of prior art automotive electric power steering systems as described above.

According to a first aspect the invention provides an electric power assisted steering system for a vehicle which comprises: an electric motor configured to apply an assistance torque to a part of a steering assembly so as to assist a driver of a vehicle in turning the steering wheel, a drive circuit for the motor which selectively connects the motor phases to an electrical supply to cause current to flow in the motor phases, the amount of assistance torque applied by the motor being a function of the current flowing in the phases of the motor, and a control circuit which generates a control signal that is applied to the motor drive stage, the control signal indicating the currents required in the motor phases, in which the control circuit comprises: a PID controller which receives at an input a demand signal indicative of a required behaviour of the motor and provides at an output the control signal that is fed to the drive stage for the motor, the controller being arranged in a closed loop with the motor and configured to minimise an error value comprising the difference between the demanded behaviour as indicated by the demand signal and the actual behaviour of the motor, and a neural network which has an input layer of neurons, at least one hidden layer of neurons, and an output layer comprising at least one output neuron, in which the neural network comprises a feedforward neural network that receives at the input layer of input neurons the demand signal, the control signal output from the controller and the error value, and in which the neural network is configured to determine one or more of the P gain, I gain and D gain terms used by the PID controller, and further in which the neural network receives as an additional feedforward term at least one additional discrete environmental variable.

The applicant has appreciated that the use of a neural network in an electric power steering system to tune the gain terms of a PID controller which is fed with at least one additional discrete environmental variable allows for an additional degree of control of the electric motor in the steering system.

The demand signal may comprise a torque demand signal indicative of a torque that is required from the motor, and the measure of the motor behaviour may comprise a measurement of the motor torque. This may be obtained using a torque sensor.

In a preferred arrangement the demand signal input to the PID controller comprises a current demand signal Idq set indicative of the required motor current, for example expressed in the DQ frame of reference. In this case the measured or estimated actual behaviour may comprise the motor phase currents Idq, which may also be expressed in the same DQ frame. The demand signal may be generated from a torque target signal indicative of the torque demanded from the motor.

The additional discrete variable may be chosen such as to enable the neural network of the control circuit to automatically change the PID gains to adapt the plant variation (back emf) and uncertainties which may include one or more of : current/torque tracking adaptation (P&I terms) damping adaptation/stability robustness (D terms) extra control freedoms for 1) motor speed, 2) current/torque command

The values of one or more of the P I and D terms used by the PID controller may be set directly by the neural network in real time. This may mean they are calculated periodically as the system is in use, for example once a second, or once a minute, or at some other preferred time interval which may be fixed or random in duration.

Providing a neural network configured to set these values on line during use of the system enhances motor tracking control and stability robustness to be enhanced over the prior art.

In an alternative, the neural network may be configured to set the values of one or more of the P I and D terms when the electric power steering system is offline, for instance during initial manufacture of the system. The neural network may store the value in a look up table for use by the controller in real time. In this case, the values may not be recalculated once the system is in use.

The neural network may be configured to periodically reset the values of the P I and D terms stored in the look up table in response to a trigger signal. This trigger signal may be generated whenever a certain set of conditions are satisfied, or may be supplied by a user of technician during a service or a reset of the system.

The neural network may be configured to determine one or more of the P I and D gain values as respective nodal values within a hidden layer of the neural network. By environmental variable we may mean a variable which is indicative of a parameter that is not used with the control loop of the PID controller.

The environmental variable may comprise at least one of the following commonly found in a vehicle motion control system:

-the speed of the vehicle for most of the vehicle motion control,

- the motor rotation speed/angle for the current/torque control, and

- steering torque or angle

The skilled person will understand that this is not intended to be an exhaustive list and other variables may be used within the scope of the invention.

The neural network may be fed with the demand signal input to the controller, and with an error signal that is calculated from the difference between the demand and the actual behaviour of the motor.

The neural network controller most preferably may be realised in the discrete control form.

The signals input to the neural network may be updated periodically, and between each update the neuron values may be updated in response prior to inputting updated values to the neural network.

Each of these variables will vary as the vehicle is operated, and providing the at least one additional variable at the input point to the neural network provides a degree of further adaptation to the control of the actuator, enabling the error value better to be minimised in accordance with the environmental conditions change in use.

The weights and the neurons of the neural network may be pre-set prior to first use of the neural network to define a set of values for the gains P, I and D which minimise the error value assuming that the system operates for the nominal internal and external conditions, and the environmental value has no influence.

The pre-set weights and neurons may be stored in an area of memory. During use of the control system the weights may be updated by a gradient-descent backpropagation scheme each time a new set of input values is supplied to the neural network, and the updated weights combine with the input values are used to update the neurons.

The weight update step may be controlled by a learning strategy unit defining the profile and step for the update.

Expressed mathematically the inputs and outputs from the neural network may comprise: y*_set & y* : discrete demand value(setpoint) & the measured behaviour of the motor, e* : the tracking error = y*_set -y*: u* : discrete PID control;

U* : discrete environment variables

Kp, Ki and Kd: discrete P(proportional), I(integral), D(derivative) Control Gains respectively.

In a most preferred arrangement the Neural Network is configured to perform a gradient descent learning for the inter- neuron weightings.

In a most preferred arrangement the neural network may determine the weights using a backpropagation algorithm.

The or each environmental variable may be fed into the neutral network at an input layer. The control gains may be calculated as the neuron point values of respective neurons of a hidden layer of the neural network, and the control signal value may be generated at an output neuron of the neural network.

Once a new set of inputs have been fed to the input neurons of the neural network, the values of the hidden neurons will be calculated by a perceptron model upon the input values combined with the interneuron weightings applied between the input layer and the hidden layer. The neural network may be configured to make the error term e(k) a minimum using so-called the gradient descent back -propagation algorithm to perform the weights W training and update for the error function minimisation, to achieve the optimal PID control gains (Kp ,Ki and Kd), hence the desired PID control for the output signal.

The neural network may have a single hidden layer of neurons that connect the input layer neurons to the output layer.

The control circuit may include a processing means configured to carry out the following sequence of steps:

Input values to the neural network updated;

Weightings updated following the gradient descent back propagation scheme control combining with the input values, error and last control signal; the neuron values update calculation from the perceptron model using the input neurons and the weighting gains (W) applied to connections between the input neurons and the hidden layer neurons;

Controller PID gain values updated based on the neuron values; and

Control signal output from the controller generated by applying gains to the error signal input to the PID controller.

The processing means may be configured such that the propagation of the signals through the neural network may be performed each time a new error signal is input to the PID controller and the output of the controller may only be generated once the neural network has completed the back propagation.

There will now be described by way of example only, one embodiment of the present invention of which:

Figure 1 is a schematic of a general PID Controller incorporated into a feedback loop where it controls the operation of a plant such as an electric motor;

Figure 2 is a schematic view of an electronic power steering (EPS) system that falls within the scope of an aspect of the invention; Figure 3 is a schematic of the motor control circuit that is incorporated into the system of Figure 2 and includes a neural network to determine the gains of a PID controller;

Figure 4 shows the arrangement of neurons within the neural network of Figures 2 and 3,

Figure 5 shows the configuration and each the layer function block of the neural network PID controller implemented in Matlab/Simulink, and

Figure 6 is a schematic of an alternative embodiment of a motor control circuit that can be used in the system of Figure 2.

As shown in the Figure 2, a vehicle 10 is fitted with an electric power steering system (EPS) 1 1 having an electric motor 1 1. The motor 1 1 of the EPS system comprises a multi-phase pulse width modulated synchronous motor that outputs a torque in response to a control signal output from a PID controller 12. The PID controller 12 and motor 11 form a closed feedback loop with a measurement of a parameter of the motor being fed back to the input side of the controller. In this example the measurement can be made of the motor phase currents (see Figure 3(b))

As shown in Figure 3, the PID Controller 12 receives at an input a set point signal for the actuator which in this example is a demanded motor current value Idq-set and provides as an output a drive signal u that is fed to a motor drive circuit 14. The controller is configured to minimise an error value indicative of the difference between the demanded motor current and the measured motor current.

As is well known, the output of the PID controller- in this case the drive current value - is determined as a sum of three terms, a proportional term, an integral term and a differential term. Each term is calculated by multiplying the error signal value by a respective gain term Kp, Ki, and Kd.

These gain terms are calculated in the example of Figure 2 by a neural network 15 as shown in Figure 4. The neural network 15 comprises a set of neurons 16 which receive inputs, followed by the process to combine the inputs with their internal state and weights, and perform the neuron values calculation using an activation function, and produce output using an output function. The initial inputs are external data which in this example comprise environmental variables that are relevant to the torque control for the motor control, specifically the vehicle speed vspd and the motor speed.

The neurons 16 are arranged in a network of connections, each connection providing the output of one neuron as an input to another neuron. Each connection is assigned a weight that represents its relative importance. The propagation function computes the input to a neuron (activation function) from the outputs of its predecessor neurons and their connections as a weighted sum.

The specific neural network 15 used in the motor control example of Figure 3is a feedforward network with one hidden layer. The network has am input layer of neurons, an output layer comprising at least one output neuron, and at least on hidden layer of neurons. This is shown in Figure 4. The neural network is configured to perform gradient-descent backpropagation learning to provide the P gain, I gain and D gain terms used by the PID controller. The neural network in this example is a single hidden layer neural network in which the hidden layer has three neurons, each neuron defining a value of a respective gain term for the PID controller. The neural network has a single output neuron defining the value of the drive signal for the motor.

As shown in Figure 4&5 the neural network 15 receives at the input neurons the error value e, demand signal y_set, the control signal u c output from the PID controller.

The Neural network also receives as a feedforward term a number of additional discrete environmental variables. In this example one of the feedforward environmental variables can be the steering angle or the motor rotation speed. The value of this term is generated by a signal processor that receives the signal from the sensor.

The operation of the neural network and the discrete PID controller during use of the electronic system is as follows:

Step 1 - the input values fed to the input layer neurons of the neural network are updated as is the set point signal fed to the PID controller; Step 2: Obtain the kth step learning coefficient r|(K) from the simple (adaptive) formula

Step 3- The Weightings between neurons in the neural network are updated following a back -propagation scheme combining with the input values, previous control signal and learning coefficient update

Step 4- The Controller gain values are updated based on the hidden layer neuron values calculation by the perceptron model from the input neurons and the weighting gains W applied to connections between the input neurons and the hidden layer neurons,

Step 5- the updated control signal u c is output from the PID controller generated by applying gains to the error signal input to the PID controller;

Step 6- the system output, here the motor current, and the associated environment variable(s), are measured and the values are fed back to the input of the PID controller

Step 7- repeat steps 1 to 6.

In a modification shown in Figure 6 the neural network 15 does not constantly cycle through steps 1 to 7 during use of the EPS system. Instead, the EPS system controller uses P I and D terms that are stored in a look up table that have been calculated by the neural network when the system is offline.