Power control of a light animation performed on a light module
A system for performing light animations on a light module. The system receives a first signal derived from a light power signal and a second signal derived from an animation power signal. The system includes a microprocessor controlling the light module and powered by the second signal. A storage module stores an initial state of the first signal when the microprocessor is activated by the second signal. After it wakes up, the microprocessor determines a light animation to be performed based on the initial state and a current state of the second signal.
1. A system for performing at least one light animation on a light module, wherein the system is arranged for receiving a first signal derived from a light power signal powering a lighting or signalling function of the light module, and a second signal derived from an animation power signal powering a light animation of the light module,
the system comprising a microprocessor configured to output a light power control signal to control the light module to perform at least one light animation, with
the microprocessor being configured to be powered by the second signal;
a storage module configured to store an initial state of the first signal at a time where the microprocessor is activated; and in that
the microprocessor is further configured to, after a wake up period, determine a light animation to be performed and to control the light power control signal accordingly, based on the initial state of the first signal and a current state of the first signal.
2. The system according to claim 1 , wherein the storage module includes a latch having an input, a clock input and an output, wherein the input is derived from the first signal, the clock input receives the second signal, and wherein, upon detection of a rising edge of the second signal, the latch calculates the output based on the input and maintains said output until a new rising edge of the second signal is detected on the clock input;
wherein the output supplies the initial state of the first signal to the microprocessor.
3. The system according to claim 2 , wherein the storage module includes a blanking circuit arranged for delaying the first signal before being supplied to the first input of the latch.
4. The system according to claim 3 , wherein the blanking circuit is arranged for delaying the first signal for a duration between 1 and 5 milliseconds.
5. The system according to claim 1 , wherein the microprocessor is configured to be turned off:
on a falling edge of the second signal;
once the animation is terminated; or
at the expiry of a predetermined period after the animation is terminated.
6. The system according to claim 1 , further comprising a first reception stage including:
a first reception module having a first detection stage arranged for deriving a first detection signal from the light power signal;
a second reception module having a second detection stage arranged for deriving a second detection signal from the animation power signal.
7. The system according to claim 6 , wherein the first detection signal is the first signal derived from the light power signal;
wherein the second reception module includes a conversion stage arranged for converting the second detection signal to an input animation signal, the input animation signal being the second signal powering the microprocessor.
8. The system according to claim 1 , wherein the microprocessor is arranged for controlling the light power control signal to perform at least two animations.
9. The system according to claim 1 , wherein the microprocessor is arranged to perform a welcome animation when the initial state of the first signal is low and the current state of the first signal is high.
10. The system according to claim 9 , wherein the microprocessor is arranged for controlling the light power control signal as a power ramp to perform the welcome animation.