1. Technical Field
The present invention relates to a resolver digital converter, and particularly to a resolver digital converter having a failure detection function.
2. Related Art
In a servo control system, a rotation angle sensor is required in order to detect a rotation angle and perform feedback control. Also, in control of a brushless motor, it is necessary to pass a current through a coil of the motor according to a rotation angle of the motor, so that the rotation angle sensor is required as well as the servo control system.
As this rotation angle sensor, in the related art, a resolver constructed of only a winding has been widely used because of environment resistance, toughness resulting from the simple configuration. This resolver is equivalent to a transformer in principle, and differs from the transformer structurally in that an iron core is divided into a rotor and a stator.
Also, in a servo control system applied to motor-driven power steering, x-by-wire, particularly, steer-by-wire, fly-by-wire, etc., a failure detection function is required in order to require safety and reliability.
Also, a resolver digital converter for making conversion into a rotation angle based on a signal from a resolver and doing input to a microcomputer etc. as digital data has been developed in recent years (for example, see Smartcoder, AU6802 Catalogue, Tamagawa Seiki Co., Ltd., T12-1591N2 (Apr. 20, 2002), which is hereinafter referred as Non-patent Reference 1). In the resolver digital converter according to this Non-patent Reference 1, a feedback loop for making a correction to an estimation value φ of a rotation angle by a residual ε of a result of performing calculation of an input signal and sin(φ), cos(φ) generated by the estimation value φ of the rotation angle is formed and the estimation value φ of the rotation angle is converged on an actual rotation angle θ. The present method further has a function of notifying the microcomputer that a failure occurs when the residual ε exceeds a certain value.
Also, a failure is detected by using characteristics of a trigonometric function of sin2θ+cos2θ=1 which is anoutput of a resolver (for example, see JP-A-9-280890 (Page 4, FIG. 1) which is hereinafter referred as Patent Reference 1).
According to Non-patent Reference 1, when a signal outputted from the resolver or a signal inputted to the resolver is blocked, the signal outputted from the resolver becomes abnormal and a relation between sin(θ) and cos(θ) used as a premise of convergence of a feedback loop does not hold. As a result of this, the residual ε does not converge and the residual ε becomes large and notification of a failure is provided from the resolver digital converter to the microcomputer. Also, when a feedback loop for obtaining an estimation value φ of a rotation angle including a resolver digital conversion part does not function correctly, the residual E does not converge similarly and the residual ε becomes large and error detection signal is provided from the resolver digital converter to the microcomputer.
However, according to Non-patent Reference 1, when a failure (open, short failure, permanent failure of output) of a function of notifying the microcomputer of occurrence of a failure and a function of determining that the residual ε exceeds a certain value occurs, there is a problem that the microcomputer cannot be notified of the occurrence of the failure.
Further, there is a failure mode in which a portion of a winding shorts out (a layer short) in the resolver, and according to Non-patent Reference 1, a failure is not detected in a state of specializing in the layer short and, so that there is a problem that there is a limit to accuracy of layer short failure detection.
Also, according to Patent Reference 1, when a signal outputted from the resolver or a signal inputted to the resolver is blocked, the signal outputted from the resolver becomes abnormal and a relation between sin(θ) and cos(θ) does not hold. As a result of this, a value of sin2θ+cos2θ deviates from 1, so that it is detected as a failure and a microcomputer can be notified. Also, in this Patent Reference 1, a failure is detected in a state of specializing in the relation between sin(θ) and cos(θ), so that unbalance of a level of sin(θ) and cos(θ) because of a layer short which is a failure mode in which a portion of a winding shorts out can be detected exactly. However, in the case of calculating sin2(θ)+cos2(θ), computation of square of a variable is required and this computation leads to a processing load of the microcomputer and particularly in the case of using a processor of the limit of capability from an economical standpoint, there is a problem that processing cannot be performed.
Further, according to Patent Reference 1, a detectable failure is only a failure about signal waveform abnormality in which a signal from or to the resolver is blocked, and there is a problem that a failure of the resolver digital conversion function itself which is a process of obtaining θ cannot be detected.
Also, a failure capable of providing notification to the microcomputer is:
Even in the case of combining Non-patent Reference 1 with Patent Reference 1, these failures are not detected.
An object of the invention is to provide a resolver digital converter capable of detecting a failure about signal waveform abnormality in which a signal outputted from a resolver or a signal inputted to the resolver is blocked, etc.
Another object of the invention is to provide a resolver digital converter in which a processing load of a microcomputer is not increased.
However, the present invention need not achieve the above objects, and other objects not described herein may also be achieved. Further, the invention may achieve no disclosed objects without affecting the scope of the invention.
The invention is a resolver digital converter comprising a resolver, a resolver digital conversion part, and an excitation signal generation part, the resolver digital converter for inputting an excitation signal generated in the excitation signal generation part to the resolver and inputting resolver signals outputted from the resolver to the resolver digital conversion part, and is characterized in that a locus in which amplitude of a sine component signal among the resolver signals outputted from the resolver is plotted as the ordinate axis and amplitude of a cosine component signal is plotted as the abscissa axis is approximated by a polygon and when the locus matches with sides of the approximated polygon, it is determined that the resolver is in a normal state and when the locus does not match, it is determined that the resolver is in a failure state.
According to the invention, a failure about signal waveform abnormality in which a signal from a resolver or to the resolver is blocked can be detected.
Also, according to the invention, a failure of a function of notifying a microcomputer of the failure about signal waveform abnormality can be detected.
Also, according to the invention, a failure of the resolver digital conversion function itself which is a process of obtaining θ based on a signal from the resolver can be detected.
Further, according to the invention, a failure of a function of detecting the failure of the resolver digital conversion function itself and notifying the microcomputer can be detected.
A resolver digital converter according to the invention comprises means for capturing a signal outputted from a resolver into a microcomputer in synchronization with an excitation signal inputted to the resolver, and processing data captured into the microcomputer, so that detection of a failure about signal waveform abnormality such as blockage of a signal outputted from the resolver or blockage of a signal inputted to the resolver is implemented.
Further, in a resolver digital converter according to the invention, in order to check the reliability of a signal which is outputted from a resolver and is inputted to a microcomputer, a locus in which amplitude of a sine component signal among resolver signals outputted from the resolver is plotted as the ordinate axis and amplitude of a cosine component signal is plotted as the abscissa axis is approximated by a regular polygon and the fact that the locus does not deviate from the approximated regular polygon is monitored and thereby, determination of abnormality of the resolver is implemented.
Examples of the Invention Will be Described Below in Detail.
A basic example of a resolver digital converter according to the invention is shown in
In
An excitation signal f(t) generated in the excitation signal generation part 3 is inputted to the resolver 5. In this excitation signal f(t), generally, a trigonometric function such as A·sin(ωt) is often used. However, when it is assumed that A is amplitude and ω is angular velocity and a frequency is f, it is expressed by ω=2πf.
Also, resolver signals Y sin, Y cos are outputted from the resolver 5. When it is assumed that a rotation angle of the resolver 5 is θ, the resolver signals Y sin, Y cos are respectively expressed by the following formula.
Y sin=k·sin(θ)·f (t)
Y cos=k·cos(θ)·f (t)
where k is gain.
Also, in the resolver digital conversion part 2, based on the resolver signals Y sin, Y cos, an estimation value φ of an angle is computed and the estimation value φ of the angle is outputted from this resolver digital conversion part 2 to the microcomputer 1. Also, together with the estimation value φ of the angle, an error detection signal is inputted from the resolver digital conversion part 2 to the microcomputer 1.
Incidentally, the resolver digital conversion part 2 contemplates various examples, and typically includes a method by Non-patent Reference 1. In the method by this Non-patent Reference 1, the resolver digital conversion part 2 and the excitation signal generation part 3 are built into the same chip.
The configuration described above is the same configuration as the related-art resolver digital conversion part, but the resolver digital converter according to the invention further comprises the conversion trigger generation part 4, the A/D converter 11 disposed in the microcomputer 1, and the error detection function 12 disposed in the microcomputer 1.
In the conversion trigger generation part 4, an excitation signal f(t) outputted from the excitation signal generation part 3 to the resolver 5 is inputted and a conversion trigger signal is generated by this excitation signal f(t). The conversion trigger signal generated in this conversion trigger generation part 4 is outputted to the A/D converter 11 disposed in the microcomputer 1. By an input of this conversion trigger signal, the A/D converter 11 converts resolver signals Y sin, Y cos outputted from the resolver 5 into a digital signal and outputs the signal to the error detection function 12. In this error detection function 12, an error because of a failure is detected based on a digital value of the resolver signals Y sin, Y cos outputted from this A/D converter 11.
A specific example of the conversion trigger generation part 4 illustrated in
According to the present example, by the excitation signal f(t) outputted from the excitation signal generation part 3, A/D conversion of resolver signals Y sin, Y cos is made in the A/D converter 11, so that when it is assumed that f(t)=Vref, the resolver signals Y sin, Y cos at a point in time of the A/D conversion are respectively expressed by the following formula.
Y sin=k·sin(θ)·Vref
Y cos=k·cos(θ)·Vref
Therefore, sin(θ) and cos(θ) are obtained by the following formula.
sin(θ)=Y sin/[SQRT (Y sin2+Y cos2)]
cos(θ)=Y cos/[SQRT (Y sin2+Y cos2)]
It can be determined that it is in a normal state when a difference between sin(φ), cos(φ) based on an estimation value φ of an angle and sin(θ), cos(θ) obtained in this manner is within a tolerance, and can be determined that it is in a failure state when the difference is beyond the tolerance.
Incidentally, SQRT (Y sin2+Y cos2), that is, a value of k·Vref can be calculated from a circuit constant, characteristics of the resolver at a stage of design, so that computation is facilitated by using a constant calculated previously. Also, even in the case of considering an instrumental error, by making setting as a constant at the time of shipment, computation is facilitated and also deterioration with time can be detected.
Further, tan(θ) is obtained from a formula of tan(θ)=sin(θ)/cos(θ), and it can be determined that it is in a normal state when a difference between tan(θ) and tan(θ) based on an estimation value φ of an angle is within a tolerance, and can be determined that it is in a failure state when the difference is beyond the tolerance.
Another specific example of the conversion trigger generation part 4 illustrated in
According to the present example, when it is assumed that the excitation signal f(t) outputted from the excitation signal generation part 3 is f(t)=A·sin(ωtdelay), resolver signals Y sin, Y cos at a point in time of A/D conversion are respectively expressed by the following formula.
Y sin=k·sin(θ)·A·sin(ωtdelay)
Y cos=k·cos(θ)·A·sin(ωtdelay)
And sin(θ), cos(θ), tan(θ) can be obtained in a manner similar to the example illustrated in
Incidentally, ωtdelay=λ/2, that is, tdelay=λ/2ω is preferable from the viewpoint of improving a signal-to-noise (S/N) ratio by maximizing the resolver signals Y sin, Y cos.
Incidentally, in the present example, the delay circuit 43 for giving a tdelay delay can also be implemented by a timer inside a microprocessor and external parts can be reduced significantly by being built into the microprocessor thus.
A further specific example of the conversion trigger generation part 4 illustrated in
According to the present example, resolver signals Y sin, Y cos at a point in time of A/D conversion are respectively expressed by the following formula.
Y sin=k·sin(θ)·A
Y cos=k·cos(θ)·A
And sin(θ), cos(θ), tan(θ) can be obtained in a manner similar to the example illustrated in
Conversion timing of the resolver signals Y sin, Y cos based on each of the examples of
In
According to each of the examples illustrated in
Also, a failure of the resolver digital conversion function itself which is a process of obtaining θ based on resolver signals Y sin, Y cos outputted from the resolver 5 can be detected by the error detection function 12 of the present example in addition to the failure detection function disposed in the resolver digital conversion part 2. Also, a function of detecting the failure of the resolver digital conversion function itself which is the process of obtaining 0 based on the resolver signals Y sin, Y cos outputted from the resolver 5 and notifying the microcomputer 1 is redundantly disposed in the resolver digital conversion part 2 and the error detection function 12, so that even when one of the resolver digital conversion part 2 and the error detection function 12 fails, a failure of the function of detecting the failure of the resolver digital conversion function itself which is the process of obtaining θ based on the resolver signals Y sin, Y cos outputted from the resolver 5 and notifying the microcomputer can also be detected by the other function.
According to the examples described above, the failure of the resolver 5 and the resolver digital conversion part 2 can be detected and when a failure is detected in use of motor-driven power steering etc., a fail-safe action can be ensured by taking measures to stop a motor-driven assist. Also, in x-by-wire, particularly, steer-by-wire, fly-by-wire, an action stop of a system is not permitted, so that fault tolerance in which an operation can be continued even when a failure occurs is required.
Hence, as illustrated in
In
Incidentally, in a motor-driven power steering control device, the control target 9 is the whole steering system. Also, in a steer-by-wire control device, the control target 9 is a steering column and a steering mechanism (steering mechanism).
An example of an error detection function 12 for detecting abnormality of a resolver 5 and a resolver digital conversion part 2 from resolver signals Y sin, Y cos outputted from the resolver 5 is shown in
In the related art, the fact that a locus in which resolver signals sin(θ) and cos(θ) outputted from the resolver 5 are respectively plotted as the abscissa axis and the ordinate axis does not deviate from a unit circle was monitored. On the other hand, a method in which the related-art locus formed by the unit circle is approximated by a polygon and the fact that a locus in which amplitude of a sine component signal among resolver signals Y sin, Y cos outputted from the resolver 5 is plotted as the ordinate axis and amplitude of a cosine component signal is plotted as the abscissa axis does not deviate from the polygon is monitored is adopted in the example illustrated in
For example, when the locus in which amplitude of a sine component signal among the resolver signals Y sin, Y cos outputted from the resolver 5 is plotted as the ordinate axis and amplitude of a cosine component signal is plotted as the abscissa axis is approximated by a regular octagon as illustrated in
Incidentally, here, (SQRT (2)−1) could be obtained previously as a constant, so that evaluation can be made by simple computation of an absolute value, addition and multiplication of the constant.
When the locus in which amplitude of a sine component signal among the resolver signals Y sin, Y cos outputted from this resolver 5 is plotted as the ordinate axis and amplitude of a cosine component signal is plotted as the abscissa axis is approximated by a regular n-sided polygon (n is multiples of 4) without being limited to the regular octagon as illustrated in
Also, in the case that a determination range for determination of normality/abnormality of the resolver is set at ε and the resolver is in a normal state when a locus is present within a region surrounded by a boundary B1 and a boundary B2 and the resolver is in a failure state when the locus is present beyond the region, as shown by a flowchart illustrated in
for |y|>SQRT (2)/2, it is in the normal state in the case of 1−ε<|y|+(SQRT (2)−1)·|x|<1+ε and it is in the failure state otherwise, and
for |y|<SQRT (2)/2, it is in the normal state in the case of 1−ε<|x|+(SQRT (2)−1)·|y|<1+ε and it is in the failure state otherwise.
Based on the example described above, effective detection of a layer short failure can be implemented by simple computation.
An error of a value of |y|+(SQRT (2)−1)·|x| by approximation in the case that the locus in which amplitude of a sine component signal among the resolver signals Y sin, Y cos outputted from the resolver 5 is plotted as the ordinate axis and amplitude of a cosine component signal is plotted as the abscissa axis is approximated by the regular octagon as illustrated in
Furthermore, in order to improve approximate precision, correction is made by 0.041 and as shown by a flowchart illustrated in
for |y|>SQRT (2)/2, it is in a normal state in the case of 1.041−ε<|y|+(SQRT (2)−1)·|x|<1.041+ε and it is in a failure state otherwise, and
for |y|<SQRT (2)/2, it is in the normal state in the case of 1.041−ε<|x|+(SQRT (2)−1)·|y|<1.041+ε and it is in the failure state otherwise, an error by approximation becomes ±0.041 and when ε is sufficiently larger than 0.041 (for example, ε=0.1), it results in sufficient approximation.
An example in which boundaries for failure determination are set at multiple stages is shown in
As shown in the present example thus, it is not determined that it is in a failure state immediately even when the locus temporarily deviates from the region surrounded by the boundary B1 and the boundary B2 because of influence etc. of noise, and robustness of a failure detection function against noise can be provided.
This example illustrated in
According to the present example thus, it is not determined that it is in a failure state immediately even when the locus temporarily deviates from the region surrounded by the boundary B1 and the boundary B2 because of influence etc. of noise, and robustness of a failure detection function against noise can be provided.
According to the present example, a failure about signal waveform abnormality in which a signal from the resolver 5 or to the resolver 5 is blocked can be detected.
Also, according to the example of the invention, a failure of a function of notifying the microcomputer of the failure about signal waveform abnormality can be detected.
Also, according to the example of the invention, a failure of the resolver digital conversion function itself which is a process of obtaining θ based on a signal from the resolver can be detected.
Further, according to the example of the invention, a failure of a function of detecting the failure of the resolver digital conversion function itself and notifying the microcomputer can be detected.
It will be apparent to those skilled in the art that various modifications and variations can be made to the described preferred embodiments of the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention cover all modifications and variations of this invention consistent with the scope of the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
P.2004-128302 | Apr 2004 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4864284 | Crayton et al. | Sep 1989 | A |
5179515 | Lunz et al. | Jan 1993 | A |
5295510 | Bolling et al. | Mar 1994 | A |
6161407 | Meisser | Dec 2000 | A |
6205009 | Clark et al. | Mar 2001 | B1 |
6389373 | Ohya | May 2002 | B1 |
6472841 | Piedl et al. | Oct 2002 | B1 |
6556937 | Byers | Apr 2003 | B1 |
6577957 | Fujimoto et al. | Jun 2003 | B2 |
6925401 | Kameya | Aug 2005 | B2 |
Number | Date | Country |
---|---|---|
9-280890 | Oct 1997 | JP |
2001-264114 | Sep 2001 | JP |
3216491 | Oct 2001 | JP |
Number | Date | Country | |
---|---|---|---|
20050252272 A1 | Nov 2005 | US |