Method and system for controlling light source on power supply device by power receiving device
By transmitting manufacturer-defined information through a universal serial bus interface between the power supply and the receiving device, personalized control of lighting effects is achieved, solving the problem of lack of personalized adjustment in existing PD charging devices and improving user experience and product value.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 新加坡商艾科半导体有限公司
- Filing Date
- 2024-10-28
- Publication Date
- 2026-05-01
AI Technical Summary
Existing PD charging devices lack personalized lighting effect adjustment functions, and users cannot customize the lighting effects of the charger according to their personal preferences, resulting in insufficient user interaction and personalized experience.
The connection between the power supply device and the powered device is realized through a universal serial bus interface. Manufacturer-defined information is used to transmit light control exploration, light control confirmation and light source control commands. The controller of the power supply device changes the light signal of the light source according to the light source control command, supporting a variety of lighting effects and dynamic change modes.
It enables personalized control of the lighting effects of the power supply device, enhances the user experience and product value, supports multiple lighting modes and allows users to make fine adjustments without increasing hardware costs.
Smart Images

Figure CN121968423A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a power supply device, a power receiving device, a control method and system for the power receiving device to control a light source on the power supply device, and particularly to a control method and system with programmable light source capability. Background Technology
[0002] With the development of technology, the charging technology for electronic devices is also constantly evolving. Currently, the Universal Serial Bus (USB) Power Delivery (PD) charging protocol has become the mainstream technology for fast charging. It allows devices to negotiate higher voltages and currents, thus achieving faster charging speeds. However, most PD charging devices only provide simple charging status indicators, such as displaying the charging status with a single-color LED or using a digital display to show the charging progress, thus lacking space for user interaction and customization.
[0003] However, while some charging devices on the market already have basic lighting effects, such as breathing lights and scrolling lights, these effects are usually fixed and cannot be adjusted by users according to their personal preferences. Therefore, the industry urgently needs a solution that can integrate PD charging protocol and lighting control functions, allowing users to easily customize the lighting effects of the charger, thereby enhancing product personalization and user experience. Summary of the Invention
[0004] One embodiment of the present invention discloses a control method for a powered device to control a light source on a powered device. The powered device includes a light source and a controller coupled to the light source. The control method includes establishing a connection between the powered device and the powered device via a Universal Serial Bus (USB) interface. The USB interface transmits vendor-defined information, which includes one of a light control exploration command, a light control confirmation message, and a light source control command. The powered device first transmits a light control exploration command to the powered device. If the powered device supports transmitting the light source control command via the vendor-defined information, the powered device responds with a light control confirmation message to the powered device. The powered device then transmits the light source control command to the powered device. The controller in the powered device changes the light signal emitted by the light source according to the received light source control command.
[0005] Another embodiment of the present invention discloses a light source control system. The light source control system includes a power supply device and a power receiving device. The power supply device includes a controller and a light source coupled to the controller. The power receiving device is connected to the power supply device via a Universal Serial Bus (USB) interface. The USB interface transmits vendor-defined information, which includes one of a light control exploration command, a light source control command, and a light control confirmation message. The power receiving device supports transmitting light source control commands via the vendor-defined information. After the power supply device first transmits a light control exploration command to the power receiving device, the power receiving device responds with a light control confirmation message to the power supply device. When the power receiving device subsequently transmits a light source control command to the controller via the vendor-defined information, the controller changes the light signal emitted by the light source according to the received light source control command.
[0006] Another embodiment of the present invention discloses a power supply device. The power supply device is connected to an electrical device via a Universal Serial Bus (USB) interface. The USB interface transmits manufacturer-defined information, which includes one of a light control exploration command, a light source control command, and a light control confirmation message. The powered device transmits the light source control command via the manufacturer-defined information. The power supply device includes a controller and a light source coupled to the controller. After transmitting the light control exploration command to the powered device, the power supply device waits for the powered device to respond with the light control confirmation message. When the power supply device later receives the light source control command from the manufacturer-defined information, the controller changes the light signal emitted by the light source according to the received light source control command.
[0007] Another embodiment of the present invention discloses a powered device. The powered device is connected to a power supply device via a Universal Serial Bus (USB) interface. The USB interface transmits vendor-defined information, which includes one of a light control exploration command, a light source control command, and a light control confirmation message. The powered device transmits the light source control command via the vendor-defined information. The powered device includes a USB controller coupled to the USB interface. When the power supply device transmits a light control exploration command to the powered device, the USB controller responds with a light control confirmation message to the power supply device. When the USB controller subsequently transmits a light source control command to the power supply device, the controller of the power supply device changes the light signal emitted by the light source of the power supply device according to the light source control command. Attached Figure Description
[0008] Figure 1 The diagram shown is a block diagram of a control system for controlling a light source on a power supply device, according to an embodiment of the present invention.
[0009] Figure 2 As shown Figure 1 A schematic diagram illustrating the communication between the light source, controller, and power receiving device in a light source control system.
[0010] Figure 3 As shown Figure 1The flowchart illustrates the control method of the light source control system, in which the powered device controls the light source on the power supply device.
[0011] The reference numerals in the attached figures are explained as follows:
[0012] 100: Control system of the receiving device used to control the light source on the power supply device.
[0013] 10: Power supply device
[0014] 11: Power receiving device
[0015] L: Link
[0016] 10a: Controller
[0017] 10b: Light source
[0018] 11a: Application Programming Interface
[0019] 11b: Universal Serial Bus Controller
[0020] 11c: Memory
[0021] 11d: Battery
[0022] 11e: Battery Management System
[0023] P1 and P2: Ports
[0024] 12: Universal Serial Bus Interface
[0025] S301 to S305: Steps Detailed Implementation
[0026] Figure 1 The diagram shown is a block diagram of a control system 100 used by the power receiving device 11 to control the light source 10b on the power supply device 10, according to an embodiment of the present invention. For the sake of simplicity, Figure 1 The system, hereinafter referred to as the light source control system 100, includes a power supply device 10 (Source Device) and a power receiving device 11 (Sink Device).
[0027] The power supply device 10 is the power supplier, responsible for providing power to the power receiving device 11. The power supply device 10 can adjust its output voltage and current according to the needs of the power receiving device 11 to meet the energy requirements of the high-speed operation of the power receiving device 11, or to shorten the charging time required to fully charge the battery 11d. The power supply device 10 can be, for example, a power supply unit, charger, or portable power bank. In the light source control system 100, the power supply device also has the function of controlling the light source 10b, and can change the lighting effects according to the instructions of the power receiving device 11.
[0028] The power receiving device 11 is the receiver of power, obtaining power from the power supply device 10. Examples of power receiving devices 11 include mobile phones, laptops, tablets, etc. In the light source control system 100, the power receiving device 11 also plays the role of the controller. It can send light source control commands to the power supply device 10 via vendor-defined messages in the Power Delivery (PD) protocol of the Universal Serial Bus (USB) to achieve customized lighting effects.
[0029] The power supply device 10 includes a controller 10a and a light source 10b coupled to the controller 10a. The controller 10a can exist independently or be integrated into the PD controller of the power supply device 10. The light source 10b can be any light-emitting element, such as a light-emitting diode (LED) or an LED strip. The powered device 11 includes a Universal Serial Bus (USB) controller 11b. The powered device 11 and the power supply device 10 can be connected via a USB interface 12, for example, via a Universal Serial Bus Type-C (USB-C) interface. The USB interface 12 supports hot-plugging. Therefore, the USB interface 12 can include port P1 of the power supply device 10, port P2 of the powered device 11, and a connecting cable. Ports P1 and P2 can be paired ports under the USB Type-C specification. The USB controller 11b of the powered device 11 can be coupled to the USB interface 12. The USB interface 12 can transmit manufacturer-defined information. The powered device 11 and the powered device 10 can transmit one of the following through manufacturer-defined information: a light control exploration command, a light source control command, or a light control confirmation message. In one embodiment, the powered device 11 can support the transmission of light source control commands through manufacturer-defined information. In the light source control system 100, after the powered device 10 transmits a light control exploration command to the powered device 11, the powered device 11 can respond with light control confirmation information to the powered device 10. Furthermore, when the powered device 11 transmits a light source control command to the controller 10a through manufacturer-defined information, the controller 10a can change the light signal emitted by the light source 10b according to the received light source control command.
[0030] In the light source control system 100, the controller 10a can change the light signal emitted by the light source 10b according to the light source control command. In the embodiment, it can change at least one of the group consisting of color change, brightness change, and dynamic change mode for the light source 10b. For example, if the light source 10b is a tri-color light-emitting diode, the controller 10a can adjust the proportions of red, green, and blue to produce various different colors to create different special effects atmospheres. Alternatively, the controller 10a can automatically or manually adjust the brightness of the light source 10b according to the ambient light or user settings. Furthermore, the controller 10a can also control the dynamic change mode of the light emitted by the light source 10b. For example, the dynamic change mode can include at least one of the group consisting of breathing, blinking, flowing, chasing, wave, and color gradient changes. In the breathing mode, the brightness of the light source 10b can periodically increase and decrease to produce a breathing effect. In the blinking mode, the light source 10b can be rapidly turned on and off at a certain frequency. In the flowing change mode, if light source 10b is an LED strip, light can flow within the LED strip. In the marquee change mode, if light source 10b is an LED strip, light can appear at different positions within the LED strip. In the wave change mode, if light source 10b is an LED strip, light can undulate like waves. In the color gradient change mode, if light source 10b is an LED strip, the color of light source 10b will gradually change as the proportions of the three primary colors (red, green, and blue) are slightly adjusted.
[0031] Furthermore, in the light source control system 100, the powered device 11 may also include a battery 11d. The battery 11d is coupled to a universal serial bus controller 11b. When the powered device 11 is not connected to the power supply device 10, the battery 11d can provide power to maintain the operation of the powered device 11 (laptop, mobile phone). Light source control commands can control the light signal emitted by the light source 10b. The light signal can change according to the battery level of the battery 11d or abnormal charging conditions. For example, when the battery level is below a certain threshold, the light source 10b can display red or flash to remind the user that the charging progress of the powered device 11 has not reached a safe range. During charging, the light source 10b can display yellow or green and indicate the charging progress with dynamic effects such as a breathing light or a marquee. When the battery 11d is fully charged, the light source 10b can display a stable green or turn off. In addition, in case of abnormal conditions such as battery failure, charger failure, overvoltage, overcurrent, or overtemperature, the light source 10b can display specific colors or light effects to prompt the user to check the device. It should be understood that the power receiving device 11 may also have a Battery Management System (BMS) 11e, which can monitor parameters such as voltage, current, and temperature of the battery 10d in real time. The battery management system 11e can be coupled to the battery 11d and the Universal Serial Bus controller 11b. When the battery state changes or an abnormal condition occurs, the Universal Serial Bus controller 11b of the power receiving device 11 will generate corresponding light source control commands according to default rules and send the light source control commands to the power supply device 10 through the manufacturer-defined information in the PD charging protocol. After receiving the light source control commands, the controller 10a of the power supply device 10 can parse the command content and control the light source 10b to change the light emission effect.
[0032] In the light source control system 100, as mentioned above, the powered device 11 and the powered device 10 can be connected via a USB Type-C interface 12. The USB Type-C interface is reversible and supports higher data transfer speeds and power delivery. The USB Type-C port has multiple pins, including a Configuration Channel Pin (CC Pin) for data communication and power negotiation. In the light source control system 100, the powered device 10 and the powered device 11 can communicate via the CC Pin of the USB Type-C port. For example, when the powered device 10 and the powered device 11 are connected via the USB Type-C port, the CC Pin establishes a data link and determines the direction of data and power transmission. The powered device 11 can send a power request to the powered device 10 via the CC Pin, and the powered device 10 can adjust its output voltage and current according to its own capabilities and the needs of the powered device 11. Furthermore, the receiving device 11 can send manufacturer-defined information to the power supply device 10 via configured channel pins, such as setting the color, brightness, and dynamic mode of the light source 10b of the power supply device 10 through light source control commands. And, as... Figure 1 As shown, if the light source 10b is a monochrome LED or a tri-color LED, the controller 10a can generate a control signal according to the light source control command and change the light signal emitted by the light source 10b through a general-purpose input / output (GPIO) port. For example, the control signal can be a pulse-width modulation (PWM) signal to control the brightness cycle in the breathing light mode. If the light source 10b is an LED strip, the controller 10a can generate a control signal according to the light source control command and change the light signal emitted by the light source 10b through a digital multiplexed (DMX512) interface or a serial peripheral interface (SPI). Any reasonable technical or hardware modifications fall within the scope of this invention. The following describes the details of how the powered device 11 and the power supply device 10 communicate through manufacturer-defined information and control the light source 10b.
[0033] Figure 2The diagram illustrates the communication between the light source 10b, controller 10a, and powered device 11 in the light source control system 100. It should be understood that the powered device 11 and the power supply device 10 need to be paired before connecting, so that the powered device 11 can recognize the power supply device 10. In one embodiment, the powered device 11 can install an application program in memory 11c and pair the powered device 11 and the power supply device 10 through the application program. After the powered device 11 and the power supply device 10 establish a connection (e.g., USB Type-C), the controller 10a within the power supply device 10 can send light control exploration commands to the powered device 11 to confirm whether the powered device 11 supports the ability to control the light source 10b via manufacturer-defined information commands. Figure 2 In this process, the power supply device 10 can send a light control discovery mode command to the powered device 11 via the configured channel pins, and wait for the powered device 11 to respond with light control confirmation information. The light control discovery command may include the manufacturer identifier of the power supply device 10 and other relevant information. After receiving the light control discovery command, the powered device 11 can parse the command content and check whether it supports the corresponding light source control function.
[0034] If the powered device 11 supports the manufacturer-defined light source control operation, it will respond with an Acknowledgement Message to the power supply device 10, and trigger the corresponding light control function to be enabled in the application running within the powered device 11. The user can then make further settings selections through the application. In one embodiment, the powered device 11 also includes an application operation interface 11a. The application operation interface 11a can be connected to a Universal Serial Bus controller 11b. It should be understood that the application operation interface 11a can operate through the Universal Serial Bus controller 11b in the environment of an operating system installed in the memory 11c of the powered device 11. The user can set or select the corresponding light control function through the application operation interface 11a. Conversely, if the powered device 11 does not support the manufacturer-defined light source control operation, it will respond with a "Not Support" message to the power supply device 10; and the corresponding light control function to be disabled in the application running within the powered device 11. If the powered device 11 supports manufacturer-defined information for light source control operations, the powered device 11 can select multiple fields from the instruction set of the manufacturer-defined information to control the light source 10b in a specific mode. The multiple fields of the manufacturer-defined information will be detailed later. In this embodiment, the powered device 11 can send various instructions from the manufacturer-defined information to control the light source effect of the power supply device 10. For example, the powered device 11 can generate a light source control instruction to the controller 10a within the power supply device 10. After receiving the light source control instruction, the power supply device 10 can parse the instruction content and drive the light source 10b to change the emitted light signal to display the corresponding effect. Then, the controller 10a in the power supply device 10 changes the emitted light signal of the light source 10b according to the light source control instruction, and the controller 10a can generate a change confirmation message to the powered device 11. In the light source control system 100, the powered device 11 can continuously send light source control instructions to the power supply device 10. For example, after the powered device 11 receives the change confirmation information from the controller 10a, the powered device 11 can again generate a light source control command to the controller 10a in the power supply device 10. Therefore, the power supply device 10 can, according to the light source control command, drive the light source 10b to change the currently emitted light signal. Similarly, after the controller 10a in the power supply device 10 changes the currently emitted light signal of the light source 10b, the controller 10a can again generate a change confirmation information to the powered device 11, and so on.
[0035] As mentioned above, the powered device 11 can control the light source 10b in a specific mode by selecting multiple fields from the manufacturer-defined instruction set via the application programming interface 11a. Details are described below. If the light source 10b is a monochrome light-emitting diode, the light source control instruction can be an N-bit digital signal. N is a positive integer. In one embodiment, N can be 32. The manufacturer-defined instruction set can contain multiple first fields, as shown in Table T1.
[0036]
[0037] Table T1
[0038] As shown in Table T1, the instruction set of the manufacturer-defined information may contain multiple first fields, and each first field corresponds to a subset of N bits. These first fields may include a light-emitting diode (LED) type field, an LED tracking target field, an LED operation behavior field, and a reserved field. For example, if light source 10b is a monochrome LED, the LED type field corresponding to bits 31 to 29 of the manufacturer-defined information can be selected as "001b = monochrome LED". The LED tracking target field corresponding to bits 28 to 26 of the manufacturer-defined information can be selected as "001b = voltage". The LED operation behavior field corresponding to bits 25 to 24 of the manufacturer-defined information can be selected as "10b = blinking". However, the multiple first fields in Table T1 can be any combination defined by the user, and the present invention is not limited to the field combinations in the above embodiments.
[0039] If the light source 10b is a tri-color light-emitting diode or a light-emitting diode strip, the light source control command can be a 2N-bit digital signal. N is a positive integer. In one embodiment, N can be 32. When the light source 10b is a tri-color light-emitting diode, the manufacturer-defined information instruction set includes multiple first fields and multiple second fields, as shown in Tables T2 and T3.
[0040]
[0041]
[0042] Table T2
[0043] Bit Second field describe B31 to B25 Reserved fields Reserved; must be set to zero. B28 to B26 random color field Random proportions of red, green, and blue B25 to B23 Red ratio field Red proportion B22 to B8 Green ratio field Green ratio B7 to B0 Blue ratio field Blue proportion
[0044] Table T3
[0045] As shown in Tables T2 and T3, the instruction set of the manufacturer-defined information can contain multiple first fields and multiple second fields. Each first field corresponds to a subset of N bits, and each second field corresponds to a subset of the other N bits. The first field can include an LED type field, an LED tracking target field, an LED operation behavior field, a reserved field, and a tracking percentage field. The second field can include a reserved field, a random color field, a red ratio field, a green ratio field, and a blue ratio field. For example, if light source 10b is a tri-color LED, the LED type field corresponding to bits 31 to 29 of the manufacturer-defined information can be selected as "010b = tri-color LED". The LED tracking target field corresponding to bits 28 to 26 of the manufacturer-defined information can be selected as "100b = battery level". The LED operation behavior field corresponding to bits 25 to 23 of the manufacturer-defined information can be selected as "000b = brightness". The tracking percentage field corresponding to bits 7 to 0 of the manufacturer-defined information can be any number from 0% to 100%, for example, 50%. Furthermore, in the remaining 32 bits of the manufacturer-defined information, bits 25 to 23, 22 to 8, and 7 to 0 can be used to select the red, green, and blue proportions of the light source 10b when emitting light, respectively, expressed as percentages (%). With this setting, the light source 10b of the tri-color LED can change the brightness of its custom color based on the current battery power and the battery power threshold (50%). However, the multiple first fields in Table T2 and the multiple second fields in Table T3 can be any user-defined combination; the present invention is not limited to the field combinations described in the above embodiments.
[0046] Under the light source 10b, which is a light-emitting diode, the manufacturer-defined information instruction set includes multiple first fields and multiple second fields, as shown in Tables T4 and T5.
[0047]
[0048]
[0049] Table T4
[0050] Bit Second field describe B31 to B25 Reserved fields Reserved; must be set to zero. B28 to B26 random color field Random proportions of red, green, and blue B25 to B23 Red ratio field Red proportion B22 to B8 Green ratio field Green ratio B7 to B0 Blue ratio field Blue proportion
[0051] Table T5
[0052] As shown in Tables T4 and T5, the instruction set of the vendor-defined information may include multiple first fields and multiple second fields. Each first field corresponds to a portion of N bits, and each second field corresponds to a portion of another N bits. The first field may include an LED type field, an LED tracking target field, an LED operation behavior field, a reserved field, and a tracking percentage field. The second field may include a reserved field, a random color field, a red ratio field, a green ratio field, and a blue ratio field. For example, if the light source 10b is an LED strip, the LED type field corresponding to bits 31 to 29 of the vendor-defined information can be selected as "011b = SPI LED strip" or "100b = DMX512 LED strip", depending on the specifications supported by the LED strip in the power supply device 10. The selection method for the fields corresponding to other bits of the vendor-defined information is similar to the operation of the embodiments mentioned in Tables T2 and T3, and will not be described again here. Similarly, the multiple first fields in table T3 and the multiple second fields in table T4 can be any combination that is user-defined; the present invention is not limited to the field combinations in the above embodiments.
[0053] Figure 3 The diagram shows a flowchart of a control method executed by the light source control system 100, whereby the power receiving device 11 controls the light source 10b on the power supply device 10. The control method includes steps S301 to S305. Any reasonable technical or hardware modifications fall within the scope of this invention. Steps S301 to S305 are described below:
[0054] Step S301: Establish a connection L of the universal serial bus interface between the power supply device 10 and the powered device 11. The universal serial bus interface transmits manufacturer-defined information, which includes one of the following: a light control exploration command, a light control confirmation message, and a light source control command. Step S302: The power supply device 10 transmits the light control exploration command to the powered device 11. Step S303: If the powered device 11 supports transmitting the light source control command using the manufacturer-defined information, the powered device 11 responds with a light control confirmation message to the power supply device 10. Step S304: The powered device 11 transmits the light source control command to the power supply device 10. Step S305: The controller 10a in the power supply device 10, based on the received light source control command...
[0055] Change the light signal emitted by light source 10b.
[0056] The details of steps S301 to S305 have been described in detail above, and will not be repeated here. The light source control system 100 of the present invention can control the lighting effects on the power supply device 10 (such as a charger or power bank) through the powered device 11 (such as a mobile phone or tablet computer), realizing personalized needs. Furthermore, the light source control system 100 supports multiple lighting modes, such as breathing light, flashing, color gradient, and marquee, and allows users to fine-tune mode parameters, such as the frequency and brightness of the breathing light. The light source control system 100 uses manufacturer-defined information instructions in the PD charging protocol to control the lighting effects, requiring no additional hardware, thus simplifying design and reducing costs.
[0057] In summary, this invention discloses a light source control system and a light source control method. The light source control system establishes a channel using a universal serial bus interface under the PD charging protocol between the power supply device and the power receiving device, and transmits light source control commands using manufacturer-defined information, thus realizing customized light source operation. In other words, the light source control system and method of this invention effectively integrate the PD charging protocol and light source control functions, providing light source control capabilities without increasing hardware costs, thereby improving user experience and product value. Therefore, the light source control system and method of this invention have broad application potential and can bring technological innovation to related industries.
[0058] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A control method for a power receiving device to control a light source on a power supply device, characterized in that, The power supply device includes the light source and a controller coupled to the light source, and the control method includes the following steps: Establish a connection between the power supply device and the power receiving device via a universal serial bus interface, wherein the universal serial bus interface transmits vendor-defined information, which includes one of a light control exploration command, a light control confirmation message, and a light source control command. The power supply device transmits the light-controlled exploration command to the power receiving device; If the powered device supports transmitting the light source control command through the manufacturer-defined information, the powered device responds and sends the light control confirmation information to the power supply device; The power receiving device transmits the light source control command to the power supply device; and The controller in the power supply device changes a light signal emitted by the light source according to the received light source control command.
2. The method as described in claim 1, characterized in that, The controller changes the light signal emitted by the light source according to the light source control command, including at least one change selected from color change, brightness change and dynamic change mode.
3. The method as described in claim 2, characterized in that, The dynamic change mode includes at least one change selected from breathing light, flashing, flowing, marquee, wave change and color gradient change.
4. The method as described in claim 1, characterized in that, Also includes: The controller in the power supply device changes the light signal emitted by the light source according to the light source control command, and then the controller generates a change confirmation message to the power receiving device.
5. The method as described in claim 1, characterized in that, The power receiving device has a battery, and the light source control command controls the light signal emitted by the light source, which changes according to the battery's charge level or an abnormal charging condition.
6. The method as described in claim 1, characterized in that, The light source is a monochrome light-emitting diode, the light source control command is an N-bit digital signal, and the manufacturer-defined information instruction set includes multiple first fields, and each first field corresponds to a portion of the N bits, where N is a positive integer.
7. The method as described in claim 1, characterized in that, The light source is a tri-color light-emitting diode or a light-emitting diode strip. The light source control command is a 2N-bit digital signal. The manufacturer-defined information instruction set includes multiple first fields and multiple second fields. Each first field corresponds to a portion of the N bits, and each second field corresponds to a portion of the other N bits, where N is a positive integer.
8. The method as described in claim 1, characterized in that, If the light source is a monochromatic light-emitting diode or a tri-color light-emitting diode, the controller in the power supply device changes the light signal emitted by the light source according to the received light source control command, including: The controller generates a control signal based on the light source control command and changes the light signal emitted by the light source through a general-purpose input / output port.
9. The method as described in claim 1, characterized in that, If the light source is a light-emitting diode strip, the controller in the power supply device changes the light signal emitted by the light source according to the received light source control command, including: The controller generates a control signal according to the light source control command, and changes the light signal emitted by the light source through a digital multiplexed interface or a serial peripheral interface.
10. A light source control system, characterized in that, include: A power supply device, comprising: A controller; and A light source, coupled to the controller; and A power receiving device is connected to the power supply device via a universal serial bus interface. The universal serial bus interface transmits manufacturer-defined information, which includes one of a light control exploration command, a light source control command, and a light control confirmation message. The power receiving device transmits the light source control command by supporting the manufacturer-defined information. After the power supply device transmits the light-controlled exploration command to the powered device, the powered device responds and sends the light-controlled confirmation information to the power supply device; and When the powered device transmits the light source control command to the controller through the manufacturer-defined information, the controller changes a light signal emitted by the light source according to the received light source control command.
11. The system as claimed in claim 10, characterized in that, The controller changes the light signal emitted by the light source according to the light source control command, including at least one change selected from color change, brightness change and dynamic change mode.
12. The system as described in claim 10, characterized in that, After the controller in the power supply device generates a control signal to change the light signal emitted by the light source according to the light source control command, the controller generates a confirmation message to the power receiving device.
13. The system as described in claim 10, characterized in that, The light source is a monochrome light-emitting diode, the light source control command is an N-bit digital signal, and the manufacturer-defined information instruction set includes multiple first fields, and each first field corresponds to a portion of the N bits, where N is a positive integer.
14. The system as claimed in claim 10, characterized in that, The light source is a tri-color light-emitting diode or a light-emitting diode strip. The light source control command is a 2N-bit digital signal. The manufacturer-defined information instruction set includes multiple first fields and multiple second fields. Each first field corresponds to a portion of the N bits, and each second field corresponds to a portion of the other N bits, where N is a positive integer.
15. The system as described in claim 10, characterized in that, If the light source is a monochromatic light-emitting diode or a tri-color light-emitting diode, the controller generates a control signal according to the light source control command, and changes the light signal emitted by the light source through a general-purpose input / output port.
16. The system as claimed in claim 10, characterized in that, If the light source is a light-emitting diode strip, the controller generates a control signal according to the light source control command, and changes the light signal emitted by the light source through a digital multiplexed interface or a serial peripheral interface.
17. A power supply device, characterized in that, The power supply device is connected to a powered device via a universal serial bus interface. The universal serial bus interface transmits manufacturer-defined information, which includes one of a light control exploration command, a light source control command, and a light control confirmation message. The powered device transmits the light source control command through the manufacturer-defined information. The power supply device includes: A controller; and A light source is coupled to the controller; After the power supply device transmits the light-controlled exploration command to the powered device, the power supply device waits for the powered device's response and sends the light-controlled confirmation information; and When the power supply device receives the light source control command in the manufacturer-defined information, the controller changes a light signal emitted by the light source according to the received light source control command.
18. A power receiving device, characterized in that, The powered device is connected to a power supply device via a Universal Serial Bus (USB) interface. The USB interface transmits vendor-defined information, which includes one of a light control exploration command, a light source control command, and a light control confirmation message. The powered device transmits the light source control command through the vendor-defined information. The powered device includes: A universal serial bus controller, coupled to the universal serial bus interface; When the power supply device transmits the optical exploration command to the powered device, the universal serial bus controller responds and sends the optical control confirmation information to the power supply device; and When the universal serial bus controller transmits the light source control command to the power supply device, a controller of the power supply device changes a light signal emitted by a light source of the power supply device according to the light source control command.