Voltage output method, mainboard, voltage output device and computer equipment
By dividing and comparing the CPU voltage and the remote voltage, the target output voltage is determined, which solves the problem of increased operating current caused by abnormal contact between the CPU pin and the motherboard, protects the motherboard, and ensures that the actual operating voltage of the CPU is accurately detected and output.
Patent Information
- Application Number
- CN202211685758.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-12-27
AI Technical Summary
In traditional computer technology, abnormal contact between the CPU pins and the motherboard may cause the operating current to increase, thereby damaging the motherboard.
By dividing the CPU voltage and the remote voltage and comparing them, the target output voltage is determined to avoid an increase in operating current and protect the motherboard.
It effectively avoids the problem of increased operating current due to abnormal contact between the CPU pins and the motherboard, reduces the risk of motherboard damage, and ensures that the actual operating voltage of the CPU is accurately detected and output.
Smart Images

Figure CN116010200B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a voltage output method, a mainboard, a voltage output device and a computer device. Background Art
[0002] With the development of computer technology, integrated circuits have also been greatly developed. The main circuits of the computer can be integrated through integrated circuits. The circuits can be integrated on a smaller motherboard, and the motherboard can be connected to the CPU (central processing unit) through the interface on it.
[0003] In traditional technology, when a computer is working normally, the CPU voltage can be obtained by performing voltage detection on the voltage detection point of the CPU on the motherboard, and the CPU operating current can be determined by the CPU voltage and preset power, so that the CPU always works at the preset power.
[0004] Among them, the CPU is connected to the motherboard with a pin-type interface. When the CPU pins are in normal contact with the motherboard, the actual operating voltage of the CPU can be obtained. However, when the CPU pins are in abnormal contact with the motherboard, the CPU voltage detected at this time is lower than the actual operating voltage of the CPU, which in turn causes the operating current determined by the CPU voltage and preset power to increase. Excessive operating current may cause the motherboard to burn out. Summary of the invention
[0005] Based on this, it is necessary to provide a voltage output method, a mainboard, a voltage output device, a computer device, a computer-readable storage medium and a computer program product that can reduce the risk of mainboard burning in response to the above technical problems.
[0006] In a first aspect, the present application provides a voltage output method. The method comprises:
[0007] Performing voltage detection on a central processing unit CPU to obtain a CPU voltage, a remote voltage and a target remote voltage, wherein the target remote voltage is a voltage obtained by dividing the remote voltage;
[0008] Performing a voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result;
[0009] According to the voltage comparison result, a target output voltage is determined from the remote voltage and the CPU voltage, and the target output voltage is output.
[0010] In the voltage output method provided by the embodiment of the present disclosure, the remote voltage can actually also be used as the actual working voltage of the CPU. Since the target remote voltage obtained after dividing the remote voltage is smaller than the remote voltage and the CPU voltage, the abnormal detection of the CPU voltage can be achieved by comparing the target remote voltage with the CPU voltage, so that a voltage that can correctly represent the actual working voltage of the CPU can be determined and output as the target output voltage from the remote voltage and the CPU voltage according to the comparison result, and then the working current of the CPU is determined according to the target output voltage, thereby avoiding the risk of increasing the working current and burning the motherboard due to abnormal contact between the CPU pins and the motherboard.
[0011] In one embodiment, the mainboard includes a CPU, a multilayer ceramic capacitor MLCC and a voltage divider module, and the voltage detection of the central processing unit CPU to obtain the CPU voltage, the remote voltage and the target remote voltage includes:
[0012] Performing voltage detection on a voltage detection point of the CPU to obtain a CPU voltage;
[0013] Performing voltage detection on the MLCC to obtain a remote voltage;
[0014] The voltage division module performs voltage division processing on the remote voltage to obtain a target remote voltage.
[0015] The voltage output method provided by the embodiment of the present disclosure performs voltage detection on the MLCC to obtain a remote voltage that can always accurately represent the actual working voltage of the CPU, and divides the remote voltage so that the target remote voltage is between the abnormal CPU voltage and the normal CPU voltage, thereby outputting different voltage comparison results when the CPU voltage is in different states, and determining the target output voltage from the remote voltage and the CPU voltage based on the voltage comparison results. According to the above method, the correct CPU voltage can be output, thereby avoiding an increase in the working current and thus avoiding the risk of burning the motherboard.
[0016] In one embodiment, the voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result includes:
[0017] When the CPU voltage is greater than the target remote voltage, a voltage comparison result indicating that the CPU voltage is normal is obtained;
[0018] Alternatively, when the CPU voltage is less than or equal to the target remote voltage, the voltage comparison result indicating that the CPU voltage is abnormal is obtained.
[0019] In the voltage output method provided by the embodiment of the present disclosure, when the CPU voltage is in different states, there are different voltage magnitude relationships between the CPU voltage and the target remote voltage, that is, different voltage comparison results will be output. Then, the voltage comparison result can also represent whether the CPU voltage is abnormal or normal. Therefore, according to the voltage comparison result, a voltage that can correctly represent the actual working voltage of the CPU can be determined and output from the remote voltage and the CPU voltage as the target output voltage, and then the working current of the CPU is determined according to the target output voltage, so as to avoid the risk of increasing the working current and burning the motherboard due to abnormal contact between the CPU pins and the motherboard.
[0020] In one embodiment, determining the target output voltage from the remote voltage and the CPU voltage according to the voltage comparison result includes:
[0021] When the voltage comparison result indicates that the CPU voltage is normal, taking the CPU voltage as the target output voltage;
[0022] Alternatively, when the voltage comparison result indicates that the CPU is abnormal, the remote voltage is used as the target output voltage.
[0023] In the voltage output method provided by the embodiment of the present disclosure, when the CPU voltage is in different states, there are different voltage magnitude relationships between the CPU voltage and the target remote voltage, that is, different voltage comparison results will be output. Then, the voltage comparison result can also represent whether the CPU voltage is abnormal or normal. Therefore, according to the voltage comparison result, a voltage that can correctly represent the actual working voltage of the CPU can be determined and output from the remote voltage and the CPU voltage as the target output voltage, and then the working current of the CPU is determined according to the target output voltage, so as to avoid the risk of increasing the working current and burning the motherboard due to abnormal contact between the CPU pins and the motherboard.
[0024] In a second aspect, the present application further provides a mainboard. The mainboard comprises: a central processing unit (CPU), a voltage comparator and a dual-channel multiplexer, wherein:
[0025] The voltage comparator is used to obtain the CPU voltage of the CPU and the target remote voltage of the CPU, and perform voltage comparison on the target remote voltage and the CPU voltage to obtain a voltage comparison result, and the voltage comparator is also used to output the voltage comparison result to the dual-channel multiplexer;
[0026] The dual multiplexer is used to obtain the CPU voltage and the remote voltage of the CPU, and determine the target output voltage from the remote voltage and the CPU voltage according to the voltage comparison result, and output the target output voltage;
[0027] The target remote voltage is the voltage obtained by dividing the remote voltage.
[0028] In the motherboard provided by the embodiment of the present disclosure, the CPU voltage and the remote voltage are both obtained by performing voltage detection on the CPU on the motherboard, that is, the remote voltage can actually also be used as the actual working voltage of the CPU. Since the target remote voltage obtained after dividing the remote voltage is smaller than the remote voltage and the CPU voltage, the abnormal detection of the CPU voltage can be achieved by comparing the target remote voltage with the CPU voltage, so that a voltage that can correctly represent the actual working voltage of the CPU can be determined and output as the target output voltage from the remote voltage and the CPU voltage according to the comparison result, and then the working current of the CPU is determined according to the target output voltage, thereby avoiding the risk of increasing the working current and burning the motherboard due to abnormal contact between the CPU pins and the motherboard.
[0029] In one embodiment, the mainboard further includes a chip-type multilayer ceramic capacitor MLCC and a voltage divider module; wherein,
[0030] The voltage divider module is connected in parallel with the MLCC, the output end of the voltage divider module is electrically connected to the positive input end of the voltage comparator, the voltage divider module is used to perform voltage division processing on the remote voltage to obtain the target remote voltage, and input the target remote voltage into the voltage comparator;
[0031] The inverting input terminal of the voltage comparator is electrically connected to the voltage detection point of the CPU to obtain the CPU voltage;
[0032] The two-way multiplexer is electrically connected to the voltage detection point of the CPU, the voltage detection point of the MLCC, and the output end of the voltage comparator respectively to receive the CPU voltage, the remote voltage, and the voltage comparison result.
[0033] The motherboard provided by the embodiment of the present disclosure can obtain a remote voltage from the MLCC that can be directly used as the actual working voltage of the CPU. Since the target remote voltage obtained after dividing the remote voltage is smaller than the remote voltage and the CPU voltage, the abnormal detection of the CPU voltage can be achieved by comparing the target remote voltage with the CPU voltage, so that a voltage that can correctly represent the actual working voltage of the CPU can be determined and output as the target output voltage from the remote voltage and the CPU voltage according to the comparison result, and then the working current of the CPU is determined according to the target output voltage, thereby avoiding the risk of increasing the working current and burning the motherboard due to abnormal contact between the CPU pins and the motherboard.
[0034] In one embodiment, the voltage dividing module includes: a first resistance unit and a second resistance unit, wherein the first resistance unit and the second resistance unit each include at least one resistor, wherein:
[0035] The first resistance unit is connected in series with the second resistance unit, and the output end of the voltage divider module is located between the first resistance unit and the second resistance unit.
[0036] In the mainboard provided in the embodiment of the present disclosure, the voltage division module includes a first resistor unit and a second resistor unit, and the voltage division ratio when dividing the remote voltage can be adjusted by adjusting the resistance value of the first resistor unit and the resistance value of the second resistor unit, so that the target remote voltage can be adjusted, which can be applied to various scenarios.
[0037] In a third aspect, the present application also provides a voltage output device. The device comprises:
[0038] A detection module, used for performing voltage detection on a central processing unit CPU to obtain a CPU voltage, a remote voltage and a target remote voltage, wherein the target remote voltage is a voltage obtained by dividing the remote voltage;
[0039] A comparison module, used for performing a voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result;
[0040] A determination module is used to determine a target output voltage from the remote voltage and the CPU voltage according to the voltage comparison result, and output the target output voltage.
[0041] In one embodiment, the mainboard includes a CPU, a chip-type multilayer ceramic capacitor MLCC and a voltage divider module, and the detection module is further used for:
[0042] Performing voltage detection on a voltage detection point of the CPU to obtain a CPU voltage;
[0043] Performing voltage detection on the MLCC to obtain a remote voltage;
[0044] The voltage division module performs voltage division processing on the remote voltage to obtain a target remote voltage.
[0045] In one embodiment, the comparison module is further configured to:
[0046] When the CPU voltage is greater than the target remote voltage, a voltage comparison result indicating that the CPU voltage is normal is obtained;
[0047] Alternatively, when the CPU voltage is less than or equal to the target remote voltage, the voltage comparison result indicating that the CPU voltage is abnormal is obtained.
[0048] In one embodiment, the determining module is further configured to:
[0049] When the voltage comparison result indicates that the CPU voltage is normal, taking the CPU voltage as the target output voltage;
[0050] Alternatively, when the voltage comparison result indicates that the CPU is abnormal, the remote voltage is used as the target output voltage.
[0051] In a fourth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0052] Performing voltage detection on a central processing unit CPU to obtain a CPU voltage, a remote voltage and a target remote voltage, wherein the target remote voltage is a voltage obtained by dividing the remote voltage;
[0053] Performing a voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result;
[0054] According to the voltage comparison result, a target output voltage is determined from the remote voltage and the CPU voltage, and the target output voltage is output.
[0055] In a fifth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0056] Performing voltage detection on a central processing unit CPU to obtain a CPU voltage, a remote voltage and a target remote voltage, wherein the target remote voltage is a voltage obtained by dividing the remote voltage;
[0057] Performing a voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result;
[0058] According to the voltage comparison result, a target output voltage is determined from the remote voltage and the CPU voltage, and the target output voltage is output.
[0059] In a sixth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0060] Performing voltage detection on a central processing unit CPU to obtain a CPU voltage, a remote voltage and a target remote voltage, wherein the target remote voltage is a voltage obtained by dividing the remote voltage;
[0061] Performing a voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result;
[0062] According to the voltage comparison result, a target output voltage is determined from the remote voltage and the CPU voltage, and the target output voltage is output.
[0063] The voltage output method, mainboard, voltage output device, computer equipment, storage medium and computer program product perform voltage detection on the central processing unit CPU to obtain the CPU voltage, remote voltage and target remote voltage, wherein the target remote voltage is the voltage after the remote voltage is divided, and perform voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result. According to the voltage comparison result, the target output voltage is determined from the remote voltage and the CPU voltage, and the target output voltage is output. Based on the above-mentioned voltage output method, motherboard, voltage output device, computer equipment, storage medium and computer program product, the CPU voltage and remote voltage are both obtained by voltage detection of the CPU on the motherboard, that is, the remote voltage can actually also be used as the actual working voltage of the CPU. Since the target remote voltage obtained after dividing the remote voltage is smaller than the remote voltage and the CPU voltage, the abnormal detection of the CPU voltage can be achieved by comparing the target remote voltage with the CPU voltage, so that a voltage that can correctly represent the actual working voltage of the CPU can be determined and output as the target output voltage from the remote voltage and the CPU voltage according to the comparison result, and then the working current of the CPU is determined according to the target output voltage, so as to avoid the risk of increasing the working current and burning the motherboard due to abnormal contact between the CPU pins and the motherboard. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 is a schematic flow chart of a voltage output method in one embodiment;
[0065] Figure 2 is a schematic flow chart of a voltage output method in another embodiment;
[0066] Figure 3 A schematic diagram of the structure of a mainboard in one embodiment;
[0067] Figure 4 is a structural block diagram of a voltage output device in one embodiment;
[0068] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0069] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0070] In one embodiment, Figure 1 As shown, a voltage output method is provided. This embodiment uses the method applied to a terminal as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0071] Step 102 , performing voltage detection on the central processing unit CPU to obtain the CPU voltage, the remote voltage and the target remote voltage, wherein the target remote voltage is the voltage after the remote voltage is divided.
[0072] In an embodiment of the present application, the CPU is connected to the mainboard via a pin-type interface, wherein a plurality of pins are provided on the CPU, and correspondingly, corresponding slots are provided on the mainboard. The CPU can be connected to the mainboard by inserting the CPU pins into the mainboard slots.
[0073] By performing voltage detection on the CPU on the motherboard, the CPU voltage and remote voltage can be obtained, and the remote voltage is divided to obtain the target remote voltage, wherein the actual working voltage of the CPU is transmitted to the CPU voltage detection point on the motherboard through the CPU pins and the motherboard slot, and the CPU voltage is obtained by performing voltage detection on the CPU voltage detection point on the motherboard. The contact between the CPU pins and the motherboard slot will affect the size of the detected CPU voltage, and the remote voltage is obtained by directly performing voltage detection on the MLCC (Multi-layer Ceramic Capacitors) in parallel with the CPU, which is not affected by the contact between the CPU pins and the motherboard slot.
[0074] In the embodiment of the present application, when the remote voltage is divided, by adjusting the voltage division ratio, the target remote voltage can be made smaller than the normal CPU voltage, and the target remote voltage can be greater than the abnormal CPU voltage. For example, if the normal CPU voltage is 1V and the abnormal CPU voltage is 0.8V, then the remote voltage is also 1V, and the target remote voltage can be made 0.9V by voltage division.
[0075] Step 104 , performing a voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result.
[0076] In an embodiment of the present application, a voltage comparison can be performed between the target remote voltage and the CPU voltage to obtain a voltage comparison result. By way of example, still taking the above example, a voltage comparator can be used to compare the target remote voltage and the CPU voltage. When the CPU voltage is normal, the CPU voltage is greater than the target remote voltage, and the voltage comparator outputs a low level. When the CPU voltage is abnormal, the CPU voltage is less than the target remote voltage, and the voltage comparator outputs a high level.
[0077] Step 106, determining a target output voltage from the remote voltage and the CPU voltage according to the voltage comparison result, and outputting the target output voltage.
[0078] In the embodiment of the present application, when the CPU voltage is normal or abnormal, different voltage comparison results will correspond respectively. Therefore, it is possible to determine whether the CPU voltage is abnormal based on the voltage comparison result, and based on the above CPU voltage judgment result, the remote voltage or the CPU voltage is output as the target output voltage.
[0079] Exemplarily, still taking the above example, if the voltage comparator outputs a low level and the CPU voltage is normal, the CPU voltage is used as the target output voltage; if the voltage comparator outputs a high level and the CPU voltage is abnormal, the remote voltage is used as the target output voltage.
[0080] In the above voltage output method, the CPU voltage and the remote voltage are both obtained by voltage detection of the CPU on the motherboard, that is, the remote voltage can actually also be used as the actual working voltage of the CPU. Since the target remote voltage obtained after dividing the remote voltage is smaller than the remote voltage and the CPU voltage, the abnormal detection of the CPU voltage can be achieved by comparing the target remote voltage with the CPU voltage, so that a voltage that can correctly represent the actual working voltage of the CPU can be determined and output as the target output voltage from the remote voltage and the CPU voltage according to the comparison result, and then the working current of the CPU is determined according to the target output voltage, so as to avoid the risk of increasing the working current and burning the motherboard due to abnormal contact between the CPU pins and the motherboard.
[0081] Secondly, due to the impedance of the lines and devices in the circuit, the remote voltage will also be reduced to a certain extent during the transmission process. Compared with directly using the remote voltage as the target output voltage, this method uses the CPU voltage as the target output voltage when the CPU voltage is normal, and can output a more accurate actual CPU working voltage.
[0082] In one embodiment, Figure 2As shown, the mainboard includes a CPU, a multilayer ceramic capacitor MLCC and a voltage divider module. In step 102, the voltage detection of the central processing unit CPU is performed to obtain the CPU voltage, the remote voltage and the target remote voltage, including:
[0083] Step 202, performing voltage detection on a voltage detection point of the CPU to obtain the CPU voltage.
[0084] In the embodiment of the present application, the actual working voltage of the CPU will be transmitted to the voltage detection point of the CPU located on the motherboard through the CPU pins and the motherboard slot, so the voltage detection point of the CPU can be tested to obtain the CPU voltage.
[0085] Since the transmission of the actual working voltage of the CPU depends on the contact between the CPU pins and the motherboard, when the CPU pins are not in uniform contact, the CPU voltage detected at the voltage detection point will be much lower than the actual working voltage of the CPU. For example, if the actual working voltage of the CPU is 1V, when the CPU voltage is normal, the CPU voltage should also be 1V, and when the CPU pins are in abnormal contact, the CPU voltage is 0.8V.
[0086] Step 204: perform voltage detection on the MLCC to obtain a remote voltage.
[0087] In the embodiment of the present application, the MLCC is located on the back of the mainboard and is connected to the CPU. As a capacitor, the voltage on the MLCC can be equivalent to the actual working voltage of the CPU, so the voltage of the MLCC can be detected to obtain the remote voltage.
[0088] Step 206: divide the remote voltage by a voltage divider module to obtain a target remote voltage.
[0089] In an embodiment of the present application, after obtaining the remote voltage, the remote voltage can be divided according to a preset voltage division ratio by a voltage division module to obtain a target remote voltage, wherein the voltage division ratio of the remote voltage by the voltage division module can be set by the staff, for example: 10% of the voltage can be divided out of the remote voltage by the voltage division module, that is, the target remote voltage is 90% of the remote voltage.
[0090] It should be noted that the voltage division ratio described in this embodiment is only an example in this application. This application does not specifically limit the specific numerical value of the voltage division ratio. In actual application, it is sufficient as long as the target remote voltage can be greater than the abnormal CPU voltage and the target remote voltage is less than the normal CPU voltage.
[0091] In this embodiment, by performing voltage detection on the MLCC, a remote voltage that can always accurately represent the actual operating voltage of the CPU is obtained, and by dividing the remote voltage, the target remote voltage is located between the abnormal CPU voltage and the normal CPU voltage, and then when the CPU voltage is in different states, different voltage comparison results are output, and according to the voltage comparison results, the target output voltage is determined from the remote voltage and the CPU voltage. According to the above method, the correct CPU voltage can be output, thereby avoiding an increase in the operating current and thus avoiding the phenomenon of burning the motherboard.
[0092] In one embodiment, step 104, performing a voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result includes:
[0093] When the CPU voltage is greater than the target remote voltage, a voltage comparison result indicating that the CPU voltage is normal is obtained.
[0094] Alternatively, when the CPU voltage is less than or equal to the target remote voltage, a voltage comparison result indicating that the CPU voltage is abnormal is obtained.
[0095] In an embodiment of the present application, when the CPU voltage is greater than the target remote voltage, the obtained voltage comparison result can indicate that the CPU voltage is normal. For example, still taking the above example, when the CPU voltage is greater than the target remote voltage, the voltage comparator will output a low level, and at this time the low level indicates that the CPU voltage is normal.
[0096] In an embodiment of the present application, when the CPU voltage is less than or equal to the target remote voltage, the obtained voltage comparison result can represent that the CPU voltage is abnormal. For example, still taking the above example, when the CPU voltage is less than or equal to the target remote voltage, the voltage comparator will output a high level, and at this time the high level represents that the CPU voltage is abnormal.
[0097] In this embodiment, when the CPU voltage is in different states, there are different voltage magnitude relationships between the CPU voltage and the target remote voltage, that is, different voltage comparison results will be output. Then, the voltage comparison result can also represent whether the CPU voltage is abnormal or normal. Therefore, according to the voltage comparison result, a voltage that can correctly represent the actual working voltage of the CPU can be determined and output from the remote voltage and the CPU voltage as the target output voltage, and then the working current of the CPU is determined according to the target output voltage, thereby avoiding the risk of increasing the working current when the CPU pins are in abnormal contact with the motherboard, thereby burning the motherboard.
[0098] In one embodiment, in step 106, determining the target output voltage from the remote voltage and the CPU voltage according to the voltage comparison result includes:
[0099] When the voltage comparison result indicates that the CPU voltage is normal, the CPU voltage is used as the target output voltage.
[0100] Alternatively, when the voltage comparison result indicates that the CPU is abnormal, the remote voltage is used as the target output voltage.
[0101] In an embodiment of the present application, when the voltage comparison result indicates that the CPU voltage is normal, at this time, the CPU voltage is consistent with the actual operating voltage of the CPU, and the CPU voltage can be used as the target output voltage; when the voltage comparison result indicates that the CPU voltage is abnormal, at this time, the CPU voltage is less than the actual operating voltage of the CPU, and the remote voltage can approximately represent the actual operating voltage of the CPU, so the remote voltage is used as the target output voltage.
[0102] For example, still taking the above example, taking the voltage comparison result as a low level or a high level, the CPU voltage is 1V when normal, the CPU voltage is 0.8V when abnormal, the remote voltage is 1V, and the target remote voltage is 0.9V as an example, when the CPU voltage is greater than the target remote voltage, the voltage comparator outputs a low level. At this time, the low level indicates that the CPU voltage is normal, so the CPU voltage is set to the target output voltage, and the target output voltage is 1V; when the CPU voltage is less than the target remote voltage, the voltage comparator outputs a high level. At this time, the high level indicates that the CPU voltage is abnormal, so the remote voltage is set to the target output voltage, and the target output voltage is 1V.
[0103] In this embodiment, when the CPU voltage is in different states, there are different voltage magnitude relationships between the CPU voltage and the target remote voltage, that is, different voltage comparison results will be output. Then, the voltage comparison result can also represent whether the CPU voltage is abnormal or normal. Therefore, according to the voltage comparison result, a voltage that can correctly represent the actual working voltage of the CPU can be determined and output from the remote voltage and the CPU voltage as the target output voltage, and then the working current of the CPU is determined according to the target output voltage, thereby avoiding the risk of increasing the working current when the CPU pins are in abnormal contact with the motherboard, thereby burning the motherboard.
[0104] In one embodiment, referring to Figure 3 As shown, a mainboard 300 is provided, the mainboard comprising: a central processing unit CPU, a voltage comparator 302 and a dual multiplexer 304, wherein:
[0105] The voltage comparator 302 is used to obtain the CPU voltage of the CPU and the target remote voltage of the CPU, and to perform voltage comparison on the target remote voltage and the CPU voltage to obtain a voltage comparison result. The voltage comparator 302 is also used to output the voltage comparison result to the dual-channel multiplexer 304;
[0106] The dual multiplexer 304 is used to obtain the CPU voltage and the remote voltage of the CPU, and determine the target output voltage from the remote voltage and the CPU voltage according to the voltage comparison result, and output the target output voltage;
[0107] The target remote voltage is the voltage after the remote voltage is divided.
[0108] In an embodiment of the present application, the CPU voltage and the target remote voltage can be respectively input into the voltage comparator 302, and the voltage comparator 302 compares the CPU voltage and the target remote voltage, and sends the voltage comparison result to the dual-channel multiplexer 304, wherein when the CPU voltage is greater than the target remote voltage, the voltage comparator 302 can output a low level, at which time the low level indicates that the CPU voltage is normal; when the CPU voltage is less than the target remote voltage, the voltage comparator 302 can output a high level, at which time the high level indicates that the CPU voltage is abnormal, that is, the voltage comparison result can be used to indicate whether the CPU voltage is normal or abnormal.
[0109] The dual-channel multiplexer 304 obtains the CPU voltage and the remote voltage, and outputs the remote voltage or the CPU voltage as the target output voltage according to the received voltage comparison result.
[0110] In the embodiment of the present application, the CPU voltage and the remote voltage are both obtained by performing voltage detection on the CPU on the mainboard, that is, the remote voltage can actually also be used as the actual working voltage of the CPU. Since the target remote voltage obtained after dividing the remote voltage is smaller than the remote voltage and the CPU voltage, the abnormal detection of the CPU voltage can be achieved by comparing the target remote voltage with the CPU voltage, so that a voltage that can correctly represent the actual working voltage of the CPU can be determined and output as the target output voltage from the remote voltage and the CPU voltage according to the comparison result, and then the working current of the CPU is determined according to the target output voltage, thereby avoiding the risk of increasing the working current and burning the mainboard due to abnormal contact between the CPU pins and the mainboard.
[0111] In one example, the mainboard further includes a chip-type multilayer ceramic capacitor MLCC and a voltage divider module 306; wherein,
[0112] The voltage divider module 306 is connected in parallel with the MLCC, and the output end of the voltage divider module 306 is electrically connected to the positive input end of the voltage comparator 302. The voltage divider module 306 is used to divide the remote voltage to obtain the target remote voltage, and input the target remote voltage into the voltage comparator 302;
[0113] The inverting input terminal of the voltage comparator 302 is electrically connected to the voltage detection point of the CPU to obtain the CPU voltage;
[0114] The dual-channel multiplexer 304 is electrically connected to the voltage detection point of the CPU, the voltage detection point of the MLCC, and the output end of the voltage comparator 302 respectively to receive the CPU voltage, the remote voltage, and the voltage comparison result.
[0115] In the embodiment of the present application, the voltage at the MLCC is the remote voltage of the CPU, and the voltage divider module 306 is connected in parallel with the MLCC. At this time, the voltage on the MLCC is the voltage of the voltage divider module 306. The voltage divider module 306 can divide the remote voltage to obtain the target remote voltage, which can be sequentially input into the voltage comparator 302 through the output end of the voltage divider module 306 and the positive input end of the voltage comparator 302. The inverting input end of the voltage comparator 302 is connected to the voltage detection point of the CPU to obtain the CPU voltage.
[0116] The voltage dividing module 306 may be adjusted so that the target remote voltage is between the abnormal CPU voltage and the normal CPU voltage.
[0117] The voltage comparator 302 can perform a voltage comparison between the target remote voltage and the CPU voltage, and output a voltage comparison result, wherein the voltage comparison result output by the voltage comparator 302 includes a high level or a low level, a high level indicates that the target remote voltage is greater than the CPU voltage, and a low level indicates that the target remote voltage is less than the CPU voltage. Since the target remote voltage is greater than the abnormal CPU voltage, and the target remote voltage is less than the normal CPU voltage, the voltage comparison result (low level or high level) can respectively indicate whether the CPU voltage is normal or abnormal.
[0118] The output end of the voltage comparator 302 is connected to the dual-way multiplexer 304, and the dual-way multiplexer 304 is also connected to the voltage detection point of the CPU and the voltage detection point of the MLCC, wherein the dual-way multiplexer 304 is used to receive the CPU voltage, the remote voltage and the voltage comparison result, and determine the target output voltage from the remote voltage and the CPU voltage according to the voltage comparison result, and output the target output voltage.
[0119] In this embodiment, the CPU voltage and the remote voltage are both obtained by performing voltage detection on the CPU on the mainboard, that is, the remote voltage can actually also be used as the actual working voltage of the CPU. Since the target remote voltage obtained after dividing the remote voltage is smaller than the remote voltage and the CPU voltage, the abnormal detection of the CPU voltage can be achieved by comparing the target remote voltage with the CPU voltage, so that a voltage that can correctly represent the actual working voltage of the CPU can be determined and output as the target output voltage from the remote voltage and the CPU voltage according to the comparison result, and then the working current of the CPU is determined according to the target output voltage, so as to avoid the risk of increasing the working current and burning the mainboard due to abnormal contact between the CPU pins and the mainboard.
[0120] In one embodiment, referring to Figure 3 As shown, the voltage dividing module 306 includes: a first resistance unit 3062 and a second resistance unit 3064, and the first resistance unit 3062 and the second resistance unit 3064 each include at least one resistor, wherein:
[0121] The first resistance unit 3062 and the second resistance unit 3064 are connected in series, and the output end of the voltage divider module 306 is located between the first resistance unit 3062 and the second resistance unit 3064 .
[0122] In the embodiment of the present application, the voltage divider module 306 also includes a first resistance unit 3062 and a second resistance unit 3064. The voltage divider ratio of the remote voltage can be adjusted by setting the first resistance value of the first resistance unit 3062 and the second resistance value of the second resistance unit 3064, wherein the voltage divider ratio is the ratio of the target remote voltage to the remote voltage, that is, the voltage divider ratio = first resistance value / (first resistance value+second resistance value).
[0123] For example, taking the voltage division ratio as 90% and the remote voltage as 1V, the first resistance value can be set to 9Ω, the second resistance value can be set to 1Ω, and the target remote voltage obtained by voltage division is 0.9V.
[0124] In an embodiment of the present application, the voltage divider module includes a first resistor unit and a second resistor unit, and the voltage division ratio when dividing the remote voltage can be adjusted by adjusting the resistance value of the first resistor unit and the resistance value of the second resistor unit, thereby achieving adjustable target remote voltage, which can be applied to a variety of scenarios.
[0125] In a specific embodiment, the voltage output circuit refers to Figure 3 As shown, the first resistance unit 3062 includes a first resistor R1, and the second resistance unit 3064 includes a second resistor R2, R1=9Ω, R2=1Ω, and taking the actual working voltage of the CPU as 1V, the CPU voltage is 1V when normal, the CPU voltage is 0.8V when abnormal, and the remote voltage is 1V as an example, the resistors R1 and R2 can divide the remote voltage to obtain a target remote voltage of 0.9V.
[0126] The voltage comparator 302 can compare the target remote voltage and the CPU voltage. When the CPU voltage is greater than the target remote voltage, the voltage comparator 302 will output a low level. At this time, the dual-way multiplexer 304 receives the low level, which indicates that the CPU voltage is normal, and the CPU voltage is used as the target output voltage, and the target output voltage is 1V; when the CPU voltage is less than the target remote voltage, the voltage comparator 302 will output a high level. At this time, the dual-way multiplexer 304 receives the high level, which indicates that the CPU voltage is abnormal, and the remote voltage is used as the target output voltage, and the target output voltage is 1V.
[0127] In the above voltage output process, no matter whether the CPU voltage is normal or not, the voltage output circuit can output the correct CPU voltage.
[0128] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0129] Based on the same inventive concept, the embodiment of the present application also provides a voltage output device for implementing the voltage output method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more voltage output device embodiments provided below can refer to the limitations on the voltage output method above, and will not be repeated here.
[0130] In one embodiment, Figure 4 As shown, a voltage output device 400 is provided, comprising: a detection module 402, a comparison module 404 and a determination module 406, wherein:
[0131] The detection module 402 is used to perform voltage detection on the central processing unit CPU to obtain the CPU voltage, the remote voltage and the target remote voltage, wherein the target remote voltage is the voltage after the remote voltage is divided;
[0132] A comparison module 404 is used to compare the target remote voltage with the CPU voltage to obtain a voltage comparison result;
[0133] The determination module 406 is used to determine the target output voltage from the remote voltage and the CPU voltage according to the voltage comparison result, and output the target output voltage.
[0134] In the embodiment of the present application, the CPU voltage and the remote voltage are both obtained by performing voltage detection on the CPU on the mainboard, that is, the remote voltage can actually also be used as the actual working voltage of the CPU. Since the target remote voltage obtained after dividing the remote voltage is smaller than the remote voltage and the CPU voltage, the abnormal detection of the CPU voltage can be achieved by comparing the target remote voltage with the CPU voltage, so that a voltage that can correctly represent the actual working voltage of the CPU can be determined and output as the target output voltage from the remote voltage and the CPU voltage according to the comparison result, and then the working current of the CPU is determined according to the target output voltage, thereby avoiding the risk of increasing the working current and burning the mainboard due to abnormal contact between the CPU pins and the mainboard.
[0135] In one embodiment, the mainboard includes a CPU, a multi-layer ceramic capacitor MLCC and a voltage divider module, and the detection module 402 is further used for:
[0136] Perform voltage detection on the voltage detection point of the CPU to obtain the CPU voltage;
[0137] Perform voltage detection on MLCC to obtain remote voltage;
[0138] The remote voltage is divided by the voltage divider module to obtain the target remote voltage.
[0139] In one embodiment, the comparison module 404 is further configured to:
[0140] When the CPU voltage is greater than the target remote voltage, a voltage comparison result indicating that the CPU voltage is normal is obtained;
[0141] Alternatively, when the CPU voltage is less than or equal to the target remote voltage, a voltage comparison result indicating that the CPU voltage is abnormal is obtained.
[0142] In one embodiment, the determining module 406 is further configured to:
[0143] When the voltage comparison result indicates that the CPU voltage is normal, the CPU voltage is used as the target output voltage;
[0144] Alternatively, when the voltage comparison result indicates that the CPU is abnormal, the remote voltage is used as the target output voltage.
[0145] Each module in the above voltage output device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0146] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a voltage output method is implemented.
[0147] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0148] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0149] Perform voltage detection on the central processing unit CPU to obtain CPU voltage, remote voltage and target remote voltage, wherein the target remote voltage is the voltage after the remote voltage is divided;
[0150] Perform voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result;
[0151] According to the voltage comparison result, a target output voltage is determined from the remote voltage and the CPU voltage, and the target output voltage is output.
[0152] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0153] Perform voltage detection on the central processing unit CPU to obtain CPU voltage, remote voltage and target remote voltage, wherein the target remote voltage is the voltage after the remote voltage is divided;
[0154] Perform voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result;
[0155] According to the voltage comparison result, a target output voltage is determined from the remote voltage and the CPU voltage, and the target output voltage is output.
[0156] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0157] Perform voltage detection on the central processing unit CPU to obtain CPU voltage, remote voltage and target remote voltage, wherein the target remote voltage is the voltage after the remote voltage is divided;
[0158] Perform voltage comparison between the target remote voltage and the CPU voltage to obtain a voltage comparison result;
[0159] According to the voltage comparison result, a target output voltage is determined from the remote voltage and the CPU voltage, and the target output voltage is output.
[0160] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0161] Those skilled in the art can understand that all or part of the pressure process in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the process of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric random access memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0162] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0163] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A voltage output method, applied to a mainboard, characterized in that: The method comprises: Performing voltage detection on a central processing unit CPU to obtain a CPU voltage, a remote voltage and a target remote voltage, wherein the target remote voltage is a voltage obtained by dividing the remote voltage, the target remote voltage is less than a normal CPU voltage, and the target remote voltage is greater than an abnormal CPU voltage; The target remote voltage and the CPU voltage are compared by a voltage comparator to obtain a voltage comparison result; wherein, when the CPU voltage is greater than the target remote voltage, the voltage comparator outputs a low level, and the low level is a voltage comparison result indicating that the CPU voltage is normal; when the CPU voltage is less than or equal to the target remote voltage, the voltage comparator outputs a high level, and the high level is a voltage comparison result indicating that the CPU voltage is abnormal; When the voltage comparison result indicates that the CPU voltage is normal, outputting the CPU voltage; or, When the voltage comparison result indicates that the CPU is abnormal, the remote voltage is output.
2. The method according to claim 1, characterized in that The mainboard includes a CPU, a multi-layer ceramic capacitor MLCC and a voltage divider module. The voltage detection of the central processing unit CPU is performed to obtain the CPU voltage, the remote voltage and the target remote voltage, including: Performing voltage detection on a voltage detection point of the CPU to obtain a CPU voltage; Performing voltage detection on the MLCC to obtain a remote voltage; The voltage division module performs voltage division processing on the remote voltage to obtain a target remote voltage.
3. A motherboard, characterized in that: The mainboard includes: a central processing unit CPU, a voltage comparator and a dual-channel multiplexer, wherein: The voltage comparator is used to obtain the CPU voltage of the CPU and the target remote voltage of the CPU, and perform voltage comparison on the target remote voltage and the CPU voltage to obtain a voltage comparison result, and the voltage comparator is also used to output the voltage comparison result to the two-way multiplexer; wherein, when the CPU voltage is greater than the target remote voltage, the voltage comparator outputs a low level, and the low level is a voltage comparison result indicating that the CPU voltage is normal; when the CPU voltage is less than or equal to the target remote voltage, the voltage comparator outputs a high level, and the high level is a voltage comparison result indicating that the CPU voltage is abnormal; The dual multiplexer is used to obtain the CPU voltage and the remote voltage of the CPU, and output the CPU voltage when the voltage comparison result indicates that the CPU voltage is normal; or output the remote voltage when the voltage comparison result indicates that the CPU is abnormal; The target remote voltage is a voltage obtained by dividing the remote voltage, the target remote voltage is lower than a normal CPU voltage, and the target remote voltage is higher than an abnormal CPU voltage.
4. The mainboard according to claim 3, characterized in that: The mainboard also includes a chip-type multilayer ceramic capacitor MLCC and a voltage divider module; wherein, The voltage divider module is connected in parallel with the MLCC, the output end of the voltage divider module is electrically connected to the positive input end of the voltage comparator, the voltage divider module is used to perform voltage division processing on the remote voltage to obtain the target remote voltage, and input the target remote voltage into the voltage comparator; The inverting input terminal of the voltage comparator is electrically connected to the voltage detection point of the CPU to obtain the CPU voltage; The two-way multiplexer is electrically connected to the voltage detection point of the CPU, the voltage detection point of the MLCC, and the output end of the voltage comparator respectively to receive the CPU voltage, the remote voltage, and the voltage comparison result.
5. The mainboard according to claim 4, characterized in that: The voltage dividing module includes: a first resistance unit and a second resistance unit, wherein the first resistance unit and the second resistance unit each include at least one resistor, wherein: The first resistance unit is connected in series with the second resistance unit, and the output end of the voltage divider module is located between the first resistance unit and the second resistance unit.
6. A voltage output device, characterized in that: The device comprises: A detection module, used for performing voltage detection on a central processing unit CPU to obtain a CPU voltage, a remote voltage and a target remote voltage, wherein the target remote voltage is a voltage obtained by dividing the remote voltage; A comparison module, configured to perform a voltage comparison between the target remote voltage and the CPU voltage through a voltage comparator to obtain a voltage comparison result; wherein, when the CPU voltage is greater than the target remote voltage, the voltage comparator outputs a low level, and the low level is a voltage comparison result indicating that the CPU voltage is normal; and when the CPU voltage is less than or equal to the target remote voltage, the voltage comparator outputs a high level, and the high level is a voltage comparison result indicating that the CPU voltage is abnormal; The determination module is used to output the CPU voltage when the voltage comparison result indicates that the CPU voltage is normal; or output the remote voltage when the voltage comparison result indicates that the CPU is abnormal.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to claim 1 or 2 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 or 2 are implemented.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to claim 1 or 2 are implemented.
