ELECTRONIC LOCK WITH POWER FAILURE CONTROL CIRCUIT
First Claim
1. An electronic lock comprising:
- a lock including a latchbolt movable between an extended and a retracted position, the lock having a locked state and an unlocked state, the latchbolt being prevented from moving to the retracted position when the lock is in the locked state;
a lock control circuit including a microcontroller and a memory having a stored control program including microcontroller executable instructions for a power failure state and microcontroller executable instructions for a normal power state;
a primary power supply input to the lock control circuit adapted for connection to a primary source of electrical power;
an electrically powered lock actuator connected to the microcontroller, the lock actuator being responsive to a signal from the microcontroller to move the lock between the locked state and the unlocked state;
a power monitor circuit having an input connected to the primary power supply input to detect a power failure condition, a control output and a signal output connected to the microcontroller, the power monitor circuit signaling the microcontroller via a power failure signal applied to the signal output when a power failure condition is detected at the primary power supply input;
an auxiliary power supply having a power output; and
an electrically controllable switch circuit having a primary power input connected to the primary power supply input, an auxiliary power input connected to the auxiliary power output of the auxiliary power supply, a power output connected to provide power to the microcontroller and the lock actuator and a control input connected to the control output of the power monitor circuit, the power monitor circuit controlling the switch circuit to select between the primary source of electrical power and the auxiliary power supply;
the microcontroller executing the microcontroller executable instructions for the power failure state after receiving the power failure signal from the power monitor circuit.
1 Assignment
0 Petitions
Accused Products
Abstract
An electronic lock with power failure control circuit includes a lock mechanism having a latchbolt movable between extended and a retracted positions and an electrically powered lock actuator to lock and unlock the latchbolt. The power failure control circuit includes a microcontroller and the lock is connected to a primary power source and an auxiliary power source, preferably supercapacitors and charger that can be turned on by the microcontroller and off when the charger signals a full charge. A power monitor circuit detects low voltage on the primary power supply and sets a power failure interrupt causing the microcontroller to execute power failure instructions that control the actuator so that the lock is placed into a desired locked or unlocked final state during the power failure. upon detection of the return of good power, the system resets the lock.
-
Citations
20 Claims
-
1. An electronic lock comprising:
-
a lock including a latchbolt movable between an extended and a retracted position, the lock having a locked state and an unlocked state, the latchbolt being prevented from moving to the retracted position when the lock is in the locked state; a lock control circuit including a microcontroller and a memory having a stored control program including microcontroller executable instructions for a power failure state and microcontroller executable instructions for a normal power state; a primary power supply input to the lock control circuit adapted for connection to a primary source of electrical power; an electrically powered lock actuator connected to the microcontroller, the lock actuator being responsive to a signal from the microcontroller to move the lock between the locked state and the unlocked state; a power monitor circuit having an input connected to the primary power supply input to detect a power failure condition, a control output and a signal output connected to the microcontroller, the power monitor circuit signaling the microcontroller via a power failure signal applied to the signal output when a power failure condition is detected at the primary power supply input; an auxiliary power supply having a power output; and an electrically controllable switch circuit having a primary power input connected to the primary power supply input, an auxiliary power input connected to the auxiliary power output of the auxiliary power supply, a power output connected to provide power to the microcontroller and the lock actuator and a control input connected to the control output of the power monitor circuit, the power monitor circuit controlling the switch circuit to select between the primary source of electrical power and the auxiliary power supply; the microcontroller executing the microcontroller executable instructions for the power failure state after receiving the power failure signal from the power monitor circuit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A system for shutting down and restarting an electronic lock under power failure conditions comprising:
-
a microcontroller including a stored control program having a plurality of microcontroller executable instructions; a lock actuator output adapted for connection to a lock actuator, the lock actuator output being connected to the microcontroller and the microcontroller sending a signal to the lock actuator output to switch the lock actuator between a locked and an unlocked state; a primary power supply input adapted for connection to a primary source of electrical power; an auxiliary power supply having at least one supercapacitor for providing auxiliary power and a supercapacitor monitoring and charging circuit connected to the microcontroller; an electrically controllable switch circuit connected to the primary power supply input and the auxiliary power supply to supply auxiliary power during a power failure condition; a power monitor circuit having a comparator, the power monitor circuit being connected to the primary power supply input to detect the power failure condition, the power monitor circuit also being connected to the microcontroller to signal a good power condition and the power failure condition, the power monitor circuit also being connected to the electrically controllable switch circuit and the power monitor circuit switching the electrically controllable switch circuit upon detection of the power failure condition; a visual indicator operable by the microcontroller to indicate the power failure condition; the microcontroller executable instructions including; a normal power loop of microcontroller executable instructions organized as a cooperative multitasking loop of tasks and executed by the microcontroller to operate the electronic lock in normal power conditions, the normal power loop including; an instruction checking to determine if the power monitor circuit has signaled detection of a power failure condition; an instruction checking to determine if the at least one supercapacitor is fully charged; an instruction for turning on the supercapacitor charging circuit to charge the at least one supercapacitor when the at least one supercapacitor is not fully charged; and an instruction for turning off the supercapacitor charging circuit when the at least one supercapacitor is fully charged; a power failure loop of microcontroller executable instructions;
the microcontroller executing the power failure loop after the power monitor circuit has signaled detection of a power failure condition, the power failure loop including;an instruction checking to determine if the power monitor circuit has signaled the good power failure condition, an instruction resetting the microcontroller after the power monitor circuit has signaled the good power failure condition; at least one instruction turning on the visual indicator to signal the power failure condition after the power monitor circuit has signaled detection of the power failure condition; at least one instruction sending the signal to the lock actuator output to switch the lock actuator to a desired locked or unlocked state for the power failure condition after the power monitor circuit has signaled detection of the power failure condition.
-
-
18. A method for shutting down and restarting an electronic lock under power failure conditions comprising:
-
monitoring a primary power supply with a comparator circuit to detect a power failure condition and a good power condition by comparing a voltage of the primary power supply to a reference voltage; executing tasks in a loop during the good power condition; switching to an auxiliary power supply having at least one supercapacitor in the power failure condition to supply power to the electronic lock from the at least one supercapacitor during the power failure condition; setting the electronic lock to a desired locked or unlocked state after detecting the power failure condition; repeatedly monitoring a charge level of the at least one supercapacitor during the good power condition; turning on a supercapacitor charger during the good power condition when the charge level of the at least one supercapacitor is below a desired level; turning off the supercapacitor charger during the good power condition when the charge level of the at least one supercapacitor has reached a desired level; turning on a visual indicator during the power failure condition; and resetting the electronic lock after the power failure condition has been detected if the good power condition is subsequently detected for a predetermined period of time. - View Dependent Claims (19, 20)
-
Specification