Microcomputer controlled photocell unit
First Claim
1. A microcomputer controlled photocell system for use in controlling the operation of a load device comprising:
- a photocell producing electrical signals varying with the intensity of ambient light sensed thereby;
a microcomputer connected to receive and sample electrical signals from said photocell at predetermined intervals including a clock, counter means for counting said sampled signals and switching means responsive to predetermined counts of said counter for switching said load device on and off;
wherein said microcomputer samples ambient light values sensed by said photocell a plurality of times per minute and establishes a night reference light value after sensing minimum light values for over a predetermined cycle time; and
after a night reference light value is established, the microcomputer continues to sample light values and responds to a substantial number of continuously increasing light values to switch said load device off and after a predetermined additional number of continuously increasing light values establishes and stores a sunset detect light value whereby diminishing light values near sunset are monitored and when said sunset detect light value is reached, said computer acts to switch said load device on.
5 Assignments
0 Petitions
Accused Products
Abstract
A photocell unit in combination with a programmed microprocessor which samples the output of the photocell and detects day or night by sampling over a predetermined period of time, e.g. 80 minutes to establish a right reference value and a predetermined number of samples of increasing light values to establish a "sunrise detect value" to turn lights off. A further predetermined increase in light values is used to establish a "sunset detect" light value. This value is retained throughout the day until sensed light values again diminish to the "sunset. The sampling techniques makes the system immune from errors due to transient lights and also avoid unwanted daylight operation of lights or undetected light outages.
-
Citations
6 Claims
-
1. A microcomputer controlled photocell system for use in controlling the operation of a load device comprising:
-
a photocell producing electrical signals varying with the intensity of ambient light sensed thereby; a microcomputer connected to receive and sample electrical signals from said photocell at predetermined intervals including a clock, counter means for counting said sampled signals and switching means responsive to predetermined counts of said counter for switching said load device on and off; wherein said microcomputer samples ambient light values sensed by said photocell a plurality of times per minute and establishes a night reference light value after sensing minimum light values for over a predetermined cycle time; and after a night reference light value is established, the microcomputer continues to sample light values and responds to a substantial number of continuously increasing light values to switch said load device off and after a predetermined additional number of continuously increasing light values establishes and stores a sunset detect light value whereby diminishing light values near sunset are monitored and when said sunset detect light value is reached, said computer acts to switch said load device on.
-
-
2. A microcomputer controlled photocell unit comprising:
-
a microcomputer including a clock, counter means and means for effectively producing output signals; a photocell connected to said microcomputer; said counter means receiving and counting light sample signals from said photocell and responsive to receiving a substantial number of samples of very low value for setting a night reference value and responsive to receiving from said photocell a predetermined number of light samples of increasing light values for establishing and storing a lights off signal and for responding to a predetermined number of additional samples of increasing light values to establish and store a sunset detect value, said counter means causing said microcomputer to produce output signals in response to said lights off signal and said sunset detect signal; and means in said microcomputer responsive to receiving a predetermined number of light samples above said sunset detect value for arming said microcomputer to respond to detected light samples at said sunset detect value and to produce a lights on output signal. - View Dependent Claims (3, 4)
-
-
5. A microcomputer controlled photocell unit comprising:
-
a microcomputer including a clock, counters and means for effectively producing output signals; a photocell connected to said microcomputer; means in said microcomputer for periodically sampling light signals from said photocell; means in said microcomputer responsive to a substantial number of light samples of very low value for establishing a night reference value; means in said microcomputer responsive to reception of a predetermined number of light samples of increasing light values for establishing a lights off signal and also responsive to a predetermined number of further increases in light value for establishing a sunset detect value signal; and means responsive to said lights off signal and said sunset detect value signal for providing output signals from said unit. - View Dependent Claims (6)
-
Specification