Lighting linkage method, main control apparatus for lighting control, and lighting control system
Patent Information
- Application Number
- TW114111074
- Authority / Receiving Office
- TW · TW
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2024-04-23
- Filing Date
- 2025-03-25
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2045-03-24
AI Technical Summary
Existing technologies fail to effectively integrate and synchronize the interaction between devices, specifically in the field of lighting control systems, as they lack the ability to establish spatial relationships between light-emitting devices, resulting in unnatural and non-smooth lighting effects.
A lighting control system that utilizes wireless signals to measure the relative positions of light-emitting devices, enabling coordinated lighting effects by establishing spatial relationships and controlling lighting elements based on these positions.
The system achieves natural and smooth lighting effects by synchronizing the lighting elements across multiple devices, enhancing user experience through immersive and personalized lighting interactions.
Smart Images

Figure TWG2TB001908756_001 
Figure TWG2TB001908756_002 
Figure TWG2TB001908756_003
Abstract
Description
Technical Field
[0001] This invention relates to a lighting control technology, and more particularly to a lighting linkage method, a main control device for lighting control, and a lighting control system. Prior Technology
[0002] In recent years, users of electronic devices have increasingly valued personalized and immersive experiences. To meet this demand, many electronic device manufacturers have begun incorporating lighting elements into their products (e.g., keyboards, mice, monitors, and computer mainframes). Users can also adjust the lighting colors and patterns of these devices through software.
[0003] However, existing lighting control systems have some drawbacks: (1) Interaction between a single host and peripheral devices: Existing technologies mainly focus on the lighting interaction between a single host and its peripheral devices. For example, although users can control the lighting effects of the host and peripheral devices (e.g., mouse, keyboard, screen), there is a lack of lighting linkage between hosts. (2) Lack of spatial relationship: Existing technology usually does not take into account the spatial relationship between light-emitting devices, resulting in the light effect not being natural and smooth enough. Summary of the Invention
[0004] This invention provides a lighting linkage method, a main control device for lighting control, and a lighting control system, which realizes lighting linkage between main units and establishes spatial position relationships.
[0005] The main control device for lighting control in this embodiment of the invention includes (but is not limited to) a communication transceiver and a processor. The communication transceiver is used to transmit or receive signals. The processor is coupled to the communication transceiver and configured to: obtain information about the relative positions of a reference device and one or more light-emitting devices via the communication transceiver. The relative positions of the reference device and the one or more light-emitting devices are measured via wireless signals. The reference device and the light-emitting devices are connected using a communication protocol corresponding to the wireless signals, and each light-emitting device includes one or more lighting elements.
[0006] The lighting linkage method of this invention includes (but is not limited to) the following steps: measuring the relative position of a reference device and one or more light-emitting devices via wireless signals, wherein the reference device and the light-emitting devices are connected using a communication protocol corresponding to the wireless signals, and each light-emitting device includes one or more light elements. The light elements of the light-emitting devices are controlled according to the relative position of the reference device and the light-emitting devices.
[0007] The lighting control system of this invention includes the above-mentioned main control device and one or more light-emitting devices.
[0008] Based on the above, the lighting linkage method, the main control device for lighting control, and the lighting control system of this invention use wireless signals to measure position. Therefore, the lighting elements of the light-emitting devices at corresponding positions can be controlled based on the position measurement results, and the lighting elements of multiple light-emitting devices can be linked together.
[0009] To make the above features and advantages of the present invention more apparent and understandable, specific embodiments are described below in conjunction with the accompanying drawings for detailed explanation. Simple Explanation of the Diagram
[0010] Figure 1 is a block diagram of a lighting control system according to an embodiment of the present invention. Figure 2A is a schematic diagram illustrating the relative positions of the host device in a lighting control system according to an embodiment of the present invention. Figure 2B is a schematic diagram illustrating the relative positions of the main unit and peripheral units in a lighting control system according to an embodiment of the present invention. Figure 3 is a flowchart of a lighting linkage method according to an embodiment of the present invention. Figure 4 is a flowchart of positioning according to an embodiment of the present invention. Figure 5 is a flowchart of color determination according to an embodiment of the present invention. Figure 6 is a schematic diagram of a color distribution definition according to an embodiment of the present invention. Figure 7A is a schematic diagram of the color distribution in a virtual space according to an embodiment of the present invention. Figure 7B is a schematic diagram of the color distribution in a virtual space according to an embodiment of the present invention. Figure 7C is a schematic diagram of the color distribution in a virtual space according to an embodiment of the present invention. Figure 8 is a schematic diagram of the color sequence at multiple time points according to an embodiment of the present invention. Figure 9A is a schematic diagram of the lighting effect at a specific time point according to an embodiment of the present invention. Figure 9B is a schematic diagram of the lighting effect at another point in time according to an embodiment of the present invention. Figure 9C is a schematic diagram illustrating the lighting effects at multiple points in time in a virtual space according to an embodiment of the present invention. Figure 9D is a schematic diagram illustrating the lighting effects at multiple points in time in a virtual space according to an embodiment of the present invention. Figure 9E is a schematic diagram illustrating the lighting effects at multiple points in time in a virtual space according to an embodiment of the present invention. Figure 10 is a flowchart of a lighting linkage method for a new position according to an embodiment of the present invention. Figure 11 is a schematic diagram illustrating the use of virtual space according to an embodiment of the present invention. Figure 12 is a schematic diagram illustrating the color distribution of a scaled-down virtual space according to an embodiment of the present invention. Figure 13 is a schematic diagram illustrating the color distribution of a scaled-down virtual space according to an embodiment of the present invention. Figure 14 is a schematic diagram illustrating the color distribution of an enlarged virtual space according to an embodiment of the present invention. Figure 15 is a schematic diagram illustrating origin update according to an embodiment of the present invention. Figure 16 is a schematic diagram illustrating origin update according to another embodiment of the present invention. Figure 17 is a flowchart of a diffusion linkage method according to an embodiment of the present invention. Figure 18 is a schematic diagram of a color distribution definition based on user instructions according to an embodiment of the present invention. Figure 19 is a schematic diagram of user instructions according to an embodiment of the present invention. Figure 20A is a schematic diagram illustrating the color distribution of the diffusion region at the initial time point according to an embodiment of the present invention. Figure 20B is a schematic diagram illustrating the color distribution of the diffusion region at another point in time according to an embodiment of the present invention. Figure 20C is a schematic diagram illustrating the color distribution of the diffusion region at another point in time according to an embodiment of the present invention. Figure 21A is a schematic diagram illustrating the color distribution of the diffusion region at another point in time according to an embodiment of the present invention. Figure 21B is a schematic diagram illustrating the color distribution of the diffusion region at the maximum diffusion time point according to an embodiment of the present invention. Implementation
[0011] Figure 1 is a block diagram of a lighting control system 1 according to an embodiment of the present invention. Referring to Figure 1, the lighting control system 1 includes (but is not limited to) a main control device 110 and one or more light-emitting devices 120.
[0012] The main control device 110 can be a smartphone, tablet, wearable device, laptop, desktop computer, all-in-one PC, server, smart home appliance, smart assistant device, vehicle system, conference phone, home game console, personal computer, artificial intelligence personal computer (AI PC) or other electronic device.
[0013] The main control device 110 includes a communication transceiver 111, a processor 112, and an input device 113.
[0014] The transceiver 111 can support transceiver circuits / transmission interfaces such as Bluetooth, Wi-Fi, ultra-wideband (UWB), radio frequency identification (RFID), or other wireless communication technologies. In one embodiment, the transceiver 111 is used to receive wireless signals from an external device (e.g., the light-emitting device 120) or to transmit wireless signals to an external device (e.g., the light-emitting device 120). In some embodiments, the transceiver 111 is used to connect to the light-emitting device 120 and to transmit or receive signals accordingly. The signals can carry various types of data and / or instructions.
[0015] Processor 112 is coupled to communication transceiver 111. Processor 112 may be a Central Processing Unit (CPU), Graphics Processing Unit (GPU), Data Processing Unit (DPU), Visual Processing Unit (VPU), Tensor Processing Unit (TPU), or Neural-network Processing Unit (NPU), or other programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), or other similar components or combinations thereof. In one embodiment, processor 112 is used to execute all or part of the operations of host device 110, and can load and execute one or more software modules, files, and / or data stored in memory.
[0016] Input device 113 is coupled to processor 112. Input device 113 may be, for example, a microphone, mouse, keyboard, touch panel, or button. In one embodiment, input device 113 is used to receive user commands. User commands correspond to functions, parameters, content, or switches specified by user actions (e.g., speaking, pressing, swiping, clicking, or touching).
[0017] The light-emitting device 120 can be a smartphone, tablet, wearable device, laptop, desktop computer, server, smart home appliance, smart assistant device, in-vehicle system, conference phone, home game console, personal computer, artificial intelligence PC (AI PC), or other electronic device serving as the host device. The host device has computing and decision-making functions. Furthermore, the host device can connect to other host devices and / or main control device 110 to transmit or receive signals. Alternatively, the light-emitting device 120 can be a mouse, mouse pad, display device, keyboard, game controller, chassis, speaker, microphone, smart lamp, headset, stylus, or other electronic device serving as an accessory / slave / peripheral device (hereinafter collectively referred to as accessory devices). Accessory devices can connect to their corresponding host devices to transmit or receive signals.
[0018] The light-emitting device 120 includes a communication transceiver 121, a processor 122, and one or more light elements 123.
[0019] The implementation and functions of the communication transceiver 121 and the processor 122 can be referred to the foregoing description of the communication transceiver 111 and the processor 122, respectively, and will not be repeated here.
[0020] In one embodiment, the communication transceiver 121 is used to connect to the main control device 110 and / or other light-emitting devices 120, and to transmit or receive signals accordingly. The signals can carry various types of data and / or instructions.
[0021] Processor 122 is coupled to communication transceiver 121 and lighting element 123. In one embodiment, processor 122 is used to perform all or part of the operations of the lighting device 120, and can load and execute one or more software modules, files and / or data stored in storage. In one embodiment, processor 122 runs lighting effect software.
[0022] The lighting element 123 may be a light bar, a backlit keycap, a backlit scroll wheel, a backlit logo, a backlit fan, a screen backlight, a backlit earpiece, an LED backlight, an RGB light strip, or other lighting elements. In one embodiment, the lighting element 123 may emit light of a specified color, brightness, and / or color temperature, and / or flash according to a specified emission frequency.
[0023] In some embodiments, a light-emitting device 120 may serve as a master control device 110.
[0024] For example, Figure 2A is a schematic diagram illustrating the relative positions of the host devices in a lighting control system 1-1 according to an embodiment of the present invention. Referring to Figure 2A, the lighting control system 1-1 includes a main control device 110 (in some embodiments, it also serves as a light-emitting device 120), and light-emitting devices 120-1 to 120-n (i.e., host devices, taking a laptop computer as an example, where n is a positive integer). In this embodiment, the reference device RS is the light-emitting device 120-4. The reference device RS is the center used for positioning, and the positioning method will be detailed in subsequent embodiments. In some embodiments, the reference device RS may also be the main control device 110.
[0025] For example, Figure 2B is a schematic diagram illustrating the relative positions of the main unit and peripheral devices in a lighting control system according to an embodiment of the present invention. Referring to Figure 2B, the lighting control system 1-1 includes a main control unit 110 (in some embodiments, it also serves as a light-emitting device 120), a light-emitting device 120-2 (taking a laptop computer as an example), a light-emitting device 120-21 (i.e., a peripheral device, taking a display device as an example), a light-emitting device 120-22 (i.e., a peripheral device, taking a keyboard as an example), and a light-emitting device 120-23 (i.e., a peripheral device, taking a mouse as an example).
[0026] It should be noted that the quantity and type of the main control device 110 and the light-emitting device 120 shown in Figures 2A and 2B are only for illustrative purposes. They can be adjusted according to actual needs in other application scenarios, and the embodiments of the present invention are not limited thereto.
[0027] The methods described in the embodiments of the present invention will be explained below in conjunction with the devices, components, and modules in the lighting control systems 1 and 1-1. Each step of this method may be adjusted according to the implementation situation, and is not limited thereto.
[0028] Figure 3 is a flowchart of a lighting linkage method according to an embodiment of the present invention. Referring to Figure 3, the processor 122 of the reference device RS measures the relative position of the reference device RS and one or more light-emitting devices 120 via wireless signals (step S310). Specifically, the reference device RS and one or more light-emitting devices 120 are connected using a communication protocol corresponding to the wireless signal. The transceiver 121 of the reference device RS and the transceiver 121 of the light-emitting devices 120 are connected using the same or compatible communication protocol (e.g., Bluetooth, Wi-Fi, or UHF) to enable wireless signal transmission between the devices. In addition, the reference device RS and the main control device 110 are connected using a communication protocol corresponding to the wireless signal. The transceiver 121 of the reference device RS and the transceiver 111 of the main control device 110 are connected using the same or compatible communication protocol (e.g., Bluetooth, Wi-Fi, or UHF) to enable wireless signal transmission between the devices.
[0029] It is worth noting that wireless signals can be used to measure the relative position of two devices. That is, positioning. For example, the distance between two devices, and / or the angle / azimuth / direction of one device relative to the other.
[0030] Figure 4 is a flowchart of positioning according to an embodiment of the present invention. Referring to Figure 4, the processor 122 of the reference device RS transmits a ranging signal through the communication transceiver 121 (step S410). The ranging signal is used to indicate a feedback signal or a ranging mode. The processor 122 of the light-emitting device 120 receives the ranging signal through the communication transceiver 121, enters the ranging mode, and transmits a feedback signal. This feedback signal is used to provide the ranging signal. The processor 122 of the reference device RS receives the feedback signal through the communication transceiver 121 (step S420). This feedback signal may include the sender's identification information to distinguish the feedback signals from multiple light-emitting devices 120.
[0031] Processor 112 can determine the return time of the returned signal (step S430). After the ranging signal is transmitted, processor 112 starts timing and stops timing only when the corresponding returned signal is received. This timing period can be called the round-trip time of the wireless signal. Processor 112 can determine the return time based on the round-trip time of the wireless signal (including the transmission time of the ranging signal and the return time of the returned signal). For example, the return time can be obtained by dividing the round-trip time by two (possibly minus some processing time).
[0032] One or more light-emitting devices 120 include a first device. Taking FIG. 2A as an example, the first device is a light-emitting device 120-1. Next, the processor 112 determines the distance between the reference device RS and the first device (e.g., the light-emitting device 120-1) based on at least one of the return time, signal strength, or phase offset corresponding to the light-emitting device 120-1 (step S440). In one embodiment, the transmission time of the wireless signal is related to the distance between the two devices. The greater the distance between the two devices, the longer the transmission time. The closer the distance between the two devices, the shorter the transmission time. Therefore, the wireless signal can be used for ranging. The transmission of wireless signals is generally at the speed of light. Although wireless signals may be affected by the environment (e.g., air, water, or buildings), the speed is still close to the speed of light. The processor 112 can use the return time multiplied by the speed of light (or a value close to the speed of light) as the distance between the master control device 110 and the light-emitting device 120-1.
[0033] In another embodiment, the reference device RS can determine the distance to the first device based on the signal strength of the returned signal. The signal strength can be, for example, a Received Signal Strength Indicator (RSSI), a Reference Signal Received Power (RSS), or the like. It is worth noting that the power of a wireless signal attenuates with increasing distance. This attenuation typically follows an inverse square law. For example, the relationship between signal strength and distance is based on the Free Space Path Model. When the distance doubles, the power decreases to one-quarter of its original value; when the distance triples, the power decreases to one-ninth, and so on. Therefore, the received power of the returned signal can be used for ranging.
[0034] In another embodiment, the reference device RS can determine the distance to the first device based on the phase shift of the returned signal. Channel sounding uses the phase shift of a signal to measure the distance the signal has traveled. As the returned signal is transmitted from the first device to the reference device RS, the phase of the returned signal changes with the propagation distance. The reference device RS measures this phase shift and calculates the distance based on the phase shift of the returned signal and the signal wavelength. For example, , The distance between the reference device RS and the first device, It is a constant. This is a virtual wavelength generated based on the signal wavelengths of two return signals at different frequencies, and The composite phase shift of the two transmitted signals ( ,in The wavelength of a signal at a certain frequency, and (The wavelength of a signal at another frequency).
[0035] Similarly, in Figure 2A, the reference device RS can measure the distance between the light-emitting devices 120-2 to 120-n (excluding light-emitting device 120-4) via wireless signals, and thus determine the relative positions between the devices. Alternatively, in Figure 2B, the light-emitting device 120-2 (as the reference device RS) measures the distance between the light-emitting devices 120-21 to 120-23 via wireless signals, and thus determine the relative positions between the devices.
[0036] In one embodiment, the processor 122 of the reference device RS can determine the angle of the first device relative to the reference device RS based on the angle of arrival of the returned signal. For example, the communication transceiver 121 may include an antenna array (composed of multiple antennas). An antenna array supporting the angle of arrival (AoA) can measure the phase difference between the ranging signal and the returned signal, and then calculate the angle from which the returned signal originates. Alternatively, the angle of departure (AoD) can be derived through geometric calculations based on the known position of the transmitting antenna and the propagation path of the ranging signal.
[0037] In another embodiment, the ranging signal may also be transmitted from other light-emitting devices 120 to the reference device RS, and the reference device RS may transmit a return signal to other light-emitting devices.
[0038] In one embodiment, the processor 112 of the main control device 110 can obtain information about the relative positions of the reference device RS and one or more light-emitting devices 120 (including the distance between the reference device RS and the light-emitting devices 120 and / or the angle of the light-emitting device 120 relative to the reference device RS) through the communication transceiver 111. In one embodiment, the angle-related information includes horizontal angle information and vertical angle information. The reference device RS and / or other light-emitting devices 120 can transmit information about the relative positions of the reference device RS and one or more light-emitting devices 120.
[0039] In one embodiment, the processor 112 of the main control device 110 or the processor 122 of the reference device RS can convert the information of the relative position between the reference device RS and one or more light-emitting devices 120 into lighting effect coordinates in a virtual space. Taking Figure 2A as an example, the virtual space S1 is a three-dimensional space. The lighting effect coordinates (X1ij, Y1ij, Z1ij) are: X1 ij= R ij* cos(φ ij) * cos (θ ij)…(1) Y1 ij= R ij* cos(φ ij) * sin (θ ij)…(2) Z1 ij= R ij* sin (φ ij)…(3) Where i is the number of the reference device RS (i is 4 in Figure 2A), j is the number of the other light-emitting device 120 (j is 1, 2, 3 or n in Figure 2A), X1ij is the coordinate of the light-emitting device 120 numbered j on the X-axis of the virtual space S1, Y1ij is the coordinate of the light-emitting device 120 numbered j on the Y-axis of the virtual space S1, Z1ij is the coordinate of the light-emitting device 120 numbered j on the Z-axis of the virtual space S1, Rij is the distance between the light-emitting device 120 numbered j and the reference device RS, φij is the vertical angle of the light-emitting device 120 numbered j relative to the reference device RS numbered i, and θij is the horizontal angle of the light-emitting device 120 numbered j relative to the reference device RS numbered i.
[0040] Taking Figure 2B as an example, the virtual space S1 is a three-dimensional space. The lighting effect coordinates (X1 jm, Y1 jm, Z1 jm) are: X1 jm= R jm* cos(φ jm) * cos (θ jm)…(4) Y1 jm= R jm* cos(φ jm) * sin (θ jm)…(5) Z1 jm= R jm* sin (φ jm)…(6) , where j is the number of the reference device RS (i is 2 in Figure 2B), m is the number of the other light-emitting device 120 (m is 21, 22 or 23 in Figure 2B), X1jm is the coordinate of the light-emitting device 120 with number m on the X-axis of the virtual space S1, Y1jm is the coordinate of the light-emitting device 120 with number m on the Y-axis of the virtual space S1, Z1jm is the coordinate of the light-emitting device 120 with number m on the Z-axis of the virtual space S1, Rjm is the distance between the light-emitting device 120 with number m and the reference device RS, φjm is the vertical angle of the light-emitting device 120 with number m relative to the reference device RS with number j, and θjm is the horizontal angle of the light-emitting device 120 with number m relative to the reference device RS with number j. If the coordinate system is centered on the light-emitting device 120-4, then the processor 112 of the main control device 110 or the processor 122 of the reference device RS can correct the lighting effect coordinates (X1jm, Y1jm, Z1jm) to the lighting effect coordinates (X1ijm, Y1ijm, Z1ijm): X1 ijm = X1 ij + X1 jm…(7) Y1 ijm = Y1 ij + Y1 jm…(8) Z1 ijm = Z1 ij + Z1 jm…(9) , where X1 ijm is the coordinate of the light-emitting device 120 numbered m on the X-axis of the virtual space S1 centered on the reference device RS numbered i, Y1 ijm is the coordinate of the light-emitting device 120 numbered m on the Y-axis of the virtual space S1 centered on the reference device RS numbered i, and Z1 ijm is the coordinate of the light-emitting device 120 numbered m on the Z-axis of the virtual space S1 centered on the reference device RS numbered i.
[0041] Taking Figure 2A as an example, the virtual space S2 is a two-dimensional space. The lighting effect coordinates (X2 ij, Y2 ij) are: X2 ij= R ij* cos (θ ij)…(10) Y2 ij= R ij* sin (θ ij)…(11) , where X2 ij is the coordinate of the light-emitting device 120 numbered j on the X-axis of the virtual space S2, and Y2 ij is the coordinate of the light-emitting device 120 numbered j on the Y-axis of the virtual space S2.
[0042] Taking Figure 2B as an example, the virtual space S2 is a two-dimensional space. The lighting effect coordinates (X2 jm, Y2 jm) are: X2 jm= R jm* cos (θ jm)…(12) Y2 jm= R jm* sin (θ jm)…(13) , where X2 jm is the coordinate of the light-emitting device 120 numbered m on the X-axis of the virtual space S2, and Y2 jm is the coordinate of the light-emitting device 120 numbered m on the Y-axis of the virtual space S2.
[0043] If the coordinate system is centered on the light-emitting device 120-4, then the processor 112 of the main control device 110 or the processor 122 of the reference device RS can correct the lighting effect coordinates (X2jm, Y2jm) to the lighting effect coordinates (X2ijm, Y2ijm): X2 ijm= X2 ij+ X2 jm…(14) Y2 ijm= Y2 ij+ Y2 jm…(15) , where X2 ijm is the coordinate of the light-emitting device 120 numbered m on the X-axis of the virtual space S2 centered on the reference device RS numbered i, and Y2 ijm is the coordinate of the light-emitting device 120 numbered m on the Y-axis of the virtual space S1 centered on the reference device RS numbered 2.
[0044] Taking Figure 2A as an example, the virtual space S1 is a one-dimensional space. The lighting effect coordinates (X3 ij) are: X3 ij= R ij…(16) , where X3 ij is the coordinate of the light-emitting device 120 with number j on the X-axis of the virtual space S3.
[0045] Taking Figure 2B as an example, the virtual space S3 is a one-dimensional space. The lighting effect coordinates (X3 jm, Y3 jm) are: X2 jm = R jm…(17) , where X3 jm is the coordinate of the light-emitting device 120 with number m on the X-axis of the virtual space S3.
[0046] If the coordinate system is centered on the light-emitting device 120-4, then the processor 112 of the main control device 110 or the processor 122 of the reference device RS can correct the lighting effect coordinates (X3 jm) to the lighting effect coordinates (X3 ijm): X3 ijm = X3 ij + X3 jm…(18) , where X3 ijm is the coordinate of the light-emitting device 120 with the number m on the X-axis of the virtual space S3 centered on the reference device RS with the number i.
[0047] In one embodiment, the processor 112 of the main control device 110 can transmit a positioning command to the reference device RS and / or other light-emitting devices 120 via the communication transceiver 111 to trigger the transmission of ranging signals and / or feedback signals. That is, the positioning command is used to trigger the wireless communication positioning function.
[0048] In one embodiment, the main control device 110 can identify the light-emitting device 120 that is furthest away. Taking Figure 2A as an example, the main control device 110 measures the distances of the light-emitting devices 120-1 to 120-n respectively, and obtains the distances D1, D2, D3 to Dn (n is a positive integer) between the main control device 110 and the light-emitting devices 120-1 to 120-n respectively. Then, the main control device 110 compares the distances D1 to Dn and finds the distance D3 with the maximum value. That is, compared with the light-emitting devices 120-1, 120-2, 120-4 to 120-n, the distance between the light-emitting device 120-3 and the reference device RS is the maximum distance.
[0049] Wireless signal-based positioning simplifies the steps required to define device location in applications and reduces positioning time. However, there are many other wireless signal-based positioning methods, and users can choose the appropriate method based on their specific needs.
[0050] The processor 112 controls the light element 123 of the light-emitting device 120 based on the relative position of the reference device RS and the light-emitting device 120 (step S320). Specifically, the distance and / or angle obtained by positioning the light-emitting device 120 can be used to understand the relative positions between the light-emitting devices 120. Understanding the relative positions between these reference devices RS and the light-emitting devices 120 will help to ensure that the light emission colors of these light-emitting devices 120 are coordinated or connected. That is, embodiments of the present invention can provide a consistent or coordinated light emission color for the entire light-emitting device 120.
[0051] Figure 5 is a flowchart of color determination according to an embodiment of the present invention. Referring to Figure 5, one or more light-emitting devices 120 include a second device. The second device is furthest from the reference device RS. Taking Figure 2A as an example, the second device is light-emitting device 120-3. The processor 112 can determine the range of the virtual space based on the distance between the reference device RS and the second device (step S510). Specifically, the virtual space is a virtual space established by the lighting control software executed by the main control device 110. The virtual space can be used to set or present the relative positions between devices and the light colors of their lighting elements 120. In one embodiment, each position in the virtual space corresponds to a color. In another embodiment, each position in the virtual space corresponds to a color, brightness, and / or color temperature.
[0052] In one embodiment, the reference device RS is located at the center of the virtual space. Taking FIG2A as an example, the light-emitting devices 120-4 serving as the reference device RS are located at the centers of the virtual spaces S1 to S2, respectively. Furthermore, the processor 112 can define the distance (i.e., the maximum distance) between the reference device RS and the second device as the maximum distance between the center and the outer contour of the virtual space.
[0053] For example, the virtual space can be a one-dimensional line, a two-dimensional circle, a three-dimensional cylinder, a three-dimensional sphere, or other geometric or non-geometric shapes. When the virtual space is a two-dimensional circle, the distance between the reference device RS and the second device is the radius of this two-dimensional circle, and the coordinates (0, 0) of the reference device RS can be considered as the center of this two-dimensional circle. When the virtual space is a three-dimensional cylinder, the distance between the reference device RS and the second device is the radius of this three-dimensional cylinder, and the coordinates (0, 0) of the reference device RS can be considered as the axis of this three-dimensional cylinder. When the virtual space is a three-dimensional sphere, the distance between the reference device RS and the second device is the radius of this three-dimensional sphere, and the coordinates (0, 0) of the reference device RS can be considered as the center of this three-dimensional sphere. When the virtual space has other shapes, the reference device RS is the geometric center or centroid of this virtual space.
[0054] In another embodiment, the reference device RS is located at the starting point of the virtual space. Taking FIG2A as an example, the light-emitting device 120-4, which serves as the reference device RS, is located at the starting point of the virtual space S3.
[0055] The processor 112 can determine the relative position of the light-emitting device 120 and the reference device RS in the virtual space based on the relative position of the reference device RS and the light-emitting device 120 (step S520). Specifically, the processor 112 can map the positions of the light-emitting device 120 and the reference device RS in the real space to the same positions in the virtual space based on the distance and / or angle obtained through positioning, with the reference device RS as the center (for multi-dimensional space) or the starting point (for one-dimensional space). Taking Figure 2A as an example, the distance D1 between the light-emitting device 120-1 and the reference device RS is the same as the distance in the virtual space, or the distance can be proportionally reduced or enlarged as needed. The processor 112 can convert the information of the relative position of the reference device RS and one or more light-emitting devices 120 obtained through positioning into the lighting effect coordinates in the virtual space. As mentioned above, equations (1) to (9) are used in three-dimensional space, equations (10) to (15) are used in two-dimensional space, or equations (16) to (18) are used in one-dimensional space, which will not be repeated here.
[0056] The processor 112 can determine the color distribution of the virtual space (step S530). As explained above, each location in the virtual space corresponds to a color. The color distribution is the distribution of colors at each location in the virtual space.
[0057] In one embodiment, the processor 112 can set an upper limit and a lower limit for the color values of the color distribution. Taking red (R)-green (G)-blue (B) as an example, the RGB value of the upper limit of the color value is ( , , ), and the lower limit of the color value's RGB value is ( , , ).
[0058] For example, Figure 6 is a schematic diagram of a color distribution definition according to an embodiment of the present invention. Referring to Figure 6, in the RGB color space, the lower limit of the color value is the RGB value ( , , This corresponds to, for example, pink, and the upper limit of the RGB value ( , , (This corresponds to, for example, bright green.)
[0059] Processor 112 can determine the color radius of color distribution in virtual space based on the upper and lower limits of color values. .For example, …(19).
[0060] In one embodiment, the processor 112 may receive one or more user instructions via the input device 113. These user instructions are used to set upper and lower limits for color values. In another embodiment, these user instructions are further used to define the center of a virtual space.
[0061] Referring to Figure 5, the processor 112 can determine the color of the light-emitting device 120 in the color distribution based on its relative position in the virtual space (step S540). Next, the processor 112 can determine the light color of one or more light elements 123 based on the color of the light-emitting device 120 in the color distribution (step S550). Specifically, each light-emitting device 120 is located at a specific position in the virtual space, and the color distribution of the virtual space has been defined. Therefore, the processor 112 can know the color of the position of the light-emitting device 120 in the color distribution.
[0062] In one embodiment, the processor 112 can map the color of the second device furthest from the center to the upper limit of the color value of the color distribution, and map the color of the reference device RS (or other light-emitting device 120) located at the center or starting point to the lower limit of the color value of the color distribution. For example, in Figure 6, the color value of the second device is the same as the RGB value of the upper limit of the color value (…). , , ), and the color value of the reference device RS is the same as the RGB value of the lower limit of the color value ( , , ).
[0063] In one embodiment, processor 112 may determine a transformation function for the color distribution. In this transformation function, the color value of the color distribution gradually changes from the color value of a first point in the virtual space to the color value of a second point in the virtual space. The first point is a point on the boundary of the virtual space, and the second point is another point on the boundary of the virtual space, and the straight line connecting the first point and the second point passes through the center of the virtual space. For example, FIG7A is a schematic diagram of the color distribution of a virtual space VSO according to an embodiment of the present invention. Referring to FIG7A, the virtual space VSO is a three-dimensional sphere. The first point is located at the upper right corner of the sphere from the viewpoint presented in FIG7A, and the second point is located at the lower left corner of the sphere. Therefore, the gradient effect of the color distribution gradually changes color from the upper right corner of the sphere from the viewpoint presented in FIG7A to the lower left corner of the sphere.
[0064] Assume the coordinates (xs, ys, zs) = (rmaxsinϕcosθ, rmaxsinϕsinθ, rmaxcosϕ) of the first point on the surface of a sphere correspond to the RGB values (rxs, gys, bzs). rmax is the radius of the sphere, ϕ is the vertical angle relative to the center, and θ is the horizontal angle relative to the center. Furthermore, assume the coordinates (x's, y's, z's) of the second point on the surface of the sphere correspond to the RGB values (rx's, gy's, bz's). The relative distance ratio from the third point in the virtual space VS0 (with coordinates (x, y, z), assumed to be the position of a certain light-emitting device 120) to the first point on the sphere is... ,and This represents the distance from the third point to the first point. It is the ratio of the relative distance between the third point (with coordinates (x, y, z)) in virtual space VS0 and the second point on the sphere. ,and This is the distance from the third point to the second point. Therefore, the processor 112 can obtain the RGB value (r, g, b) corresponding to the third point by interpolating the color values corresponding to the first and second points: …(20) …(twenty one) …(twenty two).
[0065] If the virtual space is a two-dimensional circle, the coordinates (xc, yc) = (rmaxcosθ, rmaxsinθ) of the first point on the boundary of the circle correspond to the RGB values (rc, gc, bc). rmax is the radius of the circle, and θ is the horizontal angle relative to the center. Furthermore, assuming the coordinates (x'c, y'c) = (-xc, -yc) of the second point on the boundary of the circle correspond to the RGB values (rc, gc, bc),... , , The ratio of the relative distance between the third point in the virtual space (with coordinates (x, y), assumed to be the position of a certain light-emitting device 120) and the first point. ,and This represents the distance from the third point to the first point. It is the ratio of the relative distance between the third point (with coordinates (x, y)) in virtual space and the second point. ,and This is the distance from the third point to the second point. Therefore, the processor 112 can obtain the color value (r, g, b) corresponding to the third point by interpolating the color values corresponding to the first and second points: …(twenty three) …(twenty four) …(25).
[0066] In one embodiment, the processor 112 may determine a color distribution transformation function based on an upper and lower limit of color values. In this transformation function, the color values of the color distribution gradually change from the lower limit of the color values at the center to the upper limit. For example, …(26) …(27) …(28) , The distance from the center (e.g., the position of the reference device RS) in virtual space The position (e.g., the position of the light-emitting device 120-n in Figure 2A, where n is a positive integer) corresponds to the red value. The distance from the center (e.g., the position of the reference device RS) in virtual space The green value corresponding to the position, The distance from the center (e.g., the position of the reference device RS) in virtual space The blue value corresponding to the position, and the distance This refers to the maximum distance mentioned above (i.e., the distance furthest from the center). Therefore, the processor 112 can obtain the color of the light-emitting device 120 in the color distribution by inputting the information of the relative position between the input reference device RS and the light-emitting device 120 into the conversion function. Taking Figure 2A as an example, the processor 112 can obtain the colors corresponding to the light-emitting devices 120-1 to 120-n by substituting the values of distances D1 to D into the conversion function.
[0067] For example, Figure 7B is a schematic diagram of the color distribution of a virtual space VS1 according to an embodiment of the present invention. Referring to Figures 6 and 7B, the virtual space VS1 is a two-dimensional circle. The color of the light element 123 of the reference device RS (as a light-emitting device 120) is the RGB value of the lower limit of the color value ( , , ), and the color of the light-emitting device 120-3 is the RGB value of the upper limit of the color value ( , , As for the color of the light element 123 of the other light-emitting device 120, the corresponding RGB values can be obtained by substituting the distances D1 to Dn into equations (26) to (28).
[0068] In another embodiment, in the transformation function, the color values of the color distribution gradually change from the color value of a first point in the virtual space to the color value of a second point in the virtual space. The first point is the starting point in the virtual space, and the second point is the ending point in the virtual space. The positions of these two points can be based on user instructions or presets. For example, Figure 7C is a schematic diagram of the color distribution of a virtual space VS11 according to an embodiment of the present invention. Referring to Figure 7C, the virtual space VS1 is a one-dimensional line segment. Assume that the RGB value corresponding to the starting point 71 of the line segment (i.e., the first point) is ( , , ), and the RGB value corresponding to the endpoint 72 of the line segment (i.e., the first point) ( , , The third point 73 in space (with coordinates (X1 jm, Y1 jm, Z1 jm), and assumed to be the position of a certain light-emitting device 120) is projected along projection line 74 onto the virtual space VS11 (i.e., the line segment from the starting point 71 to the ending point 72), forming projection point 75. The RGB values (𝑅 ijm, 𝐺 ijm, 𝐵 ijm) corresponding to projection point 75 are: 𝑅 ijm =𝑅 0 + (𝑅 𝑒-𝑅 0 )…(29) Gijm = G0 + (𝑅 𝑒-𝑅 0 )…(30) Bijm = B0 + (𝑅 𝑒-𝑅 0 )…(31).
[0069] In one embodiment, one or more light-emitting devices 120 include a third device. Taking FIG. 7 as an example, the third device is light-emitting device 120-1, 120-2, 120-3, or 120-n. The processor 112 can transmit a light indication signal to the third device via a communication transceiver 111. This light indication signal includes the color value of the color corresponding to the third device. That is, the light-emitting device 120 can control its light-emitting element 123 to emit light of a specified color according to the light indication signal. The specified color of light is determined by the color at the corresponding position in the color distribution. Furthermore, the light indication signal also includes identification information of the light-emitting device 120. Therefore, the light-emitting device 120 can determine whether the light indication signal belongs to it based on this identification information.
[0070] In one embodiment, the processor 112 can control the lighting element 123 of the main control device 110 (which may be referred to as a second lighting element for the main control device 110, and whose implementation and / or function are the same as, similar to, or correspond to that of the lighting element 123) based on the relative position of the reference device RS and the main control device 110 (i.e., the main control device 110 serves as a light-emitting device 120). Similarly, by understanding the relative position between the reference device RS and the main control device 110, the light emission color of the main control device 110 can be further controlled, and the light emission of other light-emitting devices 120 can be linked or connected in series.
[0071] In one embodiment, the lighting control system 1 includes a plurality of light-emitting devices 120. A processor 112 can determine a first color sequence of these light-emitting devices 120 at a first time point. This first color sequence is the color values corresponding to the light-emitting devices 120 arranged at the first time point according to their distances relative to a reference device RS.
[0072] For example, Figure 8 is a schematic diagram of the color sequence at multiple time points according to an embodiment of the present invention. Referring to Figure 8, assume that the light-emitting device 120-1 is closest to the reference device RS, the light-emitting device 120-n is farthest from the reference device RS, and so on. At time point t0, the color sequence is [( , , ) ( , , ) ( , , ) ( , , ) ( , , ]], n is taken as 4. The color value of the reference device RS (i.e., the RGB value ( , , The first color in the color sequence is the color value of the 120-n light-emitting device (i.e., the RGB value). , , The last color in the sequence is the color number, and the others are determined by distance.
[0073] Next, the processor 112 can determine a second color sequence for the light-emitting devices 120 at a second time point. The second color sequence is a arrangement of the color values corresponding to the light-emitting devices 120 at the second time point according to their distance from the reference device RS. It is worth noting that the second color sequence is a variation of the first color sequence based on a cyclic arrangement. That is, at different time points, the color values in the multiple color sequences are arranged cyclically.
[0074] Taking Figure 8 as an example, at the next time point after time point t0 (i.e., time point t1), the color sequence is [( , , ) ( , , ) ( , , ) ( , , ) ( , , That is, the color value of the reference device RS at time t1 is the color value of the light-emitting device 120-n at time t0, the color value of the light-emitting device 120-1 at time t1 is the color value of the RS device RS at time t0, the color value of the light-emitting device 120-2 at time t1 is the color value of the light-emitting device 120-1 at time t0, the color value of the light-emitting device 120-3 at time t1 is the color value of the light-emitting device 120-2 at time t0, and the color value of the light-emitting device 120-n at time t1 is the color value of the light-emitting device 120-3 at time t0.
[0075] And so on, the color sequence at time point t2 is [( , , ) ( , , ) ( , , ) ( , , ) ( , , The color sequence at time point t3 is [( , , ) ( , , ) ( , , ) ( , , ) ( , , )], and the color sequence at time point t4 is [( , , ) ( , , ) ( , , ) ( , , ) ( , , The color sequence at time point t5 then returns to the color sequence at time point t0. , , ) ( , , ) ( , , ) ( , , ) ( , , )).
[0076] As time changes, the lighting control system 1 displays a fixed-direction flow of color-changing light. The processor 112 defines the headlight color with the current reference device RS as the gradient color center and defines the taillight color with the reference device RS as the final end of the flow. Within the linear gradient range established in the RGB two-dimensional color space, a relative time delay is applied based on the actual distance between each light-emitting device 120 and the reference device RS. For example, the user specifies the maximum time delay t_max as the time it takes for the same color light to flow from the reference device RS to the farthest light-emitting device 120. This allows light-emitting devices 120 located at different positions to produce a circular diffusion flow effect centered on the reference device RS.
[0077] For example, Figure 9A is a schematic diagram of the lighting effect at time point t0 according to an embodiment of the present invention. Referring to Figures 8 and 9A, at time point t = t0, the reference device RS and the lighting element 123 of the light-emitting device 120 are based on the color sequence shown in Figure 8 [( , , ) ( , , ) ( , , ) ( , , ) ( , , [Light]
[0078] Figure 9B is a schematic diagram of the lighting effect at another time point t1 according to an embodiment of the present invention. Referring to Figures 8 and 9B, at time point t = t1, the reference device RS and the lighting element 123 of the light-emitting device 120 are based on the color sequence shown in Figure 8 [( , , ) ( , , ) ( , , ) ( , , ) ( , , [Light]
[0079] It is worth noting that the positions of the reference device RS and / or the light-emitting devices 120 may change. In one embodiment, the processor 112 may control one or more light elements 123 of the light-emitting devices 120 based on the new relative positions of the reference device RS and one or more light-emitting devices 120. The new relative positions of the reference device RS and / or one or more light-emitting devices 120 are different from the (original) distances between the reference device RS and / or one or more light-emitting devices 120. That is, the emitted color of the light elements will change according to the new positions.
[0080] Figure 9C is a schematic diagram illustrating the lighting effects at multiple time points in the virtual space VSO according to an embodiment of the present invention. Referring to Figure 9C, assume the color change period T is t4, and the color change period is a gradual transition from RGB values (rc, gc, bc) to RGB values (r'c, g'c, b'c) and back to RGB values (rc, gc, bc). The color change direction of the sphere's color space is (xc, yc,) towards the normal direction of (-xc, -yc,). The color period change equation of the sphere's color space is as follows: (t) = + sin( ). …(32) G(t) = + sin( ). …(33) B(t) = b + sin( ). …(34) The definition of the parameters can be found in equations (20) to (22), and will not be repeated here.
[0081] Figure 9D is a schematic diagram illustrating the lighting effects at multiple time points in a virtual space VS1 according to an embodiment of the present invention. Referring to Figure 9D, assume the color change period T is t4, and the color change period is a gradual transition from RGB values (rc, gc, bc) to RGB values (r'c, g'c, b'c) and back to RGB values (rc, gc, bc). The color change direction of the circular color space is (xc, yc,) towards the normal direction of (-xc, -yc,). The color period change equation of the circular color space is as follows: (t) = + sin( ). …(35) G(t) = + sin( ). …(36) B(t) = b + sin( ). …(37) The definition of the parameters can be found in equations (23) to (25), and will not be repeated here.
[0082] Figure 9E is a schematic diagram illustrating the lighting effects at multiple points in time for a virtual space VS11 according to an embodiment of the present invention. Referring to Figure 9E, assume the color change period T is t4. At the starting point of the virtual space VS11 (e.g., at the left end of a line segment), the color gradually changes at a constant speed from RGB values (R0, G0, B0) to RGB values (Re, Ge, Be) and then back to RGB values (R0, G0, B0), over a period of T. At the ending point of the virtual space VS11 (e.g., at the right end of a line segment), the color gradually changes at a constant speed from RGB values (Re, Ge, Be) to RGB values (R0, G0, B0) and then back to RGB values (Re, Ge, Be), over a period of T. The RGB values (𝑅 ijm, 𝐺 ijm, 𝐵 ijm) at any point (corresponding to the position of the light-emitting device 120) are also linked with the RGB values (R 0, G 0, B 0) at the starting point and the RGB values (R e, G e, B e) at the ending point according to a gradient rule. It should be noted that the parameter definitions in this embodiment can be referred to equations (29) to (31), and will not be repeated here.
[0083] Figure 10 is a flowchart of a lighting linkage method at a new position according to an embodiment of the present invention. Referring to Figure 10, one or more light-emitting devices 120 include a fourth device, and the fourth device is furthest from the reference device RS. The processor 112 can change the range of the virtual space according to the new relative position of the reference device RS and the fourth device (step S1010). In one embodiment, the range of the virtual space is based on the reference device RS as the center and the distance to the farthest light-emitting device 120 is the maximum distance. Therefore, when the position of the reference device RS and / or the light-emitting device 120 changes, the range of the virtual space also changes accordingly.
[0084] In one embodiment, the reference device RS and / or the light-emitting device 120 can detect whether it has moved. If it has moved, the reference device RS and / or the light-emitting device 120 further detect whether it is stationary. Then, if it is stationary, the reference device RS and / or the light-emitting device 120 further calculates the stationary time and determines whether this stationary time exceeds a time threshold (e.g., 3, 5, or 10 seconds). If the stationary time corresponding to the light-emitting device 120 exceeds the time threshold, the light-emitting device 120 can actively transmit a distance signal. Alternatively, if the stationary time corresponding to the reference device RS exceeds the time threshold, the reference device RS can actively transmit a new ranging signal. The master control device 110 or the reference device RS can determine the new distance based on the distance / the return time of the new returned signal and / or the receiving power.
[0085] In one embodiment, the processor 122 of the reference device RS or the light-emitting device 120 can transmit ranging signals through the communication transceiver 121 at regular or irregular intervals. When the processor 122 detects a change in the return time or a change in the received power of the returned signal, it determines that the position of the corresponding light-emitting device 120 has changed. At a subsequent time point, the processor 122 can determine that the position of the light-emitting device 120 has changed based on the received returned signal.
[0086] Since the maximum distance between the reference device RS and the light-emitting device 120 is used to define the range of the virtual space, the processor 112 can find the new maximum distance from the new distance between those light-emitting devices 120 and the reference device RS.
[0087] In one embodiment, the new maximum distance is equal to the original maximum distance. For example, FIG11 is a schematic diagram illustrating the use of virtual space VS1 according to an embodiment of the present invention. Referring to FIG7 and FIG11, compared to FIG7, the positions of the light-emitting devices 120-1 to 120-n in FIG11 have changed, and are respectively at new distances ND11, ND12, ND13 to ND1n from the reference device RS. Processor 112 finds the new maximum distance from the new distances ND11, ND12, ND13 to ND1n between those light-emitting devices 120-1 to 120-n and the reference device RS. For example, the new distance ND1n is the maximum distance. The new distance ND1n is still equal to the distance D3. Since the maximum distance has not changed, processor 112 still uses virtual space VS1. In addition, processor 112 also uses the color radius of virtual space VS1.
[0088] Figure 12 is a schematic diagram illustrating the color distribution of a reduced virtual space VS12 according to an embodiment of the present invention. Referring to Figures 7 and 12, compared to Figure 7, the positions of the light-emitting devices 120-1 to 120-n in Figure 12 have changed, and they are respectively separated from the reference device RS by new distances ND21, ND22, ND23 to ND2n. The processor 112 finds the new maximum distance from the new distances ND21, ND22, ND23 to ND2n between those light-emitting devices 120-1 to 120-n and the reference device RS. For example, the new distance ND22 is the new maximum distance. At this time, the new distance ND22 is not equal to the distance D3. Since the maximum distance has changed (i.e., the new maximum distance is greater than the original maximum distance), the processor 112 changes the virtual space VS1 to the changed virtual space VS12 shown in Figure 12. At this time, the processor 112 determines the range and color radius of the virtual space VS12 based on the new maximum distance (i.e., the new distance ND22). Compared to the virtual space VS1 in Figure 7, the range and color radius of the virtual space VS12 are reduced.
[0089] It should be noted that when the new maximum distance is not equal to the original maximum distance, the changed virtual space may also be an enlarged virtual space VS1 and / or color radius.
[0090] Referring to Figure 10, the processor 112 can determine the relative positions of the light-emitting device 120 and the reference device RS in the changed virtual space based on the new relative positions of the reference device RS and one or more light-emitting devices 120 (step S1020). Specifically, the processor 112 can map the positions of the light-emitting device 120 and the reference device RS in the real space to the same positions in the changed virtual space based on the new distance obtained through distance measurement and with the reference device RS as the center. Taking Figure 12 as an example, the new distance ND21 between the light-emitting device 120-1 and the reference device RS is the same as the distance in the changed virtual space, or the distance can be proportionally reduced or enlarged as needed.
[0091] The processor 112 can determine the color distribution of the changed virtual space (step S1030). Similarly, each position in the changed virtual space corresponds to a color. Its color distribution is the distribution of colors at each position in the changed virtual space. Furthermore, as explained above, the color distribution can be defined by an upper limit and a lower limit of color values.
[0092] The processor 112 can determine the color of the light-emitting device 120 in the changed color distribution based on the relative position of the light-emitting device 120 in the changed virtual space (step S1040). Then, the processor 112 can determine the light color of one or more light elements 123 based on the color of the light-emitting device 120 in the changed color distribution (step S1050). Specifically, each light-emitting device 120 is located at a specific position in the changed virtual space, and the color distribution of the changed virtual space has been defined. Therefore, the processor 112 can know the color of the position of the light-emitting device 120 in the changed color distribution. The transformation function of equations (2) to (4) will determine the new RGB values based on the new distance and the new maximum distance. Then, the main control device 110 transmits the new RGB values to the light-emitting device 120, thereby changing the light color of its light element 123.
[0093] In one embodiment, when the position of the reference device RS changes, the processor 112 makes the lower limit of the color value of the changed color distribution the same as the lower limit of the color value of the (original) color distribution. For example, FIG13 is a schematic diagram illustrating the color distribution of a scaled-down virtual space according to an embodiment of the present invention. Referring to FIG7 and FIG13, compared to FIG7, the position of the reference device RS in FIG13 has changed (e.g., moved from coordinates (0, 0) to a new coordinate (x0, y0)) and is respectively at new distances ND31, ND32, ND33 to ND3n from the light-emitting devices 120-1 to 120-n. The processor 112 finds the new maximum distance from the new distances ND31, ND32, ND33 to ND3n between those light-emitting devices 120-1 to 120-n and the reference device RS. For example, the new distance ND3n is the new maximum distance. At this time, the new distance ND3n is not equal to the distance D3. Since the maximum distance has changed (i.e., the new maximum distance is smaller than the original maximum distance), the processor 112 will change the virtual space VS1 to the changed virtual space VS13 shown in Figure 13. At this time, the processor 112 determines the range and color radius of the virtual space VS13 based on the new maximum distance (i.e., the new distance ND3n). Compared to the virtual space VS1 in Figure 7, the range of the virtual space VS13 is reduced, but the color radius remains unchanged.
[0094] Figure 14 is a schematic diagram illustrating the color distribution of an enlarged virtual space according to an embodiment of the present invention. Referring to Figures 7 and 14, compared to Figure 7, the position of the reference device RS in Figure 14 has changed (e.g., moved from coordinates (0, 0) to a new coordinate (x0, y0)), and is respectively separated from the light-emitting devices 120-1 to 120-n by new distances ND41, ND42, ND43 to ND4n. The processor 112 finds the new maximum distance from the new distances ND41, ND42, ND43 to ND4n between those light-emitting devices 120-1 to 120-n and the reference device RS. For example, the new distance ND4n is the new maximum distance. At this time, the new distance ND4n is not equal to the distance D3. Since the maximum distance has changed (i.e., the new maximum distance is greater than the original maximum distance), the processor 112 changes the virtual space VS1 to the changed virtual space VS14 shown in Figure 14. At this point, the processor 112 determines the range and color radius of the virtual space VS14 based on the new maximum distance (i.e., the new distance ND4n). Compared to the virtual space VS1 in Figure 7, the range of the virtual space VS14 is enlarged, but the color radius remains unchanged.
[0095] In one embodiment, when the position of the reference device RS changes, the processor 112 can determine the lower limit of the color value of the changed color distribution based on the new position of the reference device RS, so that the lower limit of the color value of the changed color distribution is different from the lower limit of the color value of the (original) color distribution.
[0096] In one embodiment, the processor 112 receives a user instruction via the input device 113, and this user instruction is used to read the new coordinates (x0, y0) and coordinates (0, 0) of the reference device RS. The processor 112 moves the center of the changed virtual space from the new coordinates (x0, y0) to the coordinates (0, 0). The processor 112 determines the coordinates (0, 0), the new coordinates (x0, y0), and the lower limit of the color value (e.g., RGB value) based on the coordinates (0, 0), the new coordinates (x0, y0), and the lower limit of the color value (e.g., RGB value). , , )) New maximum distance And the color radius, determines the new RGB values of the reference device RS (new , new , new ): new …(38) new …(39) new …(40) ,in .
[0097] Next, the processor 112 can adjust the output based on the new RGB values (new... , new , new The new distance, new maximum distance, and color radius determine the new RGB values for the 120-degree light-emitting device. , new , new )~ (New) , new , new ).
[0098] For example, Figure 15 is a schematic diagram illustrating the origin update according to an embodiment of the present invention. Referring to Figures 7 and 15, compared to Figure 7, the position of the reference device RS in Figure 15 has changed (e.g., moved from coordinates (0, 0) to a new coordinate (x0, y0)), and is respectively separated from the light-emitting devices 120-1 to 120-n by new distances ND51, ND52, ND53 to ND5n. The processor 112 finds the new maximum distance from the new distances ND51, ND52, ND53 to ND5n between those light-emitting devices 120-1 to 120-n and the reference device RS. For example, the new distance ND5n is the new maximum distance. At this time, the new distance ND5n is not equal to the distance D3. Since the maximum distance has changed (i.e., the new maximum distance is less than the original maximum distance), the processor 112 changes the virtual space VS1 to the changed virtual space VS15 shown in Figure 15. At this time, the processor 112 determines the range and color radius of the virtual space VS15 based on the new maximum distance (i.e., the new distance ND5n). Compared to the virtual space VS1 in Figure 7, the range and color radius of the virtual space VS15 remain unchanged, but the reference device RS is moved from the new coordinates (x0, y0) to the coordinates (0, 0).
[0099] Figure 16 is a schematic diagram illustrating the origin update according to another embodiment of the present invention. Referring to Figures 7 and 16, compared to Figure 7, the position of the reference device RS in Figure 16 has changed (e.g., moved from coordinates (0, 0) to a new coordinate (x0, y0)), and is respectively separated from the light-emitting devices 120-1 to 120-n by new distances ND61, ND62, ND63 to ND6n. The processor 112 finds the new maximum distance from the new distances ND61, ND62, ND63 to ND6n between those light-emitting devices 120-1 to 120-n and the reference device RS. For example, the new distance ND6n is the new maximum distance. At this time, the new distance ND6n is not equal to the distance D3. Since the maximum distance has changed (i.e., the new maximum distance is greater than the original maximum distance), the processor 112 changes the virtual space VS1 to the changed virtual space VS16 shown in Figure 16. At this time, the processor 112 determines the range and color radius of the virtual space VS16 based on the new maximum distance (i.e., the new distance ND6n). Compared to the virtual space VS1 in Figure 7, the range and color radius of the virtual space VS16 remain unchanged, but the reference device RS is moved from the new coordinates (x0, y0) at position CP2 to the coordinates (0, 0) at position OP1.
[0100] Figure 17 is a flowchart of a diffusion linkage method according to an embodiment of the present invention. Referring to Figure 17, the processor 112 can receive one or more user instructions through the input device 113 (step S1710). These one or more user instructions indicate the distance upper limit. Color value limit (e.g., RGB value) , , )) and lower limits of color values (e.g., RGB values ( , , In one embodiment, the user instruction further indicates the coordinates of the center (0, 0).
[0101] Processor 112 can be based on the maximum distance. The second virtual space is determined. The second virtual space is also a virtual space established by the lighting control software executed by the main control device 110. The second virtual space can be used to set or display the relative positions between devices and the light colors of their lighting elements 120.
[0102] Processor 112 can determine the upper limit of color values (e.g., RGB values). , , )) and lower limits of color values (e.g., RGB values ( , , Determines the radius of the second color. For example, Figure 18 is a schematic diagram of a color distribution definition based on user instructions according to an embodiment of the present invention. Referring to Figure 18, the second color radius... for: …(41).
[0103] The processor 112 can determine the diffusion area based on the upper limit of the distance and the diffusion effect parameters (step S1720). The diffusion effect parameters define how the diffusion area changes over time. The diffusion effect is determined by the lower limit of the color value corresponding to the touch coordinate (0, 0) (e.g., RGB value). , , ), after the second color radius Gradient, up to the maximum distance The corresponding upper limit of color values (e.g., RGB values) , , The lights.
[0104] Diffusion effect parameters, such as diffusion time, are examples. and preset diffusion rate Diffusion area For example: …(42) , where the annular diffusion region The center of the circle is located at coordinates (0, 0).
[0105] Processor 112 can determine the color distribution of the diffusion region based on the upper and lower limits of the color values (step S1730). Processor 112 can then determine the color distribution of the diffusion region based on the upper and lower limits of the color values. The positions where the centers of the circles are furthest apart (located in the diffusion region) The color of the outer contour corresponds to the upper limit of the color value of the color distribution, and the color of the center corresponds to the lower limit of the color value of the color distribution.
[0106] Next, the processor 112 can determine the light color of one or more light elements 123 based on the color of the light-emitting device 120 in the color distribution (step S1740). Each light-emitting device 120 is located at a specific position in the virtual space, and the color distribution of the diffusion area has been defined. Therefore, the processor 112 can know the color of the position of the light-emitting device 120 in the color distribution. Taking Figure 18 as an example, It is located in the diffusion region Distance between the center and the center (e.g., the position of the reference device RS) The position (n is a positive integer) corresponds to the red value. It is located in the diffusion region Distance between the center and the center (e.g., the position of the reference device RS) The green value corresponding to the position, and It is located in the diffusion region Distance between the center and the center (e.g., the position of the reference device RS) The blue value corresponding to the position.
[0107] The following is an application scenario illustration. Figure 19 is a schematic diagram of a user instruction according to an embodiment of the present invention. Referring to Figure 19, firstly, the RGB values of the upper and lower limits of the color values shown in Figure 18 are defined. Next, the user instruction is a touch instruction from user U received through input device 113 (taking a touchpad as an example). When user U's finger selects a certain position on input device 113, the effect on the lighting effect is: a ripple effect spreading outward from the center of the finger as the diffusion area. That is, the touch instruction indicates the center of the diffusion area.
[0108] Figure 20A is a schematic diagram illustrating the color distribution of the diffusion region RA0 at the initial time point according to an embodiment of the present invention. Referring to Figure 20A, when the diffusion time... When the time is 0 (i.e., the initial time point), the diffusion region RA0 is circular. User U's finger selects the touch point TP, corresponding to the center OP2 of the diffusion region RA0. The radius of the diffusion region RA0 is the upper limit distance DDmax. When located at a position at a distance of the upper limit distance DDmax from the center OP2, the color of the light-emitting device 120 is the upper limit of the color value (e.g., RGB value). , , )).
[0109] Figure 20B is a schematic diagram illustrating the color distribution of the diffusion region RA1 at another time point T1 according to an embodiment of the present invention. Referring to Figure 20B, when the diffusion time... At time point T1, the diffusion region RA1 is ring-shaped. The inner ring of the diffusion region RA1 is separated from the touch point TP (i.e., the center OP2) by a distance DF1. The distance DF1 is, for example,... The distance between the inner and outer rings of the diffusion region RA1 is the upper limit of distance DDmax.
[0110] Figure 20C is a schematic diagram illustrating the color distribution of the diffusion region RA2 at another time point T2 according to an embodiment of the present invention. Referring to Figure 20C, when the diffusion time... At time point T2, the diffusion region RA2 is ring-shaped. The inner ring of the diffusion region RA2 is separated from the touch point TP (i.e., the center OP2) by a distance DF2. The distance DF2 is, for example,... The distance between the inner and outer rings of the diffusion region RA2 remains the upper limit DDmax.
[0111] Figure 21A is a schematic diagram illustrating the color distribution of the diffusion region RAn at another time point Tn (n is a positive integer) according to an embodiment of the present invention. Referring to Figure 21A, when the diffusion time... At time point Tn, the diffusion region Ran is annular. The distance DFn between the inner circle of the diffusion region Ran and its center is, for example, . The distance between the inner and outer rings of the diffusion region RAn remains at the upper limit DDmax. The emission color of the light-emitting devices 120-1 to 120-n will correspond to the color distribution of the diffusion region RAn at the corresponding position.
[0112] Figure 21B is a schematic diagram illustrating the color distribution of the diffusion region RAmax at the maximum diffusion time point Tmax according to an embodiment of the present invention. Referring to Figure 21B, when the diffusion time... At time point Tmax, the diffusion region RAmax is annular. The distance DFmax between the inner circle of the diffusion region RAn and its center is [missing information]. For example, distance DFmax is [missing information]. The distance between the inner and outer rings of the diffusion region RAmax remains the upper limit of distance DDmax. The emission color of the light-emitting devices 120-1 to 120-n will correspond to the color distribution of the diffusion region RAmax at the corresponding position.
[0113] In summary, in the lighting linkage method, the main control device for lighting control, and the lighting control system of this invention, a virtual space is defined for multiple light-emitting devices connected by wireless communication technology to establish positional relationships between the devices. Based on these positional relationships, the light-emitting devices are mapped to the virtual space. The virtual space corresponds to a color distribution, allowing light-emitting devices at different locations to display different colors of linked lighting. The main control device can control the lighting linkage relationship between itself and the light-emitting devices.
[0114] Although the present invention has been disclosed above by way of embodiments, it is not intended to limit the present invention. Anyone skilled in the art can make some modifications and refinements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.
[0115] 1.1-1: Lighting Control System 110: Main control device 111, 121: Communication transceivers 112, 122: Processor 113: Input device 120, 120-1~120-n, 120-21~120-23: Light-emitting device 123: Lighting components RS: Reference device S310~S320, S410~S440, S510~S550, S1010~S1050, S1710~S1740: Steps D1~Dn, DF1, DF2, DFn, DFmax: Distance ND11~ND1n, ND21~ND2n, ND31~ND3n, ND41~ND4n, ND51~ND5n, ND61~ND6n: New distances VS0, VS1, VS11, VS12, VS13, VS14, VS15, VS16, S1~S3: Virtual Spaces X, Y, Z, XC, YC, ZC: Axes 71: Starting Point 72: The End 73: Third point 74: Projection lines 75: Projection point CP2, OP1: Position t0~t4: Time points RA0, RA1, RA2, RAn, RAmax: diffusion regions TP: Touch Point OP2: Center DDmax: Maximum distance T1, T2: Time points Tn: Time point Tmax: Time point U: User
Claims
1. A main control device for lighting control, comprising: A communication transceiver used to transmit or receive signals; The transceiver is coupled to a processor and configured to: obtain information about the relative position of a reference device and at least one light-emitting device via the transceiver, wherein the relative position of the reference device and the at least one light-emitting device is measured by a wireless signal, wherein the reference device and the at least one light-emitting device are connected using a communication protocol corresponding to the wireless signal, and each light-emitting device includes at least one light element, wherein the processor is further configured to: control the at least one light element of the at least one light-emitting device according to the new relative position of the reference device and the at least one light-emitting device, wherein the new relative position of the reference device and the at least one light-emitting device is different from the relative position of the reference device and the at least one light-emitting device.
2. The master control device as claimed in claim 1, wherein the processor is further configured to: control the at least one light element of the at least one light-emitting device based on the relative position of the reference device and the at least one light-emitting device.
3. The main control device as described in claim 1, further comprising: At least one second lighting element is coupled to the processor, wherein the processor is further configured to: control the at least one second lighting element based on the relative position of the reference device and the master control device.
4. The master control device as claimed in claim 1, wherein the at least one light-emitting device includes a first device, the wireless signal is a return signal transmitted by the first device to the reference device, at least one of the return time, signal strength or phase offset of the return signal is used to determine the distance between the reference device and the first device; and the angle of arrival of the return signal is used to determine the angle of the first device relative to the reference device.
5. The master control device as claimed in claim 1, wherein the at least one light-emitting device includes a second device that is furthest from the reference device, and the processor is further configured to: determine the extent of a virtual space based on the distance between the reference device and the second device, wherein the reference device is located at a center of the virtual space; determine the relative position of the at least one light-emitting device and the reference device in the virtual space based on the relative position of the reference device and the at least one light-emitting device; determine a color distribution in the virtual space; determine the color of the at least one light-emitting device in the color distribution based on the relative position of the at least one light-emitting device in the virtual space; and determine the light color of at least one of its light-emitting elements based on the color of the at least one light-emitting device in the color distribution.
6. The master control device as claimed in claim 5, wherein the processor is further configured to: correspond the color of the second device to an upper limit of a color value in the color distribution; and correspond the color of the reference device to a lower limit of a color value in the color distribution.
7. The master control device as claimed in claim 5, wherein the processor is further configured to: determine a conversion function for the color distribution, wherein in the conversion function, the color values of the color distribution gradually change from the lower limit of the color value at the center to the upper limit of the color value; and obtain the color of the at least one light-emitting device in the color distribution by inputting information about the relative position of the reference device and the at least one light-emitting device to the conversion function.
8. The master control device as claimed in claim 5, wherein the processor is further configured to: determine a conversion function for the color distribution, wherein in the conversion function, the color value of the color distribution gradually changes from the color value of a first point in the virtual space to the color value of a second point in the virtual space; and obtain the color of the at least one light-emitting device in the color distribution by inputting information on the relative position of the reference device and the at least one light-emitting device to the conversion function.
9. The master control device as claimed in claim 5, wherein the at least one light-emitting device includes a third device, and the processor is further configured to: transmit a light indication signal via the communication transceiver, wherein the light indication signal includes a color value corresponding to the color of the third device.
10. The master control device as claimed in claim 5, wherein the at least one light-emitting device comprises a plurality of light-emitting devices, and the processor is further configured to: determine a first color sequence of the light-emitting devices at a first time point, wherein the first color sequence is a sequence of color values corresponding to the light-emitting devices arranged with respect to the distance of the light-emitting devices relative to the reference device at the first time point; and determine a second color sequence of the light-emitting devices at a second time point, wherein the second color sequence is a sequence of color values corresponding to the light-emitting devices arranged with respect to the distance of the light-emitting devices relative to the reference device at the second time point, wherein the second color sequence is a variation of the first color sequence based on a cyclic arrangement.
11. The master control device as claimed in claim 1, wherein the at least one light-emitting device includes a fourth device furthest from the reference device, and the processor is further configured to: change the extent of a virtual space based on the new relative position of the reference device and the fourth device; determine the relative position of the at least one light-emitting device and the reference device in the changed virtual space based on the new relative position of the reference device and the at least one light-emitting device; determine a color distribution in the changed virtual space; determine the color of the at least one light-emitting device in the changed color distribution based on the relative position of the at least one light-emitting device in the changed virtual space; and determine the light color of at least one of its light-emitting elements based on the color of the at least one light-emitting device in the changed color distribution.
12. The master control device as claimed in claim 11, wherein the processor is further configured to: when the position of the reference device changes, make the lower limit of the color value of the changed color distribution the same as the lower limit of the color value of the color distribution.
13. The master control device as claimed in claim 11, wherein the processor is further configured to: when the position of the reference device changes, determine the lower limit of the color value of the changed color distribution based on the new position of the reference device, such that the lower limit of the color value of the changed color distribution is different from the lower limit of the color value of the color distribution.
14. The main control device as described in claim 1, further comprising: An input device is configured to receive at least one user instruction, wherein the user instruction indicates an upper limit for distance, an upper limit for color value, and a lower limit for color value, and the processor is further configured to: determine a diffusion region based on the upper limit for distance and a diffusion effect parameter, wherein the diffusion effect parameter defines the change of the diffusion region over time; determine a color distribution of the diffusion region based on the upper limit for color value and the lower limit for color value; and determine the light color of at least one light element of the at least one light-emitting device based on the color of the at least one light-emitting device in the color distribution.
15. A method for linking lights, comprising: The method involves measuring the relative position of a reference device and at least one light-emitting device via a wireless signal, wherein the reference device and the at least one light-emitting device are connected using a communication protocol corresponding to the wireless signal, and each light-emitting device includes at least one light element; and controlling the at least one light element of the at least one light-emitting device based on the relative position of the reference device and the at least one light-emitting device, wherein the light linkage method further includes: controlling the at least one light element of the at least one light-emitting device based on a new relative position of the reference device and the at least one light-emitting device, wherein the new relative position of the reference device and the at least one light-emitting device is different from the relative position of the reference device and the at least one light-emitting device.
16. The lighting linkage method as described in claim 15, wherein the at least one light-emitting device includes a first device, the wireless signal is a return signal transmitted by the first device to the reference device, and the step of measuring the relative position of the reference device and the at least one light-emitting device through the wireless signal includes: Transmit a ranging signal; receive the return signal, wherein the return signal is used to feed back the ranging signal; determine a return time of the return signal; and determine the distance between the reference device and the first device based on at least one of the return time, signal strength, or phase offset of the return signal; and determine the angle of the first device relative to the reference device based on the angle of arrival of the return signal.
17. The lighting linkage method as claimed in claim 15, wherein the at least one light-emitting device includes a second device that is furthest from the reference device, and the step of controlling the at least one light element of the at least one light-emitting device according to the relative position of the reference device and the at least one light-emitting device includes: The range of a virtual space is determined based on the relative position of the reference device and the second device, wherein the reference device is located at the center of the virtual space; the relative position of the at least one light-emitting device and the reference device in the virtual space is determined based on the relative position of the reference device and the at least one light-emitting device; a color distribution in the virtual space is determined; the color of the at least one light-emitting device in the color distribution is determined based on the relative position of the at least one light-emitting device in the virtual space; and the light color of at least one light element is determined based on the color of the at least one light-emitting device in the color distribution.
18. The lighting linkage method as described in claim 17, wherein the step of determining the color distribution of the virtual space includes: The color of the second device is corresponding to an upper limit of a color value in the color distribution; And to correspond the color of the reference device to a lower limit of a color value of the color distribution.
19. The lighting linkage method as claimed in claim 17, wherein the step of determining the light color of at least one lighting element based on the color of the at least one light-emitting device in the color distribution comprises: A transformation function that determines the color distribution, wherein the color values of the color distribution gradually change from the color value at the center to the upper limit of the color value; And by inputting information about the relative position of the reference device and the at least one light-emitting device into the conversion function, the color of the at least one light-emitting device in the color distribution is obtained.
20. The lighting linkage method as claimed in claim 17, wherein the step of determining the light color of at least one lighting element based on the color of the at least one light-emitting device in the color distribution comprises: A transformation function that determines the color distribution, wherein the color value of the color distribution is gradually changed from the color value of the first point in the virtual space to the color value of the second point in the virtual space; and the color of the at least one light-emitting device in the color distribution is obtained by inputting information about the relative position of the reference device and the at least one light-emitting device to the transformation function.
21. The lighting linkage method as claimed in claim 17, wherein the at least one light-emitting device includes a third device, and the lighting linkage method further includes: Transmit a light indicator signal, wherein the light indicator signal includes the color value of the color corresponding to the third device.
22. The lighting linkage method as claimed in claim 17, wherein the at least one light-emitting device comprises a plurality of light-emitting devices, and the step of determining the light color of at least one light element of the at least one light-emitting device based on the color of the at least one light-emitting device in the color distribution comprises: A first color sequence is determined for the light-emitting devices at a first time point, wherein the first color sequence is the arrangement of the color values corresponding to the light-emitting devices relative to the reference device at the first time point; a second color sequence is determined for the light-emitting devices at a second time point, wherein the second color sequence is the arrangement of the color values corresponding to the light-emitting devices relative to the reference device at the second time point, wherein the second color sequence is a variation of the first color sequence based on a cyclic arrangement.
23. The lighting linkage method as claimed in claim 15, wherein the at least one light-emitting device includes a fourth device that is furthest from the reference device, and the step of controlling the at least one light element of the at least one light-emitting device according to a new relative position between the reference device and the at least one light-emitting device includes: The extent of a virtual space is changed based on the new relative positions of the reference device and the fourth device; The relative positions of the at least one light-emitting device and the reference device in the changed virtual space are determined based on the new relative positions of the reference device and the at least one light-emitting device; a color distribution in the changed virtual space is determined; the color of the at least one light-emitting device in the changed color distribution is determined based on the relative positions of the at least one light-emitting device in the changed virtual space; and the light color of at least one light-emitting element is determined based on the color of the at least one light-emitting device in the changed color distribution.
24. The lighting linkage method as described in claim 23, wherein the step of determining the color distribution of the changed virtual space includes: When the position of the reference device changes, the lower limit of the color value of the changed color distribution is the same as the lower limit of the color value of the color distribution.
25. The lighting linkage method as described in claim 23, wherein the step of determining the color distribution of the changed virtual space includes: When the position of the reference device changes, the lower limit of the color value of the changed color distribution is determined based on the new position of the reference device, so that the lower limit of the color value of the changed color distribution is different from the lower limit of the color value of the original color distribution.
26. The lighting linkage method as claimed in claim 15, wherein the step of controlling the at least one lighting element of the at least one lighting device based on the relative position of the reference device and the at least one lighting device includes: Receive at least one user instruction, wherein the at least one user instruction indicates a distance upper limit, a color value upper limit, and a color value lower limit; A diffusion region is determined based on the upper limit of the distance and a diffusion effect parameter, wherein the diffusion effect parameter defines the change of the diffusion region over time; a color distribution of the diffusion region is determined based on the upper limit of the color value and the lower limit of the color value; and the light color of at least one light element is determined based on the color of the at least one light-emitting device in the color distribution.
27. A lighting control system, comprising: The main control device as described in claim 1; And at least one light-emitting device, wirelessly connected to the main control device.
Citation Information
Patent Citations
Control method, system, medium and equipment of gateway type Internet of Things lamp
CN117440581A
Method and apparatus for automatic assigning of devices
TW201021445A
Wireless behavioral feedback for active lighting control
TW201731346A
Controlling light intensity at a location
US20220171418A1