Platform software system of automobile action part
By designing a platform-based software system in automobile action parts and utilizing the standardized interfaces and priority management of the control source processing module and arbitration module, the diversified problems of functional control systems such as car door locks and seats are solved, and the efficiency of the software is achieved. Reuse and cost reduction.
Patent Information
- Application Number
- CN202410610122.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-27
AI Technical Summary
The diversification of control systems and diversification of electronic and electrical architectures for functions such as car door locks, seats, or windows from different manufacturers makes it difficult to develop application software as a platform, requiring a large amount of secondary development for different OEMs and models.
Design a platform-based software system for automobile action parts. Through the control source processing module, control source arbitration module and drive control module, a standardized request source interface and priority calibration array are defined to achieve flexible arbitration and management of multiple control sources. , independently manage differentiated requirements, and integrate unchanged parts to improve reuse.
It improves software reuse rate and development efficiency, reduces R&D costs, adapts to different electronic and electrical architectures and application scenarios, and reduces secondary development and testing work.
Smart Images

Figure CN118550231A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of automobile control, and in particular relates to a platform software system for automobile action parts. Background Art
[0002] In the process of the evolution of the vehicle's electronic and electrical architecture from the functional domain controller to the regional controller, the original body control module's software architecture has a low degree of modularization and a high degree of functional integration, making it difficult to adapt to the requirements for flexible deployment of functional modules brought about by the rapid evolution of the central-regional electronic and electrical architecture. In particular, for the door locks, seats, or windows and other functions of the body domain in the cross-domain integration of the regional controller, there are still problems such as the diversification of control systems for functions such as car door locks, seats, or windows of different manufacturers, the diversification of electronic and electrical architectures of different OEMs, and the diversification of application scenarios for functions such as door locks, seats, or windows of different OEMs, which makes it difficult to develop application software for each function on a platform basis, and the software level needs to do more secondary development for different OEMs and their different models.
[0003] Therefore, there is an urgent need for a platform-based system software architecture that can isolate software change points for different vehicle models and reuse as many platform strategies and verification results as possible. Summary of the invention
[0004] In view of the above shortcomings of the prior art, the purpose of the present invention is to provide a platform-based software system for automobile motion components to solve the problems of diversified control systems of automobile door locks, seats or windows and other functions from different manufacturers, diversified electronic and electrical architectures of different OEMs, and diversified application scenarios of door locks, seats or windows and other functions from different OEMs, which makes it difficult to develop application software for each function on a platform, and requires additional secondary development at the software level for different OEMs and their different models.
[0005] To achieve the above and other related purposes, the present invention provides a platform software system for automobile action components, wherein the action components can be controlled by at least two control sources, including:
[0006] A control source processing module, used for receiving and calculating control source request data of different control sources, and writing the control source request data into a standard request interface array according to the priority relationship between the different control sources, wherein the priority relationship is defined and adjusted by a preset control source priority calibration array;
[0007] A control source arbitration module, used for arbitrating the control source request data in the standard request interface array to obtain a target control source request data whose control source request data is true and has the highest priority, and generating a corresponding drive control request according to the target control source request data;
[0008] The drive control module is used to generate a drive control signal according to the drive control request, and output the drive control signal to the actuator of the action component.
[0009] In one embodiment of the present invention, the length of the control source priority calibration array is greater than or equal to the number of control sources, and the length of the control source priority calibration array is greater than or equal to the length of the standard request interface array.
[0010] In one embodiment of the present invention, the control source processing module further includes:
[0011] An initialization module, which is used to initialize the standard request interface array;
[0012] The calculation module is used to receive and calculate the control source request data of different control sources, and write the control source request data into the standard request interface according to the priority relationship between the different control sources.
[0013] In one embodiment of the present invention, it further includes a control source management module, which is used to receive and store the target control source request data obtained by arbitration by the control source arbitration module.
[0014] In one embodiment of the present invention, the control source management module stores the target control source request data obtained by the control source arbitration module in recent arbitrations through a control source record array.
[0015] In one embodiment of the present invention, the control source management module is further used to switch the mode state of the vehicle action components according to the target control source request data.
[0016] In one embodiment of the present invention, the control source processing module, the control source arbitration module and the control source management module are deployed in a central controller, and the drive control modules are respectively deployed in regional controllers corresponding to the action components.
[0017] In one embodiment of the present invention, a group of function label macros are defined in the drive control module, and the function label macros are associated with the hardware channel macros of the controller.
[0018] In one embodiment of the present invention, the drive control module is further used to perform fault diagnosis, fault processing and drive protection according to feedback information of the door lock actuator.
[0019] In one embodiment of the present invention, the action components include door locks, seats, windows or other body-domain execution components with multi-source control.
[0020] The present application proposes a platform software system for automobile action parts, in which a standardized request source interface is defined between a control source processing module and a control source arbitration module to cope with the diversification of control sources caused by the diversification of application scenarios; a set of control source priority calibration arrays are defined in the control source processing module to dynamically adjust the priority of the control source, so that the control source arbitration module can be developed according to a fixed priority, thereby realizing that the control source arbitration module can be used as a platform module; a control source management module is used to store target control source request data obtained by arbitration of the control source arbitration module, and a mode state of the whole vehicle action parts is switched according to the target control source request data. This module is independent of the action part structure and application scenario, so the control source management module can be defined as a platform module; a set of function label macros are defined in the drive control module as a fixed development basis, and the mapping relationship between the function label macros and the controller hardware channel follows the vehicle configuration, and is defined and generated in the external header file software compilation stage, which does not affect the management and maintenance of the drive control module as a platform module.
[0021] The control source processing module, the control source arbitration module and the control source management module can be deployed in the central controller, and the drive control modules can be deployed in the regional controllers of the corresponding action components respectively, so that they can be flexibly deployed in the central-regional type of electronic and electrical architecture and can adapt to different electronic and electrical racks.
[0022] The control source arbitration module, drive control module, and control source management module do not require secondary development as vehicle models or application scenarios change. The control source processing module can make corresponding trigger condition changes based on different application scenarios. This solution can greatly improve software reuse rate and improve development efficiency and quality.
[0023] The present application proposes a platform-based software system for automotive motion components. According to the differentiated requirements of various types of vehicles for functions such as door locks, seats or windows, the parts that change between different models are isolated and managed as independent software change points, and the unchanged parts are integrated into the platform-based modules, so that during development and design, the platform's existing strategies and verification results can be reused for the unchanged parts, and less secondary development and testing work is done, thereby improving development efficiency and reducing R&D costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for describing the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 The structure block diagram of the platform software system in one embodiment of the present invention.
[0026] Figure 2 The figure is a schematic diagram of the processing flow of the control source processing module in one embodiment of the present invention.
[0027] Figure 3 The figure is a schematic diagram of the processing flow of the control source arbitration module in one embodiment of the present invention.
[0028] Figure 4 The figure is a schematic diagram of the development and software integration workflow of a drive control module in one embodiment of the present invention.
[0029] Figure 5 It is a schematic diagram of the deployment of the central controller-3 regional controllers of the present invention.
[0030] Figure 6 It is a schematic diagram of the deployment of the central controller-2 regional controller of the present invention. DETAILED DESCRIPTION
[0031] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.
[0032] It should be noted that the illustrations provided in this embodiment are only used to illustrate the basic concept of the present invention in a schematic manner. Therefore, the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0033] See also Figures 1 to 4As shown, due to the problems of diversified control systems, diversified electronic and electrical architectures, and diversified application scenarios in the cross-domain fusion of regional controllers for door locks, seats, or windows in the body domain, it is difficult to develop application software for each function on a platform, and the software level needs to do more secondary development for different OEMs and their different models. For example, take the door lock function as an example: on the regional controllers corresponding to different models, due to the differences in the number of hard-wired resources and pin definitions of each regional controller, the hard-wired channels associated with the door lock devices are different, the number of regional controllers is different, and the positioning of regional controllers is different. Some manufacturers prefer regional controllers to implement on-board control, and some manufacturers prefer to put the complete logic of the body control module on one regional controller. The central controller integrates other functional domain logics, resulting in the diversification of its electronic and electrical architecture, and the application scenarios are diversified due to the combined control of unlocking through internal unlocking button switch triggering, central control screen triggering, mobile phone APP triggering, PE switch triggering, Bluetooth key triggering, etc.; therefore, in order to solve the above problems and achieve other related purposes, the present invention proposes a platform software system for automobile action components, wherein the action components can be controlled by at least two control sources, and the platform software system includes functional modules such as a control source processing module 10, a control source arbitration module 20 and a drive control module 30.
[0034] See also Figure 1 and Figure 2 As shown, in this embodiment, the control source processing module 10 is used to receive and calculate the control source request data of different control sources, and write them into the standard request interface according to the priority relationship between different control sources, and the priority relationship is defined and adjusted by a preset control source priority calibration array. Specifically, the control source processing module 10 includes an initialization module and a calculation module, the initialization module is used to initialize the standard request interface array; the calculation module is used to receive and calculate the control source request data of different control sources, and write them into the standard request interface according to the priority relationship between different control sources.
[0035] It should be noted that, in this embodiment, the priority relationship between different control sources can be defined and adjusted by a preset control source priority calibration array, that is, the control source processing module 10 is also used to adjust the corresponding elements of the control source priority calibration array, each element corresponds to a control source, so as to adjust the priority relationship between different control sources, and at the same time, the number of elements in the control source priority calibration array can be added or reduced to adjust the number of control sources; for example, a control source priority calibration array of a larger length can be preset to ensure effective coverage of different control sources. When the number of control sources is less than the length of the control source priority calibration array, the control source priority calibration array is empty except for the positions corresponding to different control sources, that is, it is 0, which does not correspond to any control source. When the number of control sources is increased later, it is only necessary to add the corresponding control source to the empty position in the control source priority calibration array and change the value of each control source to achieve the adjustment of the number and priority of the control source. The control source processing module 10 also undertakes the task of dynamically adjusting the control source priority calibration array, so that it can increase or decrease the number of control sources in real time according to actual application requirements, and change the priority ranking relationship between the control sources. For example, when a new unlocking application scenario is added or the priority requirement of an existing scenario changes, the control source processing module 10 can ensure that the new control source is correctly connected by modifying the corresponding elements of the control source priority calibration array, and strictly follow the latest priority order when requesting processing. The advantage of this design is that it greatly improves the flexibility and adaptability of the entire system, enabling it to better serve a variety of door lock application scenarios.
[0036] It is understandable that the control source processing module 10 is used to monitor and process various control sources, such as door lock sources. It is understandable that the ID of the control source must be a non-zero value. It is responsible for calculating the trigger conditions of each control source. For example, when a certain condition is met, such as reaching a preset time, receiving a specific instruction, etc., it is considered that the control source has generated a request. The control source processing module 10 will determine the priority relationship between each lock source according to the preset lock source priority calibration array. When multiple lock sources send requests at the same time, it is determined according to the priority relationship which control source's request should be responded to first. Then, the request status of these priority-sorted control sources will be written into a standard request interface array corresponding to a standard request interface. The standard request interface array records and reflects the control source request data of all control sources. For example, since the control source request data only needs to reflect the two states of whether there is a request or not, it can be set to Boolean type data, and true can be used to represent "there is a request" and false to represent "no request". Such a design can simplify the subsequent reading and processing logic of the control source request status and improve the system operation efficiency.
[0037] See also Figure 1 and Figure 2 As shown, in this embodiment, the length of the control source priority calibration array is greater than or equal to the number of control sources, and the length of the control source priority calibration array is greater than or equal to the length of the standard request interface array to ensure that all possible control source situations can be fully covered.
[0038] Take a car with 30 different unlocking application scenarios as an example, initialize a standard request interface array Req_a with the same length as the control source priority calibration array to record whether each lock source has a request, the length of the standard request interface array and the length of the control source priority calibration array are set to at least 30 dimensions, for example, 30 dimensions, and the index number is from 0 to 29, to ensure that all possible lock source situations can be fully covered. The specific steps are as follows:
[0039] Initialize index to 0;
[0040] Read the corresponding Prio_CA[index] value in the priority calibration array one by one according to the priority relationship, and this value corresponds to a lock source;
[0041] Calculating the control source request data of the lock source to determine whether to generate a request signal for unlocking;
[0042] If there is a request signal, the value of Req_a[index] in the standard request interface array is set to true; otherwise, if there is no request signal, it is set to false;
[0043] After completing the data processing at the current index position, increment the index value by 1, repeat the above steps and write it into the corresponding Req_a[index] in the standard request interface array;
[0044] When the index value exceeds the maximum length of the array, it means that all lock sources have been checked and the loop terminates.
[0045] Specifically, the vehicle has three types of lock sources as an example: lock source 1, its ID is defined as 1: the user controls the vehicle unlocking through the mobile phone App; lock source 2, its ID is defined as 2: the user controls the vehicle unlocking through the NFC card; lock source 3, its ID is defined as 3: the user controls the vehicle unlocking through the internal unlocking switch. The priority is defined as: lock source 3> lock source 2> lock source 1. The values of the corresponding elements in the corresponding control source priority calibration array are: Prio_CA[0]=3 (corresponding to lock source Id3), Prio_CA[1]=2 (corresponding to lock source Id2), Prio_CA[2]=1 (corresponding to lock source Id1). Through the above steps, the corresponding request data true or false is written in the standard request interface array Req_a[0], Req_a[1], and Req_a[2] in sequence, thereby completing the writing of the lock source request signal according to the priority.
[0046] The priority relationship between the three lock sources can also be changed by controlling the source priority calibration array. For example, the values of the corresponding elements in the control source priority calibration array are set to: Prio_CA[0]=3 (corresponding to lock source Id3), Prio_CA[1]=1 (corresponding to lock source Id1), Prio_CA[2]=2 (corresponding to lock source Id2). At this time, the priority relationship between the three lock sources is lock source 3>lock source 1>lock source 2. Through the above steps, the corresponding request data true or false is written in the standard request interface arrays Req_a[0], Req_a[1], and Req_a[2] in sequence, thereby completing the writing of the lock source request signal according to priority.
[0047] A lock source 4 can also be added, and its ID is defined as 4: the user controls the unlocking of the entire vehicle through the Bluetooth key. At this time, the values of the corresponding elements in the control source priority calibration array are set as: Prio_CA[0]=3 (corresponding to lock source Id3), Prio_CA[1]=1 (corresponding to lock source Id1), Prio_CA[2]=2 (corresponding to lock source Id2), Prio_CA[3]=4 (corresponding to lock source Id4). At this time, the priority relationship between the four lock sources is lock source 3>lock source 1>lock source 2>lock source 4. Through the above steps, the corresponding request data true or false is written in the standard request interface arrays Req_a[0], Req_a[1], Req_a[2], and Req_a[3] in sequence, thereby completing the writing of lock source request signals according to priority.
[0048] By using the control source priority calibration array and the standard request interface array in conjunction, the system can track and manage the request status of all control sources in real time and in an orderly manner, ensuring that when multiple control sources request at the same time, they respond according to the preset priority strategy, thereby achieving effective management and response to all control source requests.
[0049] See also Figure 1 and Figure 3 As shown, in this embodiment, the control source arbitration module 20 is used to arbitrate the control source request data in the standard request interface array to obtain a target control source request data whose control source request data is true and has the highest priority, and generate a corresponding drive control request according to the target control source request data. It can be understood that according to the control source request data output by the control source arbitration module 20, the control source request data is judged in order from small to large in descending order, and the control source request data is obtained. The target control source request data with the highest priority is obtained, and the corresponding drive control request is generated according to the target control source request data. Since the control source processing module 10 has written different control sources into the marked request interface array according to the priority relationship, the control source arbitration module 20 only needs to judge according to the order from small to large in descending order of the subscript, and can cooperate with the control source processing module 10 to realize arbitration according to priority.
[0050] The main responsibility of the control source arbitration module 20 in the system is to perform arbitration processing of control source request data. Based on the request data converted and prioritized by the control source processing module 10, the working process of the control source arbitration module 20 is as follows:
[0051] Initialize index to 0;
[0052] Read the standard request interface array Req_a[index];
[0053] First, check Req_a[0]. If its value is true, obtain the control source corresponding to Req_a[index] as the target control source request data, and generate the corresponding drive control request according to the target control source request data;
[0054] If Req_a[0] is false, the index value is incremented by one, and Req_a[1], Req_a[2], ... are checked in turn until the first element with a value of true is found, and the traversal is stopped immediately and the output of the arbitration result is executed. The control source corresponding to the element is the target control source request data. It can be understood that since the request information in the array has been sorted according to the control source priority, it can be traversed directly in ascending order of the array index value. When the first Req_a[index] with a value of true is found, the valid request lock source with the highest priority is found, ensuring that high-priority requests can always be responded to in a timely manner. The control source arbitration module 20 and the control source processing module 10 work closely together to achieve efficient, accurate and automated priority arbitration for various control source requests, ensuring that in the case of multiple concurrent requests, the higher priority lock source requirements are always met first.
[0055] See also Figure 1 and Figure 4 As shown, in this embodiment, the drive control module 30 is used to generate a drive control signal according to the drive control request, and output the drive control signal to the actuator of the action component. For example, the drive control module 30 obtains the target control source request data through the drive request interface, and generates a corresponding drive control signal according to the operation request of the target control source request data, and transmits it to the actuator of the action component accurately and accurately. Take the door lock as an example for explanation: the drive control module 30 performs detailed drive control signal calculation according to the drive controller request, and transmits these drive control signals to the door lock actuator in real time to drive the actual action of the door lock. In addition, the drive control module 30 is also used to perform fault diagnosis, fault handling and drive protection according to the feedback information of the actuator of the action component. For example, the drive control module 30 receives and analyzes the operating status information fed back by the door lock actuator, and performs drive-level diagnosis work accordingly, identifies potential faults, errors or abnormal conditions, and can implement corresponding drive-level fault handling measures and drive-level protection mechanisms to ensure the stable operation and safety performance of the system.
[0056] For example, the drive control module 30 receives and analyzes the operating status and fault information returned by the door lock actuator in real time, and monitors the actual working status of the door lock. For example, if it is detected that the actuator encounters an obstacle during the unlocking process, or if a fault is detected in the actuator itself, it can respond immediately.
[0057] Based on the feedback information from the actuator, fault diagnosis is performed to identify potential problems and existing faults, such as motor stall, excessive current, abnormal voltage, etc., to ensure the stable operation of the door lock system.
[0058] When a fault is diagnosed, built-in fault handling mechanisms can be initiated, such as attempting to restart the device, switching to a backup drive, limiting output power to prevent further damage, and other measures.
[0059] By designing a complete protection strategy, such as overload protection, short circuit protection, over-temperature protection, etc., drive protection is performed to ensure that in various abnormal situations, the door lock drive system can be effectively protected from damage and the safety and convenience of user use can be guaranteed.
[0060] It can be understood that the drive control module 30 realizes comprehensive intelligent management and control of the drive system of the action component, which greatly improves the safety performance and service life of the action component.
[0061] See also Figure 1 and Figure 4As shown, in this embodiment, a group of function label macros are defined in the drive control module 30, and the function label macros are associated with the hardware channel macros of the controller. It can be understood that in order to enhance its flexibility and portability, a group of function label macros are specially introduced for different controller hardware environments. These macros represent key functional points and operations in the drive control module 30, such as the generation of drive control signals, the triggering of diagnostic processes, the activation of fault handling mechanisms and other logical functions. In specific implementation, the function label macro is designed as an abstract layer that is independent of the specific hardware channel, so that no matter how the underlying hardware changes, the upper-level logic control part can remain consistent, so that when the drive control system needs to adapt to different controller platforms, it is only necessary to modify and configure the relevant external reference header files to map and associate the function label macro with the hardware channel macro corresponding to the specific controller. In the software integration stage, a header file can be created, which contains the hardware channel macro definitions for different controllers, and these hardware channel macros are bound to the function functions or data structures corresponding to the function label macros. In this way, even if the controller form is changed, by adjusting the macro definition of this external reference header file, it can ensure that the drive control module 30 can seamlessly connect to the new hardware environment, thereby achieving code reusability and adaptability, and reducing development costs and maintenance difficulties.
[0062] It can be understood that when the control source processing module 10 receives the same instruction from different lock sources, for example, both are to control the unlocking of the entire vehicle, or receives different instructions from different lock sources, for example, respectively to control the unlocking of the entire vehicle and to control the locking of the entire vehicle, the control source processing module 10, the control source arbitration module 20 and the drive control module 30 are all processed according to the above processing logic to arbitrate the lock source with the highest priority and the true one, so as to generate the corresponding drive control request and drive control signal to control the corresponding action component.
[0063] In a specific embodiment, when the control source processing module receives control request data from lock source 1, lock source 2, and lock source 3 described in the above embodiments, the control source processing module executes and processes according to the above logic, and arbitrates a control source request data as true in the control source arbitration module, and a target control source request data with the highest priority, such as lock source 3, then generates a corresponding drive control request based on the lock source 3, and the drive control module generates a corresponding drive control signal based on the drive control request and outputs it to the door lock actuator to perform unlocking. When the control source processing module receives control request data from lock source 1, lock source 2, and lock source 5 described in the above embodiments, the ID of lock source 5 is defined as 5: the user controls the locking of the entire vehicle through the internal unlocking switch, and the lock source 5 marked in the priority calibration array has the highest priority. The control source processing module executes and processes according to the above logic, and arbitrates a control source request data as true in the control source arbitration module, and a target control source request data with the highest priority, such as lock source 5, generates a corresponding drive control request according to the lock source 5, and the drive control module generates a corresponding drive control signal according to the drive control request and outputs it to the door lock actuator to perform locking.
[0064] See also Figure 1 As shown, in this embodiment, the platform software system further includes a control source management module 40, and the control source management module 40 is used to receive and store the target control source request data obtained by the control source arbitration module 20 through arbitration; for example, the control source management module 40 receives the target control source request data through the lock source arbitration interface. In this embodiment, the control source management module 40 stores the target control source request data obtained by the control source arbitration module 20 through the control source record array for the most recent arbitration.
[0065] Specifically, when the control source management module 40 receives new target control source request data that is not 0 (empty), and the number of times is less than or equal to the length of the control source record array, it stores it in sequence to the corresponding position of the control source record array;
[0066] When the control source management module receives new non-zero target control source request data and the number of times is greater than the length of the control source record array, the newly received target control source request data replaces the earliest recorded control source in the control source record array and stores it in the corresponding position.
[0067] When implementing the storage of the lock source information for nearly 10 times, the specific steps can be as follows:
[0068] Define a one-dimensional control source record array Record_a with a length of 10, represented by subscripts 0-9, to store the most recent 10 lock source information;
[0069] When new lock source information is obtained, first check whether the lock source is not 0. If so, store it in the storage space corresponding to the subscript 0-9 of the control source record array Record_a in sequence; when the number of new non-zero target control source request data received is greater than 10 times, replace the earliest recorded control source in the control source record array with the newly received target control source request data and store it in the corresponding position.
[0070] See also Figure 1 As shown, the control source management module 40 can also be used to switch the mode state of the vehicle action components according to the target control source request data. Take the door lock as an example:
[0071] When a new lock source request is received, the lock mode of the vehicle is switched according to the lock source request. For example, if an unlock request is detected from the internal switch of the driver's door, the vehicle status is automatically switched to "internal unlock" mode. Alternatively, if multiple requests from the same low-priority lock source are received in succession (such as mobile phone APP unlocking), the business logic determines whether to temporarily increase the priority of the lock source and switch to the corresponding lock mode.
[0072] In this way, the control source management module 40 can not only store and track the control source information in real time, but also dynamically adjust the mode status of the action components of the entire vehicle according to actual conditions, thereby achieving more intelligent and personalized control.
[0073] It can be understood that the action components described in the above embodiments may be body domain execution components with multi-source control application scenarios such as door locks, seats, and window lights, and their control sources are the control sources of the corresponding action components.
[0074] See also Figure 5As shown, in this embodiment, the control source processing module, the control source arbitration module and the control source management module are deployed in the central controller, and the drive control modules are respectively deployed in the regional controllers of the corresponding action components. Take the door lock as an example for explanation: if the form is a central controller (BCM central)-regional controller type of electronic and electrical architecture, the control source processing module 10, the control source arbitration module 20 and the control source management module 40 can be deployed to the central controller, and the number of drive control modules 30 is consistent with the number of external lock devices, usually with 4 cabin door locks (main driver, co-driver, left rear and right rear door locks), and front and rear covers (engine hood and tailgate), a total of 6 devices, corresponding to 6 drive control modules 30, so the drive control module 30 can be deployed according to the actual load connected to the regional controller. For example, a software component deployment solution of a 3-zone controller type, for example, the zone controllers are: a left zone controller, a right zone controller and a rear zone controller, the control source processing module 10, the control source arbitration module 20 and the control source management module 40 are deployed to the central controller, and the corresponding drive control module 30 is deployed in each zone controller to connect with the corresponding door lock;
[0075] See also Figure 6 As shown, in this embodiment, if the form is a central controller (other functional domain central controller)-regional controller (one of the regional controllers is used as a BCM central controller) electronic and electrical architecture, the control source processing module 10, the control source arbitration module 20 and the control source management module 40 can be deployed to the regional controller corresponding to the BCM central, and the drive control module 30 is deployed in the same manner as in the previous case. For example, a software component deployment scheme of a 2-region controller type, the regional controllers are: a left-region controller and a right-region controller, wherein the left-region controller is used as the BCM central, then the control source processing module 10, the control source arbitration module 20 and the control source management module 40 are deployed to the left-region controller, and at the same time, the corresponding drive control modules 30 are deployed in the left-region controller and the right-region controller to connect with the corresponding door locks.
[0076] The control source processing module 10, the control source arbitration module 20 and the control source management module 40 can be deployed in the central controller, and the drive control module 30 can be deployed in the regional controllers of the corresponding action components, so that it can be flexibly deployed in the central-regional type of electronic and electrical architecture and can adapt to different electronic and electrical frames.
[0077] In summary, a standardized request source interface is defined between the control source processing module 10 and the control source arbitration module 20 to cope with the diversification of control sources caused by the diversification of application scenarios; a set of control source priority calibration arrays are defined in the control source processing module 10 to dynamically adjust the priority of the control source, so that the control source arbitration module 20 can be developed according to a fixed priority, thereby realizing that the control source arbitration module 20 can be used as a platform module; the control source management module 40 stores the target control source request data obtained by the control source arbitration module 20 through arbitration, and switches the mode state of the vehicle action component according to the target control source request data. This module is independent of the action component structure and application scenario, so the control source management module 40 can be defined as a platform module; by defining a set of function label macros in the drive control module 30 as a fixed development basis, the mapping relationship between the function label macro and the controller hardware channel follows the vehicle configuration, and is defined and generated in the external header file software compilation stage, which does not affect the management and maintenance of the drive control module as a platform module.
[0078] The control source arbitration module 20, the drive control module 30, and the control source management module 40 do not require secondary development as the vehicle model or application scenario changes. The control source processing module 10 can make corresponding trigger condition changes according to different application scenarios. This solution can greatly improve the software reuse rate and improve development efficiency and quality.
[0079] The present application proposes a platform-based software system for automotive motion components. According to the differentiated requirements of various types of vehicles for functions such as door locks, seats or windows, the parts that change between different models are isolated and managed as independent software change points, and the unchanged parts are integrated into the platform-based modules, so that during development and design, the platform's existing strategies and verification results can be reused for the unchanged parts, and less secondary development and testing work is done, thereby improving development efficiency and reducing R&D costs.
[0080] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
[0081] Except for the technical features described in the specification, the remaining technical features are known technologies to those skilled in the art. In order to highlight the innovative features of the present invention, the remaining technical features will not be described here in detail.
Claims
1. A platform software system for automobile motion components, wherein the motion components can be controlled by at least two control sources, characterized in that: include: A control source processing module, used for receiving and calculating control source request data of different control sources, and writing the control source request data into a standard request interface array according to the priority relationship between the different control sources, wherein the priority relationship is defined and adjusted by a preset control source priority calibration array; A control source arbitration module, used for arbitrating the control source request data in the standard request interface array to obtain a target request data whose control source request data is true and has the highest priority, and generating a corresponding drive control request according to the target control source request data; The drive control module is used to generate a drive control signal according to the drive control request, and output the drive control signal to the actuator of the action component.
2. The platform software system for automobile action parts according to claim 1, characterized in that: The length of the control source priority calibration array is greater than or equal to the number of control sources, and the length of the control source priority calibration array is greater than or equal to the length of the standard request interface array.
3. The platform software system for automobile action parts according to claim 2, characterized in that: The control source processing module also includes: An initialization module, used for initializing the standard request interface array; The calculation module is used to receive and calculate the control source request data of different control sources, and write the control source request data into the standard request interface according to the priority relationship between the different control sources.
4. The platform software system for automobile action parts according to claim 1, characterized in that: It also includes a control source management module for receiving and storing target control source request data obtained through arbitration by the control source arbitration module.
5. The platform software system for automobile action parts according to claim 4, characterized in that: The control source management module stores the target control source request data obtained by arbitration by the control source arbitration module through a control source record array.
6. The platform software system for automobile action parts according to claim 4, characterized in that: The control source management module is also used to switch the mode state of the vehicle action components according to the target control source request data.
7. The platform software system for automobile action parts according to claim 4, characterized in that: The control source processing module, the control source arbitration module and the control source management module are deployed in a central controller, and the drive control modules are respectively deployed in regional controllers corresponding to the action components.
8. The platform software system for automobile action parts according to claim 1, characterized in that: A group of function label macros are defined in the drive control module, and the function label macros are associated with the hardware channel macros of the controller.
9. The platform software system for automobile action parts according to claim 1, characterized in that: The drive control module is also used to perform fault diagnosis, fault processing and drive protection according to feedback information of the actuator of the action component.
10. The platform software system for automobile action parts according to claim 1, characterized in that: The action components include door locks, seats, windows or other body domain execution components with multi-source control.
