The present invention is related generally to a state cycling apparatus for switching system states and, more particularly, to a state cycling apparatus for a lamp.
For light emitting diode (LED) applications, such as LED flashlights, to meet various demands, it usually provides several states, such as a strong state, a weak state, and a flashing state, for users to choose therebetween; hence, a state cycling apparatus is required for switching between the states. Conventionally, a state cycling apparatus uses a microcontroller and a non-volatile memory which, coupled with switching operation for the power switch of a LED flashlight, enable the switching between the states. When the LED flashlight is powered on, the microcontroller reads a state data stored in the non-volatile memory so as to switch a state of the LED flashlight. When the LED flashlight is powered off, another state data corresponding to the next state is stored in the non-volatile memory. However, state cycling of LED flashlights is simple and usually involves less than 10 states, and thus it is not cost-effective for LED flashlights to work in conjunction with an intricate, expensive microcontroller.
Therefore, it is desired a low cost state cycling apparatus.
An object of the present invention is to provide a state cycling apparatus using a capacitor to implement a state cycling.
Another object of the present invention is to provide a state cycling method using a capacitor to implement a state cycling.
Yet another object of the present invention is to provide a control circuit for a lamp.
According to the present invention, a state cycling apparatus for switching a state of a system includes a capacitor and an internal circuit connected to the capacitor. When the system is powered on, the internal circuit reads a voltage level of the capacitor so as to determine a current state of the system and writes another voltage level corresponding to a next state to the capacitor.
According to the present invention, a state cycling method for switching a state of a system includes reading a voltage level of a capacitor connected to the system when the system is powered on, so as to determine a current state of the system, and then writing another voltage level corresponding to a next state to the capacitor.
According to the present invention, a state cycling apparatus for switching a state of a system includes a capacitor and an internal circuit connected to the capacitor. When the system is powered on, the capacitor is charged, and the system reads a state data stored in the internal circuit so as to determine a current state. When the system is powered off, the capacitor supplies power to the internal circuit so as to retain the state data stored in the internal circuit.
According to the present invention, a state cycling method for switching a state of a system includes reading a state data stored in the system so as to determine a current state when the system is powered on, charging a capacitor connected to the system during the system is on, and after the system is powered off, supplying power by the capacitor for storing the state data.
According to the present invention, a control circuit for a lamp includes a capacitor and a controller connected to the capacitor. The controller may switch the lamp between several states. When the lamp is powered on, the controller reads a voltage level of the capacitor, switches the lamp to one of the states according to the voltage level, and writes another voltage level corresponding to a next state to the capacitor.
According to the present invention, a control circuit for a lamp includes a capacitor and a controller connected to the capacitor. The controller may switch the lamp between several states. The capacitor is charged during the lamp is on. When the lamp is powered on, the controller reads a state data stored therein so as to determine a current state. After the lamp is powered off, the capacitor supplies power to the controller so as to retain the state data stored therein.
By using a capacitor instead of an intricate, expensive microcontroller to implement state cycling, it is thus more cost-effective than prior arts.
These and other objects, features and advantages of the present invention will become apparent to those skilled in the art upon consideration of the following description of the preferred embodiments according to the present invention taken in conjunction with the accompanying drawings, in which:
According to the present invention, as shown in
In addition to LED flashlights, the state cycling apparatus of the present invention is applicable to other LED lamps and non-LED lamps, such as illuminative lamps, decorative lamps, and traffic lights.
While the present invention has been described in conjunction with preferred embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art. Accordingly, it is intended to embrace all such alternatives, modifications and variations that fall within the spirit and scope thereof as set forth in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
098110987 A | Apr 2009 | TW | national |
This application is a Divisional patent application of co-pending application Ser. No. 12/750,974, filed on Mar. 31, 2010, now pending. The entire disclosure of the prior application, Ser. No. 12/750,974, from which an oath or declaration is supplied, is considered a part of the disclosure of the accompanying Divisional application and is hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
20100176750 | West | Jul 2010 | A1 |
Number | Date | Country | |
---|---|---|---|
20140176002 A1 | Jun 2014 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12750974 | Mar 2010 | US |
Child | 13610194 | US |