The present invention relates to an angular position detection device provided with a resolver that excites one phase to output two phases.
Conventionally, a resolver is frequently used as means for detecting an angle position of a motor mainly in an industrial and electric fields.
The resolver is attached to a shaft included in the motor. The angle position of the motor is detected by the resolver. For example, as illustrated in
A type in which one phase is excited to output two phases is adopted in resolver 101. Hereinafter, the type in which one phase is excited to output two phases is referred to as “one-phase excitation two-phase output”. Resolver 101 is attached to the shaft included in motor 113. Resolver 101 outputs an A-phase signal and a B-phase signal as a two-phase signal in which an amplitude is modulated. The A-phase and B-phase signals have a phase difference of about 90 degrees. Angular position detection device 1102 detects the angle position in resolver 101 based on the two-phase signal detected by resolver 101. Angular position detection device 1102 outputs the detected angle position in resolver 101 to servo amplifier 112. Servo amplifier 112 performs control and drive of motor 113 according to the detected angle position.
Angular position detection device 1102 outputs an excitation signal. The output excitation signal excites resolver 101 through buffer circuit 111.
An internal configuration of angular position detection device 1102 will be described below. First analog-digital converter 103 converts the A-phase analog signal output from resolver 101 into a digital value to output the digital value. Second analog-digital converter 104 converts the B-phase analog signal output from resolver 101 into a digital value to output the digital value. Hereinafter, the analog-digital converter is also referred to as an “AD converter” in some cases. Timing at which the analog signals are converted into the digital values follows a sampling instruction signal output from sampling instruction signal generator 1107. The A-phase signal converted into the digital value by first AD converter 103 and the B-phase signal converted into the digital value by second AD converter 104 are converted into a signal indicating the angle position in resolver 101 by resolver digital converter 105. Hereinafter, the resolver digital converter is also referred to as an “RD converter” in some cases. Generally methods such as tracking loop are used as a method for converting the digital value into the signal indicating the angle position in resolver 101. The A-phase and B-phase signals converted into signal indicating the angle position in resolver 101 are output to servo amplifier 112 through interface processor 110. Hereinafter, the interface processor is also referred to as an “IF processor” in some cases.
Servo amplifier 112 performs the control and drive of motor 113 according to the detected angle position in resolver 101, namely, the angle position of motor 113.
Sampling instruction signal generator 1107 adjusts a phase of the sampling instruction signal based on a reference signal output from reference signal generator 108. Sampling instruction signal generator 1107 outputs the sampling instruction signal in which the phase is adjusted to first AD converter 103 and second AD converter 104.
For example, Patent Literature 1 discloses the conventional angular position detection device.
Sampling instruction signal generator 1107 adjusts the phase of the sampling instruction signal based on reference signal 15b. Sampling instruction signal generator 1107 outputs the sampling instruction signal in which the phase is adjusted. As illustrated in
The following method is also adopted as the method for finding out times t1 and t3. Times t2 and t4, at which the output of each signal is zero, are detected in A-phase signal 15a1 and B-phase signal 15a2. Times t1 and t3 are obtained by adding a time corresponding to a quarter of one cycle to detected times t2 and t4.
In this way, the angular position detection device performs the analog-digital conversion of A-phase signal 15a1 and B-phase signal 15a2 at timing at which the outputs of A-phase signal 15a1 and B-phase signal 15a2 reach the maximum. Consequently, the angular position detection device can output the resolver angle position.
An angular position detection device of the present invention includes a resolver, a sampling instruction signal generator, a first analog-digital converter, a second analog-digital converter, and a resolver digital converter.
The resolver outputs the A-phase signal having an amplitude modulated and B-phase signal having the phase difference of 90 degrees relative to the A-phase signal and having an amplitude modulated.
The following four phases exist in at least one of the A-phase and B-phase signals. It is assumed that a first phase is one in which magnitude of the signal is a minimum. It is assumed that a second phase is one in which magnitude of the signal is a maximum. It is assumed that a third phase is located at a middle in a change from the first phase to the second phase. It is assumed that a fourth phase is located at a middle in a change from the second phase to the first phase. The sampling instruction signal generator outputs a sampling instruction signal in each of the third and fourth phases.
The first analog-digital converter receives the A-phase signal when the sampling instruction signal is input, and converts the magnitude of the received A-phase signal into a digital value to generate a first AD converted value. The first analog-digital converter outputs the generated first AD converted value.
The second analog-digital converter receives the B-phase signal when the sampling instruction signal is input, and converts the magnitude of the received B-phase signal into a digital value to generate a second AD converted value. The second analog-digital converter outputs the generated second AD converted value.
The resolver digital converter receives the first converted value and second AD converted value, and calculates angle data indicating an angle position of the resolver based on the received first and second AD converted values. The resolver digital converter outputs the calculated angle data.
An angular position detection device according to an exemplary embodiment of the present invention has good responsiveness and high detection accuracy by adopting the following configuration.
In particular, the angular position detection device of the exemplary embodiment of the present invention can adjust the signal output from the resolver at timing detected by the AD converter in detecting the angle position of the motor from the resolver through the AD converter. Specifically, the timing at which the AD converter detects the signal is adjusted by the sampling instruction signal. The sampling instruction signal can adjust the timing including fluctuation factors such as a variation in property of the resolver, a temperature change in surroundings of the resolver, and aging of the resolver. Therefore, the angular position detection device of the exemplary embodiment of the present invention can stably and accurately detect the angle position of the motor using the resolver.
The conventional angular position detection device has the following point to be improved. In the signal output from the resolver, the timing to maximize the output of the signal exists only twice in one cycle. For this reason, in the conventional angular position detection device, it is difficult that the responsiveness is enhanced to detect the angle position by shortening the sampling cycle of the signal output from the resolver.
The amplitude value of the resolver signal, which can be used to adjust the timing, exists only twice in one cycle in the case that the timing to output the sampling instruction signal is adjusted. This causes problems that adjustment accuracy of the timing to output the sampling instruction signal decreases or the adjustment time becomes longer.
Therefore, the exemplary embodiments of the present invention provide an angular position detection device provided with a resolver, and the angular position detection device is able to detect an angle position output from the resolver with high responsiveness. In the exemplary embodiments of the present invention, the timing to output the sampling instruction signal can be adjusted with high accuracy. Accordingly, the angular position detection device having the good responsiveness and the high detection accuracy can be provided.
Hereinafter, the exemplary embodiments of the present invention will be described with reference to the drawings. The following exemplary embodiments are described as a specific example of the present invention, but are not limited to a technical scope of the present invention.
As illustrated in
Resolver 101 outputs an A-phase signal having an amplitude modulated and a B-phase signal having a phase difference of 90 degrees relative to the A-phase signal and having an amplitude modulated.
The following four phases exist in at least one of the A-phase and B-phase signals. It is assumed that a first phase is one at which magnitude of the A-phase signal or B-phase signal is at the minimum. It is assumed that a second phase is one at which the magnitude of the A-phase signal or B-phase signal is at the maximum. It is assumed that a third phase is located at a middle time in a change from the first phase to the second phase. It is assumed that a fourth phase is located at a middle time in a change from the second phase to the first phase. Sampling instruction signal generator 107 outputs a sampling instruction signal in each of the third phase and fourth phase.
First analog-digital converter 103 receives the A-phase signal when the sampling instruction signal is input, and converts the magnitude of the received A-phase signal into a digital value to generate a first AD converted value. First analog-digital converter 103 outputs the generated first AD converted value.
Second analog-digital converter 104 receives the B-phase signal when the sampling instruction signal is input, and converts the magnitude of the received B-phase signal into a digital value to generate a second AD converted value. Second analog-digital converter 104 outputs the generated second AD converted value.
Resolver digital converter 105 receives the first AD converted value and the second AD converted value, and calculates angle data indicating an angle position in resolver 101 based on the received first AD converted value and second AD converted value. Resolver digital converter 105 outputs the calculated angle data.
In the A-phase and B-phase signals, the magnitude of the signal can be replaced with an absolute value of the signal.
In the above configuration, in one cycle of the signal output from the resolver, the number of sampling times that can effectively be performed can be increased to four times that is double of two times as the conventional number of sampling times. Therefore, a sampling period can be shortened to a half of a conventional period. Additionally, the sampling can be performed with an equal amplitude at each sampling timing. Consequently, the resolver angular position detection device of the first exemplary embodiment has the high responsiveness and the high accuracy.
The description will further be made in detail.
As illustrated in
Angular position detection device 102 for resolver 101 detects the angle position in resolver 101 from the signals having the two phases, and outputs the angle position to servo amplifier 112. Servo amplifier 112 performs control and drive of motor 113 according to the angle position detected by angular position detection device 102. Angular position detection device 102 for resolver 101 outputs an excitation signal to resolver 101 through buffer circuit 111 to excite resolver 101.
An internal configuration of angular position detection device 102 for resolver 101 will be described below.
First analog-digital converter 103 converts the A-phase analog signal output from resolver 101 into a digital value. Second analog-digital converter 104 converts the B-phase analog signal output from resolver 101 into a digital value. Timing at which first AD converter 103 and second AD converter 104 convert the analog signals into the digital values follows the sampling instruction signal output from sampling instruction signal generator 107.
Resolver digital converter 105 converts the signals, which are converted into the digital values by first AD converter 103 and second AD converter 104, into a signal indicating the angle position in resolver 101. Generally methods such as tracking loop are used as the method for converting the signal converted into the digital value into the signal indicating the angle position in resolver 101. The signal indicating the angle position in resolver 101 is output to servo amplifier 112 through interface processor 110.
Servo amplifier 112 performs the control and drive of motor 113 according to the detected angle position in resolver 101, namely, the angle position of motor 113.
At a predetermined phase, sampling instruction signal generator 107 outputs the sampling instruction signal to first AD converter 103 and second AD converter 104 based on the reference signal output from reference signal generator 108.
Excitation signal generator 109 generates the excitation signal based on the reference signal output from reference signal generator 108, and outputs the generated excitation signal.
The resolver angular position detection device having the above configuration acts as the control device of the motor. Operation and action of the resolver angular position detection device will be described below.
Reference signal 2b in
The amplitudes of A-phase signal 2a1 and B-phase signal 2a2, which are output from resolver 101, are zero at times t0 and t4 at which reference signal 2b is zero and time t2 in the middle between times t0 and t4.
At this point, the amplitudes of A-phase signal 2a1 and B-phase signal 2a2, which are output from resolver 101, reach the maximum at time t1 in the middle between times t0 and t2 and time t3 in the middle between times t2 and t4.
As illustrated in
However, in the conventional type, a sampling opportunity exists only twice with respect to the excitation signal in one cycle period. Similarly, an opportunity to update each signal input to RD converter 105 exists only twice with respect to the one-cycle period of the excitation signal. In the conventional system, it is difficult to improve the responsiveness.
Therefore, in angular position detection device 102 of the first exemplary embodiment of the present invention, sampling instruction signal generator 107 outputs the sampling instruction signal at the later-described time indicated by a dotted line in
The conversion processing increases the sampling opportunity to four times with respect to the one-cycle period of the excitation signal. Additionally, A-phase signal 2a1 and B-phase signal 2a2 are detected with an equal amplitude in each sampling opportunity.
Therefore, angular position detection device 102 of the first exemplary embodiment of the present invention can obtain the responsiveness that is double comparing to the conventional type without degrading the detection accuracy of the angle position when the amplitudes of A-phase signal 2a1 and B-phase signal 2a2, which are detected at each sampling opportunity and input to RD converter 105, are subjected to the conversion processing into the angle position in resolver 101.
In other words, sampling instruction signal generator 107 outputs the sampling instruction signal in the phase located substantially in the middle between the phases in which the magnitudes of A-phase signal 2a1 and B-phase signal 2a2, namely, absolute values of signals 2a1 and 2a2 reach the maximum and the minimum respectively. RD converter 105 performs the conversion processing for deriving the angle positions of resolver 101 from the digital values output by first AD converter 103 and second AD converter 104 at each timing to output the sampling instruction signal. Consequently, the period in which the conversion processing is performed is shortened to a half compared with the conventional type. Additionally, at each detection opportunity, A-phase signal 2a1 and B-phase signal 2a2 are sampled with the equal amplitude. Therefore, in angular position detection device 102 of the first exemplary embodiment of the present invention, the angle position in resolver 101 can accurately be detected with good response performance.
The angular position detection device of the second exemplary embodiment differs from the angular position detection device of the first exemplary embodiment with respect to the resolver digital converter. Specifically, the angular position detection device of the second exemplary embodiment includes a resolver digital converter having a function of performing averaging processing.
The angular position detection device of the second exemplary embodiment will be described below with reference to
The component having the same configuration as the first exemplary embodiment is designated by the same reference mark, and the explanation is omitted.
As illustrated in
The first AD converted value output from first analog-digital converter 103 is called a past first AD converted value.
The first AD converted value, which is newly output from first analog-digital converter 103 in response to the sampling instruction output from sampling instruction signal generator 107 in a fourth phase generated immediately after a third phase or the third phase generated immediately after the fourth phase, is called a new first AD converted value.
The second AD converted value output from second analog-digital converter 104 is called a past second AD converted value.
The second AD converted value, which is newly output from second analog-digital converter 104 in response to the sampling instruction output from sampling instruction signal generator 107 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase, is called a new second AD converted value.
Then, the angle data indicating the angle position in resolver 101 is calculated using the past first AD converted value, the new first AD converted value, the past second AD converted value, and the new second AD converted value. In a process of calculating the angle data indicating the angle position in resolver 101, average value calculator 114 performs the averaging processing using at least two of the past first AD converted value, the new first AD converted value, the past second AD converted value, and the new second AD converted value.
Resolver digital converter 105 calculates the angle data based on at least two of the past first AD converted value, the new first AD converted value, the past second AD converted value, and the new second AD converted value, and outputs the calculated angle data.
The configuration can cancel an angle detection error. The angle detection error is caused by a phase shift included in the two-phase signal output from resolver 101. Therefore, angular position detection device 302 of the second exemplary embodiment can easily perform the high-accuracy angle position detection.
Three modes in which average value calculator 114 is attached to a different position relative to resolver digital converter 105 in average resolver digital converter 300 will be described below. The three cases include 1. the case where the average value calculator is located on the output side of the resolver digital converter, 2. the case where the average value calculator is located on the input side of the resolver digital converter, and 3. the case where the average value calculator is located in the resolver digital converter.
1. The Case where the Average Value Calculator is Located on the Output Side of the Resolver Digital Converter:
As illustrated in
The first AD converted value and the second AD converted value are input to resolver digital converter 105. Resolver digital converter 105 calculates the angle data indicating the angle position in resolver 101 based on the input first AD converted value and second AD converted value. Resolver digital converter 105 outputs the calculated angle data.
As illustrated in
Angle data storage 401 stores the angle data, which is output from resolver digital converter 105 in response to the sampling instruction output from sampling instruction signal generator 107 in the third phase or the fourth phase. Angle data storage 401 stores the angle data, which is newly output from resolver digital converter 105 in response to the sampling instruction output from sampling instruction signal generator 107 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase, instead of the stored angle data.
Angle data averaging section 402 receives, as new angle data, the angle data, which is output from resolver digital converter 105 in response to the sampling instruction output from sampling instruction signal generator 107 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase. Angle data averaging section 402 receives, as past angle data, the angle data, which is stored in angle data storage 401 before the third phase or the fourth phase. Angle data averaging section 402 calculates an average value of the past angle data and the new angle data, and outputs the calculated average value.
The detailed description is further made with reference to the drawings.
As illustrated in
Average value calculator 114 will be described below with reference to
As illustrated in
After the one-time sampling, the angle data of the new signal is input to average value calculator 114. At this point, angle data storage 401 outputs the angle data, which is stored in the last one-time sampling, as past angle data to angle data averaging section 402. The angle data of the newly-input signal is stored as new angle data in angle data storage 401.
Angle data averaging section 402 calculates the average value using the new angle data input from RD converter 105 and the past angle data input from angle data storage 401. Angle data averaging section 402 outputs the calculated average value.
A reason and an effect of the addition of average value calculator 114 in angular position detection device 302 for resolver 101 will be described below, average resolver digital converter 300 being included in angular position detection device 302.
Similarly to the first exemplary embodiment, it is assumed that sin ωt is the excitation signal, that θ is the angle position in resolver 101, and that A is the amplitude of the signal. At this point, as illustrated in
The A-phase and B-phase signals have the slight phase shift relative to each other. It is assumed that a is the phase shift. When the phase shift is considered, A-phase signal 5a1 is expressed by A sin θ sin ωt, and B-phase signal 5a3 is expressed by A cos θ sin(ωt+α). Generally phase shift a has a value of about ±0.1 degree.
An effect of the case where slight phase shift a exists between A-phase signal 5a1 and B-phase signal 5a3 will be described compared with the first exemplary embodiment.
In the case where angular position detection device 102 of the first exemplary embodiment that does not include average value calculator 114 is used, the output value of RD converter 105 fluctuates in each time of the sampling in which the sampling instruction signal is output. As illustrated in
A fluctuation width of output value 5c1 of the RD converter increases as the amplitudes of the A-phase and B-phase signals come close to each other. At most the fluctuation width is a width of phase shift a. Assuming that phase shift a is 0.1 degree, the fluctuation width is 6 minutes.
This phenomenon is disadvantageous in the application where the fast response performance and the high accuracy are required to detect the angle position in resolver 101.
Therefore, as illustrated in
Average value calculator 114 averages the values of the angle positions in resolver 101 detected before and after the one-time sampling. The value averaged by average value calculator 114 is output as the angle position in resolver 101. The use of the averaged output value can accurately detect the angle position in resolver 101 with good response performance.
In the above explanation, the angle data only for the one-time sampling is stored in angle data storage 401 and updated to the new angle data at anytime, and the new angle data is stored in angle data storage 401.
The angle data stored in angle data storage 401 is not limited to the angle data for one-time sampling, but the angle data for a predetermined plurality of times of the sampling may be stored.
When the angle data for one-time sampling is stored in angle data storage 401, the calculation speed by angle data averaging section 402 increases and thus the response performance is improved. On the other hand, in the case where the angle data for the plurality of times of the sampling is stored in angle data storage 401, the accuracy of the average value calculated by angle data averaging section 402 is improved.
In angular position detection device 302 for the resolver in
As for the amplitudes of the A-phase and B-phase signals, in the phase substantially located in the middle between the phase where the absolute value is the maximum and the phase where the absolute value is the minimum, the amplitudes of the A-phase and B-phase signals which are output from resolver 101 are about 0.7 time relative to the maximum value. However, as described above, an SN ratio is improved in angular position detection device 302 of the second exemplary embodiment by averaging the output values of the detected angle position in resolver 101. Therefore, the effect of the present invention can comprehensively ensure the sufficient superiority.
2. The Case where the Average Value Calculator is Located on the Input Side of the Resolver Digital Converter:
As illustrated in
Average value calculator 514 includes A-phase average value calculator 503 and B-phase average value calculator 504.
As illustrated in
As illustrated in
First AD converted value averaging section 512 receives, the first AD converted value, which is output from first analog-digital converter 103 in response to the sampling instruction output from sampling instruction signal generator 107 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase, as the new first AD converted value. First AD converted value averaging section 512 receives, the first AD converted value, which is stored in first AD converted value storage 511 before the third phase or the fourth phase, as the past first AD converted value. First AD converted value averaging section 512 calculates the average value of the past first AD converted value and the new first AD converted value, and outputs the calculated average value as an averaged first AD converted value.
B-phase average value calculator 504 includes second AD converted value storage 521 and second AD converted value averaging section 522.
Second AD converted value storage 521 stores the second AD converted value, which is output from second analog-digital converter 104 in response to the sampling instruction output from sampling instruction signal generator 107 in the third phase or the fourth phase. Second AD converted value storage 521 stores the second AD converted value, which is newly output from second analog-digital converter 104 in response to the sampling instruction output from sampling instruction signal generator 107 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase, instead of the stored second AD converted value, as the new second AD converted value.
Second AD converted value averaging section 522 receives, as the new second AD converted value, the second AD converted value, which is output from second analog-digital converter 104 in response to the sampling instruction output from sampling instruction signal generator 107 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase. Second AD converted value averaging section 522 receives, as the past second AD converted value, the second AD converted value, which is stored in second AD converted value storage 521 before the third phase or the fourth phase. Second AD converted value averaging section 522 calculates the average value of the past second AD converted value and the new second AD converted value, and outputs the calculated average value as an averaged second AD converted value.
Resolver digital converter 105 receives the averaged first AD converted value and the averaged second AD converted value. Resolver digital converter 105 calculates the angle data indicating the angle position in resolver 101 based on the received averaged first AD converted value and the averaged second AD converted value. Resolver digital converter 105 outputs the calculated angle data.
The detailed description is further made with reference to the drawings.
As illustrated in
A-phase average value calculator 503 and B-phase average value calculator 504 will be described below with reference to
A-phase average value calculator 503 stores the input signal in first AD converted value storage 511. In the second exemplary embodiment, first AD converted value storage 511 stores therein the first AD converted value of the input signal only for one-time sampling.
After the one-time sampling, the first AD converted value, that is the new signal, is input to A-phase average value calculator 503. At this point, first AD converted value storage 511 outputs the first AD converted value, which is stored in the last one-time sampling, to first AD converted value averaging section 512, as the past first AD converted value. First AD converted value storage 511 stores therein the first AD converted value that is the newly-input signal, as the new first AD converted value.
First AD converted value averaging section 512 calculates the average value using the new first AD converted value input from first AD converter 103 and the past first AD converted value input from first AD converted value storage 511. First AD converted value averaging section 512 outputs the calculated average value.
In angular position detection device 502 for the resolver in
Similarly, the B-phase signal converted into the digital value by second AD converter 104 is input to B-phase average value calculator 504. After the averaging processing, the averaged second AD converted value is input to RD converter 105.
As for angular position detection device 502 having average resolver digital converter 300 above-described, the reason and effect of the addition of A-phase average value calculator 503 and B-phase average value calculator 504 as average value calculator 514 will be described below with reference to
The following description has contents based on the case 1.
A-phase signal 5a1 and B-phase signal 5a2, output from resolver 101, have the slight phase shift relative to each other. At this point, as described in the mode 1, in the case where angular position detection device 102 of the first exemplary embodiment that does not include average value calculator 114 is used, the output value of RD converter 105 fluctuates in each one sampling in which the sampling instruction signal is output. As illustrated in
This phenomenon is disadvantageous in the application where the fast response performance and the high accuracy are required to detect the angle position in resolver 101.
Therefore, angular position detection device 502 including A-phase average value calculator 503 and B-phase average value calculator 504, which are of average value calculator 514, is used as illustrated in
A-phase average value calculator 503 and B-phase average value calculator 504, which are of average value calculator 514, average the values of which the angle position in resolver 101 is detected before and after the one-time sampling. The values averaged by A-phase average value calculator 503 and B-phase average value calculator 504, which are of average value calculator 514, are output as the angle position in resolver 101. By use of the averaged output value, the angle position in resolver 101 can be accurately detected with good response performance.
In the above description, the first AD converted value only for the one-time sampling is stored in first AD converted value storage 511 and updated to the new first AD converted value at anytime, and the new first AD converted value is stored in first AD converted value storage 511.
The first AD converted value stored in first AD converted value storage 511 is not limited to the first AD converted value for one-time sampling, but the first AD converted value for the plurality of times of the sampling may be stored.
When the first AD converted value for one-time sampling is stored in first AD converted value storage 511, the calculation speed by first AD converted value averaging section 512 increases and thus the response performance is improved. On the other hand, when the first AD converted value for the plurality of times of the sampling is stored in first AD converted value storage 511, the accuracy of the average value calculated by first AD converted value averaging section 512 is improved.
In angular position detection device 502 for resolver 101 in
As for the amplitudes of the A-phase and B-phase signals, in the phase substantially located in the middle between the phase where the absolute value is the maximum and the phase where the absolute value is the minimum, the amplitudes of the A-phase and B-phase signals which are output from resolver 101 are about 0.7 time relative to the maximum value. However, as described above, an SN ratio is improved in angular position detection device 502 of the second exemplary embodiment by averaging the output values of the detected angle position in resolver 101 is detected. Therefore, the effect of the present invention can comprehensively ensure the sufficient superiority.
3. The Case where the Average Value Calculator is Located in the Resolver Digital Converter
As illustrated in
When resolver digital converter 705 receives the first and second AD converted values, resolver digital converter 705 calculates angle position φ in resolver 101 from rotation angle θ in resolver 101 based on the received first and second AD converted values. In this case, resolver digital converter 705 includes tracking loop 707. Tracking loop 707 calculates deviation signal sin(θ−φ) from the input first and second AD converted values, and causes the calculated deviation signal sin(θ−φ) to converge to zero to calculate angle position φ of resolver 101. Resolver digital converter 705 outputs the angle data from calculated angle position φ.
As illustrated in
Deviation signal storage 711 stores the deviation signal, which is calculated by tracking loop 707 in response to the sampling instruction output from sampling instruction signal generator 107 in the third phase or the fourth phase, as illustrated in
Deviation signal averaging section 712 receives the deviation signal, which is calculated by tracking loop 707 in response to the sampling instruction output from sampling instruction signal generator 107 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase, as new deviation signal. Deviation signal averaging section 712 receives the deviation signal, which is stored in deviation signal storage 711 before the third phase or the fourth phase, as a past deviation signal. Deviation signal averaging section 712 calculates the average value of the past deviation signal and the new deviation signal, and outputs the calculated average value.
The detailed description is further made with reference to the drawings.
As illustrated in
Average RD converter 300 will be described below with reference to
RD converter 1815 in
The first AD converter inputs A-phase signal (sine) to RD converter 1815. The A-phase signal input to RD converter 1815 is input to first multiplier 1801. First multiplier 1801 multiplies the A-phase signal by cosine wave signal (cos φ) output from cosine wave table 1805. First multiplier 1801 outputs the A-phase signal multiplied by the cosine wave signal to difference section 1803.
The second AD converter inputs B-phase signal (cos θ) to RD converter 1815. The B-phase signal input to RD converter 1815 is input to second multiplier 1802. Second multiplier 1802 multiplies the B-phase signal by sinusoidal wave signal (sin φ) output from sinusoidal wave table 1806. Second multiplier 1802 outputs the B-phase signal multiplied by the sinusoidal wave signal to difference section 1803.
Difference section 1803 calculates the difference between the output values of first multiplier 1801 and second multiplier 1802, and outputs error signal (sin(θ−φ)) as a calculation result. The calculated error signal is input to proportional-integral controller 1804. Hereinafter, the proportional-integral controller is also referred to as a “PI controller” in some cases.
PI controller 1804 performs integral processing, gain multiplication processing, and the like. As a result of the integral processing, the gain multiplication processing, and the like, PI controller 1804 outputs angle position φ of resolver 101.
Angle position φ of resolver 101, which is output from PI controller 1804, is input to cosine wave table 1805 and sinusoidal wave table 1806. The value of cosine wave signal (cos φ) is input to cosine wave table 1805 as the value of angle position φ of resolver 101. The value of sinusoidal wave signal (sin φ) is input to sinusoidal wave table 1806 as the value of angle position φ of resolver 101.
Through tracking loop processing, RD converter 1815 performs conversion processing by using the input A-phase and B-phase signals in order to calculate the angle position in resolver 101.
As illustrated in
In average RD converter 300 in
Average value calculator 714 will be described below with reference to
Average value calculator 714 stores the input signal in deviation signal storage 711. In the second exemplary embodiment, the deviation signal, that is the input signal, is stored in deviation signal storage 711 only for one-time sampling.
After the one-time sampling, the deviation signal, that is the new signal, is input to average value calculator 714. At this time, deviation signal storage 711 outputs the deviation signal stored in the last one-time sampling to deviation signal averaging section 712 as the past deviation signal. The deviation signal, that is the newly-input signal, is stored in deviation signal storage 711 as the new deviation signal.
Deviation signal averaging section 712 calculates the average value of the new deviation signal input from difference section 1803 and the past deviation signal input from deviation signal storage 711. Deviation signal averaging section 712 outputs the calculated average value.
In angle position detection device 702, the effect similar to A-phase average value calculator 503 and B-phase average value calculator 504 in the case 2 is obtained by action of average value calculator 714.
The reason and effect of the addition of average value calculator 714 in angle position detection device 702 for the resolver will be described below with reference to
The following description has contents based on the case 1.
A-phase signal 5a1 and B-phase signal 5a2, output from resolver 101, have the slight phase shift relative to each other. At this point, as described in the mode 1, in the case where angle position detection device 102 of the first exemplary embodiment that does not include average value calculator 114 is used, the output value of RD converter 105 fluctuates in each sampling in which the sampling instruction signal is output. As illustrated in
This phenomenon is disadvantageous in the application where the fast response performance and the high accuracy are required to detect the angle position in resolver 101.
Therefore, angle position detection device 702 including average value calculator 714 is used as illustrated in
Average value calculator 714 averages the values of the angle position in resolver 101 detected before and after the one-time sampling. The value averaged by average value calculator 714 is output as the angle position in resolver 101. The use of the averaged output value can accurately detect the angle position in resolver 101 with good response performance.
In the above explanation, deviation signal storage 711 stores therein the deviation signal only for the one-time sampling, and updates the signal to the new deviation signal at anytime, to store the new deviation signal.
The deviation signal stored in deviation signal storage 711 is not limited to the deviation signal for one-time sampling, but the deviation signal for a predetermined plurality of times of the sampling may be stored.
When the deviation signal for one-time sampling is stored in deviation signal storage 711, the calculation speed by deviation signal averaging section 712 increases and thus the response performance is improved. On the other hand, when the deviation signal for the plurality of times of the sampling is stored in deviation signal storage 711, the accuracy of the average value calculated by deviation signal averaging section 712 is improved.
In angle position detection device 702 for resolver 101 in
As for the amplitudes of the A-phase and B-phase signals, in the phase substantially located in the middle between the phase where the absolute value is the maximum and the phase where the absolute value is the minimum, the amplitudes of the A-phase and B-phase signals which are output from resolver 101 are about 0.7 time relative to the maximum value. However, as described above, the SN ratio is improved in angle position detection device 702 of the second exemplary embodiment by averaging the output values of the detected angle position in resolver 101 is detected. Therefore, the effect of the present invention can comprehensively ensure the sufficient superiority.
In the angle position detection device of the third exemplary embodiment, a vector length calculator is added to the angle position detection device of the first exemplary embodiment.
The angle position detection device of the third exemplary embodiment will be described below with reference to
The component having the same configuration as the first exemplary embodiment is designated by the same reference mark, and the description is cited.
As illustrated in
Input to vector length calculator 106 receives the first AD converted value output from first analog-digital converter 103 and second AD converted value output from second analog-digital converter 104, in response to the sampling instruction output from sampling instruction signal generator 607 in the third phase or the fourth phase. Vector length calculator 106 calculates a vector length indicating magnitude of a vector based on the received first and second AD converted values, and outputs the calculated vector length.
As illustrated in
As illustrated in
Vector length storage 611 stores the vector length, which is newly output from vector length calculator 106 in response to the sampling instruction output from sampling instruction signal generator 607 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase, as a new first vector length instead of the stored first vector length.
Timing adjuster 612 receives the vector length, which is output from vector length calculator 106 in response to the sampling instruction output from sampling instruction signal generator 607 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase, as a second vector length.
Timing adjuster 612 adjusts the timing to output the sampling instruction signal such that the first vector length stored in vector length storage 611 is input to set a difference between the first and second vector lengths to zero before the third phase or the fourth phase.
The above configuration can adjust the timing to output the sampling instruction signal. Therefore, angle position detection device 602 of the third exemplary embodiment can easily perform the high-accuracy angle position detection.
The detailed description is further made with reference to the drawings.
As illustrated in
The outputs of the first AD converter 103 and second AD converter 104 are input to vector length calculator 106. Vector length calculator 106 calculates the vector length based on the outputs of first AD converter 103 and second AD converter 104. Vector length calculator 106 outputs the calculated vector length.
Sampling instruction signal generator 607 outputs the sampling instruction signal to first AD converter 103 and second AD converter 104 based on the signal input from reference signal generator 108. Sampling instruction signal generator 607 has a function of adjusting the phase of the sampling instruction signal based on the vector length output from vector length calculator 106.
Sampling instruction signal generator 607 will be described below with reference to
Sampling instruction signal generator 607 stores the input signal in vector length storage 611. In the third exemplary embodiment, the first vector length of the input signal only for one-time sampling is stored in vector length storage 611.
After the one-time sampling, the second vector length being the new signal is input to timing adjuster 612. At this point, vector length storage 611 outputs the first vector length stored in the last one-time sampling to timing adjuster 612. The newly-input signal is stored as the new first vector length in vector length storage 611.
Timing adjuster 612 adjusts the timing to output the sampling instruction signal such that the a difference between the second vector length input from vector length calculator 106 and the first vector length input from vector length storage 611 is set to zero.
The operation and action of the angle position detection device for resolver 101 having the above configuration in a control device of motor 113 will be described below.
Assuming that θ is the angle position in resolver 101, A-phase signal 7a1 is expressed by A sin θ sin ωt, and B-phase signal 7a2 is expressed by A cos θ sin ωt. Here A is the amplitude of the signal.
A-phase signal 7a1 and B-phase signal 7a2 are amplitude-modulated while having the phase difference of 90 degrees relative to each other. Therefore, considering the two signals as the vectors, the vector length indicating the length of the vector is expressed the following equation.
√{square root over ((A sin θ sin ωt)2+(A cos θ sin ωt)2)}=√{square root over ((A sin ωt)2)} [Mathematical Formula 1]
That is, the vector length becomes |A sin ωt|.
When angle position θ of resolver 101 changes, the amplitudes of A-phase signal 7a1 and B-phase signal 7a2 differ from the amplitude in
Accordingly, even if resolver 101 rotates, angle position detection device 602 can easily and correctly detect the vector length. Because the vector length can easily and correctly be detected, angle position detection device 602 can decide the optimum timing to output the sampling instruction signal from sampling instruction signal generator 607.
A process of adjusting the timing to output the sampling instruction signal using the vector length will be described below with a specific example.
As illustrated in
After being generated by excitation signal generator 109 based on reference signal 7c, excitation signal (sin ωt) is input to resolver 101 through buffer circuit 111.
Accordingly, a phase relationship among reference signal 7c, A-phase signal 7a1, and B-phase signal 7a2 is described as follows. (1) The excitation signal is generated from reference signal 7c. (2) The generated excitation signal is transmitted to first AD converter 103 and second AD converter 104 through resolver 101. (3) A-phase signal 7a1 and B-phase signal 7a2 are converted into the digital values based on the transmitted excitation signal. Reference signal 7c, A-phase signal 7a1, and B-phase signal 7a2 are influenced by a phase delay and a delay, which are generated in the transmission processes (1) to (3).
Possibly, a property of each component disposed in the transmission passage is also influenced by a temperature change and aging. Therefore, it is necessary to adjust the timing of the sampling instruction signal.
As illustrated in
When the timing to output the sampling instruction signal is adjusted through the processing, the sampling instruction signal is output at times t5, t6, t7, and t8 in
A time interval at which the sampling instruction signal is output corresponds to the phase difference of 90 degrees. Therefore, times t5, t6, t7, and t8 naturally become the time corresponding to the phase located in the middle between the phases in which the magnitudes of the A-phase and B-phase signals are the maximum and the minimum.
The sampling instruction signal has phase shift amount Δθ from the phase substantially located in the middle. On the other hand, as illustrated in
Additionally, by forming the negative feedback loop, the timing to continuously output the sampling instruction signal can automatically be adjusted while the operation to detect the angle position is performed, after the initial adjustment. Therefore, each component disposed in the transmission line can deal with the phase shift caused by the factor such as the temperature change.
Thus, sampling instruction signal generator 607 adjusts the timing to output the sampling instruction signal using vector length calculator 106. Vector length calculator 106 calculates the vector magnitude using the output values of first AD converter 103 and second AD converter 104 being output according to the timing to output the sampling instruction signal. Sampling instruction signal generator 607 stores the output value of vector length calculator 106, which is output in the last one-time sampling. Sampling instruction signal generator 607 compares the output values, which are outputs from vector length calculator 106 before and after the one-time sampling, to each other, and adjusts the timing to output the sampling instruction signal such that the difference between the output values becomes zero. Consequently, sampling instruction signal generator 607 can output the sampling instruction signal in the phase located substantially in the middle between the phases in which the magnitudes of A-phase and B-phase signals are maximized and minimized. Therefore, for example, in angle position detection device 602 of the third exemplary embodiment, the angle position in resolver 101 can stably be detected with high accuracy by the configuration in
In the one-cycle period excitation signal, the above processing can be performed while the vector length is acquired four times. Therefore, in angle position detection device 602 of the third exemplary embodiment, the timing to output the sampling instruction signal can be adjusted in a shorter time than ever before.
In the above description, the vector length is calculated using the calculation of the square root. However, the square root is not necessarily calculated in the calculation of the vector length. For example, the calculation of the square root may be omitted in the calculation of the vector length due to a processing time and the like.
The angle position detection device of the fourth exemplary embodiment further includes the vector length calculator and an excitation signal generator in the angle position detection device of the first exemplary embodiment.
The angle position detection device of the fourth exemplary embodiment will be described below with reference to
The component having the same configuration as the first exemplary embodiment is designated by the same reference mark, and the description is cited.
As illustrated in
Vector length calculator 106 receives the first AD converted value which is output from first analog-digital converter 103 and the second AD converted value which is output from second analog-digital converter 104 in response to the sampling instruction output from sampling instruction signal generator 107 in the third phase or the fourth phase. Vector length calculator 106 calculates a vector length indicating magnitude of a vector based on the received first and second AD converted values, and outputs the calculated vector length.
As illustrated in
As illustrated in
Vector length storage 911 stores the vector length, which is newly output from vector length calculator 106 in response to the sampling instruction output from sampling instruction signal generator 107 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase, as new first vector length, instead of the stored first vector length.
Phase adjuster 912 receives the vector length, which is output from vector length calculator 106 in response to the sampling instruction output from sampling instruction signal generator 107 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase, as a second vector length.
Phase adjuster 912 adjusts the phase of the excitation signal exciting resolver 101 such that the first vector length stored in vector length storage 911 is input to set a difference between the first and second vector lengths to zero before the third phase or the fourth phase.
The configuration can relatively adjust the timing to output the sampling instruction signal. Therefore, the angle position detection device of the fourth exemplary embodiment can easily perform the high-accuracy angle position detection.
As illustrated in
Excitation signal generator 909 further includes rectangular wave pulse generator 1002 and amplitude adjuster 1003.
Rectangular pulse generator 1002 outputs a first rectangular wave pulse based on an adjustment result of phase adjuster 912.
Amplitude adjuster 1003 receives the first rectangular wave pulse, and outputs a second rectangular wave pulse for adjusting the amplitude of the excitation signal exciting resolver 101 according to the received first rectangular wave pulse.
In the configuration, the amplitude of the signal output from the resolver, namely, the amplitude of the signal input from the first AD converter and the amplitude of the signal input from the second AD converter are adjusted to proper values. Therefore, the angle position detection device of the fourth exemplary embodiment can easily perform the high-accuracy angle position detection.
Angle position detection device 902 of the fourth exemplary embodiment of the present invention may further include sinusoidal wave converter 1004.
Sinusoidal wave converter 1004 receives the second rectangular wave pulse, converts the received second rectangular wave pulse to a sinusoidal wave having the same frequency as that of the second rectangular wave pulse, and outputs the converted sinusoidal wave.
In the configuration, the phase of the excitation signal can easily be adjusted.
In particular, sinusoidal wave converter 1004 may be a low-pass filter. In the configuration, sinusoidal wave conversion processing can easily be performed.
As illustrated in
Reference signal generator 108 generates the reference signal provided to resolver 101, and outputs the generated reference signal.
Vector length calculator 106 receives the first AD converted value which is output from first analog-digital converter 103 and second AD converted value which is output from second analog-digital converter 104 in response to the sampling instruction output from sampling instruction signal generator 107 in the third phase or the fourth phase. Vector length calculator 106 calculates a vector length indicating magnitude of a vector based on the received first and second AD converted values, and outputs the calculated vector length.
As illustrated in
As illustrated in
Vector length storage 1011 stores the vector length, which is newly output from vector length calculator 106 in response to the sampling instruction output from sampling instruction signal generator 107 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase, as new first vector length, instead of the stored first vector length.
Vector length difference calculator 1001 receives the sampling instruction, which is output from sampling instruction signal generator 107 in the fourth phase generated immediately after the third phase or the third phase generated immediately after the fourth phase, as a first sampling instruction.
Vector length difference calculator 1001 receives the vector length output from vector length calculator 106 in response to the first sampling instruction, as a second vector length.
Vector length difference calculator 1001 receives the first vector length stored in vector length storage 1011, calculates a vector length difference signal that is of a difference between the first and second vector lengths, and outputs the calculated vector length difference signal.
Rectangular wave pulse generator 1002 receives the vector length difference signal output from vector length difference calculator 1001 and the reference signal output from reference signal generator 108.
Rectangular wave pulse generator 1002 generates a rectangular wave pulse according to the vector length difference signal and the reference signal such that the difference between the first and second vector lengths becomes zero, and rectangular wave pulse generator 1002 outputs the generated rectangular wave pulse.
Angle position detection device 902 of the fourth exemplary embodiment of the present invention may further include amplitude adjuster 1003.
Amplitude adjuster 1003 receives the first rectangular wave pulse, and outputs a second rectangular wave pulse for adjusting the amplitude of the excitation signal exciting the resolver according to the received first rectangular wave pulse.
Angle position detection device 902 of the fourth exemplary embodiment of the present invention may further include sinusoidal wave converter 1004.
Sinusoidal wave converter 1004 receives the second rectangular wave pulse, converts the received second rectangular wave pulse in a sinusoidal wave having the same frequency as that of the second rectangular wave pulse, and outputs the converted sinusoidal wave.
In particular, sinusoidal wave converter 1004 may be a low-pass filter.
The detailed description is further made with reference to the drawings.
As illustrated in
Excitation signal generator 909 receives the vector length value output from vector length calculator 106 and the reference signal output from reference signal generator 108. Excitation signal generator 909 generates the excitation signal based on the received signal. Excitation signal generator 909 outputs the generated excitation signal.
As illustrated in
Rectangular wave pulse generator 1002 outputs the rectangular wave pulse based on the reference signal. Rectangular wave pulse generator 1002 has a function of adjusting the phase of the rectangular wave pulse output from rectangular wave pulse generator 1002 while reflecting the value of vector length difference output from vector length difference calculator 1001.
Amplitude adjuster 1003 adjusts the amplitude of the rectangular wave pulse output from rectangular wave pulse generator 1002, and outputs an adjustment result.
Sinusoidal wave converter 1004 converts the rectangular wave pulse output from amplitude adjuster 1003 into the sinusoidal wave having the same frequency, and outputs a conversion result. The conversion result becomes the excitation signal output from excitation signal generator 909.
A switched capacitor filter having a steep low-pass cutoff characteristic can be used as sinusoidal wave converter 1004. When the switched capacitor filter is used as sinusoidal wave converter 1004, sinusoidal wave converter 1004 can easily be configured.
The operation and action of angle position detection device 902 for resolver 101 having the above configuration in the control device of the motor will be described below.
As illustrated in
After being generated by excitation signal generator 909 based on reference signal 7c, excitation signal (sin ωt) is input to resolver 101 through buffer circuit 111.
Accordingly, a phase relationship among reference signal 7c, A-phase signal 7a1, and B-phase signal 7a2 is described as follows. (1) The excitation signal is generated from reference signal 7c. (2) The generated excitation signal is transmitted to first AD converter 103 and second AD converter 104 through resolver 101. (3) A-phase signal 7a1 and B-phase signal 7a2 are influenced by a phase delay and a delay, which is generated in the transmission processes (1) to (3), based on the transmitted excitation signal.
Possibly, a property of each component disposed in the transmission passage is also influenced by a temperature change and aging. Therefore, similarly to the third exemplary embodiment, it is necessary to adjust the timing of the sampling instruction signal.
The detailed timing adjustment process will be described with reference to
As described above, in the initial state, the vector length varies largely at times t1, t2, t3, and t4 in
Therefore, the phase of the rectangular wave pulse output from rectangular wave pulse generator 1002 is changed such that the value of the vector length difference becomes zero.
That is, as illustrated in
The waveforms in
A-phase signals 7a1 and 12a1 and B-phase signals 7a2 and 12a2, which are output from resolver 101, and vector length values 7b and 12b output from vector length calculator 106 are the signals of which the phases shift forward with respect to reference signals 7c and 12c output from reference signal generator 108.
As illustrated in
The time interval at which the sampling instruction signal is output corresponds to the phase difference of 90 degrees. Therefore, times t1, t2, t3, and t4 naturally become the time corresponding to the phase located in the middle between the phases in which the magnitudes of the A-phase and B-phase signals are the maximum and the minimum.
The sampling instruction signal has phase shift amount Δθ from the phase substantially located in the middle. On the other hand, as illustrated in
Additionally, when the negative feedback loop is formed, the timing to continuously output the sampling instruction signal can automatically be adjusted while the operation to detect the angle position is performed after the initial adjustment. Therefore, each component disposed in the transmission passage can deal with the phase shift caused by the factor such as the temperature change.
Thus, as illustrated in
As illustrated in
As illustrated in
In the processing performed by angle position detection device 902 of the fourth exemplary embodiment, the vector length can be acquired four times in the one-period excitation signal. Therefore, in angle position detection device 902 of the fourth exemplary embodiment, the phase and amplitude of the excitation signal can be adjusted in a shorter time than ever before.
In the above description, the vector length is calculated using the calculation of the square root. However, the square root is not necessarily calculated in the calculation of the vector length. For example, the calculation of the square root may be omitted in the calculation of the vector length due to a processing time and the like.
As described above, in the resolver angle position detection device of the present invention, the angle position can accurately be detected with good response performance. In the angle position detection device of the present invention, the timing of the sampling instruction signal output to the AD converter and the phase of the excitation signal can be adjusted while including the variation in property, temperature change, or aging of the resolver. Therefore, the angle position detection device of the present invention can stably and accurately detect the angle position of the resolver. Accordingly, the angle position detection device of the present invention can be applied to an industrial FA servo motor and the like.
Number | Date | Country | Kind |
---|---|---|---|
2013-179036 | Aug 2013 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2014/004388 | 8/27/2014 | WO | 00 |