Power supply device and charging system
By sampling the voltage of the channel configuration pin and adjusting the output voltage, the voltage accuracy problem caused by cable impedance is solved, and high-precision and safe voltage compensation are achieved, which is suitable for different cable application scenarios.
Patent Information
- Application Number
- CN202411469954.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-02-28
AI Technical Summary
When the power supply device and the power receiving device are connected through a cable, the cable impedance causes a circuit voltage drop, and the voltage accuracy of the power receiving device is not high. The prior art solutions have the risk of excessive output voltage or complex and costly communication protocol requirements.
By sampling the voltage of the channel configuration pin, the voltage drop caused by the actual cable impedance is obtained, and the output voltage is adjusted based on the voltage drop, thereby achieving compensation for the cable impedance and improving the voltage accuracy of the power receiving device.
This method improves the voltage accuracy of the power receiving device, ensures the safety of the circuit operation, has a simple structure, reduces the circuit cost, and adapts to the impedance changes of different cables.
Smart Images

Figure CN119543351A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of electronic circuits, and in particular to a power supply device and a charging system. Background Art
[0002] Universal Serial Bus (USB) is a serial bus standard for connecting computer systems and external devices. It is also a technical specification for input and output interfaces. It is widely used in information and communication products such as personal computers and mobile devices, and has been extended to other related fields such as photographic equipment, digital televisions (set-top boxes), and game consoles.
[0003] However, at present, when the power supply device and the power receiving device are connected through a cable, the cable impedance will cause a circuit voltage drop, resulting in a low voltage accuracy of the power receiving device. In order to solve the above problems, the prior art generally adopts the following two methods: the first method is to adopt a preset line impedance value scheme, by presetting the line impedance value as a fixed value, and sampling the power supply current output from the power supply device to the power receiving device, and using the sampled power supply current and the preset line impedance value to calculate the cable voltage drop, and using the cable voltage drop and the preset reference voltage to adjust the output voltage of the power supply device, but in this method, there is a difference between the actual cable impedance value and the preset cable impedance value. Using this method to adjust the output voltage can easily lead to an excessively high output voltage, which is not conducive to the safety of the circuit operation. The second method is that the power supply device and the power receiving device communicate with each other through a protocol, and obtain the input voltage and input current of the power receiving device from the protocol communication, and adjust the output voltage based on the actual input voltage and the actual input current, but this method requires the power supply device and the power receiving device to agree on a communication protocol, the method is complex, the cost is high, and the two need to be used in conjunction, and the application range is narrow. Summary of the invention
[0004] The present application provides a power supply device and a charging system. The power supply device does not need to communicate with the power receiving device. The voltage of the channel configuration pin is sampled to obtain the voltage drop caused by the actual cable impedance, and the output voltage is adjusted based on the voltage drop. This can improve the voltage accuracy of the power receiving device and ensure the safety of circuit operation. The structure is simple and the circuit cost can be reduced.
[0005] In a first aspect, an embodiment of the present invention provides a power supply device, which includes: a voltage acquisition module, a voltage difference determination module and a voltage regulation module. The voltage acquisition module is connected to the channel configuration pin of the power supply device, and is configured to acquire the first voltage of the channel configuration pin of the power supply device when the power supply device is connected to the power receiving device through a cable and the power supply device outputs a first power supply current to the power receiving device, and acquire the second voltage of the channel configuration pin of the power supply device when the power supply device outputs a second power supply current to the power receiving device through the cable, wherein when the power supply device is connected to the power receiving device through the cable, the output pin of the power supply device is connected to the input pin of the power receiving device through the first connection line in the cable, the ground pin of the power supply device is connected to the ground pin of the power receiving device through the second connection line in the cable, and the channel configuration pin of the power supply device is connected to the channel configuration pin of the power receiving device through the third connection line in the cable. The voltage difference determination module is connected to the voltage acquisition module, and is configured to determine the voltage difference between the first voltage and the second voltage, wherein the voltage difference is equal to the voltage drop generated by the current difference between the second power supply current and the first power supply current on the second connection line. A voltage regulating module is respectively connected to the output pin of the power supply device, the voltage difference determining module and the second voltage obtaining module, and is configured to obtain the output voltage of the output pin of the power supply device, and adjust the output voltage based on the output voltage, the voltage difference and a first preset reference voltage so that the output voltage, the voltage difference and the first preset reference voltage satisfy a preset relationship.
[0006] In some embodiments, the voltage regulation module includes a voltage divider unit, a controlled current source and a control unit; the first end of the voltage divider unit is connected to the output pin of the power supply device, the second end of the voltage divider unit is respectively connected to the first end of the controlled current source and the first end of the control unit, the second end of the controlled current source is connected to the voltage difference determination module, and the second end of the control unit is used to connect the first preset reference voltage; wherein the controlled current source is configured to output a current signal in a preset proportion to the voltage difference to the second voltage acquisition module; the voltage divider unit is configured to output a voltage divider signal based on the output voltage and the current signal; the control unit is configured to adjust the output voltage according to the voltage divider signal and the first preset reference voltage so that the voltage divider signal and the first preset reference voltage satisfy a preset relationship.
[0007] In some embodiments, the voltage dividing unit includes a resistor Rt and a resistor Rb; the first end of the resistor Rt is connected to the output pin of the power supply device, the second end of the resistor Rt is respectively connected to the first end of the resistor Rb, the first end of the controlled current source and the first end of the control unit, and the second end of the resistor Rb is grounded.
[0008] In some embodiments, the preset relationship is:
[0009]
[0010] Among them, V O is the output voltage, R b is the resistance value of the resistor Rb, R t is the resistance value of the resistor Rt, k1 is the preset ratio, V CCO is the first voltage, V CC For the second voltage, V ref1 is the first preset reference voltage, I1 is the first supply current, and I2 is the second supply current.
[0011] In some embodiments, the voltage difference determination module includes a subtractor; a first input terminal of the subtractor is used to receive the first voltage, a second terminal of the subtractor is used to receive the second voltage, and an output terminal of the subtractor is connected to the voltage regulation module.
[0012] In some embodiments, the voltage acquisition module includes an analog-to-digital converter; the analog-to-digital converter is respectively connected to the channel configuration pin of the power supply device and the voltage difference determination module, and the analog-to-digital converter is configured to acquire the first voltage and the second voltage, and convert the first voltage and the second voltage into digital signals and output them to the voltage difference determination module.
[0013] In some embodiments, the power supply device also includes a detection module; the detection module is respectively connected to the voltage acquisition module and the channel configuration pins of the power supply device; the detection module is configured to determine the connection status between the power supply device and the powered device through the voltage of the channel configuration pins of the power supply device, and output an indication signal to the voltage acquisition module according to the connection status; the voltage acquisition module is configured to work according to the indication signal.
[0014] In some embodiments, the detection module includes a comparator; the comparator is respectively connected to the voltage acquisition module and the channel configuration pins of the power supply device; the comparator is configured to output the indication signal by comparing the magnitude relationship between the voltage of the channel configuration pin of the power supply device, the second preset reference voltage and the third preset reference voltage.
[0015] In some embodiments, the power supply device further includes a pull-up resistor or a pull-up current source; the channel configuration pin of the power supply device is also connected to a DC voltage source through the pull-up resistor; or, the channel configuration pin of the power supply device is connected to the pull-up current source.
[0016] In a second aspect, an embodiment of the present invention further provides a charging system, the charging system comprising a power receiving device, a cable, and a power supply device as described in any embodiment of the first aspect. The power supply device is connected to the power receiving device via the cable.
[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: Different from the prior art, the embodiments of the present invention provide a power supply device and a charging system, including: a voltage acquisition module, a voltage difference determination module and a voltage regulation module. The voltage acquisition module is connected to the channel configuration pin of the power supply device, the voltage difference determination module is connected to the voltage acquisition module, and the voltage regulation module is respectively connected to the output pin of the power supply device, the voltage difference determination module and the second voltage acquisition module. By sampling the voltage of the channel configuration pin to obtain the actual voltage drop caused by the cable impedance, and adjusting the output voltage based on the voltage drop, the voltage accuracy of the power receiving device can be improved and the safety of the circuit operation can be ensured. The structure is simple and the circuit cost can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements / modules and steps with the same reference numerals in the drawings are represented as similar elements / modules and steps. Unless otherwise specified, the figures in the drawings do not constitute proportional limitations.
[0019] Figure 1 It is a partial structural schematic diagram of a power supply device provided by an embodiment of the present invention;
[0020] Figure 2 is a partial structural schematic diagram of another power supply device provided by an embodiment of the present invention;
[0021] Figure 3 is a structural schematic diagram of a charging system provided by an embodiment of the present invention;
[0022] Figure 4 is a structural schematic diagram of another charging system provided by an embodiment of the present invention;
[0023] Figure 5 is a structural schematic diagram of another charging system provided by an embodiment of the present invention;
[0024] Figure 6 is a structural schematic diagram of a detection module provided by an embodiment of the present invention;
[0025] Figure 7 This is a schematic diagram of a working signal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0027] For ease of understanding of the present application, the present application is described in more detail below in conjunction with the accompanying drawings and specific embodiments. Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those generally understood by those skilled in the art of the present application. The terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not used to limit the present application. The term "and / or" used in this specification includes any and all combinations of one or more related listed items.
[0028] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, and all are within the scope of protection of this application. In addition, although the functional module division is performed in the device schematic, in some cases, the module division can be different from that in the device. In addition, the words "first", "second", etc. used in this article do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.
[0029] As mobile devices have increasingly stringent requirements for transmission speed, charging power, and interface size, a new generation of USB interface USB type C has emerged. USB Type C, referred to as Type C, supports double-sided insertion of the USB interface, officially solving the global problem of "USB can never be inserted correctly", and can be inserted from either side.
[0030] At present, when the power supply device and the power receiving device are connected through a cable, the cable impedance will cause a circuit voltage drop, resulting in low voltage accuracy of the power receiving device. In order to solve the above problem, the prior art generally adopts the following two methods: The first method is as follows: Figure 1As shown, the power supply device can first sample the power supply current I0 output by the power supply device to the power receiving device, sample the actual output voltage V1 of the power supply device, and preset the impedance value of the connecting cable to be fixed as k0, and make the actual output voltage V1 = V2*k2+I0*k0 through the output closed-loop compensation adjustment module 1, wherein V2 is the reference voltage, k2 is the fixed scaling factor between the actual output voltage and the signal input to the voltage adjustment module, it can be seen that the actual output voltage of the power supply device will change with the change of the power supply current. Since the current of the power supply device is unidirectionally output to the power receiving device, the output current of the power supply device is equal to the input current of the power receiving device, that is, for the actual input voltage V in =V1-I0*Rcb l=V2*k2+I0*(k0-Rcb l), where Rcb l is the actual impedance value of the connection cable. However, in actual use scenarios, users may use cables of different specifications produced by different manufacturers to connect the power supply device and the power receiving device, resulting in the actual impedance value Rcb l of the cable not being equal to the preset fixed impedance value k0. When the actual impedance value Rcb l differs greatly from the preset fixed impedance value k0, such as k0>Rcb l, the output voltage of the power supply device may be too high, which is not conducive to the safety of circuit operation.
[0031] The second way is as follows Figure 2 As shown, the output closed-loop compensation and adjustment module 1 samples the output voltage and output current of the power supply device in real time, and the output closed-loop compensation and adjustment module 1 communicates with the power receiving device through the protocol communication module 2, and obtains the input voltage and input current of the power receiving device from the protocol communication module 2. In this way, the output closed-loop compensation and adjustment module 1 can adjust the output voltage based on the output voltage, output current, input voltage and input current, so that the voltage of the power receiving device remains accurate. However, this method requires the power receiving device to also have voltage and current detection, and at the same time have the function of protocol communication, and can report the voltage and current information to the power supply end in an agreed manner. The solution is relatively complex and the cost is high. In addition, the power supply end and the power receiving end need to be used in pairs, and the application range is relatively narrow.
[0032] In order to improve the above technical problems, the present application provides a power supply device and a charging system. The power supply device does not need to communicate with the power receiving device. The voltage of the channel configuration pin is sampled to obtain the voltage drop caused by the actual cable impedance, and the output voltage is adjusted based on the voltage drop. This can improve the voltage accuracy of the power receiving device and ensure the safety of circuit operation. The structure is simple and the circuit cost can be reduced.
[0033] In a first aspect, the present application provides a power supply device 100, see Figure 3 and Figure 4The power supply device 100 includes: a voltage acquisition module 10, a voltage difference determination module 20 and a voltage regulation module 30.
[0034] The voltage acquisition module 10 is connected to the channel configuration pin CC of the power supply device 100. The voltage acquisition module 10 is configured to acquire a first voltage of the channel configuration pin CC of the power supply device 100 when the power supply device 100 is connected to the power receiving device 200 through the cable 300 and the power supply device 100 outputs a first power supply current to the power receiving device 200, and acquire a second voltage of the channel configuration pin CC of the power supply device 100 when the power supply device 100 outputs a second power supply current to the power receiving device 200 through the cable 300. When the power supply device 100 is connected to the power receiving device 200 through the cable 300, the output pin VBUS of the power supply device 100 is connected to the input pin VBUS' of the power receiving device 200 through the first connection line in the cable 300, the ground pin GND of the power supply device 100 is connected to the ground pin GND' of the power receiving device 200 through the second connection line in the cable 300, and the channel configuration pin CC of the power supply device 100 is connected to the channel configuration pin CC' of the power receiving device 200 through the third connection line in the cable 300.
[0035] The voltage difference determination module 20 is connected to the voltage acquisition module 10 and is configured to determine a voltage difference between the first voltage and the second voltage, wherein the voltage difference is equal to a voltage drop generated in the second connection line by a current difference between the second supply current and the first supply current.
[0036] The voltage regulating module 30 is respectively connected to the output pin VBUS of the power supply device 100, the voltage difference determining module 20 and the second voltage obtaining module 10. The voltage regulating module 30 is configured to obtain the output voltage of the output pin VBUS of the power supply device 100, and adjust the output voltage based on the output voltage, the voltage difference and the first preset reference voltage so that the output voltage, the voltage difference and the first preset reference voltage satisfy a preset relationship.
[0037] For convenience, in Figures 4 to 5 In the embodiment, the resistor Rc_CC is the equivalent resistance of the third connection line, the resistor Rc_GND is the equivalent resistance of the second connection line, and the resistor Rc_VBS is the equivalent resistance of the first connection line.
[0038] The power supply device 100 may be a USB power supply device having a power supply interface, and the power receiving device 200 may be a load having a power receiving interface, and the load may be a battery, a battery charger or other electronic device. The power supply interface and the power receiving interface may adopt the Type-C interface protocol as an example, and the output pin VBUS, the channel configuration pin CC and the ground pin GND of the power supply device 100 are arranged on the power supply interface, and the input pin VBUS', the channel configuration pin CC' and the ground pin GND' of the power receiving device 200 are arranged on the power receiving interface. When the power supply device 100 is connected to an external power supply and the power supply device 100 is connected to the power receiving device 200 through a cable 300, the power supply device 100 will convert the voltage of the external power supply and output the first power supply current or the second power supply current to the input pin VBUS' of the power receiving device 200 through the output pin VBUS. Among them, the external power supply may be a mains supply, the first power supply current is less than the second power supply current, and the first power supply current may be 0.
[0039] In some implementations, see Figure 4 , the power supply device 100 further includes a pull-up resistor Rp, and the channel configuration pin CC of the power supply device 100 is further connected to the DC voltage source Vp through the pull-up resistor Rp, and the power receiving device 200 further includes a resistor Rd, and the first end of the resistor Rd is connected to the channel configuration pin CC' of the power receiving device 200, and the second end of the resistor Rd is connected to the ground pin GND' of the power receiving device 200. The DC voltage source Vp is a voltage source module that can generate a stable DC voltage. In other embodiments, the power supply device 100 further includes a pull-up current source, and the channel configuration pin CC of the power supply device 100 can be connected to the pull-up current source to realize the functions of the pull-up resistor Rp and the DC voltage source Vp.
[0040] As shown in the figure, after the power supply device 100 is connected to the power receiving device 200 through the cable 300, when the output pin VBUS of the power supply device 100 transmits power to the power receiving device 200 through the first connection line, that is, when the power supply device 100 outputs the second power supply current I2 to the power receiving device 200 through the first connection line, the voltage acquisition module 10 samples the channel configuration pin of the power supply device 100 to obtain the second voltage, and the expression of the second voltage is:
[0041] V CC =I RP *R C-CC +I RP *R d +(I2+I RP )*R C-GND ;
[0042] Among them, V CC is the second voltage, I RP is the current flowing through the resistor Rp, R C-CCis the impedance of the equivalent resistance of the third connecting line, R d is the resistance value of resistor Rd, R C-GND is the impedance of the equivalent resistance of the second connecting line, and I2 is the second power supply current. RP The values are all less than 0.4mA, while I2 is in the range of 500mA to 5000mA, which means that I2 is much larger than II RP , then, I2+I RP ≈I2, the second voltage V CC The expression can be simplified to:
[0043] V CC =I RP *R C-CC +I RP *R d +I2*R C-GND .
[0044] At the initial moment of connection between the two, when the output pin VBUS of the power supply device 100 transmits the first power supply current I1 to the power receiving device 200, the voltage acquisition module 10 samples the voltage on the configuration pin of the power supply device 100 to obtain a first voltage. Then, the expression of the first voltage is:
[0045] V CC0 =I RP *R C-CC +I RP *R d +I1*R C-GND ;
[0046] For example, when the power supply device 100 does not transmit power to the power receiving device 200 through the first connecting line, that is, I1=0, then the expression of the first voltage is:
[0047] V CC0 =I RP *R C-CC +I RP *R d ;
[0048] Among them, V CC0 is the first voltage.
[0049] After the voltage acquisition module 10 acquires the first voltage and the second voltage, it will output them to the voltage difference determination module 20, and the voltage difference determination module 20 will perform calculation to obtain the voltage difference V between the two:
[0050] V=V CC -V CC0 ;
[0051] Right now,
[0052] V=(I RP *R C-CC +I RP *R d +I2*R C-GND )-(I RP *R C-CC +I RP *R d +I1*R C-GND );
[0053] That is,
[0054] V=(I2-I1)*R C-GND ;
[0055] It can be seen that the voltage difference V is equal to the voltage drop generated on the second connection line by the current difference between the second power supply current I2 and the first power supply current I1.
[0056] Next, the voltage regulating module 30 samples the voltage of the output pin VBUS of the power supply device 100 to obtain the output voltage V O , and the voltage difference V is obtained by the voltage difference determination module 20, and the first preset reference voltage V is also obtained ref1 , by adjusting the output voltage, the relationship between the three can satisfy the preset relationship. For example, the three can satisfy the following preset relationship:
[0057] a ref1 +b*V=V O ;
[0058] Where a and b are preset fixed non-zero constants. Based on this preset relationship, the output voltage can be adjusted to make the output voltage V O The voltage drop V generated by the power supply current flowing through the second connection line is reflected in real time. The output voltage V O Specifically, by setting the constant b to 3 and I1 = 0, the output voltage V O The output expression is simplified to:
[0059] V O =a*V ref1 +3*I2*R C-GND ;
[0060] Then, for the input voltage V of the input pin VBUS′ of the power receiving device 200 in-SNK for:
[0061] V in-SNK =V O -Rcb l*I3=a*V ref1+I2*(3*R C-GND –Rcb l);
[0062] Wherein, I3 is the total current flowing through the second connection line, Rcb1 is the sum of the resistance of the equivalent resistance of the first connection line (the output positive line of the power supply device 100) and the resistance of the equivalent resistance of the second connection line (the output ground line of the power supply device 100), such as Figure 4 As shown, in actual use, the equivalent resistance Rc_VBS of the first connecting line is R C-VBS The equivalent resistance Rc_GND of the second connecting line is approximately C-GND twice, at this time the impedance of the cable 300 is Rcb l=R C-VBS +R C-GND =3*R C-GND , that is,
[0063] V in-SNK =a*V ref1 ;
[0064] At this time, the voltage output by the power supply device 100 to the power receiving device 200 has nothing to do with the power supply current I2 and the impedance Rcb l of the cable 300. It can be seen that in the power supply device 100 provided by the present application, there is no need for the power supply device 100 to communicate with the power receiving device 200, and there is no need to sample the power supply current. By sampling the voltage of the channel configuration pin to obtain the voltage drop caused by the actual impedance of the cable 300, and adjusting the output voltage based on the voltage drop, the voltage drop caused by the cable 300 is compensated, which can improve the voltage accuracy and accuracy of the power receiving device 200, ensure the safety of the circuit operation, have a simple structure, and can also reduce the circuit cost. Moreover, it can adapt to different cables, and can automatically adjust the output voltage in real time according to the different impedances of different cables 300, and compensate for the voltage loss caused by the cable 300 in the process of the power supply device 100 transmitting electric energy to the power receiving device 200.
[0065] In some of these examples, see Figure 4 The voltage regulating module 30 includes a voltage dividing unit 32, a controlled current source 31 and a control unit 33. The first end of the voltage dividing unit 32 is connected to the output pin VBUS of the power supply device 100, the second end of the voltage dividing unit 32 is respectively connected to the first end of the controlled current source 31 and the first end of the control unit 33, the second end of the controlled current source 31 is connected to the voltage difference determining module 20, and the second end of the control unit 33 is used to connect the first preset reference voltage V ref1 The controlled current source 31 is configured to output a current signal in a preset ratio to the voltage difference V to the second voltage acquisition module 10. The voltage divider unit 32 is configured to output a voltage divider signal based on the output voltage and current signal. The control unit 33 is configured to output a voltage divider signal based on the voltage divider signal and the first preset reference voltage V ref1Adjust the output voltage V O , so that the voltage division signal and the first preset reference voltage satisfy a preset relationship.
[0066] Specifically, the positive terminal of the controlled current source 31 is grounded, the negative terminal of the controlled current source 31 is connected to the second terminal of the voltage dividing unit 32 and the first terminal of the control unit 33 respectively, and the control terminal of the controlled current source 31 is connected to the voltage difference determination module 20. The current magnitude I output by the controlled current source 31 is FBBIAS It has a certain ratio to the voltage difference V, which can be specifically I FBBIAS =k3*V, where k3 is a preset constant.
[0067] The first preset reference voltage V ref1 The first DC voltage source may be used for providing the voltage. The first DC voltage source is a voltage source module that can generate a stable DC voltage.
[0068] In some implementations, see Figure 4 The voltage dividing unit 32 includes a resistor Rt and a resistor Rb, a first end of the resistor Rt is connected to the output pin VBUS of the power supply device 100, a second end of the resistor Rt is respectively connected to the first end of the resistor Rb, the first end of the controlled current source 31 and the first end of the control unit 33, and a second end of the resistor Rb is grounded. The number of resistors included in the voltage dividing unit 32 can be determined according to actual needs and is not limited here.
[0069] The control unit 33 may be a microcontroller unit (MCU) or a digital signal processing (DSP) controller, etc.
[0070] In the power supply device 100, the voltage at the first terminal of the control unit 33 is determined by the output voltage and the output current of the controlled current source 31. The voltage V FB for:
[0071]
[0072] Among them, V O is the output voltage, R b is the resistance value of resistor Rb, R t is the resistance value of resistor Rt, k1 is the preset ratio, V CCO is the first voltage, V CC is the second voltage, V ref1 is the first preset reference voltage, I1 is the first power supply current, and I2 is the second power supply current.
[0073] The first preset reference voltage is the target voltage value of the first terminal of the control unit 33. The control unit 33 is used to adjust the output voltage so that V FB =V ref1 , that is, the preset relationship is:
[0074]
[0075] Specifically, when the first power supply current I1=0:
[0076]
[0077] When V CC -V CC0 =V = I2*R C-GND hour:
[0078] V O =V ref1 *(R t +R b ) / R b +I2*R C-GND *k1*R t ;
[0079] That is, at this time, a=(R t +R b ) / R b , b=k1*R t , then, let k1*R t =3, or V in-SNK =a*V ref1 , so that the voltage output by the power supply device 100 to the power receiving end is independent of the power supply current and the impedance of the cable 300, which can improve the accuracy of the voltage transmitted by the power supply device 100 to the power receiving device 200.
[0080] It can be seen that in this embodiment, the control unit 33 adjusts the output voltage based on the voltage division signal and the first preset reference voltage, and can also make the voltage output by the power supply device 100 to the power receiving end independent of the power supply current and the impedance of the cable 300, thereby improving the voltage accuracy transmitted by the power supply device 100 to the power receiving device 200.
[0081] In some other embodiments, the voltage regulating module 30 includes a voltage dividing unit 32, a controlled current source 31 and a control unit 33. The first end of the voltage dividing unit 32 is connected to the output pin VBUS of the power supply device 100, the second end of the voltage dividing unit 32 is connected to the first end of the control unit 33, the second end of the control unit 33 is respectively connected to the first end of the controlled current source 31 and the first preset reference voltage, and the second end of the controlled current source 31 is connected to the voltage difference determination module 20. In this embodiment, by making the current generated by the controlled current source 31 in a preset proportion to the voltage difference output by the voltage difference determination module 20 be superimposed to the first preset reference voltage to obtain the target reference voltage, and making the control unit 33 adjust the output voltage to be consistent with the target reference voltage, the voltage output by the power supply device 100 to the power receiving end can also be made independent of the power supply current and the impedance of the cable 300, thereby improving the voltage accuracy transmitted by the power supply device 100 to the power receiving device 200.
[0082] In some of these embodiments, see Figure 4 The voltage difference determination module 20 includes a subtractor u1; a first input terminal of the subtractor u1 is used to receive a first voltage, a second terminal of the subtractor u1 is used to receive a second voltage, and an output terminal of the subtractor u1 is connected to the voltage regulation module 30.
[0083] Specifically, the output end of the subtractor u1 is connected to the control end of the controlled current source 31 . After the voltage acquisition module 10 outputs the first voltage and the second voltage, the difference between the two is obtained through the subtractor u1 , and the difference constitutes the input of the controlled current source 31 .
[0084] In this embodiment, by setting the subtractor u1, the difference between the first voltage and the second voltage can be determined based on the first voltage and the second voltage, and the difference is output to the controlled current source 31, so that the controlled current source 31 outputs a current signal in a preset proportion to the difference.
[0085] In some of these embodiments, see Figure 4 The power supply device 100 further includes a detection module 40. The detection module 40 is respectively connected to the voltage acquisition module 10 and the channel configuration pin CC of the power supply device 100. The detection module 40 is configured to determine the connection state between the power supply device 100 and the power receiving device 200 through the voltage of the channel configuration pin CC of the power supply device 100, and output an indication signal to the voltage acquisition module 10 according to the connection state. The voltage acquisition module 10 is configured to work according to the indication signal.
[0086] Specifically, Figure 6As shown, the detection module 40 can determine whether the power supply device 100 is connected to the power receiving device 200 by comparing the magnitude relationship between the voltage VCC of the channel configuration pin CC of the power supply device 100 and the preset reference voltage VCCx, and when the power supply device 100 is connected to the power receiving device 200, output a first indication signal to the voltage acquisition module 10, so that the voltage acquisition module 10 detects the voltage of the channel configuration pin CC of the power supply device 100. It can be understood that the indication signal can be used to characterize the connection status between the power supply device 100 and the power receiving device 200.
[0087] In order to improve the reliability of work, in some embodiments, the indication signal can be output to the voltage acquisition module 10 after a period of de-jitter delay, or the indication signal can be output to the voltage acquisition module 10 after logical ANDing with other detection signals. Other detection signals can be signals generated by the detection mechanism of the power supply device 100 to determine whether physical parameters such as voltage, current, and temperature are abnormal.
[0088] In some embodiments, the detection module 40 includes a comparator. The comparator is respectively connected to the voltage acquisition module 10 and the channel configuration pin CC of the power supply device 100. The comparator is configured to output an indication signal by comparing the magnitude relationship between the voltage of the channel configuration pin CC of the power supply device 100, the second preset reference voltage, and the third preset reference voltage.
[0089] The number of comparators can be set according to actual needs. The comparator detects the change in the voltage of the channel configuration pin CC of the power supply device 100 to determine the connection state between the power supply device 100 and the power receiving device 200, and outputs a corresponding indication signal. Specifically, when the voltage of the channel configuration pin CC of the power supply device 100 is greater than the second preset reference voltage, it is considered that the power supply device 100 is not connected to the power receiving device 200, and a low-level indication signal is output to make the voltage acquisition module 30 not work; when the voltage of the channel configuration pin CC of the power supply device 100 is less than or equal to the second preset reference voltage, and the voltage of the channel configuration pin CC of the power supply device 100 is greater than the third preset reference voltage, it is considered that the power supply device 100 is connected to the power receiving device 200, and a high-level indication signal is output to make the voltage acquisition module 30 work; when the voltage of the channel configuration pin CC of the power supply device 100 is less than or equal to the third preset reference voltage, it is considered that the power supply device 100 is not connected to a valid power receiving device 200, and a low-level indication signal is output to make the voltage acquisition module 30 not work.
[0090] In this embodiment, by providing a comparator, it is possible to output an indication signal for indicating the connection status between the power supply device 100 and the power receiving device 200 .
[0091] In some other embodiments, the detection module may also be provided in the power receiving device 200. After the power receiving device 200 detects that it is effectively connected to the power supply device 100 through the detection module, it may send an indication signal to the voltage acquisition module 30 in a communication manner. The specific implementation method may refer to the prior art and is not limited here.
[0092] In some embodiments, the voltage acquisition module 10 includes an analog-to-digital converter. The analog-to-digital converter is respectively connected to the channel configuration pin CC of the power supply device 100 and the voltage difference determination module 20, and the analog-to-digital converter is configured to acquire the first voltage and the second voltage, and convert the first voltage and the second voltage into digital signals and output them to the voltage difference determination module 20.
[0093] The analog-to-digital converter is an electronic device that converts a continuously changing analog signal into a digital signal. The analog-to-digital converter is connected to the channel configuration pin CC of the power supply device 100 and has the ability to detect the voltage of the channel configuration pin CC of the power supply device 100. When it receives the device insertion status indication signal, the analog-to-digital converter detects the current voltage of the channel configuration pin CC of the power supply device 100 and outputs it as a first voltage V CC0 Then, when the device is plugged in, the analog-to-digital converter continuously monitors the CC voltage and continuously outputs the second voltage V CC In order to ensure that the first voltage V CC0 To ensure the accuracy of the analog-to-digital converter, the first voltage V CC0 The detection may be over-sampling detection, and the second voltage V is started after a delay. CC Detection, such as Figure 7 shown.
[0094] In this embodiment, by providing an analog-to-digital converter, it is possible to sample the voltage of the channel configuration pin CC of the power supply device 100. In practical applications, the above sampling work can also be completed by other suitable devices, and it is not necessary to stick to the limitations of this embodiment.
[0095] In a second aspect, the present application provides a charging system, which includes a power receiving device 200, a cable 300, and a power supply device 100 as described in any one of the first aspects; the power supply device 100 is connected to the power receiving device 200 through the cable 300. In this embodiment, the power supply device 100 has the same structure and function as the power supply device described in any one of the first aspects, which will not be described in detail.
[0096] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0097] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they may still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A power supply device, characterized in that: include: a voltage acquisition module, connected to the channel configuration pin of the power supply device, configured to acquire a first voltage of the channel configuration pin of the power supply device when the power supply device is connected to the power receiving device through a cable and the power supply device outputs a first power supply current to the power receiving device, and to acquire a second voltage of the channel configuration pin of the power supply device when the power supply device outputs a second power supply current to the power receiving device through the cable, wherein when the power supply device is connected to the power receiving device through the cable, the output pin of the power supply device is connected to the input pin of the power receiving device through a first connection line in the cable, the ground pin of the power supply device is connected to the ground pin of the power receiving device through a second connection line in the cable, and the channel configuration pin of the power supply device is connected to the channel configuration pin of the power receiving device through a third connection line in the cable; a voltage difference determining module, connected to the voltage acquiring module, and configured to determine a voltage difference between the first voltage and the second voltage, wherein the voltage difference is equal to a voltage drop generated on the second connecting line by a current difference between the second supply current and the first supply current; A voltage regulating module is respectively connected to the output pin of the power supply device, the voltage difference determining module and the second voltage obtaining module, and is configured to obtain the output voltage of the output pin of the power supply device, and adjust the output voltage based on the output voltage, the voltage difference and a first preset reference voltage so that the output voltage, the voltage difference and the first preset reference voltage satisfy a preset relationship.
2. The power supply device according to claim 1, characterized in that: The voltage regulation module includes a voltage dividing unit, a controlled current source and a control unit; The first end of the voltage dividing unit is connected to the output pin of the power supply device, the second end of the voltage dividing unit is respectively connected to the first end of the controlled current source and the first end of the control unit, the second end of the controlled current source is connected to the voltage difference determination module, and the second end of the control unit is used to connect the first preset reference voltage; Wherein, the controlled current source is configured to output a current signal in a preset proportion to the voltage difference to the second voltage acquisition module; The voltage dividing unit is configured to output a voltage dividing signal based on the output voltage and the current signal; The control unit is configured to adjust the output voltage according to the voltage division signal and the first preset reference voltage so that the voltage division signal and the first preset reference voltage satisfy a preset relationship.
3. The power supply device according to claim 2, characterized in that: The voltage dividing unit includes a resistor Rt and a resistor Rb; The first end of the resistor Rt is connected to the output pin of the power supply device, the second end of the resistor Rt is respectively connected to the first end of the resistor Rb, the first end of the controlled current source and the first end of the control unit, and the second end of the resistor Rb is grounded.
4. The power supply device according to claim 3, characterized in that: The preset relationship is: Among them, V O is the output voltage, R b is the resistance value of the resistor Rb, R t is the resistance value of the resistor Rt, k1 is the preset ratio, V CCO is the first voltage, V CC For the second voltage, V ref1 is the first preset reference voltage, I1 is the first supply current, and I2 is the second supply current.
5. The power supply device according to claim 1, characterized in that: The voltage difference determination module includes a subtractor; The first input terminal of the subtractor is used to receive the first voltage, the second terminal of the subtractor is used to receive the second voltage, and the output terminal of the subtractor is connected to the voltage regulating module.
6. The power supply device according to claim 1, characterized in that: The voltage acquisition module includes an analog-to-digital converter; The analog-to-digital converter is respectively connected to the channel configuration pin of the power supply device and the voltage difference determination module, and the analog-to-digital converter is configured to obtain the first voltage and the second voltage, and convert the first voltage and the second voltage into digital signals and output them to the voltage difference determination module.
7. The power supply device according to any one of claims 1 to 6, characterized in that: The power supply device also includes a detection module; The detection module is respectively connected to the channel configuration pins of the voltage acquisition module and the power supply device; The detection module is configured to determine the connection state between the power supply device and the power receiving device through the voltage of the channel configuration pin of the power supply device, and output an indication signal to the voltage acquisition module according to the connection state; The voltage acquisition module is configured to operate according to the indication signal.
8. The power supply device according to claim 7, characterized in that: The detection module includes a comparator; The comparator is respectively connected to the channel configuration pins of the voltage acquisition module and the power supply device; The comparator is configured to output the indication signal by comparing the magnitude relationship among the voltage of the channel configuration pin of the power supply device, the second preset reference voltage and the third preset reference voltage.
9. The power supply device according to any one of claims 1 to 6, characterized in that: The power supply device also includes a pull-up resistor or a pull-up current source; The channel configuration pin of the power supply device is also connected to a DC voltage source through the pull-up resistor; Alternatively, a channel configuration pin of the power supply device is connected to the pull-up current source.
10. A charging system, characterized in that: It comprises a power receiving device, a cable, and a power supply device according to any one of claims 1 to 9; The power supply device is connected to the power receiving device through the cable.
Citation Information
Cited By
Receiving end, electronic equipment, system and common-mode level adjusting method
CN120086168A