Propagation delay compensation circuit and method for calculating propagation delay compensation

By using low-pass filters and differentiators in the propagation delay compensation circuit, combined with the delay compensator, the problem of inaccurate angular position caused by propagation delay is solved, and the accurate angular position measurement of the rotating object is achieved, which is suitable for high dynamic rotation.

CN119022966APending Publication Date: 2024-11-26SEMICON COMPONENTS IND LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411124771.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2020-03-16
Filing Date
2021-03-04
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The prior art is used to compensate for propagation delays, and the angular position provided is inaccurate, especially in real-time angular position measurements of rotating objects, conventional solutions are susceptible to instability and dynamic range limitations.

Method used

Using propagation delay compensation circuits including low-pass filters, differentials and delay compensators, provides accurate angle, velocity and acceleration signals by reducing noise and calculating speed and acceleration, and extrapolated angular positions to replace invalid data points for real-time Angle position compensation.

Benefits of technology

Accurate angular position measurement of rotating objects is realized, errors caused by propagation delay are reduced, position measurement accuracy of rotating objects is improved, and suitable for high dynamic rotation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119022966A_ABST
    Figure CN119022966A_ABST
Patent Text Reader

Abstract

The invention relates to a propagation delay compensation circuit and a method for calculating propagation delay compensation. Various embodiments provide filters for propagation delay compensation and interpolation in encoder digital signal processing. The filter may include: a first low pass filter configured to reduce noise including a digital input that measures an angular position; a first differentiator configured to receive the filtered digital input and calculate a velocity from a time difference of a measured angular position and a previous angular position; a second low pass filter configured to reduce noise from the speed; a second differentiator configured to receive the filtered velocity and calculate an acceleration using a time difference of the filtered velocity and a previous velocity; a third low pass filter configured to reduce noise of acceleration; and a delay compensator configured to receive the filtered digital input, the filtered velocity, and the filtered acceleration, and to calculate a propagation delay compensated digital output.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with application date of March 4, 2021, application number 202110237672.4, and invention name “Propagation delay compensation circuit and method for calculating propagation delay compensation”. Technical Field

[0002] The present invention relates to a propagation delay compensation circuit and a method for calculating propagation delay compensation. Background Art

[0003] Digital encoders are used to control manufacturing robots. Typically, one component of a digital encoder is a position sensor designed to determine the position of a moving device. For a rotating object, the position sensor measures the angle of the rotating device relative to a starting position. The position sensor provides an analog signal to a signal processing component of the digital encoder. The signal processing component receives the analog signal and outputs a digital signal of the angular position relative to time. The signal processing component may include an analog signal processor, an analog-to-digital converter, and a digital signal processor. The propagation time used to process the signal may delay the output of the digital signal from the encoder and provide an inaccurate angular position compared to the real-time angular position of the rotating object.

[0004] One solution to compensate for this propagation time delay is to use a system with two position sensors, each measuring the angle of the rotating object. The pair of signals from the sensors are input into two filter circuits in parallel, which provide a feedback loop for compensating the time delay. This solution is known to be susceptible to instabilities. Furthermore, this solution is limited by the feedback loop for compensating the time delay within a small dynamic range.

[0005] New solutions are needed to provide accurate angular position with respect to time for rotating objects. Summary of the invention

[0006] The present invention relates to a propagation delay compensation circuit and a method for calculating propagation delay compensation.

[0007] The technical problem addressed by the present invention is that conventional solutions for compensating for propagation time delays provide inaccurate angular positions compared to the real-time angular position of the rotating object.

[0008] Various embodiments of the present invention provide filters for providing propagation delay compensation and interpolation in encoder digital signal processing of angle, velocity, and acceleration.

[0009] According to a first aspect, a propagation delay compensation circuit includes: a first low-pass filter, which is configured to receive a digital input and reduce the noise of the digital input including a measured angular position; a first differentiator, which is configured to receive a filtered digital input including a measured angular position and calculate a speed based on a time difference between the measured angular position and a previous angular position; a second low-pass filter, which is configured to reduce noise from the speed; a second differentiator, which is configured to receive a filtered speed and calculate an acceleration using the time difference between the filtered speed and the previous speed; a third low-pass filter, which is configured to reduce the noise of the acceleration; and a delay compensator, which is configured to receive the filtered digital input, the filtered speed, and the filtered acceleration, and calculate a digital output that has been compensated for a propagation delay.

[0010] In one embodiment, the propagation delay compensation further includes an extrapolation generator configured to receive the filtered acceleration and calculate an extrapolated angular position.

[0011] In one embodiment, the propagation delay compensation circuit also includes a pre-processing block configured to: receive a digital input including a measured angular position; determine that the measured angular position is within an acceptable range, and then send the digital input including the measured angular position to a first low band-pass filter; and determine that the measured angular position is not within the acceptable range, and then send the digital input including the extrapolated angular position to the first low band-pass filter.

[0012] In one embodiment, the propagation delay compensation circuit also includes a pre-processing block configured to: receive a digital input including a measured angular position; determine that the digital input including the measured angular position is received, and then send the digital input including the measured angular position to a first low band-pass filter; and determine that the digital input including the measured angular position is not received, and then send the digital input including the extrapolated angular position to the first low band-pass filter.

[0013] In one embodiment, the propagation delay compensation circuit also includes a pre-processing block configured to: receive a digital input including a measured angular position; compare the measured angular position to the extrapolated angular position for best fit; and send the digital input including the best fit angular position to a first low bandpass filter.

[0014] According to a second aspect, a propagation delay compensation circuit includes: a first circuit, which is configured to receive a digital input including a measured angular position, and filter the noise of the digital input, and then calculate the speed based on the time difference between the previous angular position and the filtered digital input including the measured angular position; a second circuit, which is configured to receive the speed, and filter the noise from the speed, and then calculate the acceleration based on the time difference between the previous speed and the filtered speed; and a third circuit, which is configured to receive the acceleration, the filtered digital input and the filtered speed, and filter the noise of the acceleration, and then use the filtered acceleration, the filtered digital input and the filtered speed to calculate the digital output after propagation delay compensation.

[0015] According to a third aspect, a method for calculating propagation delay compensation includes: receiving a digital input including a measured angular position of a rotating object; comparing the measured angular position with a previously calculated angular position of the rotating object; determining that the measured angular position is not valid based on the comparison; and replacing the measured angular position with an extrapolated angular position based on the previously calculated angular position; calculating a velocity based on a time difference between the extrapolated angular position and the previous angular position; calculating an acceleration using the time difference between the velocity and the previous velocity; receiving the extrapolated angular position, velocity, and acceleration in a delay compensator; and calculating a digital output compensated for propagation delay in the delay compensator.

[0016] In one embodiment, the method further includes: replacing a missing measured angular position with an extrapolated angular position, wherein no digital input comprising the measured angular position is received; measuring the angular position using a sensor; sending an analog signal comprising the measured angular position to an analog-to-digital converter; and converting the analog signal into a digital output comprising the measured angular position.

[0017] According to a fourth aspect, a method for calculating propagation delay compensation includes: receiving a digital input including a measured angular position of a rotating object; reducing the noise of the digital input including the measured angular position; calculating a velocity based on a time difference between a filtered measured angular position and a previous angular position; reducing noise from the velocity; calculating an acceleration using the time difference between the filtered velocity and the previous velocity; reducing noise in the acceleration; receiving the filtered measured angular position, the filtered velocity, and the filtered acceleration in a delay compensator; and calculating a digital output compensated for propagation delay in the delay compensator.

[0018] In one embodiment, the method further includes: comparing the measured angular position with a previous angular position of the rotating object; determining based on the comparison that the measured angular position is not valid; replacing the measured angular position with an extrapolated angular position based on the previous angular position; collecting the angular position using a sensor; sending an analog signal including the measured angular position to an analog-to-digital converter; and converting the analog signal into a digital output including the measured angular position.

[0019] The technical effect achieved by the present invention is to provide an accurate angular position of a rotating object relative to time. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The present disclosure will be more fully understood from the specification and accompanying drawings, in which:

[0021] Figure 1 is a graph showing the measured output of the prior art;

[0022] Figure 2 is a graph showing measured output corrected by a propagation delay compensation filter according to various embodiments;

[0023] Figure 3 is a block diagram illustrating a measurement system according to various embodiments;

[0024] Figure 4 is a flow chart illustrating an exemplary process for calculating delay compensation according to various embodiments;

[0025] Figure 5 is a block diagram illustrating an exemplary propagation delay compensation and interpolation circuit according to various embodiments;

[0026] Figure 6 is a graph illustrating exemplary propagation delay compensated angle measurements according to various embodiments; and

[0027] Figure 7 is a composite graph showing data calculated from exemplary measurements of a rotating object under various conditions, according to various embodiments.

[0028] The drawings described herein are for illustrative purposes only of selected embodiments, not all possible implementations, and are not intended to limit the scope of any exemplary embodiment disclosed herein or any equivalent thereof. It should be understood that these drawings are not drawn to scale. For clarity, the same reference numerals will be used in the drawings to identify similar elements. DETAILED DESCRIPTION

[0029] The following disclosure is merely exemplary in nature and is in no way intended to limit the embodiments, their applications or uses. The present invention has been described with reference to various exemplary embodiments. Various modifications and changes may be made to the exemplary embodiments without departing from the scope of the present invention, and all such modifications are intended to be included within the scope of the present invention.

[0030] For a rotating device, a position sensor such as an angle sensor interface is directed to the device and measures the angular position of the rotating device relative to a starting position. Typically, the output angle of the sensor interface will exhibit an angle error due to propagation delays in analog signal processing and delays in digital signal processing after analog-to-digital conversion in the encoder. If the sensor interface is noisy, additional digital low-pass filtering or averaging is advantageous, however, such processing increases propagation delays. In addition, an increase in the rotation speed of the object increases the magnitude of the error in the angle measured by the sensor interface.

[0031] To simplify the problem by using a constant angular velocity, the propagation delay is Figure 1 Graph 100 has an x-axis 105 of time and a y-axis 106 of the angular position of a rotating object. Curve 110 shows the output of a series of calculated data points 111, 112, 113, 114, 115, 116, 117 of the angular position of a rotating object at a certain time. To complicate the matter, data point 115 has been determined to be invalid. However, curve 120 shows the actual position and time of a series of data points 121, 122, 123, 124, 125, 126, 127.

[0032] The actual data points in curve 120 are shifted to the right of the calculated data points in curve 110 due to the propagation delay caused by: processing the analog signal from the sensor, converting the analog signal to a digital signal, processing the digital signal, and outputting the digital signal of the angular position. Figure 1 As shown, the output to the position of the rotating object in curve 110 does not accurately represent the actual position of the rotating object in curve 120. Although the propagation delay may be only a few milliseconds, the inaccurate position of the output can limit the ability of the robot to manufacture micro-components.

[0033] Various embodiments described herein provide filters for propagation delay compensation and interpolation in encoder digital signal processing for providing angle, speed and acceleration. Propagation delay compensation and interpolation filters can provide accurate output of angular position in real time. Propagation delay compensation and interpolation filters can be configured to interpolate and compare new data points to determine whether the new data points are valid. In addition, propagation delay compensation and interpolation filters can be configured to upsample, which replaces invalid data points with extrapolated data points calculated by the filter.

[0034] The input into the propagation delay compensation and interpolation filter is the processed digital signal from the encoder, and the output from the propagation delay compensation and interpolation filter is the actual angular position measured by the position sensor.

[0035] The propagation delay compensation and interpolation filters have applications for position sensors, angle sensor interfaces, and digital encoders. In addition, various embodiments provide methods and systems to reduce this error by extracting velocity and acceleration and compensating for delays in analog and digital blocks.

[0036] In some configurations, the propagation delay compensation and interpolation filter is a post-processing digital filter. For example, the input of the filter is a pre-processed digital angle, which can be noisy and have a delay from the pre-processing propagation. The filter can remove noise, however, this increases the delay. The filter includes a series of low-pass filters and a differentiator for calculating low-noise angular velocity and acceleration. Assuming that the acceleration is constant or slowly changing, the filter can compensate for all delays in sensor signal pre-processing and the delay added by the filter. For example, the delay from analog and digital processing is known by design and can be proportional to the on-chip RC time constant. As shown mathematically in this article, two coefficients are sufficient to calculate the actual angle without propagation delay by adding a correction proportional to the measured speed and measured acceleration. Once the acceleration is determined, the filter can extrapolate the future speed and angle. Since the output angle can be sampled at a faster rate than the input angle, the extrapolation of the future speed and angle can be used for interpolation. For example, extrapolation can also be used for signal integrity verification. In the case where the input angle is not calculated or is not valid, the extrapolated value can be used to replace such input angle.

[0037] like Figure 2 As shown, an example of a propagation delay error problem is corrected by an embodiment of a propagation delay compensation and interpolation filter. Graph 200 has an x-axis 205 of time and a y-axis 206 of the angular position of a rotating object. Curve 210 shows the output of a calculated speed defined by a series of calculated data points 211, 212, 213, 214, 215 of the angular position of a rotating object at a certain time. The propagation delay 230 has shifted the calculated speed to the right to the actual speed, as shown by curve 220. The output of curve 210 is the input to the propagation delay compensation and interpolation filter, which outputs the corrected speed of curve 220. As described herein, the filter determines the speed and acceleration 233, which are used to correct 235 the calculated data point 211 and output the corrected data point 221. Additionally, the filter may correct 236 computed data point 212 and output corrected data point 222 , correct 237 computed data point 214 and output corrected data point 224 , and correct 238 computed data point 215 and output corrected data point 225 .

[0038] However, it has been determined that data point 213 is invalid. The filter determines velocity and acceleration 240 and extrapolates the value for data point 213, then correction 242 extrapolates data point 213 and outputs a corrected data point 223. In some embodiments, curve 220 is the corrected velocity, which is the actual velocity of the rotating object.

[0039] If the speed is known or measured and the propagation delay is known, the processed digital signal from the encoder can be corrected for delayed and / or missing data points by the propagation delay compensation and interpolation filter. Thus, the output of the propagation delay compensation and interpolation filter in curve 220 accurately represents the position and speed of the rotating object as measured by the encoder.

[0040] Now go to Figure 3 , a block diagram shows an exemplary measurement system 300. For example, the measurement system 300 may be a digital encoder for controlling a manufacturing robot. The measurement system 300 may communicate with or be incorporated into any control processor that requires input of an angular position that is accurate in both time and space. The measurement system 300 is particularly advantageous for high sampling rates necessary when measuring objects rotating at high speeds (e.g., in excess of 6000 rpm). In one application, the measurement system 300 is incorporated into an electric motor.

[0041] The measurement system 300 is designed to measure the angular position of a rotating object 301 and calculate the angular position represented as a propagation delay compensated digital output 320. The sensor 303 is positioned to measure the angular position of the rotating object 301.

[0042] Examples of sensors 303 configured to measure the angular position of rotating object 301 are well known in the art. Sensor 303 may be a transducer. For example, a transducer may be configured to convert a physical quantity such as position into another physical quantity such as an electrical signal. Sensor 303 may be an optical detector. Sensor 303 may be a magnetic detector. Sensor 303 may be an inductive detector. Sensor 303 may be a capacitive detector. Sensor 303 may be a Hall effect detector. If temperature is the variable being measured, sensor 303 may be an infrared detector.

[0043] The sensor 303 may communicate with an angle sensor interface that processes and converts analog electrical signals to digital signals. The angle sensor interface may include an analog signal processor 305, a digitizer 307, and a digital signal processor 309 that outputs a processed digital input 312. In some configurations, the angle sensor interface may include a propagation delay compensation filter 315. The electrical analog signal processing and conversion of the electrical analog signal to a digital signal by the angle sensor interface produces a signal time propagation delay.

[0044] The sensor 303 converts the angular position into an analog signal of an electrical magnitude, which may be, for example, a voltage, a current, an impedance, or a frequency. The angular position measured by the sensor 303 may be sent as an analog signal to an analog signal processor 305. The noise of the analog signal may be reduced by the analog signal processor 305. The analog signal processor 305 processes the analog signal, which conditions the analog signal for digital conversion. The process used by the analog signal processor 305 may include one or more of amplification, filtering, and multiplexing.

[0045] The conditioned analog signal is sent to an analog-to-digital converter 307 , and the resulting digital signal may be sent to a digital signal processor 309 , which processes the digital signal and outputs a processed digital input 312 .

[0046] The angular position as represented by the processed digital input 312 is sent to a propagation delay compensation filter 315, which calculates a propagation delay compensated digital output 320. The propagation delay compensation filter 315 may be configured to output delay compensated angular position angles, velocities, and accelerations.

[0047] An example of the operation of calculating the propagation delay compensated digital output 320 is shown in Figure 4 As shown in the figure, it is described below.

[0048] In some embodiments, the measurement system 300 may include: a sensor 303 configured to measure the angular position of a rotating object 301; an analog-to-digital converter 307 configured to receive the angular position and convert the angular position into a digital input 312 including the measured angular position; and a propagation delay compensation circuit 315 configured to receive the digital input 312 and calculate a digital output 320 compensated for the propagation delay.

[0049] The propagation delay compensation circuit 315 may be any configuration of filters used for propagation delay compensation and interpolation in encoder digital signal processing, as described herein.The resulting propagation delay compensated digital output 320 may be represented as a propagation delay compensated measured angular position.

[0050] For example, the propagation delay compensation circuit 315 may include: a first low-pass filter, which is configured to receive a digital input 312 including a measured angular position and reduce the noise of the measured angular position; a first differentiator, which is configured to receive the filtered measured angular position and calculate the speed based on the time difference between the filtered measured angular position and the previous angular position; a second low-pass filter, which is configured to reduce noise from the speed; a second differentiator, which is configured to receive the filtered speed and use the time difference between the filtered speed and the previous speed to calculate the acceleration; a third low-pass filter, which is configured to reduce the noise of the acceleration; and a delay compensator, which is configured to receive the filtered digital input, the filtered speed and the filtered acceleration, and calculate the propagation delay compensated digital output 320.

[0051] Another example of propagation delay compensation circuit 315 is Figure 5 As shown in the figure, it is described below.

[0052] In some configurations, the measurement system 300 may further include an analog signal processor 305 configured to: receive the angular position from the sensor 303; process the electrical signal including the angular position; and send the processed angular position to the analog-to-digital converter 315. For example, processing the electrical signal may be at least one of filtering the electrical signal, reducing noise of the electrical signal, amplifying the electrical signal, and multiplexing the electrical signal.

[0053] In some configurations, the measurement system 300 may also include a digital signal processor 309 configured to: receive a digital input including the measured angular position; process a digital signal including the measured angular position; and send the processed digital input including the measured angular position to the propagation delay compensation circuit 315 .

[0054] Go to Figure 4, a flow chart shows an exemplary process for calculating delay compensation. Process 400 begins with the input of a digital signal 401. For example, digital signal 401 can be the digital input 312 described above. Digital signal 401 includes the angular position of a rotating object at a certain time. Decision 402: Is the new input available? If yes 404, go to decision 406. If no 405, go to step 412. Digital signal 401 may not be available because it has not been calculated or is delayed due to a known problem in the previous stage of signal processing. Decision 406: Is the new input reasonable? If yes 408, go to step 410, which selects digital signal 401 for processing. If no 407, go to step 412, which selects an extrapolated value for the process. Since propagation delay compensation knows the speed and acceleration of the rotating object, it can be verified that digital signal 401 is close enough to the expected, for example, digital signal 401 cannot be 180 degrees from the extrapolation. If the extrapolated value is selected, the digital signal 401 is discarded.

[0055] The selected signal enters a first low pass filter 414 to reduce noise. The signal then enters a first differentiator 416, which determines velocity by calculating the time difference between consecutive angular positions. The calculated velocity enters a second low pass filter 418 to reduce noise; the calculated velocity then enters a second differentiator 420, which determines acceleration by calculating the time difference between consecutive velocities. The calculated acceleration enters a third low pass filter 422 to reduce noise; the calculated acceleration then enters a delay compensation 424. Based on the measured angle, velocity, and acceleration, a digital output 430 may be compensated for multiple delays between a transducer measuring the angle of the rotating object and a delay compensator 424. Examples of multiple delays may include delays in the transducer, delays due to analog signal processing, delays for analog-to-digital conversion, delays due to digital signal processing, delays due to communication to an external device, and delays in process 400. The digital output 430 is a compensated filtered angle measurement. Extrapolation 426 calculations may be used to compensate for delays in the process 400 performed in the propagation delay compensation filter.

[0056] In some embodiments, a method 400 for calculating propagation delay compensation may include: receiving a digital input 401 comprising a measured angular position of a rotating object; reducing the noise of the digital input comprising the measured angular position; calculating a velocity based on a time difference between a filtered measured angular position and a previous angular position; reducing noise from the velocity; calculating an acceleration using the time difference between the filtered velocity and a previous velocity; reducing noise in the acceleration; receiving the filtered measured angular position, the filtered velocity, and the filtered acceleration in a delay compensator; and calculating a digital output 430 compensated for propagation delay in a delay compensator 424.

[0057] Figure 55 is a block diagram showing exemplary components in a propagation delay compensation and interpolation filter 500. A digital input 502 is a digital representation of an angle with some propagation delay due to analog and digital processing. The digital input 502 enters the filter 500 and is evaluated 503 to determine whether the digital input 502 exists and is within the range of acceptability. If the digital input 502 meets the criteria, it is the selected input 504 for processing. If the digital input 502 does not meet the criteria, it is rejected and the extrapolated value 520 becomes the selected input 504. The selected input 504 enters a first low pass filter 505, which reduces noise and produces a low pass filtered angle signal 515. The filtered signal is directed to a first differentiator 506 to determine a calculated velocity 507. A second low pass filter 509 receives the calculated velocity 507, which reduces noise and produces a low pass filtered velocity signal 516. The filtered signal is directed to a second differentiator 510 to determine a calculated acceleration 511. The third low pass filter 512 receives the calculated acceleration 511 , which reduces noise and produces a low pass filtered acceleration signal 517 .

[0058] The filtered angle signal 515, the filtered velocity signal 516, and the filtered acceleration signal 517 are directed to a delay compensation circuit 518, which calculates the propagation delay. The delay compensation circuit 518 includes a first coefficient value 526 ("k1") and a second coefficient value 525 ("k2"), which are further defined in the following equation.

[0059] In this example of filter 500, only first order low pass filters for angle, velocity and acceleration have been used, however, higher order low pass filters may be used.

[0060] In the event that the input signal 502 is determined to be invalid or upsampling is performed, the filter input can switch between the digital input 502 and the extrapolated value 520. Once a new digital input 502 to the filter 500 is available from the pre-processing block, the new digital input can be compared to the extrapolated angle 520 output by the filter. If there is a large difference, the new digital input 502 can be discarded and replaced with the extrapolated angle 520. The filter 500 can reject new digital inputs 520 that are contours or have very noisy inputs. If for some reason, the new digital input 502 is not available (for example, the analog block is running the auto-zero feature), the extrapolated value 520 is used instead of keeping the previous input.

[0061] The signal fed back to the input for interpolation or upsampling uses different compensation coefficients (k1 i and k2 i ), because the digital input 502 is affected by the delay in the previous stage, while the extrapolated value 520 is not affected by the delay.

[0062] The signal fed back to the input for interpolation or upsampling uses the first extrapolation coefficient 528 (“k1 i ”) and the second extrapolation coefficient 527 (“k2 i In one example, the first extrapolation coefficient 528 (“k1 i ”) may be a first coefficient value 526 (“k1”) from a previous digital input, and a second extrapolated coefficient 527 (“k2 i ”) may be the second coefficient value 525 (“k2”) from the previous digital input.

[0063] In some embodiments, the propagation delay compensation circuit 500 may include: a first low-pass filter 505, which is configured to receive a digital input 502 and reduce the noise of the digital input 502 including the measured angular position; a first differentiator 506, which is configured to receive a filtered digital input 515 including the measured angular position and calculate the speed 507 based on the time difference between the measured angular position and the previous angular position; a second low-pass filter 509, which is configured to reduce the noise from the speed 507; a second differentiator 510, which is configured to receive a filtered speed 516 and calculate the acceleration 511 using the time difference between the filtered speed 516 and the previous speed; a third low-pass filter 512, which is configured to reduce the noise of the acceleration 511; and a delay compensator 518, which is configured to receive the filtered digital input 515, the filtered speed 516 and the filtered acceleration 517, and calculate the propagation delay compensated digital output 530.

[0064] The propagation delay compensation circuit 500 may include an extrapolation generator 519 configured to receive the filtered acceleration 517 and calculate an extrapolated angular position 520 .

[0065] The propagation delay compensation circuit may include a pre-processing block 503, which is configured to: receive a digital input 502 including a measured angular position; determine that the measured angular position is within an acceptable range, and then send the digital input 502 including the measured angular position to a first low band-pass filter 505; and determine that the measured angular position is not within an acceptable range, and then send the digital input including the extrapolated angular position 520 to the first low band-pass filter 505.

[0066] The pre-processing block 503 may be configured to determine that the digital input 502 was not received and then send the digital output 504 including the extrapolated angular position 520 to the first low band pass filter 505 .

[0067] The propagation delay compensation circuit 505 may include a pre-processing block 503, which is configured to: receive a digital input 502 including a measured angular position; determine that the digital input 502 including the measured angular position is received, and then send the digital input 502 including the measured angular position to a first low band-pass filter 505; and determine that the digital input 502 including the measured angular position is not received, and then send the digital input 504 including the extrapolated angular position 520 to the first low band-pass filter 505.

[0068] The propagation delay compensation circuit 500 may include a pre-processing block 503 configured to: receive a digital input 502 comprising a measured angular position; compare the measured angular position with an extrapolated angular position for best fit; and send a digital input 504 comprising the best fit angular position to a first low bandpass filter 505 .

[0069] In some applications, the propagation delay compensated digital output 530 is a propagation delay compensated measured angular position. In some applications, the propagation delay compensated digital output 530 is a propagation delay compensated extrapolated angular position. In some applications, the propagation delay compensated digital output 530 is a filtered measured angular position.

[0070] The filter 500 can use the extrapolation feature to run at a higher sampling frequency than the pre-processing block. This is particularly beneficial if the sampling of the sensor output is asynchronous to the internal clock, as it reduces jitter. If used as an anti-aliasing filter, the filter 500 can also be bandwidth limited without introducing additional lag.

[0071] In a non-limiting example of operating circuit 500, the following equation can be used to correct for propagation delay. Assuming constant acceleration and N clock delays in signal preprocessing, the position in the Z domain sampled at interval T is:

[0072] IN(Z)=[Acc T 2 Z -1 (1+Z -1 ) / (1-Z -1 ) 3 +Speed ​​TZ -1 / (1-Z -1 ) 2 +Pos / (1-Z -1 )]Z -N

[0073] (Equation 1)

[0074] For Equation 1, Acc is acceleration, Pos is position, IN(Z) is position in the Z domain, and T is the time interval. In the Z domain, Z is a variable. The Z domain requires a fixed sampling time interval T. In this example, Equation 1 calculates the propagation delay.

[0075] The first filter determines the location of the average low pass filter as calculated in Equation 2, where H1 is the transfer function of the noise reduction filter 505 and IN(Z) is from Equation 1:

[0076] IN a (Z) = H1(Z)IN(Z) (Equation 2)

[0077] The derivative and second filter determine the average speed as calculated in Equation 3, where H2 is the transfer function of the noise reduction filter 509, and IN a (Z) comes from Equation 2:

[0078] S a (Z) = (1-Z -1 )H2(Z)IN a (Z)(Equation 3)

[0079] Equation 3 can be rearranged and expressed as Equation 4:

[0080] S a (Z) = (1-Z -1 )H2(Z)H1(Z)IN(Z)(Equation 4)

[0081] The derivative and the third filter determine the average acceleration as calculated by Equation 5, where H3 is the transfer function of the noise reduction filter 5012, and S a (Z) comes from Equation 3:

[0082] A a (Z) = (1-Z -1 )H3(Z)S a (Z)(Equation 5)

[0083] Equation 5 can be rearranged and expressed as Equation 6:

[0084] A a (Z) = (1-Z -1 ) 2 H3(Z)H2(Z)H1(Z)IN(Z) (Equation 6)

[0085] The third filter output is the acceleration, which is assumed to be constant. In various applications, the acceleration may change, and the third filter may take some time to stabilize. Once the third filter is stable, the propagation delay can be compensated without any residual error.

[0086] The compensation speed is calculated by Equation 7, where S a (Z) from Equation 3, A a (Z) comes from Equation 5, and k2 is the coefficient:

[0087] S c (Z) = S a (Z)+k2 A a (Z)(Equation 7)

[0088] Equation 7 can be rearranged and expressed as Equation 8:

[0089] S c (Z) = [(1-Z -1 )+k2(1-Z -1 ) 2 H3(Z)]H2(Z)H1(Z)IN(Z) (Equation 8)

[0090] The compensation position is calculated by Equation 9, where IN a (Z) comes from Equation 2, S c (Z) comes from Equation 7, and k1 is the coefficient:

[0091] OUT(Z)=IN a (Z)+k1 S c (Z)(Equation 9)

[0092] Equation 9 can be rearranged and expressed as Equation 10:

[0093] OUT(Z)=H1(Z)IN(Z)+k1((1-Z -1 )H2(Z)H1(Z)IN(Z)+k2(1-Z -1 ) 2 H3(Z)H2(Z)

[0094] H1(Z)IN(Z))(Equation 10)

[0095] Equation 9 can be rearranged and expressed as Equation 11:

[0096] OUT(Z)=[1+k1(1-Z -1 )H2(Z)+k1k2(1-Z -1 ) 2 H3(Z)H2(Z)]H1(Z)IN(Z)

[0097] (Equation 11)

[0098] The error between the filter output and the actual position (N clocks ahead of the filter input) is:

[0099] E(Z)=OUT(Z)-IN(Z)ZN (Equation 12)

[0100] The coefficient k1 and the coefficient k2 can be inserted into equation 12 and expressed as equation 13:

[0101] E(Z)=[H1(Z)+k1(1-Z -1 )H2(Z)H1(Z)+k1k2(1-Z -1 ) 2 H3(Z)H2(Z)H1(Z)-Z N ]

[0102] IN(Z) (Equation 13)

[0103] Equation 13 calculates the error dynamics for any rotor motion. Next, determine the coefficients k1 and k2 as the error converges to zero, assuming the rotor is constantly accelerating. The error will stabilize at zero when:

[0104] Lim Z->1 (1-Z -1 )E(Z)=0(Equation 14)

[0105] Therefore, three conditions are needed to solve the k1 coefficient and k2 coefficient:

[0106] Condition 1: Acceleration = 0, Velocity = 0, and Position ≠ 0

[0107] Lim Z->1 (1-Z -1 )E(Z)=0, which means H1(1)=1, which means the first filter must have a DC gain of 1.

[0108] Condition 2: acceleration = 0, velocity ≠ 0, position ≠ 0

[0109] Lim Z->1 (1-Z -1 )E(Z)=0, which means k1=(Nd{H1(1)}) / H2(1)

[0110] Condition 3: acceleration ≠ 0, velocity ≠ 0, position ≠ 0

[0111] Lim Z->1 (1-Z -1 )E(Z)=0, which means

[0112] k2=[N 2 +Nd 2 {H1(1)}-2d{H1(1)}-2k1 d{H2(1)H1(1)}] / [2H3(1)(N-

[0113] d{H1(1)})], where: d{H1(1)} is the derivative of H1(Z) when Z = 1;

[0114] The coefficients (k1 and k2) can be solved using the above equations. The signal fed back to the input for interpolation or upsampling uses different compensation coefficients (k1 i and k2 i ), the compensation coefficients can be the coefficients (k1 and k2) from the previous digital input. For interpolation, there is no propagation delay N because the signal does not include the signal processing delay from the angle sensor interface and the digital conversion delay.

[0115] In the Z domain, filters are represented as multiplication factors involving a variable Z. For example, digital register 505 is updated every T seconds. If the output of 505 is the input delayed by T seconds, then this digital delay is labeled Z in the Z domain. -1 In this example, OUTregister(Z)=Z -1 INregister(Z).

[0116] To calculate the difference between the input at time t and the previous input at time tT, the equation is: OUT(Z) = IN(Z) - Z -1 IN(Z) or OUT(Z) = (1-Z -1 )IN(Z). It can be called the factor of the transfer function (1-Z -1 ) is a filter that performs a time difference. More complex transfer functions or filters can be designed and are generally represented as H n (Z).

[0117] In the time domain, t is a variable representing time in seconds. In the time domain, the input 500 is IN(t). In the time domain, the equation changes very quickly and becomes very complex and impossible to decipher.

[0118] In some applications, the coefficients (k1 and k2) can be determined using top-level simulations. In some applications, the coefficients (k1 and k2) can be determined by building a test model and performing bench measurements to solve for the coefficients.

[0119] Now go to Figure 6 , graph 600 shows an example of comparing an input 610 entering a propagation delay compensation and interpolation filter with a resulting output 620. Graph 600 has time units in milliseconds ( Figure 6 An x-axis 605 of position in millivolts (not shown) and a y-axis 606 of position in millivolts. Output 620 may be represented as a line, which is an angle 630. Delay compensation for communication delays between the sensor and the host system may also be calculated.

[0120] In this example, the preprocessed signal input 610 is delayed by 6.75 μs due to the analog and digital front ends. The front end sampling period is 2 μs. The output 620 is delay compensated and the output is upsampled by a factor of 4. With the correct coefficients, each data point of the output 620 is precisely aligned with the rotor position of the rotating object. For example, the data point 615 of the input 610 has a propagation delay 627 and is corrected to the data point 625 of the output 620. In this example, the input data point 615 is 9.6355 ms, 779.53 mV; the corrected data point 625 is 9.62875 ms, 779.53 mV; and the propagation delay 627 is 6.75 μs. The speed is 311.001 mV / s.

[0121] at last, Figure 7 A composite graph 700 showing data from an exemplary simulation overlaid on the same time scale is shown. In graph 701, sensor output 710 (which is the output of the propagation delay compensation and interpolation filter) accurately overlays angle 715 (which is the actual rotor position). In graph 702, sensor velocity 720 (which is the calculated velocity from the propagation delay compensation and interpolation filter) overlays velocity 725 (which is the actual velocity of the rotor). In graph 702, the acceleration can be constant, which produces an accurate velocity and an accurate position. In graph 703, the increase and decrease of sensor acceleration 730 (which is the calculated acceleration from the propagation delay compensation and interpolation filter) is slightly delayed according to acceleration 735 (which is the actual acceleration of the rotor). In graph 704, error post 740 (which is the sensor error after filter post-processing) shows the error post-processing, which is mainly related to the slight delay of the calculated acceleration compared to the actual acceleration. The calculated post-processing error is <+ / -35uV / 1V = <+ / -12.6mdeg / 360deg. In graph 705, error before 750 (which is the sensor error before delay compensation) shows significant errors in the angle measurement that can be eliminated by using propagation delay compensation and interpolation filters. The calculated sensor error before delay compensation is + / -750uV / 1V = + / -270mdeg / 360deg.

[0122] In some embodiments, a propagation delay compensation circuit may include: a first low-pass filter configured to receive a digital input and reduce noise of the digital input including a measured angular position; a first differentiator configured to receive a filtered digital input including a measured angular position and calculate a velocity based on a time difference between the measured angular position and a previous angular position; a second low-pass filter configured to reduce noise from the velocity; a second differentiator configured to receive a filtered velocity and calculate an acceleration using the time difference between the filtered velocity and a previous velocity; a third low-pass filter configured to reduce noise of the acceleration; and a delay compensator configured to receive the filtered digital input, the filtered velocity, and the filtered acceleration, and calculate a digital output compensated for propagation delay.

[0123] The propagation delay compensation circuit may include an extrapolation generator configured to receive the filtered acceleration and calculate an extrapolated angular position.

[0124] The propagation delay compensation circuit may include a pre-processing block configured to: receive a digital input including a measured angular position; determine that the measured angular position is within an acceptable range, and then send the digital input including the measured angular position to a first low band-pass filter; and determine that the measured angular position is not within the acceptable range, and then send the digital input including the extrapolated angular position to the first low band-pass filter.

[0125] The pre-processing block may be configured to determine that no digital input has been received and then send the digital output comprising the extrapolated angular position to the first low bandpass filter.

[0126] The propagation delay compensation circuit may include a pre-processing block configured to: receive a digital input including a measured angular position; determine that the digital input including the measured angular position is received, and then send the digital input including the measured angular position to a first low band-pass filter; and determine that the digital input including the measured angular position is not received, and then send the digital input including the extrapolated angular position to the first low band-pass filter.

[0127] The propagation delay compensation circuit may include a pre-processing block configured to: receive a digital input including a measured angular position; compare the measured angular position to an extrapolated angular position for best fit; and send the digital input including the best fit angular position to a first low bandpass filter.

[0128] In some applications, the propagation delay compensated digital output is a propagation delay compensated measured angular position. In some applications, the propagation delay compensated digital output is a propagation delay compensated extrapolated angular position. In some applications, the propagation delay compensated digital output is a filtered measured angular position.

[0129] In some embodiments, the system may include: a sensor configured to measure the angular position of a rotating object; an analog-to-digital converter configured to receive the angular position and convert the angular position into a digital input including the measured angular position; and a propagation delay compensation circuit including: a first low-pass filter configured to receive the digital input including the measured angular position and reduce the noise of the measured angular position; a first differentiator configured to receive the filtered measured angular position and calculate the speed based on the time difference between the filtered measured angular position and the previous angular position; a second low-pass filter configured to reduce noise from the speed; a second differentiator configured to receive the filtered speed and calculate the acceleration using the time difference between the filtered speed and the previous speed; a third low-pass filter configured to reduce the noise of the acceleration; and a delay compensator configured to receive the filtered digital input, the filtered speed, and the filtered acceleration, and calculate a digital output compensated for the propagation delay.

[0130] The system may include an analog signal processor configured to: receive an angular position from a sensor; process an electrical signal including the angular position; and send the processed angular position to an analog-to-digital converter. Processing the electrical signal may include any one or any combination of filtering the electrical signal, reducing noise of the electrical signal, amplifying the electrical signal, and multiplexing the electrical signal.

[0131] The system may include a digital signal processor configured to: receive a digital input including a measured angular position; process the digital signal including the measured angular position; and send the processed digital input including the measured angular position to a propagation delay compensation circuit.

[0132] The sensor may be a transducer, an optical detector, a magnetic detector, an inductive detector, a capacitive detector or a Hall effect detector.The propagation delay compensated digital output may be a propagation delay compensated measured angular position.

[0133] In some embodiments, a method for calculating propagation delay compensation may include: receiving a digital input including a measured angular position of a rotating object; reducing the noise of the digital input including the measured angular position; calculating a velocity based on a time difference between a filtered measured angular position and a previous angular position; reducing noise from the velocity; calculating an acceleration using the time difference between the filtered velocity and a previous velocity; reducing noise in the acceleration; receiving the filtered measured angular position, the filtered velocity, and the filtered acceleration in a delay compensator; and calculating a digital output compensated for propagation delay in the delay compensator.

[0134] The method may include comparing the measured angular position to a previous angular position of the rotating object; determining based on the comparison that the measured angular position is not valid; and replacing the measured angular position with an extrapolated angular position based on the previous angular position.

[0135] The method may include: collecting the angular position with a sensor; sending an analog signal including the measured angular position to an analog-to-digital converter; and converting the analog signal to a digital output including the measured angular position.

[0136] The method may include sending the propagation delay compensated digital output to a controller. In some applications of the method, the propagation delay compensated digital output is a propagation delay compensated measured angular position.

[0137] In the foregoing description, the present invention has been described in conjunction with specific exemplary embodiments. The specific embodiments shown and described are used to demonstrate the present invention and its best mode, and are not intended to limit the scope of the present invention in any way. In fact, for the sake of brevity, the conventional manufacturing, connection, preparation and other functional aspects of the method and system may not be described in detail. In addition, the connecting lines shown in multiple figures are intended to represent exemplary functional relationships and / or steps between various elements. In actual systems, there may be multiple alternative or additional functional relationships or physical connections.

[0138] It should be understood that the steps in the method can be performed in different orders without changing the principles of the present disclosure. For example, various embodiments may be described herein based on various functional components and processing steps. It should be understood that such components and steps may be implemented by any number of hardware components configured to perform a specified function.

[0139] Additionally, the components and / or elements listed in any device embodiment may be assembled or otherwise operationally configured in a variety of arrangements to produce substantially the same results as the present technology, and are therefore not limited to the specific configurations set forth in the specific examples.

[0140] As used herein, the phrase “at least one of A, B, and C” may be construed to mean a logical (A or B or C), however, using a non-exclusive logical “or” may be construed as meaning (A, B, and C) and, further, may be construed as meaning (A and B) or (A and C) or (B and C). As used herein, the phrase “A, B, and / or C” should be construed to mean (A, B, and C) or, alternatively, (A or B or C), using a non-exclusive logical “or.”

[0141] The present invention has been described above in conjunction with various exemplary embodiments and examples, which are not intended to limit the full scope of the systems and methods of the present invention. However, those skilled in the art will recognize that equivalent changes, modifications and variations of the embodiments, materials, systems and methods may be made within the scope of the present invention with substantially similar results, and are intended to be included within the scope of the present invention, as set forth in the following claims.

[0142] According to a first aspect, a propagation delay compensation circuit includes: a first low-pass filter, which is configured to receive a digital input and reduce the noise of the digital input including a measured angular position; a first differentiator, which is configured to receive a filtered digital input including a measured angular position and calculate a speed based on a time difference between the measured angular position and a previous angular position; a second low-pass filter, which is configured to reduce noise from the speed; a second differentiator, which is configured to receive a filtered speed and calculate an acceleration using the time difference between the filtered speed and the previous speed; a third low-pass filter, which is configured to reduce the noise of the acceleration; and a delay compensator, which is configured to receive the filtered digital input, the filtered speed, and the filtered acceleration, and calculate a digital output that has been compensated for a propagation delay.

[0143] In one embodiment, the propagation delay compensation circuit further includes an extrapolation generator configured to receive the filtered acceleration and calculate an extrapolated angular position.

[0144] In one embodiment, the propagation delay compensation circuit also includes a pre-processing block configured to: receive a digital input including a measured angular position; determine that the measured angular position is within an acceptable range, and then send the digital input including the measured angular position to a first low band-pass filter; and determine that the measured angular position is not within the acceptable range, and then send the digital input including the extrapolated angular position to the first low band-pass filter.

[0145] In one embodiment, the pre-processing block is configured to determine that no digital input has been received and then send the digital output including the extrapolated angular position to the first low bandpass filter.

[0146] In one embodiment, the propagation delay compensation circuit also includes a pre-processing block configured to: receive a digital input including a measured angular position; determine that the digital input including the measured angular position is received, and then send the digital input including the measured angular position to a first low band-pass filter; and determine that the digital input including the measured angular position is not received, and then send the digital input including the extrapolated angular position to the first low band-pass filter.

[0147] In one embodiment, the propagation delay compensation circuit also includes a pre-processing block configured to: receive a digital input including a measured angular position; compare the measured angular position to the extrapolated angular position for best fit; and send the digital input including the best fit angular position to a first low bandpass filter.

[0148] In one embodiment, the propagation delay compensated digital output is a propagation delay compensated measured angular position.

[0149] In one embodiment, the propagation delay compensated digital output is a propagation delay compensated extrapolated angular position.

[0150] In one embodiment, the propagation delay compensated digital output is a filtered measured angular position.

[0151] According to a second aspect, a system includes: a sensor configured to measure the angular position of a rotating object; an analog-to-digital converter configured to receive the angular position and convert the angular position into a digital input including the measured angular position; and a propagation delay compensation circuit, the propagation delay compensation circuit including: a first low-pass filter configured to receive the digital input including the measured angular position and reduce the noise of the measured angular position; a first differentiator configured to receive the filtered measured angular position and calculate the speed based on the time difference between the filtered measured angular position and the previous angular position; a second low-pass filter configured to reduce noise from the speed; a second differentiator configured to receive the filtered speed and calculate the acceleration using the time difference between the filtered speed and the previous speed; a third low-pass filter configured to reduce the noise of the acceleration; and a delay compensator configured to receive the filtered digital input, the filtered speed, and the filtered acceleration, and calculate a digital output compensated for the propagation delay.

[0152] In one embodiment, the system further includes an analog signal processor configured to: receive the angular position from the sensor; process the electrical signal including the angular position; and send the processed angular position to the analog-to-digital converter.

[0153] In one embodiment, processing the electrical signal is at least one of filtering the electrical signal, reducing noise of the electrical signal, amplifying the electrical signal, and multiplexing the electrical signal.

[0154] In one embodiment, the system also includes a digital signal processor configured to: receive a digital input including a measured angular position; process the digital signal including the measured angular position; and send the processed digital input including the measured angular position to the propagation delay compensation circuit.

[0155] In one embodiment, the sensor comprises a transducer, an optical detector, a magnetic detector, an inductive detector, a capacitive detector, or a Hall effect detector.

[0156] In one embodiment, the propagation delay compensated digital output is a propagation delay compensated measured angular position.

[0157] According to a third aspect, a method for calculating propagation delay compensation includes: receiving a digital input including a measured angular position of a rotating object; reducing the noise of the digital input including the measured angular position; calculating a velocity based on a time difference between a filtered measured angular position and a previous angular position; reducing noise from the velocity; calculating an acceleration using the time difference between the filtered velocity and the previous velocity; reducing noise in the acceleration; receiving the filtered measured angular position, the filtered velocity, and the filtered acceleration in a delay compensator; and calculating a digital output compensated for propagation delay in the delay compensator.

[0158] In one embodiment, the method further includes: comparing the measured angular position to a previous angular position of the rotating object; determining based on the comparison that the measured angular position is not valid; and replacing the measured angular position with the extrapolated angular position based on the previous angular position.

[0159] In one embodiment, the method further comprises: collecting the angular position with a sensor; sending an analog signal comprising the measured angular position to an analog-to-digital converter; and converting the analog signal to a digital output comprising the measured angular position.

[0160] In one embodiment, the method further includes sending the propagation delay compensated digital output to a controller.

[0161] In one embodiment, the propagation delay compensated digital output is a propagation delay compensated measured angular position.

[0162] According to a fourth aspect, a propagation delay compensation circuit comprises: a first circuit configured to receive a digital input including a measured angular position, and to filter the noise of the digital input, and then to calculate a velocity based on a time difference between a previous angular position and the filtered digital input including the measured angular position; a second circuit configured to receive a velocity, and to filter the noise from the velocity, and then to calculate an acceleration based on a time difference between the previous velocity and the filtered velocity; and a third circuit configured to receive an acceleration, a filtered digital input, and a filtered velocity, and to filter the noise of the acceleration, and then to calculate a digital output compensated for a propagation delay using the filtered acceleration, the filtered digital input, and the filtered velocity.

[0163] In one embodiment, the propagation delay compensation circuit further includes an extrapolation generator configured to receive the filtered acceleration and calculate an extrapolated angular position.

[0164] In one embodiment, the propagation delay compensation circuit also includes a pre-processing block configured to: receive a digital input including a measured angular position; determine that the measured angular position is within an acceptable range, and then send the digital input including the measured angular position to the first circuit; and determine that the measured angular position is not within the acceptable range, and then send the digital input including the extrapolated angular position to the first circuit.

[0165] In one embodiment, the pre-processing block is configured to determine that no digital input was received and then send the digital input including the extrapolated angular position to the first circuit.

[0166] In one embodiment, the propagation delay compensation circuit also includes a pre-processing block configured to: receive a digital input including a measured angular position; determine that the digital input including the measured angular position is received, and then send the digital input including the measured angular position to the first circuit; and determine that the digital input including the measured angular position is not received, and then send the digital input including the extrapolated angular position to the first circuit.

[0167] In one embodiment, the propagation delay compensation circuit further includes a pre-processing block configured to: receive a digital input including a measured angular position; compare the measured angular position to an extrapolated angular position for best fit; and send the digital input including the best fit angular position to the first circuit.

[0168] In one embodiment, the propagation delay compensated digital output is a propagation delay compensated measured angular position.

[0169] In one embodiment, the extrapolated angular position is a propagation delay compensated extrapolated angular position.

[0170] In one embodiment, the propagation delay compensated digital output is a delay compensated angular position.

[0171] According to a fifth aspect, a system includes: a sensor configured to measure the angular position of a rotating object; an analog-to-digital converter configured to receive the angular position and convert the angular position into a digital input including the measured angular position; and a propagation delay compensation circuit, the propagation delay compensation circuit including: a first circuit configured to receive a digital input including the measured angular position, and filter the noise of the digital input, and then calculate the speed based on the time difference between the previous angular position and the filtered digital input including the measured angular position; a second circuit configured to receive the speed, and filter the noise from the speed, and then calculate the acceleration based on the time difference between the previous speed and the filtered speed; and a third circuit configured to receive the acceleration, the filtered digital input and the filtered speed, and filter the noise of the acceleration, and then use the filtered acceleration, the filtered digital input and the filtered speed to calculate the digital output compensated for the propagation delay.

[0172] In one embodiment, the system further includes an analog signal processor configured to: receive the angular position from the sensor; process the electrical signal including the angular position; and send the processed angular position to the analog-to-digital converter.

[0173] In one embodiment, processing the electrical signal is at least one of filtering the electrical signal, reducing noise of the electrical signal, amplifying the electrical signal, and multiplexing the electrical signal.

[0174] In one embodiment, the system also includes a digital signal processor configured to: receive a digital input including a measured angular position; process the digital signal including the measured angular position; and send the processed digital input including the measured angular position to the propagation delay compensation circuit.

[0175] In one embodiment, the sensor comprises a transducer, an optical detector, a magnetic detector, an inductive detector, a capacitive detector, or a Hall effect detector.

[0176] In one embodiment, the propagation delay compensated digital output is a propagation delay compensated angular position.

[0177] The present invention discloses a method for calculating propagation delay compensation, which includes: receiving a digital input including a measured angular position of a rotating object; comparing the measured angular position with a previously calculated angular position of the rotating object; determining based on the comparison that the measured angular position is not valid; and replacing the measured angular position with an extrapolated angular position based on the previously calculated angular position; calculating a speed based on a time difference between the extrapolated angular position and the previous angular position; calculating an acceleration using a time difference between the speed and the previous speed; receiving the extrapolated angular position, the speed and the acceleration in a delay compensator; and calculating a digital output compensated for propagation delay in the delay compensator.

[0178] In one embodiment, the method further comprises: replacing missing measured angular positions with extrapolated angular positions, wherein no digital input comprising the measured angular positions is received.

[0179] In one embodiment, the method further includes: measuring the angular position with a sensor; sending an analog signal including the measured angular position to an analog-to-digital converter; and converting the analog signal to a digital output including the measured angular position.

[0180] In one embodiment, the method further includes sending the propagation delay compensated digital output to a controller.

[0181] In one embodiment, the propagation delay compensated digital output is a propagation delay compensated angular position.

Claims

1. A method for operating a sensor interface, the method include: receiving an analog position signal from a sensor in operative relationship with the rotating object, the analog position signal corresponding to a measured angular position of the rotating object; converting the analog position signal to a digital position signal, and the receiving and converting having a combined propagation delay; Generating a first angular position value at least partially corrected for propagation delay and a rotational speed of the rotating object, the generating comprising: calculating a rotational speed of the rotating object based on a time difference between the digital position signal and a previous position signal; filtering out noise from the rotational speed to produce a filtered speed; calculating the acceleration of the rotating object based on a time difference between the rotational speed and a previous rotational speed; filtering noise in the acceleration to produce a filtered acceleration; and A first angular position value is calculated using the digital position signal, the filtered velocity, and the filtered acceleration.

2. The method of claim 1, further comprising, before calculating the rotational speed: Determine that the digital position signal is invalid; then extrapolating the angular position from a series of previous position signals to produce an extrapolated value; and The digital position signal is replaced by the extrapolated value. 3 . The method of claim 2 , wherein determining that the digital position signal represents an invalid angular position further comprises making a determination based on the digital position signal falling outside an expected range of angular positions.

4. The method according to claim 1, further comprising: include: determining that an expected digital position signal is not received; extrapolating the angular position from the first angular position value, the filtered velocity, and the filtered acceleration, the extrapolating resulting in an extrapolated position signal; and A second angular position value is calculated using the extrapolated position signal.

5. The method of claim 1 further comprising filtering noise in the digital position signal based on a series of previous position signals before calculating the rotational speed. The method of claim 5 , wherein filtering out noise in the digital position signal comprises performing low pass filtering.

7. The method of claim 1, wherein calculating the rotational speed comprises performing a derivative operation based on the digital position signal and a previous position signal.

8. The method of claim 1, wherein filtering out noise in the rotational speed comprises performing a low pass filter.

9. The method of claim 1, wherein calculating the acceleration comprises performing a derivative operation based on the rotational speed and a previous rotational speed.

10. The method of claim 1, wherein filtering noise in the acceleration comprises performing low pass filtering.