Power supply system and power supply control method
By introducing power control modules and controllers into the power supply system, pre-checking of power supply equipment and power receiving equipment, and disconnecting the power supply when an abnormality is detected, the problem of the inability to disconnect the power supply in time by conventional power supply methods is solved, and the equipment is improved reliability.
Patent Information
- Application Number
- CN202510049533.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-02-21
AI Technical Summary
The conventional general multimedia interface (GPMI) power supply method cannot disconnect the power supply in time when the output voltage of the power supply equipment is abnormal or the power receiving equipment is short-circuited, resulting in equipment damage and reduced reliability.
Design a power supply system, including power supply equipment, power control module, controller and power receiving equipment. The power control module and controller are located on the power supply device and are used to inspect the power supply device and the power receiving device before power supply is supplied. If an abnormality is detected under normal power supply state, the control power control module will perform power off processing.
It realizes timely detection and processing of abnormal situations in power supply equipment and power receiving equipment, avoids equipment damage caused by power supply abnormalities, and improves the reliability of the equipment.
Smart Images

Figure CN119496100A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power supply control, and in particular to a power supply system and a power supply control method. Background Art
[0002] The conventional General Purpose Multimedia Interface (GPMI) power supply adopts a direct connection mode without any intermediate conversion or adjustment equipment. If the output voltage of the power supply device is abnormal or the powered device is short-circuited, the power supply cannot be disconnected in time, which will cause damage to the power supply device or the powered device and reduce the reliability of the equipment.
[0003] Therefore, how to promptly disconnect the power supply when an abnormality occurs in the power supply device or the powered device to improve the reliability of the device is an urgent problem to be solved by those skilled in the art. Summary of the invention
[0004] The purpose of the present invention is to provide a power supply system and a power supply control method to solve the problem of equipment damage caused by failure to disconnect the power supply in time when an abnormality occurs.
[0005] In order to solve the above technical problems, the present invention provides a power supply system, comprising a power supply device, a power control module, a controller and a powered device; wherein the power control module and the controller are located on the power supply device;
[0006] The power control module is connected to the powered device; the powered device is connected to the controller; the controller is connected to the power control module;
[0007] The controller is used to control the power control module to perform inspection operations on the power supply device and the powered device before power supply; when the inspection is passed, the power supply device is powered normally; if the power supply device and / or the powered device are monitored to have abnormalities under normal power supply status, the power control module is controlled to perform power-off processing.
[0008] On the one hand, it also includes: a sampling circuit;
[0009] The power control module is connected to the sampling circuit;
[0010] The sampling circuit is connected to the controller and the powered device;
[0011] The controller is also used to collect the voltage value output by the power control module and the voltage value of the powered device through the sampling circuit; and determine the abnormal situation of the power supply device according to the voltage value output by the power control module and the voltage value of the powered device.
[0012] On the other hand, the sampling circuit includes a first resistor and a second resistor; wherein the first resistor is located at the power supply device end; and the second resistor is located at the powered device end;
[0013] When the power supply device is supplying power normally, the first end of the first resistor is connected to the power control module; the second end of the first resistor is connected to the first end of the second resistor; and the second end of the second resistor is grounded;
[0014] A common end of the first resistor and the second resistor is connected to the controller.
[0015] On the other hand, it also includes: a current limiting circuit;
[0016] The current limiting circuit is connected to the power control module and the controller;
[0017] The controller is also used to monitor the current value of the power supply circuit and determine the abnormality of the power supply device according to the current value; if it is abnormal, the current limiting circuit is controlled to cut off the power supply.
[0018] In order to solve the above technical problems, the present invention further provides a power supply control method, which is applied to the controller of the power supply system, and the method comprises:
[0019] Before supplying power, controlling the power supply control module to perform inspection operations on the power supply device and the powered device;
[0020] When the inspection is passed, the power supply device is powered normally;
[0021] If the power supply device and / or the powered device is monitored to be abnormal under normal power supply status, the power supply control module is controlled to perform power-off processing.
[0022] On the one hand, before power supply, the power supply control module is controlled to perform a check operation on the power supply device and the powered device, including:
[0023] Controlling the power control module to perform self-check on the power supply device;
[0024] When the self-test passes, verifying the interface protocol of the powered device;
[0025] If the verification process is passed, it is determined that the power supply device and the powered device have passed the inspection.
[0026] On the other hand, the power supply system further includes a sampling circuit, the sampling circuit includes a first resistor and a second resistor; wherein the first resistor is located at the power supply device end; the second resistor is located at the powered device end; when the power supply device is supplying power normally, the first end of the first resistor is connected to the power control module; the second end of the first resistor is connected to the first end of the second resistor; the second end of the second resistor is grounded; the common end of the first resistor and the second resistor is connected to the controller; controlling the power control module to perform self-test on the power supply device, including:
[0027] Acquiring an initial power supply voltage of the power control module;
[0028] Determine a first voltage value collected by the controller according to the initial power supply voltage, a resistance value corresponding to a first resistor of the power supply device, and a resistance value corresponding to a second resistor of the powered device;
[0029] Determine a required voltage value of the powered device according to the first voltage value and an interface protocol;
[0030] Using the required voltage value as the actual power supply voltage of the power supply control module;
[0031] Determine the second voltage value collected by the controller according to the actual power supply voltage, the resistance value corresponding to the first resistor of the power supply device, and the resistance value corresponding to the second resistor of the powered device;
[0032] Obtaining a preset voltage value corresponding to the powered device;
[0033] A self-test result of the power supply device is determined according to the second voltage value and the preset voltage value.
[0034] On the other hand, determining a self-test result of the power supply device according to the second voltage value and the preset voltage value includes:
[0035] Get the preset range;
[0036] If the difference between the second voltage value and the preset voltage value is not within the preset range, and the second voltage value is less than the preset voltage value, determining that the self-test result of the power supply device is undervoltage;
[0037] If the difference between the second voltage value and the preset voltage value is not within the preset range, and the second voltage value is greater than the preset voltage value, determining that the self-test result of the power supply device is overvoltage;
[0038] If the difference between the second voltage value and the preset voltage value is within the preset range, it is determined that the self-test result of the power supply device is normal.
[0039] On the other hand, the interface protocol of the powered device is verified, including:
[0040] Obtaining an interface protocol of the powered device;
[0041] Determining whether the powered device matches according to the interface protocol standard of the power supply device and the interface protocol of the powered device;
[0042] If they match, it is determined that the interface protocol verification of the powered device has passed.
[0043] On the other hand, the power supply system further includes: a current limiting circuit; the current limiting circuit is connected to the power control module and the controller; after determining the self-test result of the power supply device according to the second voltage value and the preset voltage value, it also includes:
[0044] Obtaining a current resistance value of the current limiting circuit;
[0045] Determine a preset current value according to the required voltage value of the powered device and the current resistance value;
[0046] Get the actual current value of the power supply circuit;
[0047] An abnormal condition of the power supply device is determined according to the preset current value and the actual current value.
[0048] On the other hand, after controlling the power control module to perform power-off processing, the method further includes:
[0049] Output abnormal diagnostic information of the power supply device and / or the powered device. A power supply system provided by the present invention includes a power supply device, a power control module, a controller and a powered device; wherein the power control module and the controller are on the power supply device; the power control module is connected to the powered device; the powered device is connected to the controller; the controller is connected to the power control module; the controller is used to control the power control module to perform inspection operations on the power supply device and the powered device before power supply; when the inspection is passed, the power supply device is normally powered; if the power supply device and / or the powered device are monitored to be abnormal under normal power supply state, the power control module is controlled to perform power-off processing. The present invention adds the control of the controller in a direct connection mode between the power supply device and the powered device. If the power supply device and / or the powered device are monitored to be abnormal under normal power supply state, the power control module is controlled to perform power-off processing to realize controllable power supply. The power supply can be cut off at any time by controlling the power module, which solves the problem of equipment damage caused by the failure to cut off the power supply in time due to abnormal power supply. At the same time, by controlling the power control module to check the power supply equipment and the power receiving equipment before the formal power supply, the occurrence of abnormal situations caused by the formal power supply can be reduced. Only after the inspection is passed, normal power supply can be carried out. By checking the power supply equipment and the power receiving equipment, the corresponding abnormalities can be accurately located, and the abnormalities of the power supply end and the power receiving end can be determined before normal power supply. It also meets the power supply conditions of different power receiving devices and improves the reliability of the system.
[0050] In addition, the present invention also provides a power supply control method, which has the same beneficial effects as the above power supply system. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] FIG1 is a schematic diagram of the structure of a power supply system provided by an embodiment of the present invention;
[0053] FIG2 is a flow chart of a power control method provided by this embodiment;
[0054] FIG3 is a schematic diagram of the structure of another power supply system provided by an embodiment of the present invention;
[0055] FIG4 is a schematic structural diagram of a power supply system provided by another embodiment of the present invention;
[0056] FIG5 is a schematic diagram of the structure of a sampling circuit provided by an embodiment of the present invention;
[0057] FIG6 is a flow chart of a power supply control method provided by an embodiment of the present invention;
[0058] FIG. 7 is a flow chart of another power supply control method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] The core of the present invention is to provide a power supply system and a power supply control method to solve the problem of equipment damage caused by failure to disconnect the power supply in time when an abnormality occurs.
[0061] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0062] In the direct power supply mode, power is transmitted directly from a power source (such as a battery or a power adapter) to a device or terminal without passing through any intermediate conversion or regulation equipment, such as a transformer. This method allows current to flow directly through the connecting wire, thereby providing the required power to the device. The direct power supply method is generally used to simplify the power supply structure, reduce energy loss, and improve power supply efficiency. In the context of GPMI, the direct power supply method may refer to transmitting power directly to multimedia devices, such as display screens or audio devices, to support high power requirements. When the output voltage of the power supply device is abnormal or the powered device is short-circuited, the power supply cannot be disconnected in time, which will cause damage to the device or malfunction. The power supply system provided by the present invention can solve the above technical problems.
[0063] FIG1 is a schematic diagram of the structure of a power supply system provided by an embodiment of the present invention. As shown in FIG1 , the system includes a power supply device 2, a power control module 1, a controller 3 and a powered device 4; wherein the power control module 1 and the controller 3 are located on the power supply device 2;
[0064] The power control module 1 is connected to the powered device 4; the powered device 4 is connected to the controller 3; the controller 3 is connected to the power control module 1;
[0065] The controller 3 is used to control the power control module 1 to perform inspection operations on the power supply device 2 and the powered device 4 before power supply; when the inspection is passed, the power supply device 2 is powered normally; if the power supply device 2 and / or the powered device 4 are monitored to be abnormal under normal power supply state, the power control module 1 is controlled to cut off the power.
[0066] Specifically, this embodiment is based on the connection relationship of the above-mentioned power supply system, and its power control module and controller are located on the power supply device, and the power supply device is used to provide power to the powered device. The power control module is connected to the powered device to realize the connection between the power supply device and the powered device. The powered device is connected to the controller, and the controller is connected to the power control module. Different from the conventional direct connection method, the controller is introduced in this embodiment to control the power control module to supply and cut off the power supply at any time, so as to avoid the phenomenon that the power supply cannot be disconnected in time when the output voltage of the power supply device is abnormal or the powered device is short-circuited. At the same time, before the formal power supply, it is necessary to control the power control module to check the power supply device and the powered device. The inspection operation here mainly operates and checks the power supply end of the power supply device and the power receiving end of the powered device respectively. The specific operation inspection process can be self-checking corresponding to both ends, or it can be other inspections, which are not limited here. Only after the inspection at both ends is passed, the power supply device is powered normally. If there is an abnormality during the power supply process, the abnormality here can be any one end of the two ends or when both ends are abnormal, and the power control module is directly controlled to cut off the power.
[0067] The specific inspection process requires the corresponding power supply self-test at the power supply end, sampling the voltage level of the power supply interface and the current of the power supply circuit, and transmitting the relevant information to the controller. The controller determines whether the voltage and current are within the normal range based on the corresponding voltage level, whether there are abnormal conditions such as overvoltage, undervoltage, short circuit, etc., to ensure that the power supply interface of the power supply end is normal; after inserting the powered device, it determines whether the powered device is a GPMI standard device, and determines the voltage level requirements of the powered device through relevant protocols, such as 5V, 12V and other power supply requirements. When the central processing unit (CPU) determines that the power supply interface of the power supply end is normal, it controls the power module to output the corresponding voltage level to supply power to the powered device, and monitors the voltage and current of the power supply circuit in real time. If a short circuit occurs at the powered end, the power supply will be cut off immediately to protect the power supply end. Since the power supply circuit is monitored before and after the powered device is inserted, the CPU can accurately determine the abnormal conditions of the power supply end and the powered end.
[0068] It should be noted that the monitoring of the power supply device in this embodiment is in a monitoring state from before the powered device is plugged in until the powered device is plugged in and the normal power supply is performed.
[0069] FIG2 is a flow chart of a power supply control method provided by this embodiment. As shown in FIG2 , the main control method includes:
[0070] 1. Power on the power supply device and insert it into the powered device;
[0071] 2. GPMI interface initial self-test and output results to the power control module;
[0072] 3. After connecting to the device, perform identification and detection of the powered device, determine the equal voltage level, and output the result to the power control module;
[0073] 4. The voltage control module decides whether to output the corresponding voltage level according to the requirements of the powered equipment and the CPU control instructions;
[0074] 5. During the initial self-test, if the CPU detects an abnormality in the power supply circuit, it will prohibit the power module from outputting and display prompts such as abnormality at the power supply end;
[0075] 6. If the CPU detects that the power supply circuit is normal, it controls the power module to output voltage, and then supplies power to the receiving end;
[0076] 7. After the receiving end supplies power, the power supply end will self-check and monitor the power supply circuit in real time. If a short circuit or other abnormality occurs at the receiving end, the power supply will be cut off and prompts such as abnormality at the receiving end will be displayed.
[0077] Corresponding to the method of FIG. 2 , the steps are as follows:
[0078] S11: Check whether the GPMI power supply terminal passes the self-test; if it passes, go to step S12; if it fails, go to step S13;
[0079] S12: GPMI power receiving end identification, control power control module output voltage;
[0080] S14: Determine whether the required voltage is output; if so, proceed to step S15; if not, end;
[0081] S15: power supply at the receiving end;
[0082] S13: The controller controls the power control module to cut off the process, and the power supply end displays an abnormality.
[0083] A power supply system provided by an embodiment of the present invention includes a power supply device, a power control module, a controller and a powered device; wherein the power control module and the controller are on the power supply device; the power control module is connected to the powered device; the powered device is connected to the controller; the controller is connected to the power control module; the controller is used to control the power control module to check the power supply device and the powered device before power supply; when the check is passed, the power supply device is normally powered; if the power supply device and / or the powered device are monitored to be abnormal under the normal power supply state, the power control module is controlled to perform power-off processing. The present invention adds the control of the controller in a direct connection mode between the power supply device and the powered device. If the power supply device and / or the powered device are monitored to be abnormal under the normal power supply state, the power control module is controlled to perform power-off processing to achieve controllable power supply. The power supply can be cut off at any time by controlling the power module, which solves the problem of equipment damage caused by the failure to cut off the power supply in time due to abnormal power supply. At the same time, by controlling the power control module to check the power supply device and the powered device before formal power supply, the occurrence of abnormal situations caused by formal power supply can be reduced, and normal power supply can be performed only after the check is passed. By checking the power supply equipment and the power receiving equipment, the corresponding abnormality can be accurately located, and the abnormality of the power supply end and the power receiving end can be determined before the normal power supply. It also meets the power supply conditions of different power receiving equipment and improves the reliability of the system.
[0084] In some embodiments, it further includes: a sampling circuit;
[0085] The power control module is connected to the sampling circuit;
[0086] The sampling circuit connects the controller and the powered device;
[0087] The controller is also used to collect the voltage value output by the power control module and the voltage value of the powered device through a sampling circuit; and determine the abnormal situation of the powered device according to the voltage value output by the power control module and the voltage value of the powered device.
[0088] FIG3 is a schematic diagram of the structure of another power supply system provided by an embodiment of the present invention. As shown in FIG3, the power control module 1 is connected to the sampling circuit 5; the sampling circuit 5 is connected to the controller 3 and the powered device 4. FIG4 is a schematic diagram of the structure of a power supply system provided by another embodiment of the present invention. As shown in FIG4, the powered device 4 at the power receiving end is connected to the voltage sampling circuit 7, and the voltage sampling circuit 7 is connected to the controller 3. The controller 3 is used to determine the voltage level corresponding to the powered device 4.
[0089] When the powered device is connected, the voltage sampling circuit at the power supply end is connected to the powered end. The voltage sampling circuit samples the relevant voltage value to the CPU through the analog-to-digital converter (ADC) channel. The CPU determines the voltage level according to the relevant protocol. The voltage level here is the required voltage of the power supply device.
[0090] The present embodiment provides a method for determining the voltage output by the power control module and the voltage value corresponding to the powered device through a sampling circuit, and determining the abnormal condition of the powered device based on the two voltage values, that is, whether there is an abnormal condition of overvoltage or undervoltage, so as to improve the correctness of the required voltage of the powered device.
[0091] In some embodiments, the sampling circuit includes a first resistor and a second resistor; wherein the first resistor is located at the power supply device end; and the second resistor is located at the powered device end;
[0092] When the power supply device is supplying power normally, the first end of the first resistor is connected to the power control module; the second end of the first resistor is connected to the first end of the second resistor; and the second end of the second resistor is grounded;
[0093] A common end of the first resistor and the second resistor is connected to the controller.
[0094] FIG5 is a schematic diagram of the structure of a sampling circuit provided by an embodiment of the present invention. As shown in FIG5, the first resistor R1 and the controller (main control CPU) are located at the power supply device end, and the second resistor R2 is located at the power receiving device end. In the normal power supply process, the first resistor R1 and the second resistor R2 need to be connected, that is, A0 and A1 in FIG5 are connected, and the common end of the first resistor R1 and the second resistor R2 is connected to the controller. The voltage value V sampled by the controller GPMI =R2 / (R1+R2), according to V GPMI Determine the required voltage of the powered equipment.
[0095] The resistances of the two resistors in the sampling circuit provided in this embodiment can obtain the required voltage of the powered device, thereby simplifying the operation steps.
[0096] In some embodiments, it further includes: a current limiting circuit;
[0097] The current limiting circuit is connected to the power control module and the controller;
[0098] The controller is also used to monitor the current value of the power supply circuit and determine the abnormal situation of the power supply equipment according to the current value; if it is abnormal, the current limiting circuit is controlled to cut off the power supply.
[0099] As shown in Figure 3, the power supply voltage is supplied to the powered device through the current limiting circuit. The current limiting circuit can monitor the current value of the power supply circuit and transmit the relevant information to the controller. If there is an abnormal phenomenon such as a micro short circuit (small voltage difference, large current difference) in the power supply equipment, that is, through self-inspection, it is discovered that when the powered device has overcurrent, short circuit, etc., the current limiting circuit will cut off the power supply in time.
[0100] The connection relationship of the current limiting circuit provided in this embodiment is used to improve the self-detection capability of the power supply device and the monitoring capability of the powered device.
[0101] Furthermore, the present invention also provides a power supply control method. FIG6 is a flow chart of a power supply control method provided by an embodiment of the present invention. As shown in FIG6 , the controller applied to the above power supply system includes:
[0102] S21: Before supplying power, control the power supply control module to perform inspection operations on the power supply device and the powered device;
[0103] S22: When the inspection is passed, the power supply equipment is powered normally;
[0104] S23: If the power supply device and / or the powered device is monitored to be abnormal under normal power supply status, the power supply control module is controlled to perform power-off processing.
[0105] For an introduction to a power supply control method provided by the present invention, please refer to the above method embodiment, and the present invention will not be repeated here. It has the same beneficial effects as the above power supply system.
[0106] In some embodiments, before supplying power, the power control module is controlled to perform a check operation on the power supply device and the powered device, including:
[0107] Control the power supply control module to perform self-inspection on the power supply equipment;
[0108] When the self-test passes, the interface protocol of the powered device is verified;
[0109] If the verification process passes, it is determined that the power supply device and the powered device have passed the inspection.
[0110] Specifically, the power supply device is subjected to a self-test process. When the self-test passes, the interface protocol verification process is performed on the powered device. If the verification process passes, it is determined that the inspection operation of the power supply device and the powered device has passed. The self-test process here corresponds to the interface self-test. After the initial self-test of the interface is completed, it corresponds to the identification monitoring of the powered device to determine whether to output the corresponding voltage level.
[0111] In some embodiments, the power supply system further includes a sampling circuit, the sampling circuit includes a first resistor and a second resistor; wherein the first resistor is located at the power supply device end; the second resistor is located at the powered device end; when the power supply device is supplying power normally, the first end of the first resistor is connected to the power control module; the second end of the first resistor is connected to the first end of the second resistor; the second end of the second resistor is grounded; the common end of the first resistor and the second resistor is connected to the controller; controlling the power control module to perform self-test on the power supply device includes:
[0112] Obtaining an initial power supply voltage of a power control module;
[0113] Determine a first voltage value collected by the controller according to the initial power supply voltage, a resistance value corresponding to a first resistor of the power supply device, and a resistance value corresponding to a second resistor of the powered device;
[0114] Determine a required voltage value of the powered device according to the first voltage value and the interface protocol;
[0115] Taking the required voltage value as the actual power supply voltage of the power control module;
[0116] Determine a second voltage value collected by the controller according to the actual power supply voltage, the resistance value corresponding to the first resistor of the power supply device, and the resistance value corresponding to the second resistor of the powered device;
[0117] Obtaining a preset voltage value corresponding to the powered device;
[0118] A self-test result of the power supply device is determined according to the second voltage value and the preset voltage value.
[0119] Specifically, the initial power supply voltage of the power control module is obtained, and the resistance values of the first resistor of the power supply device and the second resistor of the powered device are combined with the structure of the sampling circuit shown in FIG5 to determine the first voltage value collected by the controller, that is, V GPMI , determine the required voltage value of the powered device, that is, the voltage level, according to the first voltage value and the interface protocol.
[0120] If V GPMI When VCC / 6, the output voltage is 5V; when V GPMI When VCC / 3, the output voltage is 9V; when V GPMI When it is VCC / 2, the output voltage is 12V.
[0121] After the required voltage value is used as the actual power supply voltage, the second voltage value collected by the controller is determined based on the first resistance of the power supply device and the second resistance of the powered device, that is, V' GPMI , determine the self-test result of the power supply equipment according to the second voltage value and the preset voltage value.
[0122] It should be noted that the voltage level here changes with the resistance value of the second resistor of the powered device, and the resistance value of the first resistor is a fixed value.
[0123] The control power control module provided in this embodiment performs self-inspection on the power supply device and outputs the supply voltage of the voltage level corresponding to the powered device to determine whether the supply voltage at the corresponding voltage level is within the normal range. The self-inspection process enriches the voltage values of the supply voltage output at different voltage levels of the powered device and improves flexibility.
[0124] In some embodiments, determining a self-test result of the power supply device according to the second voltage value and the preset voltage value includes:
[0125] Get the preset range;
[0126] If the difference between the second voltage value and the preset voltage value is not within the preset range, and the second voltage value is less than the preset voltage value, determining that the self-test result of the power supply device is undervoltage;
[0127] If the difference between the second voltage value and the preset voltage value is not within the preset range, and the second voltage value is greater than the preset voltage value, determining that the self-test result of the power supply device is overvoltage;
[0128] If the difference between the second voltage value and the preset voltage value is within the preset range, it is determined that the self-test result of the power supply device is normal.
[0129] Specifically, the difference between the second voltage value and the preset voltage value is compared with the preset range. If the difference is not within the preset range, it may exceed the preset range or may not reach the preset range, so further comparison is required here. If the second voltage value is less than the preset voltage value, it means that the power supply device is in an undervoltage condition. If the second voltage value is greater than the preset voltage value, it means that the power supply device is in an overvoltage condition. If the difference is within the preset range, it means that the self-test result is normal.
[0130] The self-test result of the power supply device determined based on the comparison between the second voltage value and the preset voltage value provided in this embodiment improves the self-test capability of the power supply device.
[0131] In some embodiments, performing verification processing on the interface protocol of the powered device includes:
[0132] Obtain the interface protocol of the powered device;
[0133] Determine whether the powered device matches the interface protocol standard of the power supply device and the interface protocol of the powered device;
[0134] If they match, it is determined that the interface protocol verification of the powered device has passed.
[0135] Specifically, the interface standard of the interface protocol is used to check whether the powered device matches. If it matches, the verification is determined to be successful. When the powered device is detected to be connected, the system will verify whether the powered device complies with the GPMI interface standard. If the verification is successful, the system will obtain the voltage level requirement of the powered device according to the corresponding communication protocol, and send a control instruction to the power control module to output the matching voltage level for power supply.
[0136] In addition, in addition to the GPMI interface standard, other interface protocols may also be used, which are not limited here.
[0137] The inspection operation at the powered device end provided in this embodiment corresponds to the matching of the interface standard, thereby improving the inspection capability of the powered device.
[0138] The present embodiment provides a process for controlling the power control module to perform inspection operations on the power supply device and the powered device before power supply, thereby reducing the number of abnormalities of the power supply device and the powered device and improving the reliability of the system.
[0139] In some embodiments, the power supply system further includes: a current limiting circuit; the current limiting circuit is connected to the power control module and the controller; after determining the self-test result of the power supply device according to the second voltage value and the preset voltage value, it also includes:
[0140] Get the current resistance value of the current limiting circuit;
[0141] Determine the preset current value according to the required voltage value and the current resistance value of the powered device;
[0142] Get the actual current value of the power supply circuit;
[0143] The abnormal condition of the power supply equipment is determined based on the preset current value and the actual current value.
[0144] Specifically, the required voltage value of the powered device in this embodiment is divided by the current resistance value of the current limiting circuit to obtain a preset current value. At the same time, the actual current value of the power supply circuit is collected, and the abnormality of the power supply device is determined based on the comparison between the preset current value and the actual current value. If the actual current value exceeds the preset current value, it indicates that the power supply device is overcurrent, which corresponds to a short circuit.
[0145] In addition to determining the self-test result by the voltage value, this embodiment also determines the self-test result by the current value of the current limiting circuit, thereby improving the flexibility and diversity of the self-test result.
[0146] In some embodiments, after controlling the power supply control module to perform power-off processing, the method further includes:
[0147] Output abnormality diagnosis information of the power supply device and / or the power receiving device.
[0148] Specifically, under normal power supply conditions, the system will continuously monitor the power supply circuit and detect possible abnormal conditions in real time. During this process, if any abnormality is detected, the controller will instruct the power control module to perform a power-off operation and output the corresponding abnormality diagnosis information.
[0149] This embodiment provides that after the power supply control module is controlled to perform power-off processing, abnormal diagnosis information of the power supply device and / or the powered device is output to facilitate subsequent maintenance processing.
[0150] FIG. 7 is a flow chart of another power supply control method provided by an embodiment of the present invention. As shown in FIG. 7 , the method includes:
[0151] S31: Read self-test information;
[0152] S32: logical reasoning;
[0153] S33: Determine whether the power supply end self-test has passed; if not, proceed to step S34; if passed, proceed to step S35;
[0154] S35: Receiving end identification and voltage level determination;
[0155] S36: Sending control instructions to the power control module;
[0156] S37: Output corresponding voltage level;
[0157] S38: Determine whether the monitoring output circuit is abnormal; if so, proceed to step S34; if not, proceed to step S39;
[0158] S39: Continuously control power supply;
[0159] S34: stop the power control module output;
[0160] S40: abnormal information recording and output.
[0161] The above is a detailed introduction to a power supply system and a power supply control method provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can refer to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the present invention.
[0162] It should also be noted that, in this specification, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A power supply system, characterized in that: It includes a power supply device, a power control module, a controller and a powered device; wherein the power control module and the controller are located on the power supply device; The power control module is connected to the powered device; the powered device is connected to the controller; the controller is connected to the power control module; The controller is used to control the power control module to perform inspection operations on the power supply device and the powered device before power supply; when the inspection is passed, the power supply device is powered normally; if the power supply device and / or the powered device are monitored to have abnormalities under normal power supply status, the power control module is controlled to perform power-off processing.
2. The power supply system according to claim 1, characterized in that: Also includes: Sampling circuit; The power control module is connected to the sampling circuit; The sampling circuit is connected to the controller and the powered device; The controller is also used to collect the voltage value output by the power control module and the voltage value of the powered device through the sampling circuit; The abnormal condition of the power supply device is determined according to the voltage value output by the power control module and the voltage value of the powered device.
3. The power supply system according to claim 2, characterized in that: The sampling circuit includes a first resistor and a second resistor; wherein the first resistor is located at the power supply device end; and the second resistor is located at the powered device end; When the power supply device is supplying power normally, the first end of the first resistor is connected to the power control module; the second end of the first resistor is connected to the first end of the second resistor; and the second end of the second resistor is grounded; A common end of the first resistor and the second resistor is connected to the controller.
4. The power supply system according to claim 1, characterized in that: Also includes: Current limiting circuit; The current limiting circuit is connected to the power control module and the controller; The controller is also used to monitor the current value of the power supply circuit and determine the abnormality of the power supply device according to the current value; if it is abnormal, the current limiting circuit is controlled to cut off the power supply.
5. A power supply control method, characterized in that: The controller applied to the power supply system of claim 1, wherein the method comprises: Before supplying power, controlling the power supply control module to perform inspection operations on the power supply device and the powered device; When the inspection is passed, the power supply device is powered normally; If the power supply device and / or the powered device is monitored to be abnormal under normal power supply status, the power supply control module is controlled to perform power-off processing.
6. The power supply control method according to claim 5, characterized in that: Before supplying power, the power supply control module is controlled to perform a check operation on the power supply device and the powered device, including: Controlling the power control module to perform self-check on the power supply device; When the self-test passes, verifying the interface protocol of the powered device; If the verification process is passed, it is determined that the power supply device and the powered device have passed the inspection.
7. The power supply control method according to claim 6, characterized in that: The power supply system further includes a sampling circuit, which includes a first resistor and a second resistor; wherein the first resistor is located at the power supply device end; the second resistor is located at the powered device end; when the power supply device is supplying power normally, the first end of the first resistor is connected to the power control module; the second end of the first resistor is connected to the first end of the second resistor; the second end of the second resistor is grounded; the common end of the first resistor and the second resistor is connected to the controller; controlling the power control module to perform self-test on the power supply device includes: Acquiring an initial power supply voltage of the power control module; Determine a first voltage value collected by the controller according to the initial power supply voltage, a resistance value corresponding to a first resistor of the power supply device, and a resistance value corresponding to a second resistor of the powered device; Determine a required voltage value of the powered device according to the first voltage value and an interface protocol; Using the required voltage value as the actual power supply voltage of the power supply control module; Determine the second voltage value collected by the controller according to the actual power supply voltage, the resistance value corresponding to the first resistor of the power supply device, and the resistance value corresponding to the second resistor of the powered device; Obtaining a preset voltage value corresponding to the powered device; A self-test result of the power supply device is determined according to the second voltage value and the preset voltage value.
8. The power supply control method according to claim 7, characterized in that: Determining a self-test result of the power supply device according to the second voltage value and the preset voltage value includes: Get the preset range; If the difference between the second voltage value and the preset voltage value is not within the preset range, and the second voltage value is less than the preset voltage value, determining that the self-test result of the power supply device is undervoltage; If the difference between the second voltage value and the preset voltage value is not within the preset range, and the second voltage value is greater than the preset voltage value, determining that the self-test result of the power supply device is overvoltage; If the difference between the second voltage value and the preset voltage value is within the preset range, it is determined that the self-test result of the power supply device is normal.
9. The power supply control method according to claim 7, characterized in that: The interface protocol of the powered device is verified, including: Obtaining an interface protocol of the powered device; Determining whether the powered device matches according to the interface protocol standard of the power supply device and the interface protocol of the powered device; If they match, it is determined that the interface protocol verification of the powered device has passed.
10. The power supply control method according to claim 7, characterized in that: The power supply system further includes: a current limiting circuit; the current limiting circuit is connected to the power control module and the controller; after determining the self-test result of the power supply device according to the second voltage value and the preset voltage value, it also includes: Obtaining a current resistance value of the current limiting circuit; Determine a preset current value according to the required voltage value of the powered device and the current resistance value; Get the actual current value of the power supply circuit; An abnormal condition of the power supply device is determined according to the preset current value and the actual current value.
11. The power supply control method according to claim 5, characterized in that: After controlling the power control module to perform power-off processing, the method further includes: Abnormality diagnosis information of the power supply device and / or the power receiving device is output.