Patent Document

BACKGROUND OF THE INVENTION  
         [0001]    1. Field of the Invention  
           [0002]    The present invention relates to a controller for an electric power steering system for providing a steering assist force by a motor to steering systems of an automobile or a vehicle, particularly to a controller for an electric power steering system for automatically correcting an offset of a motor-current detection system and balancing the steering assist force so as to improve the steering feeling.  
           [0003]    2. Description of the Prior Art  
           [0004]    An electric power steering system for auxiliary-load-energizing the steering system of an automobile or a vehicle with the rotating force of a motor is designed to energize an assist force to a steering shaft or a rack shaft by a transmission mechanism such as a gear or a belt through a decelerator. This conventional electric power steering system performs feedback control of a motor current in order to accurately generate an assist torque(steering auxiliary torque). The feedback control adjusts a motor-applied voltage so that the difference between a current control value and a motor current detection value decreases, and the motor-applied voltage is generally adjusted by adjusting the duty ratio of PWM(pulse-width modulation) control.  
           [0005]    Then, a general configuration of an electric power steering system is described below by referring to FIG. 1. A shaft  2  of a steering handle  1  is connected to tie rods  6  of a steering wheel through a deceleration gear  3 , a universal joints  4   a  and  4   b  and a pinion rack mechanism  5 . The shaft  2  is provided with a torque sensor  10  for detecting the steering torque of the steering handle  1  and a motor  20  for auxiliary of the steering force of the steering handle  1  is connected to the shaft  2  through the deceleration gear  3 . Power is supplied to a control unit  30  for controlling the power steering system from a battery  14  through an ignition key  11  and a relay  13 , and the control unit  30  computes a steering assist command value I of an assist command in accordance with a steering torque T detected by the torque sensor  10  and a vehicle speed V detected by a vehicle speed sensor  12  and controls the current to be supplied to the motor  20  in accordance with the computed steering assist command value I.  
           [0006]    An electric power steering system using a DC motor realizes an optimum steering force by controlling a motor current. However, because a motor current detection circuit is necessary to control a motor current, such a motor current detection circuit is generally constituted by an analog circuit. The analog circuit latently has a DC offset. Particularly, in the case of a current detection circuit for electric power steering, it is necessary to detect a large current of tens of amperes at a low voltage of 12[V] and a high resolution. Therefore, it is necessary to amplify a signal having a small potential difference up to the maximum value of a detection range. Therefore, when using the above high-gain amplifier, a problem occurs that a latent offset is also amplified and increased. When the above offset is present, a problem occurs that a current seems to flow though the current does not actually flow and thereby, a preferable assist cannot be performed.  
           [0007]    The above offset value is conventionally set so that the characteristic of a current detection circuit does not influence the maximum value of offset values which may be generated and the whole system is not influenced even if an offset is generated.  
           [0008]    [0008]FIG. 2 shows a configuration of the control unit  30  having an offset correcting function, which is divided into a realizing portion by software and a realizing portion by hardware. The steering torque T detected by the torque sensor  10  and the vehicle speed V detected by the vehicle speed sensor  12  are inputted to a current command computing portion  31 . The current command computing portion  31  computes and decides the steering assist command value I which is the control target value of a current to be supplied to the motor  20 . The steering assist command value I is inputted to a subtracter  32  and a current control value E which is a subtraction result by the subtracter  32  is inputted to a motor driving portion  34  through a driving control means  33 , and the motor  20  is driven by the motor driving portion  34 . The current of the motor driving portion  34  is detected by a current detecting portion  35  and a current detection signal is inputted to a subtracter  36 . Moreover, an offset value from an offset setting portion  37  according to a measurement result is inputted to an offset correcting portion  38 , a correction signal from the offset correcting portion  38  is inputted to the subtracter  36 , and a corrected current detection signal from the subtracter  36  is inputted to the subtracter  32 .  
           [0009]    Moreover, to correct an offset by hardware, the circuit configuration shown in FIG. 3 is set to a state in which an output of the output-driving circuit  34 A of a CPU  30 A is turned off, that is, a current(A) circulating through the motor  20  becomes “0” and the then output voltage(V) of a current detecting circuit  35 A is measured to adjust an offset correcting circuit  38 A so that the voltage(V) becomes “0”.  
           [0010]    However, in the case of the method where the characteristic of a current detecting circuit is set so that it does not influence the maximum value of offset values which may be generated, there is no problem when an offset which may be generated to a resolution necessary for control is small enough. However, when a large offset is generated, problems occur that a necessary resolution is not obtained but a scale much larger than a scale necessary for control must be set and only a performance far behind a performance which can be originally realized to correct an offset can be realized.  
           [0011]    Moreover, as shown in FIG. 2, a system provided with components(the current detecting portion  35 , the offset setting portion  37  and the offset-correcting portion  38 ) capable of previously correcting an offset by the hardware has problems that an extra circuit is necessary to adjust the system, it takes a lot of time to adjust the system, and the manufacturing cost is increased in any case. Furthermore, to realize an electric power-steering system having a higher performance, it is necessary to further raise the resolution of a current detecting circuit and thereby, the resolution of offset correcting means must be raised, and thus, it is necessary to more severely adjust the offset correcting means.  
           [0012]    That is, because an offset is conventionally corrected by hardware, a circuit for correction is necessary, excessive component cost and mounting area are necessary and moreover, man-hours for the correction are necessary and therefore, the cost for adjusting the circuit is increased. Furthermore, there is a problem that when using a variable resistor(trimmer) in order to realize a correcting circuit, an adjustment error becomes small but a positional shift after adjustment may occur. On the other hand, when using an adjusting resistor(selection of fixed resistor) in order to realize a correcting circuit, there is a problem that an adjustment error becomes large though no shift occurs after adjustment. Because of selection from a commercial fixed resistor in variation, there is a disadvantage that it is impossible to adjust a value smaller than the difference width between commercial resistors.  
         SUMMARY OF THE INVENTION  
         [0013]    The present invention is made to solve the above problems and its object is to provide a controller for an electric power steering system capable of balancing a steering assist force by correcting the offset of a motor current detecting system and improving the steering feeling.  
           [0014]    The present invention relates to a controller for an electric power steering system comprising motor driving means for driving an electric power steering motor and a motor current detecting means for detecting a current running through the motor. The above object is achieved by realizing a motor stop state in which no current runs through the motor in such a manner that the motor driving means is not energized, using a motor current detection signal under the motor stop state as the offset value of the motor current detecting means, and automatically correcting the offset of the motor current detecting means in accordance with the offset value.  
           [0015]    Moreover, the above object of the present invention is more effectively achieved by storing the offset value in a storing portion, or automatically correcting the offset in accordance with the added value of a standard offset value according to a designed value and the difference between the offset value and the standard value, or storing the difference between the offset value and the standard value according to the designed value in the storing portion and automatically correcting the offset in accordance with the added value of the standard value and the stored value. 
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0016]    In the accompanying drawings:  
         [0017]    [0017]FIG. 1 is a block diagram showing an electric power steering system;  
         [0018]    [0018]FIG. 2 is a functional block diagram functionally showing a general internal configuration of a control unit;  
         [0019]    [0019]FIG. 3 is a circuit block diagram showing one example of a hardware configuration in a control unit;  
         [0020]    [0020]FIG. 4 is a block diagram showing a configuration of a first embodiment of the present invention;  
         [0021]    [0021]FIG. 5 is a flowchart showing operations of the first embodiment;  
         [0022]    [0022]FIG. 6 is a block diagram showing a configuration of a second embodiment of the present invention;  
         [0023]    [0023]FIG. 7 is a flowchart showing operations of the second embodiment;  
         [0024]    [0024]FIG. 8 is a block diagram showing a configuration of a third embodiment of the present invention;  
         [0025]    [0025]FIG. 9 is a flowchart showing operations of the third embodiment;  
         [0026]    [0026]FIG. 10 is a block diagram showing a configuration of a fourth embodiment of the present invention; and  
         [0027]    [0027]FIG. 11 is a flowchart showing operations of the fourth embodiment. 
     
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0028]    In the case of the present invention, the offset of a current detecting portion(current detecting circuit) is automatically corrected. Therefore, an extra circuit for adjustment is unnecessary while keeping a resolution necessary for control and it is possible to realize a controller for a high-performance and inexpensive electric power steering system because the adjustment of the circuit is unnecessary.  
         [0029]    When further improving the resolution of a current detecting circuit in order to realize a high-performance electric power steering system, an automatic correction is performed by software in the case of the present invention. Therefore, this is a correction method also suitable for performance improvement because improvement of the resolution of a detecting circuit automatically improves a resolution of a correcting means. Means for correcting an offset corrects the offset in accordance with the added value of a standard value(reference value assumed for design) according to a designed value and the difference between a measured offset value and the standard value. Therefore, even if measurement of an offset fails or a step of correcting an offset is skipped, it is possible to prevent considerable deterioration of a performance.  
         [0030]    Embodiments of the present invention are described below by referring to the drawings.  
         [0031]    [0031]FIG. 4 is a block diagram showing a configuration of a first embodiment of the present invention, in which a steering torque signal T from a torque sensor  41  and a vehicle speed signal V from a vehicle speed sensor  42  are inputted to a current command computing portion  50  and a computed current command value is inputted to an adder-subtracter  51 . An output of the adder-subtracter  51  is inputted to a driving control means  52  and the driving control means  52  drives a motor  40  for generating an assist steering force of a steering system through a motor driving portion  60 . A motor current is detected by a current detecting portion  61  and a current detection signal is inputted to the adder-subtracter  51 . Moreover, a measured offset value  53  according to a measurement result is inputted to an offset correcting portion  54  and the adder-subtracter  51  and a current detection signal from the current detecting portion  61  is offset-corrected.  
         [0032]    Operations of the above configuration are described below by referring to the flowchart in FIG. 5.  
         [0033]    First, initialization is performed by software(Step S 1 ) and the motor driving portion  60  before being activated is stopped before supplying a current to the motor  40  after initialization is completed(Step S 2 ). Under the stopped state, no current is run through the motor  40 . However, because the current detecting portion  61  is electrically kept turned-on, a current detection signal inputted to a CPU(controller) from the current detecting portion  61  becomes only an offset value of a circuit system. Therefore, by reading the offset value converted to A/D, it is possible to obtain a measurement of an offset value, that is, a measured offset value(Step S 3 ). A correction value is generated in accordance with the measured offset value(Step S 4 ). The correction value directly serves as an offset value when the scale of a motor current value for normal control is equal to that of an inputted motor current value.  
         [0034]    Then, normal control is started, the steering torque signal T from the torque sensor  41  is A/D-converted and inputted(Step S 10 ), failure diagnosis to check whether the signal T is an abnormal value is performed(Step S 11 ), and a current detection signal from the current detecting portion  61  is A/D-converted and inputted(Step S 12 ). Then, a value obtained by subtracting a correction value of the offset correcting portion  54  from the current detection signal is used as a current detection signal(control current value) for control(Step S 13 ), and failure diagnosis to check whether the signal is an abnormal value is performed(Step S 14 ). Moreover, a motor control signal is computed by using the inputted current detection signal(control current value)(Step S 15 ). The motor  40  is controlled in accordance with the computed motor control signal(Step S 16 ) and the step is returned to the above Step S 10 . By repeating the above normal control, it is possible to perform the assist control of the electric power steering not influenced by the offset of the current detecting portion  61 .  
         [0035]    [0035]FIG. 6 shows a second embodiment of the present invention in relation to FIG. 4, which has a configuration of storing a measured offset value in a offset-value-storing portion(such as a nonvolatile memory) serving as an external storage device. In this case, because the offset value of hardware is decided when fabricated, measurement of an offset is stably performed under fabrication by using a configuration of storing a measured offset value only once under fabrication and it is possible to suppress the influence of disturbance(noise or power source fluctuation, etc.) and realize stable correction at a high accuracy.  
         [0036]    Operations of the second embodiment are described below by referring to the flowchart in FIG. 7.  
         [0037]    Initialization is first performed by software(Step S 60 ) and a correction-value-stored flag is read from an offset-value-storing portion  58 (Step S 61 ) to determine whether a correction value is stored(Step S 62 ). When it is determined that the correction value is stored, an offset correction value is read and the step is skipped to Step S 70 (Step S 68 ). However, when it is determined in Step S 62  that the correction value is not stored, the motor driving portion  60  is stopped(Step S 63 ), an offset value is measured(Step S 64 ), a correction value is generated in accordance with the measured offset value(Step S 65 ), and the correction-value-stored flag is turned on(Step S 66 ). Then, the correction value and correction-value-stored flag are stored in the offset-value-storing portion  58 (Step S 67 ).  
         [0038]    Then normal control is started, the steering torque signal T is inputted(Step S 70 ), failure diagnosis is performed(Step S 71 ), and a current detection signal is inputted from the current-detecting portion  61 (Step S 72 ). A value obtained by subtracting the correction value from the current detection signal is used as a current control signal(control current value) for control(Step S 73 ) to perform the failure diagnosis to check whether the current control signal is an abnormal value(Step S 74 ). Then, a motor control signal is computed by using the inputted current control signal(Step S 75 ) to control a motor in accordance with the computed motor control signal(Step S 76 ). By repeating the above normal control, it is possible to perform the assist control of the electric power steering not influenced by the offset of the current detecting portion  61 .  
         [0039]    [0039]FIG. 8 shows a third embodiment of the present invention in relation to FIG. 4, which is an example of performing offset correction by adding a standard offset value  56  according to a designed value and the difference  57  between a measured offset value and the standard offset value according to the designed value. The offset value used for correction in this embodiment includes a standard offset value according to a designed value which can be considered for design generated because the current detecting portion  61  is constituted by an analog circuit and an measured offset value generated due to the solid difference between devices. To constitute a high-performance electric power steering system, it is indispensable to obtain a high and stable performance by using high-accuracy components because the current detecting portion  61  becomes a very important portion. Therefore, because a standard offset value which can be considered for design is large in the whole offset value, it is possible to prevent the whole system from being greatly damaged even if a trouble occurs in measurement of an offset due to power-source fluctuation or noises, etc. by separately correcting the standard offset value  56  in accordance with the designed value and the measured offset value  57  due to the solid difference by measurement. To realize the above configuration, it is naturally necessary to previously set an estimated maximum range for the offset measurement according to the solid difference and measure an offset value not coinciding with the range again or output a warning as a trouble.  
         [0040]    Operations of the third embodiment are described by referring to the flowchart in FIG. 9.  
         [0041]    Initialization is first performed by software(Step S 40 ), the motor driving portion  60  is stopped(Step S 41 ) and an offset value is measured(Step S 42 ) to generate a correction value in accordance with the difference  57  between the measured offset value and a standard offset value according to a designed value(Step S 43 ).  
         [0042]    Then, normal control is started, the steering torque signal T is inputted(Step S 50 ), failure diagnosis to check whether the signal is an abnormal value is performed(Step S 51 ), and a current detection signal from the current-detecting portion  61  is inputted(Step S 52 ). A value obtained by subtracting “correction value+standard offset value according to designed value” from the current detection signal as a current detection signal(control current value) for control(Step S 53 ) to perform failure diagnosis to check whether the signal is an abnormal value(Step S 54 ). Then, a motor control signal is computed by using the inputted current detection signal(Step S 55 ) to control the motor  40  in accordance with the computed motor control signal(Step S 56 ). By repeating the above normal control, it is possible to perform the assist control not influenced by the offset of the current-detecting portion  61 .  
         [0043]    [0043]FIG. 10 shows a fourth embodiment of the present invention in relation to FIG. 8, which is provided with an offset storing portion(e.g. nonvolatile memory)  58  for adding and correcting a standard offset value according to a designed value and the difference  57  between a measured offset value and the standard offset value according to the designed value as well as storing the difference  57 .  
         [0044]    Operations of the fourth embodiment are described below by referring to the flowchart in FIG. 11.  
         [0045]    An initialization is first performed by software(Step S 20 ) and a correction-value-stored flag is read from an offset storing portion(Step S 21 ) to determine whether a correction value is stored(Step S 22 ). When it is determined that the correction value is stored, an offset correction value is read to skip to Step S 30 (Step S 28 ). Moreover, when it is determined in the above Step S 22  that no corrected value is stored, the motor driving portion  60  is stopped(Step S 23 ) and an offset value is measured the same as the above described to generate a correction value in accordance with the measured offset value(Step S 25 ). The correction value is generated by computing the difference between a standard value according to a designed value and a measured offset value. Moreover, the correction-value-stored flag is turned on(Step S 26 ) to store the correction value and correction-value-stored flag in a offset-value-storing portion  55 (Step S 27 ).  
         [0046]    Then, normal control is started, the steering torque signal T is inputted(Step S 30 ), failure diagnosis to check whether the signal is an abnormal value is performed(Step S 31 ), and a current detection signal from the current detecting portion  61  is inputted(Step S 32 ). A value obtained by subtracting a correction value from the current detection signal is used as a current detection signal(control current value) for control(Step S 33 ). That is, the difference between the current detection signal and the added value of the correction value and a standard value according to a designed value is used as the control current value. Then, failure diagnosis to check whether the control current value is an abnormal value is performed(Step S 34 ) and a motor control signal is computed by using the inputted control current value(Step S 35 ) to control the motor  40  in accordance with the computed motor control signal(Step S 36 ). By repeating the above normal control, it is possible to perform the assist control of electric power steering not influenced by the offset of the current-detecting portion  61 .  
         [0047]    As described above, by separately correcting a designed standard offset value and a measured offset value, it is possible to prevent a system from being damaged due to power-source fluctuation or noises, etc. Moreover, there is an advantage that a measured offset value can be stored only once under a stable state in fabrication. Because a measured offset value is generally smaller than a designed standard offset value, it is possible to prevent a system from being damaged even if write of an offset value fails in a production process or a step of writing an offset value is erroneously slipped by storing only a measured offset value and separately correcting the designed standard offset value and the measured offset value(previously restricting the correction value of the measured offset value).  
         [0048]    The present invention can be applied to every electric power-steering system independently of the type of an electric power steering system(column type, pinion type, or rack type, etc.) and the type of a motor (brush-provided motor or brushless motor, etc.).  
         [0049]    In the case of the present invention, the offset of a hardware-constituted current detecting portion is automatically corrected in accordance with a software technique. Therefore, an extra circuit for adjustment while keeping the resolution necessary for control is unnecessary and it is unnecessary to adjust the circuit. Thereby, it is possible to realize a controller for a high-performance and inexpensive electric power steering system.  
         [0050]    Moreover, an offset is corrected in accordance with a value obtained by adding a standard value(reference value assumed for design) according to a designed value and the difference between a measured offset value and the standard value. Therefore, even if measurement of an offset fails, it is possible to prevent a performance from being considerably deteriorated.  
         [0051]    Furthermore, when separately correcting a designed standard offset value and a measured offset value, it is possible to prevent a system from being damaged due to power-source fluctuation or noises, etc. and it is enough to store the measured offset value only once under a stable state in fabrication. Because a measured offset value is generally smaller than a designed standard offset value, only the measured offset value is stored and the designed standard offset value and measured offset value are separately stored in the case of the present invention. Therefore, even if write of an offset value fails in a production process, it is possible to prevent a system from being damaged. Moreover, it is possible to prevent a system from being damaged even if a step of writing an offset value is erroneously skipped.

Technology Category: 7