Metering unit with enhanced DMA transfer
First Claim
1. A metering unit for monitoring power in a distributed power network, wherein a power-related, multi-phase waveform passes through a power line and zero-crossings of the waveform define its cycles, said metering unit comprising:
- signal conditioning circuitry disposed adjacent to the power line, for sensing desired phases of analog voltage and current associated with said waveform;
a processor generating a timer output and including DMA controller circuitry;
track and hold circuitry responsive to said timer output for simultaneously capturing intra-cycle voltage values and intra-cycle current values corresponding to each of said desired phases of said distributed power network;
an analog to digital converter coupled to said track and hold circuitry and responsive to said timer output for producing a plurality of distal samples from said intra-cycle voltage values and said intra-cycle current values, said analog to digital converter including a FIFO buffer storing said digital samples, said analog to digital converter providing a transfer signal to said processor upon the filling of said FIFO buffer for initiating a DMA transfer of said digital samples to a memory, said DMA controller circuitry generating a single source address to said FIFO buffer to transfer a portion of each digital sample from said FIFO buffer to said memory;
DMA enhancement circuitry altering said source address received by said FIFO buffer to transfer a remaining portion of each digital sample from said FIFO buffer to said memory during said DMA transfer while said source address generated by said DMA controller circuitry remains the same; and
means for performing at least one power-related calculation for said distributed power network by directly using said digital samples in said memory.
0 Assignments
0 Petitions
Accused Products
Abstract
An improved metering unit is described which samples a power-related waveform and simultaneously captures its analog signal parameters for temperature and all phases of voltage and current, providing a more accurate and clearer waveform sample that effectively detects harmonics problems and does not require signal interpolation methods. The improved metering unit comprises signal conditioning circuitry interfacing with the power line for sensing temperature and all desired phases of voltage and current parameters of the waveform. The metering unit further comprises a processor having a timer output. The timer output controls track and hold circuitry and an A/D converter. The timer output places the track and hold circuitry in the hold mode to simultaneously capture temperature and all the desired phases of voltage and current of the waveform, and, at the same time, the timer output triggers the A/D converter to convert the captured analog signal parameters into digital sample values.
-
Citations
16 Claims
-
1. A metering unit for monitoring power in a distributed power network, wherein a power-related, multi-phase waveform passes through a power line and zero-crossings of the waveform define its cycles, said metering unit comprising:
-
signal conditioning circuitry disposed adjacent to the power line, for sensing desired phases of analog voltage and current associated with said waveform; a processor generating a timer output and including DMA controller circuitry; track and hold circuitry responsive to said timer output for simultaneously capturing intra-cycle voltage values and intra-cycle current values corresponding to each of said desired phases of said distributed power network; an analog to digital converter coupled to said track and hold circuitry and responsive to said timer output for producing a plurality of distal samples from said intra-cycle voltage values and said intra-cycle current values, said analog to digital converter including a FIFO buffer storing said digital samples, said analog to digital converter providing a transfer signal to said processor upon the filling of said FIFO buffer for initiating a DMA transfer of said digital samples to a memory, said DMA controller circuitry generating a single source address to said FIFO buffer to transfer a portion of each digital sample from said FIFO buffer to said memory; DMA enhancement circuitry altering said source address received by said FIFO buffer to transfer a remaining portion of each digital sample from said FIFO buffer to said memory during said DMA transfer while said source address generated by said DMA controller circuitry remains the same; and means for performing at least one power-related calculation for said distributed power network by directly using said digital samples in said memory. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for monitoring power in a distributed power network, wherein a power-related, multi-phase waveform passes through a power line and zero-crossings of the waveform define its cycles, said method comprising the steps of:
-
sensing desired phases of analog voltages and currents associated with said waveform; generating a timer output; simultaneously capturing intra-cycle voltage values and intra-cycle current values corresponding to each of said desired phases of said distributed power network; converting said intra-cycle voltage values and said intra-cycle current values into digital samples in response to said timer output; storing said digital samples in a FIFO buffer; providing a transfer signal to a processor upon the filling of the FIFO buffer for initiating a DMA transfer of said digital samples to a memory; generating a single source address to said FIFO buffer by said processor to transfer a portion of each digital sample from said FIFO buffer to said memory; altering said source address received by said FIFO buffer by DMA enhancement circuitry to transfer a remaining portion of each digital sample from said FIFO buffer to said memory during said DMA transfer while said address generated by said processor remains the same; and performing at least one power-related calculation for said distributed power network by directly using said digital samples in said memory. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A metering unit for monitoring power in a distributed power network, wherein a power-related, multi-phase waveform passes through a power line and zero-crossings of the waveform define its cycles, said metering unit comprising:
-
an analog to digital converter producing digital samples from intra-cycle voltage values and intra-cycle current values and having a buffer, said buffer storing said digital samples; a memory coupled to said analog to digital converter for storing said digital; a processor including DMA controller circuitry responsive to a transfer signal from said analog to digital converter upon the filling of said buffer for initiating a DMA transfer of said digital samples from said buffer to said memory, said DMA controller circuitry generating a source address to said buffer to transfer a portion of each digital sample from said buffer to said memory; and DMA enhancement circuitry altering said source address received by said buffer to transfer a remaining portion of each digital sample from said buffer to said memory during said DMA transfer while said source address generated by said DMA controller circuitry remains the same. - View Dependent Claims (15)
-
-
16. A method for monitoring power in a distributed power network, wherein a power-related, multi-phase waveform passes through a power line and zero-crossings of the waveform define its cycles, said method comprising the steps of:
-
converting intra-cycle voltage values and intra-cycle current values into digital samples; storing said digital samples in a buffer; providing a transfer signal to a processor upon the filling of the buffer to initiate a DMA transfer of said digital samples to a memory; generating an address to said buffer by said processor to transfer a portion of each digital sample from said buffer to said memory; and altering said address received by said buffer by DMA enhancement circuitry to transfer a remaining portion of each digital sample from said buffer to said memory during said DMA transfer while said address generated by said processor remains the same.
-
Specification