IP Library Granted Patent US 9,055,625
Granted Patent B2
US 9,055,625 · App. 13/887,437 · Granted Jun 9, 2015

Control method of lamp

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,055,625
App. No.
13/887,437
Granted
Jun 9, 2015
Kind
B2
Abstract

The control method comprises the following steps. Firstly, whether a touch event occurs in a control device is determined. Then, responding to a color temperature set and a brightness set from the control device, a first PWM and a second PWM is generated. Then, whether the lamp connects with to the control device is determined. Then, the first PWM and the second PWM is packaged in a color control package if the lamp connects with to the control device. Then, the color control package is transmitted to the lamp in wireless.

Claims (77)

1. A control method of a lamp, comprising:

whether a touch event occurs in a control device is determined;

obtaining a coordinate of a touch point if the touch event occurs;

whether the touch point occurs in a color control area of a Graphical User Interface (GUI) of the control device is determined;

responding to a color temperature set and a brightness set from the control device, generating a first pulse width modulation (PWM) and a second PWM;

whether the lamp connects with the control device is determined;

package the first PWM and the second PWM in a color control package;

opening a transmission thread, comprising:

whether the value of a transmission flag is equal to 1 is determined;

transmitting the color control package to the lamp by wireless technology if the value of the transmission flag is equal to 1;

setting the value of a responding flag to 0; and

whether the value of the responding flag is set to 0 within a time interval is determined;

opening a receiving thread, comprising:

whether a lamp package from the lamp is received is determined;

whether the lamp package is a responding package is determined if the lamp package from the lamp is received;

setting the value of the responding package to 1 and the value of the transmission flag to 0 if the lamp package is the responding package;

2. The control method of a lamp according to claim 1 , further comprising:

if the touch point occurs in the color control area, generating the first PWM and the second PWM.

3. The control method of a lamp according to claim 1 , further comprises:

whether the first PWM and the second PWM are different from a previous first PWM and a previous second PWM is determined;

whether the lamp connects with the control device is confirmed if the first PWM and the second PWM are different from the previous first PWM and the previous second PWM;

whether the value of the transmission flag is equal to 0 is determined if the lamp connecting with the control device; and

if the value of the transmission flag is equal to 0, generating the first PWM and the second PWM and setting the value of the transmission flag to 1.

4. The control method of a lamp according to claim 2 , wherein before the step of whether the touch event occurs in the control device being determined, the step of opening the transmission thread and the step of opening the receiving thread, the control method further comprises:

whether the lamp connects with the control device is determined; and

performing the step of whether the touch event occurs in the control device being determined, the step of opening the transmission thread and the step of opening the receiving thread by Time Division Multiplexing (TDM) if the lamp connects with the control device.

5. The control method of a lamp according to claim 4 , further comprising:

setting value of the transmission flag and the value of the responding flag to 0 if the lamp disconnects from the control device.

6. The control method of a lamp according to claim 1 , further comprising:

closing the transmission thread and the receiving thread if the value of the responding flag is not set to 1 within the time interval; and

setting the responding flag and the transmission flag to 0.

7. The control method of a lamp according to claim 1 , further comprising:

setting the value of the transmission flag and the value of the responding flag to 0 if the value of the responding flag is set to 1 within the time interval; and

returning to the step of whether the value of the transmission flag is equal to 1 being determined.

8. The control method of a lamp according to claim 1 , wherein the step of opening the transmission thread further comprises:

returning to the step of whether the transmission flag is equal to 1 being determined if the responding flag is not equal to 1.

9. The control method of a lamp according to claim 1 , wherein in the step of whether the value of the responding flag is set to 1 within the time interval being determined, the time interval is 500 milliseconds.

10. The control method of a lamp according to claim 1 , wherein the lamp comprises a first light-emitting element and a second light-emitting element which are controlled by the first PWM and the second PWM, respectively.

11. The control method of a lamp according to claim 1 , wherein in the step of generating the first PWM and the second PWM, the first PWM and the second PWM are decided by:

PWM

1

=

0.0015

Br

-

0.084

0.002

(

0.0021

CCT

)

+

0.996

PWM

2

=

0.996

PWM

1

+

0.0051

Br

-

0.0084

wherein, the PWM 1 represents the first PWM, PWM 2 represents the second PWM, the Br represents the brightness set, and the CCT represents the color temperature set.

Assignments (2)
MERGER Recorded Mar 27, 2026
From: LEXTAR ELECTRONICS CORPORATION
To: ENNOSTAR CORPORATION
Reel/Frame 075286/0822 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 6, 2013
From: LIN, FENG-LING; CHEN, PO-SHEN; CHEN, HUI-YING; CHEN, CHUN-KUANG; CHEN, YUAN-CHING
To: LEXTAR ELECTRONICS CORPORATION
Reel/Frame 030352/0934 →