Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention aims to provide a direct current ATX power supply, which can supply power through a USB PD, and improve the compatibility of the direct current ATX power supply with an input power supply.
In order to solve the technical problems, the invention adopts the following technical scheme:
The direct current ATX power supply comprises a USB interface, an ATX interface, a USB power supply induction module, an ATX control module and a DC-DC conversion module, wherein the USB power supply induction module is communicated with an external USB power supply charger, receives the power supply voltage output by the external USB power supply charger and outputs the power supply voltage to the DC-DC conversion module through the USB interface; the DC-DC conversion module is used for converting the power supply voltage into working voltages required by the ATX power supply according to the control signal output by the ATX control module and outputting the working voltages to the computer main board through the ATX interface to supply power; and the ATX control module controls the DC-DC conversion module to output each working voltage according to the control signal output by the computer main board.
Further, the DC-DC conversion module comprises a first DC-DC conversion unit for converting the power supply voltage into 12V voltage to supply power to the computer main board, a second DC-DC conversion unit for converting the power supply voltage into 5V voltage to supply power to the computer main board, a third DC-DC conversion unit for converting the power supply voltage into 3.3V voltage to supply power to the computer main board, a fourth DC-DC conversion unit for converting the power supply voltage into 5VSB voltage and a fifth DC-DC conversion unit for converting the power supply voltage into-12V voltage to supply power to the computer main board, one end of the first DC-DC conversion unit is connected with the USB interface and the ATX control module, the other end of the first DC-DC conversion unit is connected with the ATX interface, one end of the second DC-DC conversion unit is connected with the USB interface and the ATX control module, one end of the third DC-DC conversion unit is connected with the ATX interface, the other end of the third DC-DC conversion unit is connected with the ATX interface, one end of the fourth DC-DC conversion unit is connected with the other end of the fourth DC-DC conversion unit is connected with the USB interface and the ATX control module, and the other end of the fourth DC-DC conversion unit is connected with the USB interface and the other end of the ATX control module.
Further, the first DC-DC conversion unit includes: the input end of the buck DC-DC controller is connected with the USB interface and the ATX control module, the first output end of the buck DC-DC controller is connected with the grid electrode of the first N-channel MOS tube, the second output end of the buck DC-DC controller is connected with the grid electrode of the second N-channel MOS tube, the drain electrode of the first N-channel MOS tube is connected with the USB interface, the source electrode of the first N-channel MOS tube is connected with the drain electrode of the second N-channel MOS tube, one end of the inductor and the third output end of the buck DC-DC controller, the source electrode of the second N-channel MOS tube is grounded, and the other end of the inductor is connected with the ATX interface and is grounded through the capacitor.
Further, the ATX control module comprises a power management chip, a first resistor, a second resistor, a third resistor, a fourth resistor, a first diode, a second diode and an indicator lamp, wherein the power management chipThe end is connected with the cathode of the indicator lamp, the anode of the indicator lamp is connected with the 5VSB power supply end, the first DC-DC conversion unit, the second DC-DC conversion unit, the third DC-DC conversion unit and the fifth DC-DC conversion unit through a first resistor, and the power management chip is used for managing the powerThe terminal is connected with a computer main board through an ATX interface, the PGI terminal of the power management chip is connected with a USB interface through a second resistor and is grounded through a third resistor, the VDD terminal of the power management chip is connected with the cathode of a first diode and the cathode of a second diode, the anode of the first diode is connected with the output terminal of a first DC-DC conversion unit, the anode of the second diode is connected with the output terminal of a fourth DC-DC conversion unit, the VS5 terminal of the power management chip is connected with the output terminal of the second DC-DC conversion unit, and the VS33 terminal of the power management chip is connected with the output terminal of the third DC-DC conversion unit.
Further, the power management chip is a TPS3510 chip manufactured by texas instruments.
Further, the signal control timing sequence of the ATX control module is as follows: when the power on/off signal is detected to be changed from a high level to a low level, the time for the 5V/3.3V control signal to rise to 95% of the nominal value is not more than 500ms; wherein the time for the 5V/3.3V control signal to rise from 0 to 95% of the nominal value is between 0.1-20ms, and the voltage drop warning time of the 5V/3.3V control signal is greater than 1ms; the PG signal rises to a nominal 95% delay of 100-500ms relative to the 5V/3.V control signal, and the rising edge time of the PG signal is less than 10ms.
Further, the fifth DC-DC conversion unit adopts a charge pump with an output voltage of-12V.
Further, the USB induction module comprises a singlechip with the model of STM32F 0.
Further, the USB induction module comprises a chip with the model number of TPS 65983B.
Further, when the computer motherboard detects a startup signal, the ATX control module controls the fourth DC-DC conversion unit to be started, and enables the first DC-DC conversion unit, the second DC-DC conversion unit, the third DC-DC conversion unit and the fifth DC-DC conversion unit to be closed, and the PG signal is placed at a low level in parallel; and when the PG signal is detected to be at a low level, starting the first DC-DC conversion unit and the fifth DC-DC conversion unit after a first preset time, and starting the second DC-DC conversion unit and the third DC-DC conversion unit.
Compared with the prior art, the direct current ATX power supply provided by the invention comprises a USB interface, an ATX interface, a USB power supply induction module, an ATX control module and a DC-DC conversion module, wherein the USB power supply induction module is communicated with an external USB power supply charger, receives the power supply voltage output by the external USB power supply charger and outputs the power supply voltage to the DC-DC conversion module through the USB interface; the DC-DC conversion module is used for converting the power supply voltage into working voltages required by the ATX power supply according to the control signal output by the ATX control module and outputting the working voltages to the computer main board through the ATX interface to supply power; the ATX control module controls the DC-DC conversion module to output each working voltage according to the control signal output by the computer main board, so that the external USB power charger is used as an input power supply, the selectivity of the ATX power supply to the external input power supply is improved, the volume of the external power supply is further reduced, and the universality of the direct-current ATX power supply is improved.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Please refer to fig. 1, which is a block diagram of a dc ATX power supply according to the present invention. As shown in fig. 1, the direct current ATX power supply includes a USB interface 1, an ATX interface 2, a USB power supply induction module 3, an ATX control module 4, and a DC-DC conversion module 5. The USB power supply induction module 3 is connected with the DC-DC conversion module 5 through the USB interface 1, and the DC-DC conversion module 5 is also connected with the ATX control module 4 and the ATX interface 2.
The USB power supply induction module 3 is in communication (i.e. is connected) with an external USB power supply charger, receives a power supply voltage output by the external USB power supply charger, and outputs the power supply voltage to the DC-DC conversion module 5 through the USB interface 1; the DC-DC conversion module 5 is used for converting the power supply voltage into working voltages required by the ATX power supply according to the control signal output by the ATX control module, and outputting the working voltages to the computer main board through the ATX interface 2 for supplying power; the ATX control module 4 controls the DC-DC conversion module 5 to output each working voltage according to the control signal output by the computer main board.
The invention realizes that the USB PD charger can be used as an input power supply in the direct-current ATX power supply, so that a small-size, low-power-consumption and mute computer host can use the USB PD charger which is popular in the market as the input power supply, the selectivity of the direct-current ATX power supply to an external input power supply is increased, the volume of the external power supply is further reduced, and the universality of the direct-current ATX power supply is improved.
In this embodiment, the USB interface 1 is a 24 pin USB-C female interface (i.e. TPYE C interface), pins A4, A9, B4, and B9 are USB interface VBUS pins for power transmission, and are connected to DC-DC converters that generate various voltages. The pins A5 and B5 are used for USB-PD protocol configuration, and are connected to the common ground of the dc ATX power supply by using the pins A1, a12, B1 and B12 of the USB power supply induction module 3 as common ground pins, and the other pins are USB and data transceiver pins, which are conventional and not described in detail herein.
The ATX interface 2 is a 24-pin ATX interface 2, and is connected to an ATX socket provided ON a computer motherboard, receives a PS-ON signal (i.e., a power ON/off signal) from the computer motherboard, outputs various voltages (including 12V, 5V, 3.3V, 5VSB, and-12V required for computer operation), and a PG signal (i.e., a power ready signal).
The USB induction module is used for communicating with an external USB PD charger, so that the voltage output by the USB PD charger is connected with pins A5 and B5 of the USB-C interface. Wherein, the external USB PD charger standard defines 5 output voltage interfaces (profiles) :Profile 1:10W(5V/2A)、Profile 2:18W(12V/1.5A)、Profile 3:36W(12V/3A)、Profile 4:60W(20V/3A)、Profile 5:100W(20V/5A).
The USB induction module mainly enables the external USB PD charger to output with Profile 4 or Profile 5, and preferably Profile 5 with voltage of 20V.
In this embodiment, the USB induction module may use a general-purpose processor (such as a single-chip microcomputer) or an integrated circuit chip to implement its function, and configure an external USB PD charger to provide 60W-100W power at 20V according to the USB PD protocol.
Such as: when the universal processor is used, the USB induction module comprises a singlechip with the model STM32F 0; when an integrated circuit chip is used, the USB induction module comprises a chip with the model number TPS 65983B; the general purpose processor and the application specific integrated circuit chip described above may also be used simultaneously.
In the direct current ATX power supply of the present invention, the DC-DC conversion module 5 is used to convert the USB PD power input (20V/3A or 20V/5A) to the 12V, 5V, 3.3V, 5VSB and-12V voltages required by the ATX power supply.
With continued reference to fig. 1, in the DC ATX power supply of the present invention, the DC-DC conversion module 5 includes five DC-DC conversion units, which are respectively: a first DC-DC conversion unit 51, a second DC-DC conversion unit 52, a third DC-DC conversion unit 53, a fourth DC-DC conversion unit 54, and a fifth DC-DC conversion unit 55.
One end of the first DC-DC conversion unit 51 is connected to the USB interface 1 and the ATX control module 4, the other end of the first DC-DC conversion unit 51 is connected to the ATX interface 2, one end of the second DC-DC conversion unit 52 is connected to the USB interface 1 and the ATX control module 4, the other end of the second DC-DC conversion unit 52 is connected to the ATX interface 2, one end of the third DC-DC conversion unit 53 is connected to the USB interface 1 and the ATX control module 4, the other end of the third DC-DC conversion unit 53 is connected to the ATX interface 2, one end of the fourth DC-DC conversion unit 54 is connected to the USB interface 1 and the ATX control module 4, the other end of the fourth DC-DC conversion unit 54 is connected to the ATX interface 2, and one end of the fifth DC-DC conversion unit is connected to the USB interface 1 and the ATX control module 4.
The first DC-DC converting unit 51, the second DC-DC converting unit 52, the third DC-DC converting unit 53, the fourth DC-DC converting unit 54 and the fifth DC-DC converting unit 55 are connected with the A4, A9, B4 and B9 of the USB-C female connector, i.e. the input ends of the DC-DC converting units are connected in parallel and share one input source, so that a larger current can be obtained. The first DC-DC conversion unit 51 is used for converting the power supply voltage into 12V voltage to supply power to the computer motherboard, the second DC-DC conversion unit 52 is used for converting the power supply voltage into 5V voltage to supply power to the computer motherboard, the third DC-DC conversion unit 53 is used for converting the power supply voltage into 3.3V voltage to supply power to the computer motherboard, the fourth DC-DC conversion unit 54 is used for converting the power supply voltage into standby 5VSB voltage, and the fifth DC-DC conversion unit 55 is used for converting the power supply voltage into-12V voltage to supply power to the computer motherboard.
In particular, the DC-DC converters used to generate 12V, 5V, 3.3V, and 5VSB employ buck DC-DC circuit topologies (e.g., the DC-DC controller of LM 2642) or buck DC-DC circuit topologies.
The fifth DC-DC conversion unit for generating a voltage of-12V is implemented using a charge pump having an output voltage of-12V, and the circuit structure thereof is conventional and will not be described in detail herein.
When the computer motherboard detects a startup signal, the ATX control module 4 controls the fourth DC-DC conversion unit 54 to be turned on, so that the first DC-DC conversion unit 51, the second DC-DC conversion unit 52, the third DC-DC conversion unit 53, and the fifth DC-DC conversion unit are turned off, and the PG signal (ready signal) is set to be low level; when the PG signal is detected to be at a low level, the first DC-DC converting unit 51 and the fifth DC-DC converting unit are turned on after a first preset time, and the second DC-DC converting unit 52 and the third DC-DC converting unit 53 are turned on.
Since the external USB power charger used in the present invention is 20V/5A, the first to fourth DC-DC conversion units 54 of the present invention preferably use a step-down DC-DC converter, and referring to fig. 2, the first DC-DC conversion unit 51 includes: the input end of the buck DC-DC controller 511 is connected with the USB interface 1 and the ATX control module 4, the first output end of the buck DC-DC controller 511 is connected with the grid electrode of the first N channel MOS tube Q1, the second output end of the buck DC-DC controller 511 is connected with the grid electrode of the second N channel MOS tube Q2, the drain electrode of the first N channel MOS tube Q1 is connected with the USB interface 1, the source electrode of the first N channel MOS tube Q1 is connected with the drain electrode of the second N channel MOS tube Q2, one end of the inductor L1 and the third output end of the buck DC-DC controller 511, the source electrode of the second N channel MOS tube Q2 is grounded, and the other end of the inductor L1 is connected with the ATX interface 2 and is also grounded through the capacitor C1.
The buck DC-DC controller 511 is configured to output 12V, 5V, 3.3V or 5VSB, and when the buck DC-DC controller 511 outputs 12V, 5V, 3.3V or 5VSB, the first N-channel MOS Q1 and the second N-channel MOS Q2 are turned on, and the voltage output by the buck DC-DC controller 511 is output to the ATX interface 2 through the LC filter circuit.
When the buck DC-DC controller 511 uses the DC-DC controller of LM2642, one LM2642 controller may generate two input voltages, or may combine two input voltages to generate one voltage, which has a large current output capability, a load current of 12V output is the largest, and load currents of 5V and 3.3V are smaller, so that two output voltages are combined into one 12V output by using one LM2642, so that the second DC-DC conversion unit and the third DC-DC conversion unit may be implemented by one LM2642, or may be implemented by one LM2642, respectively.
Taking LM2642 as an example, VIN of the LM2642 chip is connected with a USB interface, PGOOD1 is connected with an ATX control module, HDRV1 is connected with a grid electrode of a first N-channel MOS tube Q1, LDRV1 is connected with a grid electrode of a second N-channel MOS tube Q2, and SW1 is a third output end of a first buck DC-DC controller U1. Of course, the first DC-DC conversion unit may be implemented by using other DC-DC step-down devices, which is not limited by the present invention.
In the inventive direct current ATX power supply, the ATX control module 4 is configured to control the DC-DC conversion module 5 to generate 12V, 5V, 3.3V, -12V and 5VSB according to the ps_on signal sent from the computer motherboard by the ATX interface 2, and output a PG (pw_ok) signal. The ATX control module 4 is realized by a general single chip microcomputer, and can also be realized by an application specific integrated chip.
Referring to fig. 3, in an embodiment of the invention, the ATX control module includes a power management chip U1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first diode D1, a second diode D2, and an indicator lamp D1, where the power management chip U1The end is connected with the cathode of the indicator lamp D1, the anode of the indicator lamp D1 is connected with the 5VSB power supply end, the first DC-DC conversion unit, the second DC-DC conversion unit, the third DC-DC conversion unit and the fifth DC-DC conversion unit through the first resistor R1, and the power management chip U1The end is connected with a computer main board through an ATX interface 2, the PGI end of a power management chip U1 is connected with a USB interface through a second resistor R2 and is grounded through a third resistor R3, the VDD end of the power management chip U1 is connected with the cathode of a first diode D2 and the cathode of a second diode D3, the anode of the first diode D2 is connected with the output end of a first DC-DC conversion unit, the anode of the second diode D3 is connected with the output end of a fourth DC-DC conversion unit, the VS5 end of the power management chip U1 is connected with the output end of the second DC-DC conversion unit, and the VS33 end of the power management chip U1 is connected with the output end of the third DC-DC conversion unit.
The power management chip U1 is TPS3510 chip manufactured by Texas instruments. In fig. 3 and fig. 4, after the voltage of the 20V dc voltage output by the Type C interface is divided by the second resistor R2 and the third resistor R3, the voltage of the PGI pin is connected to the PGI pin of the power management chip U1, where the voltage of the PGI pin needs to be greater than 1.15V and less than the maximum voltage that can be borne by the pin.
Power management chip U1The terminal is connected with a PSON pin in the ATX interface, the PSON pin is connected with a PSON of a computer main board, the PSON is in a high level when the computer is not started, and the PSON signal is set to a low level when the computer main board detects a starting signal, and the indicator lamp D3 is lighted. Power management chip U1When the terminal is at a low level, the first DC-DC conversion unit is used for starting the first DC-DC conversion unit to generate +12V voltage, the second DC-DC conversion unit is also used for starting the second DC-DC conversion unit and the third DC-DC conversion unit to generate +5V and +3.3V voltage respectively, and the second DC-DC conversion unit and the third DC-DC conversion unit can be controlled to generate +5V and +3.3V voltage through the +12V voltage output by the first DC-DC conversion unit. The power management chip U1When the end is at a low level, the power supply is also used for starting the fifth DC-DC conversion unit to generate-12V voltage, and the fifth DC-DC conversion unit can be controlled to generate-12V voltage through +12V voltage output by the first DC-DC conversion unit.
Referring to fig. 1,3 and 4 together, the +12v voltage generated by the first DC-DC conversion unit is controlled by 12V in fig. 3; the +5v voltage generated by the second DC-DC conversion unit is controlled by 5V in fig. 3; the +3.3v voltage generated by the third DC-DC converting unit is controlled by 3.3V in fig. 3; the +5VSB voltage generated by the fourth DC-DC conversion unit is connected to the VSB of fig. 3.
Wherein the fourth DC-DC converting unit 54 is for generating the +5VSB standby voltage, and the fourth DC-DC converting unit maintains a normally open state, and the +5VSB standby voltage as long as the input voltage exists. Namely, the PS_ON signal is normally high, when the computer motherboard detects the start-up signal, the power management chip U1 detects that the PSON signal is low, and then the power management chip willThe end is set at a low level, the generation of +12V, +5V, +3.3V and-12V voltages is started, after the power management chip U1 detects that +12V, +5V, +3.3V and-12V voltages are normal, when +5V and +3.3V rise to 95% of the nominal value, a PWR_OK signal, namely a PGO signal at the PGO end of the power management chip U1, is generated after 100-500ms, and is connected with PG in an ATX interface to inform a computer main board that all voltages are ready.
In the ATX control module 4 of the present invention, its signal control timing is performed according to the ATX standard, and its signal control timing is: when the power on/off signal is detected to be changed from a high level to a low level, the time for the 5V/3.3V control signal to rise to 95% of the nominal value is not more than 500ms; wherein the time T2 from 0 to 95% of the nominal value of the 5V/3.3V control signal is between 0.1 and 20ms, and the voltage drop warning time T4 of the 5V/3.3V control signal is more than 1ms; the delay time T3 of the PG signal rising to the nominal value of 95% relative to the 5V/3.V control signal is 100-500ms, and the rising edge time T5 of the PG signal is less than 10ms, as shown in FIG. 5.
Referring to fig. 6, in the implementation, when the computer motherboard detects a power-on signal, the ATX control module 4 controls the fourth DC-DC conversion unit 54 to turn on the output 5VSB, turn off the output of the voltages 12V, 5V, 3.3V and-12V, and make the pw_ok signal (i.e., PG signal) low; then detecting whether the PW_OK signal is at a low level, if so, delaying for 250ms, switching on the 12V and-12V DC-DC conversion units, and switching on the 5V and 3.3V DC-DC conversion units; then, detecting whether the PW_OK signal is in a low level or not by delaying 100ms, if so, maintaining the output of 12V, 5V, 3.3V and-12V voltages, and enabling the PW_OK signal (namely PG signal) to be in a high level; and then detecting whether the PW_OK signal is at a low level, if so, continuously maintaining the output of 12V, 5V, 3.3V and-12V voltages, and enabling the PW_OK signal (namely PG signal) to be at a high level so as to meet the power supply requirement of an ATX power supply of the computer.
In summary, the invention realizes that in the direct current ATX power supply, the USB PD charger can be used as an input power supply, so that a small-size, low-power consumption and mute computer host can use the USB PD charger which is popular in the market as the input power supply, the selectivity of the direct current ATX power supply to an external input power supply is increased, the volume of the external power supply is further reduced, and the universality of the direct current ATX power supply is improved.
It will be understood that equivalents and modifications will occur to those skilled in the art in light of the present invention and their spirit, and all such modifications and substitutions are intended to be included within the scope of the present invention as defined in the following claims.