Scheme capable of dynamically adjusting sensor frame rate according to polling rate of microcontroller to avoid invalid displacement data report and to save more power
Abstract
A method of a navigation sensor circuit includes: monitoring at least one polling request signal sent from a microcontroller during a variable time interval, wherein the microcontroller is externally coupled to the navigation sensor circuit; calculating at least one polling rate of the microcontroller according to the at least one polling request signal; and dynamically adjusting a sensor frame rate of the navigation sensor circuit according the at least one polling rate, wherein an image sensor of the navigation sensor circuit operates and captures images to generate and output displacement data based on the sensor frame rate.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A method of a navigation sensor circuit, comprising:
monitoring at least one polling request signal sent from a microcontroller during a variable time interval, wherein the microcontroller is externally coupled to the navigation sensor circuit;
calculating at least one polling rate of the microcontroller according to the at least one polling request signal; and
dynamically adjusting a sensor frame rate of the navigation sensor circuit according the at least one polling rate, wherein an image sensor of the navigation sensor circuit operates and captures images to generate and output displacement data based on the sensor frame rate;
wherein a time length of the variable time interval is proportional to a programmable threshold, and a specific counter is used to count a number of signal receptions of the at least one polling request signal and is reset when a counting number of the specific counter is higher than the programmable threshold.
2. The method of claim 1 , further comprising:
instantly adjusting the sensor frame rate from a currently used frame rate to a higher frame rate to make the sensor frame rate be higher than the at least one polling rate when the at least one polling rate becomes higher than the currently used frame rate.
3. The method of claim 1 , wherein a time length of the variable time interval becomes shorter when the at least one polling rate becomes higher.
4. The method of claim 1 , further comprising:
adjusting the sensor frame rate from a currently used frame rate to a lower frame rate which is lower than the currently used frame rate and higher than the at least one polling rate when the counting number of the specific counter is higher than the programmable threshold; and
not adjusting the sensor frame rate when the counting number is not higher than the programmable threshold.
5. The method of claim 1 , further comprising:
maintaining the sensor frame rate when both events of the sensor frame rate being higher than the at least one polling rate and a difference between the sensor frame rate and the at least one polling rate being smaller than a specific threshold.
6. The method of claim 1 , further comprising:
adjusting the sensor frame rate by configuring the sensor frame rate as a maximum polling rate among the at least one polling rate when the counting number of the specific counter becomes higher than the programmable threshold.
7. The method of claim 1 , further comprising:
determining whether to decrease or maintain the sensor frame rate only when the variable time interval ends.
8. A navigation sensor circuit to be externally coupled to a microcontroller, comprising:
an image sensor, for operating and capturing images to generate and output displacement data based on a sensor frame rate;
a specific counter; and
a control circuit, coupled to the image sensor and the specific counter, for:
monitoring at least one polling request signal sent from the microcontroller during a variable time interval;
calculating at least one polling rate of the microcontroller according to the at least one polling request signal; and
dynamically adjusting the sensor frame rate according the at least one polling rate;
wherein a time length of the variable time interval is proportional to a programmable threshold, and the specific counter is started by the control circuit to count a number of signal receptions of the at least one polling request signal and is reset by the control circuit when a counting number of the specific counter is higher than the programmable threshold.
9. The navigation sensor circuit of claim 8 , wherein the control circuit is arranged for:
instantly adjusting the sensor frame rate from a currently used frame rate to a higher frame rate to make the sensor frame rate be higher than the at least one polling rate when the at least one polling rate becomes higher than the currently used frame rate.
10. The navigation sensor circuit of claim 8 , wherein a time length of the variable time interval becomes shorter when the at least one polling rate becomes higher.
11. The navigation sensor circuit of claim 8 , wherein the control circuit is arranged for:
adjusting the sensor frame rate from a currently used frame rate to a lower frame rate which is lower than the currently used frame rate and higher than the at least one polling rate when the counting number of the specific counter is higher than the programmable threshold; and
not adjusting the sensor frame rate when the counting number is not higher than the programmable threshold.
12. The navigation sensor circuit of claim 8 , wherein the control circuit is arranged for:
maintaining the sensor frame rate when both events of the sensor frame rate being higher than the at least one polling rate and a difference between the sensor frame rate and the at least one polling rate being smaller than a specific threshold.
13. The navigation sensor circuit of claim 8 , wherein the control circuit is arranged for:
adjusting the sensor frame rate by configuring the sensor frame rate as a maximum polling rate among the at least one polling rate when the counting number of the specific counter becomes higher than the programmable threshold.
14. The navigation sensor circuit of claim 8 , wherein the control circuit is arranged for:
determining whether to decrease or maintain the sensor frame rate only when the variable time interval ends.Join the waitlist — get patent alerts
Track US11907440B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.