Method, system and medium for compatibility of multi-voltage adapter based on feiteng D3000
By employing a voltage regulation method based on detection and logic decision-making, the multi-voltage adaptation problem of the Phytium D3000 platform power management architecture was solved, achieving compatibility and safety of multi-voltage adapters and improving product reliability and stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-29
- Publication Date
- 2026-03-24
AI Technical Summary
In the existing technology, the power management architecture of the Phytium D3000 platform lacks a multi-voltage adaptive mechanism, which leads to the problem of damage to the power module or motherboard when an adapter with different voltage is mistakenly plugged in. In addition, it lacks adaptability to complex operating conditions, affecting compatibility, safety and energy efficiency.
By detecting the adapter input voltage, a switch control signal is generated based on a preset voltage threshold comparison logic. The corresponding power path is selected, and the output voltage is adjusted in real time and a redundancy protection mechanism is triggered through voltage regulation logic and confidence setting logic to ensure voltage stability and safety.
It achieves compatibility with multiple voltage adapters, improves product reliability and safety, avoids hardware damage, and dynamically optimizes voltage adjustment to adapt to complex operating conditions.
Smart Images

Figure CN120743074B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of power supply control, more particularly, to a compatible method, system and medium for a multi-voltage adapter based on FT D3000. BACKGROUND
[0002] As an important hardware carrier of domestic CPUs, the power management architecture of FT (FengTeng) D3000 platform directly affects the stability and compatibility of the system. In the prior art, the power input of the FT D3000 motherboard adopts a fixed voltage adaptation mode, that is, after the adapter is directly connected to the motherboard through the power seat, the internal power conversion module (such as a DC-DC step-down circuit) generates voltages required by chips such as 3.3V, 5V and 1.2V. In actual application, the input voltage is usually 12V, 19V or 24V, but the motherboard only supports a single voltage input. For example, if the motherboard is designed for 12V input, it cannot be compatible with 19V or 24V adapters, and vice versa. The core problem of this architecture is the lack of a multi-voltage self-adaptive mechanism, which leads to the problem of damage to the power module or the motherboard caused by mistakenly plugging adapters of different voltages.
[0003] In addition, the prior art lacks adaptability to complex working conditions. For example, the output voltage may drift due to component aging after long-term use of the adapter, but the traditional scheme cannot dynamically adjust the voltage judgment threshold, further exacerbating the compatibility problem. Therefore, the power architecture based on the FT D3000 platform has significant problems in compatibility, safety and energy efficiency, and there is an urgent need for a solution that can support multi-voltage adaptive input, integrate intelligent protection and dynamic optimization. SUMMARY
[0004] In view of the above problems, the purpose of the present application is to provide a compatible method, system and medium for a multi-voltage adapter based on FT D3000. First, based on the detection and logical decision of the input voltage, the corresponding input power path is selected by driving the power switch module through the switch control signal; then, based on feedback identification and dynamic adjustment, the output voltage is adjusted in real time to ensure its stability; finally, based on the confidence setting logic, the output voltage stability is used to adjust the voltage regulation parameter or trigger the redundant protection mechanism in real time, forming multiple protections to avoid hardware damage; thereby improving the compatibility, reliability and safety of the product.
[0005] The first aspect of the present application provides a compatible method for a multi-voltage adapter based on FT D3000, the method comprising:
[0006] detecting a direct current voltage input by the adapter to obtain first voltage information;
[0007] generating a first switch control signal based on a preset voltage threshold comparison logic according to the first voltage information;
[0008] determining whether the first switch control signal is a first power-on signal;
[0009] if yes, turning on the first power supply, obtaining second voltage information according to the first voltage information;
[0010] if no, turning on the second power supply, configuring a first voltage regulation parameter of the voltage regulation module based on preset voltage regulation logic, and obtaining second voltage information according to the first voltage information;
[0011] obtaining first confidence information according to the second voltage information based on preset confidence setting logic;
[0012] determining whether the first confidence information exceeds a preset first confidence threshold;
[0013] if yes, adjusting the first voltage regulation parameter or triggering a redundancy protection mechanism.
[0014] In the scheme, the first switch control signal is generated according to the first voltage information based on preset voltage threshold comparison logic, specifically:
[0015] determining whether the first voltage information is within a preset first voltage threshold range;
[0016] if yes, generating the first switch control signal according to a first power-on signal;
[0017] if no, determining whether the first voltage information is within a preset second voltage threshold range;
[0018] if yes, generating the first switch control signal according to a second power-on signal and setting to enter a first voltage regulation mode;
[0019] if no, generating the first switch control signal according to a third power-on signal and setting to enter a second voltage regulation mode.
[0020] In the scheme, the first voltage regulation parameter of the voltage regulation module is configured according to the first voltage information based on preset voltage regulation logic, and the second voltage information is obtained, specifically:
[0021] determining whether to enter the first voltage regulation mode;
[0022] if yes, setting the first voltage regulation parameter according to a preset first voltage regulation reference value;
[0023] if no, querying a historical voltage regulation parameter to set the first voltage regulation parameter;
[0024] configuring the voltage regulation module according to the first voltage regulation parameter to obtain the second voltage information.
[0025] In this scheme, further comprising:
[0026] Calculate the difference between the second voltage information and the preset target voltage information, and obtain the first deviation information;
[0027] Based on the preset feedback adjustment algorithm, the first voltage information is updated according to the first deviation information;
[0028] According to the first voltage regulating parameter, the voltage regulating module is configured, and the second voltage information is updated;
[0029] Record and store the first voltage information and the first voltage regulating parameter.
[0030] In this scheme, the first confidence information is obtained according to the second voltage information based on the preset confidence setting logic, specifically:
[0031] According to the second voltage information, a voltage curve is obtained;
[0032] According to the voltage curve, the fluctuation amplitude of the second voltage information in the steady state stage is obtained;
[0033] Based on the preset fluctuation interval, the first confidence information is updated according to the fluctuation amplitude.
[0034] In this scheme, further comprising:
[0035] When the redundancy protection mechanism is triggered;
[0036] According to the voltage curve, the fluctuation amplitude and the first voltage regulating parameter, an abnormal log is generated and stored.
[0037] The second aspect of the application provides a compatible system of a multiple voltage adapter based on Feiteng D3000, which comprises a compatible method program of the multiple voltage adapter based on Feiteng D3000.
[0038] Detect the direct current voltage input by the adapter to obtain first voltage information;
[0039] Based on the preset voltage threshold comparison logic, the first switch control signal is generated according to the first voltage information;
[0040] Determine whether the first switch control signal is a first power connection signal;
[0041] If yes, the first power supply is turned on, and the second voltage information is obtained according to the first voltage information;
[0042] If not, the second power supply is turned on, the first voltage regulation parameter of the voltage regulation module is configured based on preset voltage regulation logic, and second voltage information is obtained according to the first voltage information;
[0043] The first confidence information is obtained according to the second voltage information based on preset confidence setting logic.
[0044] It is judged whether the first confidence information exceeds a preset first confidence threshold.
[0045] If yes, the first voltage regulation parameter is adjusted or a redundancy protection mechanism is triggered.
[0046] In the scheme, the first switch control signal is generated according to the first voltage information based on preset voltage threshold comparison logic, specifically:
[0047] It is judged whether the first voltage information is within a preset first voltage threshold range.
[0048] If yes, the first switch control signal is generated according to the first power supply connection signal.
[0049] If not, it is judged whether the first voltage information is within a preset second voltage threshold range.
[0050] If yes, the first switch control signal is generated according to the second power supply connection signal, and the first voltage regulation mode is set.
[0051] If not, the first switch control signal is generated according to the third power supply connection signal, and the second voltage regulation mode is set.
[0052] In the scheme, the first voltage regulation parameter of the voltage regulation module is configured according to the first voltage information based on preset voltage regulation logic, and second voltage information is obtained, specifically:
[0053] It is judged whether the first voltage regulation mode is entered.
[0054] If yes, the first voltage regulation parameter is set according to a preset first voltage regulation reference value.
[0055] If not, the first voltage regulation parameter is set by querying a historical voltage regulation parameter.
[0056] The voltage regulation module is configured according to the first voltage regulation parameter, and second voltage information is obtained.
[0057] The third aspect of the present application provides a computer readable storage medium, wherein the computer readable storage medium comprises a compatible method program of a multiple voltage adapter based on Feiteng D3000, and the compatible method program of the multiple voltage adapter based on Feiteng D3000 is executed by a processor to realize the steps of the compatible method of the multiple voltage adapter based on Feiteng D3000 according to any one of the above.
[0058] The present application provides a compatible method, system and medium of a multiple voltage adapter based on Feiteng D3000. Firstly, a first switch control signal is generated based on a preset voltage threshold comparison logic according to first voltage information input by the adapter; then, a corresponding power supply path is turned on according to the first switch control signal to obtain second voltage information, wherein for the second power supply path, a first voltage regulating parameter is configured based on a preset voltage regulating logic to obtain the second voltage information; finally, first confidence information is obtained based on a preset confidence setting logic according to the second voltage information to determine whether to trigger a redundancy protection mechanism. The present application solves the compatibility problem of the product through voltage detection and logic decision, and forms multiple protection through dynamic voltage regulation and redundancy protection to improve the reliability and safety of the product. BRIEF DESCRIPTION OF DRAWINGS
[0059] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation on the scope.
[0060] Figure 1 A topology connection diagram of a compatible circuit of a multiple voltage adapter based on Feiteng D3000 is shown;
[0061] Figure 2 A flowchart of a compatible method of a multiple voltage adapter based on Feiteng D3000 is shown;
[0062] Figure 3 A running flowchart of a voltage threshold comparison logic provided by an embodiment of the present application is shown;
[0063] Figure 4 A running flowchart of a voltage regulating logic provided by an embodiment of the present application is shown;
[0064] Figure 5 A block diagram of a compatible system of a multiple voltage adapter based on Feiteng D3000 is shown. DETAILED DESCRIPTION
[0065] With reference to the accompanying drawings, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments of the present application, all the other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the scope of the present application.
[0066] Unless otherwise defined, all terms (including technical and scientific terms) used in the embodiments of the present application have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined in the embodiments of the present application.
[0067] The terms "first", "second", and similar terms used in the embodiments of the present application do not denote any order, quantity, or importance, but are only used to distinguish different constituent parts. The terms "one", "a", or "the" and similar terms do not denote a quantity of limitation, but denote the presence of at least one. Similarly, the terms "include" or "contain" and similar terms mean that the elements or objects before the terms encompass the elements or objects listed after the terms and their equivalents, and do not exclude other elements or objects. The terms "connect" or "connected" and similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The steps before or after the methods in the embodiments of the present application do not necessarily proceed in order. On the contrary, various steps can be processed in reverse order or simultaneously. Meanwhile, other operations can be added to these processes, or a step or several steps can be removed from these processes.
[0068] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0069] Figure 1 A topology connection diagram of a compatible circuit of a multiple-voltage adapter based on Feiteng D3000 is shown.
[0070] As shown in Figure 1 A compatible circuit 10 of a multiple-voltage adapter based on Feiteng D3000 includes:
[0071] A CPLD module 101 is configured to isolate an output logic switch control signal according to a judgment logic signal of an input voltage.
[0072] The first power switch module 102 is used for turning on or off the first power supply according to the switch control signal.
[0073] The second power switch module 103 is used for turning on or off the second power supply according to the switch control signal.
[0074] The voltage regulation module 104 is used for adjusting the second power supply to a specified voltage range according to a voltage regulation parameter.
[0075] The voltage measurement module 105 is used for measuring the voltage value of the first power supply or the voltage value of the second power supply after adjustment.
[0076] It should be noted that the CPLD module receives an input voltage from the adapter, generates a logic switch control signal according to the input voltage, and is used for controlling the first power switch module and the second power switch module; wherein the logic switch control signal is an isolated signal. The first power switch module is used for controlling the on or off state of the first power supply. In actual application, the first power supply is a 12V power supply. The second power switch module is used for controlling the on or off state of the second power supply. In actual application, the second power supply is a 19V or 24V power supply. The voltage regulation module is used for reducing the voltage of the second power supply to an output power supply. The voltage measurement module is used for measuring the output voltage.
[0077] Figure 2 A flowchart of a compatible method of a multi-voltage adapter based on Feiteng D3000 is shown.
[0078] As shown in Figure 2 The first aspect of the present application discloses a compatible method of a multi-voltage adapter based on Feiteng D3000, which comprises:
[0079] S202, detecting a direct current voltage input by the adapter to obtain first voltage information;
[0080] S204, generating a first switch control signal according to the first voltage information based on a preset voltage threshold comparison logic;
[0081] S206, judging whether the first switch control signal is a first power-on signal;
[0082] S208, if yes, turning on the first power supply, and obtaining second voltage information according to the first voltage information;
[0083] S210, if no, turning on the second power supply, configuring a first voltage regulation parameter of the voltage regulation module based on a preset voltage regulation logic, and obtaining second voltage information according to the first voltage information;
[0084] S212, obtaining first confidence information according to the second voltage information based on a preset confidence setting logic.
[0085] S214, determining whether the first confidence information exceeds a preset first confidence threshold;
[0086] S216, if yes, adjusting the first voltage regulating parameter or triggering a redundancy protection mechanism.
[0087] It should be noted that the first voltage information is an input voltage value of a compatible circuit of a multi-voltage adapter, i.e. a direct current voltage value input by the adapter; the first switch control signal is a logic control signal for driving the first power switch module and the second power switch module; the second voltage information is an output voltage value of the compatible circuit of the multi-voltage adapter; the first voltage regulating parameter is a control parameter for regulating an output state of the voltage regulating module; and the first confidence information is a probability for identifying that the output voltage is in an abnormal state.
[0088] In the embodiment, first, a direct current voltage input by the adapter is detected to obtain the first voltage information, i.e. the input voltage. Then, the input voltage value is compared with a preset voltage threshold range to generate a corresponding first switch control signal for driving a corresponding power switch module to select a power supply path. When the first power supply is turned on, a direct output voltage is output according to the first power supply. When the second power supply is turned on, a first voltage regulating parameter of the voltage regulating module is configured through a preset voltage regulating logic to obtain the output voltage. Thus, the purpose of being compatible with multi-voltage adapters is achieved. In addition, based on a preset confidence setting logic, an output voltage curve is analyzed to obtain a probability of being in an abnormal state, i.e. an abnormal confidence. When the abnormal confidence exceeds a preset first confidence threshold, it indicates that there is an abnormality. At this time, the output voltage is reduced or the output current is limited by adjusting the voltage regulating module, or a redundancy protection mechanism is triggered to form multiple protections, thereby improving the reliability and safety of the product.
[0089] Figure 3 A running flowchart of a voltage threshold comparison logic provided by an embodiment of the application is shown.
[0090] According to the embodiment of the application, as shown in Figure 3 the preset voltage threshold comparison logic, a first switch control signal is generated according to the first voltage information, specifically:
[0091] S302, determining whether the first voltage information is within a preset first voltage threshold range;
[0092] S304, if yes, generating the first switch control signal according to a first power supply connection signal;
[0093] S306, if no, determining whether the first voltage information is within a preset second voltage threshold range;
[0094] S308, if yes, generating the first switch control signal according to the second power-on signal, and setting to enter the first voltage regulation mode;
[0095] S310, if no, generating the first switch control signal according to the third power-on signal, and setting to enter the second voltage regulation mode.
[0096] It should be noted that the first power-on signal is used to drive the first power switch module to turn on the first power supply, the second power-on signal is used to drive the second power switch module to turn on the second power supply and set to enter the first voltage regulation mode, and the third power-on signal is used to drive the second power switch module to turn on the second power supply and set to enter the second voltage regulation mode.
[0097] In the embodiment, the running flow of the voltage threshold comparison logic is specifically: if the first voltage information is within a preset first voltage threshold range, generating the first switch control signal according to the first power-on signal; and if the first voltage information is within a preset second voltage threshold range, generating the first switch control signal according to the second power-on signal and setting to enter the first voltage regulation mode.
[0098] As an implementation manner, for example, in the FT D3000 power supply system of 12V, if the input voltage is within the interval range of [11.5V, 12.5V], it indicates that a 12V adapter is connected, at this time, the first switch control signal is set to the first power-on signal. If the input voltage is within the interval range of [18V, 20V] or [22.5V, 25.5V], it indicates that a 19V or 24V adapter is connected, at this time, the first switch control signal is set to the second power-on signal and the first voltage regulation mode is entered. If the input voltage is not within the above interval range, it indicates that a non-standard voltage adapter is connected, at this time, the first switch control signal is set to the third power-on signal and the second voltage regulation mode is entered. The above flow can achieve the purpose of compatibility with multiple voltage adapters.
[0099] Figure 4 A running flow chart of a voltage regulation logic provided by an embodiment of the application is shown.
[0100] According to the embodiment of the application, as shown in Figure 4 Based on the preset voltage regulation logic, the first voltage regulation parameter of the voltage regulation module is configured, the second voltage information is obtained according to the first voltage information, and specifically:
[0101] S402, determining whether to enter the first voltage regulation mode;
[0102] S404, if yes, setting the first voltage regulating parameter according to a preset first voltage regulating reference value;
[0103] S406, if no, querying a historical voltage regulating parameter, and setting the first voltage regulating parameter;
[0104] S408, configuring the voltage regulating module according to the first voltage regulating parameter, and obtaining second voltage information.
[0105] It should be noted that in the embodiment, a running flow of the voltage regulating logic is provided. If the first voltage regulating mode is entered, it indicates that the standard adapter (19V or 24V) is connected, and at this time, the first voltage regulating parameter is set by using the voltage regulating reference value corresponding to the standard adapter. Otherwise, it indicates that the non-standard adapter is connected, and at this time, the first voltage regulating parameter is set according to the latest voltage regulating parameter in the historical voltage regulating parameter. In this way, the first voltage regulating parameter is selected, and the time for adjusting the input voltage to the target voltage is reduced as much as possible, and the voltage regulating speed is improved.
[0106] According to the embodiment of the application, further comprising:
[0107] calculating a difference between the second voltage information and preset target voltage information, and obtaining first deviation information;
[0108] updating the first voltage regulating parameter according to the first deviation information based on a preset feedback regulating algorithm;
[0109] configuring the voltage regulating module according to the first voltage regulating parameter, and updating the second voltage information;
[0110] recording and storing the first voltage information and the first voltage regulating parameter.
[0111] It should be noted that the target voltage information is the target value of the output voltage after voltage regulation. In the embodiment, the feedback regulating algorithm is used to control the voltage regulating module to output the target voltage value. As an implementation manner, the feedback regulating operation is realized by using the PID algorithm. First, the deviation value between the current output voltage and the target output voltage is calculated. Then, the deviation value is transmitted into the PID algorithm to obtain the regulating amount, which is used to update the first voltage regulating parameter. Finally, the updated regulating amount is configured into the voltage regulating module to achieve the purpose of adjusting the output voltage. In addition, the input voltage of the voltage regulating module and the first voltage regulating parameter are recorded and stored as the historical voltage regulating parameter.
[0112] According to the embodiment of the application, the first confidence degree information is obtained according to the second voltage information based on the preset confidence degree setting logic, and specifically:
[0113] obtaining a voltage curve according to the second voltage information;
[0114] According to the voltage curve, obtain a fluctuation amplitude of the second voltage information in a steady state stage;
[0115] According to the fluctuation amplitude, update the first confidence information based on a preset fluctuation range.
[0116] It should be noted that in the embodiment, a running flow of confidence setting logic is provided. When the output voltage is in a steady state stage, the fluctuation amplitude of the output voltage is collected; wherein the steady state stage is that the average value of the output voltage is within a target voltage range within a preset time window. Then, according to the relationship between the fluctuation amplitude and the fluctuation range, the first confidence information is updated. As an implementation, when the fluctuation amplitude exceeds the preset fluctuation range, the first confidence information is increased; when the fluctuation amplitudes of a plurality of consecutive obtained fluctuation amplitudes are within the preset fluctuation range, the first confidence information is decreased.
[0117] According to the embodiment of the application, further comprising:
[0118] When the redundancy protection mechanism is triggered;
[0119] According to the voltage curve, the fluctuation amplitude and the first voltage regulating parameter, an abnormal log is generated and stored.
[0120] It should be noted that when the redundancy protection mechanism is triggered, an audible / visual prompt will be generated. As an implementation, in a system with a backup power supply, the input power supply is switched to the backup power supply. In addition, an abnormal log is generated according to the output voltage curve, the voltage fluctuation amplitude and the first voltage regulating parameter, for subsequent query and analysis.
[0121] It is worth mentioning that further comprising:
[0122] When the first power supply or the second power supply is turned on, first current information is obtained;
[0123] According to the first current information, a current change rate is obtained;
[0124] If the current change rate exceeds a preset change rate threshold, the first power supply switch module or the second switch module is driven to enter a slow turn-off mode.
[0125] It should be noted that the first current information is a real-time current value when the first power supply switch module or the second switch module performs a switching action. In the embodiment, a slow turn-off operation flow is provided. During the power supply switching operation process, if the change rate of the switching current exceeds a preset change rate threshold, it indicates that the current has a sudden change and there is an abnormal risk. At this time, the first power supply switch module or the second switch module is driven to enter a slow turn-off mode through the CPLD module, and the delay time of the delay circuit is adjusted to protect the device.
[0126] It is worth mentioning that, further comprising:
[0127] When it is judged that the second power supply is turned on;
[0128] Obtain the temperature information of the voltage regulation module;
[0129] Determine whether the temperature information exceeds a preset temperature threshold;
[0130] If yes, enter the current limiting mode by configuring the voltage regulation module.
[0131] It should be noted that in this embodiment, an over-temperature protection process is provided. When the temperature value of the voltage regulation module exceeds the preset temperature threshold, in order to ensure the operation reliability of the voltage regulation module and the entire circuit system, the current limiting mode will be entered; by reducing the current output, the purpose of cooling is achieved.
[0132] It is worth mentioning that, further comprising:
[0133] Send the abnormal log to a preset abnormal processing neural network model to obtain a feedback adjustment weight;
[0134] According to the feedback adjustment weight, update the operation weight of the feedback adjustment algorithm.
[0135] It should be noted that in this embodiment, the abnormal log is also analyzed by the abnormal processing neural network model to obtain the updated value of the PID algorithm operation weight. By adjusting the PID algorithm operation weight, the purpose of reducing the output voltage curve fluctuation amplitude and fluctuation frequency is achieved, and the stability of the output is improved.
[0136] It is worth mentioning that, further comprising:
[0137] Real-time monitoring of the output voltage transient change rate at the power switching moment;
[0138] If the transient change rate exceeds a preset safety threshold, the CPLD generates a voltage slow start control signal immediately;
[0139] Drive the MOSFET gate capacitance in the first power supply switch module or the second power supply switch module through the slow start control signal, so that the output voltage rises to the target value in the form of an exponential curve.
[0140] It should be noted that, in this embodiment, when the power switching instruction is issued through the CPLD, the high-speed voltage sampling circuit immediately monitors the voltage transient change rate of the power output end at a microsecond level. The transient protection algorithm built in the CPLD compares the change rate with the preset safety threshold in real time. If the transient overshoot risk is detected, for example, the change rate exceeds the standard due to too fast capacitor charging, the CPLD immediately generates a slow start digital pulse sequence. The slow start pulse is input to the MOSFET drive chip of the power switch module to control the charging current slope of the MOSFET gate capacitor. The gate voltage rises exponentially and slowly, and finally the output voltage rises to the target value with a smooth slope. The CPLD continuously verifies the output voltage stability until the transient change rate drops below the safety threshold and exits the protection mode.
[0141] It is worth mentioning that, in addition,
[0142] The real-time load current and ambient temperature of the voltage regulation module are obtained.
[0143] Based on the preset three-dimensional compensation model, a voltage compensation coefficient under the current working condition is obtained.
[0144] The compensation coefficient is superimposed on the first voltage regulation parameter to generate a dynamically optimized second voltage regulation parameter.
[0145] If the first deviation information does not converge after continuous N times of updating, the redundant voltage regulation strategy in the three-dimensional compensation model is switched to and an alarm is reported.
[0146] It should be noted that during the operation of the voltage regulation module, the high-precision Hall current sensor collects load current data in real time, and the temperature sensor monitors the temperature of the heat sink. Both data are input to the processor after ADC conversion. Based on the preset voltage-current-temperature three-dimensional compensation model, a lookup table method or a linear interpolation algorithm is used to match the optimal compensation coefficient according to the current value and the temperature value. The compensation coefficient and the original voltage regulation parameter are superimposed to generate a dynamically optimized parameter, which is configured to the voltage regulation module. At the same time, the deviation of the output voltage from the target value is calculated. If the deviation still exceeds the preset deviation threshold after continuous 3 times of adjustment, it is determined that the model is invalid, and the redundant voltage regulation strategy is automatically switched to. As an embodiment, the fixed PWM duty cycle is 50% and forced air cooling is started, and at the same time, a voltage regulation fault code is sent to the background and an alarm is triggered, and the current, temperature and parameter adjustment sequence are recorded to the non-volatile memory for fault analysis.
[0147] Figure 5 A block diagram of a compatible system of a multi-voltage adapter based on Feiteng D3000 of the application is shown.
[0148] As Figure 5As shown, the second aspect of the present application discloses a compatible system 5 of a multiple-voltage adapter based on Feiteng D3000, comprising a memory 51 and a processor 52, wherein the memory comprises a compatible method program of a multiple-voltage adapter based on Feiteng D3000, and the compatible method program of the multiple-voltage adapter based on Feiteng D3000 is executed by the processor to implement the following steps:
[0149] detecting a direct-current voltage input by the adapter to obtain first voltage information;
[0150] generating a first switch control signal according to the first voltage information based on preset voltage threshold comparison logic;
[0151] determining whether the first switch control signal is a first power supply connection signal;
[0152] if yes, connecting the first power supply and obtaining second voltage information according to the first voltage information;
[0153] if no, connecting the second power supply, configuring a first voltage regulation parameter of the voltage regulation module based on preset voltage regulation logic, and obtaining second voltage information according to the first voltage information;
[0154] obtaining first confidence information according to the second voltage information based on preset confidence setting logic;
[0155] determining whether the first confidence information exceeds a preset first confidence threshold;
[0156] if yes, adjusting the first voltage regulation parameter or triggering a redundancy protection mechanism.
[0157] It should be noted that the first voltage information is an input voltage value of the compatible circuit of the multiple-voltage adapter, i.e., a direct-current voltage value input by the adapter; the first switch control signal is a logic control signal for driving the first power supply switch module and the second power supply switch module; the second voltage information is an output voltage value of the compatible circuit of the multiple-voltage adapter; the first voltage regulation parameter is a control parameter for regulating an output state of the voltage regulation module; and the first confidence information is a probability for identifying that the output voltage is in an abnormal state.
[0158] In the embodiment, first, the first voltage information, i.e. the input voltage, is obtained by detecting the direct current voltage input by the adapter. Then, the input voltage value is compared with the preset voltage threshold range, and the first switch control signal corresponding to the comparison is generated to drive the corresponding power switch module to select the power path. When the first power is turned on, the direct output voltage of the first power is obtained. When the second power is turned on, the first voltage regulating parameter of the voltage regulating module is configured by the preset voltage regulating logic to obtain the output voltage. Thus, the purpose of compatibility with various voltage adapters is achieved. In addition, based on the preset confidence setting logic, the voltage curve of the output voltage is analyzed to obtain the probability of being in an abnormal state, i.e. the abnormal confidence. When the abnormal confidence exceeds the preset first confidence threshold, it indicates that there is an abnormality. At this time, the output voltage is reduced or the output current is limited by adjusting the voltage regulating module, or the redundant protection mechanism is triggered to form multiple protections, thereby improving the reliability and safety of the product.
[0159] According to the embodiment of the application, the first switch control signal is generated according to the first voltage information based on the preset voltage threshold comparison logic, specifically:
[0160] determining whether the first voltage information is within the preset first voltage threshold range;
[0161] if yes, generating the first switch control signal according to the first power-on signal;
[0162] if no, determining whether the first voltage information is within the preset second voltage threshold range;
[0163] if yes, generating the first switch control signal according to the second power-on signal and setting to enter the first voltage regulating mode;
[0164] if no, generating the first switch control signal according to the third power-on signal and setting to enter the second voltage regulating mode.
[0165] It should be noted that the first power-on signal is used to drive the first power switch module to turn on the first power, the second power-on signal is used to drive the second power switch module to turn on the second power and set to enter the first voltage regulating mode, and the third power-on signal is used to drive the second power switch module to turn on the second power and set to enter the second voltage regulating mode.
[0166] In the embodiment, the running process of the voltage threshold comparison logic is specifically: if the first voltage information is within the preset first voltage threshold range, the first switch control signal is generated according to the first power-on signal; if the first voltage information is within the preset second voltage threshold range, the first switch control signal is generated according to the second power-on signal and set to enter the first voltage regulating mode.
[0167] As an implementation, for example, in the FT D3000 power supply system of 12V, if the input voltage is in the interval range of [11.5V, 12.5V], it indicates that a 12V adapter is connected, at this time, the first switch control signal is set to the first power connection signal. If the input voltage is in the interval range of [18V, 20V] or [22.5V, 25.5V], it indicates that a 19V or 24V adapter is connected, at this time, the first switch control signal is set to the second power connection signal, and the first voltage regulation mode is entered. If the input voltage is not in the above interval range, it indicates that a non-standard voltage adapter is connected, at this time, the first switch control signal is set to the third power connection signal, and the second voltage regulation mode is entered. The above process can achieve the purpose of compatibility with various voltage adapters.
[0168] According to the embodiment of the present application, the first voltage regulation parameter of the voltage regulation module is configured based on the preset voltage regulation logic, and the second voltage information is obtained according to the first voltage information, specifically:
[0169] It is judged whether to enter the first voltage regulation mode;
[0170] If yes, the first voltage regulation parameter is set according to the preset first voltage regulation reference value;
[0171] If no, the first voltage regulation parameter is set by querying the historical voltage regulation parameter;
[0172] The voltage regulation module is configured according to the first voltage regulation parameter, and the second voltage information is obtained.
[0173] It should be noted that in the embodiment, a running process of the voltage regulation logic is provided. If the first voltage regulation mode is entered, it indicates that a standard adapter (19V or 24V) is connected, at this time, the first voltage regulation parameter is set by using the voltage regulation reference value corresponding to the standard adapter. Otherwise, it indicates that a non-standard adapter is connected, at this time, the first voltage regulation parameter is set according to the most recent voltage regulation parameter in the historical voltage regulation parameter. Through the above method, the first voltage regulation parameter is selected, and the time for adjusting the input voltage to the target voltage is reduced as much as possible, and the voltage regulation speed is improved.
[0174] According to the embodiment of the present application, it further comprises:
[0175] The difference between the second voltage information and the preset target voltage information is calculated to obtain first deviation information;
[0176] The first voltage regulation parameter is updated according to the first deviation information based on the preset feedback regulation algorithm;
[0177] The voltage regulation module is configured according to the first voltage regulation parameter, and the second voltage information is updated.
[0178] record and store the first voltage information and the first voltage regulating parameter.
[0179] It should be noted that the target voltage information is the target value of the output voltage after voltage regulation. In this embodiment, a feedback regulation algorithm is used to control the voltage regulating module to output the target voltage value. As an implementation, the feedback regulation operation is realized by using a PID algorithm. First, the deviation value of the current output voltage and the target output voltage is calculated; then, the deviation value is input into the PID algorithm to obtain the regulation amount, which is used to update the first voltage regulating parameter; finally, the updated regulation amount is configured into the voltage regulating module to achieve the purpose of adjusting the output voltage. In addition, the input voltage of the voltage regulating module and the first voltage regulating parameter are recorded and stored as historical voltage regulating parameters.
[0180] According to the embodiment of the present application, the first confidence information is obtained according to the second voltage information based on the preset confidence setting logic, specifically:
[0181] The voltage curve is obtained according to the second voltage information.
[0182] The fluctuation amplitude when the second voltage information is in the steady state stage is obtained according to the voltage curve.
[0183] The first confidence information is updated according to the fluctuation amplitude based on the preset fluctuation range.
[0184] It should be noted that in this embodiment, a running process of the confidence setting logic is provided. When the output voltage is in the steady state stage, the fluctuation amplitude of the output voltage is collected; wherein the steady state stage is that the average value of the output voltage is within the target voltage range within a preset time window. Then, the first confidence information is updated according to the relationship between the fluctuation amplitude and the fluctuation range. As an implementation, when the fluctuation amplitude exceeds the preset fluctuation range, the first confidence information is increased; when the fluctuation amplitudes of a plurality of consecutive obtained fluctuation amplitudes are within the preset fluctuation range, the first confidence information is decreased.
[0185] According to the embodiment of the present application, it further comprises:
[0186] determining when the redundancy protection mechanism is triggered;
[0187] generating and storing an abnormal log according to the voltage curve, the fluctuation amplitude and the first voltage regulating parameter.
[0188] It should be noted that when the redundancy protection mechanism is triggered, an audible / visual prompt will be generated. As an embodiment, in a system with a backup power supply, the input power supply is switched to the backup power supply. In addition, an abnormal log is also generated according to the output voltage curve, the voltage fluctuation amplitude and the first voltage regulating parameter, for subsequent query and analysis.
[0189] It is worth mentioning that it also includes:
[0190] When the first power supply or the second power supply is turned on, the first current information is obtained;
[0191] According to the first current information, the current change rate is obtained;
[0192] If the current change rate exceeds the preset change rate threshold, the first power supply switch module or the second switch module is driven to enter the slow turn-off mode.
[0193] It should be noted that the first current information is the real-time current value when the first power supply switch module or the second switch module performs the switching action. In this embodiment, a slow turn-off operation process is provided. During the power supply switching operation process, if the change rate of the switching current exceeds the preset change rate threshold, it indicates that the current has a sudden change and there is an abnormal risk. At this time, the first power supply switch module or the second switch module is driven into the slow turn-off mode by the CPLD module, and the delay time of the delay circuit is adjusted to protect the device.
[0194] It is worth mentioning that it also includes:
[0195] When the second power supply is turned on;
[0196] Obtain the temperature information of the voltage regulating module;
[0197] Determine whether the temperature information exceeds the preset temperature threshold;
[0198] If so, the voltage regulating module is configured to enter the current limiting mode.
[0199] It should be noted that in this embodiment, an over-temperature protection process is provided. When the temperature value of the voltage regulating module exceeds the preset temperature threshold, in order to ensure the operation reliability of the voltage regulating module and the entire circuit system, the current limiting mode is entered; the current output is reduced to achieve the purpose of cooling.
[0200] It is worth mentioning that it also includes:
[0201] Send the abnormal log to the preset abnormal processing neural network model to obtain a feedback adjustment weight;
[0202] According to the feedback adjustment weight, the operation weight of the feedback adjustment algorithm is updated.
[0203] It should be noted that in this embodiment, the abnormal log is also analyzed by the abnormal processing neural network model to obtain an updated value of the PID algorithm operation weight value. By adjusting the PID algorithm operation weight value, the purpose of reducing the output voltage curve fluctuation amplitude and frequency is achieved, and the output stability is improved.
[0204] It is worth mentioning that it also includes:
[0205] Real-time monitoring of output voltage transient change rate at power switching moment;
[0206] If the transient change rate exceeds the preset safety threshold, the CPLD generates a voltage slow start control signal immediately;
[0207] The MOSFET gate capacitance in the first or second power supply switching module is driven by the slow start control signal, so that the output voltage rises to the target value in the form of an exponential curve.
[0208] It should be noted that in this embodiment, when the power supply switching instruction is issued by the CPLD, the high-speed voltage sampling circuit immediately monitors the voltage transient change rate of the power supply output end at a microsecond level frequency. The transient protection algorithm built-in CPLD compares the change rate with the preset safety threshold in real time. If the transient overshoot risk is detected, such as the change rate exceeding the standard due to too fast capacitor charging, the CPLD generates a slow start digital pulse sequence immediately. The slow start pulse is input to the MOSFET drive chip of the power supply switching module to control the charging current slope of the MOSFET gate capacitance. The gate voltage rises slowly in the form of an exponential curve, and finally the output voltage rises to the target value in a smooth slope. The CPLD continuously verifies the output voltage stability until the transient change rate drops below the safety threshold and exits the protection mode.
[0209] It is worth mentioning that it also includes:
[0210] Obtain the real-time load current and environmental temperature of the voltage regulation module;
[0211] Based on the preset three-dimensional compensation model, obtain the voltage compensation coefficient under the current working condition;
[0212] The compensation coefficient is superimposed into the first voltage regulation parameter to generate a dynamically optimized second voltage regulation parameter;
[0213] If the first deviation information does not converge after continuous N times of updating, switch to the redundant voltage regulation strategy in the three-dimensional compensation model and alarm.
[0214] It should be noted that during the operation of the voltage regulation module, the high-precision Hall current sensor collects load current data in real time, and the temperature sensor monitors the temperature of the heat sink, and the data of the two is input to the processor after being converted by the ADC. Based on the preset voltage-current-temperature three-dimensional compensation model, the look-up table method or the linear interpolation algorithm is used to match the optimal compensation coefficient according to the current value and the temperature value. The compensation coefficient and the original voltage regulation parameter are superimposed to generate dynamic optimization parameters, which are configured to the voltage regulation module. At the same time, the deviation of the output voltage from the target value is calculated, and if the deviation is still greater than the preset deviation threshold after continuous adjustment for 3 times, it is determined that the model is invalid, and the redundant voltage regulation strategy is automatically switched. As an embodiment, the fixed PWM duty cycle is 50% and the forced air cooling is started, and at the same time the voltage regulation fault code is sent to the background and the alarm is triggered, and the current, temperature and parameter adjustment sequence are recorded to the non-volatile memory for fault analysis.
[0215] The third aspect of the present application provides a computer readable storage medium, wherein the computer readable storage medium comprises a compatible method program of a multiple voltage adapter based on Feiteng D3000, and the compatible method program of the multiple voltage adapter based on Feiteng D3000 is executed by a processor to realize the steps of the compatible method of the multiple voltage adapter based on Feiteng D3000 as described in any one of the above aspects.
[0216] In summary, the present application provides a compatible method, system and medium of a multiple voltage adapter based on Feiteng D3000. First, according to the first voltage information input by the adapter, a first switch control signal is generated based on a preset voltage threshold comparison logic. Then, according to the first switch control signal, the corresponding power supply path is turned on to obtain second voltage information. For the second power supply path, a first voltage regulation parameter is configured based on a preset voltage regulation logic to obtain the second voltage information. Finally, based on a preset confidence setting logic, first confidence information is obtained from the second voltage information to determine whether to trigger a redundant protection mechanism. The present application solves the compatibility problem of the product through voltage detection and logic decision, and forms multiple protection through dynamic voltage regulation and redundant protection to improve the reliability and safety of the product.
[0217] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the parts of the technical solutions that essentially contribute to the prior art or the parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the various embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0218] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A compatibility method for a multi-voltage adapter based on Phytium D3000, applied to a compatibility circuit for a multi-voltage adapter based on Phytium D3000, the circuit including a CPLD module, a first power switch module, a second power switch module, a voltage regulation module, and a voltage measurement module; The CPLD module is used to isolate and output logic switch control signals based on the input voltage judgment logic signal; The first power switch module is used to turn on or off the first power supply according to the switch control signal; The second power switch module is used to turn the second power supply on or off according to the switch control signal; The voltage regulation module is used to adjust the second power supply to a specified voltage range according to the voltage regulation parameters; The voltage measurement module is used to measure the voltage value of the first power supply or the adjusted voltage value of the second power supply. Its features are, The method includes: The DC voltage input to the adapter is detected to obtain the first voltage information; Based on a preset voltage threshold comparison logic, a first switch control signal is generated according to the first voltage information; Determine whether the first switch control signal is a first power-on signal; If so, then the first power supply is turned on, and the second voltage information is obtained based on the first voltage information; If not, the second power supply is connected, and the first voltage regulation parameter of the voltage regulation module is configured based on the preset voltage regulation logic. The second voltage information is obtained according to the first voltage information. Based on the preset confidence level setting logic, the first confidence level information is obtained according to the second voltage information; Determine whether the first confidence level information exceeds a preset first confidence threshold; If so, adjust the first voltage regulation parameter or trigger the redundancy protection mechanism.
2. The compatibility method for a multi-voltage adapter based on Phytium D3000 according to claim 1, characterized in that, The preset voltage threshold comparison logic generates a first switch control signal based on the first voltage information, specifically as follows: Determine whether the first voltage information is within a preset first voltage threshold range; If so, a first switch control signal is generated based on the first power-on signal; If not, then determine whether the first voltage information is within the preset second voltage threshold range; If the first voltage information is within the preset second voltage threshold range, then a first switch control signal is generated based on the second power-on signal to set the first voltage regulation mode. If the first voltage information is not within the preset second voltage threshold range, a first switch control signal is generated based on the third power supply signal to set the system to enter the second voltage regulation mode.
3. The compatibility method for a multi-voltage adapter based on Phytium D3000 according to claim 2, characterized in that, The first voltage regulation parameter of the voltage regulation module is configured based on the preset voltage regulation logic, and the second voltage information is obtained according to the first voltage information, specifically as follows: Determine whether to enter the first voltage regulation mode; If so, then set the first voltage regulation parameter according to the preset first voltage regulation reference value; If not, query the historical voltage regulation parameters and set the first voltage regulation parameter; Based on the first voltage regulation parameter, the voltage regulation module is configured to obtain the second voltage information.
4. The compatibility method for a multi-voltage adapter based on Phytium D3000 according to claim 1, characterized in that, Also includes: Calculate the difference between the second voltage information and the preset target voltage information to obtain the first deviation information; Based on a preset feedback adjustment algorithm, the first voltage regulation parameter is updated according to the first deviation information; Configure the voltage regulation module according to the first voltage regulation parameter and update the second voltage information; Record and store the first voltage information and the first voltage regulation parameter.
5. The compatibility method for a multi-voltage adapter based on Phytium D3000 according to claim 1, characterized in that, The preset confidence level setting logic, based on the second voltage information, obtains the first confidence level information, specifically as follows: Based on the second voltage information, the voltage curve is obtained; Based on the voltage curve, obtain the fluctuation amplitude of the second voltage information when it is in the steady state phase; Based on the preset fluctuation range, the first confidence information is updated according to the fluctuation amplitude.
6. The compatibility method for a multi-voltage adapter based on Phytium D3000 according to claim 5, characterized in that, Also includes: When determining whether the redundancy protection mechanism is triggered; An anomaly log is generated and stored based on the voltage curve, the fluctuation amplitude, and the first voltage regulation parameter.
7. A compatible system for a multi-voltage adapter based on Phytium D3000, applied to a compatible circuit for a multi-voltage adapter based on Phytium D3000, the circuit including a CPLD module, a first power switch module, a second power switch module, a voltage regulation module and a voltage measurement module; The CPLD module is used to isolate and output logic switch control signals based on the input voltage judgment logic signal; The first power switch module is used to turn on or off the first power supply according to the switch control signal; The second power switch module is used to turn the second power supply on or off according to the switch control signal; The voltage regulation module is used to adjust the second power supply to a specified voltage range according to the voltage regulation parameters; The voltage measurement module is used to measure the voltage value of the first power supply or the adjusted voltage value of the second power supply. Its features are, The system includes a memory and a processor. The memory includes a compatibility method program for a multi-voltage adapter based on Phytium D3000. When the processor executes the compatibility method program for the multi-voltage adapter based on Phytium D3000, it performs the following steps: The DC voltage input to the adapter is detected to obtain the first voltage information; Based on a preset voltage threshold comparison logic, a first switch control signal is generated according to the first voltage information; Determine whether the first switch control signal is a first power-on signal; If so, then the first power supply is turned on, and the second voltage information is obtained based on the first voltage information; If not, the second power supply is connected, and the first voltage regulation parameter of the voltage regulation module is configured based on the preset voltage regulation logic. The second voltage information is obtained according to the first voltage information. Based on the preset confidence level setting logic, the first confidence level information is obtained according to the second voltage information; Determine whether the first confidence level information exceeds a preset first confidence threshold; If so, adjust the first voltage regulation parameter or trigger the redundancy protection mechanism.
8. The compatible system for a multi-voltage adapter based on Phytium D3000 according to claim 7, characterized in that, The preset voltage threshold comparison logic generates a first switch control signal based on the first voltage information, specifically as follows: Determine whether the first voltage information is within a preset first voltage threshold range; If so, a first switch control signal is generated based on the first power-on signal; If not, then determine whether the first voltage information is within the preset second voltage threshold range; If the first voltage information is within the preset second voltage threshold range, then a first switch control signal is generated based on the second power-on signal to set the first voltage regulation mode. If the first voltage information is not within the preset second voltage threshold range, a first switch control signal is generated based on the third power supply signal to set the system to enter the second voltage regulation mode.
9. The compatible system for a multi-voltage adapter based on Phytium D3000 according to claim 8, characterized in that, The first voltage regulation parameter of the voltage regulation module is configured based on the preset voltage regulation logic, and the second voltage information is obtained according to the first voltage information, specifically as follows: Determine whether to enter the first voltage regulation mode; If so, then set the first voltage regulation parameter according to the preset first voltage regulation reference value; If not, query the historical voltage regulation parameters and set the first voltage regulation parameter; Based on the first voltage regulation parameter, the voltage regulation module is configured to obtain the second voltage information.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer-readable storage medium includes a compatibility method program for a multi-voltage adapter based on Phytium D3000. When the compatibility method program for the multi-voltage adapter based on Phytium D3000 is executed by a processor, it implements the steps of the compatibility method for a multi-voltage adapter based on Phytium D3000 as described in any one of claims 1 to 6.
Citation Information
Patent Citations
PD power adapter compatible with multiple output voltages and charging method of PD power adapter
CN112448599A
Compatible adapter circuit of multiple voltage
CN207166372U