This application claims the priority benefit of Taiwan application serial no. 111130145, filed on Aug. 11, 2022. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The disclosure relates to a light control device, a light control method, and a server thereof, and in particular relates to a light control device, a light control method, and a server thereof that may reduce resource requirements for main board controllers.
In today's servers, for the diversity and flexibility of the system, there are a variety of storage devices from different sources in the server. Therefore, in the light control mechanism of the storage device, the server must decode the control signal and control the light status of the storage device according to different configurations.
Under the premise of space constraints in the system, the selection of controllers and connectors on the server are limited. Especially in the multi-node server architecture, the aspects of its influence include: the pin configuration of the controller and the connector requires a lot of usage; the processing resources of the controller are heavily occupied; in addition, the signals of the storage devices from various sources may cause the signal lines of a circuit board to be crowded in the layout.
The disclosure provides a server and a light control device thereof, which may reduce the resource of the controller on the backplane from being occupied and reduce the complexity of the circuit layout of the microcontroller on the backplane.
An embodiment of the disclosure provides a light control device, which includes a first controller and a second controller. The first controller is disposed on the first circuit board. The first controller is coupled to a selected signal source of multiple signal sources to re-encode a control signal that is received, and transmits an encoded control signal through a transmission interface. The second controller is disposed on a second circuit board, and is coupled to the first controller through the transmission interface. The second controller is coupled to multiple light-emitting components to decode the encoded control signals and generate multiple driving signals. The driving signals respectively drive and control lighting statuses of the light-emitting components.
An embodiment of the disclosure provides a light control method, which includes the following process. A first controller is disposed on a first circuit board, so that the first controller receives and re-encodes a control signal through a selected signal source to generate an encoded control signal. The encoded control signal is transmitted to a second circuit board through a transmission interface. A second controller is disposed on the second circuit board, so that the second controller decodes the encoded control signal to generate multiple driving signals respectively corresponding to multiple light-emitting components. Lighting statuses of the light-emitting components are respectively driven and controlled according to the driving signals.
An embodiment of the disclosure provides a server, which includes at least one storage device, multiple light-emitting components, and a light control device. The light control device includes a first controller and a second controller. The first controller is disposed on the first circuit board. The first controller is coupled to a selected signal source of multiple signal sources to re-encode a control signal that is received, and transmits an encoded control signal through a transmission interface. The second controller is disposed on a second circuit board, and is coupled to the first controller through the transmission interface. The second controller is coupled to the at least one storage device and the light-emitting components to decode the encoded control signal and generate multiple corresponding driving signals. The driving signals respectively drive and control lighting statuses of the light-emitting components.
Based on the above, the light control device of the disclosure decodes the encoded control signal transmitted by the first controller through the second controller on the second circuit board, and thereby generates a driving signal to drive and control the lighting statuses of the light-emitting components. In this way, the resource usage of the second controller on the second circuit board may be reduced, and the complexity of the circuit layout on the second circuit board may be reduced.
Referring to
The first controller 111 is coupled to the second controller 121 through a transmission interface TI. The second controller 121 is further coupled to the light-emitting components LD1 and LD2, and one or more storage devices HDD1 to HDDN. The storage devices HDD1 to HDDN may be any form of disk drive, such as an embedded non-volatile memory (NVM-e) drive, a serial attached small computer systems interface (SAS) drive, or a serial advanced technology attachment (SATA) drive.
In terms of operation details, the signal source 113 transmits a control signal CS to the first controller 111 through the bus cable CB. The first controller 111 may re-encode the control signal CS, and may generate an encoded control signal ECS. In detail, the first controller 111 may perform a demodulation operation to the control signal CS, and then re-encode the demodulated control signal CS to generate the encoded control signal ECS. The first controller 111 then transmits the encoded control signal ECS to the second controller 121 through the transmission interface TI. In an embodiment, the transmission interface TI may be an inner integrated circuit (I2C) transmission interface.
The second controller 121 may decode the received encoded control signal ECS, thereby generating multiple driving signals DVS1 and DVS2. The second controller 121 may respectively drive the light-emitting components LD1 and LD2 through the driving signals DVS1 and DVS2, and may control the lighting status of each of the light-emitting components LD1 and LD2.
In an embodiment, the second controller 121 also performs sending and receiving operations of control signals CTR1 and CTR2 with the storage devices HDD1 to HDDN. The second controller 121 may determine the types of the storage devices HDD1 to HDDN through the initialization operation of the input/output interface 122 (e.g., a general purpose input/output (GPIO) interface).
In an embodiment, the first circuit board 110 may be a main board, and the second circuit board 120 may be a backplane. The light control operation of the light-emitting components LD1 and LD2 may be controlled by the second controller 121 of the second circuit board 120, which may reduce the resource requirements of the first controller 111. In addition, in an embodiment, the first controller 111 is connected to the selected signal source through the bus cable CB, and then transmits the encoded control signal ECS to the second controller 121 through the transmission interface TI, so that the second circuit board 120 does not need to respectively dispose the separate connecting wires with all the signal sources 112 to 114, which may effectively reduce the number of pins of the second circuit board 120 and reduce the complexity of the wiring on the second circuit board 120.
Referring to
The first circuit board 210 further includes a baseboard management controller (BMC) 215. The baseboard management controller 215 is coupled to the first controller 211. The baseboard management controller 215 may be used to monitor the first controller 211 of the first circuit board 210 (main board), and the second controller 221 of the second circuit board 220 (backplane) may be monitored through the first controller 211 of the first circuit board 210.
An input/output interface 216 of the first controller 211 may be coupled to one of the platform controller hub 212, the RAID controller 213, and the central processing unit 214 through the bus cable CB. In
The first controller 211 is coupled to the second controller 221 through the transmission interface TI. The second controller 221 is further coupled to the storage devices HDD1 to HDDN and the light-emitting components LD1 and LD2.
Regarding the operation details of the light control, when the server 200 enters a standby status, the second controller 221 may determine the type of the selected storage devices HDD1 to HDDN through the initialization operation of the input/output interface 222 (e.g., GPIO) of the second controller 221. In detail, the second controller 221 may determine the type of the selected storage devices HDD1 to HDDN through the logic values of the signals received by the corresponding storage devices HDD1 to HDDN on multiple specific pins, the corresponding relationship may be shown in the following table:
The first pin in the table above may be a PRSNT #pin, a IfDet #pin, and a SAS #pin.
Next, the baseboard management controller 215 may determine whether the first controller 211 is coupled to the RAID controller 213 through the initialization operation of the input/output interface 2151 (e.g., GPIO) of the baseboard management controller 215. When the baseboard management controller 215 determines that the first controller 211 is coupled to the RAID controller 213, the baseboard management controller 215 may control a data transmission mode of the RAID controller 213 to be a universal backplane management (UBM) mode or a serial general purpose input/output (Serial GPIO, SGPIO) mode. The baseboard management controller 215 may pull down specific pins on the first controller 211 and the RAID controller 213 to set the data transmission mode to be the serial GPIO mode, or the above-mentioned specific pins may set the data transmission mode as the backplane management mode through a pull up operation executed by the first circuit board 210.
Similarly, in the standby mode, the first controller 211 may determine that the coupled signal source is the RAID controller 213, the platform controller hub 212, or the central processing unit 214 through the initialization operation of the input/output interface 216 (e.g., GPIO) of the first controller 211. In detail, the first controller 211 may determine according to the logic values of the two pins on the GPIO, for example, that the logic value 00 indicates that the signal source is the platform controller hub 212; the logical value 01 indicates that the signal source is the RAID controller 213 (or a hardware disk array (Raid Card)); the logic value 10 indicates that the signal source is the central processing unit 214.
Next, the server 200 may enter a power-on status. In the power-on status, the first controller 211 may determine that the format of the control signal CS to be decoded is a universal backplane management mode signal, a serial general purpose input/output mode signal, or a virtual pin port (VPP) signal through the initialization operation of the input/output interface 216 (e.g., GPIO) of the first controller 211. The first controller 211 decodes the control signal CS, and encodes the decoded control signal into an encoded control signal ECS of the inner integrated circuit signal. Through the transmission interface TI, the first controller 211 may transmit the encoded control signal ECS to the second controller 221.
The second controller 221 may decode the encoded control signal ECS, and may generate the driving signals DVS1 and DVS2 according to the successfully decoded signals. The second controller 221 respectively provides the driving signals DVS1 and DVS2 to the light-emitting components LD1 and LD2. The second controller 221 may respectively control the lighting statuses of the light-emitting components LD1 and LD2 through the driving signals DVS1 and DVS2. The light-emitting components LD1 and LD2 may be used to reflect the working status of the storage devices HDD1 to HDDN, for example, to indicate that the storage devices HDD1 to HDDN are working, or to indicate that the storage devices HDD1 to HDDN are abnormal. The light-emitting components LD1 and LD2 may be light-emitting diodes.
It is worth mentioning that, in the server 200, the number of light-emitting components may be any integer. The drawing in
In an embodiment, the first controller 211 and the second controller 221 may be a programmable system-on-chip (PSoC) or a microcontroller (MCU) without specific limitation.
Referring to
When the logic value (three bits) of the specific pin detected by the second controller is 100, step S340 may be executed. When the logic value of the specific pin detected by the second controller is 101, 000, or 001, step S332 may be executed.
In step S332, the baseboard management controller may detect whether the signal source has a hard disk array (Raid Card), if so, the selected storage device may be an embedded non-volatile memory disk drive, a serial attached small computer systems interface disk drive, or a serial advanced technology attachment disk drive, and step S333 may be executed; if not, the selected storage device may be a serial advanced technology attachment disk drive, and step S334 may be executed.
In step S333, the baseboard management controller controls the signal transmission mode of the signal source through the initialization operation of the GPIO of the baseboard management controller. When the baseboard management controller sets the signal on a specific pin to logic value 0 through the GPIO of the baseboard management controller, the signal transmission mode of the signal source is the GPIO mode; or when the signal on a specific pin is set to logic value 1, the signal transmission mode of the signal source is the UBM mode.
In addition, in step S334, the baseboard management controller controls the data transmission mode of the signal source to be the SGPIO mode through the initialization operation of the GPIO of the baseboard management controller.
Next, in step S340, the server executes a power-on operation, and respectively corresponds to steps S331, S333, and S334 to respectively enter nodes A1, A2, and A3.
In
In step S360, the first controller on the main board determines the mode of the control signal sent by the signal source through the initialization operation of the GPIO of the first controller. Corresponding to the selected signal source of the central processing unit, the control signal is the virtual pin port signal; corresponding to the selected signal source of the hardware disk array, the control signal is the universal backplane management mode signal or the serial general purpose input/output mode signal; corresponding to the selected signal source of the platform controller hub, the control signal may be the serial general purpose input/output mode signal.
In step S370, the first controller performs the decoding operation of the VPP, UBM, or SGPIO signal to the control signal sent by the signal source according to the determination result of step S360.
Next, in step S380, the first controller performs encoding according to the decoding result of step S370, and generates an encoded control signal which is an inner integrated circuit (I2C) signal.
In step S390, the second controller on the backplane decodes the received encoded control signal which is an inner integrated circuit (I2C) signal, and thereby generates a driving signal. In step S3110, the second controller controls the operation of the light-emitting component through the driving signal, so as to execute the light control operation of the server.
Referring to
The implementation and details of the above steps have been described in detail in the foregoing embodiments, and are not be repeated herein.
To sum up, the disclosure generates the driving signal for controlling the light by disposing the first controller on the main board and decoding the control signal transmitted by the first controller. Thereby, the resource consumption of the second controller on the backplane may be reduced, and the disclosure couples the first controller and the selected signal source through a bus cable, which may effectively reduce the complexity of wiring on the backplane and reduce the number of pins required for the second controller.
Number | Date | Country | Kind |
---|---|---|---|
111130145 | Aug 2022 | TW | national |