Variable acquisition buffer length
First Claim
1. A device for determining an acquisition buffer size for use in processing signals, the device comprising:
- a processor;
a memory in communication with the processor, the memory storing instructions for execution by the processor; and
an analog-to-digital converter in communication with the processor, the analog-to-digital converter configured to continuously sample a voltage signal, convert each sampled signal into a digital signal, and provide each sampled digital signal to the processor,wherein the processor is configured to, in accordance with the instructions;
determine a number of samples obtained for a predetermined number of line cycles based on the provided sampled digital signals;
determine an integer number of line cycles needed for a predetermined target number of samples based on the determined number of samples;
determine an acquisition buffer length based on the determined integer number of line cycles, wherein the determined acquisition buffer length is a length of time that can accommodate the determined integer number of line cycles while minimizing partial line cycles;
determine whether the determined acquisition buffer length is within a threshold range;
when the determined acquisition buffer length is within the threshold range, store the determined acquisition buffer length in the memory;
when the determined acquisition buffer length is not within the threshold range, continue to store a previously determined acquisition buffer length in the memory instead of storing the determined acquisition buffer length; and
repeat the determining the number of samples, the determining the integer number of line cycles, the determining the acquisition buffer length, the determining whether the determined acquisition buffer length is within the threshold range, and the storing of the determined acquisition buffer length to continually adjust the acquisition buffer length to accommodate the determined integer number of line cycles while minimizing partial line cycles.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method for determining an acquisition buffer size for use in processing signals, the method including determining a number of samples obtained for a predetermined number of line cycles based on digital signals received from an analog-to-digital converter (106), determining an integer number of line cycles needed for a predetermined target number of samples, and determining an acquisition buffer length based on the integer number of line cycles, as a length of time that can accommodate the determined integer number of line cycles while minimizing or avoiding partial line cycles. The method can further include determining whether the determined acquisition buffer length is within a threshold range, and when not within the threshold, continuing to store a previously determined acquisition buffer length instead of the determined acquisition buffer length. The method may be repeated to continually adjust the acquisition buffer length to minimize or avoid partial line cycles.
-
Citations
17 Claims
-
1. A device for determining an acquisition buffer size for use in processing signals, the device comprising:
-
a processor; a memory in communication with the processor, the memory storing instructions for execution by the processor; and an analog-to-digital converter in communication with the processor, the analog-to-digital converter configured to continuously sample a voltage signal, convert each sampled signal into a digital signal, and provide each sampled digital signal to the processor, wherein the processor is configured to, in accordance with the instructions; determine a number of samples obtained for a predetermined number of line cycles based on the provided sampled digital signals; determine an integer number of line cycles needed for a predetermined target number of samples based on the determined number of samples; determine an acquisition buffer length based on the determined integer number of line cycles, wherein the determined acquisition buffer length is a length of time that can accommodate the determined integer number of line cycles while minimizing partial line cycles; determine whether the determined acquisition buffer length is within a threshold range; when the determined acquisition buffer length is within the threshold range, store the determined acquisition buffer length in the memory; when the determined acquisition buffer length is not within the threshold range, continue to store a previously determined acquisition buffer length in the memory instead of storing the determined acquisition buffer length; and repeat the determining the number of samples, the determining the integer number of line cycles, the determining the acquisition buffer length, the determining whether the determined acquisition buffer length is within the threshold range, and the storing of the determined acquisition buffer length to continually adjust the acquisition buffer length to accommodate the determined integer number of line cycles while minimizing partial line cycles. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of determining an acquisition buffer size for use in processing signals, comprising:
-
continuously sampling, by an analog-to-digital converter, a voltage signal; converting, by the analog-to-digital converter, each sampled voltage signal into a digital signal; providing, by the analog-to-digital converter, each sampled digital signal to a processor; determining, by the processor, a number of samples obtained for a predetermined number of line cycles based on the provided sampled digital signals; determining, by the processor, an integer number of line cycles needed for a predetermined target number of samples based on the determined number of samples; determining, by the processor, an acquisition buffer length based on the determined integer number of line cycles, wherein the determined acquisition buffer length is a length of time that can accommodate the determined integer number of line cycles while minimizing partial line cycles; determining, by the processor, whether the determined acquisition buffer length is within a threshold range; when the determined acquisition buffer length is within the threshold range, storing the determined acquisition buffer length in a memory; when the determined acquisition buffer length is not within the threshold range, continuing to store a previously determined acquisition buffer length in the memory instead of storing the determined acquisition buffer length; and repeating the determining the number of samples, the determining the integer number of line cycles, the determining the acquisition buffer length, the determining whether the determined acquisition buffer length is within the threshold range, and the storing of the determined acquisition buffer length to continually adjust the acquisition buffer length to accommodate the determined integer number of line cycles while minimizing partial line cycles. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. At least one non-transitory computer-readable medium having computer program logic stored thereon, the computer program logic including instructions that, when executed by a processor, cause the processor to:
-
determine a number of samples obtained for a predetermined number of line cycles based on digital signals received from an analog-to-digital converter, the digital signals converted from analog voltage signals sampled by the analog-to-digital converter; determine an integer number of line cycles needed for a predetermined target number of samples based on the determined number of samples; determine an acquisition buffer length based on the integer number of line cycles, wherein the determined acquisition buffer length is a length of time that can accommodate the determined integer number of line cycles while minimizing partial line cycles; determine whether the determined acquisition buffer length is within a threshold range; when the determined acquisition buffer length is within the threshold range, store the determined acquisition buffer length in a memory; when the determined acquisition buffer length is not within the threshold range, continue to store a previously determined acquisition buffer length in the memory instead of storing the determined acquisition buffer length; and repeat the determining the number of samples, the determining the integer number of line cycles, the determining the acquisition buffer length, the determining whether the determined acquisition buffer length is within the threshold range, and the storing of the determined acquisition buffer length to continually adjust the acquisition buffer length to accommodate the determined integer number of line cycles while minimizing partial line cycles. - View Dependent Claims (15, 16, 17)
-
Specification