Field of the Invention
[0001] The present invention relates to a flashing light control apparatus.
Background of the Invention
[0002] In electrical products, it is necessary to use different flashing lights to represent
different operation situations. In figure 1, a low pulse signal 100 controls a switching
device 104 that makes a light emitting diode 102 flash.
[0003] Typically, there are two methods of generating the low pulse signal 100. One is to
use a program to control a counter in a CPU to output the pulse signals from the general
purpose input/output pins. The pulse signals make the switching devices switch the
light emitting diodes on/off. However, the CPU has to keep working in this method,
which increase the power consumption of the electrical products. Additionally, the
working efficiency of the CPU is reduced because the partial calculation period is
used to generate the pulse signals.
[0004] Another method is to use an oscillation circuit to generate pulse signals with a
fixed period to make the switching device switch the light emitting diodes on/off.
However, an additional oscillation circuit is required in this method, which increase
the cost and the volume of the electrical products. Moreover, the oscillation circuit
can only generate a pulse signal with a fixed period. Therefore, the flashing period
is also fixed, which limits the application range thereof.
[0005] A pulse signal generator inside a CPU is typically used to resolve the problem of
fixed period resulting from use of the oscillation circuit. This pulse signal generator
is used to provide a pulse signal whose period is modulated by the CPU. However, although
this method can resolve the fixed period problem, a pulse signal generator can only
provide a pulse signal. In other words, the number of flashing lights is related to
the number of pulse signal generators inside a CPU. If the number of pulse signal
generators built in a CPU is not enough, an additional pulse signal generator must
be attached to the CPU, which increase the manufacturing cost and the volume of a
electrical product.
[0006] US 2003/174496 A1 discloses a device with flashing light feature. The device includes a power source,
lighting elements and a flashing circuit to selectively provide lighting signals to
the lighting elements. Outputs of a control circuit are directly linked with light
emitting diodes.
[0007] US-5,969,479 A describes a light-flashing system for flashing lights on and off and for generating
a pattern of illumination for a plurality of lights in response to intermittent switch
closures. The system includes a battery, a plurality of light-emitting elements, a
plurality of transistors which enable the illumination of the light-emitting elements,
a switch, a capacitor, and a pattern-generation circuit. The battery powers the light-emitting
elements and the pattern-generation circuit. The switch intermittently clocks the
pattern-generation circuit and enables the flow of current in certain of the transistors,
allowing illumination of certain of the light-emitting elements in response to changes
in inertial forces caused by movement of the flashing light system. The capacitor
is connected in parallel to the battery such that the capacitor stores electrical
charge when the switch is closed and continues to enable the flow of current through
certain of the transistors after the switch is opened. The pattern-generation circuit
then causes at least one, but not necessarily all, of the plurality of light-emitting
elements to illuminate by enabling the flow of current through certain of the transistors.
As the switch intermittently opens and closes, the pattern-generation circuit is clocked
through various states, and the outputs of the pattern-generation circuit enable the
flow of current through certain of the transistors, allowing illumination of at least
one, but not necessarily all, of the light-emitting elements in a pattern,
Summary of the Invention
[0008] Therefore, the object of the present invention is to provide a flashing light control
apparatus to make many lights flash but not increase the power consumption and volume
of a electrical product.
[0009] The aforementioned object is solved by the subject-matter of the claim 1. The dependent
claims are directed to advantageous embodiments.
Advantages of the Invention
[0010] Advantageously, it is provided an apparatus thereof by using a pulse signal generator
to make many lights flash.
[0011] Advantageously, it is provided an apparatus thereof to control the flashing light
period without reducing CPU efficiency.
[0012] Accordingly, the states of the general purpose Input/Output pins of a CPU can determine
whether or not a light is triggered by a pulse signal generated by a pulse signal
generator. The method not only can use a pulse signal generator built in a CPU but
also can use a pulse signal generator independent from a CPU.
Brief Description of the Drawings
[0013] The foregoing aspects and many of the attendant advantages of this invention will
become more readily appreciated and better understood by referencing the following
detailed description, when taken in conjunction with the accompanying drawings, wherein:
Figure 1 is a typical pulse signal for flashing lights;
Figure 2 is a block diagram of a control circuit according to the first embodiment;
Figure 3 is a control circuit diagram according to the block diagram illustrated in
figure 2;
Figure 4 is a block diagram of a control circuit according to the second embodiment;
Figure 5 is a control conditions table for making lights flash; and
Figure 6 is a control conditions table for keeping lights on or off.
Detailed Description of the Preferred Embodiment
[0014] Figure 2 is a block diagram of a control circuit according to the first embodiment.
According to the first embodiment, a CPU 200 with a low pulse generator (LPG) 202
makes lights flash by controlling the states of the general purpose Input/Output (GPIO)
pins 210 and thereby selecting which light flahses. The pulse signal generated by
the low pulse generator 202 makes the selected light flash. A pulse signal controller
204 triggers a specific driving circuit in the driving circuit module 206 according
to the states of the general purpose Input/Output (GPIO) pins 210 of the CPU 200.
Then, the pulse signal received by the pulse signal controller 204 can make a specific
light in the light module 208 flash through the triggered driving circuit. The light
module is composed of light emitting diodes respectively connected to corresponding
driving circuits.
[0015] Figure 3 is a control circuit diagram according to the block diagram illustrated
in the figure 2. Reference is made to figure 2 and figure 3. A low pulse generator
(LPG) 202 is built in a CPU 200. According to the embodiment, the conductive line
300, 302 and 304 connected with the low pulse generator 202 and the conductive lines
312, 314 and 316 connected with the CPU 200 are respectively connected together to
form three intersections that serve as the three output points S
1, S
2 and S
3 of the pulse signal controller 204.
[0016] When the state of a general purpose Input/Output pin 210 is set in an Input mode,
this pin has a "high" input impedance. When the state of a general purpose Input/Output
pin 210 is set in an output mode, this pin is grounded. For example, when the general
purpose Input/Output pin 306 is set in an Input mode, this pin has a "high" input
impedance. Therefore, the output signal of the output point S
1 of the pulse signal controller 204 is the pulse signal transmitted by the conductive
line 300. Conversely, when the general purpose Input/Output pin 306 is set in an output
mode, this pin is grounded. The output point S
1 of the pulse signal controller 204 is also grounded. Therefore, the pulse signal
transmitted by the conductive line 300 is reduced to a "zero" level state through
the resistance R1. In other words, the output signals of the three output points S
1, S
2 and S
3 can be determined by controlling the states of the corresponding general purpose
Input/Output pins.
[0017] There are three switching devices 318, 320 and 322 in the driving circuit module
206. The three switching devices 318, 320 and 322 are transistors. These switching
devices 318, 320 and 322 are respectively controlled by the three output points S
1, S
2 and S
3. For example, when the output point S
1 is grounded because the corresponding GPIO pin 306 is set in an output mode, the
switching device 318 is in an "off' state because the pulse signal transmitted by
the conductive line 300 is reduced to a "zero" level state through the resistance
R1. Conversely, when the corresponding GPIO pin 306 is set in an "input" mode, this
pin has a "high" input impedance. Through the conductive line 312, this "high" input
impedance makes the output point S
1 output the pulse signal transmitted by the conductive line 300 to switch the switching
device 318. At this time, the corresponding light emitting diode 324 in the light
module 208 flashes according to the switching of the switching device 318.
[0018] When both the GPIO pins 308 and 310 are set in the input mode and the GPIO pin 306
is set in the output mode, the output point S
1 is grounded to turn of the switching device 318, and the output points S
2 and S
3 respectively output the pulse signal transmitted from the conductive lines 302 and
302 to switch the switching devices 320 and 322. At this time, the light emitting
diode 324 is turned off because the switching device is in an "off" state. The light
emitting diodes 326 and 328 flash according to the switching of the switching devices
320 and 322.
[0019] On the other hand, the light emitting diodes can be kept on in the present invention.
In such situation, the LPG 202 is turned off to stop providing the pulse signal. Therefore,
the three output points S
1, S
2 and S
3 of the pulse signal controller 204 are only controlled by the GPIO pins. For example,
when the GPIO pin 306 outputs a "high" level such that the output point S
1 is also in a "high" level, the switching device 318 is kept in an "on" state, thereby
making the LED 324 continuously on.
[0020] Figure 4 is a block diagram of a control circuit according to the second embodiment.
The main difference between the first and second embodiment is that an independent
LPG 220 controlled by a GPIO pin of the CPU 200 is used in the second embodiment to
generate the pulse signal. However, the operation method of the first and second embodiment
is the same.
[0021] Figure 5 is a control conditions table for making light emitting diodes (LEDs) flash.
Reference is made to figure 3 and figure 5 together. For example, the situation described
in number 3 is that the LED 328 flashes and the LEDs 324 and 326 are off. In such
situation, the GPIO pin 310 is set in the input mode and the GPIO pins 306 and 308
are set in the output mode. According to the setting of the pins, the output point
S
1 and S
2 are grounded. Therefore, the switching devices 318 and 320 are turned off. The LED
324 and 326 are turned off. The output point S
3 outputs the pulse signal transmitted by the conductive line 304 to switch the switching
device 322. The LED 328 flahs according to the switch of the switching device 322.
On the other hand, the situation described in number 8 is that the LEDs 324, 326 and
328 are all turned off. In such situation, all of the GPIO pins 306, 308 and 310 of
the CPU 200 are set in the output mode. It is noted that the control condictions described
in figure 5 also can be used in the circuit structure illustrated in figure 4.
[0022] The present invention also can maintain the light emitting diodes in on/off states.
Figure 6 illustrates a control conditions table. For example, the situation described
in number 13 is that the LEDs 326 and 328 are continually on and the LEDs 324 is off.
In this situation, the LPG 202 is turned off to stop the flashing function. The GPIO
pins 308 and 310 are set in the output mode with a high level and the GPIO pin 306
is set in the output mode with a low level. According to the setting of the pins,
the output point S
1 is grounded to turn off the switching device 318. Therefore, the LED 324 is turned
off. The output points S
2 and S
3 output the high level signal to turn on the switching devices 320 and 322. Therefore,
the LEDs 326 and 328 are continually turned on. On the other hand, the situation described
in number 16 is that the LEDs 324, 326 and 328 are all turned off. In this situation,
all GPIO pins 306, 308 and 310 of the CPU 200 are set in the output mode with a low
level. It is noted that the control conditions described in the figure 6 also can
be used in the circuit structure illustrated in the figure 4.
[0023] Accordingly, the states of the general purpose Input/Output pins of a CPU are used
to make a pulse signal controller generate an output signal. This output signal selects
a specific driving circuit. A pulse signal generated by a pulse signal generator triggers
this selected driving circuit, which then makes the corresponding light flash. The
pulse signal generator not only can be a pulse signal generator built in a CPU but
also can be a pulse signal generator located outside a CPU and controlled by a GPIO
pin of a CPU.
[0024] As is understood by a person skilled in the art, the foregoing descriptions of the
preferred embodiment of the present invention are an illustration of the present invention
rather than a limitation thereof.
1. Blitzlichtsteuervorrichtung, die aufweist:
eine zentrale Verarbeitungseinheit (200) mit einer Vielzahl von ersten universellen
bzw. Mehrzweck-Eingangs/Ausgangs-Pins bzw. Anschlüssen und einem zweiten universellen
bzw. Mehrzweck-Eingangs/Ausgangs-Pin bzw. Anschluss, wobei jeder erste universelle
bzw. Mehrzweck-Eingangs/Ausgangs-Pin bzw. Anschluss einen spezifischen Impedanzzustand
aufweist;
einen Pulssignalgenerator (202), der mit der zentralen Verarbeitungseinheit zur Erzeugung
eines Pulssignals verbunden ist, wobei die zentrale Verarbeitungseinheit die Periode
bzw. Dauer des Pulses, der eingegeben wurde, moduliert, wenn der Pulssignalgenerator
im Inneren der zentralen Verarbeitungseinheit (200) ist und der Pulssignalgenerator
durch den zweiten universellen bzw. Mehrzweck-Eingangs/Ausgangs-Pin bzw. Anschluss
der zentralen Verarbeitungseinheit gesteuert wird, wenn der Pulssignalgenerator außerhalb
der zentralen Verarbeitungseinheit angeordnet ist;
ein Treiberschaltungsmodul (206) mit einer Vielzahl von Treiberschaltungen, wobei
das Treiberschaltungsmodul mit dem Pulssignalgenerator verbunden ist; und
ein Lichtmodul (208) mit einer Vielzahl von Lichtern, die jeweilig mit den Treiberschaltungen
verbunden sind, wobei das Pulssignal die Treiberschaltungen triggert, um korrespondierende
Lichter entsprechend den Impedanzzuständen der ersten universellen bzw. Mehrzweck-Eingangs/Ausgangs-Pins
bzw. Anschlüsse anzuschalten;
wobei die Impedanzzustände einen Eingangsmodus mit hoher Impedanz einschließen, welche
ein korrespondierendes Licht bewirkt zu blitzen, und zwar durch das Pulssignal, wenn
der Pulssignalgenerator angeschaltet ist, und
die Impedanzzustände einen Ausgangsmodus einschließen, wobei ein Pin bzw. Anschluss
der ersten universellen bzw. Mehrzweck-Eingangs/Ausgangs-Pins bzw. Anschlüsse geerdet
ist, welches bewirkt, dass ein korrespondierendes Licht aus ist.
2. Vorrichtung nach Anspruch 1, wobei die Treiberschaltungen Transistoren aufweisen.