The supply unit of the network equipment, the network equipment and the method for power supply thereof
Technical field
The present invention relates to the power supply designing technique of the network equipment, the supply unit and this power-supply device that relate in particular to the network equipment are the method for functional module power supply.
Background technology
Along with the development of society, the energy especially power consumption is more and more, and energy problem has received the concern of entire society.The increasing network equipment is applied to various fields such as family, enterprise, makes and reduces the product power consumption, and the problem that reduces energy resource consumption is brought into schedule.
The network equipment generally includes functional module two parts of supply unit and the various functions of the realization network equipment at present.Supply unit comprises primary power source module and secondary power supply module.As shown in Figure 1, power supply from outside connecting system, no matter be AC power (110V~220V, 50/60Hz AC) still DC power supply (48VDC), be converted into DC power supply by the primary power source module, and by the secondary power supply module converts for the DC power supply that is fit to functional module (as, + 12V, + 5V ,+3.3V etc.), for the functional module of the network equipment provides voltage.Usually the supply unit of the network equipment also comprises a mechanical power switch, and as switch A among the figure or switch B, after mechanical power switch was opened, the whole network equipment powered on by the startup of secondary power supply module.
Owing to need use different chips usually in order to finish different functions in the network equipment, and chip there are differences owing to technology, cost, power consumption, design etc., make different chip required voltages also be not quite similar, therefore need a plurality of different supply voltages in the network equipment, even each functional module may need a plurality of supply voltages.The secondary power supply module that example is powered for each functional module as shown in Figure 1.
The functional module of same level is used same secondary power supply module in the present network equipment, be that the secondary power supply module provides supply voltage for a plurality of voltage identical functions modules, therefore after each secondary power supply module powers on, use all functions module of this level all to power on.Usually exist a power level all to use in each functional module of this network equipment, in Fig. 1, after the secondary power supply modules A powered on, CPU module, WLAN module, 3G/GSM module all powered on, and supposed that cpu system needs 3.3V and 1.8V voltage; The WLAN module needs 3.3V and 1.2V voltage; The 3G/GSM module needs 3.6V, 3.3V, and 1.2V voltage, power module A provides 3.3V voltage among Fig. 1, and power module B provides 1.8V and 1.2V voltage, and power module C provides 3.6V voltage, to satisfy the demand of each functional module of the network equipment.Shown in the figure,, therefore no matter whether use the WLAN module because the 3.3V voltage that provides of secondary power supply modules A is CPU module, WLAN module and 3G/GSM module for power supply simultaneously, perhaps 3G/GSM module, these modules are all in running order.This shows that the present network equipment does not have the mode of operation of low-power consumption, in case power on, other functional modules start immediately, consumes energy; For radio-frequency module, no matter whether use radio-frequency enabled simultaneously, radio circuit is all in running order, all will produce radio-frequency radiation to external world; And because the process that the network equipment powers on powers on for a plurality of functional modules simultaneously, impulse current is very big, causes reliability to reduce.
Summary of the invention
The technical problem to be solved in the present invention is: the supply unit of a kind of network equipment and the network equipment is provided, can only powers on to the functional module of working, save the energy, reduce radio-frequency radiation, improve reliability of products.
For solving the problems of the technologies described above, the invention provides a kind of network equipment, comprise: the primary power source module of Lian Jieing, at least one secondary power supply module and at least one functional module successively, also comprise: the power-on and power-off control unit that is connected with described secondary power supply module, be used to control the operating state of described secondary power supply module, and each secondary power supply module is connected with a functional module, is this functional module power supply.
Wherein, described power-on and power-off control unit is a Programmable Logic Device, and described Programmable Logic Device is by the break-make of the register controlled described secondary power supply module corresponding with described secondary power supply module.
Wherein, described functional module comprises the CPU that is connected with described Programmable Logic Device, and described Programmable Logic Device is communicated by letter with described CPU, controls the break-make of described secondary power supply module.
In addition, also comprise: mechanical switching device shifter, the input pin of the register that described mechanical switching device shifter is corresponding with described CPU connects, and controls the power-on and power-off state of described CPU.
In addition, also comprise dispensing unit and interface unit, described interface unit is sent to described central control unit with the configuration order of described dispensing unit, controls the power-on and power-off state of described secondary power supply module.
In addition, described CPU also comprises trigger element, is used to receive the communication information of described functional module, triggers the register corresponding with described functional module.
In addition, described CPU also comprises timer, is used to set the down electric automatically cycle of described functional module.
The invention provides a kind of supply unit of the network equipment, comprising: the primary power source module of Lian Jieing, secondary power supply module successively; Also comprise:, be used to control the operating state of described secondary power supply module with the power-on and power-off control unit that described secondary power supply module is connected.
Wherein, described power-on and power-off control unit is a programmable logic device.
In addition, also comprise the mechanical switching device shifter that is connected with described power-on and power-off control unit.
In addition, also comprise the secondary power supply module that connects described primary power source module and described power-on and power-off control module, this secondary power supply module is used to described power-on and power-off control unit power supply.
The invention provides the method for a kind of supply unit to the functional module power supply, wherein this supply unit comprises some secondary power supply modules, and described each secondary power supply module is only powered to a functional module, and this method may further comprise the steps:
When not using a certain functional module, the secondary power supply module of powering for this functional module is set to enabled state;
When using a certain functional module, the secondary power supply module of powering for this functional module is set to the state of enabling.
Further, if the not work within the predetermined time of a certain functional module, the secondary power supply module of powering for this functional module is set to enabled state.
Compared with prior art, the invention has the beneficial effects as follows: because the present invention provides voltage by one or more secondary power supply modules for a functional module, realize only when certain functional module is worked, this functional module being powered on by the power-on and power-off control unit simultaneously, therefore reach the purpose of saving the energy, equally, only when work, just power on owing to have the functional module of radio-frequency radiation, therefore reach the purpose that reduces radio-frequency radiation; Further, because the secondary power supply module only is a functional module power supply, therefore after certain secondary power supply module damage, can other functional module not impacted, improve reliability of products, in addition, because the secondary power supply module controls separately functional module, the impulse current when therefore reducing product and powering on further strengthens product reliability.
In addition, the present invention is by the control of the automatic and manual dual mode realization of Programmable Logic Device or mechanical switching device shifter to described secondary power supply module, be convenient to the user and select according to actual conditions, especially cheap by the mode of Programmable Logic Device, need not artificial participation.
Mode for control function module the invention provides two kinds of implementations, both can realize to the mode that interface unit sends configuration order notice relevant register by manual type, also can realize, make things convenient for the user to select by the mode that trigger element triggers relevant register automatically.
Further, the present invention is electric down with it automatically when functional module is not worked for a long time, further saves the energy.
Description of drawings
Fig. 1 is the structural representation of the network equipment of the prior art;
Fig. 2 is the structural representation of the network equipment of the present invention;
Fig. 3 is the structural representation of the network equipment of first embodiment.
Embodiment
Usually, the network equipment uses different chips to finish the functional requirement of difference in functionality module, because the technology of each chip, cost, power consumption, design etc. there are differences, thereby cause the difference of different chip required voltages, therefore the network equipment needs a plurality of different supply voltages at different functional modules, even each functional module may need a plurality of supply voltages.
The functional module of same level uses same secondary power supply module that supply voltage is provided in the present network equipment, cause each secondary power supply module to power on after, use all functions module of this level all to power on, cause the wasting of resources.Core concept of the present invention is to make functional module of each secondary power supply module controls, realizes the independent control of secondary power supply module to functional module.
The present invention is by increasing the power-on and power-off control unit in the network equipment, and selection can be satisfied the control of the secondary power supply module realization of functional module voltage requirements to the power-on and power-off of the network equipment, and then the power consumption of reduction product, reduce the unnecessary external radio-frequency radiation of product, improve the reliability of data communication products simultaneously.
For realizing this purpose, the present invention adds the power-on and power-off control unit in conventional network equipment, adopts integrated power module or a plurality of secondary power supply module to provide required power supply for a functional module simultaneously.Fig. 2 is the structural representation of the network equipment of the present invention.Functional module A is its power supply by the secondary power supply modules A of integrated two power supplys among the figure; Secondary power supply module B and secondary power supply module C provide its required voltage for functional module B; Three supply voltages that secondary power supply module D integrated functional module C is required.The preferred programmable logic device of described power-on and power-off control unit is realized, each register in the described power-on and power-off control unit is corresponding with a functional module, behind power supply electrifying, by central processor unit and programable logic device interactive communication, and then the operating state of control secondary power supply module; Also can directly control the secondary power supply module, increase additional devices such as triode as required by the general controls pin of central processor unit.
Because the functional module in the common network equipment comprises CPU, therefore can directly utilize communicating by letter of this CPU and described programmable logic cells, control the break-make of described secondary power supply module.Because it is charged for a long time that the CPU of the network equipment needs usually, therefore the network equipment of the present invention also comprises mechanical diverter switch, the input pin of the register that described mechanical switch is corresponding with described CPU connects, control the power-on and power-off state of described CPU, when the needs network equipment powers on, connect mechanical diverter switch, described CPU is powered on; When stopping using the network equipment, disconnect mechanical diverter switch, make under the CPU.In addition, because CPU need be charged for a long time, therefore also the pin of the secondary power supply module corresponding with described CPU directly can be changed to on-state.
The network equipment of the present invention also comprises dispensing unit and interface unit, when needs start or stop other functional modules, the user is by the dispensing unit input configuration order on foreground, described interface unit is sent to described central control unit with the configuration order of described dispensing unit, controls the power-on and power-off state of described secondary power supply module.In addition, starting or stoping other functional modules can also be by adding trigger element in described CPU, receive the communication information of described functional module, judge the functional module that current needs start or close according to the information that receives, thereby trigger the register corresponding with described functional module.
CPU in the network equipment of the present invention also comprises timer, can set the down electric automatically cycle of described functional module.In the cycle that certain functional module is being set, do not communicate,, thereby save the energy then automatically with electricity under this functional module.
Also can adopt mechanical switching device shifter to realize for the power-on and power-off control unit, can select part secondary power supply module by mechanical switching device shifter or all select mechanical switching device shifter for use as required.
In addition, the invention provides the method for a kind of supply unit to the functional module power supply, wherein this supply unit comprises some secondary power supply modules, described each secondary power supply module is only powered to a functional module, before a certain function piece used, the secondary power supply module of powering for this functional module was set to enabled state; When using a certain functional module, the secondary power supply module of powering for this functional module is set to the state of enabling; For the further electric energy of saving, the present invention is not if a certain functional module is worked within the predetermined time, and the secondary power supply module of powering for this functional module is set to enabled state.
At the method for above-mentioned supply unit to functional module power supply, the supply unit that is used for the above-mentioned network equipment provided by the invention as shown in Figure 2, comprising: the primary power source module of Lian Jieing, secondary power supply module successively; And the power-on and power-off control unit that is connected with described secondary power supply module, be used to control the break-make of described secondary power supply module and described primary power source module.The implementation of described power-on and power-off control unit repeats no more with mentioned above identical.
Below enumerate specific embodiments of the invention, with better elaboration implementation procedure of the present invention.
Specific embodiment: as Fig. 3, this network equipment comprises the register B in the programmable logic device of WLAN module, the power module B corresponding with the WLAN module, control power module B; Cpu system and Ethernet interface, the power module C corresponding, the register C of control power module C with cpu system; The register A of 3G/GSM module, the power module A corresponding and power module E, control power module A and power module E with the 3G/GSM module.The computer that connects Ethernet interface can intercom mutually, and the computer that connects Ethernet and WLAN interface also can intercom mutually, and the computer that connects Ethernet interface and WLAN interface can pass through 3G/GSM interface accessing Internet net.The supply voltage input pin of each power module is connected with the supply voltage output pin of power supply adaptor among the figure, the general pin of programmable logic device is connected with the controlled pin of each power module, break-make by each the controlled pin of control that transmits control signal, the input pin of programmable logic device is connected with the output pin of a secondary power supply module simultaneously, and this secondary power supply module is described programmable logic device power supply.Also has key switch with register C is connected with power supply adaptor.
After this network equipment plugs in, power module D by power supply adaptor and programmable logic device, programmable logic device is powered on, this network equipment is in the wait state, have only the programmable logic device system to be in electriferous state, initial condition power module A/B/C does not all power on, so 3G/GSM module, WLAN module, cpu system ethernet interface module all are in not electriferous state; When the user prepares to use this equipment to communicate, open key switch, programmable logic device will be controlled register C and the power connection of power module C, and cpu system starts up like this, and ethernet interface circuit also starts up simultaneously.If the user only uses Ethernet interface to carry out mutual communication, 3G/GSM module and WLAN module needn't power on, and have both saved the energy, have reduced radio-frequency radiation again.
When the computer that connects Ethernet interface needs and during the compunication of WLAN interface, has two kinds of methods can realize powering on of WLAN module, a kind of is artificial manual configuration, and a kind of is to realize need not intervention automatically.When adopting artificial manual configuration, the user visits the configuration interface of this network equipment by connecting the computer of Ethernet interface, is configured.The user sends configuration order, at the hyper terminal or the gateway interface of computer, carries out configuration order and enables the WLAN function.Subsequently, this configuration order is sent to cpu system by interface unit, cpu system is write the register B of programmable logic device by address date read-write bus, the change of register B state, enable power module B, thereby the WLAN module powers on, in programmable logic device, can also comprise the status register corresponding with each functional module, after the WLAN module powers on, change the state of described status register, and by this status register and CPU module interactive communication, inform that CPU module WLAN module powers on, at this moment, the CPU module WLAN module that will reset, support the WLAN interface communication to restart corresponding driving program and application program, Ethernet interface just can intercom mutually with the WLAN interface like this.
More than for manually starting the implementation of WLAN module, if select automatic implementation for use, need in the application program of CPU module, increase trigger element, in the time of such as the computer of the computer access WLAN interface of Ethernet interface, trigger element in the cpu system is judged according to Ethernet message IP address or the MAC Address transmitted, discovery need be forwarded to the WLAN interface, and by as above writing the register B of programmable logic device, follow-up processing flow is identical with the manual configuration pattern.It should be noted that, when the computer of WLAN interface need be visited the Ethernet interface computer, must start the WLAN module by manual configuration, this is need transfer data to the CPU processing module by the WLAN module of this equipment owing to be connected to the computer of WLAN interface, and owing to the WLAN module does not also power on, data can't be transmitted over, so CPU module and the uncontrollable WLAN module of programmable logic device power on.
The another one aspect, the timer of the cpu system of the network equipment is set timing cycle among the present invention, can on the network equipment, be configured, find not have data when Ethernet interface is forwarded to the WLAN interface when cpu system is long-time, cpu system is write the status register of programmable logic device by address data bus, the change of status register state, register B removes to enable power module B, WLAN module power down so simultaneously.Realized that the WLAN pattern is not having automatic power down under the situation of communication service, consumes energy does not externally produce radiation.And the 3G/GSM module do not power on, and saved the energy, reduces radio-frequency radiation.
When same user need pass through 3G/GSM interface accessing Internet, also can enable and go to enable 3G/GSM module power on and off according to as above enabling the WLAN modular manner.
Embodiment finds out thus, and the present invention enables the difference in functionality module one by one and powers on, and the impact of the voltage and current that power supply adaptor is subjected to is less, improves the reliability of system; In addition as power module A or power module B because a variety of causes when damaging, system's other parts functional module still can continue to use, and has improved reliability of products equally.Even the network equipment does not comprise radio-frequency (RF) circuit module, use the present invention can reduce unnecessary power consumption, save the energy.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.