×

Electronic lock with power failure control circuit

  • US 9,019,067 B2
  • Filed: 12/30/2010
  • Issued: 04/28/2015
  • Est. Priority Date: 12/30/2010
  • Status: Active Grant
First Claim
Patent Images

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 connected to the lock control circuit and 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, the power monitor circuit generates a control output to an electrically controllable switch circuit and a signal output connected to the microcontroller in response to the power failure condition, the power monitor circuit signaling the microcontroller via a power failure signal applied to the signal output when the power failure condition is detected at the primary power supply input;

    wherein the power monitor circuit includes a lower voltage threshold and determines the power failure condition based on whether a voltage at the primary power supply input is below the lower voltage threshold and wherein the power monitor circuit includes an upper voltage threshold and signals the microcontroller to stop executing the microcontroller executable instructions for the power failure state and begin executing the microcontroller executable instructions for the normal power state when the voltage at the primary power supply input raises above the upper voltage threshold for a preset period of time after the power failure condition occurred,an auxiliary power supply having an auxiliary power output;

    the 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 the microcontroller 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 electrically controllable switch circuit to selectively connect the power output between the primary source of electrical power and the auxiliary power supply; and

    a visual indicator operable by the microcontroller to indicate the power failure condition;

    the microcontroller executing the microcontroller executable instructions for the power failure state after receiving the power failure signal from the power monitor circuit,wherein the microcontroller executable instructions including;

    a normal power loop, corresponding to the normal power state, of the 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 of the normal power state, the normal power loop including;

    an instruction for checking to determine if the power monitor circuit has signaled detection of the power failure condition based on the power failure signal applied to the signal output;

    an instruction for checking to determine if an at least one supercapacitor of the auxiliary power supply is fully charged;

    an instruction for turning on they a 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, corresponding to the power failure state, of the microcontroller executable instructions;

    the microcontroller executing the power failure loop after the power monitor circuit has signaled the detection of the power failure condition based on the power failure signal applied to the signal output, the power failure loop including;

    an instruction for checking to determine if the power monitor circuit has signaled the power failure condition,an instruction for resetting the microcontroller after the power monitor circuit determines the primary power supply input returned if the voltage of the primary power supply input raises above the upper voltage threshold for the preset period of time;

    at least one instruction for turning on the visual indicator to signal the power failure condition after the power monitor circuit has signaled the detection of the power failure condition;

    at least one instruction for sending a signal to the lock actuator to switch the lock actuator to a desired locked or unlocked state in response to the power failure condition after the power monitor circuit has signaled the detection of the power failure condition; and

    wherein the lower voltage threshold and the upper voltage threshold relate by hysteresis to prevent oscillation at or near transition points between the power failure state and the normal power state whereby upon detecting the power failure condition the electrically controllable switch circuit receives power from the auxiliary power supply to reduce power load on and enable recovery of the primary power supply input, and once the primary power supply input has recovered the electrically controllable switch circuit switching power back to the primary power supply input.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×