Method, device, electronic equipment and readable medium for setting vehicle domain controller
By dividing functional devices into device groups and optimizing the location and number of domain controllers, the problem of excessively long or complex wiring harnesses caused by unreasonable domain controller layout is solved, achieving cost and weight savings.
Patent Information
- Application Number
- CN202410803037.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2044-06-20
AI Technical Summary
In existing technologies, the unreasonable location and functional allocation of domain controllers result in excessively long or complex wiring harnesses, increasing the cost and weight of automobiles.
Based on the location and function of functional devices in the vehicle, they are divided into device groups, and the number and location of domain controllers are determined according to their location. The wiring harness length is optimized until the preset wiring harness conditions are met.
The functional development plan of the domain controller was optimized, which saved on wiring harness usage and reduced the overall vehicle material cost.
Smart Images

Figure CN118618216B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, in particular to a setting method of a vehicle domain controller, a setting device of a vehicle domain controller, an electronic device and a computer readable medium. BACKGROUND
[0002] With the progress of electronic and electrical technology, the intelligent level of automobiles is continuously improved, and the automobile architecture is also changing from distributed control to domain integrated control. The domain controller integrates more functions, but in the process of integrating multiple functions into the domain controller, the existing technology mainly considers the computing power of the chip and the cost of the integrated circuit, without considering their position arrangement and function distribution within the vehicle. With the continuous rise of raw material costs, the cost proportion of automobile wiring harness in the electrical system is gradually increasing. As the hub of the wiring harness system, the function distribution and arrangement position of the domain controller have an important influence on the design and performance of the entire wiring harness system. If the position arrangement and function distribution of the domain controller are unreasonable, it may cause the wiring harness to be too long or too complex, increasing the cost and weight. SUMMARY
[0003] The embodiments of the present application provide a setting method, device, electronic device and computer readable storage medium of a vehicle domain controller, to solve the problem that if the position arrangement and function distribution of the domain controller are unreasonable, it may cause the wiring harness to be too long or too complex, increasing the cost and weight.
[0004] The embodiments of the present application disclose a setting method of a vehicle domain controller, applied to a vehicle, the vehicle comprising at least one domain controller and at least one functional device, the domain controller being used to connect with the functional device through a wiring harness, the method comprising:
[0005] Based on the position of the functional device in the vehicle and the function of the functional device, the functional device is divided into at least one device group;
[0006] According to the position of the functional device, the position of the domain controller in the vehicle and the number of the domain controllers are determined;
[0007] For any device group, based on the wiring harness length of the functional device in the device group connected with any domain controller, a target domain controller connected with the device group is determined;
[0008] The target wiring harness length of the functional device in the device group connected with the target domain controller is determined respectively;
[0009] Based on the target wiring harness length, it is judged whether the wiring harness of the vehicle meets a preset wiring harness condition;
[0010] If the vehicle's wiring harness does not meet the preset wiring harness conditions, adjust at least one of the functional devices included in the device group, the location of the domain controller, and the number of the domain controllers until the vehicle's wiring harness meets the preset wiring harness conditions.
[0011] Optionally, the method includes:
[0012] If the vehicle's wiring harness meets the preset wiring harness conditions, determine the number of target domain controllers;
[0013] If the number of target domain controllers is less than the number of domain controllers, then based on the location of the domain controllers, remove the domain controllers that are not connected to the functional devices in the device group.
[0014] Optionally, the step of adjusting at least one of the functional devices included in the device group, the location of the domain controller, and the number of the domain controllers if the vehicle's wiring harness does not meet the preset wiring harness conditions includes:
[0015] If the vehicle's wiring harness does not meet the preset wiring harness conditions, the functional devices are reclassified into at least one device group based on their location and function, and / or the number of domain controllers is re-determined based on the location of the functional devices, and / or the location of the domain controllers is re-determined based on the location of the functional devices.
[0016] Optionally, the step of determining whether the vehicle's wiring harness meets the preset wiring harness conditions based on the target wiring harness length includes:
[0017] Based on the target wiring harness length, determine the wiring harness length of the vehicle;
[0018] Determine whether the length of the wiring harness of the vehicle is less than a preset length threshold;
[0019] If the length of the wiring harness of the vehicle is less than the preset length threshold, then the wiring harness of the vehicle is determined to meet the preset wiring harness condition.
[0020] Optionally, the step of determining the target domain controller to be connected to the device group based on the harness length of the connection between the functional devices in the device group and any of the domain controllers includes the following before:
[0021] Based on the location of the functional device in the device group and the location of any of the domain controllers, the length of the wiring harness connecting the functional device in the device group to any of the domain controllers is determined.
[0022] Optionally, the step of determining the harness length for connecting the functional device in the device group to the domain controller based on the location of the functional device in the device group and the location of any of the domain controllers includes:
[0023] Based on the location of the functional device in the device group and the location of any of the domain controllers, a preset wiring harness simulation tool is used to determine the simulated wiring harness that connects the functional device and any of the domain controllers.
[0024] Based on the simulated wiring harness, the length of the wiring harness connecting the functional device and any of the domain controllers is determined.
[0025] Optionally, the method includes:
[0026] If the vehicle's wiring harness meets the preset wiring harness conditions, the preset management function of the electronic control unit is integrated into the target domain controller; the management function is the function of the electronic control unit to manage the functional devices in the device group connected to the target domain controller.
[0027] This invention also discloses a vehicle domain controller setup device, applied to a vehicle, the vehicle including at least one domain controller and at least one functional device, the domain controller being used to connect to the functional device via a wiring harness, the device comprising:
[0028] A partitioning module is used to partition the functional device into at least one device group based on the location of the functional device in the vehicle and the function of the functional device;
[0029] A location determination module is used to determine the location of the domain controller in the vehicle and the number of the domain controllers based on the location of the functional device.
[0030] The target domain controller determination module is used to determine, for any of the device groups, the target domain controller to be connected to the device group based on the length of the wiring harness connecting the functional devices in the device group to any of the domain controllers.
[0031] The target harness length determination module is used to determine the target harness length for connecting the functional devices in the device group to the target domain controller.
[0032] The judgment module is used to determine whether the vehicle's wiring harness meets the preset wiring harness conditions based on the target wiring harness length.
[0033] An adjustment module is configured to adjust at least one of the functional devices included in the device group, the location of the domain controller, and the number of the domain controllers if the wiring harness of the vehicle does not meet the preset wiring harness conditions, until the wiring harness of the vehicle meets the preset wiring harness conditions.
[0034] Optionally, the device includes:
[0035] The quantity determination module is used to determine the number of target domain controllers when the wiring harness of the vehicle meets the preset wiring harness conditions.
[0036] The removal module is configured to remove a domain controller that is not connected to a functional device in the device group, based on the location of the domain controller, if the number of target domain controllers is less than the number of domain controllers.
[0037] Optionally, the adjustment module includes:
[0038] The sub-module is re-divided to re-divide the functional devices into at least one device group based on the location and function of the functional devices if the wiring harness of the vehicle does not meet the preset wiring harness conditions, and / or to redetermine the number of domain controllers based on the location of the functional devices, and / or to redetermine the location of the domain controllers based on the location of the functional devices.
[0039] Optionally, the determination module includes:
[0040] The length determination submodule is used to determine the length of the vehicle's wiring harness based on the target wiring harness length;
[0041] The judgment submodule is used to determine whether the length of the wiring harness of the vehicle is less than a preset length threshold.
[0042] A determination submodule is used to determine that the wiring harness of the vehicle meets the preset wiring harness condition if the length of the wiring harness of the vehicle is less than the preset length threshold.
[0043] Optionally, the device includes:
[0044] The length determination module is used to determine the length of the wiring harness connecting the functional device in the device group to the domain controller based on the location of the functional device in the device group and the location of any of the domain controllers.
[0045] Optionally, the length determination module includes:
[0046] The simulated wiring harness determination submodule is used to determine the simulated wiring harness connecting the functional device and the domain controller based on the location of the functional device in the device group and the location of any of the domain controllers, using a preset wiring harness simulation tool.
[0047] The harness length determination submodule is used to determine the harness length for connecting the functional device and any of the domain controllers based on the simulated harness.
[0048] Optionally, the device includes:
[0049] An integration module is used to integrate a preset management function of an electronic control unit into the target domain controller if the wiring harness of the vehicle meets the preset wiring harness conditions; the management function is the function of the electronic control unit to manage the functional devices in the device group connected to the target domain controller.
[0050] This invention also discloses an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0051] The memory is used to store computer programs;
[0052] When the processor executes a program stored in the memory, it implements the method described in the embodiments of the present invention.
[0053] This invention also discloses one or more computer-readable media storing instructions that, when executed by one or more processors, cause the processors to perform the methods described in this invention.
[0054] The embodiments of the present invention have the following advantages:
[0055] In this embodiment of the invention, based on the location and function of the functional devices in the vehicle, the functional devices are divided into at least one device group; according to the location of the functional devices, the location and number of domain controllers in the vehicle are determined; for any device group, based on the length of the wiring harness connecting the functional devices in the device group to any domain controller, the target domain controller connected to the device group is determined; the target wiring harness length connecting the functional devices in the device group to the target domain controller is determined respectively; based on the target wiring harness length, it is determined whether the vehicle's wiring harness meets the preset wiring harness conditions; if the vehicle's wiring harness does not meet the preset wiring harness conditions, at least one of the locations of the functional devices and domain controllers included in the device group, and the number of domain controllers, is adjusted until the vehicle's wiring harness meets the preset wiring harness conditions. This not only guides the early functional development planning of the domain controller, but also saves wiring harness usage, provides support for the functional integration scheme of the domain controller, and reduces the overall vehicle material cost from the design stage. Attached Figure Description
[0056] Figure 1 This is a flowchart illustrating the steps of a method for setting up a vehicle domain controller according to an embodiment of the present invention;
[0057] Figure 2 This is a schematic diagram of assigning a corresponding target domain controller to a functional device according to an embodiment of the present invention;
[0058] Figure 3 This is a schematic diagram of a functional device and a corresponding target domain controller connected via a wiring harness, according to an embodiment of the present invention.
[0059] Figure 4 This is a flowchart illustrating the steps of another method for setting up a vehicle domain controller according to an embodiment of the present invention;
[0060] Figure 5 This is a structural block diagram of a vehicle domain controller setting device provided in an embodiment of the present invention;
[0061] Figure 6 This is a block diagram of an electronic device provided in an embodiment of the present invention;
[0062] Figure 7 This is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. Detailed Implementation
[0063] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0064] Reference Figure 1This diagram illustrates a step-by-step flowchart of a method for setting up a vehicle domain controller according to an embodiment of the present invention. The method is applied to a vehicle, which includes at least one domain controller and at least one functional device. The domain controller is used to connect to the functional device via a wiring harness. Specifically, the method may include the following steps:
[0065] Step 101: Based on the location of the functional device in the vehicle and the function of the functional device, the functional device is divided into at least one device group;
[0066] In this embodiment of the invention, the vehicle may include at least one domain controller and at least one functional device. The vehicle may also include an ECU (Engine Control Unit). The functional device may include sensors and actuators, etc. The ECU can receive signals from sensors, process and calculate them; the ECU can also send commands to actuators to control their actions.
[0067] In this embodiment of the invention, the domain controller can integrate the functions of at least one electronic control unit, such as the functions of electronic control units for the vehicle's powertrain, body, intelligent driving, cockpit, and chassis. The domain controller can be connected to functional devices via wiring harnesses to realize the functions of the electronic control units integrated within the domain controller.
[0068] In this embodiment of the invention, based on the location and function of the functional devices in the vehicle, and according to the principle of similar function and similar location, the functional devices can be divided into at least one device group.
[0069] Step 102: Determine the location of the domain controller in the vehicle and the number of domain controllers based on the location of the functional device;
[0070] In this embodiment of the invention, the location and number of domain controllers within the vehicle can be determined based on the vehicle's model platform. Specifically, the model platform may include the locations of vehicle functional devices, such as the engine, sensors, and actuators. When determining the location and number of domain controllers, they can be placed around the functional devices. The number of domain controllers is determined based on the location, number, and functional type of the functional devices that each domain controller needs to manage. If one domain controller can effectively manage multiple functional devices, then only one domain controller may be needed. If the functional devices are more dispersed or require independent management, then multiple domain controllers may be required.
[0071] Step 103: For any of the device groups, determine the target domain controller to be connected to the device group based on the length of the wiring harness connecting the functional devices in the device group to any of the domain controllers.
[0072] In this embodiment of the invention, after dividing the functional devices into at least one device group and determining the location and number of domain controllers, for any device group, a target domain controller can be assigned to that device group based on the length of the wiring harness connecting the functional devices in the device group to any domain controller. Specifically, among all domain controllers, the wiring harness length between the functional devices in the device group and the target domain controller is the shortest, and the distance between the functional devices in the device group and the target domain controller is also the smallest. It should be noted that functional devices connected to the same target domain controller have similar functions.
[0073] Step 104: Determine the length of the target wiring harness for connecting the functional devices in the device group to the target domain controller;
[0074] In this embodiment of the invention, after assigning a corresponding target domain controller to each device group, the target wiring harness length for connecting the functional devices in each device group to the corresponding target domain controller can be determined. Specifically, a topology plugin can be used to simulate the target wiring harness for connecting the functional devices in each device group to the corresponding target domain controller, and the length of the target wiring harness can be calculated.
[0075] Reference Figure 2 This diagram illustrates an embodiment of the present invention for assigning corresponding target domain controllers to functional devices. Based on the location and function of the functional devices in the vehicle, and according to the principle of similar function and location, the functional devices can be divided into at least one device group. Each device group includes at least device group n1: left front headlight, device group n2: gear shift switch, device group n3: right front door lock, and device group n4: seat controller. The target domain controller assigned to device group n1 is domain controller a1, the target domain controller assigned to device group n2 is domain controller a2, the target domain controller assigned to device group n3 is domain controller a3, and the target domain controller assigned to device group n4 is domain controller a4. It should be noted that all domain controllers in this invention can be controlled by the same control chip or control system; that is, all domain controllers can constitute a general domain controller, and each domain controller can be called a sub-controller of this general domain controller.
[0076] Reference Figure 3 This diagram illustrates a connection between a functional device and a corresponding target domain controller via a wiring harness, according to an embodiment of the present invention. Rectangles 31, 32, and 33 represent different target domain controllers, circles 34, 35, and 36 represent different functional devices, and 37 represents the wiring harness connecting the target domain controller and the functional device.
[0077] Step 105: Based on the target wiring harness length, determine whether the vehicle's wiring harness meets the preset wiring harness conditions;
[0078] In this embodiment of the invention, the sum of the target harness lengths connecting the functional devices in all device groups to their corresponding target domain controllers can be calculated, and this sum of target harness lengths is taken as the vehicle's harness length. Then, based on the vehicle's harness length, it is determined whether the vehicle's harness meets the preset harness conditions.
[0079] In a specific example, if the length of the vehicle's wiring harness is less than a preset length threshold, then the vehicle's wiring harness meets the preset wiring harness conditions.
[0080] In another specific example, if the vehicle's wiring harness has different specifications, the cost of the vehicle's wiring harness can be calculated by multiplying the length of the different specifications of the wiring harness by their unit price. If the cost of the vehicle's wiring harness is less than a preset cost threshold, then the vehicle's wiring harness meets the preset wiring harness condition.
[0081] Step 106: If the vehicle's wiring harness does not meet the preset wiring harness conditions, adjust at least one of the functional devices included in the device group, the location of the domain controller, and the number of the domain controllers until the vehicle's wiring harness meets the preset wiring harness conditions.
[0082] In this embodiment of the invention, if the vehicle's wiring harness does not meet the preset wiring harness conditions, at least one of the functional devices included in the vehicle's equipment group, the location of the vehicle's domain controller, and the number of domain controllers can be adjusted. A corresponding target domain controller can be reassigned to each equipment group, and the target wiring harness length of each equipment group can be calculated. The vehicle's wiring harness can then be re-determined to meet the preset wiring harness conditions until the vehicle's wiring harness meets the preset wiring harness conditions.
[0083] In this embodiment of the invention, based on the location and function of the functional devices in the vehicle, the functional devices are divided into at least one device group; according to the location of the functional devices, the location and number of domain controllers in the vehicle are determined; for any device group, based on the length of the wiring harness connecting the functional devices in the device group to any domain controller, the target domain controller connected to the device group is determined; the target wiring harness length connecting the functional devices in the device group to the target domain controller is determined respectively; based on the target wiring harness length, it is determined whether the vehicle's wiring harness meets the preset wiring harness conditions; if the vehicle's wiring harness does not meet the preset wiring harness conditions, at least one of the locations of the functional devices and domain controllers included in the device group, and the number of domain controllers, is adjusted until the vehicle's wiring harness meets the preset wiring harness conditions. This not only guides the early functional development planning of the domain controller, but also saves wiring harness usage, provides support for the functional integration scheme of the domain controller, and reduces the overall vehicle material cost from the design stage.
[0084] Further, in any of the above embodiments, the method includes:
[0085] Sub-step S11: If the wiring harness of the vehicle meets the preset wiring harness conditions, determine the number of target domain controllers;
[0086] Sub-step S12: If the number of target domain controllers is less than the number of domain controllers, then based on the location of the domain controllers, remove the domain controllers that are not connected to the functional devices in the device group.
[0087] In this embodiment of the invention, the location and number of domain controllers in the vehicle can be determined based on the vehicle's model platform. If there is only one domain controller in the vehicle, it is not necessary to divide the vehicle's functional devices into at least one device group; all functional devices of the vehicle can be connected to the same domain controller.
[0088] For any device group, a target domain controller can be assigned to the device group based on the length of the wiring harness connecting the functional devices in the device group to any domain controller. The target wiring harness lengths for connecting the functional devices in the device group to the target domain controllers are then determined. Based on the target wiring harness lengths, it can be determined whether the vehicle's wiring harness meets preset wiring harness conditions. If the vehicle's wiring harness meets the preset conditions, the number of target domain controllers can be determined. If the number of target domain controllers is greater than the number of domain controllers, it indicates that domain controllers not connected to functional devices are redundant, and these domain controllers can be removed.
[0089] Further, in any of the above embodiments, step 106 includes:
[0090] Sub-step S21: If the vehicle's wiring harness does not meet the preset wiring harness conditions, based on the location and function of the functional device, the functional device is re-divided into at least one device group, and / or, based on the location of the functional device, the number of domain controllers is re-determined, and / or, based on the location of the functional device, the location of the domain controllers is re-determined.
[0091] In this embodiment of the invention, based on the length of the vehicle's wiring harness, it can be determined whether the vehicle's wiring harness meets the preset wiring harness conditions. If the vehicle's wiring harness does not meet the preset wiring harness conditions, the functional devices can be re-divided into at least one device group based on the location and function of the functional devices, and / or, the number of domain controllers can be re-determined based on the location of the functional devices, and / or, the location of the domain controllers can be re-determined based on the location of the functional devices, and a corresponding target domain controller can be reassigned to each device group, and the target wiring harness length of each device group can be recalculated. The determination of whether the vehicle's wiring harness meets the preset wiring harness conditions can be repeated until the vehicle's wiring harness meets the preset wiring harness conditions.
[0092] Further, in any of the above embodiments, step 105 includes:
[0093] Sub-step S31: Determine the length of the vehicle's wiring harness based on the target wiring harness length;
[0094] Sub-step S32: Determine whether the length of the wiring harness of the vehicle is less than a preset length threshold;
[0095] Sub-step S33: If the length of the wiring harness of the vehicle is less than the preset length threshold, then it is determined that the wiring harness of the vehicle meets the preset wiring harness condition.
[0096] In this embodiment of the invention, the sum of the target harness lengths required for each functional device in all device groups to connect to its corresponding target domain controller can be calculated, and this sum can be used as the vehicle's harness length. Then, it is determined whether the vehicle's harness length is less than a preset length threshold. If the vehicle's harness length is less than the preset length threshold, then the vehicle's harness meets the preset harness condition.
[0097] If the vehicle's wiring harness meets the preset wiring harness conditions, then the number and location of the domain controllers in the vehicle are determined.
[0098] Furthermore, in any of the above embodiments, step 103 is preceded by:
[0099] Sub-step S41: Based on the location of the functional device in the device group and the location of any of the domain controllers, determine the length of the wiring harness connecting the functional device in the device group to any of the domain controllers.
[0100] In this embodiment of the invention, after dividing the functional devices into at least one device group and determining the location and number of domain controllers, the wiring harness length connecting the functional devices in the device group to any domain controller can be determined based on the location of the functional devices in the device group and the location of any domain controller. Then, based on the wiring harness length connecting the functional devices in the device group to any domain controller, a target domain controller can be assigned to the device group. Among all domain controllers, the wiring harness length between the functional devices in the device group and the target domain controller is the shortest, and the distance between the functional devices in the device group and the target domain controller is also the smallest. It should be noted that functional devices connected to the same target domain controller have similar functions.
[0101] Further, in any of the above embodiments, sub-step S41 includes:
[0102] Sub-step S51: Based on the location of the functional device in the device group and the location of any of the domain controllers, a preset wiring harness simulation tool is used to determine the simulated wiring harness connecting the functional device and any of the domain controllers.
[0103] Sub-step S52: Based on the simulated wiring harness, determine the length of the wiring harness used to connect the functional device and any of the domain controllers.
[0104] In this embodiment of the invention, after dividing the functional devices into at least one device group and determining the location and number of domain controllers, a wiring harness simulation tool can be used to determine the simulated wiring harness connecting the functional devices and any domain controller, based on the location of the functional devices in the device group and the location of any domain controller. Then, based on the simulated wiring harness, the length of the simulated wiring harness connecting the functional devices and any domain controller is determined. Based on the length of the wiring harness connecting the functional devices in the device group to any domain controller, a target domain controller can be assigned to the device group.
[0105] In this embodiment of the invention, the software platform is used to quickly analyze the amount of wiring harness material used under different functional integration schemes of the domain controller, thereby reducing the material cost of the whole vehicle by starting from the functional allocation of the domain controller.
[0106] Further, in any of the above embodiments, the method includes:
[0107] Sub-step S61: If the vehicle's wiring harness meets the preset wiring harness conditions, integrate the preset management function of the electronic control unit into the target domain controller; the management function is the function of the electronic control unit to manage the functional devices in the device group connected to the target domain controller.
[0108] In this embodiment of the invention, for any device group, a target domain controller can be assigned to the device group based on the length of the wiring harness connecting the functional devices in the device group to any domain controller, and the target wiring harness length for connecting the functional devices in the device group to the target domain controller can be determined respectively. Based on the target wiring harness length, it can be determined whether the vehicle's wiring harness meets the preset wiring harness conditions. If the vehicle's wiring harness meets the preset wiring harness conditions, it indicates that the functional allocation of different domain controllers is reasonable, and the management function of the electronic control unit can be integrated into the target domain controller. The management function of the electronic control unit refers to the function of the electronic control unit in managing the functional devices in the device group connected to the target domain controller. If the functional device is a sensor, the management function of the electronic control unit includes receiving information collected by the sensor; if the functional device is an actuator, the management function of the electronic control unit includes sending instructions to the actuator.
[0109] In this embodiment of the invention, functional devices are divided into different device groups, and functional devices in the same device group are connected to the corresponding target domain controller. This avoids the repetitive process of redrawing wiring harnesses when studying the integration of different functions in a domain controller, thus saving development time.
[0110] Reference Figure 4 The diagram illustrates a step flowchart of another vehicle domain controller configuration method provided by an embodiment of the present invention, which may specifically include the following steps:
[0111] Step 401, Begin.
[0112] Step 402: Divide the equipment into groups, quantity = S.
[0113] Based on the location and function of the functional devices in the vehicle, the functional devices are divided into at least one device group, and there can be a total of S device groups.
[0114] Step 403: Determine the number of domain controllers A (A = 1, 2, 3).
[0115] Based on the location of the functional devices, determine the location of the domain controller in the vehicle and the number of domain controllers. The number of domain controllers can be A.
[0116] Step 404: Determine if A is greater than 1. If A is greater than 1, proceed to step 405. If A is not greater than 1, calculate the lengths of wires of different specifications, multiply the lengths of wires of different specifications by their weights, output the length L and cost C, and execute step 408.
[0117] If there is only one domain controller in the vehicle, all functional devices of the vehicle can be connected to the same domain controller, and it can be determined whether the vehicle's wiring harness meets the preset wiring harness conditions.
[0118] Step 405: For any device group n, determine whether device group n is connected to domain controller A1. If yes, proceed to step 406. If no, determine whether device group n is connected to domain controller A2. If yes, proceed to step 406. If no, determine whether device group n is connected to domain controller A3. If yes, proceed to step 406.
[0119] If there is more than one domain controller in the vehicle, for any device group, based on the length of the wiring harness connecting the functional device in the device group to any domain controller, determine the target domain controller to be connected to the device group, and determine the target wiring harness length connecting the functional device in the device group to the target domain controller respectively.
[0120] Step 406: Summarize the lengths of wires of different specifications.
[0121] Step 407: Determine if n is equal to S. If it is, multiply the lengths of wires of different specifications by their weights, and output the length L and cost C.
[0122] If a corresponding target domain controller has been assigned to each device group in the vehicle, and the vehicle's wiring harness has different specifications, the cost of the vehicle's wiring harness can be calculated by multiplying the length of the different specifications of the wiring harness by its unit price. If the cost of the vehicle's wiring harness is less than a preset cost threshold, then the vehicle's wiring harness meets the preset wiring harness condition.
[0123] Step 408: Determine whether to end the current solution analysis. If yes, proceed to step 409; otherwise, proceed to step 404.
[0124] If the vehicle's wiring harness meets the preset wiring harness conditions, the current scheme analysis ends, and the design of the domain controller in the vehicle is completed.
[0125] Step 409, End.
[0126] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.
[0127] Reference Figure 5 This diagram illustrates a structural block diagram of a vehicle domain controller setup device provided in an embodiment of the present invention. Applied to a vehicle, the vehicle includes at least one domain controller and at least one functional device. The domain controller is used to connect to the functional device via a wiring harness and may specifically include the following modules:
[0128] The division module 501 is used to divide the functional device into at least one device group based on the location of the functional device in the vehicle and the function of the functional device;
[0129] The location determination module 502 is used to determine the location of the domain controller in the vehicle and the number of the domain controllers based on the location of the functional device.
[0130] The target domain controller determination module 503 is used to determine the target domain controller connected to any of the device groups based on the length of the wiring harness connecting the functional devices in the device group to any of the domain controllers.
[0131] The target harness length determination module 504 is used to determine the target harness length for connecting the functional device in the device group to the target domain controller.
[0132] The judgment module 505 is used to determine whether the vehicle's wiring harness meets the preset wiring harness conditions based on the target wiring harness length.
[0133] The adjustment module 506 is used to adjust at least one of the functional devices included in the device group, the position of the domain controller, and the number of the domain controllers if the wiring harness of the vehicle does not meet the preset wiring harness conditions, until the wiring harness of the vehicle meets the preset wiring harness conditions.
[0134] In an optional embodiment of the present invention, the device includes:
[0135] The quantity determination module is used to determine the number of target domain controllers when the wiring harness of the vehicle meets the preset wiring harness conditions.
[0136] The removal module is configured to remove a domain controller that is not connected to a functional device in the device group, based on the location of the domain controller, if the number of target domain controllers is less than the number of domain controllers.
[0137] In an optional embodiment of the present invention, the adjustment module includes:
[0138] The sub-module is re-divided to re-divide the functional devices into at least one device group based on the location and function of the functional devices if the wiring harness of the vehicle does not meet the preset wiring harness conditions, and / or to redetermine the number of domain controllers based on the location of the functional devices, and / or to redetermine the location of the domain controllers based on the location of the functional devices.
[0139] In an optional embodiment of the present invention, the determining module includes:
[0140] The length determination submodule is used to determine the length of the vehicle's wiring harness based on the target wiring harness length;
[0141] The judgment submodule is used to determine whether the length of the wiring harness of the vehicle is less than a preset length threshold.
[0142] A determination submodule is used to determine that the wiring harness of the vehicle meets the preset wiring harness condition if the length of the wiring harness of the vehicle is less than the preset length threshold.
[0143] In an optional embodiment of the present invention, the device includes:
[0144] The length determination module is used to determine the length of the wiring harness connecting the functional device in the device group to the domain controller based on the location of the functional device in the device group and the location of any of the domain controllers.
[0145] In an optional embodiment of the present invention, the length determination module includes:
[0146] The simulated wiring harness determination submodule is used to determine the simulated wiring harness connecting the functional device and the domain controller based on the location of the functional device in the device group and the location of any of the domain controllers, using a preset wiring harness simulation tool.
[0147] The harness length determination submodule is used to determine the harness length for connecting the functional device and any of the domain controllers based on the simulated harness.
[0148] In an optional embodiment of the present invention, the device includes:
[0149] An integration module is used to integrate a preset management function of an electronic control unit into the target domain controller if the wiring harness of the vehicle meets the preset wiring harness conditions; the management function is the function of the electronic control unit to manage the functional devices in the device group connected to the target domain controller.
[0150] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0151] In addition, embodiments of the present invention also provide an electronic device, such as... Figure 6 As shown, it includes a processor 601, a communication interface 602, a memory 603, and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604.
[0152] Memory 603 is used to store computer programs;
[0153] When processor 601 executes a program stored in memory 603, it performs the following steps:
[0154] Based on the location of the functional device in the vehicle and the function of the functional device, the functional device is divided into at least one device group;
[0155] Based on the location of the functional devices, determine the location of the domain controller in the vehicle and the number of the domain controllers;
[0156] For any of the device groups, the target domain controller to be connected to the device group is determined based on the length of the wiring harness connecting the functional devices in the device group to any of the domain controllers.
[0157] Determine the length of the target wiring harness for connecting the functional devices in the device group to the target domain controller;
[0158] Based on the target harness length, determine whether the vehicle's harness meets the preset harness conditions;
[0159] If the vehicle's wiring harness does not meet the preset wiring harness conditions, adjust at least one of the functional devices included in the device group, the location of the domain controller, and the number of the domain controllers until the vehicle's wiring harness meets the preset wiring harness conditions.
[0160] In an optional embodiment of the present invention, the method includes:
[0161] If the vehicle's wiring harness meets the preset wiring harness conditions, determine the number of target domain controllers;
[0162] If the number of target domain controllers is less than the number of domain controllers, then based on the location of the domain controllers, remove the domain controllers that are not connected to the functional devices in the device group.
[0163] In an optional embodiment of the present invention, the step of adjusting at least one of the functional devices included in the device group, the location of the domain controller, and the number of the domain controllers if the wiring harness of the vehicle does not meet the preset wiring harness conditions includes:
[0164] If the vehicle's wiring harness does not meet the preset wiring harness conditions, the functional devices are reclassified into at least one device group based on their location and function, and / or the number of domain controllers is re-determined based on the location of the functional devices, and / or the location of the domain controllers is re-determined based on the location of the functional devices.
[0165] In an optional embodiment of the present invention, the step of determining whether the vehicle's wiring harness meets the preset wiring harness conditions based on the target wiring harness length includes:
[0166] Based on the target wiring harness length, determine the wiring harness length of the vehicle;
[0167] Determine whether the length of the wiring harness of the vehicle is less than a preset length threshold;
[0168] If the length of the wiring harness of the vehicle is less than the preset length threshold, then the wiring harness of the vehicle is determined to meet the preset wiring harness condition.
[0169] In an optional embodiment of the present invention, the step of determining the target domain controller to be connected to the device group based on the harness length of the connection between the functional devices in the device group and any of the domain controllers includes the following prior steps:
[0170] Based on the location of the functional device in the device group and the location of any of the domain controllers, the length of the wiring harness connecting the functional device in the device group to any of the domain controllers is determined.
[0171] In an optional embodiment of the present invention, the step of determining the harness length for connecting the functional device in the device group to the domain controller based on the location of the functional device in the device group and the location of any of the domain controllers includes:
[0172] Based on the location of the functional device in the device group and the location of any of the domain controllers, a preset wiring harness simulation tool is used to determine the simulated wiring harness that connects the functional device and any of the domain controllers.
[0173] Based on the simulated wiring harness, the length of the wiring harness connecting the functional device and any of the domain controllers is determined.
[0174] In an optional embodiment of the present invention, the method includes:
[0175] If the vehicle's wiring harness meets the preset wiring harness conditions, the preset management function of the electronic control unit is integrated into the target domain controller; the management function is the function of the electronic control unit to manage the functional devices in the device group connected to the target domain controller.
[0176] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0177] The communication interface is used for communication between the aforementioned terminal and other devices.
[0178] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0179] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0180] like Figure 7 As shown, in another embodiment of the present invention, a computer-readable storage medium 701 is also provided, which stores instructions that, when executed on a computer, cause the computer to perform the vehicle domain controller setting method described in the above embodiment.
[0181] In another embodiment of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the vehicle domain controller setting method described in the above embodiments.
[0182] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0183] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0184] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0185] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A method for configuring a vehicle domain controller, characterized in that, Applied to a vehicle, the vehicle including at least one domain controller and at least one functional device, the domain controller being configured to connect to the functional device via a wiring harness, the method comprising: Based on the location of the functional device in the vehicle and the function of the functional device, the functional device is divided into at least one device group; Based on the location of the functional devices, determine the location of the domain controller in the vehicle and the number of the domain controllers; For any of the device groups, the target domain controller to be connected to the device group is determined based on the length of the wiring harness connecting the functional devices in the device group to any of the domain controllers. Determine the length of the target wiring harness for connecting the functional devices in the device group to the target domain controller; Based on the target harness length, determine whether the vehicle's harness meets the preset harness conditions; If the vehicle's wiring harness does not meet the preset wiring harness conditions, adjust at least one of the functional devices included in the device group, the location of the domain controller, and the number of the domain controllers until the vehicle's wiring harness meets the preset wiring harness conditions.
2. The method according to claim 1, characterized in that, The method includes: If the vehicle's wiring harness meets the preset wiring harness conditions, determine the number of target domain controllers; If the number of target domain controllers is less than the number of domain controllers, then based on the location of the domain controllers, remove the domain controllers that are not connected to the functional devices in the device group.
3. The method according to claim 1, characterized in that, The step of adjusting at least one of the following if the vehicle's wiring harness does not meet the preset wiring harness conditions includes: If the vehicle's wiring harness does not meet the preset wiring harness conditions, the functional devices are reclassified into at least one device group based on their location and function, and / or the number of domain controllers is re-determined based on the location of the functional devices, and / or the location of the domain controllers is re-determined based on the location of the functional devices.
4. The method according to claim 1, characterized in that, The step of determining whether the vehicle's wiring harness meets the preset wiring harness conditions based on the target wiring harness length includes: Based on the target wiring harness length, determine the wiring harness length of the vehicle; Determine whether the length of the wiring harness of the vehicle is less than a preset length threshold; If the length of the wiring harness of the vehicle is less than the preset length threshold, then the wiring harness of the vehicle is determined to meet the preset wiring harness condition.
5. The method according to claim 1, characterized in that, Prior to the step of determining the target domain controller to be connected to the device group based on the harness length of the connection between the functional devices in the device group and any of the domain controllers, the following steps are included: Based on the location of the functional device in the device group and the location of any of the domain controllers, the length of the wiring harness connecting the functional device in the device group to any of the domain controllers is determined.
6. The method according to claim 5, characterized in that, The step of determining the wiring harness length for connecting the functional device in the device group to the domain controller based on the location of the functional device in the device group and the location of any of the domain controllers includes: Based on the location of the functional device in the device group and the location of any of the domain controllers, a preset wiring harness simulation tool is used to determine the simulated wiring harness that connects the functional device and any of the domain controllers. Based on the simulated wiring harness, the length of the wiring harness connecting the functional device and any of the domain controllers is determined.
7. The method according to claim 1, characterized in that, The method includes: If the vehicle's wiring harness meets the preset wiring harness conditions, the preset management function of the electronic control unit is integrated into the target domain controller; the management function is the function of the electronic control unit to manage the functional devices in the device group connected to the target domain controller.
8. A device for setting up a vehicle domain controller, characterized in that, Applied to a vehicle, the vehicle including at least one domain controller and at least one functional device, the domain controller being configured to connect to the functional device via a wiring harness, the device comprising: A partitioning module is used to partition the functional device into at least one device group based on the location of the functional device in the vehicle and the function of the functional device; A location determination module is used to determine the location of the domain controller in the vehicle and the number of the domain controllers based on the location of the functional device. The target domain controller determination module is used to determine, for any of the device groups, the target domain controller to be connected to the device group based on the length of the wiring harness connecting the functional devices in the device group to any of the domain controllers. The target harness length determination module is used to determine the target harness length for connecting the functional devices in the device group to the target domain controller. The judgment module is used to determine whether the vehicle's wiring harness meets the preset wiring harness conditions based on the target wiring harness length. An adjustment module is configured to adjust at least one of the functional devices included in the device group, the location of the domain controller, and the number of the domain controllers if the wiring harness of the vehicle does not meet the preset wiring harness conditions, until the wiring harness of the vehicle meets the preset wiring harness conditions.
9. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; The memory is used to store computer programs; When the processor executes a program stored in the memory, it implements the method as described in any one of claims 1-7.
10. One or more computer-readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Domain controller assembly arrangement structure and vehicle
CN117202626A
Vehicle control system and vehicle
CN219883805U