The present invention relates to an inspection device for displacement sensor and an inspection method of the same.
JP2008-114612A discloses an electric power steering device in which a steering torque given to a steering wheel is detected by a torque sensor. The torque sensor detects a torsion angle displacement of a torsion bar interposed between an input shaft and an output shaft by a potentiometer and detects the steering torque based on the detected value. The detected steering torque is used for a feedback control of a current supplied to an electric motor, which gives a steering assist power to a steering system.
With the conventional technique, the potentiometer functions as a sensor for feedback. In the potentiometer, a voltage as an output value increases in proportion to an increase in torsion angle displacement as an input value. That is, the potentiometer has linearity output characteristics.
However, due to an influence from, for example, a noise caused by a sliding resistance of the potentiometer, the output characteristics of the potentiometer actually include a non-linearity error. Due to this non-linearity error, the potentiometer outputs a value shifted from an ideal approximate straight line as the output value.
Since the non-linearity error possibly includes periodic variations, when the potentiometer is used as the sensor for feedback, a component in a specific period possibly causes a system oscillation.
In contrast to this, it is considered that, using a Fast Fourier Transform (FFT) or a similar transformation, an inspection device to analyze the specific periodic variations included in the output characteristics of the potentiometer inspects the potentiometer. However, since the device and the software for analysis are advanced, a cost for this inspection device is expensive and therefore is not easily performed.
An object of the present invention is to provide an inspection device for displacement sensor that can inspect a specific periodic variation included in output characteristics of a displacement sensor at a low cost and an inspection method thereof.
According to one aspect of the present invention, an inspection device for a displacement sensor for inspecting a periodic variation included in an output characteristic of the displacement sensor, the inspection device for the displacement sensor includes a sequence data obtaining unit configured to obtain sequence data as an output value of the displacement sensor caused by input continuously changing in a constant temporal gradient to the displacement sensor; a difference calculation unit configured to obtain a difference between a value at a certain point in the sequence data and a value at a point advancing from the point by a predetermined evaluation pitch regarding each point in the sequence data to calculate difference sequence data ; a moving average calculation unit configured to obtain a moving average of a predetermined number of data centered at a certain point in the difference sequence data regarding each point in the difference sequence data to calculate post-averaged sequence data ; and a determining unit configured to determine that the displacement sensor is normal when an amplitude of an output value of the post-averaged sequence data is smaller than a determination threshold for amplitude.
The following describes an embodiment of the present invention with reference to the accompanying drawings.
The electric power steering device 20 includes a steering mechanism 2, a torque sensor 3, an electric motor 4, and a motor control device 5. The steering mechanism 2 is coupled to a steering wheel (not illustrated) to steer wheels (not illustrated). The torque sensor 3 detects an input torque. The electric motor 4 gives an assist torque to the steering mechanism 2. A detection signal by the torque sensor 3 is input to the motor control device 5. The motor control device 5 is configured to control an output from the electric motor 4.
The steering mechanism 2 includes a steering shaft 6 coupled to the steering wheel, a pinion 7 formed on the steering shaft 6, and a rack 8 meshing with the pinion 7. A rotation of the steering shaft 6 rotates the pinion 7, and the rack 8, which meshes with the pinion 7, moves in an axial direction (a right-left direction of a vehicle). Then, the wheels are steered via a tie rod (not illustrated) coupled to the rack 8.
The steering mechanism 2 further includes a worm wheel 9 coupled to the steering shaft 6 and a worm 10 meshing with the worm wheel 9. The worm 10 is coupled to an output shaft of the electric motor 4. Rotatably driving the worm 10 by the electric motor 4 rotatably drives the worm wheel 9. Thus, the assist torque is given to the steering shaft 6.
The torque sensor 3 is interposed in the middle of the steering shaft 6 to detect the input torque given to the steering shaft 6 by a driver via the steering wheel. The steering shaft 6 is constituted of an input shaft 11 coupled to the steering wheel, a torsion bar 12 whose one end is coupled to the input shaft 11, and an output shaft 13 coupled to the other end of the torsion bar 12.
The torque sensor 3 is constituted of the potentiometer 1 as a displacement sensor. The torque sensor 3 detects a torsion angle displacement of the torsion bar 12 caused by the steering torque given to the steering shaft 6 via the steering wheel. The potentiometer 1 outputs a voltage signal according to the torsion angle displacement of the torsion bar 12 to the motor control device 5.
The motor control device 5 calculates the appropriate assist torque based on the voltage signal input from the torque sensor 3 and performs a feedback control on a current applied to the electric motor 4.
The inspection device 100 for the potentiometer 1 includes an actuator 31 and a controller 32. The actuator 31 is configured to give the steering torque for inspection to the input shaft 11. The controller 32 is configured to receive the signal output from the potentiometer 1 and perform an arithmetic operation of the signal. The inspection device 100 for the potentiometer 1 is used to inspect the potentiometer 1 for normal operation before the electric power steering device 20 is produced and shipped at a plant.
Next, the following describes an inspection procedure by the inspection device 100 for the potentiometer 1.
First, the controller 32 is coupled to the potentiometer 1 of the electric power steering device 20. Furthermore, the actuator 31 is coupled to the input shaft 11 so as to ensure giving the input torque.
Subsequently, the actuator 31 gives the input torque to the input shaft 11 and the controller 32 performs the arithmetic operation. The actuator 31 provides a sweep input that continuously changes in a constant temporal gradient to the input shaft 11.
At Step S1 serving as a sequence data obtaining unit, the controller 32 obtains sequence data Vm (T) of an output value as a voltage value output according to the sweep input. A sampling frequency Fs (time/ Nm) of the sweep input is set to a value sufficiently higher than a frequency used for normal determination by the potentiometer 1.
With the scale in
The non-linearity error alone leads to deterioration in accuracy of sensing of the output value at each point by the potentiometer 1. Furthermore, when the non-linearity error has periodicity, the following problem occurs. That is, the motor control device 5 performs the feedback control on the current applied to the electric motor 4 based on the voltage signal input from the torque sensor 3. Accordingly, the periodic variations of the voltage signal possibly cause a system oscillation in the feedback control system. Especially, to improve steering feeling or responsiveness during an assist control of a steering assist torque, in the case where a gain of the torque sensor 3 is increased to increase sensitivity of the feedback control system, the system oscillation possibly occurs.
Therefore, in this embodiment, the inspection device 100 extracts a periodic variation component included in the sequence data Vm (T) and determines whether the non-linearity error is within an allowable range, thus a quality management of the potentiometer 1 is performed.
Returning to
Lm(n)=Vm(n+NLIN)−Vm(n) (1)
A ramp component of the sequence data Vm (T) is superimposed as an offset, when the linearity evaluation sequence Lm (T) is calculated. Because of this, an average value of the sequence data obtained after the difference calculation is subtracted from each point of the data obtained after the difference calculation. Thus obtained values is set as the linearity evaluation sequence Lm (T). It should be noted that, the evaluation pitch NLIN is a value smaller than the sampling frequency Fs and is, for example, set to 1/10 of the sampling frequency Fs.
Here, a frequency region A illustrated in
Returning to
Lm
LPF(n)=(Lm(n−NLPF/2)+ . . . +Lm(n)+ . . . +Lm(n+NLPF/2−1))/NLPF (2)
It should be noted that, the predetermined number NLPF is set to a value to the extent that the high-frequency components of the linearity evaluation sequence Lm (T) can be efficiently attenuated.
Returning to
Lm
VLPF(n)=(LmLPF(n−NVLPF/2)+ . . . +LmLPF(n)+ . . . +LmLPF(n+NVLPF/2−1))/NVLPF (3)
It should be noted that, the predetermined number NVLPF is a value larger than the predetermined number NLPF and set to a value to the extent that the high-frequency components of the low-frequency component extraction sequence LmLPF (T) can be efficiently attenuated.
As illustrated in
Returning to
Lm
BPF(n)=LmLPF(n)−LmVLPF(n) (4)
As illustrated in
That is, the processing at Steps S3 to S5 performs band pass filter processing on the linearity evaluation sequence Lm (T) to extract an inspection target waveform where the component other than the frequency region A as the inspection target is attenuated.
Returning to
Summarizing the above-described controls, the controller 32 gives the sweep input to the input shaft 11 and performs the linearity evaluation of the sequence data for the output voltage obtained from the potentiometer 1. Then, the controller 32 performs the filtering processing of the low-frequency component and the high-frequency component to extract the frequency components in the frequency region A, the inspection target, among the non-linearity error. Furthermore, the controller 32 inspects whether the potentiometer 1 is normal based on the peak-to-peak value of the inspection target waveform remaining the last.
The above-described embodiment provides the following effects.
A linearity evaluation is performed on the sequence data for output voltage of the potentiometer 1 by calculating, for every point, the difference between the data at the points separated by the predetermined evaluation pitch NLIN. Further, performing the moving average processing reduces the frequency components outside the frequency region A, the inspection target, among the non-linearity errors. This allows the extraction of the inspection target waveform in combination with the difference and the moving average. That is, this allows a detection of the specific periodic variation among the sequence data for output values from the displacement sensor in combination with the difference and the moving average, thereby ensuring determining abnormality of the displacement sensor by simple arithmetic operation. This eliminates the need for advanced device and software for analysis, ensuring the inspection of the potentiometer 1 at a low price.
Furthermore, the moving average of the predetermined number NLPF points in the linearity evaluation sequence Lm (T) obtained after the difference calculation is operated to derive the low-frequency component extraction sequence LmLPF (T). This ensures removing the high-frequency components from the frequency region A, the inspection target, with more certainty. This allows preventing an erroneous determination of the waveform evaluation due to the noise.
Furthermore, the extremely low-frequency component sequence LmVLPF (T) obtained after the second moving average processing at Step S4 is subtracted from the low-frequency component extraction sequence LmLPF (T) obtained after the first moving average processing at Step S3 to derive the target frequency extraction sequence LmBPF (T). This ensures removing the low-frequency components from the frequency region A, the inspection target, ensuring preventing the erroneous determination of the waveform evaluation due to the noise.
Furthermore, regarding the linearity evaluation sequence Lm (T), in addition to the calculation, for every point, the difference between the data at the points separated the predetermined evaluation pitch NLIN, the average value of the sequence data obtained after the difference calculation is subtracted from the data at each point. Thus, the value is set as the linearity evaluation sequence Lm (T). This ensures canceling the ramp component superimposed as the offset to the sequence data Vm (T). Accordingly, accuracy of the inspection target waveform extracted by the subsequent LPF processing and HPF processing can be improved. This allows the inspection accuracy of the potentiometer 1 to be improved.
Furthermore, in the chart for the target frequency extraction sequence LmBPF (T), in the case where the peak-to-peak value, the difference between the maximum value and the minimum value of the amplitude, is smaller than the predetermined threshold, the operation of the potentiometer 1 is determined as normal. Accordingly, even if the potentiometer 1 has the non-linear property where the output voltage becomes locally prominent at a specific input torque, the non-linear property can be reflected to the waveform evaluation. This ensures improving the inspection accuracy of the potentiometer 1.
Embodiments of this invention were described above, but the above embodiments are merely examples of applications of this invention, and the technical scope of this invention is not limited to the specific constitutions of the above embodiments.
For example, the embodiment describes the potentiometer 1 as the example of the displacement sensor. However, the embodiment is applicable to another displacement sensor such as a linear encoder.
Furthermore, the embodiment performs the HPF processing at Step S5. However, when the low-frequency components need not to be eliminated from the frequency region A, the inspection target, the HPF processing may be omitted.
Furthermore, the embodiment performs the LPF processing by the moving average once from Steps S3 to S4 to remove the high frequencies. However, the LPF processing may be performed twice or more to remove the high-frequency components with more certainty.
Furthermore, the embodiment determines whether the potentiometer 1 is normal based on the peak-to-peak value, which is the difference between the maximum value and the minimum value of the amplitude, in the chart for the target frequency extraction sequence LmBPF (T) at Step S6. However, for example, the embodiment may perform the determination based on a value other than the peak-to-peak value, for example, an average value of absolute values of the amplitude in the chart for the target frequency extraction sequence LmBPF (T).
Furthermore, the embodiment subtracts the average value of the sequence data obtained after the difference calculation from the data at each point and sets the average value as the linearity evaluation sequence Lm (T) to cancel the ramp component superimposed as the offset to the sequence data Vm (T). However, this subtraction processing may not be performed in the case where the ramp component needs not to be canceled.
Furthermore, the embodiment determines whether the potentiometer 1 is normal with the potentiometer 1 mounted to the electric power steering device 20; however, the similar inspection may be performed on the potentiometer 1 alone.
This application claims priority based on Japanese Patent Application No. 2014-189111 filed with the Japan Patent Office on Sep. 17, 2014, the entire contents of which are incorporated into this specification.
Number | Date | Country | Kind |
---|---|---|---|
2014-189111 | Sep 2014 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2015/075353 | 9/7/2015 | WO | 00 |