Detailed Description
Fig. 3 is a schematic structural diagram of a power supply control circuit of a DCMI according to an embodiment of the present invention, as shown in fig. 3, the power supply control circuit of the DCMI is connected between a power supply module and a management module, where the power supply module outputs a standby voltage and a system voltage, and the management module includes a main management module and a standby management module. The power supply control circuit of the DCMI comprises: the system comprises a main control unit for controlling the power supply of the main management module and a standby control unit for controlling the power supply of the standby management module. The standby management module is used for controlling the standby voltage to supply power to the DCMI on the standby management module in a second time period; the first time period and the second time period are not overlapped, so that the standby voltage at any moment is effectively ensured to supply power for only one DCMI in the main standby management module, and the power consumption is effectively saved.
The embodiment of the invention takes a dual-engine modular switch as an example for explanation. The modular switch with the double engines can realize redundant backup among the engines, and the modular switch cannot be abnormal when any engine is plugged in or pulled out, and the modular switch cannot be abnormal when any engine is damaged. Meanwhile, the power supply control circuit of the DCMI provided by the embodiment of the invention can realize that the standby voltage only supplies power to the DCMI module of one engine in the double engines at any time, can achieve the effect of saving power consumption in standby and effectively reduces the required power of the standby voltage.
In the embodiment of the present invention, the power module supports two voltage outputs, one is a backup voltage of 3.3V (of course, other values such as 5V) and the other is a system voltage of 12V (of course, other values are also possible). The output of system voltage can be controlled through a control pin PowerEN, and under the general condition, the system voltage can be normally output when the PowerEN is at a low level; when PowerEN is high voltage, the system voltage is not output. The output of the standby voltage is not controlled by the control pin PowerEN, and the standby voltage is output as long as 220V alternating current input exists. The standby voltage only powers the DCMI on the management module (i.e., engine), and the system voltage powers other devices of the engine, which may be other circuits, line cards, fan disks, etc. of the management module. The back plate is used for connecting all modules in the modular switch, such as power modules, engines, line cards and other board cards. The dual engines use the slot 1 engine and the slot 2 engine to distinguish from each other. Wherein slot 1 engine represents an engine inserted into the 1 st engine slot of the modular switch and slot 2 engine represents a cause of insertion into the 2 nd engine slot of the modular switch. Note that the slot 1 engine and the slot 2 engine are identical in hardware circuit design, and only the insertion positions are different. Each engine can be divided into DCMI and other circuits. The circuit of the DCMI part provided in the embodiment of the present invention may include a Complex Programmable Logic Device (CPLD). The CPLD is a digital integrated circuit that constructs logic functions according to user needs, and the logic functions in the embodiments of the present invention are described in detail later herein.
It should be noted here that the power module may be connected to the modular switch through a power backplane, and the slot 1 engine and the slot 2 engine may be connected to the modular switch through a system backplane.
In an implementation manner, as shown in fig. 4, which is a schematic structural diagram of a power supply control circuit of a DCMI according to a second embodiment of the present invention, the main control unit may include a first power-on control chip; the first power-on control chip comprises an input end, an output end and an enabling end. The input end of the first power-on control chip is connected with the output end of the standby voltage, the output end of the first power-on control chip is connected with the DCMI on the main management module, and the enabling end controls the input end and the output end to be conducted in a first time period according to a control signal of the programmable logic device. And/or, the standby control unit may include a second power-on control chip; the second power-on control chip comprises an input end, an output end and an enabling end. The input end of the second power-on control chip is connected with the output end of the standby voltage, the output end of the second power-on control chip is connected with the DCMI on the standby management module, and the enabling end controls the input end and the output end to be conducted in a second time period according to a control signal of the programmable logic device.
In the embodiment of the present invention, the first power-on control chip can adopt, but is not limited to, the LTC41 circuit schematic diagram provided in the second embodiment of the present invention as shown in fig. 5. In the common power-ON enable control and slow power-ON control chip LTC41, when the ON pin is at a high level, it is in a conducting state, and the standby voltage can reach the DCMI of the main management module; when the ON pin is at a low level, the ON pin is in an off state, and the standby voltage cannot reach the DCMI of the active management module. With reference to the specific circuit shown in fig. 5, as will be known by those skilled in the art, the ON pin is the pin No. 2 in fig. 5, and is connected to the programmable logic device in this embodiment, Vin is connected to the standby voltage, and Vout is connected to the DCMI of the active management module. The programmable logic device provides a high level for an enabling end of a first power-on control chip and provides a low level for an enabling end of a second power-on control chip in a first time period; and providing a low level for the enable terminal of the first power-on control chip and providing a high level for the enable terminal of the second power-on control chip in a second time period. Of course, since the embodiment of the present invention only uses the LTC41 circuit as an example to describe the first power-on control chip, but is not used to limit the provision of the control signal of the programmable logic device, if the first power-on control chip uses other types of circuits, the programmable logic device may also provide a low level for the enable terminal of the first power-on control chip and provide a high level for the enable terminal of the second power-on control chip in the first time period; and providing a high level for the enable terminal of the first power-on control chip and providing a low level for the enable terminal of the second power-on control chip in a second time period. The second power-on control chip may be, but is not limited to, using an LTC41 circuit as shown in fig. 5. For details, reference may be made to the description of the first power-on control chip, which is not repeated herein.
Based on the embodiment shown in fig. 4, as shown in fig. 6, which is a schematic structural diagram of a power supply control circuit of a DCMI provided in the third embodiment of the present invention, the active control unit may further include a first diode, an anode of the first diode is connected to an output end of the first power-on control chip, and a cathode of the first diode is connected to the DCMI on the active management module. And/or the standby control unit can further comprise a second diode, wherein the anode of the second diode is connected with the output end of the second power-on control chip, and the cathode of the second diode is connected with the DCMI on the standby management module. The first diode and the second diode can effectively ensure the one-way conductivity of the current.
Based on the embodiment shown in fig. 4, as shown in fig. 7, which is a schematic structural diagram of a power supply control circuit of a DCMI according to a fourth embodiment of the present invention, the active control unit may further include a first switching device, where the first switching device is connected between the programmable logic device and an enable end of the first power-on control chip, and is used to control whether a control signal of the programmable logic device can be transmitted to the enable end of the first power-on control chip. And/or, the standby control unit can further comprise a second switching device, the second switching device is connected between the programmable logic device and the enable terminal of the second upper electric control chip, and is used for controlling whether the control signal of the programmable logic device can be transmitted to the enable terminal of the second upper electric control chip.
Based on the implementation shown in fig. 7, as shown in fig. 8, the above-mentioned programmable logic device may include a first programmable logic device and a second programmable logic device, which are a schematic structural diagram of a power supply control circuit of a DCMI according to a fifth embodiment of the present invention. The first programmable logic device is arranged inside the main management module, and the second programmable logic device is arranged inside the standby management module. The first switching device may include an input terminal, an output terminal, and an enable terminal, and the second switching device may include an input terminal, an output terminal, and an enable terminal. The first switch device and the second switch device are used for controlling the conduction between the input end and the output end through control signals on the respective enabling ends. The types of the first switching device and the second switching device may be optical couplers, MOS transistors, or others, and those skilled in the art may flexibly select the types according to actual situations, which is not limited herein. The first programmable logic device outputs a control signal to an enable terminal of the first switch device, and the second programmable logic device outputs a control signal to an input terminal of the first switch device. The second programmable logic device outputs a control signal to an enable end of the second switch device, and the first programmable logic device outputs a control signal to an input end of the second switch device.
Here, an output signal of the output terminal of the first switching device is referred to as a presence sensing (present) signal, and is used for the active management module to sense whether the standby management module is inserted into the presence sensing (present) signal. The default state, the unpowered state, of the first switching device is open. The opening and closing of the first switching device is controlled by the DCMI connected to its enable terminal. Since the programmable logic device's corner is a high impedance state by default, the present signal of the first switching device is pulled high by default. So in this embodiment, the present signal is active low by default. That is, when the DCMI on the active management module controls the enable terminal of the first switching device to close the first switching device, and then the input signal at the input terminal of the first switching device is at a low level, it indicates that the active management module senses that the standby management module is inserted into the slot.
Similarly, the output signal of the output terminal of the second switching device is also referred to as a presence sensing (present) signal, and is used for the standby management module to sense whether the presence signal is inserted into the active management module. The default state, the unpowered state, of the second switching device is open. The opening and closing of the second switching device is controlled by the DCMI connected to its enable terminal. Since the programmable logic device's corner is a high impedance state by default, the present signal of the second switching device is pulled high by default. So in this embodiment, the present signal is active low by default. That is, when the DCMI on the standby management module controls the enable terminal of the second switching device to close the second switching device, and then the input signal at the input terminal of the second switching device is at a low level, it indicates that the standby management module senses that the active management module is inserted into the slot.
Of course, the first programmable logic device may also output the control signal to the enable terminal of the second switch device, the second programmable logic device may output the control signal to the input terminal of the second switch device, the second programmable logic device may output the control signal to the enable terminal of the first switch device, and the first programmable logic device may output the control signal to the input terminal of the first switch device. The above embodiments are only described by taking the former case as an example, but are not intended to limit the scope of the present invention.
The design mode multiplexes the existing programmable logic devices in the main management module and the standby management module, thereby reducing the investment of hardware cost. Meanwhile, the two existing programmable logic devices provide signals for the first switch device and the second switch device, cooperate with each other, and accurately provide control signals, so that the standby voltage is effectively provided for the main management module in the first time period, and the standby voltage is provided for the standby management module in the second time period.
Based on the embodiments shown in the above figures, as shown in fig. 9, which is a schematic structural diagram of a power supply control circuit of a DCMI according to a sixth embodiment of the present invention, the active control unit may further include a first pull-up resistor, where the first pull-up resistor is disposed between the input terminal and the enable terminal of the first power-up control chip. And/or, the standby control unit may further include a second pull-up resistor disposed between the input terminal and the enable terminal of the second power-up control chip. The main function of the first pull-up resistor and the second pull-up resistor is to pull the present signal high.
On the basis of the foregoing embodiment, as shown in fig. 10, in a schematic structural diagram of a power supply control circuit of a DCMI provided in the seventh embodiment of the present invention, the active control unit may further include a first voltage converter, an input end of the first voltage converter is connected to an output end of the system voltage, an output end of the first voltage converter is connected to the DCMI on the active management module, and the first voltage converter is configured to convert the system voltage into a voltage equal to the standby voltage and supply the voltage to the DCMI on the active management module. And/or, the standby control unit may further include a second voltage converter, an input terminal of the second voltage converter is connected to an output terminal of the system voltage, and an output terminal of the second voltage converter is connected to the DCMI on the standby management module, and the second voltage converter is configured to convert the system voltage into a voltage equal to the standby voltage and provide the voltage to the DCMI on the standby management module. In the embodiment of the present invention, both the first voltage converter and the second voltage converter may be on-board voltage conversion modules. Furthermore, the active control unit may further include a third diode, a positive electrode of the third diode is connected to the output terminal of the first voltage converter, and a negative electrode of the third diode is connected to the DCMI of the active management module; and/or the standby control unit further comprises a fourth diode, wherein the anode of the fourth diode is connected with the output end of the second voltage converter, and the cathode of the fourth diode is connected with the DCMI on the standby management module.
In this embodiment, the cathodes of the first diode and the third diode may be connected together and then connected to the DCMI on the active management module. The purpose of using these two diodes is to make redundancy for the standby voltage of the system voltage conversion as well as the actual standby voltage. The DCMI will be powered as long as any one of the voltages is present, and the two voltages will not interfere with each other, allowing seamless switching.
Similarly, the cathodes of the second and fourth diodes are connected together and then to the DCMI on the standby management module. The purpose of using these two diodes is to make redundancy for the standby voltage of the system voltage conversion as well as the actual standby voltage. The DCMI will be powered as long as any one of the voltages is present, and the two voltages will not interfere with each other, allowing seamless switching.
The following describes in detail the operation of the DCMI power supply control circuit according to the embodiment of the present invention, by taking a schematic structural diagram of a dual-engine modular switch according to an eighth embodiment of the present invention shown in fig. 11 as an example. The total number is seven cases as follows:
the first case is that only the slot 1 engine is in place. In this case, if the modular switch is in a standby state, only the standby voltage is supplied in the power supply module. The CPLD pin of the slot 2 engine outputs a high level, and the CPLD of the slot 1 engine controls the first switch device to be conducted, so that the present signal of the slot 1 engine is ensured to be the high level, therefore, the first control chip is conducted, and the DCMI of the slot 1 engine is powered by the standby voltage. When the control pin of the power module controls the voltage output of the system, other circuit parts of the slot 1 engine adopt the system voltage to supply power.
The second case is that only the slot 2 engine is in place. In this case, if the modular switch is in a standby state, only the standby voltage is supplied in the power supply module. The slot position 1 engine is not in place, the CPLD of the slot position 2 controls the second switching device to be not conducted, and the present signal of the slot position 2 engine is ensured to be high level, so that the second control chip is conducted, and the DCMI of the slot position 2 engine is powered by standby voltage. When the control pin of the power module controls the voltage output of the system, other circuit parts of the slot 2 engine adopt the system voltage to supply power.
The third case is that slot 1 engine and slot 2 engine are in place simultaneously. In this case, if the modular switch is in a standby state, only the standby voltage is supplied in the power supply module. The CPLD pin of the slot 2 engine outputs a high level, and the CPLD of the slot 1 engine controls the first switch device to be conducted, so that the present signal of the slot 1 engine is ensured to be the high level, therefore, the first control chip is conducted, and the DCMI of the slot 1 engine is powered by a standby power supply. Because the slot 1 engine is in place, the ground wire of the slot 1 engine (that is, the CPLD of the slot 1 engine can be understood to output a low level, and the CPLD of the slot 2 engine controls the second switch device to be turned on, the present signal of the slot 2 engine is a low level, the second control chip is turned off, and the DCMI of the slot 2 engine is not powered. After the control pin of the power module controls the system voltage output, the DCMI and other circuit parts of the slot 2 engine are powered by the system voltage.
The fourth case is that the slot 1 engine is in place and then the slot 2 engine is inserted. In this case, before insertion, as in the first case; after insertion, the same applies to the third case.
The fifth case is that slot 2 engine is in place and then slot 1 engine is inserted. In this case, before insertion, as in the second case; after insertion, the same applies to the third case.
In the sixth case, the slot 1 engine and the slot 2 engine are simultaneously in the slot, and the slot 1 engine is pulled out. In this case, before the pulling-out, the same as in the third case; after the removal, the same procedure as in the second case was repeated.
In the seventh case, the slot 1 engine and the slot 2 engine are simultaneously in the slot, and the slot 2 engine is pulled out. In this case, before the pulling-out, the same as in the third case; after the removal, the same procedure as in the first case was repeated.
In case of an engine failure, the DCMI power supply control circuit provided by the embodiment of the present invention may operate as follows: if the slot 2 engine fails, the DCMI module of the slot 1 engine still supplies power, and the remote power-on and power-off control function of the DCMI is not affected. If the slot 1 engine fails, the slot 2 engine can pull down the present signal of the slot 1 engine by controlling the CPLD of the slot 2 engine, and the DCMI of the slot 1 engine is disconnected from the standby voltage. Meanwhile, the CPLD of the slot 2 engine closes the second switch device, so that the present signal of the second control chip is pulled high, and the DCMI of the slot 2 engine is powered by the standby voltage, so that remote power-on and power-off control power supply can still be normally realized without influence.
Through the analysis of the working mode, the scheme provided by the embodiment of the invention can be known that the standby voltage only supplies power to the DCMI of one engine at any time, so that the energy consumption can be effectively saved in the standby state; secondly, as long as the standby voltage exists, at least one DCMI in the modular switch is powered, and a user can carry out remote operation through the DCMI; thirdly, after the system voltage works, the double engines have a redundancy effect, and the modular switch cannot be abnormal when any engine is plugged.
The embodiment of the invention also comprises a modularized device, which comprises a power supply module and a management module which are connected with each other through a backboard, wherein the power supply module outputs a standby power supply and a system power supply, and the management module comprises a main management module and a standby management module. Further, a power supply control circuit of the DCMI as provided in the above embodiments may be further included. Since the above embodiments have described such a modular device in detail, detailed description thereof is omitted.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.