CN115002965A - System for non-contact direction identification and sliding control addressing of LED and control method thereof - Google Patents

System for non-contact direction identification and sliding control addressing of LED and control method thereof Download PDF

Info

Publication number
CN115002965A
CN115002965A CN202210682566.1A CN202210682566A CN115002965A CN 115002965 A CN115002965 A CN 115002965A CN 202210682566 A CN202210682566 A CN 202210682566A CN 115002965 A CN115002965 A CN 115002965A
Authority
CN
China
Prior art keywords
gesture
main controller
sensor
sensors
led
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210682566.1A
Other languages
Chinese (zh)
Inventor
张尚超
戴辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Kairun Intelligent Lighting Co ltd
Original Assignee
Shenzhen Kairun Intelligent Lighting Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Kairun Intelligent Lighting Co ltd filed Critical Shenzhen Kairun Intelligent Lighting Co ltd
Priority to CN202210682566.1A priority Critical patent/CN115002965A/en
Publication of CN115002965A publication Critical patent/CN115002965A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/30Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a system for addressing an LED (light emitting diode) by non-contact direction identification and sliding control and a control method thereof, wherein the system comprises a sensor assembly, an LED lamp assembly and a main controller, the main controller is respectively connected with the sensor assembly and the LED lamp assembly, the LED lamp assembly comprises a plurality of LED lamps which are linearly distributed, the sensor assembly comprises a plurality of first sensors and a second sensor, the plurality of first sensors are linearly distributed, the plurality of first sensors and the second sensor are respectively used for receiving gesture signals and transmitting the gesture signals to the main controller, and the main controller is used for generating a first control instruction according to the gesture signals of the plurality of first sensors and generating a lamp switching instruction or a second control instruction according to the gesture signals of the second sensor so as to control the LED lamp assembly according to the first control instruction, the lamp switching instruction and the second control instruction. The invention realizes the local reduction and expansion of the light emitting area of the linear lighting lamp and also realizes the deformation of the position of the local light emitting area and the synchronous change along with the gesture position.

Description

System for non-contact direction identification and sliding control addressing of LED and control method thereof
Technical Field
The invention relates to the technical field of lighting equipment, in particular to a system for addressing an LED by non-contact direction identification and sliding control and a control method thereof.
Background
At present, the existing linear lighting lamp can adopt a reflective infrared sensor, a microwave distance measuring sensor or a camera for non-contact adjustment, but products adopting the technologies can only identify the left and right directions through single-gesture operation at present to realize the changes of the overall brightness, color, switch and other effects of the linear lighting lamp, so that a user cannot further enjoy local lighting and lighting atmosphere of the lighting lamp, and the experience effect is poor.
The above background disclosure is only for the purpose of assisting understanding of the concept and technical solution of the present invention and does not necessarily belong to the prior art of the present patent application, and should not be used for evaluating the novelty and inventive step of the present application in the case that there is no clear evidence that the above content is disclosed at the filing date of the present patent application.
Disclosure of Invention
In order to solve the technical problems, the invention provides a system for addressing an LED by non-contact direction identification and sliding control and a control method thereof, which can realize the change of local reduction and expansion of a light emitting area of a linear lighting lamp and can also realize the deformation of the position of the local light emitting area and the synchronous change along with the gesture position.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, the invention discloses a system for addressing LEDs by non-contact direction identification and sliding control, which comprises a sensor assembly, an LED lamp assembly and a main controller, the main controller is respectively connected with the sensor assembly and the LED lamp assembly, the LED lamp assembly comprises a plurality of LED lamps which are linearly distributed, the sensor assembly comprises a plurality of first sensors and a second sensor, the first sensors are linearly distributed, the first sensors and the second sensors are respectively used for receiving gesture signals and sending the gesture signals to the main controller, the main controller is used for generating a first control instruction according to the gesture signals of the plurality of first sensors, and is used for generating a light switching instruction or a second control instruction according to the gesture signal of the second sensor, so as to control the plurality of LED lamps which are distributed linearly according to the first control instruction, the lamp switching instruction and the second control instruction.
Preferably, the LED lamp assembly comprises M LED lamps distributed linearly, the sensor assembly comprises N first sensors, wherein M is larger than or equal to N, so that each first sensor corresponds to one or more LED lamps.
Preferably, the LED light fixture comprises a plurality of addressable LED lights distributed linearly.
Preferably, a plurality of the first sensors and the second sensors are infrared sensors, each of the first sensors includes an infrared emitting module and an infrared receiving module, and the second sensors includes an infrared emitting module and two infrared receiving modules.
In a second aspect, the present invention discloses a method of controlling the system of the first aspect, comprising the steps of:
s1: the main controller monitors whether a first valid gesture signal of the second sensor is received, if so, the step S2 is executed, and if not, the step S3 is executed;
s2: the main controller generates a lamp switching instruction and controls the LED lamp assembly to be switched on or switched off according to the lamp switching instruction, and then step S3 is executed;
s3: judging whether the LED lamp assembly is in a lamp-on state, if so, simultaneously executing steps S4 and S6, and if not, returning to the step S1;
s4: the main controller monitors whether gesture signals of a plurality of first sensors are received, if yes, the step S5 is executed, and if not, the step S1 is returned;
s5: judging whether the received gesture signals of the plurality of first sensors are effective, if so, generating a first control instruction and controlling the LED lamp component according to the first control instruction, and if not, returning to the step S1;
s6: the main controller monitors whether a second valid gesture signal of the second sensor is received, if yes, a second control instruction is generated and the LED lamp component is controlled according to the second control instruction, and if not, the step S1 is returned to.
Preferably, step S1 specifically includes: the second sensor judges whether a gesture moving along a first direction is collected or not, if yes, the second sensor sends a first effective gesture signal to the main controller, the main controller inquires the first effective gesture signal of the second sensor in an I2C communication mode, and then step S2 is executed, and if not, step S3 is executed.
Preferably, step S5 specifically includes:
s51: acquiring first gesture information, judging whether the duration of the acquired first gesture information is greater than or equal to a first preset time, if so, judging the first gesture information to be a valid signal, saving the current position of the first gesture information as the starting point of the first gesture information, and executing the step S52, otherwise, returning to the step S1;
s52: monitoring whether a second gesture signal is acquired within a second preset time after the first preset time, if so, executing step S53, otherwise, executing step S57;
s53: judging whether the duration time of the acquired second gesture information is greater than or equal to a third preset time, if so, judging the second gesture information to be an effective signal, saving the current position of the second gesture information as the starting point of the second gesture information, and then executing the step S54, otherwise, executing the step S57;
s54: judging the motion tracks of the first gesture information and the second gesture information, if the first gesture information and the second gesture information are relative motion or opposite motion, executing the step S55, and if the first gesture information and the second gesture information are equidirectional motion, returning to the step S51;
s55: respectively obtaining a first moving distance between a final drop point of the first gesture information and a starting point and a second moving distance between a final drop point of the second gesture information and the starting point, calculating a difference value between the first moving distance and the second moving distance, generating a conversion range instruction of a plurality of light emitting areas of the LED lamps in linear distribution according to the difference value between the first moving distance and the second moving distance, and executing the step S56, wherein if any one of the first gesture information and the second gesture information is released, returning to the step S1;
s56: the main controller synchronously adjusts the range of the light-emitting areas of the plurality of LED lamps according to the generated conversion range instructions of the light-emitting areas of the plurality of LED lamps which are linearly distributed;
s57: generating a position change instruction of a plurality of light emitting regions of the LED lamps distributed linearly according to a third moving distance between the current position of the first gesture information and the starting point, and performing step S58, during which if the gesture of the first gesture information is loose, returning to step S1;
s58: and the main controller synchronously adjusts the positions of the light emitting areas of the corresponding LED lamps according to the generated position change instructions of the light emitting areas of the linearly distributed LED lamps.
Preferably, the LED lamp assembly comprises a plurality of addressable LED lamps distributed linearly, wherein step S56 specifically comprises: the main controller sends addressable LED lamp control information according to the conversion range instructions of the light emitting areas of the plurality of linearly distributed LED lamps in an SPI single bus communication mode so as to synchronously adjust the light emitting area ranges of the plurality of linearly distributed addressable LED lamps; step S58 specifically includes: and the main controller sends addressable LED lamp control information according to the position change commands of the light emitting areas of the plurality of linearly distributed LED lamps in an SPI single bus communication mode so as to synchronously adjust the positions of the light emitting areas of the plurality of linearly distributed addressable LED lamps.
Preferably, step S6 specifically includes:
s61: the second sensor judges whether a gesture moving along the second direction or a gesture shielding hovering is acquired, if the gesture moving along the second direction exists, the step S62 is executed, if the gesture shielding hovering exists, the step S63 is executed, and if the gesture shielding hovering does not exist, the step S1 is returned;
s62: the second sensor sends a second A valid gesture signal to the main controller, the main controller inquires the second A valid gesture signal of the second sensor in an I2C communication mode, a mode changing instruction is generated, and the main controller synchronously adjusts the mode of the currently-lighted LED lamp assembly according to the mode changing instruction;
s63: and the second sensor sends a second B-effective gesture signal to the main controller, the main controller inquires the second B-effective gesture signal of the second sensor in an I2C communication mode, a brightness change instruction is generated, and the main controller synchronously adjusts the brightness of the LED lamp assembly which is currently luminous according to the brightness change instruction.
Preferably, step S63 specifically includes:
s631: judging whether the duration time of the shielding hovering gesture is greater than or equal to a fourth preset time, if so, executing a step S632, otherwise, returning to the step S1;
s632: the second sensor sends a second B effective gesture signal to the main controller, and the main controller inquires the second B effective gesture signal of the second sensor in an I2C communication mode, so that a brightness change instruction is generated;
s633: the main controller synchronously adjusts the brightness of the currently-emitting LED lamp assembly according to the brightness change instruction, meanwhile, the second sensor continuously judges whether the shielding hovering gesture is still acquired, if yes, the main controller continuously adjusts the brightness of the currently-emitting LED lamp assembly according to the brightness change instruction, and if not, the main controller stops adjusting the brightness of the currently-emitting LED lamp assembly.
Compared with the prior art, the invention has the beneficial effects that: according to the system for identifying the direction and controlling the addressing LED in the sliding mode in the non-contact mode and the control method thereof, the gesture signals are collected through the cooperation of the first sensors and the second sensor to control the LED lamps, the change of local reduction and expansion of the light emitting area of the linear lighting lamp is realized, the change of the position of the local light emitting area and the synchronous change of the position of the gesture are also realized, and the like, so that a user can enjoy local lighting and lighting atmosphere of light instead of overall lighting, gestures in the system can be quickly adjusted and can synchronously interact, and the user experience effect is greatly improved.
Drawings
FIG. 1 is a schematic diagram of the structure of a system for non-contact direction identification and sliding control addressing of LEDs in accordance with a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of the sensor assembly of FIG. 1 collecting a gesture signal;
FIG. 3 is a schematic view of the LED lamp assembly of FIG. 1 with the light emitting area enlarged and reduced and the light emitting area moved as a whole;
fig. 4 is a flow chart of a control method of the system for non-contact recognition of direction and slide control addressing of LEDs in accordance with a preferred embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in detail below. It should be emphasized that the following description is merely exemplary in nature and is not intended to limit the scope of the invention or its application.
It will be understood that when an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or be indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or be indirectly connected to the other element. In addition, the connection may be for either a fixed function or a circuit/signal communication function.
It is to be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for convenience in describing the embodiments of the present invention and to simplify the description, and are not intended to indicate or imply that the referenced device or element must have a particular orientation, be constructed in a particular orientation, and be in any way limiting of the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present invention, "a plurality" means two or more unless specifically limited otherwise.
With the development of the technology, the demands of users on the lighting lamp are more and more diversified, and the existing linear lighting lamp can only realize the effect change of the whole lighting lamp, can not realize the change of local reduction and expansion of the light emitting area of the linear lighting lamp, and can not realize the deformation of the position of the local light emitting area and the synchronous change along with the gesture position, so that the local lighting and the lighting atmosphere of the light can not be enjoyed. The inventor researches and discovers that the currently adopted reflective infrared sensor technology generally adopts a single sensor, a common LED is adopted as a light source, and an operation instruction is single, so that more interaction effects of gestures and light cannot be presented.
In order to solve the problems, the invention adopts N + X sensors to realize the gesture linkage effect by matching with an addressable LED combination mode, wherein N represents that N sensors are linearly distributed to realize the change of a double-hand gesture command and a single-hand gesture command to synchronize the light area, and X represents 1 left-right direction sensor to realize the switching of the light brightness, color or dynamic mode and the switch state.
As shown in fig. 1, one embodiment of the present invention discloses a system for non-contact direction identification and sliding control of an addressed LED, comprising a sensor assembly 10, an LED lamp assembly 20 and a main controller 30, wherein the main controller 30 is respectively connected with the sensor assembly 10 and the LED lamp assembly 20, specifically, the sensor assembly 10 is connected with an input end of the main controller 30 through an I2C bus, and the LED assembly 20 is connected with an output end of the main controller 30 through an SPI bus. The LED lamp assembly 20 includes a plurality of LED lamps 21 distributed linearly, the sensor assembly 10 includes a plurality of first sensors 11 and a second sensor 12, the plurality of first sensors 11 are distributed linearly, the plurality of first sensors 11 and the second sensor 12 are respectively configured to receive a gesture signal and send the gesture signal to the main controller 30, the main controller 30 is configured to generate a first control command according to the gesture signal of the plurality of first sensors 11, and is configured to generate a lamp turning-on/off command or a second control command according to the gesture signal of the second sensor 12, so as to control the plurality of LED lamps 21 distributed linearly according to the first control command, the lamp turning-on/off command and the second control command.
In the embodiment, the LED lamp assembly 20 includes M LED lamps 21(LED Pixel 1 to LED Pixel M), where each LED lamp 21 is an addressable LED lamp, the LED lamp belongs to a Pixel LED, and single-point control can be realized, and the translation of the light emitting position of the lamp light can be realized by matching with the sensor assembly 10, and is smooth transition, rather than jump transition, which cannot be achieved by a common LED.
The Sensor assembly 10 includes N first sensors 11(Sensor 1-Sensor N) and one second Sensor 12(X Sensor), where M ≧ N such that each first Sensor 11 corresponds to one or more LED lamps 21. The operation principle of the plurality of first sensors 11 and the plurality of second sensors 12 are the same, and all the first sensors 11 and the second sensors 12 adopt infrared sensors, and are distinguished by adopting infrared reflection reception, wherein each first sensor 11 comprises an infrared emission module (IR) and an Infrared Reception Module (IRM), so that two adjacent first sensors 11 are required to be integrated to judge the direction of the gesture movement, and the second sensors 12 comprise an infrared emission module (IR) and two Infrared Reception Modules (IRM), so that the direction of the gesture movement can be judged by a single second sensor 12.
In the system for non-contact direction identification and sliding control addressing of the LEDs, which is provided by the preferred embodiment of the invention, the whole system framework is composed of an N + X sensor, M addressable LEDs and a main controller, the IR sensor is used as an acquisition unit of gesture signals, an I2C bus is used as an input communication mode, and an SPI bus is used as an output communication mode. In the effective distance range in front of the sensor, displacement and orientation signals generated by gesture shielding are used as synchronous signals of the light state and the effect, and the interaction effect of light and gestures is formed.
As shown in fig. 2, the input unit adopts N first sensors 11 in linear distribution, collects motion trajectory information of two-gesture shielding and simultaneous back-and-forth translation operation (opposite motion or relative motion) as a synchronization instruction for enlarging or reducing the lighting area, or a synchronization instruction for moving a position sensor hovering between 1 st to N first sensors 11 as an adjusted lighting area position by single-gesture shielding; the input unit also adopts a second sensor 12 (an X-type directional sensor) to acquire a single-gesture shielding left and right translation signal as a synchronous signal for switching the light color or dynamic mode and switching, or the single-gesture shielding hovering on the X-type sensor takes the hovering duration as a total brightness change signal. Wherein the N first sensors 11 and the second sensor 12 are associated with each other, the state of the switch switching signal of the second sensor 12 is a precondition for the operation of the N first sensors 11, and the N first sensors 11 can control the LED lamp assembly only when the switch of the second sensor 12 switches the LED lamp assembly to the on state.
As shown in fig. 3, the 1 st to M-th LED lamps 21 (which are addressable LED lamps) are synchronized with and proportionally changed with the gesture signals generated by the 1 st to N-th first sensors 11 shown in fig. 2, and include the effects of expanding and contracting the light-emitting area and translating left and right. Changes are made in synchronism with the gesture signal formed by the second sensor 12 (X-directional sensor) in fig. 2, including brightness, color or dynamic mode of the light emitting area, and on-off state adjustment and switching.
As shown in fig. 4, another preferred embodiment of the present invention discloses a method for controlling the above system, comprising the steps of:
s1: the main controller 30 monitors whether the first valid gesture signal of the second sensor 12 is received, and if so, performs the step S2, and if not, performs the step S3;
specifically, step S1 includes: the second sensor 12 determines whether a gesture moving in a first direction (e.g., a gesture moving from left to right or a gesture moving from right to left) is detected, if so, the second sensor 12 sends a first valid gesture signal to the main controller 30, and the main controller 30 queries the first valid gesture signal of the second sensor 12 in an I2C communication manner, and then executes step S2, otherwise, executes step S3.
In this step, the main controller 30 continuously queries the status of the second sensor 12 in the I2C communication manner, and generates a light switching command when detecting that the second sensor has collected a gesture of moving in the first direction.
S2: the main controller 30 generates a light switching instruction and controls the LED light assembly 20 to turn on or off according to the light switching instruction, and then performs step S3;
s3: the main controller 30 judges whether the LED lamp assembly 20 is in the on state, and if so, performs steps S4 and S6 simultaneously, and if not, returns to step S1;
s4: the main controller 30 monitors whether gesture signals of a plurality of first sensors 11 are received, and if so, performs step S5, and if not, returns to step S1;
in this step, the main controller 30 starts to sequentially query the feedback information of the 1 st to nth first sensors in a round-robin manner in the light-on state, so as to monitor whether the gesture signals of the plurality of first sensors 11 are received.
S5: the main controller 30 determines whether the received gesture signals of the plurality of first sensors 11 are valid, and if yes, generates a first control command and controls the LED lamp assembly 20 according to the first control command, and if not, returns to step S1;
specifically, step S5 includes:
s51: collecting first gesture information, judging whether the duration of the collected first gesture information is greater than or equal to a first preset time T1, if so, judging the first gesture information to be a valid signal, saving the current position of the first gesture information as the starting point of the first gesture information, and executing the step S52, otherwise, returning to the step S1;
in this step, whether the first gesture information is a valid signal is determined by determining whether the duration of the first gesture information is greater than or equal to a first preset time T1, so as to prevent misoperation.
S52: monitoring whether a second gesture signal is acquired within a second preset time T2 after the first preset time T1, if so, executing the step S53, otherwise, executing the step S57;
s53: judging whether the duration of the acquired second gesture information is greater than or equal to a third preset time T3, if so, judging the second gesture information to be an effective signal, saving the current position of the second gesture information as the starting point of the second gesture information, and then executing the step S54, otherwise, executing the step S57;
the third preset time T3 in this step may be the same as the first preset time T1, and it is determined whether the second gesture information is a valid signal by determining whether the duration of the second gesture information is greater than or equal to the third preset time T3, so as to prevent misoperation.
S54: judging the motion tracks of the first gesture information and the second gesture information, if the first gesture information and the second gesture information are relative motion or opposite motion, judging the first gesture information as an effective signal and executing the step S55, and if the first gesture information and the second gesture information are equidirectional motion, judging the first gesture information and the second gesture information as an ineffective signal and returning to the step S51;
in this step, when the motion trajectories of the first gesture information and the second gesture information are determined, if the motion trajectories are a static and a dynamic relative motion (approaching motion) or an opposite motion (departing motion), or two simultaneous dynamic relative motions (approaching motion) or an opposite motion (departing motion), the determination is made as an active signal and step S55 is performed, and if the motion trajectories are simultaneous dynamic equidirectional motions, the determination is made as an inactive signal and the step S51 is returned to;
s55: respectively obtaining a first moving distance between a final drop point of the first gesture information and the starting point and a second moving distance between a final drop point of the second gesture information and the starting point, calculating a difference value between the first moving distance and the second moving distance, generating a conversion range instruction of light emitting areas of the plurality of LED lamps in linear distribution according to the difference value between the first moving distance and the second moving distance, and executing the step S56, wherein if any one of the first gesture information and the second gesture information is loosened, returning to the step S1;
specifically, the conversion range of the light emitting region corresponding to the conversion range command of the light emitting regions of the plurality of linearly distributed LED lamps is generated in proportion to the absolute value of the difference between the first moving distance and the second moving distance, that is, the larger the absolute value of the difference between the first moving distance and the second moving distance is, the larger the conversion range of the light emitting region is, and the smaller the absolute value of the difference between the first moving distance and the second moving distance is, the smaller the conversion range of the light emitting region is. When the first gesture information and the second gesture information are in relative motion, the conversion range of the corresponding light-emitting area is in reduction conversion, and when the first gesture information and the second gesture information are in opposite motion, the conversion range of the corresponding light-emitting area is in expansion conversion.
Taking the first gesture information (left hand gesture) moving 1 unit to the left, the second gesture information (right hand gesture) moving 3 units to the right as an example, that is, the final landing point of the first gesture information is on the left side of the starting point, the first moving distance may be a negative value, that is, -1 unit, the final landing point of the second moving distance is on the right side of the starting point, the second moving distance may be a positive value, that is, 3 units, the difference between the first moving distance and the second moving distance is calculated as the second moving distance, that is, the first moving distance is 4 units, and since the first gesture information and the second gesture information are opposite motions, the expansion range command of the light emitting region should be generated, and the expansion range command of the light emitting region corresponding to the moving distance of 4 units is generated.
Taking the first gesture information (left hand gesture) moving 2 units to the right, the second gesture information (right hand gesture) moving 4 units to the left as an example, that is, the final landing point of the first gesture information is on the left side of the starting point, the first moving distance may be a positive value, that is, 2 units, the final landing point of the second moving distance is on the right side of the starting point, the second moving distance may be a negative value, that is, 4 units, the difference between the first moving distance and the second moving distance is calculated as the second moving distance, that is, the first moving distance is-6 units, and since the first gesture information and the second gesture information are relative motions, the reduction range command of the light emitting region should be generated correspondingly, and the reduction range command of the light emitting region corresponding to the moving distance of 6 units is generated correspondingly.
S56: the main controller 30 synchronously adjusts the range of the light emitting areas of the corresponding LED lamps according to the generated conversion range instruction of the light emitting areas of the linearly distributed LED lamps; specifically, the main controller 30 sends addressable LED lamp control information according to the conversion range command of the light emitting areas of the plurality of linearly distributed LED lamps in the SPI single bus communication manner, so as to synchronously adjust the light emitting area ranges of the plurality of linearly distributed addressable LED lamps;
in this step, the master controller 30 sends addressable LED lamp control information in SPI single bus communication to synchronously adjust the range of the light emitting area of the LED lamp assembly 20.
S57: generating a position change instruction of light emitting regions of the plurality of LED lamps linearly distributed according to a third moving distance between the current position of the first gesture information and the starting point, and performing step S58, during which if the gesture of the first gesture information is loose, returning to step S1;
the generated position change instruction of the light emitting areas of the plurality of LED lamps in the linear distribution is to move all current LED lamps by a predetermined distance, where the predetermined distance is proportional to a third moving distance between the current position of the first gesture information and the starting point, that is, the larger the third moving distance between the current position of the first gesture information and the starting point is, the longer the predetermined distance is, the smaller the third moving distance between the current position of the first gesture information and the starting point is, the shorter the predetermined distance is, and the moving direction of all the light emitting LED lamps should be the same as the direction of the third moving distance between the current position of the first gesture information and the starting point.
S58: the main controller 30 synchronously adjusts the positions of the light emitting areas of the plurality of LED lamps according to the generated position change instructions of the light emitting areas of the plurality of LED lamps in linear distribution; specifically, the main controller 30 sends addressable LED lamp control information according to the position change command of the light emitting areas of the plurality of linearly distributed LED lamps in the SPI single bus communication manner, so as to synchronously adjust the positions of the light emitting areas of the plurality of linearly distributed addressable LED lamps;
in this step, the master controller 30 sends addressable lamp control information in SPI single bus communication to synchronously adjust the position of the light emitting area of the LED lamp assembly 20.
By the step S5, when the LED lamp assembly is in the on state, by receiving gesture signals of the first sensors, when a double-gesture operation is monitored, the light emitting areas of the LED lamps can be controlled to be reduced or enlarged according to the relative movement or the opposite movement of the double gestures, specifically, when the double gestures perform the relative movement, the light emitting areas of the LED lamps are reduced, and when the double gestures perform the opposite movement, the light emitting areas of the LED lamps are enlarged, wherein the reduction or enlargement ratio of the light emitting areas is proportional to the distance of the relative movement or the opposite movement of the double gestures; when the single-gesture operation is monitored, the moving position of the light emitting areas of the plurality of LED lamps can be controlled according to the moving position of the single gesture, and specifically, for example, the single gesture moves to the right by one unit distance, the light emitting areas of the plurality of LED lamps also move to the right by one unit distance, the single gesture moves to the left by one unit distance, and the light emitting areas of the plurality of LED lamps also move to the left by one unit distance, wherein the moving distance of the light emitting areas is proportional to the moving distance of the single gesture.
S6: the main controller 30 monitors whether a second valid gesture signal of the second sensor is received, and if so, generates a second control command and controls the LED lamp assembly according to the second control command, and if not, returns to step S1.
Specifically, step S6 includes:
s61: the second sensor determines whether a gesture moving in a second direction (for example, a gesture moving from right to left, or a gesture moving from left to right, but it should be noted that the second direction is different from the first direction, for example, the second direction is opposite to the first direction) or an occlusion hovering gesture is acquired, if there is a gesture moving in the second direction, step S62 is executed, if there is an occlusion hovering gesture, step S63 is executed, and if none of them is detected, step S1 is returned;
in this embodiment, the second effective gesture signal includes a second a effective gesture signal generated when the second sensor acquires the gesture moving along the second direction and a second B effective gesture signal generated when the second sensor acquires the gesture blocking the hovering gesture.
S62: the second sensor sends a second a valid gesture signal to the main controller 30, the main controller 30 queries the second a valid gesture signal of the second sensor in an I2C communication manner, a mode change instruction is generated, and the main controller 30 synchronously adjusts the mode of the currently-illuminated LED lamp assembly according to the mode change instruction;
s63: the second sensor sends a second B-active gesture signal to the main controller 30, the main controller 30 queries the second B-active gesture signal of the second sensor in an I2C communication manner, and then generates a brightness change instruction, and the main controller 30 synchronously adjusts the brightness of the currently-illuminated LED lamp assembly according to the brightness change instruction;
wherein, step S63 specifically includes:
s631: judging whether the duration of the shielding hovering gesture is greater than or equal to a fourth preset time T4, if so, executing a step S632, otherwise, returning to the step S1;
s632: the second sensor 12 sends a second B valid gesture signal to the main controller 30, and the main controller 30 queries the second B valid gesture signal of the second sensor 12 in an I2C communication manner, and generates a brightness change instruction;
s633: the main controller 30 synchronously adjusts the brightness of the currently-emitting LED lamp assembly 20 according to the brightness change instruction, and meanwhile, the second sensor 12 continuously judges whether the shielding hovering gesture is still acquired, and if so, the main controller 30 continuously adjusts the brightness of the currently-emitting LED lamp assembly 20 according to the brightness change instruction; if not, the main controller 30 stops adjusting the brightness of the currently-illuminated LED lamp assembly 20;
in this step, the second sensor 12 continuously adjusts the brightness of the currently-illuminated LED lamp assembly 20 according to the collected duration of the gesture for shielding hovering, in a specific example, the brightness of the LED lamp assembly 20 is a round-trip conversion operation from bright to dark and then from dark to bright, or from dark to bright and then from bright to dark, and specifically, the brightness of the LED lamp assembly 20 is changed from bright to dark first or from dark to dark first, which may be opposite to the previous conversion, and is similar to a light-on/off instruction (the previous light-off instruction corresponds to a next light-on instruction, and the previous light-on instruction corresponds to a next light-off instruction), that is, the brightness of the LED lamp assembly is changed from bright to dark and then from bright to bright when the previous light-on instruction ends, and the round-trip conversion operation is changed from dark to bright when the previous light-on instruction ends, and the bright to dark is changed from bright to dark when the next light-off instruction corresponds to dark.
By the step S6, when the LED lamp assembly is in the on state, the LED lamp assembly is controlled to switch between the multiple colors and the multiple dynamic modes by receiving a second effective gesture signal of the second sensor, where the second effective gesture signal includes a second a effective gesture signal and a second B effective gesture signal, and corresponds to a gesture acquired by the second sensor to move along the second direction and a signal generated when the second sensor shields the hovering gesture, respectively, where the second sensor acquires the gesture acquired by the second sensor to move along the second direction, that is, when the main controller receives the second a effective gesture signal; and when the second sensor acquires the shielding hovering gesture, namely the main controller receives a second B effective gesture signal, the brightness of the LED lamp assembly is controlled to be changed from bright to dark to bright from dark, or from dark to bright from bright to dark, so that the operation of changing back and forth is performed.
The gesture called in the embodiment of the invention is not a real gesture or a shape, is a shielding reflection signal of only one hand, does not need to judge whether the hand is the left hand or the right hand, and only needs to judge whether the hand is one gesture information or two gesture information.
Based on the system for identifying the direction and controlling the addressing LED in the non-contact mode in the sliding mode and the control method, local reduction and expansion of the light emitting area of the linear lighting lamp are changed, the position of the local light emitting area is changed, synchronous change along with the position of a gesture is achieved, and the like, so that a user can enjoy local lighting and lighting atmosphere of light instead of overall lighting, gestures in the system can be adjusted quickly and can interact synchronously, and the user experience effect is greatly improved.
The background of the invention may contain background information related to the problem or environment of the present invention rather than the prior art described by others. Accordingly, the inclusion in the background section is not an admission of prior art by the applicant.
The foregoing is a more detailed description of the invention in connection with specific/preferred embodiments and is not intended to limit the practice of the invention to those descriptions. It will be apparent to those skilled in the art that numerous alterations and modifications can be made to the described embodiments without departing from the inventive concepts herein, and such alterations and modifications are to be considered as within the scope of the invention. In the description herein, references to the description of the term "one embodiment," "some embodiments," "preferred embodiments," "an example," "a specific example," or "some examples" or the like are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction. Although embodiments of the present invention and their advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the scope of the invention as defined by the appended claims.

Claims (10)

1. A system for addressing LEDs by non-contact direction identification and sliding control is characterized by comprising a sensor assembly, an LED lamp assembly and a main controller, the main controller is respectively connected with the sensor assembly and the LED lamp assembly, the LED lamp assembly comprises a plurality of LED lamps which are linearly distributed, the sensor assembly comprises a plurality of first sensors and a second sensor, the first sensors are linearly distributed, the first sensors and the second sensors are respectively used for receiving gesture signals and sending the gesture signals to the main controller, the main controller is used for generating a first control instruction according to the gesture signals of the plurality of first sensors, and is used for generating a light switching instruction or a second control instruction according to the gesture signal of the second sensor, so as to control the plurality of LED lamps which are distributed linearly according to the first control instruction, the lamp switching instruction and the second control instruction.
2. The system of claim 1, wherein the LED light assembly comprises M of the LED lights in a linear distribution, the sensor assembly comprises N of the first sensors, wherein M ≧ N such that each of the first sensors corresponds to one or more LED lights.
3. The system of claim 1, wherein the LED light fixture comprises a plurality of addressable LED lights distributed linearly.
4. The system according to claim 1, wherein a plurality of said first sensors and said second sensors are infrared sensors, and each of said first sensors comprises an infrared emitting module and an infrared receiving module, and said second sensors comprises an infrared emitting module and two infrared receiving modules.
5. A method of controlling the system of any one of claims 1 to 4, comprising the steps of:
s1: the main controller monitors whether a first valid gesture signal of the second sensor is received, if so, the step S2 is executed, and if not, the step S3 is executed;
s2: the main controller generates a lamp switching instruction and controls the LED lamp assembly to be switched on or switched off according to the lamp switching instruction, and then step S3 is executed;
s3: judging whether the LED lamp assembly is in a lamp-on state, if so, simultaneously executing steps S4 and S6, and if not, returning to the step S1;
s4: the main controller monitors whether gesture signals of a plurality of first sensors are received, if yes, the step S5 is executed, and if not, the step S1 is returned;
s5: judging whether the received gesture signals of the plurality of first sensors are effective, if so, generating a first control instruction and controlling the LED lamp component according to the first control instruction, and if not, returning to the step S1;
s6: the main controller monitors whether a second valid gesture signal of the second sensor is received, if yes, a second control instruction is generated and the LED lamp component is controlled according to the second control instruction, and if not, the step S1 is returned to.
6. The method according to claim 5, wherein step S1 specifically comprises: the second sensor judges whether a gesture moving along a first direction is collected or not, if yes, the second sensor sends a first effective gesture signal to the main controller, the main controller inquires the first effective gesture signal of the second sensor in an I2C communication mode, and then step S2 is executed, and if not, step S3 is executed.
7. The method according to claim 5, wherein step S5 specifically comprises:
s51: collecting first gesture information, judging whether the duration of the collected first gesture information is greater than or equal to a first preset time, if so, judging the first gesture information to be a valid signal, saving the current position of the first gesture information as the starting point of the first gesture information, and executing the step S52, otherwise, returning to the step S1;
s52: monitoring whether a second gesture signal is acquired within a second preset time after the first preset time, if so, executing step S53, otherwise, executing step S57;
s53: judging whether the duration time of the acquired second gesture information is greater than or equal to a third preset time, if so, judging the second gesture information to be an effective signal, saving the current position of the second gesture information as the starting point of the second gesture information, and then executing the step S54, otherwise, executing the step S57;
s54: judging the motion tracks of the first gesture information and the second gesture information, if the first gesture information and the second gesture information are relative motion or opposite motion, executing the step S55, and if the first gesture information and the second gesture information are equidirectional motion, returning to the step S51;
s55: respectively obtaining a first moving distance between a final drop point of the first gesture information and a start point and a second moving distance between a final drop point of the second gesture information and a start point, calculating a difference value between the first moving distance and the second moving distance, generating a conversion range command of a plurality of light emitting areas of the LED lamps in linear distribution according to the difference value between the first moving distance and the second moving distance, and executing step S56, wherein if any one of the first gesture information and the second gesture information is loose, returning to step S1;
s56: the main controller synchronously adjusts the range of the light-emitting areas of the plurality of LED lamps according to the generated conversion range instructions of the light-emitting areas of the plurality of LED lamps which are linearly distributed;
s57: generating a position change instruction of a plurality of light emitting regions of the LED lamps linearly distributed according to a third moving distance between the current position of the first gesture information and the starting point, and performing step S58, during which if the gesture of the first gesture information is loose, returning to step S1;
s58: and the main controller synchronously adjusts the positions of the light emitting areas of the corresponding LED lamps according to the generated position change instructions of the light emitting areas of the linearly distributed LED lamps.
8. The method of claim 7, wherein the LED lamp assembly comprises a plurality of addressable LED lamps distributed linearly, wherein step S56 specifically comprises: the main controller sends addressable LED lamp control information according to the conversion range instructions of the light emitting areas of the plurality of linearly distributed LED lamps in an SPI single bus communication mode so as to synchronously adjust the light emitting area ranges of the plurality of linearly distributed addressable LED lamps; step S58 specifically includes: and the main controller sends addressable LED lamp control information according to the position change commands of the light emitting areas of the plurality of linearly distributed LED lamps in an SPI single bus communication mode so as to synchronously adjust the positions of the light emitting areas of the plurality of linearly distributed addressable LED lamps.
9. The method according to claim 5, wherein step S6 specifically comprises:
s61: the second sensor judges whether a gesture moving along the second direction or a gesture blocking hovering is collected, if the gesture moving along the second direction exists, the step S62 is executed, if the gesture blocking hovering exists, the step S63 is executed, and if the gesture blocking hovering does not exist, the step S1 is returned;
s62: the second sensor sends a second A valid gesture signal to the main controller, the main controller inquires the second A valid gesture signal of the second sensor in an I2C communication mode, a mode changing instruction is generated, and the main controller synchronously adjusts the mode of the currently-lighted LED lamp assembly according to the mode changing instruction;
s63: and the second sensor sends a second B valid gesture signal to the main controller, the main controller inquires the second B valid gesture signal of the second sensor in an I2C communication mode, a brightness change instruction is generated, and the main controller synchronously adjusts the brightness of the LED lamp assembly which is currently luminous according to the brightness change instruction.
10. The method according to claim 9, wherein step S63 specifically includes:
s631: judging whether the duration time of the shielding hovering gesture is greater than or equal to a fourth preset time, if so, executing a step S632, otherwise, returning to the step S1;
s632: the second sensor sends a second B effective gesture signal to the main controller, and the main controller inquires the second B effective gesture signal of the second sensor in an I2C communication mode, so that a brightness change instruction is generated;
s633: the main controller synchronously adjusts the brightness of the LED lamp assembly which is currently luminous according to the brightness change instruction, meanwhile, the second sensor continuously judges whether the shielding hovering gesture is still acquired, if so, the main controller continuously adjusts the brightness of the LED lamp assembly which is currently luminous according to the brightness change instruction, and if not, the main controller stops adjusting the brightness of the LED lamp assembly which is currently luminous.
CN202210682566.1A 2022-06-16 2022-06-16 System for non-contact direction identification and sliding control addressing of LED and control method thereof Pending CN115002965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210682566.1A CN115002965A (en) 2022-06-16 2022-06-16 System for non-contact direction identification and sliding control addressing of LED and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210682566.1A CN115002965A (en) 2022-06-16 2022-06-16 System for non-contact direction identification and sliding control addressing of LED and control method thereof

Publications (1)

Publication Number Publication Date
CN115002965A true CN115002965A (en) 2022-09-02

Family

ID=83034600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210682566.1A Pending CN115002965A (en) 2022-06-16 2022-06-16 System for non-contact direction identification and sliding control addressing of LED and control method thereof

Country Status (1)

Country Link
CN (1) CN115002965A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117478119A (en) * 2023-12-27 2024-01-30 深圳市华腾智能科技有限公司 Intelligent switch panel controlled by finger dividing area and control method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117478119A (en) * 2023-12-27 2024-01-30 深圳市华腾智能科技有限公司 Intelligent switch panel controlled by finger dividing area and control method thereof
CN117478119B (en) * 2023-12-27 2024-04-16 深圳市华腾智能科技有限公司 Intelligent switch panel controlled by finger dividing area and control method thereof

Similar Documents

Publication Publication Date Title
US9301372B2 (en) Light control method and lighting device using the same
US20170245348A1 (en) Communication system for adaptive lighting control
CN103327680B (en) With the intelligent illuminating system of multiple lamps and the method that operates this illuminator
US8050547B2 (en) Device and process for uniformly lighting an operating area
US20150345762A1 (en) Directional lighting
CN115002965A (en) System for non-contact direction identification and sliding control addressing of LED and control method thereof
US20130241420A1 (en) Dynamic lighting control
US20170094742A1 (en) Dimmer, detector, lighting control system, controller, and apparatus control system
WO2012102219A1 (en) Lighting device and lighting system
WO2008135942A1 (en) Lighting device and control method
EP2742777B1 (en) Auto commissioning and energy saving lighting system
CN1675600A (en) Electrical appliance
JP2020038833A (en) Method and apparatus for controlling lighting units based on measured force and/or movement of associated luminaires
CN109188929A (en) A kind of Multimode Intelligent scenery control system
JP2014186964A (en) Illumination control system and illumination control method
JP5777366B2 (en) Lighting control system
KR101665559B1 (en) Method and apparatus for controlling LED lights
CN104184952A (en) Optical detection device and synchronization adjustment method thereof
CN110657385A (en) Lamp and electronic equipment
CN104640318A (en) Intelligent toilet lighting system and control method
CN113056064A (en) Adjusting method and adjusting system of intelligent lamp
CN116390295A (en) Dimming control circuit, dimming control method and lighting system
JP4668253B2 (en) Lighting system
CN212411073U (en) Follow spot lamp automatic control system
CN208937935U (en) A kind of Multimode Intelligent scenery control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination