Method, apparatus, electronic device and storage medium for adjusting supply voltage of controller

By comparing the obtained supply voltage with the preset voltage threshold, the voltage threshold range is determined and actively adjusted, thus solving the problem of abnormal supply voltage of the controller and realizing the stability and safety of the supply voltage.

CN116339431BActive Publication Date: 2026-07-31CHONGQING CHANGAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHONGQING CHANGAN TECH CO LTD
Filing Date
2023-03-29
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

In the existing technology, the passive protection measures for the controller power supply voltage cannot fundamentally solve the problems of overvoltage and undervoltage, which can cause voltage abnormalities to damage subsequent circuits.

Method used

By comparing the obtained supply voltage with multiple preset voltage thresholds, a voltage threshold range is determined, and active adjustments are made based on the range, including boost or buck requests, to stabilize the supply voltage.

Benefits of technology

It enables active adjustment of the power supply voltage, reduces the damage of voltage anomalies to subsequent circuits, and ensures the long-term stability of the controller's power supply voltage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116339431B_ABST
    Figure CN116339431B_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, electronic device, and storage medium for adjusting the power supply voltage of a controller. The method includes: acquiring the power supply voltage; comparing the power supply voltage with a preset voltage threshold to determine the voltage threshold range to which the power supply voltage belongs; adjusting the voltage threshold range of the controller according to the voltage threshold range; if the power supply voltage is in the low-voltage range, boosting the power supply voltage and limiting the output ratio of the power supply voltage; if the power supply voltage is in the normal power supply range, outputting the power supply voltage normally; if the power supply voltage is in the high-voltage range, bucking the power supply voltage and limiting the output ratio of the power supply voltage. This invention controls the power supply voltage by using a preset voltage threshold, automatically adjusting the power supply voltage within the preset voltage threshold range, fundamentally solving the cause of abnormal power supply voltage, enabling the controller's power supply voltage to adjust adaptively, and ensuring the stability of the power supply voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automatic voltage control, specifically to methods, apparatus, electronic devices, and storage media for adjusting the power supply voltage of a controller. Background Technology

[0002] With the rapid development of automotive intelligence, automotive products are showing a trend towards integration, and the controller is a product of this integration process. Functionally, a vehicle can be divided into five domains: powertrain, chassis, cockpit, autonomous driving, and body. The controller's power supply voltage is fundamental to vehicle integration, requiring long-term stability and automatic voltage recovery to ensure proper vehicle control. Current technologies typically use hardware circuits for passive voltage protection, but these measures cannot fundamentally address overvoltage and undervoltage issues; they only provide temporary output limitations.

[0003] In the prior art, reference document 1 (CN217824236U) discloses a sensor power supply protection circuit. This circuit includes: a voltage threshold setting circuit, an overvoltage protection circuit, an undervoltage protection circuit, and a current limiting circuit. The voltage threshold setting circuit sets overvoltage and undervoltage thresholds. When the supply voltage exceeds the overvoltage threshold or falls below the undervoltage threshold, the overvoltage and undervoltage protection circuits disconnect the power supply circuit. The current limiting circuit sets a current limiting threshold to limit the maximum current consumption of the sensor's downstream circuit. Reference document 1 directly disconnects the power supply circuit through the voltage threshold setting circuit, which can only temporarily limit the supply voltage of the power supply circuit and cannot achieve active protection of the supply voltage.

[0004] Therefore, given a known supply voltage, how to actively control the supply voltage within a preset range to reduce its harmful effects on subsequent circuits is a pressing technical problem that needs to be solved. Summary of the Invention

[0005] In view of the shortcomings of the prior art described above, the present invention provides a technical solution for adjusting the power supply voltage of the controller, which involves obtaining the power supply voltage, comparing the power supply voltage with a preset voltage threshold to determine the voltage threshold range in which the power supply voltage exists, and actively adjusting the power supply voltage of the controller according to the voltage threshold range to reduce the damage to subsequent circuits.

[0006] To achieve the above-mentioned objectives and other related objectives, the technical solution provided by the present invention is as follows.

[0007] A method for adjusting the power supply voltage of a controller, the method comprising:

[0008] Obtain the power supply voltage;

[0009] The supply voltage is compared with multiple preset voltage thresholds to determine the voltage threshold range to which the supply voltage belongs;

[0010] The power supply voltage of the controller is adjusted according to the voltage threshold range.

[0011] In the technical solution provided by the embodiments of this application, the preset voltage threshold includes a first voltage threshold and a second voltage threshold. The step of comparing the supply voltage with multiple preset voltage thresholds includes: when the supply voltage is less than the first voltage threshold, the voltage threshold range is a low voltage range; when the supply voltage is greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, the voltage threshold range is a normal voltage range; when the supply voltage is greater than the second voltage threshold, the voltage threshold range is a high voltage range; wherein, the first voltage threshold is less than the second voltage threshold.

[0012] In the technical solution provided by the embodiments of this application, when the voltage threshold range is a low-voltage range, the step of adjusting the power supply voltage of the controller includes: sending a boost request to an external power supply system through the controller; during the time interval in which the boost request is not responded to by the external power supply system, if the power supply voltage is greater than a third voltage threshold, setting the output of the controller to a low-voltage mode; if the power supply voltage is less than or equal to the third voltage threshold, setting the power supply voltage of the controller to zero; after the external power supply system responds to the boost request, if the power supply voltage is greater than a fourth voltage threshold, setting the output of the controller to a low-voltage mode; wherein, the third voltage threshold is less than the fourth voltage threshold, and the low-voltage module is used to limit the voltage output capability of the controller.

[0013] In the technical solution provided in the embodiments of this application, the controller supplies power normally when the voltage threshold range is within the normal voltage range.

[0014] In the technical solution provided by the embodiments of this application, when the voltage threshold range is a high voltage range, the step of adjusting the power supply voltage of the controller includes: sending a voltage reduction request to the external power supply system through the controller; during the time interval in which the external power supply system does not respond to the voltage reduction request, if the power supply voltage is less than a fifth voltage threshold, then setting the output of the controller to a high voltage mode; if the power supply voltage is greater than or equal to the fifth voltage threshold, then setting the power supply voltage of the controller to zero; after the external power supply system responds to the voltage reduction request, if the power supply voltage is less than a sixth voltage threshold, then setting the output of the controller to a high voltage mode; wherein, the fifth voltage threshold is greater than the sixth voltage threshold, and the high voltage mode is used to limit the voltage output capability of the controller.

[0015] In the technical solution provided in the embodiments of this application, before obtaining the power supply voltage, the method further includes: filtering the initial voltage to obtain the power supply voltage.

[0016] According to one aspect of the embodiments of this application, an apparatus for adjusting the power supply voltage of a controller is provided. The apparatus includes: a data acquisition module for acquiring the power supply voltage; a data processing module for comparing the power supply voltage with a plurality of preset voltage thresholds to determine the voltage threshold range to which the power supply voltage belongs; and an adjustment module for adjusting the power supply voltage of the controller according to the voltage threshold range.

[0017] In the technical solution provided by the embodiments of this application, the data processing module includes: a low-voltage range unit, used to set a voltage threshold range as a low-voltage range when the supply voltage is less than a first voltage threshold; a normal range unit, used to set the voltage threshold range as a normal voltage range when the supply voltage is greater than or equal to the first voltage threshold and less than or equal to a second voltage threshold; and a high-voltage range unit, used to set the voltage threshold range as a high-voltage range when the supply voltage is greater than the second voltage threshold; wherein, the first voltage threshold is less than the second voltage threshold.

[0018] According to one aspect of the present application, an electronic device is provided, comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device causes the electronic device to implement the method of adjusting the controller power supply voltage as described above.

[0019] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, on which computer-readable instructions are stored, which, when executed by a computer's processor, cause the computer to perform the method of adjusting the controller power supply voltage as described above.

[0020] This invention provides a technical solution for adjusting the power supply voltage of a controller. The method involves acquiring the power supply voltage, comparing it with a voltage threshold to determine the voltage threshold range within which the power supply voltage exists, and then adjusting the power supply voltage according to this range. This technical solution for adjusting the power supply voltage of the controller provides overvoltage and undervoltage output limitations and automatically adjusts the power supply voltage according to its voltage threshold range. It not only adjusts abnormal power supply voltages at their source but also has a hysteresis effect, ensuring the long-term stability of the controller's power supply voltage.

[0021] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0022] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0023] Figure 1 This is a flowchart illustrating a method for adjusting the power supply voltage of a controller, as shown in an exemplary embodiment of this application.

[0024] Figure 2 This is a schematic diagram illustrating the power supply voltage and output capability of the controller in an exemplary embodiment of this application;

[0025] Figure 3 This is a schematic diagram illustrating the low-voltage range and controller output capability of an exemplary embodiment of this application;

[0026] Figure 4 This is a schematic diagram illustrating the high-voltage range and controller output capability in an exemplary embodiment of this application;

[0027] Figure 5 This is a block diagram illustrating an apparatus for adjusting the power supply voltage of a controller, as shown in an exemplary embodiment of this application.

[0028] Figure 6 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation

[0029] The embodiments of the present invention will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention and not for limiting the scope of protection of the present invention.

[0030] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0031] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the invention. However, it will be apparent to those skilled in the art that embodiments of the invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the invention.

[0032] The inventors' research revealed that with the rapid development of automotive intelligence in recent years, vehicle products are showing a trend towards integration, and the controller is a crucial product of this integration process. Automotive controllers can be functionally divided into the powertrain domain, chassis domain, cockpit domain, autonomous driving domain, and body domain. The powertrain controller is responsible for controlling the three-electric system (battery, motor, and electronic control), including the three-in-one system, battery management system, and vehicle controller; the chassis controller includes brakes, steering, airbags, and shock absorbers; the cockpit domain includes intelligent cockpits such as instrument clusters, central control screens, and head-up displays; the body controller includes wipers, windows, and car keys; the autonomous driving domain requires capabilities such as multi-sensor fusion, localization, path planning, wireless communication, decision control, and high-speed communication. Its core is the chip's processing power, and the ultimate goal is to meet the computing power requirements of autonomous driving, simplify equipment, and improve the integration of the autonomous driving system. The controller's power supply voltage is fundamental to the integration of the vehicle. Large fluctuations in the controller's power supply voltage can cause unnecessary problems for vehicle control and may even endanger the safety of passengers and the driver during operation. Therefore, ensuring the stability of the controller's power supply voltage is crucial and closely related to vehicle control. However, in the existing technology, passive protection measures are implemented for voltage through hardware circuits. But passive protection measures cannot fundamentally solve the cause of voltage abnormality. They can only cut off the voltage output, which has a significant impact on subsequent circuits.

[0033] To address the aforementioned issues, this invention acquires the power supply voltage, compares it with a preset voltage threshold, determines the voltage threshold range within which the power supply voltage exists, and adjusts the power supply voltage within this range to achieve automatic adjustment and reduce the harm caused by abnormal power supply voltage to subsequent circuits.

[0034] like Figure 1 As shown, in one embodiment of this application, the method for adjusting the controller power supply voltage includes at least the following steps:

[0035] S110, Obtain the power supply voltage;

[0036] S120. Compare the supply voltage with multiple preset voltage thresholds to determine the voltage threshold range to which the supply voltage belongs;

[0037] S130. Adjust the power supply voltage of the controller according to the voltage threshold range.

[0038] In detail, in an exemplary embodiment of this application, the preset voltage threshold includes a first voltage threshold and a second voltage threshold. The step of comparing the supply voltage with multiple preset voltage thresholds includes: when the supply voltage is less than the first voltage threshold, the voltage threshold range is a low voltage range; when the supply voltage is greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, the voltage threshold range is a normal voltage range; when the supply voltage is greater than the second voltage threshold, the voltage threshold range is a high voltage range; wherein, the first voltage threshold is less than the second voltage threshold.

[0039] It should be noted that, as Figure 2 As shown, the preset voltage thresholds include a first voltage threshold of 12V and a second voltage threshold of 17V. The supply voltage is compared with the first voltage threshold of 12V and the second voltage threshold of 17V. When the supply voltage is less than the first voltage threshold of 12V, the voltage threshold range is the low voltage range. When the supply voltage is greater than or equal to the first voltage threshold of 12V and less than or equal to the second voltage threshold of 17V, the voltage threshold range is the normal voltage range. When the supply voltage is greater than the second voltage threshold of 17V, the voltage threshold range is the high voltage range.

[0040] More specifically, in an exemplary embodiment of this application, the step of adjusting the power supply voltage of the controller when the voltage threshold range is a low-voltage range includes: sending a boost request to an external power supply system through the controller; during the time interval in which the boost request is not responded to by the external power supply system, if the power supply voltage is greater than a third voltage threshold, setting the output of the controller to a low-voltage mode; if the power supply voltage is less than or equal to the third voltage threshold, setting the power supply voltage of the controller to zero; after the external power supply system responds to the boost request, if the power supply voltage is greater than a fourth voltage threshold, setting the output of the controller to a low-voltage mode; wherein the third voltage threshold is less than the fourth voltage threshold, and the low-voltage module is used to limit the voltage output capability of the controller.

[0041] Specifically, when the voltage threshold range is in the low-voltage range, the power supply voltage of the controller is adjusted, such as... Figure 2 As shown, the third voltage threshold is 8V, and the fourth voltage threshold is 9V. Figure 3 As shown, during the 0-1 second (S) period, the supply voltage is within the normal voltage range, and the controller's voltage output capability is 100%. When the supply voltage is lower than the first voltage threshold of 12V, the controller sends a boost request to the external power supply system. During the 1-5 second (S) period, the external power supply system does not respond to the boost request, and the supply voltage shows a decreasing trend. During the 1-3 second (S) period, the supply voltage drops from the first voltage threshold of 12V to the third voltage threshold of 8V, and the controller's output is set to low-voltage mode, such as... Figure 3 As shown, the low-voltage mode is used to limit the controller's voltage output capability. When the supply voltage drops from the first voltage threshold of 12V to the third voltage threshold of 8V, the controller's voltage output capability changes with the supply voltage: from 100% to 0%. When the supply voltage is less than or equal to the third threshold voltage of 8V, the controller's voltage output capability is 0%. During 3-5 seconds (S), the supply voltage continues to drop to 6V. At the 5th second (S), the external power supply system responds to the boost request and charges the controller, causing the supply voltage to begin to rise. During 5-7 seconds (S), the supply voltage rises from 5V to the fourth voltage threshold of 9V. When the supply voltage exceeds the fourth voltage threshold of 9V, the controller's voltage output capability begins to gradually recover. During 7-9 seconds (S), the supply voltage rises from the fourth voltage threshold of 9V to the first voltage threshold of 12V, setting the controller's output to low-voltage mode. Figure 3 As shown, the low-voltage mode is used to limit the voltage output capability of the controller. When the supply voltage rises from the fourth voltage threshold of 9V to the first voltage threshold of 12V, the voltage output capability of the controller changes with the supply voltage: gradually recovering from 0% to 100%.

[0042] More specifically, in an exemplary embodiment of this application, the controller supplies power normally when the voltage threshold range is within the normal voltage range. For example... Figure 2 As shown, when the supply voltage is greater than or equal to the first voltage threshold of 12V and less than or equal to the second voltage threshold of 17V, the controller's voltage output capability is 100%. If the supply voltage is 16V, the controller outputs a supply voltage of 16V.

[0043] More specifically, in an exemplary embodiment of this application, the step of adjusting the power supply voltage of the controller when the voltage threshold range is a high-voltage range includes: sending a step-down request to an external power supply system through the controller; during the time interval in which the step-down request is not responded to by the external power supply system, if the power supply voltage is less than a fifth voltage threshold, setting the output of the controller to a high-voltage mode; if the power supply voltage is greater than or equal to the fifth voltage threshold, setting the power supply voltage of the controller to zero; after the external power supply system responds to the step-down request, if the power supply voltage is less than a sixth voltage threshold, setting the output of the controller to a high-voltage mode; wherein the fifth voltage threshold is greater than the sixth voltage threshold, and the high-voltage mode is used to limit the voltage output capability of the controller.

[0044] It should be noted that when the voltage threshold range is within the high-voltage range, the power supply voltage of the controller needs to be adjusted, such as... Figure 2 As shown, the fifth voltage threshold is 19V, and the sixth voltage threshold is 18V. Figure 4 As shown, during the 0-1 second (S) period, the supply voltage is within the normal voltage range, and the controller's voltage output capability is 100%. When the supply voltage exceeds the second voltage threshold of 17V, the controller sends a voltage reduction request to the external power supply system. During the 1-5 second (S) period, the external power supply system does not respond to the voltage reduction request, and the supply voltage shows an upward trend. During the 1-3 second (S) period, the supply voltage rises from the second voltage threshold of 17V to the fifth voltage threshold of 19V, setting the controller's output to high-voltage mode, as shown below. Figure 4 As shown, the high-voltage mode is used to limit the controller's voltage output capability. When the supply voltage rises from the second voltage threshold of 17V to the fifth voltage threshold of 19V, the controller's voltage output capability changes with the supply voltage: from 100% to 0%; when the supply voltage is greater than or equal to the fifth threshold voltage of 19V, the controller's voltage output capability is 0%; during 3-5 seconds (S), the supply voltage continues to rise to 21V; at the 5th second (S), the external power supply system responds to the voltage reduction request and discharges the controller, and the supply voltage begins to decrease. During 5-7 seconds (S), the supply voltage drops from 21V to the sixth voltage threshold of 18V. When the supply voltage is less than the sixth voltage threshold of 18V, the controller's voltage output capability begins to gradually recover. During 7-9 seconds (S), the supply voltage gradually decreases from the sixth voltage threshold of 18V to the second voltage threshold of 17V, setting the controller's output to high-voltage mode, as shown... Figure 4As shown, the high-voltage mode is used to limit the voltage output capability of the controller. When the supply voltage drops from the sixth voltage threshold of 18V to the second voltage threshold of 17V, the voltage output capability of the controller changes with the supply voltage: gradually recovering from 0% to 100%.

[0045] In a specific embodiment of this application, before obtaining the supply voltage, the method further includes filtering the initial voltage to obtain the supply voltage. Filtering the initial voltage to eliminate interference from other signals improves the accuracy of the obtained supply voltage.

[0046] This invention provides a technical solution for adjusting the power supply voltage of a controller. It obtains the filtered power supply voltage, compares it with a preset voltage threshold to determine the voltage threshold range to which the power supply voltage belongs, and adjusts the controller's voltage threshold range accordingly. If the power supply voltage is in the low-voltage range, it is boosted and the output ratio is limited; if the power supply voltage is in the normal range, it is output normally; if the power supply voltage is in the high-voltage range, it is de-energized and the output ratio is limited. This invention limits the power supply voltage based on its voltage threshold range, achieving automatic adjustment of the power supply voltage, addressing the root cause of voltage anomalies, and ensuring gradual voltage recovery, reducing damage to subsequent circuits and maintaining a long-term stable power supply voltage for the controller.

[0047] like Figure 5 As shown, the exemplary device for adjusting the controller power supply voltage includes:

[0048] Acquisition module 510 is used to acquire the power supply voltage;

[0049] Data processing module 520 is used to compare the supply voltage with multiple preset voltage thresholds to determine the voltage threshold range to which the supply voltage belongs;

[0050] The adjustment module 530 is used to adjust the power supply voltage of the controller according to the voltage threshold range.

[0051] In detail, in another exemplary embodiment, the data processing module 520 includes:

[0052] The low-voltage range unit is used to set the voltage threshold range as a low-voltage range when the supply voltage is less than a first voltage threshold; the normal range unit is used to set the voltage threshold range as a normal voltage range when the supply voltage is greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold; the high-voltage range unit is used to set the voltage threshold range as a high-voltage range when the supply voltage is greater than the second voltage threshold; wherein, the first voltage threshold is less than the second voltage threshold.

[0053] In detail, in another exemplary embodiment, the adjustment module 530 includes:

[0054] The low-voltage range adjustment unit is used to send a boost request to the external power supply system through the controller when the voltage threshold range is low-voltage. During the time interval when the boost request is not responded to by the external power supply system, if the supply voltage is greater than the third voltage threshold, the controller output is set to low-voltage mode; if the supply voltage is less than or equal to the third voltage threshold, the controller supply voltage is set to zero. After the external power supply system responds to the boost request, if the supply voltage is greater than the fourth voltage threshold, the controller output is set to low-voltage mode. The third voltage threshold is less than the fourth voltage threshold, and the low-voltage module is used to limit the voltage output capability of the controller.

[0055] In detail, in another exemplary embodiment, the adjustment module 530 further includes:

[0056] The normal voltage output unit is used to ensure that the controller is powered normally when the voltage threshold range is within the normal voltage range.

[0057] In detail, in another exemplary embodiment, the adjustment module 530 further includes:

[0058] The high-voltage range adjustment unit is used to send a voltage reduction request to the external power supply system through the controller when the voltage threshold range is in the high-voltage range. During the time interval when the voltage reduction request is not responded to by the external power supply system, if the supply voltage is less than the fifth voltage threshold, the controller output is set to high-voltage mode; if the supply voltage is greater than or equal to the fifth voltage threshold, the controller supply voltage is set to zero. After the external power supply system responds to the voltage reduction request, if the supply voltage is less than the sixth voltage threshold, the controller output is set to high-voltage mode. The fifth voltage threshold is greater than the sixth voltage threshold, and the high-voltage mode is used to limit the voltage output capability of the controller.

[0059] In detail, in another exemplary embodiment, the acquisition module 510 further includes:

[0060] The filtering unit is used to filter the initial voltage to obtain the supply voltage.

[0061] It should be noted that the device for adjusting the controller power supply voltage provided in the above embodiments and the method for adjusting the controller power supply voltage provided in the above embodiments belong to the same concept. The specific ways in which each module and unit performs its operation have been described in detail in the method embodiments, and will not be repeated here. In practical applications, the device for adjusting the controller power supply voltage provided in the above embodiments can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above, and this is not a limitation here.

[0062] Embodiments of the present invention also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the method for adjusting the controller power supply voltage provided in the above embodiments.

[0063] Figure 6 A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 6 The computer system 6 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0064] like Figure 6 As shown, the computer system 600 includes a Central Processing Unit (CPU) 601, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 602 or programs loaded from storage portion 608 into Random Access Memory (RAM) 603, such as performing the methods described in the above embodiments. The RAM 603 also stores various programs and data required for system operation. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An Input / Output (I / O) interface 605 is also connected to the bus 604.

[0065] The following components are connected to I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed into storage section 608 as needed.

[0066] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by central processing unit (CPU) 601, it performs various functions defined in the system of this application.

[0067] Another aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method for adjusting the controller power supply voltage as described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not incorporated into the electronic device.

[0068] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0069] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0070] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0071] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.

Claims

1. A method for adjusting the power supply voltage of a controller, characterized in that, The method includes: Obtain the power supply voltage; The supply voltage is compared with multiple preset voltage thresholds to determine the voltage threshold range to which the supply voltage belongs; The power supply voltage of the controller is adjusted according to the voltage threshold range; The preset voltage threshold includes a first voltage threshold and a second voltage threshold. When the supply voltage is less than the first voltage threshold, the voltage threshold range is a low-voltage range; when the supply voltage is greater than the second voltage threshold, the voltage threshold range is a high-voltage range; wherein the first voltage threshold is less than the second voltage threshold. When the voltage threshold range is a low-voltage range, the step of adjusting the power supply voltage of the controller includes: The controller sends a boost request to the external power supply system. During the time interval in which the boost request is not responded to by the external power supply system, if the supply voltage is greater than a third voltage threshold, the output of the controller is set to low voltage mode; if the supply voltage is less than or equal to the third voltage threshold, the supply voltage of the controller is set to zero. After the external power supply system responds to the boost request, if the supply voltage is greater than a fourth voltage threshold, the output of the controller is set to low voltage mode. Wherein, the third voltage threshold is less than the fourth voltage threshold, and the low-voltage mode is used to limit the voltage output capability of the controller; When the voltage threshold range is a high voltage range, the step of adjusting the power supply voltage of the controller includes: The controller sends a step-down request to the external power supply system. During the time interval in which the external power supply system does not respond to the voltage reduction request, if the power supply voltage is less than the fifth voltage threshold, the output of the controller is set to high voltage mode; if the power supply voltage is greater than or equal to the fifth voltage threshold, the power supply voltage of the controller is set to zero.

2. The method for adjusting the controller power supply voltage according to claim 1, characterized in that, The step of comparing the supply voltage with multiple preset voltage thresholds includes: When the supply voltage is greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, the voltage threshold range is the normal voltage range.

3. The method for adjusting the controller power supply voltage according to claim 2, characterized in that, When the voltage threshold range is within the normal voltage range, the controller supplies power normally.

4. The method for adjusting the controller power supply voltage according to claim 1, characterized in that, When the voltage threshold range is a high voltage range, the step of adjusting the power supply voltage of the controller includes: After the external power supply system responds to the voltage reduction request, if the supply voltage is less than the sixth voltage threshold, the output of the controller is set to high voltage mode. Wherein, the fifth voltage threshold is greater than the sixth voltage threshold, and the high-voltage mode is used to limit the voltage output capability of the controller.

5. The method for adjusting the controller power supply voltage according to claim 1, characterized in that, Before obtaining the supply voltage, the method further includes filtering the initial voltage to obtain the supply voltage.

6. A device for adjusting the power supply voltage of a controller, characterized in that, The device includes: The acquisition module is used to obtain the power supply voltage; The data processing module is used to compare the power supply voltage with multiple preset voltage thresholds to determine the voltage threshold range to which the power supply voltage belongs; An adjustment module is used to adjust the power supply voltage of the controller according to the voltage threshold range; The preset voltage threshold includes a first voltage threshold and a second voltage threshold. When the supply voltage is less than the first voltage threshold, the voltage threshold range is a low-voltage range; when the supply voltage is greater than the second voltage threshold, the voltage threshold range is a high-voltage range; wherein the first voltage threshold is less than the second voltage threshold. When the voltage threshold range is a low-voltage range, the step of adjusting the power supply voltage of the controller includes: The controller sends a boost request to the external power supply system. During the time interval in which the boost request is not responded to by the external power supply system, if the supply voltage is greater than the third voltage threshold, the output of the controller is set to low voltage mode; if the supply voltage is less than or equal to the third voltage threshold, the supply voltage of the controller is set to zero. After the external power supply system responds to the boost request, if the supply voltage is greater than the fourth voltage threshold, the output of the controller is set to low voltage mode. Wherein, the third voltage threshold is less than the fourth voltage threshold, and the low-voltage mode is used to limit the voltage output capability of the controller; When the voltage threshold range is a high voltage range, the step of adjusting the power supply voltage of the controller includes: The controller sends a step-down request to the external power supply system. During the time interval in which the external power supply system does not respond to the voltage reduction request, if the power supply voltage is less than the fifth voltage threshold, the output of the controller is set to high voltage mode; if the power supply voltage is greater than or equal to the fifth voltage threshold, the power supply voltage of the controller is set to zero.

7. The device for adjusting the power supply voltage of the controller according to claim 6, characterized in that, The data processing module includes: A normal range unit is used to set the voltage threshold range as a normal voltage range when the supply voltage is greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold.

8. An electronic device, characterized in that, The electronic device includes: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the method of adjusting the controller power supply voltage as described in any one of claims 1 to 5.

9. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by the computer's processor, causes the computer to perform the method of adjusting the controller power supply voltage as described in any one of claims 1 to 5.