1. A method for detecting a wiring error in an electrical circuit monitored by a power-monitoring system, comprising:
addressing an analog multiplexer under control of a processor according to a first address to select a first input carrying an analog voltage signal from said electrical circuit monitored by said power-monitoring system;
addressing said analog multiplexer according to said first address to select a second input carrying an analog current signal corresponding to said analog voltage signal;
calculating the power factor corresponding to said analog voltage signal and said analog current signal;
comparing said power factor with an expected power factor range; and
changing said first address associated with said first input or said second input to a second address in response to said comparing when said power factor exceeds said expected power factor range such that said second address differs from said first address.
2. The method of claim 1, wherein said calculating is carried out using a Fast Fourier Transform algorithm.
3. The method of claim 1, wherein said expected power factor range is substantially 0.8 leading to substantially 0.5 lagging.
4. The method of claim 1, wherein said expected power factor range is substantially 0.5 leading to substantially 0.5 lagging.
5. The method of claim 1, further comprising storing a value indicative of one of said analog voltage signal and said analog current signal in a memory.
6. The method of claim 1, further comprising:
calculating the displacement angles of the respective phases corresponding to said analog voltage signal and said analog current signal;
determining whether the displacement angle corresponding to said analog voltage signal is within a first expected range; and
determining whether the displacement angle corresponding to said analog current signal is within a second expected range.
7. The method of claim 6, further comprising indicating a wiring error when the displacement angle corresponding to said analog voltage signal is substantially 120 degrees outside of an expected value.
8. The method of claim 6, further comprising indicating a wiring error when the displacement angle corresponding to said analog current signal is substantially 180 degrees outside of an expected value.
9. A method for detecting and correcting wiring errors in a poly-phase electrical circuit, comprising:
receiving an equal number of voltage inputs and current inputs corresponding to analog voltage signals and analog current signals, respectively;
associating each of said inputs with an address that is provided to an analog multiplexer to select one of said inputs according to a predetermined sequence, said analog multiplexer providing an output signal corresponding to the selected input;
digitizing said output signal;
calculating a power factor corresponding to a pair of output signals, one output signal corresponding to one of said voltage inputs and the other output signal corresponding to one of said current inputs; and
changing at least one of the addresses associated with one of said pair of signals when said power factor exceeds an expected power factor range to cause said analog multiplexer to select said inputs according to a new sequence that differs from said predetermined sequence.
10. The method of claim 9, wherein said poly-phase electrical circuit is a three-phase electrical circuit.
11. The method of claim 9, wherein said equal number is three.
12. The method of claim 9, wherein said digitizing is carried out using an analog-to-digital converter, said analog-to-digital converter and said analog multiplexer being components of an integrated circuit.
13. The method of claim 9, wherein said calculating is carried out using a Fast Fourier Transform algorithm.
14. The method of claim 9, wherein said associating and said changing are carried out using a processor coupled to said analog multiplexer.
15. The method of claim 9, further comprising receiving an input corresponding to a neutral or ground signal, said analog multiplexer being adapted to select a channel corresponding to said neutral or ground signal.
16. A method for detecting a wiring error, comprising:
receiving an equal number of voltage inputs and current inputs corresponding to analog voltage signals and analog current signals, respectively, from an electrical circuit monitored by a power monitoring system;
associating, under control of a processor, each of said inputs with an address according to a predetermined sequence having a first order;
addressing an analog multiplexer under control of the processor to select a first of said inputs carrying an analog voltage signal according to said address;
addressing the analog multiplexer to select a second of said inputs carrying an analog current signal according to said address;
wherein said analog multiplexer provides respective output signals corresponding to the selected first and second inputs;
digitizing said output signals;
calculating, in said processor, a power factor corresponding to said output signals, one of said output signals corresponding to said first input and another of said output signals corresponding to said second input;
comparing said power factor with an expected power factor range; and
changing at least one of the addresses associated with one of said pair of signals when said power factor exceeds said expected power factor range to cause said analog multiplexer to select said inputs according to a new sequence having a second order that differs from said first order.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
What is claimed is:
1. A method of recording a television program comprising:
receiving a television signal;
designating a recording start time and a scheduled recording end time;
beginning a recording of the television signal at the recording start time;
examining the television signal to detect a commercial group proximate in time to the scheduled recording end time;
ending the recording at the scheduled recording end time if the commercial group is detected, otherwise extending the recording.
2. The method of claim 1 wherein, if the commercial group is not detected, extending the recording to a next time of day increment.
3. The method of claim 2 wherein the next time of day increment is the first to occur of a next hour and a next half-hour.
4. The method of claim 1 wherein the scheduled end time is designated by adding a recording duration to the recording start time.
5. The method of claim 1 wherein the recording start time and scheduled recording end time are designated by selecting a program on an on-screen program guide.
6. The method of claim 1 wherein examining the television signal comprises detecting events therein.
7. The method of claim 6 wherein the events comprise block frames.
8. The method of claim 6 wherein the events comprise silent frames.
9. The method of claim 6 wherein the events comprise flat frames.
10. The method of claim 6 wherein the events comprise video cuts.
11. The method of claim 6 wherein examining the television signal further comprises analyzing time intervals between events.
12. A video recording device having internally stored instructions to execute a method comprising:
receiving a television signal;
designating a recording start time and a scheduled recording end time;
beginning a recording of the television signal at the recording start time;
examining the television signal to detect a commercial group proximate in time to the scheduled recording end time;
ending the recording at the scheduled recording end time if the commercial group is detected, otherwise extending the recording.
13. The video recording device of claim 12 wherein, if the commercial group is not detected, extending the recording to a next time of day increment.
14. The video recording device of claim 13 wherein the next time of day increment is the first to occur of a next hour and a next half-hour.
15. The video recording device of claim 12 wherein examining the television signal comprises detecting events therein.
16. The video recording device of claim 15 wherein the events comprise black frames.
17. The video recording device of claim 15 wherein the events comprise silent frames.
18. The video recording device of claim 15 wherein the events comprise flat frames.
19. The video recording device of claim 15 wherein the events comprise video cuts.
20. The video recording device of claim 15 wherein examining the television signal further comprises analyzing time intervals between events.