The microcontroller of charged source control unit
Technical field
The utility model belongs to the SIC (semiconductor integrated circuit) design field, relates to a kind of microcontroller, relates in particular to the microcontroller of a kind of charged source control unit.
Background technology
When 32 8-digit microcontrollers are used in the battery power supply system as key modules, battery life will become the key factor of weighing properties of product.Therefore, must reduce the power consumption of microcontroller own as much as possible and extending battery life.Use the means of PMU, be applied in the various microcontroller products that the low-power consumption requirement arranged as inner each functional circuit power supply of high-efficiency management microcontroller.
Low-power consumption 32 8-digit microcontrollers of charged source control unit have mode of operation, standby mode and three kinds of operational modes of sleep pattern.The user makes microcontroller enter different operational modes by the mode of configuration control register.According to the existing reference power supply Module Design principle in Power Management Unit inside, when load current reduced, work efficiency decreased.Because existing pattern control can only be controlled clock circuit and can not control Power Management Unit flexibly, caused each functional circuit continuation maintenance power supply under idle condition in the microcontroller, and reduced inner each the reference power supply module work efficiency of Power Management Unit simultaneously, thereby made microcontroller can't realize low-power consumption veritably.
The utility model content
Technical problem to be solved in the utility model is: the microcontroller of a kind of charged source control unit is provided, can controls Power Management Unit flexibly, thereby reduce power consumption.
For solving the problems of the technologies described above, the utility model adopts following technical scheme:
The microcontroller of a kind of charged source control unit, described microcontroller comprises: central processing unit, peripheral circuit, wake-up circuit, Power Management Unit;
Described central processing unit, peripheral circuit, wake-up circuit are connected with Power Management Unit respectively;
Described Power Management Unit comprises the controller and the primary standard power module that is connected with described controller, low-power consumption reference power supply module and super low-power consumption reference power supply module that is used to control the Power Management Unit state.
As a kind of preferred version of the present utility model, described controller comprises the register array unit that the control register that is connected with Power Management Unit is connected with described control register.
As a kind of preferred version of the present utility model, described primary standard power module connects described central processing unit, peripheral circuit, and low-power consumption reference power supply module connects described peripheral circuit, and super low-power consumption reference power supply module connects described wake-up circuit.
The beneficial effects of the utility model are: low-power consumption 32 8-digit microcontrollers of the charged source control unit that the utility model proposes, by the control register that is connected with Power Management Unit the state of Power Management Unit is controlled and to have been realized the controllably power supply separately of each functional circuit of microcontroller, and improved the work efficiency of inner each the reference power supply module of Power Management Unit simultaneously, thereby reduced power consumption.
Description of drawings
Fig. 1 is the composition synoptic diagram of low-power consumption 32 8-digit microcontrollers of the charged source control of the utility model unit.
Embodiment
Describe preferred embodiment of the present utility model in detail below in conjunction with accompanying drawing.
Embodiment one
See also Fig. 1, the utility model has disclosed low-power consumption 32 8-digit microcontrollers of a kind of charged source control unit; Described microcontroller comprises interconnective central processing unit 1, peripheral circuit 2, wake-up circuit 3 and Power Management Unit 4.Wherein, Power Management Unit comprises the controller 41 and the primary standard power module 42 that is connected with controller 41, low-power consumption reference power supply module 43 and super low-power consumption reference power supply module 44 that is used to control the Power Management Unit state.
In the present embodiment, Power Management Unit is made of three reference power supply modules and controller.Three reference power supply modules are respectively primary standard power module 42, low-power consumption reference power supply module 43, super low-power consumption reference power supply module 44.The maximum output current maximum of primary standard power module wherein, work efficiency is higher under the state of high capacity operation.The maximum output current of low-power consumption reference power supply module is placed in the middle.The maximum output current minimum of super low-power consumption reference power supply module, work efficiency is higher under the state of low load running.When mode of operation, primary standard power module, low-power consumption reference power supply module and super low-power consumption reference power supply module are powered so that maximum output current to be provided for each functional circuit of 32 8-digit microcontrollers simultaneously.When standby mode, central processing unit is in idle state, and load current reduces, and for improving the power management module work efficiency, the primary standard power module is closed.Low-power consumption reference power supply module and super low-power consumption reference power supply module continue to open to guarantee peripheral circuit, wake-up circuit power supply.When sleep pattern, central processing unit and peripheral circuit all cut off the power supply to guarantee minimum quiescent dissipation.Only open super low-power consumption reference power supply module this moment in order to keep the wake-up circuit power supply.
When low-power consumption 32 8-digit microcontrollers of the charged source control of the utility model unit are prepared to enter mode of operation, controller 41ctrl 1, ctrl 2, ctrl 3 outputs are 0, and primary standard power module, low-power consumption reference power supply module, super low-power consumption reference power supply module switch to duty.As stat1, stat2, when the stat3 input is 1, show that microcontroller has entered mode of operation.
When low-power consumption 32 8-digit microcontrollers of the charged source control of the utility model unit are prepared to enter standby mode, controller 41ctrl1 is output as 1, ctrl 2, and ctrl 3 is output as 0, and low-power consumption reference power supply module and super low-power consumption reference power supply module switch to duty.The primary standard power module switches to the pass electricity condition.When stat2, stat3 are input as 1, stat1 is input as at 0 o'clock, shows that microcontroller has entered standby mode.
When low-power consumption 32 8-digit microcontrollers of the charged source control of the utility model unit were prepared to enter sleep pattern, controller 41ctrl 3 was output as 0, and ctrl 1, and ctrl 2 is output as 1, and super low-power consumption reference power supply module continues to keep duty.Primary standard power module and low-power consumption reference power supply module switch to the pass electricity condition.When stat3 is input as 1, stat2, stat3 are input as at 0 o'clock, show that microcontroller has entered sleep pattern.
In sum, low-power consumption 32 8-digit microcontrollers of the charged source control unit that the utility model proposes, by the control register that is connected with Power Management Unit the state of Power Management Unit is controlled and to have been realized the controllably power supply separately of each functional circuit of microcontroller, and improved the work efficiency of inner each the reference power supply module of Power Management Unit simultaneously, thereby reduced power consumption.
Here description of the present utility model and application are illustrative, are not to want with scope restriction of the present utility model in the above-described embodiments.Here the distortion of disclosed embodiment and change are possible, and the various parts of the replacement of embodiment and equivalence are known for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present utility model or essential characteristic, and the utility model can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.Under the situation that does not break away from the utility model scope and spirit, can carry out other distortion and change here to disclosed embodiment.