CN101169668A - Universal sequence bus voltage stabilization device and its voltage stabilization method - Google Patents

Universal sequence bus voltage stabilization device and its voltage stabilization method Download PDF

Info

Publication number
CN101169668A
CN101169668A CNA2006101320943A CN200610132094A CN101169668A CN 101169668 A CN101169668 A CN 101169668A CN A2006101320943 A CNA2006101320943 A CN A2006101320943A CN 200610132094 A CN200610132094 A CN 200610132094A CN 101169668 A CN101169668 A CN 101169668A
Authority
CN
China
Prior art keywords
voltage
usb
parameter
stabilizing
stable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2006101320943A
Other languages
Chinese (zh)
Other versions
CN101169668B (en
Inventor
李建兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Darfon Electronics Corp
Original Assignee
Darfon Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Darfon Electronics Corp filed Critical Darfon Electronics Corp
Priority to CN2006101320943A priority Critical patent/CN101169668B/en
Publication of CN101169668A publication Critical patent/CN101169668A/en
Application granted granted Critical
Publication of CN101169668B publication Critical patent/CN101169668B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

A voltage stabilizing device for a universal serial bus (USB) comprises a micro-control unit and a voltage controller, wherein, the micro-control unit which is used for receiving a first USB voltage converts the first USB voltage into voltage parameters. The micro-control unit also judges whether the voltage parameters are in the voltage parameter range. If the voltage parameters are not, the voltage parameters are compared with preset voltage parameters to output correcting parameters and control signals. The voltage controller is used for receiving the correcting parameters and controlling the voltage by equalizing the voltage parameters to the preset voltage parameters according to the correcting parameters. The voltage controller is also used for converting the voltage parameters into a second USB voltage and outputting the second USB voltage.

Description

Universal sequence bus voltage stabilization device and method for stabilizing voltage thereof
Technical field
The invention relates to a kind of device of voltage stabilizing, and particularly relevant for a kind of universal serial bus (Universal Serial Bus, stable-pressure device USB).
Background technology
(Universal Serial Bus USB) becomes multiple existing integration of interface one to use simple Connection Block to universal serial bus, allows personal computer user's life become lighter; Past, the plug and play capabilities of USB then allowed these perplex complete obiterations if will just must carry out very complex installation program for system increases external device.Therefore, external devices such as increasing keyboard, mouse, printer, scanner all are designed to the USB external device, to improve the convenience on using.
Yet, the operating voltage of USB external device need stably be controlled between 4.75 to 5.25 volts, when USB external device number is got over for a long time, main frame promptly changes the operating voltage size that originally is supplied to each USB external device because of the raising of load, causes the USB external device can't operate as normal.Therefore, how to provide the USB external device a stable operating voltage, promptly become the problem that industry promptly need solve.
Summary of the invention
In view of this, purpose of the present invention is exactly that (UniversalSerial Bus, USB) stable-pressure device and method for stabilizing voltage thereof can solve traditional USB operating voltage problem of unstable effectively in that a kind of universal serial bus is provided.
According to purpose of the present invention, a kind of USB stable-pressure device is proposed, comprise micro-control unit (MicroControl Unit, MCU) and voltage controller (voltage controller).Micro-control unit is in order to receive USB voltage.Micro-control unit is a voltage parameter with the USB voltage transitions, and in order to judge whether voltage parameter drops in the voltage parameter scope.In the time of outside voltage parameter drops on the voltage parameter scope, micro-control unit compares voltage parameter and preset parameter, with output corrected parameter and control signal.Voltage controller receives corrected parameter and control signal, and revises voltage parameter according to this and equal preset parameter in fact.Voltage controller and with preset parameter be converted to USB voltage and output.
According to another object of the present invention, a kind of USB method for stabilizing voltage is proposed, be applied to the USB stable-pressure device, so that USB voltage is carried out voltage stabilizing.This USB method for stabilizing voltage comprises following step.At first, provide USB voltage.Then, judge whether USB voltage drops in the USB voltage range.Then, in the time of outside USB voltage drops on the USB voltage range, judge that USB voltage is whether greater than the upper voltage limit of USB voltage range.Then, when USB voltage is not more than upper voltage limit, judge that USB voltage is whether less than the lower voltage limit of USB voltage range.Afterwards, when USB voltage during less than lower voltage limit, relatively USB voltage and predetermined voltage, and revise USB voltage and equal predetermined voltage in fact, and output USB voltage.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, two embodiment cited below particularly, and cooperate appended graphicly, be described in detail below.
Description of drawings
Fig. 1 illustrates the circuit block diagram of first embodiment of the computer system of using USB stable-pressure device of the present invention.
It is the detailed circuit calcspar of USB stable-pressure device 130 among Fig. 1 that Fig. 2 illustrates.
Fig. 3 illustrates the process flow diagram of method for stabilizing voltage of the USB stable-pressure device 130 that is Fig. 1.
[main element label declaration]
10: computer system
110: main frame
The 120:USB external device
130: stable-pressure device
132: micro-control unit
133: analog-digital converter
134: voltage controller
135: digital analog converter
The Vcc:USB operating voltage
Sv: corrected parameter
Sd: voltage parameter
202~212: operation steps
Embodiment
(following embodiment proposes a kind of universal sequence bus voltage stabilization device (hereinafter to be referred as the USB stable-pressure device) for Universal Serial Bus, USB) the stable USB operating voltage of external device (hereinafter to be referred as the USB external device) for universal serial bus is provided.The USB stable-pressure device judges whether the USB operating voltage that main frame is supplied to the USB external device meets the USB standard, when the USB operating voltage of supplying when main frame is excessive or too small, the USB stable-pressure device is promptly adjusted USB operating voltage size accordingly, to keep the operate as normal of USB external device.
Please refer to Fig. 1, it illustrates the calcspar into computer system.Computer system 10 comprises main frame 110, USB external device 120 and USB stable-pressure device 130, and USB stable-pressure device 130 can design requirements and be disposed in the motherboard or power supply unit of main frame 110.
The USB operating voltage Vcc that main frame 110 supply USB external device 120 is required.When the USB operating voltage Vcc that is received when USB external device 120 was excessive or too small, USB stable-pressure device 130 was promptly adjusted the size of USB operating voltage Vcc, meets the voltage standard of universal serial bus to guarantee USB operating voltage Vcc.
Please refer to Fig. 2, it illustrates and is the calcspar according to the universal sequence bus voltage stabilization device of preferred embodiment of the present invention.Universal sequence bus voltage stabilization device 130 comprises microcontroller 132 and voltage controller 134.Microcontroller 132 detection computations machine hosts 110 are supplied to the USB operating voltage Vcc of USB external device 120, and judge whether the size of USB operating voltage Vcc falls within USB voltage standard, between 4.75 to 5.25 volts.If the size of USB operating voltage Vcc does not meet USB voltage standard, microcontroller 132 is promptly exported control signal Sc and corrected parameter Sv.Control signal Sc increases or downgrades USB operating voltage Vcc in order to control voltage controller 134.And voltage controller 134 is according to the adjustment size of corrected parameter Sv with decision USB operating voltage Vcc.
Furthermore, microcontroller 132 also comprises analog-digital converter 133, and analog-digital converter 133 transfers the size of USB operating voltage Vcc to voltage parameter (not illustrating).Micro-control unit 132 is via judging whether voltage parameter drops in the voltage parameter scope, judging whether USB operating voltage Vcc drops in the USB voltage standard.The upper voltage limit parameter lower voltage limit parameter of voltage parameter scope be respectively with the bound voltage of USB voltage standard, as 5.25 volts and 4.75 volts of correspondences.In the time of outside voltage parameter drops on the voltage parameter scope, expression USB operating voltage Vcc drops on outside the USB voltage standard.This moment micro-control unit 132 comparative voltage parameters and predetermined voltage parameter (not illustrating), to produce corrected parameter Sv and control signal Sc.
Voltage controller 134 receives corrected parameter Sv and control signal Sc, and revises voltage parameter according to corrected parameter Sv and control signal Sc, makes voltage parameter equal predetermined voltage parameter (not illustrating) in fact.The predetermined voltage parameter for example is and 5 volts of voltage parameters that voltage is corresponding.Voltage controller 134 also comprises digital analog converter 135, revised voltage parameter is converted to USB operating voltage Vcc.So, to reach effect to USB operating voltage Vcc voltage stabilizing.
For instance, micro-control unit 132 is subjected to 12 volts driven, and exports the voltage parameter and the corrected parameter Sv of 10 (Bit).Micro-control unit 132 is (0000000000) with 0 volt~12 volts USB operating voltage Vcc reflection 2~(1111111111) 2Parameter, so that received USB operating voltage Vcc is converted to voltage parameter.The upper limit of voltage parameter scope and lower voltage limit parameter are respectively (0111000000) 2And (0110010101) 2, with corresponding with 5.25 volts of the upper limit lower voltage limits of USB voltage standard and 4.75 volts respectively.The predetermined voltage parameter for example is (0110101010) 2, with corresponding with 5 volts of voltages.
Micro-control unit 132 via with voltage parameter respectively with bound voltage parameter (0111000000) 2And (0110010101) 2Compare, whether drop in the voltage parameter scope, and judge whether USB operating voltage Vcc drops in the USB voltage standard to judge voltage parameter.In the time of outside voltage parameter drops on the voltage parameter scope, expression USB operating voltage Vcc drops on outside the USB voltage standard.At this moment, micro-control unit 132 comparative voltage parameters and predetermined voltage parameter (0110101010) 2, to produce corrected parameter Sv and control signal Sc.
Micro-control unit 132 is with predetermined voltage parameter (0110101010) 2Come it is compared with the mode that voltage parameter subtracts each other.Control signal Sc for example is a predetermined voltage parameter (0110101010) 2With the magnitude relationship of voltage parameter, increase or downgrade voltage parameter with control voltage controller 134.Corrected parameter Sv for example is a predetermined voltage parameter (0110101010) 2With the absolute value of the difference of voltage parameter, increase or downgrade the adjusting range of USB operating voltage Vcc with decision voltage controller 134.
When voltage parameter less than predetermined voltage parameter (0110101010) 2The time, it is corrected parameter Sv and voltage parameter sum that voltage controller 134 increases voltage parameter, makes voltage parameter and predetermined voltage parameter (0110101010) 2For equal in fact.When voltage parameter greater than predetermined voltage parameter (0110101010) 2The time, it is the poor of corrected parameter Sv and voltage parameter that voltage controller 134 downgrades voltage parameter, also makes voltage parameter and predetermined voltage parameter (0110101010) 2For equal in fact.
Voltage controller 134 then via digital analog converter 135 revised voltage parameter being changed back USB operating voltage Vcc, and export it to USB external device 120.Wherein revised voltage parameter and predetermined voltage parameter (0110101010) 2For equal in fact, make USB operating voltage Vcc equal 5 volts in fact.So, when the USB stable-pressure device 130 of present embodiment can be effectively outside USB operating voltage Vcc drops on USB operating voltage permissible range, control USB operating voltage Vcc and equal 5 volts in fact, reach the effect of voltage stabilizing.Predetermined voltage parameter (0110101010) in the present embodiment 2, the voltage parameter scope the upper limit and lower voltage limit parameter be respectively (0111000000) 2And (0110010101) 2System for example is stored in the micro-control unit 132.
Please refer to Fig. 2, it illustrates the process flow diagram of USB method for stabilizing voltage of the USB stable-pressure device 130 that is Figure 1A.
At first, as step 202, provide USB operating voltage Vcc to stable-pressure device 130, micro-control unit 132 is converted to voltage parameter with USB operating voltage Vcc, and, judge whether USB operating voltage Vcc drops in the USB voltage standard via judging whether voltage parameter drops in the voltage parameter scope.If, execution in step 204, stable-pressure device 130 output USB operating voltage Vcc to USB external devices 120.If not, execution in step 206.
As step 206, micro-control unit 132 is via judging that voltage parameter is whether greater than the upper voltage limit parameter (0111000000) of voltage parameter scope 2, judge that USB operating voltage Vcc is whether greater than 5.25 volts of the upper voltage limits of USB operating voltage standard.If not, execution in step 208, micro-control unit 132 is via judging that voltage parameter is whether less than the lower voltage limit parameter (0110010101) of voltage parameter scope 2, judge that USB operating voltage Vcc is whether less than 4.75 volts of the lower voltage limits of USB voltage standard.If not, execution in step 204.
In step 206, when the upper voltage limit parameter (0111000000) of voltage parameter greater than the voltage parameter scope 2, that is USB operating voltage Vcc is during greater than 5.25 volts of the upper voltage limits of USB operating voltage standard, execution in step 210, micro-control unit 132 comparative voltage parameters and predetermined voltage parameter (0110101010) 2, obtain corrected parameter Sv and control signal Sc.Voltage controller 134 is turned down voltage parameter according to corrected parameter Sv and control signal Sc, makes its essence first-class to predetermined voltage parameter (0110101010) 2Then voltage controller 134 converts revised voltage parameter to USB operating voltage Vcc.Execution in step 204 afterwards.
In step 210, as USB operating voltage Vcc during less than 4.75 volts of the lower voltage limits of USB operating voltage standard, execution in step 212, micro-control unit 132 is via comparative voltage parameter and predetermined voltage parameter (0110101010) 2, obtain corrected parameter Sv and control signal Sc.Voltage controller 134 is heightened voltage parameter according to corrected parameter Sv and control signal Sc, makes its essence first-class to predetermined voltage parameter (0110101010) 2Then voltage controller 134 converts revised voltage parameter to USB operating voltage Vcc.Execution in step 204 afterwards.
The USB stable-pressure device of present embodiment comprises micro-control unit and voltage controller.Micro-control unit receives and exports the USB operating voltage of USB external device to judge that whether the USB operating voltage drops in the USB tolerance level, if not, then is modified to predetermined voltage with the USB operating voltage.So, the USB stable-pressure device of present embodiment is can be outside the USB operating voltage drops on the USB tolerance level time, revises the USB operating voltage, makes it equal predetermined voltage.So, the USB stable-pressure device of present embodiment can improve main frame effectively provides too much because of the USB device that is connected to main frame easily to the USB operating voltage of traditional USB external device, cause the unsettled shortcoming of USB operational voltage level, and have the advantage of USB stable operating voltage.
In sum, though the present invention discloses as above with two embodiment, so it is not in order to limit the present invention.The persond having ordinary knowledge in the technical field of the present invention, without departing from the spirit and scope of the present invention, when being used for a variety of modifications and variations.Therefore, protection scope of the present invention is as the criterion when looking appended the claim scope person of defining.

Claims (14)

1. USB stable-pressure device comprises:
Micro-control unit, in order to receive a USB voltage, and be voltage parameter with a USB voltage transitions, this micro-control unit judges whether this voltage parameter drops in the voltage parameter scope, in the time of outside this voltage parameter drops on this voltage parameter scope, this micro-control unit compares this voltage parameter and predetermined voltage parameter, to produce corrected parameter and control signal; And
Voltage controller, in order to receive this corrected parameter and this control signal, and revise this voltage parameter according to this corrected parameter and this control signal, make this voltage parameter equal this predetermined voltage parameter in fact, this voltage controller is also in order to be converted to this voltage parameter the 2nd USB voltage and to export the 2nd USB voltage.
2. USB stable-pressure device according to claim 1, wherein this micro-control unit comprises analog digital converting unit, is this voltage parameter to change a USB voltage.
3. USB stable-pressure device according to claim 1, wherein this voltage controller comprises D/A conversion unit, is the 2nd USB voltage to change this voltage parameter.
4. USB stable-pressure device according to claim 1, wherein this microprocessor subtracts each other this predetermined voltage parameter and this voltage parameter, and this predetermined voltage parameter and this voltage parameter are compared.
5. USB stable-pressure device according to claim 4, wherein this corrected parameter is the difference of this predetermined voltage parameter and this voltage parameter.
6. USB stable-pressure device according to claim 1, wherein this voltage controller is to make this voltage parameter equal this voltage parameter and this corrected parameter sum according to control signal, with the difference of this voltage parameter and this corrected parameter one of them, to increase and to downgrade this voltage parameter respectively.
7. a USB method for stabilizing voltage is applied to the USB stable-pressure device, and USB voltage is carried out the voltage stabilizing operation, this USB method for stabilizing voltage comprises following step:
(a) provide USB voltage, whether drop in the USB voltage range to judge this USB voltage;
(b) in the time of outside this USB voltage drops on this USB voltage range, judge that this USB voltage is whether greater than the upper voltage limit of this USB voltage range;
(c) when this USB voltage is not more than this upper voltage limit, judge that this USB voltage is whether less than the lower voltage limit of this USB voltage range; And
(d) when this USB voltage during less than this lower voltage limit, relatively this USB voltage and predetermined voltage, and revise this USB voltage, make this USB voltage equal this predetermined voltage, and export this USB voltage.
8. USB method for stabilizing voltage according to claim 7, wherein this step (a) also comprises afterwards:
(a ') is voltage parameter with this USB voltage transitions.
9. USB method for stabilizing voltage according to claim 8 wherein is the method with analog-to-digital, is this voltage parameter with this USB voltage transitions.
10. USB method for stabilizing voltage according to claim 8, whether wherein this step (b) is to judge whether this voltage parameter drops in the voltage parameter scope, drop in this USB voltage range to judge this USB voltage.
11. USB method for stabilizing voltage according to claim 8, wherein this step (c) is whether to judge this voltage parameter greater than the upper voltage limit parameter, judges that whether this USB voltage is greater than this upper voltage limit.
12. USB method for stabilizing voltage according to claim 8, wherein this step (e) is whether to judge this voltage parameter less than the lower voltage limit parameter, judges that whether this USB voltage is less than this lower voltage limit.
13. USB method for stabilizing voltage according to claim 8, wherein this step (f) is to revise this voltage parameter to equal this predetermined voltage parameter in fact, and this voltage parameter is converted to this USB voltage.
14. USB method for stabilizing voltage according to claim 13 wherein is with the method that digital revolving die is intended this voltage parameter to be converted to this USB voltage.
CN2006101320943A 2006-10-24 2006-10-24 Universal sequence bus voltage stabilization device and its voltage stabilization method Expired - Fee Related CN101169668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101320943A CN101169668B (en) 2006-10-24 2006-10-24 Universal sequence bus voltage stabilization device and its voltage stabilization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101320943A CN101169668B (en) 2006-10-24 2006-10-24 Universal sequence bus voltage stabilization device and its voltage stabilization method

Publications (2)

Publication Number Publication Date
CN101169668A true CN101169668A (en) 2008-04-30
CN101169668B CN101169668B (en) 2010-09-29

Family

ID=39390314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101320943A Expired - Fee Related CN101169668B (en) 2006-10-24 2006-10-24 Universal sequence bus voltage stabilization device and its voltage stabilization method

Country Status (1)

Country Link
CN (1) CN101169668B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436280A (en) * 2011-11-09 2012-05-02 福建星网锐捷网络有限公司 Voltage stable output device and rotation speed control system of fan of whole machine and method thereof
CN102096455B (en) * 2009-12-15 2012-08-22 环旭电子股份有限公司 Motherboard control signal generating circuit
CN102103386B (en) * 2009-12-22 2013-06-19 宏碁股份有限公司 Voltage regulating circuit, voltage regulating method and computer system of voltage regulating circuit
CN109391007A (en) * 2018-11-16 2019-02-26 北汽福田汽车股份有限公司 Vehicle, charging unit
CN110289761A (en) * 2019-06-25 2019-09-27 珠海格力电器股份有限公司 Control method, device and the storage medium of input voltage

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2146027Y (en) * 1992-08-24 1993-11-10 吴永福 Microcomputerized timing protection automatic voltage stabilizing controller
CN1459695A (en) * 2002-05-15 2003-12-03 义隆电子股份有限公司 USB interface controller chip
JP4153262B2 (en) * 2002-08-21 2008-09-24 富士通株式会社 Bus power device
CN1622434A (en) * 2003-11-28 2005-06-01 深圳市朗科科技有限公司 Power supply management method and device
CN100504723C (en) * 2006-02-24 2009-06-24 李谦 USB data acquisition apparatus for power supply

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096455B (en) * 2009-12-15 2012-08-22 环旭电子股份有限公司 Motherboard control signal generating circuit
CN102103386B (en) * 2009-12-22 2013-06-19 宏碁股份有限公司 Voltage regulating circuit, voltage regulating method and computer system of voltage regulating circuit
CN102436280A (en) * 2011-11-09 2012-05-02 福建星网锐捷网络有限公司 Voltage stable output device and rotation speed control system of fan of whole machine and method thereof
CN102436280B (en) * 2011-11-09 2013-11-20 福建星网锐捷网络有限公司 Voltage stable output device and rotation speed control system of fan of whole machine and method thereof
CN109391007A (en) * 2018-11-16 2019-02-26 北汽福田汽车股份有限公司 Vehicle, charging unit
CN110289761A (en) * 2019-06-25 2019-09-27 珠海格力电器股份有限公司 Control method, device and the storage medium of input voltage

Also Published As

Publication number Publication date
CN101169668B (en) 2010-09-29

Similar Documents

Publication Publication Date Title
CN108062286B (en) Universal serial bus concentrator
CN101169668B (en) Universal sequence bus voltage stabilization device and its voltage stabilization method
JP6155318B2 (en) Method and system for reducing power consumption
US8090988B2 (en) Saving information to flash memory during power failure
CN104375616B (en) adaptive universal serial bus charging method and system
CN1481024A (en) Semiconductor integrated circuit having controllable internal power source and voltage
CN102201699A (en) Distributed power supply system with digital power supply manager for providing digital closed loop power control
US20040210349A1 (en) Method and apparatus for controlling a power supply
CN101552548A (en) Power supply control system
US20130132746A1 (en) Bridging device and power saving method thereof
CN101630908B (en) Power supply device, over voltage protection unit thereof and over voltage protection method thereof
US7149910B2 (en) Apparatus for processing a set of instructions initially at a low speed for a predetermined time then processing the set of instructions at a higher speed until completion
JP2007049822A (en) Power supply system
CN101540551B (en) Dynamic voltage pump circuit and method of dynamically generating an output supply voltage thereof
US7928885B2 (en) A/D converter
CN103869852B (en) Voltage regulating device and electronic equipment
CN103687180B (en) The control circuit of light-emitting element circuit and control method thereof
CN102426825B (en) PWM voltage adjusting circuit, adjusting method thereof and liquid crystal display apparatus
US11309799B2 (en) Power supply device
CN102692983A (en) Method for adjusting operation voltage of central processing unit and computer system of central processing unit
US6934863B2 (en) Electronic apparatus capable of using an external power source and a bus power source simultaneously
JP7297494B2 (en) POWER SUPPLY DEVICE, CONTROL METHOD THEREOF, AND IMAGE READING DEVICE
US20090091191A1 (en) Electric power supply system
US10838442B2 (en) Semiconductor device and power source supply method
JP2010055472A (en) Serial bus system, hung slave specification method, and hung slave specification program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100929

Termination date: 20111024