Vehicle controller power terminal assignment method, apparatus, and computer program product

By automating the determination of the correspondence between vehicle functions and controllers and power modes, the efficiency and accuracy of vehicle power mode allocation are solved, and the power terminal allocation is made fast and accurate.

CN120735593BActive Publication Date: 2025-11-18FAW VOLKSWAGEN AUTOMOTIVE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511212139.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-28
Publication Date
2025-11-18
Estimated Expiration
2045-08-28

AI Technical Summary

Technical Problem

During the development of pure electric vehicle platforms, the power mode allocation of the entire vehicle functions needs to be handled manually, which results in high manpower consumption, slow speed and easy errors.

Method used

By acquiring the correspondence between vehicle functions and controllers, power modes and power terminals, the system automatically traverses and determines the highest priority power mode as the selected power mode, thereby achieving automatic allocation of power terminals.

Benefits of technology

It achieves automated allocation of power supply and wake-up terminals, and quickly and accurately provides the power terminal allocation results for the vehicle controller, improving efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120735593B_ABST
    Figure CN120735593B_ABST
Patent Text Reader

Abstract

The application provides a vehicle controller power terminal distribution method, device and computer program product, and relates to the technical field of power supply of vehicle auxiliary equipment. The method comprises the following steps: acquiring the correspondence between vehicle functions and controllers, the correspondence between vehicle functions and power modes, and the correspondence between power modes and power terminals; for each controller to be distributed, the following steps are performed: determining the functions associated with the current controller to be distributed according to the correspondence between vehicle functions and controllers; determining the power mode corresponding to the associated functions according to the correspondence between vehicle functions and power modes; determining the power mode with the highest priority among the power modes corresponding to all the associated functions as the selected power mode; and determining the power terminal corresponding to the selected power mode as the power terminal of the current controller to be distributed according to the correspondence between power modes and power terminals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power supply technology for vehicle auxiliary equipment, specifically to a method, device, and computer program product for allocating power terminals for a vehicle controller. Background Technology

[0002] During the development of a pure electric vehicle platform, it is necessary to determine the power mode of the entire vehicle. This includes clarifying which power modes the vehicle functions operate in and the controllers related to these functions, in order to allocate power supply terminals and wake-up terminals, thereby supporting the wiring harness design.

[0003] The platform functions involved in the whole vehicle usually have hundreds of functions, which are numerous and involve chart inspection. Currently, these functions need to be processed manually by staff, which consumes a lot of manpower, is slow, and is prone to errors. Summary of the Invention

[0004] To address the aforementioned problems in the prior art, in a first aspect, embodiments of the present invention provide a vehicle controller power terminal allocation method. The method includes: obtaining the correspondence between vehicle functions and controllers, the correspondence between vehicle functions and power modes, and the correspondence between power modes and power terminals, wherein each vehicle function corresponds to one or more controllers, each vehicle function corresponds to one or more power modes, each power mode corresponds to one power terminal, and the power modes include a first power mode, a second power mode, a third power mode, and a fourth power mode; traversing the controllers to be allocated, and performing the following steps for each controller to be allocated. Step: For the currently assigned controller, based on the correspondence between vehicle functions and controllers, determine the functions associated with the currently assigned controller; based on the correspondence between vehicle functions and power modes, determine the power mode corresponding to the associated functions; select the power mode with the highest priority among all power modes associated with the currently assigned controller, wherein the power modes have the following priorities from highest to lowest: first power mode, second power mode, third power mode, and fourth power mode; based on the correspondence between power modes and power terminals, determine the power terminal corresponding to the selected power mode as the power terminal of the currently assigned controller.

[0005] In some implementations, determining the highest-priority power mode among all power modes associated with the currently assigned controller as the selected power mode includes: traversing all power modes associated with the currently assigned controller in descending order of power mode priority, and performing the following steps during the traversal of the current priority: determining whether a power mode of the current priority exists among the corresponding power modes; if so, determining the current priority power mode as the selected power mode and terminating the traversal of all power modes associated with the currently assigned controller; if not, proceeding to the traversal of a priority level lower than the current priority.

[0006] In some implementations, determining the highest priority power mode among all power modes associated with the currently assigned controller as the selected power mode includes: finding the highest priority power mode among the power modes associated with each associated function as the highest priority power mode for that function; and determining the highest priority power mode among the highest priority power modes of each function associated with the currently assigned controller as the selected power mode.

[0007] In some implementations, determining the power mode corresponding to the associated function and selecting the highest-priority power mode among all power modes associated with the currently assigned controller, based on the correspondence between the vehicle functions and power modes, includes: performing the following steps in the current priority traversal according to the power mode priority from high to low: determining the power mode corresponding to the current function among the associated functions; determining whether a power mode of the current priority exists among the power modes corresponding to the current function; if yes, then selecting the current priority power mode as the selected power mode and terminating the traversal; if no, then taking the next function among the associated functions as the current function and repeating the steps of determining the corresponding power mode and determining whether a power mode of the current priority exists; if no power mode of the current priority exists among all power modes corresponding to the functions in the associated functions, then proceeding to the traversal of a priority level lower than the current priority.

[0008] In some implementations, obtaining the correspondence between vehicle functions and controllers, and the correspondence between vehicle functions and power modes, includes: identifying information from the functional design documents of each function in the vehicle functions, identifying the power mode information and controller information in the functional design documents; and generating the correspondence between vehicle functions and controllers and the correspondence between vehicle functions and power modes based on the power mode information and controller information of each function in the vehicle functions.

[0009] In some implementations, information identification of the functional design document for each function in the vehicle's functions includes: constructing a dictionary including function name, controller name, and power mode name; matching the descriptive text of the functional design document for each function in the vehicle's functions in the dictionary to obtain the power mode information and controller information in the functional design document.

[0010] In some implementations, the first power mode is a sleep mode; the second power mode is a wake-up mode; the third power mode is a standby mode; and the fourth power mode is a drive mode.

[0011] In some implementations, the power terminal corresponding to the sleep mode is KL30; the power terminal corresponding to the wake-up mode is KL30 delay; the power terminal corresponding to the standby mode is KL15; and the power terminal corresponding to the drive mode is KL15.

[0012] In a second aspect, embodiments of the present invention provide a vehicle controller power terminal distribution device, the device including a memory and a processor, the memory storing a computer program that, when executed by the processor, implements the vehicle controller power terminal distribution method described in any of the above embodiments.

[0013] In a third aspect, embodiments of the present invention provide a computer program product including computer-readable instructions that, when executed by a processor, perform the steps of the vehicle controller power terminal allocation method described in any of the above embodiments.

[0014] The vehicle controller power terminal allocation method, device, and computer program product proposed in the embodiments of the present invention can automatically complete the power supply and wake-up terminal allocation work, and can batch process the relationship between vehicle functions and controllers and power modes, and quickly and accurately give the result of vehicle controller power terminal allocation. Compared with manual processing by staff, it is faster, more efficient, and more accurate. Attached Figure Description

[0015] The above and other objects, features, and advantages of embodiments of the present invention will become readily apparent from the following detailed description taken in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated in the drawings by way of example and not limitation, wherein:

[0016] Figure 1 A flowchart illustrating an example of a vehicle controller power terminal allocation method according to an embodiment of the present invention is shown.

[0017] Figure 2A schematic diagram is shown illustrating the correspondence between vehicle functions and controllers, and the correspondence between vehicle functions and power modes according to an embodiment of the present invention.

[0018] Figure 3 A schematic diagram illustrating an example of the output result of a vehicle controller power terminal allocation method according to an embodiment of the present invention is shown.

[0019] Figure 4 A flowchart illustrating an example of a first embodiment of determining a selected power mode according to an embodiment of the present invention is shown;

[0020] Figure 5 A flowchart illustrating an example of a second embodiment of determining a selected power mode according to an embodiment of the present invention is shown;

[0021] Figure 6 A flowchart illustrating an example of a third embodiment of determining a selected power mode according to an embodiment of the present invention is shown.

[0022] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts. Detailed Implementation

[0023] The principles and spirit of the present invention will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are given merely to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way.

[0024] In one aspect, embodiments of the present invention provide a method for distributing power terminals to a vehicle controller. (See reference...) Figure 1 This illustrates a flowchart of an example of a vehicle controller power terminal allocation method according to an embodiment of the present invention. Figure 1 As shown, the vehicle controller power terminal distribution method may include steps S101-S107.

[0025] In step S101, the correspondence between vehicle functions and controllers, the correspondence between vehicle functions and power modes, and the correspondence between power modes and power terminals are obtained. Each vehicle function corresponds to one or more controllers, each vehicle function corresponds to one or more power modes, and each power mode corresponds to one power terminal. Power modes include a first power mode (mode 1), a second power mode (mode 2), a third power mode (mode 3), and a fourth power mode (mode 4).

[0026] As an example, in some car models, many functions require multiple controllers to work together, for example:

[0027] 1. Emergency brake light function: taillight controller, body domain controller, brake controller, gateway;

[0028] 2. Turn signal functions: left front light controller, right front light controller, taillight controller, body control, left door controller, right door controller, steering column switch, gateway;

[0029] 3. Automatic Home Lighting Function: Left Headlight Controller, Right Headlight Controller, Taillight Controller, Vehicle Domain Controller, Gateway, Bluetooth Main Module Controller, Ambient Light Controller, Gateway, Sunlight and Rain Sensor;

[0030] 4. Seat ventilation function: entertainment host, vehicle screen, gateway, vehicle domain control, air conditioning controller;

[0031] 5. Three-zone climate control function: entertainment host, vehicle infotainment screen, gateway, vehicle domain control, and climate control controller;

[0032] 6. Automatic locking and unlocking function: door controller left, door controller right, gateway, body domain controller, brake controller;

[0033] 7. Electric door and window adjustment function: left door controller, right door controller, gateway, body domain controller, airbag controller.

[0034] refer to Figure 2 It illustrates a schematic diagram showing the correspondence between vehicle functions and controllers, and the correspondence between vehicle functions and power modes, according to an embodiment of the present invention. The vehicle functions include K functions, and the vehicle controllers include n controllers. There is a correspondence between functions and controllers, i.e. Figure 2 The function column and controller column; the functions correspond to the power modes, i.e. Figure 2 The functions and modes are listed in columns 1-4. Taking function 1 as an example, the controllers corresponding to function 1 include controller (1), controller (5), controller (7), and controller (16). The power modes corresponding to function 1 include the first power mode (mode 1), the second power mode (mode 2), and the third power mode (mode 3). For clarity, the power modes corresponding to the functions are indicated by checking the corresponding modes in the column. It should be noted that... Figure 2 The correspondence table shown is for illustrative purposes only. In actual operation, these correspondences may be represented in different storage formats or data structures to adapt to the following processing steps. This invention does not impose any limitations in this regard.

[0035] As one embodiment of the present invention, obtaining the correspondence between vehicle functions and controllers, and the correspondence between vehicle functions and power modes includes: identifying information from the functional design documents of each function in the vehicle functions, identifying power mode information and controller information in the functional design documents; and generating the correspondence between vehicle functions and controllers and the correspondence between vehicle functions and power modes based on the power mode information and controller information of each function in the vehicle functions.

[0036] Typically, the power modes in which vehicle functions operate and which controllers are required to perform these functions are determined during the functional design phase; this information is part of the functional design document. This implementation uses an automated solution to automatically identify information from the functional design document for each function, exporting its power mode information and controller information, generating data such as… Figure 2 The table shown.

[0037] Furthermore, as an embodiment of the present invention, the information identification of the functional design document of each function in the whole vehicle function includes: constructing a dictionary including function name, controller name and power mode name; matching the descriptive text of the functional design document of each function in the whole vehicle function in the dictionary to obtain the power mode information and controller information in the functional design document.

[0038] Next, the controllers to be assigned (i.e., controllers that have not yet been assigned power terminals) are traversed, and steps S102-S105 are performed for each controller to be assigned.

[0039] In step S102, for the current controller to be assigned, the functions associated with the current controller to be assigned are determined according to the correspondence between vehicle functions and controllers.

[0040] In step S103, the power mode corresponding to the associated function is determined according to the correspondence between the vehicle functions and the power mode.

[0041] In step S104, the power mode with the highest priority among all the power modes associated with the functions of the controller to be assigned is determined as the selected power mode. The power modes are ranked from highest to lowest as follows: first power mode, second power mode, third power mode, and fourth power mode.

[0042] In step S105, based on the correspondence between power modes and power terminals, the power terminal corresponding to the selected power mode is determined as the power terminal of the controller to be assigned.

[0043] As an example only, the traversal of the controller is achieved through steps S106-S107.

[0044] In step S106, it is determined whether the controller to be assigned is the last one among the controllers to be assigned.

[0045] If so, the method ends, at which point power terminals have been determined for all controllers to be assigned.

[0046] If not, proceed to step S107: designate the next controller to be assigned as the current controller to be assigned. Then return to step S102.

[0047] According to the implementation method of the vehicle controller power terminal allocation method described above, the following allocation effects can be achieved when allocating power terminals to the controller: If the controller participates in the implementation of a certain function, and the function operates in the first power mode, then the power supply terminals of the controller are powered through the power terminal corresponding to the first power mode, and there is no need to continue traversing through the traversal algorithm. If all functions in which the controller participates do not operate in the first power mode, but operate in the second power mode, then the power supply terminals of the controller are powered through the power terminal corresponding to the second power mode, and there is no need to continue traversing through the traversal algorithm. If all functions in which the controller participates do not operate in the first power mode or the second power mode, but operate in the third power mode, then the power supply terminals of the controller are powered through the power terminal corresponding to the third power mode, and there is no need to continue traversing through the traversal algorithm. If all functions in which the controller participates do not operate in the first power mode, the second power mode, or the third power mode, but operate in the fourth power mode, then the power supply terminals of the controller are powered through the power terminal corresponding to the fourth power mode, and there is no need to continue traversing through the traversal algorithm.

[0048] In one embodiment of the present invention, the first power mode is a sleep mode, the second power mode is an awake mode, the third power mode is a standby mode, and the fourth power mode is a driving mode. Based on the power mode priorities defined above, in this current embodiment, the priorities of each power mode are: sleep mode > awake mode > standby mode > driving mode.

[0049] As one embodiment of the present invention, the power terminal corresponding to the sleep mode is KL30; the power terminal corresponding to the wake-up mode is KL30_delay (or KL30D); the power terminal corresponding to the standby mode is KL15; and the power terminal corresponding to the drive mode is KL15.

[0050] Combining the above-described methods for determining power modes and power terminals, the following effects can be achieved according to the implementation method of the vehicle controller power terminal allocation method described above: When a controller needs to operate in sleep mode, power supply KL30 is allocated to the controller because other power supplies cannot meet the controller's operating requirements in sleep power mode. When a controller is not in sleep mode but in wake-up mode, power supply KL30D is allocated to the controller. When a controller is not in sleep mode or wake-up mode but in standby mode, power supply KL15 is allocated to the controller. When a controller is not in sleep mode, wake-up mode, or standby mode but in drive mode, power supply KL15 is allocated to the controller.

[0051] refer to Figure 3 The diagram illustrates an example of the output result of a vehicle controller power terminal allocation method according to an embodiment of the present invention. The diagram shows the power terminals allocated to the vehicle controllers (1)-(n) respectively.

[0052] The vehicle controller power terminal allocation method proposed by the embodiments of the present invention can batch process the relationship between vehicle functions and controllers and power modes, and quickly and accurately give the result of vehicle controller power terminal allocation. Compared with manual processing by staff, it is faster, more efficient and more accurate.

[0053] As a first embodiment of the step of determining the selected power mode, the highest priority power mode among all power modes associated with the currently assigned controller can be determined as the selected power mode through the following steps: Following the order of power mode priority from high to low, traverse all power modes associated with the currently assigned controller, and in the traversal of the current priority, perform the following steps: determine whether a power mode of the current priority exists among the corresponding power modes; if so, determine the current priority power mode as the selected power mode and terminate the traversal of all power modes associated with the currently assigned controller; if not, proceed to the traversal of the priority level one level lower than the current priority.

[0054] refer to Figure 4 The diagram illustrates a flowchart of an example of a first embodiment of determining a selected power mode according to an embodiment of the present invention. In this example, determining the power mode with the highest priority among all power modes corresponding to the functions associated with the currently assigned controller as the selected power mode may include steps S401-S408.

[0055] In step S401, the priority of the first power mode is set as the current priority.

[0056] In step S402, the first of all the power modes corresponding to the functions associated with the currently assigned controller is taken as the current power mode.

[0057] In step S403, it is determined whether the current power mode is the power mode with the current priority among all the power modes corresponding to the functions associated with the current controller to be assigned.

[0058] If the determination in step S403 is yes, then step S404 is executed: the power mode of the current priority is determined as the selected power mode, and the traversal of the power modes corresponding to all functions associated with the currently assigned controller is terminated.

[0059] If the determination in step S403 is negative, then proceed to step S405: determine whether the current power mode is the last of all power modes corresponding to the functions associated with the controller to be assigned.

[0060] If the determination in step S405 is negative, then proceed to step S406: take the next power mode from all the power modes corresponding to the functions associated with the controller to be assigned as the current power mode, and go to step S403.

[0061] If the determination in step S405 is yes, it means that there is no power mode with the current priority among all the power modes corresponding to the functions associated with the controller to be assigned. Then, proceed to step S407: determine whether the current priority is the lowest priority.

[0062] If the determination in step S407 is yes, it means that traversal has been performed for all priorities, and the process of determining the selected power mode has ended.

[0063] If the determination in step S407 is negative, then step S408 is executed: the priority one level lower than the current priority is re-established as the current priority, and then the process returns to step S402, thus proceeding to the traversal of the priority one level lower than the current priority.

[0064] It is important to note that, in Figure 4 In the flowchart shown, the "End" box indicates the end of the "Confirm Selected Power Mode" process, not the end of the vehicle controller power terminal allocation method.

[0065] In the vehicle controller power terminal allocation method, which includes the process of determining the selected power mode described in the first embodiment above, two layers of traversal are performed: first, traversing the entire vehicle controller, and second, traversing the entire vehicle function.

[0066] For clarity and illustrative purposes, the overall allocation method, including the embodiments described above, is illustrated below in pseudocode form.

[0067] The input for power terminal allocation is a function list, which maps vehicle functions to vehicle controllers and vehicle power modes. Figure 2 The table shown shows the output of the power terminal assignment, which is a list of the controller and the assigned power terminals.

[0068] Assume C is the flag bit for vehicle controller traversal; F is the flag bit for vehicle function traversal.

[0069] The vehicle controllers are controller(1), controller(2), controller(3), ..., controller(n), which are just examples, n≈40. By default, the flag bits of all controllers are 0, that is, controller(1)=controller(2)=controller(3)=... …=controller(n)=0.

[0070] The vehicle functions are function(1), function(2), function(3), ..., function(k), which are just examples, and k≈300. By default, the flag bits of all vehicle functions are 0, that is, function(1)=function(2)=function(3)=……=function(k)=0. terminal is the power supply terminal to be allocated to the controller.

[0071] Power modes 1 through 4 are: sleep, wake, standby, and driving, respectively.

[0072] The pseudocode is as follows:

[0073] Input: the function list

[0074] Output: the list of terminals

[0075] controller1=controller2=controller3=… …=controllern=0;

[0076] function1=function2=function3=… …=functionn=0;

[0077] The `while any controllerX == 0` loop iterates through the controllers, and when a controller's flag is 0, it returns a value.

[0078] function(controllerX)=1; sets the flag of the function associated with this controller to 1;

[0079] While n=4, iterate through the power modes of functions with the flag bit set to 1; iterate through the power modes according to their priority: mode1, mode2, mode3, mode4.

[0080] If mode(function) == mode1, terminate the power mode iteration.

[0081] terminal(controllerX) = KL30; This controller terminal is KL30.

[0082] else if mode(function == mode2, if the power mode is mode2, terminate the power mode iteration.

[0083] terminal(controllerX) = KL30_delay; This controller terminal is KL30_delay.

[0084] else if mode(function == mode3, if the power mode is mode3, terminate the power mode iteration.

[0085] terminal(controllerX) = KL15; This controller terminal is KL15.

[0086] else if mode(function == mode4, if the power mode is mode4, terminate the power mode iteration.

[0087] terminal(controllerX) = KL15; This controller terminal is KL15.

[0088] end

[0089] controllerX=1; This controller flag is set to 1.

[0090] function(controllerX)=0; The function flag is set to 0.

[0091] `End` terminates the function iteration and the controller iteration.

[0092] As a second embodiment for determining the selected power mode, refer to Figure 5 The diagram illustrates an example flowchart of a second embodiment of determining a selected power mode according to an embodiment of the present invention. Determining the power mode with the highest priority among all power modes corresponding to the functions associated with the currently assigned controller as the selected power mode may include steps S501-S502.

[0093] In step S501, the power mode with the highest priority among the power modes corresponding to each associated function is found and used as the highest priority power mode for that function.

[0094] In step S502, the highest priority power mode among the highest priority power modes of each function associated with the currently assigned controller is determined as the selected power mode.

[0095] As a third embodiment for determining the selected power mode, based on the correspondence between vehicle functions and power modes, determining the power mode corresponding to the associated function and identifying the highest-priority power mode among all power modes associated with the currently assigned controller as the selected power mode can be achieved through the following steps. Following the order of power mode priority from high to low, the following steps are performed during the traversal of the current priority: determining the power mode corresponding to the current function among the associated functions; determining whether a power mode of the current priority exists among the power modes corresponding to the current function; if so, identifying the current-priority power mode as the selected power mode and terminating the traversal; if not, taking the next function among the associated functions as the current function and repeating the steps of determining the corresponding power mode and determining whether a power mode of the current priority exists; if no power mode of the current priority exists among the power modes corresponding to all functions in the associated functions, proceeding to the traversal of a priority level lower than the current priority.

[0096] refer to Figure 6 The document illustrates a flowchart of an example of a third embodiment of determining a selected power mode according to an embodiment of the present invention. Based on the correspondence between vehicle functions and power modes, determining the power mode corresponding to the associated function and identifying the highest priority power mode among all power modes associated with the currently assigned controller as the selected power mode can be specifically achieved through… Figure 6 The steps shown are to be followed to achieve this.

[0097] In step S601, the priority of the first power mode is set as the current priority.

[0098] In step S602, the first function among the associated functions is selected as the current function.

[0099] In step S603, the power mode corresponding to the current function in the associated functions is determined according to the correspondence between vehicle functions and power modes.

[0100] In step S604, it is determined whether there is a power mode with the current priority in the power modes corresponding to the current function.

[0101] If the determination in step S604 is yes, then step S605 is executed: the power mode of the current priority is determined as the selected power mode, and the traversal is terminated.

[0102] If the determination in step S604 is negative, then proceed to step S606: determine whether the current function is the last of the associated functions.

[0103] If the determination in step S606 is negative, then step S607 is executed: the next function in the associated functions is taken as the current function, and then the process proceeds to step S603.

[0104] If the determination in step S606 is yes, it means that there is no power mode with the current priority in the power modes corresponding to all functions in the associated functions, then step S608 is executed: determine whether the current priority is the lowest priority.

[0105] If the determination in step S608 is yes, it means that traversal has been performed for all priorities, and the process ends.

[0106] If the determination in step S608 is negative, then step S609 is executed: the priority one level lower than the current priority is taken as the current priority, and then the process goes to step S602, so that the traversal of the function can be performed for the next priority.

[0107] According to the third embodiment of determining the selected power mode, the power mode correspondence (S603) and priority judgment (S604) can be performed for each function. When there is a higher priority power mode in the power mode corresponding to a certain function, it is not necessary to determine the power mode corresponding to other functions, nor is it necessary to perform traversal of functions for lower priority, thereby reducing the execution steps and saving computing power.

[0108] It is important to note that, in Figure 6 In the flowchart shown, the "End" box indicates the end of the "Confirm Selected Power Mode" process, not the end of the vehicle controller power terminal allocation method.

[0109] On the other hand, embodiments of the present invention provide a vehicle controller power terminal distribution device, the device including a memory and a processor, the memory storing a computer program, which, when executed by the processor, implements the vehicle controller power terminal distribution method described in any of the foregoing embodiments.

[0110] In another aspect, embodiments of the present invention provide a computer program product including computer-readable instructions that, when executed by a processor, perform the steps of the vehicle controller power terminal allocation method described in any of the foregoing embodiments.

[0111] The vehicle controller power terminal allocation method, device, and computer program product proposed by the embodiments of the present invention can automatically complete the power supply and wake-up terminal allocation work, and can batch process the relationship between vehicle functions and controllers and power modes, and quickly and accurately give the result of vehicle controller power terminal allocation. Compared with manual processing by staff, it is faster, more efficient, and more accurate.

[0112] The foregoing description of embodiments of the invention has been given for illustrative purposes and is not exhaustive, nor is it intended to limit the invention to the exact forms disclosed. Those skilled in the art will understand that various changes can be made without departing from the scope of the invention, and elements therein can be substituted with equivalents. Furthermore, many modifications can be made to adapt particular situations or materials to the teachings of the invention without departing from the basic scope of the invention. Therefore, the invention is not intended to be limited to the specific embodiments disclosed as the best mode contemplated for carrying out the invention; the invention will include all embodiments falling within the scope of the appended claims.

Claims

1. A method for distributing power terminals to a vehicle controller, characterized in that, The method includes: The system obtains the correspondence between vehicle functions and controllers, the correspondence between vehicle functions and power modes, and the correspondence between power modes and power terminals. Each function in the vehicle corresponds to one or more controllers, each function in the vehicle corresponds to one or more power modes, each power mode corresponds to one power terminal, and the power modes include a first power mode, a second power mode, a third power mode, and a fourth power mode. Iterate through the controllers to be assigned, and perform the following steps for each controller: For the controller to be assigned, the functions associated with the controller to be assigned are determined according to the correspondence between the vehicle functions and the controllers. Based on the correspondence between the vehicle functions and power modes, determine the power mode corresponding to the associated functions; The highest priority power mode among all the power modes associated with the functions of the currently assigned controller is determined as the selected power mode. The power modes are prioritized from highest to lowest as follows: first power mode, second power mode, third power mode, and fourth power mode. Based on the correspondence between the power mode and the power terminal, the power terminal corresponding to the selected power mode is determined as the power terminal of the controller to be assigned.

2. The vehicle controller power terminal distribution method according to claim 1, characterized in that, The highest priority power mode among all power modes associated with the functions of the currently assigned controller is selected as the power mode, including: According to the power mode priority from high to low, traverse the power modes corresponding to all functions associated with the currently assigned controller, and perform the following steps in the traversal of the current priority: Determine if a power mode with the current priority exists in the corresponding power modes; If so, the current priority power mode is determined as the selected power mode, and the traversal of the power modes corresponding to all functions associated with the currently assigned controller is terminated. If not, then proceed to the traversal of the next lower priority level.

3. The vehicle controller power terminal distribution method according to claim 1, characterized in that, The highest priority power mode among all power modes associated with the functions of the currently assigned controller is selected as the power mode, including: Find the highest priority power mode among the power modes corresponding to each associated function, and use it as the highest priority power mode for that function. The highest priority power mode among the highest priority power modes of each function associated with the currently assigned controller is determined as the selected power mode.

4. The vehicle controller power terminal distribution method according to claim 1, characterized in that, Based on the correspondence between the vehicle functions and power modes, determining the power mode corresponding to the associated function and selecting the highest priority power mode among all power modes associated with the currently assigned controller includes: In descending order of power mode priority, perform the following steps during the current priority traversal: Determine the power mode corresponding to the current function among the associated functions; Determine whether a power mode with the current priority exists in the power modes corresponding to the current function. If so, the current priority power mode is determined as the selected power mode, and the traversal is terminated; If not, then the next function in the associated functions will be taken as the current function, and the steps of determining the corresponding power mode and determining whether there is a power mode with the current priority will be repeated. If none of the power modes corresponding to the current priority exist in the power modes of all the associated functions, then proceed to the traversal of the priority level one level lower than the current priority.

5. The vehicle controller power terminal distribution method according to any one of claims 1-4, characterized in that, Obtaining the correspondence between vehicle functions and controllers, and the correspondence between vehicle functions and power modes, includes: Information identification is performed on the functional design documents of each function in the whole vehicle, and the power mode information and controller information in the functional design documents are identified. Based on the power mode information and controller information of each function in the vehicle, the correspondence between the vehicle functions and the controller and the correspondence between the vehicle functions and the power mode are generated.

6. The vehicle controller power terminal distribution method according to claim 5, characterized in that, Information identification from the functional design documents of each function in the overall vehicle system includes: Construct a dictionary that includes function names, controller names, and power mode names; The description text of the functional design document for each function in the whole vehicle is matched in the dictionary to obtain the power mode information and controller information in the functional design document.

7. The vehicle controller power terminal distribution method according to any one of claims 1-4, characterized in that, The first power mode is sleep mode; The second power mode is wake-up mode; The third power mode is standby mode; The fourth power mode is the drive mode.

8. The vehicle controller power terminal distribution method according to claim 7, characterized in that, The power terminal corresponding to the sleep mode is KL30; The power terminal corresponding to the wake-up mode is the KL30 delay; The power terminal corresponding to the standby mode is KL15; The power terminal corresponding to the driving mode is KL15.

9. A vehicle controller power terminal distribution device, characterized in that, The device includes a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, implements the vehicle controller power terminal distribution method according to any one of claims 1-8.

10. A computer program product comprising computer-readable instructions, characterized in that, When the instruction is executed by the processor, the steps of the vehicle controller power terminal allocation method according to any one of claims 1-8 are performed.

Citation Information

Patent Citations

  • Whole vehicle power supply control system and control method based on vehicle use mode

    CN119636408A

  • Power management method and device of vehicle, vehicle and storage medium

    CN120207248A