Power detection device and method

By designing a power detection device, using the target components to change the current of the power supply equipment, sampling the power supply parameters to determine the rated power, solving the problem of low utilization rate of power supply equipment in the prior art, and achieving efficient power supply to different power equipment.

CN119804969APending Publication Date: 2025-04-11LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510122158.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-24
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The prior art cannot determine the rated power during the power conversion process of power supply equipment, resulting in only the conversion at the lowest power, resulting in low utilization rate of power supply equipment.

Method used

A power detection device is designed to connect the power supply device through the power receiving interface, and use the target element (such as thermistor) in the detection unit to change the current of the power supply device, thereby sampling the power supply parameters and determining the rated power.

Benefits of technology

Accurate detection of the rated power of the power supply equipment is realized, allowing the power output from the power supply equipment to be converted into multiple matching output powers, improving the power supply capacity of external equipment with different powers, and improving the utilization rate of the power supply equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119804969A_ABST
    Figure CN119804969A_ABST
Patent Text Reader

Abstract

The invention discloses a power detection device and method, and the device comprises a power receiving interface which is used for connecting power supply equipment; the detection unit is connected with the power receiving interface, is provided with a target element and is used for enabling the target element to be connected with the power supply equipment through the power receiving interface, and the element parameter of the target element can change along with the temperature change of the target element, so that the current of the power supply equipment changes; when the current changes, power supply parameter sampling values of the power supply equipment are detected, and the rated power of the power supply equipment is determined according to the power supply parameter sampling values.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment control, and in particular to a power detection device and method. Background Art

[0002] Currently, external devices can be powered by converting the electrical energy output by power supply devices such as power adapters.

[0003] Since the rated power of the power supply device cannot be determined during conversion, the electric energy output by the power supply device can only be converted according to the lowest power, resulting in only power supply to external devices using the lowest power, resulting in low utilization of the power supply device. Summary of the invention

[0004] An embodiment of the present application provides a power detection device, including: a power receiving interface for connecting a power supply device; a detection unit, connected to the power receiving interface, provided with a target element, for connecting the target element to the power supply device via the power receiving interface, wherein an element parameter of the target element can change with its own temperature change, so that the current of the power supply device changes; during the period when the current changes, a power supply parameter sampling value of the power supply device is detected, and the rated power of the power supply device is determined according to each of the power supply parameter sampling values.

[0005] In some embodiments, the detection unit includes: a sampling module, connected to the power receiving interface, for detecting the power supply parameter sampling value; a switch module, connected to the target element, which can be in a closed state and an open state; a control module, connecting the sampling module and the switch module, for closing the switch module in response to the power supply device being connected to the power receiving interface, so that the target element is connected to the power supply device; using the sampling module to obtain the power supply parameter sampling value, and determining the rated power of the power supply device according to each of the power supply parameter sampling values.

[0006] In some embodiments, the control module is also used to: when the power supply parameter sampling value meets the target condition, disconnect the switch module to disconnect the target element from the power supply device, and the period during which the current changes starts from closing the switch module and ends from disconnecting the switch module.

[0007] In some embodiments, the power supply parameter sampling value includes a voltage sampling value and a current sampling value, and the target condition includes one of the following: the difference between the voltage sampling value and the initial voltage reaches the target difference, and the initial voltage is the voltage of the power supply device before the control module closes the switch module; the voltage sampling value is lower than the target voltage; the current sampling value is greater than the target current.

[0008] In some embodiments, the target element includes a thermistor, the element parameter includes resistance, the resistance of the thermistor can decrease as its own temperature increases, and the detection unit also includes: a temperature detection module, connected to the control module, for detecting the element temperature of the target element; the control module is also used to obtain the element temperature using the temperature detection module; determine the target sampling frequency corresponding to the power supply parameter sampling value according to the element temperature; and use the sampling module to detect the power supply parameter sampling value according to the target sampling frequency.

[0009] In some embodiments, the detection unit further includes: a heating module connected to the control module for heating the target element; the control module is also used to start the heating module to heat the target element when the element temperature is lower than the target temperature lower limit.

[0010] In some embodiments, the detection unit also includes: a fuse module, which is connected in series with the target element and can enter the second state from the first state when the current passing through the target element reaches a current threshold, thereby disconnecting the target element from the power supply device; and enter the first state from the second state when in the second state and the current passing through the target element is less than the current threshold.

[0011] An embodiment of the present application also proposes a power detection method, including: in response to the power supply device being connected to a power receiving interface, connecting a target component to the power supply device via the power receiving interface, wherein component parameters of the target component can change with its own temperature change, thereby causing the current of the power supply device to change; during the period when the current changes, detecting a power supply parameter sampling value of the power supply device; and determining the rated power of the power supply device based on each of the power supply parameter sampling values.

[0012] In some embodiments, the target element includes a thermistor, the element parameter includes resistance, the resistance of the thermistor can decrease as its own temperature increases, and the detecting of the power supply parameter sampling value of the power supply device includes: obtaining the element temperature of the target element; determining a target sampling frequency corresponding to the power supply parameter sampling value according to the element temperature; and detecting the power supply parameter sampling value according to the target sampling frequency.

[0013] In some embodiments, the power supply parameter sampling values ​​include voltage sampling values ​​and current sampling values, and determining the rated power of the power supply device according to each of the power supply parameter sampling values ​​includes: determining multiple power sampling values ​​according to each of the voltage sampling values ​​and each of the current sampling values; and determining the rated power according to the maximum power sampling value among the power sampling values. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0015] Figure 1 The structure of the power detection device of the embodiment of the present application is shown in FIG. Figure 1 ;

[0016] Figure 2 The structure of the power detection device of the embodiment of the present application is shown in FIG. Figure 2 ;

[0017] Figure 3 The structure of the power detection device of the embodiment of the present application is shown in FIG. Figure 3 ;

[0018] Figure 4 The structure of the power detection device of the embodiment of the present application is shown in FIG. Figure 4 ;

[0019] Figure 5 The structure of the power detection device of the embodiment of the present application is shown in FIG. Figure 5 ;

[0020] Figure 6 The structure of the power detection device of the embodiment of the present application is shown in FIG. Figure 6 ;

[0021] Figure 7 It is a structural schematic diagram of a power supply conversion device including a power detection device according to an embodiment of the present application;

[0022] Figure 8 A flow chart of a power detection method according to an embodiment of the present application;

[0023] Fig. 9 This is a flow chart of detecting power supply parameter sampling values ​​according to an embodiment of the present application. DETAILED DESCRIPTION

[0024] Various aspects and features of the present application are described herein with reference to the accompanying drawings.

[0025] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0026] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0027] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0028] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.

[0029] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.

[0030] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.

[0031] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.

[0032] A power detection device according to an embodiment of the present application includes a power receiving interface and a detection unit. The detection unit includes a target element. The element parameters of the target element can change with its own temperature, so that the current of the power supply device changes. During the period when the current of the power supply device changes, the detection unit detects the power supply parameter sampling value of the power supply device, and determines the rated power of the power supply device according to each power supply parameter sampling value. Since the rated power of the power supply device can be determined by the detection unit, the electric energy output by the power supply device can be converted into a plurality of output powers matching the rated power, thereby realizing power supply to external devices of different powers and improving the utilization rate of the power supply device.

[0033] like Figure 1 As shown, the power detection device comprises:

[0034] A power receiving interface 10, used for connecting to a power supply device;

[0035] The detection unit 20 is connected to the power receiving interface 10 and is provided with a target element 21, which is used to connect the target element 21 to the power supply device through the power receiving interface 10. The component parameters of the target element 21 can change with its own temperature change, so that the current of the power supply device changes; during the period when the current changes, the power supply parameter sampling values ​​of the power supply device are detected, and the rated power of the power supply device is determined according to the sampling values ​​of each power supply parameter.

[0036] In this embodiment, the power supply device may be, for example, a power adapter connected to a power supply, or a power supply (such as a DC power supply, a battery pack, a fuel cell, an uninterruptible power supply, a solar panel, etc.). The power detection device includes a power receiving interface 10 and a detection unit 20. The power receiving interface 10 matches the power supply interface of the power supply device, and the power detection device is connected to the power supply device through the power receiving interface 10. A target element 21 is provided in the detection unit 20. The element parameters of the target element 21 can change with its own temperature change. The change in the element parameters will cause the load of the power supply device to change, thereby causing the current of the power supply device to change. During the period when the current changes, the detection unit 20 detects the sampling values ​​of the power supply parameters of the power supply device, and determines the rated power of the power supply device according to the sampling values ​​of each power supply parameter.

[0037] The power detection device of the embodiment of the present application includes: a power receiving interface 10, which is used to connect the power supply device; a detection unit 20, which is connected to the power receiving interface 10 and is provided with a target element 21, which is used to connect the target element 21 to the power supply device through the power receiving interface 10, and the component parameters of the target element 21 can change with its own temperature change, so that the current of the power supply device changes; during the period of current change, the power supply parameter sampling value of the power supply device is detected, and the rated power of the power supply device is determined according to each power supply parameter sampling value. Since the rated power of the power supply device can be determined by the detection unit 20, the electric energy output by the power supply device can be converted into a variety of output powers matching the rated power, and then it can realize power supply to external devices of different powers, thereby improving the utilization rate of the power supply device.

[0038] In some embodiments of the present application, Figure 2 As shown, the detection unit 20 includes:

[0039] The sampling module 22 is connected to the power receiving interface 10 and is used to detect the sampling value of the power supply parameter;

[0040] A switch module 23, connected to the target element 21, capable of being in a closed state and an open state;

[0041] The control module 24 is connected to the sampling module 22 and the switch module 23, and is used to close the switch module 23 in response to the power supply device being connected to the power receiving interface 10, so that the target component 21 is connected to the power supply device; the sampling module 22 is used to obtain the power supply parameter sampling value, and the rated power of the power supply device is determined according to each power supply parameter sampling value.

[0042] In this embodiment, the control module 24 responds to the power supply device being connected to the power receiving interface 10 by closing the switch module 23, so that the target element 21 is connected to the power supply device. The temperature of the target element 21 changes, causing the element parameters of the target element 21 to change, and the power supply parameters of the power supply device also change accordingly. The control module 24 uses the sampling module 22 to obtain the power supply parameter sampling value, and determines the rated power of the power supply device according to the power supply parameter sampling values, thereby improving the reliability of the detection unit 20.

[0043] Optionally, the switch module 23 may be connected in series between the target element 21 and the power receiving interface 10 , or may be connected to the power receiving interface 10 via the target element 21 .

[0044] In some embodiments of the present application, the power supply parameter sampling values ​​include voltage sampling values ​​and current sampling values. The sampling module 22 can obtain the voltage sampling value through two resistors, and obtain the current sampling value through precision resistors, transformers, Hall elements, etc. In some embodiments, the switch module 23 can be closed and opened through components such as transistors or relays.

[0045] In some embodiments of the present application, the control module 24 is also used to:

[0046] When the power supply parameter sampling value meets the target condition, the switch module 23 is opened to disconnect the target component 21 from the power supply device. The current changes from closing the switch module 23 to opening the switch module 23.

[0047] In this embodiment, after the control module 24 closes the switch module 23, the current of the power supply equipment changes due to the change of the component parameters of the target component 21, and the control module 24 starts to obtain the power supply parameter sampling value through the sampling module 22. If the power supply parameter sampling value meets the target condition, the control module 24 disconnects the switch module 23, disconnects the target component 21 from the power supply equipment, and stops obtaining the power supply parameter sampling value through the sampling module 22. At this time, the rated power of the power supply equipment can be determined by the obtained power supply parameter sampling values.

[0048] In this way, by promptly disconnecting the target element 21 from the power supply device when the power supply parameter sampling value meets the target condition, the current of the power supply device can be prevented from continuing to be affected, thereby ensuring the safety of the power supply device on the basis of accurately determining the rated power.

[0049] In some embodiments of the present application, the power supply parameter sampling value includes a voltage sampling value and a current sampling value, and the target condition includes one of the following:

[0050] The difference between the voltage sampling value and the initial voltage reaches the target difference, where the initial voltage is the voltage of the power supply device before the control module 24 closes the switch module 23;

[0051] The voltage sampling value is lower than the target voltage;

[0052] The current sampling value is greater than the target current.

[0053] In some embodiments of the present application, the power supply parameter sampling value includes a voltage sampling value and a current sampling value, and whether the target condition is met can be determined from the voltage or current of the power supply device, thereby ensuring the safety of the power supply device. Specifically, if the difference between the voltage sampling value and the initial voltage reaches the target difference, it means that the voltage of the power supply device is too low, and it is determined that the power supply parameter sampling value meets the target condition, and the switch module 23 is disconnected to prevent the voltage of the power supply device from further decreasing. The target difference can be, for example, 10% of the initial voltage.

[0054] If the voltage sampling value is lower than the target voltage, it means that the voltage of the power supply device is too low. It is determined that the power supply parameter sampling value meets the target condition, and the switch module 23 is disconnected to prevent the voltage of the power supply device from further decreasing.

[0055] If the current sampling value is greater than the target current, it means that the current of the power supply device is too large. It is determined that the power supply parameter sampling value meets the target condition, and the switch module 23 is disconnected to prevent the current of the power supply device from further increasing.

[0056] In some embodiments of the present application, the target element 21 includes a thermistor, and the element parameter includes resistance. The resistance of the thermistor can decrease as its own temperature increases, such as Figure 3 As shown, the detection unit 20 also includes:

[0057] A temperature detection module 25, connected to the control module 24, for detecting the component temperature of the target component 21;

[0058] The control module 24 is also used to obtain the component temperature using the temperature detection module 25; determine the target sampling frequency corresponding to the power supply parameter sampling value according to the component temperature; and use the sampling module 22 to detect the power supply parameter sampling value according to the target sampling frequency.

[0059] In this embodiment, the target element 21 includes a thermistor, the resistance of which can decrease as its own temperature increases, that is, the thermistor is an NTC (Negative Temperature Coefficien) thermistor. After the thermistor is connected to the power supply device, due to the heating effect of the current, its own temperature gradually increases, and the resistance gradually decreases, causing the current of the power supply device to gradually increase.

[0060] The temperature detection module 25 may be, for example, a temperature sensor. The control module 24 uses the temperature detection module 25 to obtain the component temperature, and determines the target sampling frequency corresponding to the power supply parameter sampling value according to the component temperature. For example, in some embodiments, the first sampling frequency may be used as the target sampling frequency when the component temperature is higher than the specified temperature or the rising rate of the component temperature reaches the target rate; when the component temperature is not higher than the specified temperature or the rising rate of the component temperature does not reach the target rate, the second sampling frequency may be used as the target sampling frequency, and the second sampling frequency may be lower than the first sampling frequency, so as to achieve sampling at a higher frequency when the temperature is higher or rises faster, thereby obtaining more accurate power supply parameters, ensuring that the target component 21 is disconnected in time when the power supply parameter sampling value meets the target condition, thereby improving the safety of the power supply device. In some embodiments, as an alternative, the target sampling frequency may be gradually increased with the increase of the component temperature or the increase of the rising rate of the component temperature, thereby disconnecting the target component 21 in time when the power supply parameter sampling value meets the target condition, thereby improving the safety of the power supply device.

[0061] In some embodiments of the present application, the power supply parameter sampling value includes a voltage sampling value and a current sampling value, such as Figure 6As shown, the target element 21 is a thermistor R4, and the sampling module 22 includes a first resistor R1 and a second resistor R2 for detecting a voltage sampling value, and a third resistor R3 for detecting a current sampling value. The sampling module 22 is connected to the power receiving interface DC_IN through one end of the first resistor R1, and the sampling module 22 is connected to the voltage sampling interface DC_IN_V_sen of the control module 24 through the common point of the other end of the first resistor R1 and one end of the second resistor R2. The other end of the second resistor R2 is grounded, so that the voltage division of the first resistor R1 and the second resistor R2 is output to the control module 24 as a voltage sampling value. One end of the third resistor R3 is grounded, and the other end of the third resistor R3 is connected to the current sampling interface DC_IN_I_sen of the control module 24, so that the current sampling value is output to the control module 24. The other end of the third resistor R3 is also connected to one end of the thermistor R4 through the switch module 23, and the other end of the thermistor R4 is connected to the power receiving interface 10DC_IN. The switch module 23 is connected to the switch control interface DC_sen_gate of the control module 24 through the fifth resistor R5, and is grounded through the sixth resistor R6. The fifth resistor R5 and the sixth resistor R6 can achieve current limiting and impedance matching, so that the control module 24 can control the switch module 23 more reliably.

[0062] In some embodiments of the present application, Figure 4 As shown, the detection unit 20 also includes:

[0063] A heating module 26 connected to the control module 24 and configured to heat the target element 21;

[0064] The control module 24 is further configured to start the heating module 26 to heat the target element 21 when the element temperature is lower than the lower limit of the target temperature.

[0065] In this embodiment, the heating module 26 can be, for example, a heating wire, a heating plate, etc. If the component temperature is lower than the lower limit of the target temperature, it means that the component temperature is too low, and the resistance of the target component 21 cannot be reduced normally after being connected to the power supply device, resulting in a slow change in the current of the power supply device, thereby making it impossible to efficiently determine the rated power of the power supply device. In this case, the control module 24 starts the heating module 26 to heat the target component 21 and increase the temperature of the target component 21, so that the resistance of the target component 21 can be reduced normally after being connected to the power supply device, thereby ensuring efficient determination of the rated power of the power supply device.

[0066] It is understandable that after starting the heating module 26 to heat the target element 21, if the element temperature is not lower than the lower limit of the target temperature, the heating module 26 is stopped to avoid excessive interference with the element temperature and affecting the normal change of the element temperature.

[0067] In some embodiments of the present application, Figure 5 As shown, the detection unit 20 also includes:

[0068] The insurance module 27 is connected in series with the target element 21. When the current passing through the target element 21 reaches a current threshold, it can enter the second state from the first state to disconnect the target element 21 from the power supply device; when it is in the second state and the current passing through the target element 21 is less than the current threshold, it can enter the first state from the second state.

[0069] In this embodiment, the first state may be a closed state, and the second state may be an open state. The insurance module 27 may specifically include a recoverable fuse. By setting the insurance module 27, when the current of the target element 21 reaches the current threshold, the target element 21 can be quickly disconnected from the power supply device; when the current of the target element 21 is less than the current threshold, the connection with the target element 21 is restored to ensure that the target element 21 can be reliably connected to the power supply device next time. In some embodiments of the present application, such as Figure 6 As shown, the insurance module 27 is a recoverable fuse F1 connected in series between the thermistor R4 and the switch module 23. Optionally, the positions of the insurance module 27, the thermistor R4 and the switch module 23 can be interchanged.

[0070] In some embodiments of the present application, the power supply parameter sampling values ​​include voltage sampling values ​​and current sampling values. The detection unit 20 determines the rated power of the power supply equipment according to each power supply parameter sampling value, including: determining multiple power sampling values ​​according to each voltage sampling value and each current sampling value; determining the rated power according to the maximum power sampling value among the power sampling values.

[0071] In this embodiment, the detection unit 20 samples the voltage and current of the power supply equipment during the period when the current of the power supply equipment changes, obtains the voltage sampling value and the current sampling value, multiplies the voltage sampling value and the current sampling value at each sampling moment to obtain multiple power sampling values, and then determines the rated power according to the maximum power sampling value among the power sampling values, thereby efficiently determining the rated power.

[0072] In some embodiments of the present application, the detection unit 20 determines the rated power based on the maximum power sampling value among the power sampling values, including: adjusting the maximum power sampling value according to the target power adjustment coefficient to obtain the rated power, thereby using the target power adjustment coefficient to make the rated power have a certain safety margin, further improving the accuracy of the rated power, and thereby improving the reliability of the power detection device.

[0073] In some embodiments of the present application, the power detection device belongs to a power supply conversion device, which also includes a power supply interface and a power control unit. The power control unit is connected to the power receiving interface 10, the power supply interface and the detection unit 20, and is used to obtain the working power of the powered device from the power supply interface and obtain the rated power from the detection unit 20. When the rated power meets the working power, the power supply device obtained from the power receiving interface 10 is used to power the powered device via the power supply interface.

[0074] Since the power detection device can determine the rated power of the power supply device, the power control unit can supply power to powered devices with different working powers according to the rated power, so that the power supply conversion device can accurately convert electric energy, thereby improving the utilization rate of the power supply device.

[0075] In some embodiments of the present application, the power control unit includes:

[0076] A conversion module, connecting the power receiving interface 10 and the power supply interface;

[0077] The conversion control module connects the detection unit 20 and the conversion module, and is used to use the conversion module to convert the electric energy of the power supply device obtained from the power receiving interface 10 according to the working power when the rated power meets the working power, and output the converted electric energy from the power supply interface.

[0078] By setting up the conversion module and the conversion control module, it can be ensured that the electric energy of the power supply equipment is accurately converted according to the working power, thereby improving the reliability of the power control unit.

[0079] Optionally, the number of the conversion module, the conversion control module and the power supply interface can be one or more. For example, Figure 7 As shown, the number of conversion modules, conversion control modules and power supply interfaces are all 3, the conversion module is a DC / DC module, the conversion control module is a PD protocol chip, and the power supply interface is a Type-C interface. Specifically, after the PD protocol chip obtains the rated power of the power supply device from the power detection device, it compares the rated power with the working power of the powered device connected to the Type-C interface. When the rated power meets the working power, the DC / DC module is used to convert the power of the power supply device obtained from the powered interface DC_IN according to the working power, and the converted power is output from the Type-C interface.

[0080] The present application also proposes a power detection method, such as Figure 8 As shown, the following steps are included:

[0081] Step S101 , in response to a power supply device being connected to a power receiving interface, a target component is connected to the power supply device via the power receiving interface, and a component parameter of the target component can change with its own temperature change, so that a current of the power supply device changes.

[0082] In this embodiment, the power supply device may be, for example, a power adapter connected to a power source, or may be a power source (such as a DC power source, a battery pack, a fuel cell, an uninterruptible power supply, a solar panel, etc.). The power receiving interface matches the power supply interface of the power supply device. In response to the power supply device being connected to the power receiving interface, the target component is connected to the power supply device via the power receiving interface, and the component parameters of the target component change with its own temperature change, causing the current of the power supply device to change.

[0083] Step S102: Detecting a power supply parameter sampling value of the power supply device during the period when the current changes.

[0084] In this embodiment, during the period when the current changes, the power supply parameters of the power supply device are sampled to obtain the power supply parameter sampling values.

[0085] Step S103: determining the rated power of the power supply device according to each of the power supply parameter sampling values.

[0086] In this embodiment, after obtaining the sampled values ​​of each power supply parameter, the sampled values ​​of each power supply parameter are used to perform calculations to determine the rated power of the power supply device.

[0087] The power detection method of the embodiment of the present application responds to the power supply device being connected to the power receiving interface, and the target element is connected to the power supply device through the power receiving interface, and the element parameters of the target element can change with its own temperature change, so that the current of the power supply device changes; during the period of current change, the power supply parameter sampling value of the power supply device is detected; and the rated power of the power supply device is determined according to each power supply parameter sampling value. Since the rated power of the power supply device can be determined by each power supply parameter sampling value during the period of current change of the power supply device, the electric energy output by the power supply device can be converted into a variety of output powers matching the rated power, and then the power supply of external devices with different powers can be realized, thereby improving the utilization rate of the power supply device.

[0088] In some embodiments of the present application, the target element includes a thermistor, the element parameter includes resistance, and the resistance of the thermistor can decrease as its own temperature increases, such as Fig. 9 As shown, the detecting of the power supply parameter sampling value of the power supply device comprises the following steps:

[0089] Step S1021, obtaining the component temperature of the target component.

[0090] In this embodiment, the target element includes a thermistor, the resistance of which can decrease as its own temperature increases, that is, the thermistor is an NTC thermistor. After the thermistor is connected to the power supply device, due to the heating effect of the current, its own temperature gradually increases, and at the same time, the resistance gradually decreases, causing the current of the power supply device to gradually increase.

[0091] The temperature of the target element can be detected by a temperature detection module to obtain the element temperature. The temperature detection module can be, for example, a temperature sensor.

[0092] Step S1022: determining a target sampling frequency corresponding to the power supply parameter sampling value according to the component temperature.

[0093] In this embodiment, a target correspondence relationship between different component temperatures and different target sampling frequencies is pre-established, and the target sampling frequency can be determined according to the component temperature and the target correspondence relationship.

[0094] Step S1023: detecting the power supply parameter sampling value according to the target sampling frequency.

[0095] In this embodiment, the power supply parameter is sampled according to the target sampling frequency to obtain a power supply parameter sampling value.

[0096] In some embodiments, when the component temperature is higher than the specified temperature or the rising rate of the component temperature reaches the target rate, the first sampling frequency can be used as the target sampling frequency; when the component temperature is not higher than the specified temperature or the rising rate of the component temperature does not reach the target rate, the second sampling frequency can be used as the target sampling frequency, and the second sampling frequency is lower than the first sampling frequency, so as to achieve sampling at a higher frequency when the temperature is higher or rises faster, thereby obtaining more accurate power supply parameters, ensuring that the target component is disconnected in time when the power supply parameter sampling value meets the target condition, thereby improving the safety of the power supply equipment. In some embodiments, as an alternative, the target sampling frequency can also be gradually increased as the component temperature increases or the rising rate of the component temperature increases, so as to disconnect the target component in time when the power supply parameter sampling value meets the target condition, thereby improving the safety of the power supply equipment.

[0097] In some embodiments of the present application, the power supply parameter sampling value includes a voltage sampling value and a current sampling value, and determining the rated power of the power supply device according to each of the power supply parameter sampling values ​​includes:

[0098] Determine a plurality of power sampling values ​​according to each of the voltage sampling values ​​and each of the current sampling values;

[0099] The rated power is determined according to a maximum power sampling value among the power sampling values.

[0100] In this embodiment, during the period when the current of the power supply device changes, the voltage and current of the power supply device are sampled to obtain voltage sampling values ​​and current sampling values. The voltage sampling values ​​and current sampling values ​​at each sampling moment are multiplied to obtain multiple power sampling values. The rated power is then determined based on the maximum power sampling value among the power sampling values, thereby efficiently determining the rated power.

[0101] In some embodiments of the present application, the rated power is determined based on the maximum power sampling value among the power sampling values, including: adjusting the maximum power sampling value according to a target power adjustment coefficient to obtain the rated power, thereby utilizing the target power adjustment coefficient to allow the rated power to have a certain safety margin, further improving the accuracy of the rated power, and thereby improving the reliability of the power detection device.

[0102] In some embodiments of the present application, the power detection method also includes: when the power supply parameter sampling value meets the target condition, the target element is disconnected from the power supply device, and the period during which the current changes starts from the time when the target element is connected to the power supply device and ends when the target element is disconnected from the power supply device.

[0103] In this embodiment, after the target component is connected to the power supply device, the current of the power supply device changes due to the change of the component parameters of the target component, and the power supply parameters of the power supply device are sampled to obtain the power supply parameter sampling values. If the power supply parameter sampling values ​​meet the target conditions, the target component is disconnected from the power supply device and the acquisition of the power supply parameter sampling values ​​is stopped. At this time, the rated power of the power supply device can be determined by the obtained power supply parameter sampling values.

[0104] In this way, by promptly disconnecting the target component from the power supply device when the power supply parameter sampling value meets the target condition, it is possible to avoid further affecting the current of the power supply device, thereby ensuring the safety of the power supply device on the basis of accurately determining the rated power.

[0105] In some embodiments of the present application, the power detection method further includes: heating the target element when the element temperature is lower than a target temperature lower limit.

[0106] In this embodiment, the target element can be heated by a heating module, and the heating module can be, for example, a heating wire, a heating plate, etc. If the element temperature is lower than the lower limit of the target temperature, it means that the element temperature is too low, and the resistance of the target element cannot be reduced normally after being connected to the power supply device, resulting in a slow change in the current of the power supply device, thereby failing to efficiently determine the rated power of the power supply device. In this case, the target element is heated to increase the temperature of the target element, so that the resistance of the target element can be reduced normally after being connected to the power supply device, thereby ensuring efficient determination of the rated power of the power supply device.

[0107] It is understandable that after heating the target element, if the element temperature is not lower than the lower limit of the target temperature, the heating of the target element is stopped to avoid excessive interference with the element temperature and affecting the normal change of the element temperature.

[0108] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0109] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.

Claims

1. A power detection device, comprising: Power receiving interface, used to connect power supply equipment; a detection unit connected to the power receiving interface and provided with a target element, used to connect the target element to the power supply device via the power receiving interface, wherein the element parameter of the target element can change with the temperature change of the target element, so that the current of the power supply device changes; During the period when the current changes, the power supply parameter sampling values ​​of the power supply device are detected, and the rated power of the power supply device is determined according to each of the power supply parameter sampling values.

2. The power detection device according to claim 1, wherein the detection unit comprises: A sampling module, connected to the power receiving interface, for detecting a sampling value of the power supply parameter; A switch module, connected to the target element, capable of being in a closed state and an open state; A control module is connected to the sampling module and the switch module, and is used to close the switch module in response to the power supply device being connected to the power receiving interface, so that the target element is connected to the power supply device; the power supply parameter sampling value is obtained by using the sampling module, and the rated power of the power supply device is determined according to each of the power supply parameter sampling values.

3. The power detection device according to claim 2, wherein the control module is further used for: When the power supply parameter sampling value meets the target condition, the switch module is disconnected to disconnect the target element from the power supply device, and the period during which the current changes starts from closing the switch module and ends from disconnecting the switch module.

4. The power detection device according to claim 3, wherein the power supply parameter sampling value comprises a voltage sampling value and a current sampling value, and the target condition comprises one of the following: The difference between the voltage sampling value and the initial voltage reaches a target difference, and the initial voltage is the voltage of the power supply device before the control module closes the switch module; The voltage sampling value is lower than the target voltage; The current sampling value is greater than the target current.

5. The power detection device according to claim 2, wherein the target element comprises a thermistor, the element parameter comprises a resistance, the resistance of the thermistor can decrease as its own temperature increases, and the detection unit further comprises: A temperature detection module, connected to the control module, for detecting the element temperature of the target element; The control module is also used to obtain the component temperature using the temperature detection module; A target sampling frequency corresponding to the power supply parameter sampling value is determined according to the component temperature; and the power supply parameter sampling value is detected according to the target sampling frequency by using the sampling module.

6. The power detection device according to claim 5, wherein the detection unit further comprises: A heating module, connected to the control module, for heating the target element; The control module is further configured to start the heating module to heat the target element when the element temperature is lower than a target temperature lower limit.

7. The power detection device according to claim 1, wherein the detection unit further comprises: The insurance module is connected in series with the target element and can enter the second state from the first state when the current passing through the target element reaches a current threshold, thereby disconnecting the target element from the power supply device; and enter the first state from the second state when the current passing through the target element is less than the current threshold in the second state.

8. A power detection method, comprising: In response to the power supply device being connected to the power receiving interface, the target component is connected to the power supply device via the power receiving interface, and the component parameters of the target component can change with the temperature change of the target component, so that the current of the power supply device changes; During the period when the current changes, detecting a sampling value of a power supply parameter of the power supply device; The rated power of the power supply device is determined according to each of the power supply parameter sampling values.

9. The power detection method according to claim 8, wherein the target element comprises a thermistor, the element parameter comprises a resistance, the resistance of the thermistor can decrease as its own temperature increases, and the detecting of the power supply parameter sampling value of the power supply device comprises: obtaining a component temperature of the target component; Determining a target sampling frequency corresponding to the power supply parameter sampling value according to the component temperature; The power supply parameter sampling value is detected according to the target sampling frequency.

10. The power detection method according to claim 8, wherein the power supply parameter sampling values ​​include voltage sampling values ​​and current sampling values, and the step of determining the rated power of the power supply device according to each of the power supply parameter sampling values ​​comprises: Determine a plurality of power sampling values ​​according to each of the voltage sampling values ​​and each of the current sampling values; The rated power is determined according to a maximum power sampling value among the power sampling values.