Camera parameter configuration method and intelligent driving controller
By using the MCU and SOC in the intelligent driving controller, the AVM camera parameters matched to the vehicle model are automatically configured through UDS requests. This resolves the contradiction that camera parameters need to be adjusted individually but parts need to be used uniformly, thus achieving efficient camera IQ parameter configuration and rapid delivery.
Patent Information
- Application Number
- CN202511461179.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-14
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2045-10-14
AI Technical Summary
In integrated driver assistance systems, the parameters of the AVM camera need to be adjusted individually for different vehicle models, but the camera-related components need to be used uniformly, resulting in high R&D costs, low production efficiency and chaotic management.
By using the microcontroller (MCU) and on-chip system-on-a-chip (SOC) in the intelligent driving controller, and by requesting the unified diagnostic service (UDS), the target surround-view camera is automatically identified and the camera configuration parameters matching the vehicle model are obtained, thus achieving efficient configuration of camera parameters.
It improved the configuration efficiency of AVM camera IQ parameters, enabling rapid delivery and quality consistency, and enhancing project configuration time and quality consistency assurance.
Smart Images

Figure CN120935450B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of combined driving assistance system, in particular to a camera parameter configuration method and an intelligent driving controller. BACKGROUND
[0002] With the deepening of the function research of combined driving assistance system (hereinafter referred to as "assistance driving system") and the popular application of automatic parking assistance (Automatic Parking Assist, APA) technology, the Around View Monitoring (AVM) camera parameters in the assistance driving system are gradually changing from the optional configuration of some vehicle models to the standard configuration of vehicle model projects.
[0003] Firstly, due to the differences in the installation positions (such as the front of the vehicle, the rear of the vehicle, and the lower part of the rearview mirror) and the installation angles of the cameras of different vehicle models, in order to ensure that each camera can accurately collect the surrounding image, the corresponding parameters (such as the range of view angle, the image correction coefficient, etc.) must be adjusted according to the specific vehicle model, and cannot be directly used universally.
[0004] Secondly, the AVM camera related parts are also faced with double constraints: on the one hand, in order to reduce the research and development cost and ensure the technical compatibility, these parts need to use the same mature hardware as the "first vehicle model" under the same architecture of the vehicle model; on the other hand, from the perspective of production efficiency and after-sales convenience, when assembling on the production line and repairing after sales, the parts with unified coding (i.e. "unified part number") of the entire automobile platform are required to be used, so as to avoid too many types of parts due to the differences in vehicle models and the confusion in management.
[0005] Therefore, under the contradiction of "parameters need to be adjusted separately according to vehicle models" but "camera related parts need to be used uniformly", how to design a method for efficiently configuring the parameters (such as color, definition, and exposure) of AVM camera which affect the image quality (Image Quality Parameters, IQ parameters) has become a topic that needs to be studied. SUMMARY
[0006] In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a camera parameter configuration method and an intelligent driving controller.
[0007] In a first aspect, the present application provides a camera parameter configuration method applied to an intelligent driving controller, and the method comprises:
[0008] If the microcontroller MCU in the intelligent driving controller receives a configuration trigger signal of the camera parameters, a first unified diagnostic service UDS service request is generated according to the configuration trigger signal, and is sent to a system on chip SOC;
[0009] The SOC in the intelligent driving controller determines a target surround view camera among a plurality of surround view cameras according to the first UDS service request, obtains camera configuration parameters corresponding to the target camera from a storage space matching the vehicle model, configures the target surround view camera according to the camera configuration parameters.
[0010] Optionally, the SOC determines a target surround view camera among a plurality of surround view cameras according to the first UDS service request, and obtains camera configuration parameters corresponding to the target camera, and configures the target surround view camera according to the camera configuration parameters, comprising:
[0011] The SOC determines a plurality of target surround view cameras according to first routine identifier (RID) instance information in the first UDS service request, obtains image quality configuration parameters of the plurality of target surround view cameras, and configures parameters affecting image quality in the plurality of target surround view cameras according to the image quality configuration parameters.
[0012] Optionally, the SOC determines a plurality of target surround view cameras, obtains image quality configuration parameters of the plurality of target surround view cameras from a storage space matching the vehicle model, and configures parameters affecting image quality in the plurality of target surround view cameras according to the image quality configuration parameters, comprising:
[0013] The master service in the SOC determines a plurality of target surround view cameras according to the first RID instance information, and obtains target parameter configuration interfaces of the plurality of target surround view cameras, and sends a quality parameter configuration request for the plurality of target surround view cameras to an interface calling service in the SOC.
[0014] The interface calling service in the SOC obtains image quality configuration parameters of the plurality of target surround view cameras from a storage space matching the vehicle model according to the quality parameter configuration request, sends the image quality configuration parameters to a plurality of target parameter configuration interfaces, and calls the target parameter configuration interfaces.
[0015] The execution service in the SOC controls the target parameter configuration interfaces to configure parameters affecting image quality in the plurality of target surround view cameras based on the image quality configuration parameters when the target parameter configuration interfaces are called.
[0016] Optionally, the method further comprises:
[0017] The SOC obtains configuration progress information and configuration state information of a plurality of target surround-view cameras, generates first configuration feedback information according to the configuration progress information and the configuration state information of the plurality of target surround-view cameras, and sends the first configuration feedback information to the MCU.
[0018] The MCU sends the first configuration feedback information to a sender of the configuration trigger signal.
[0019] Optionally, the SOC determines target surround-view cameras in a plurality of surround-view cameras according to the first UDS service request, and obtains camera configuration parameters corresponding to the target cameras, and configures the target surround-view cameras according to the camera configuration parameters, including:
[0020] The SOC determines target surround-view cameras to be configured for image flipping according to second RID instance information in the first UDS service request, and obtains flipping direction configuration parameters corresponding to the target surround-view cameras from a storage space matched with a vehicle model of the SOC; and configures image flipping directions of the target surround-view cameras according to the flipping direction configuration parameters.
[0021] Optionally, the SOC determines target surround-view cameras to be configured for image flipping, and obtains flipping direction configuration parameters corresponding to the target surround-view cameras; and configures image flipping directions of the target surround-view cameras according to the flipping direction configuration parameters, including:
[0022] The master service in the SOC determines target surround-view cameras to be configured for image flipping according to the second RID instance information, and obtains target parameter configuration interfaces of the plurality of target surround-view cameras, and sends a flipping parameter configuration request for the plurality of target surround-view cameras to an interface calling service in the SOC;
[0023] The interface calling service in the SOC obtains flipping direction configuration parameters of the plurality of target surround-view cameras from a storage space matched with a vehicle model of the SOC according to the flipping parameter configuration request, sends the flipping direction configuration parameters to a plurality of target parameter configuration interfaces, and calls the target parameter configuration interfaces;
[0024] The execution service in the SOC controls the target parameter configuration interfaces to configure image flipping directions of the target surround-view cameras based on the flipping direction configuration parameters when the target parameter configuration interfaces are called.
[0025] Optionally, the method further includes:
[0026] The SOC obtains second configuration feedback information of a plurality of target surround-view cameras, and sends the second configuration feedback information to the MCU.
[0027] The SOC sends the second configuration feedback information to a sender of the configuration trigger signal.
[0028] Optionally, the method further comprises:
[0029] If the MCU receives a restart trigger signal for camera restart, a second UDS service request is generated according to the restart trigger signal, and is sent to the SOC.
[0030] The SOC restarts the target surround-view camera according to the second UDS service request, and restarts the camera service of the target surround-view camera according to the second UDS service request.
[0031] Optionally, the SOC restarts the target surround-view camera according to the second UDS service request, and restarts the camera service of the target surround-view camera according to the second UDS service request, comprising:
[0032] The master service in the SOC sends a camera restart request for the target surround-view camera to the interface calling service according to the third RID instance information in the second UDS service request;
[0033] The interface calling service calls a camera restart interface of the target surround-view camera according to the camera restart request, and restarts the camera service;
[0034] The execution service controls to restart the target surround-view camera when the camera restart interface is called.
[0035] Optionally, the method further comprises:
[0036] The SOC obtains restart feedback information of a plurality of target surround-view cameras, and sends to the MCU;
[0037] The SOC sends the restart feedback information to a sender of the configuration trigger signal.
[0038] In a second aspect, the present application provides a smart driving controller, comprising:
[0039] A microcontroller MCU in the smart driving controller is configured to, if a configuration trigger signal for camera parameters is received, generate a first unified diagnostic service (UDS) service request according to the configuration trigger signal, and send to a system on chip (SOC).
[0040] The SOC in the intelligent driving controller is configured to determine a target surround-view camera among a plurality of surround-view cameras according to the first UDS service request, obtain camera configuration parameters corresponding to the target camera from a storage space matching the vehicle model, configure the target surround-view camera according to the camera configuration parameters, and the camera configuration parameters match the vehicle model.
[0041] Optionally, the SOC includes a master service, an interface calling service, and an execution service.
[0042] The master service is configured to determine a plurality of target surround-view cameras as target surround-view cameras according to first RID instance information, obtain target parameter configuration interfaces of the plurality of target surround-view cameras, and send a quality parameter configuration request for the plurality of target surround-view cameras to an interface calling service in the SOC.
[0043] The interface calling service is configured to obtain image quality configuration parameters of the plurality of target surround-view cameras from a storage space matching the vehicle model according to the quality parameter configuration request, send the image quality configuration parameters to a plurality of target parameter configuration interfaces, and call the target parameter configuration interfaces.
[0044] The execution service is configured to control the target parameter configuration interfaces to configure parameters affecting image quality in the plurality of target surround-view cameras based on the image quality configuration parameters when the target parameter configuration interfaces are called.
[0045] Optionally, the SOC includes a master service, an interface calling service, and an execution service.
[0046] The master service is configured to determine target surround-view cameras to be configured for flipping among a plurality of surround-view cameras according to the second RID instance information, obtain target parameter configuration interfaces of the plurality of target surround-view cameras, and send a flipping parameter configuration request for the plurality of target surround-view cameras to an interface calling service in the SOC.
[0047] The interface calling service is configured to obtain flipping direction configuration parameters of the plurality of target surround-view cameras from a storage space matching the vehicle model according to the flipping parameter configuration request, send the flipping direction configuration parameters to a plurality of target parameter configuration interfaces, and call the target parameter configuration interfaces.
[0048] The execution service is configured to control the target parameter configuration interfaces to configure image flipping directions of the target surround-view cameras based on the flipping direction configuration parameters when the target parameter configuration interfaces are called.
[0049] Optionally, the MCU is further configured to, if a restart trigger signal for restarting the camera is received, generate a second UDS service request according to the restart trigger signal, and send the second UDS service request to the SOC.
[0050] The SOC is further configured to restart the target surround-view camera according to the second UDS service request, and restart a camera service of the target surround-view camera according to the second UDS service request.
[0051] Optionally, the SOC comprises a master service, an interface calling service, and an execution service.
[0052] The master service is configured to send, according to third RID instance information in the second UDS service request, a camera restart request for the target surround-view camera to the interface calling service in the SOC.
[0053] The interface calling service is configured to call a camera restart interface of the target surround-view camera according to the camera restart request, and restart a camera service.
[0054] The execution service is configured to control to restart the target surround-view camera when the camera restart interface is called.
[0055] The present application has the following beneficial effects:
[0056] The present application has the following beneficial effects: BRIEF DESCRIPTION OF DRAWINGS
[0057] The accompanying drawings, which are incorporated herein and constitute part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application.
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
[0059] Figure 1 An AVM camera installation position schematic diagram provided by the present application;
[0060] Figure 2A flowchart illustrating a camera parameter configuration method provided in this application embodiment;
[0061] Figure 3 A flowchart illustrating another camera parameter configuration method provided in this application embodiment;
[0062] Figure 4 This is a structural diagram of an intelligent driving controller provided in an embodiment of this application. Detailed Implementation
[0063] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0064] Due to the different installation locations of AVM cameras in different car models (such as...) Figure 1 As shown, differences exist in the mounting angles (such as those at the front, rear, and below the rearview mirrors). To ensure each camera accurately captures surrounding images, its corresponding parameters (such as viewing angle and image correction coefficients) must be adjusted individually for each specific vehicle model, and cannot be directly universal. Furthermore, AVM camera-related components face a dual constraint: on the one hand, to reduce R&D costs and ensure technical compatibility, these components need to use the same mature hardware as the "first-launch model" under the same architecture; on the other hand, from the perspective of production efficiency and after-sales convenience, assembly on the production line and after-sales maintenance require the use of components with a unified coding system (i.e., "unified part number") across the entire automotive platform to avoid excessive component types and management chaos due to vehicle model differences. Therefore, given the contradiction of "parameters needing to be adjusted individually for each vehicle model" but "camera-related components needing to be used uniformly," designing a method to efficiently configure AVM camera parameters affecting image quality (IQ parameters) (such as color, sharpness, and exposure) has become a key research topic. Therefore, this application provides a camera parameter configuration method and an intelligent driving controller, which can be applied to the adaptation of the combined driving assistance system to different vehicle EE architectures and efficiently ported to vehicle models, thereby improving the adaptability and porting efficiency of the combined driving assistance system's AVM camera parameters.
[0065] This application provides a camera parameter configuration method, applied to an intelligent driving controller, which includes a microcontroller (MCU) and an on-chip system-on-a-chip (SOC).
[0066] The camera parameter configuration method provided by the embodiment of the application comprises: compatibility architecture design, data management based on vehicle type project, and standardized process of AVM camera parameter consistency configuration of combined driving assistance system. The compatibility architecture design splits the AVM camera program into three independent modules of firmware, IQ parameter and AVM direction setting through the vehicle type configuration parameter and the AVM camera platform link, different vehicle types share the same firmware, the IQ parameter is managed through the vehicle type project information folder, and when the software integration is released, only the corresponding parameter file needs to be packaged into the specified storage space (such as folder), so that the new project adaptation can be completed without changing the platform link. By stripping the IQ parameter and the firmware program, the IQ parameter to be configured can be stored in the specified folder according to the vehicle type, and the efficient configuration of the IQ parameter is facilitated. In addition, the standardized process of parameter configuration ensures that when the project is executed, the test, development and factory links only need to trigger the parameter configuration through the special tool, so that the rapid configuration application of multiple vehicle types and all links can be realized. In summary, the method realizes the efficient transplantation and configuration of the AVM camera IQ parameter through the cooperation of the architecture scheme design, software integration and vehicle type IQ data adaptation.
[0067] The compatibility architecture design comprises four parts of vehicle type IQ parameter, inter-chip communication protocol, RID instance unification and bottom software abstract interface unification, wherein the IQ parameter specifically comprises resolution, sensor size, pixel size, F-number, ISO sensitivity range, color depth and white balance, dynamic range, image stabilization (IS / OS), shutter speed and focusing performance, and HDR (High Dynamic Range) capability; the RID instance comprises six instances of 0324 (IQ configuration), 0325 (AVM front view flip), 0326 (AVM rear view flip), 0327 (AVM left view flip), 0328 (AVM right view flip) and 0329 (restart AVM); the inter-chip communication protocol comprises UDS service from the host computer to the MCU, and the self-defined protocol of IPC communication between the MCU and the SOC; the bottom software interface abstraction covers the IQ parameter upgrade interface, the progress and state feedback interface and the inter-chip communication interface, and the four parts of related technologies can be applied to all combined driving assistance system vehicle types, and can save the development and market time of the transplanted vehicle types.
[0068] The data management based on the vehicle model project includes: unified IQ parameters and AVM parameter storage spaces are adopted in scheme design, and vehicle model information is contained in the storage path of the IQ parameters and the AVM parameters, for example, the storage path can be: / aaa / bbb / vehicle model folder / ca_avm / iq / ccc; the naming rule of the file for storing the IQ parameters and / or the AVM parameters at least needs to contain: parameter category, vehicle model information and parameter version information, for example: IQ parameter package, OEM manufacturer, vehicle model information, supplier internal project number, software part number (length can be changed but special characters are not allowed), IQ version number (wherein D represents a PPAP sample, 1 represents a main version, and 2 represents a secondary version) and version release date, so as to quickly identify the related IQ parameter file. The configuration standard process of the IQ parameter consistency includes the order of upgrading the IQ parameters, and whether the appropriate process of configuring the flip setting according to the actual situation of the vehicle model is needed, and the combined driving assistance system software does not need to be modified and changed.
[0069] As shown in Figure 2 The camera parameter configuration method provided by the embodiment of the application can include the following steps:
[0070] In step S101, if the microcontroller MCU in the intelligent driving controller receives a configuration trigger signal of a camera parameter, a first unified diagnostic service UDS service request is generated according to the configuration trigger signal, and the first UDS service request is sent to a system on chip SOC.
[0071] In the embodiment of the application, the camera parameter includes: IQ parameters and flip parameters, wherein the IQ parameters include: resolution, sensor size, pixel size, F-number, ISO sensitivity range, color depth and white balance, dynamic range, image stabilization technology (IS / OS), shutter speed and focusing performance, HDR (High Dynamic Range) capability, etc.; and the flip parameters include: AVM front view flip, AVM rear view flip, AVM left view flip, AVM right view flip, etc.
[0072] The IQ parameter can be obtained in the following manner: when a vehicle model is established, the corresponding IQ parameter file is delivered to the component manager by the supplier or OEM manufacturer, the component manager uploads the relevant file to the designated warehouse of the project and places it in the designated position according to the corresponding vehicle model, the project integration developer packs the relevant IQ parameter into the corresponding mirror image unified management folder according to the group version requirement through the automatic assembly line; after the group version is successful, the relevant version is transmitted to the version management system, and the test team is notified to test and verify the AVM camera parameter configuration to check the AVM camera effect, and the test team verifies that there is no problem with the entire vehicle parameter configuration. If the verified parameter does not meet the requirements, it is fed back to the IQ parameter provider for adjustment and re-submission.
[0073] The configuration trigger signal can be input through the cockpit engineering mode, or input by the upper computer of the factory when the vehicle is offline, or input by the after-sales 4S store through the electrical inspection equipment or diagnostic instrument, etc. For example, in the case of four AVM cameras, the IQ parameter, AVM front view picture flip, AVM rear view picture flip, AVM left view picture flip, AVM right view picture flip, etc. can be configured by inputting the configuration trigger signal through the trigger device when the user needs to configure the parameters. The trigger device can transmit the configuration trigger signal and feedback information to the intelligent driving controller through the CAN FD bus.
[0074] The first UDS service request includes a routine identifier (RID), that is, the RID instance is part of the UDS service request message. For example, the RID instance of the embodiment of the application includes: 0324 (IQ configuration), 0325 (AVM front view flip), 0326 (AVM rear view flip), 0327 (AVM left view flip), 0328 (AVM right view flip), etc. so as to carry the flip parameters through the UDS service request, and then realize the IQ parameter configuration of the AVM camera, the flip configuration of any camera, and other camera parameter configuration operations.
[0075] When the intelligent driving controller MCU communicates with the SOC, the RID instance can be set according to Table 1. Table 1 includes the specific function definition of each RID instance, and also specifies the response state feedback information (such as the coding format, data length and interpretation of the states “execution success”, “illegal parameter”, “timeout unresponsive” and the like) corresponding to each RID instance, so as to ensure that the MCU and the SOC can accurately identify the execution result when executing routines (such as hardware self-test, parameter calibration) through the diagnostic service; define the TOPIC structure (i.e. the format specification of the data interaction theme) for direct communication between the MCU and the SOC, and provide a unified communication structure standard for real-time data interaction (such as control instruction issuance, state feedback reporting) between the two.
[0076] Table 1
[0077]
[0078] In this step, after receiving the configuration trigger signal, the MCU can generate a first UDS service request after processing the configuration trigger signal through hardware driving, context processing, UDS protocol encapsulation, and bias communication, etc., and send the information carried by the configuration trigger signal to the SOC through the first UDS service request.
[0079] In step S102, the SOC in the intelligent driving controller determines a target surround view camera from a plurality of surround view cameras according to the first UDS service request, and obtains camera configuration parameters corresponding to the target camera from a storage space matching the vehicle model, wherein the camera configuration parameters match the vehicle model, and the target surround view camera is configured according to the camera configuration parameters.
[0080] In an embodiment of the present application, the SOC determines a plurality of surround view cameras as target surround view cameras according to the first routine identifier (RID) instance information in the first UDS service request, obtains image quality configuration parameters of the plurality of target surround view cameras from a storage space matching the vehicle model, and configures parameters affecting image quality in the plurality of target surround view cameras according to the image quality configuration parameters.
[0081] In actual application, in the case that the IQ parameters of all AVM cameras are the same, when the RID instance carried by the first UDS service request is used to indicate IQ parameter configuration, each surround view camera can be determined as a target surround view camera, the IQ parameters can be obtained from a storage space matching the vehicle model as camera configuration parameters corresponding to each target camera, and each target surround view camera is configured according to the camera configuration parameters.
[0082] Alternatively, in the case that the IQ parameters of a plurality of AVM cameras are different (that is, different AVM cameras correspond to different IQ parameters), when the RID instance carried by the first UDS service request is used to indicate IQ parameter configuration, each surround view camera can be determined as a target surround view camera, the IQ parameters corresponding to each target surround view camera can be obtained from a storage space matching the vehicle model as camera configuration parameters corresponding to the target camera, and the target surround view camera is configured according to the camera configuration parameters; the next surround view camera is determined as a target surround view camera, its IQ parameters are obtained, and IQ parameter configuration is performed, until each target surround view camera is configured.
[0083] Further, in this embodiment, the master service in the SOC determines a plurality of target surround view cameras as target surround view cameras according to the first RID instance information, and acquires target parameter configuration interfaces of the plurality of target surround view cameras, and sends a quality parameter configuration request for the plurality of target surround view cameras to an interface calling service in the SOC;
[0084] The interface calling service in the SOC acquires image quality configuration parameters of the plurality of target surround view cameras from a storage space matched with a vehicle model of the SOC according to the quality parameter configuration request, sends the image quality configuration parameters to the plurality of target parameter configuration interfaces, and calls the target parameter configuration interfaces;
[0085] The execution service in the SOC controls the target parameter configuration interfaces to configure parameters affecting image quality in the plurality of target surround view cameras based on the image quality configuration parameters when the target parameter configuration interfaces are called.
[0086] After the SOC starts to configure camera parameters, the SOC can acquire configuration progress information and configuration state information of the plurality of target surround view cameras, generate first configuration feedback information according to the configuration progress information and the configuration state information of the plurality of target surround view cameras, and send the first configuration feedback information to the MCU; the MCU sends the first configuration feedback information to the sender of the configuration trigger signal, so that the user can know the configuration progress and the configuration state of the camera parameters in time.
[0087] In another embodiment of the present application, the SOC determines target surround view cameras to be configured for flipping according to second RID instance information in the first UDS service request, and acquires flipping direction configuration parameters corresponding to the target surround view cameras from a storage space matched with a vehicle model of the SOC; and configures image flipping directions of the target surround view cameras according to the flipping direction configuration parameters.
[0088] In actual application, when the RID instance carried in the first UDS service request is used to indicate that picture flipping is performed, an AVM camera that needs to be flipped can be determined as a target surround view camera, and flipping parameters (such as: flipping 180 degrees upward, flipping 90 degrees left, flipping 30 degrees right, flipping 120 degrees downward, etc.) matched with a vehicle model of the SOC can be used as camera configuration parameters, and the target surround view camera is configured according to the camera configuration parameters.
[0089] Further, in the embodiment, the master service in the SOC determines target surround view cameras to be configured to flip according to the second RID instance information among the plurality of surround view cameras, and acquires target parameter configuration interfaces of the plurality of target surround view cameras, and sends a flip parameter configuration request for the plurality of target surround view cameras to an interface calling service in the SOC;
[0090] The interface calling service in the SOC acquires flip direction configuration parameters of the plurality of target surround view cameras from a storage space matched with the vehicle model according to the flip parameter configuration request, sends the flip direction configuration parameters to the plurality of target parameter configuration interfaces, and calls the target parameter configuration interfaces.
[0091] The execution service in the SOC controls the target parameter configuration interfaces to configure image flip directions of the target surround view cameras based on the flip direction configuration parameters when the target parameter configuration interfaces are called.
[0092] After the SOC starts to configure camera parameters, the SOC acquires second configuration feedback information of the plurality of target surround view cameras, and sends the second configuration feedback information to the MCU; and the SOC sends the second configuration feedback information to the sender of the configuration trigger signal.
[0093] The embodiment of the application can automatically determine target surround view cameras to be configured when a configuration trigger signal is received, acquire camera configuration parameters of the target surround view cameras matched with the vehicle model, and finally configure the target surround view cameras according to the camera configuration parameters, so as to realize the adaptation of AVM camera IQ parameters to the vehicle model, improve the configuration efficiency of IQ parameters, achieve the goal of rapid delivery, and improve the configuration time and quality consistency guarantee.
[0094] In another embodiment of the application, as shown in Figure 3 The method further includes:
[0095] In step S201, if the MCU receives a restart trigger signal for camera restart, a second UDS service request is generated according to the restart trigger signal, and is sent to the SOC.
[0096] The restart trigger signal can be input by the cockpit engineering mode, or input by the upper computer of the factory when the vehicle is offline, or input by the electric inspection equipment or diagnostic instrument in the after-sales 4S store, etc. For example, the restart trigger signal can be input by the trigger device when the user needs to restart the AVM camera, and the trigger device can transmit the restart trigger signal to the intelligent driving controller through the CAN FD bus.
[0097] The second UDS service request includes a routine identifier (RID), that is, the RID instance is part of the UDS service request message. For example, the RID instance of the embodiment of the application includes: 0302 (restarting AVM) so as to instruct the AVM camera to restart and the like through the UDS service request.
[0098] In step S202, the SOC restarts the target surround-view camera according to the second UDS service request, and restarts the camera service of the target surround-view camera according to the second UDS service request.
[0099] In this step, the SOC can restart the corresponding target surround-view camera according to the target surround-view camera that needs to be restarted carried in the second UDS service request, and restart the camera service thereof.
[0100] In an embodiment of the application, the master service in the SOC sends a camera restart request for the target surround-view camera to the interface calling service according to the third RID instance information in the second UDS service request;
[0101] The interface calling service calls the camera restart interface of the target surround-view camera according to the camera restart request, and restarts the camera service;
[0102] The execution service controls to restart the target surround-view camera when the camera restart interface is called.
[0103] After the SOC controls the target surround-view camera to restart, the method further includes:
[0104] The SOC obtains the restart feedback information of a plurality of target surround-view cameras, and sends the restart feedback information to the MCU;
[0105] The SOC sends the restart feedback information to the sender of the configuration trigger signal.
[0106] The embodiment of the application can restart the corresponding target surround-view camera according to the restart trigger signal, and realize the restart control efficiency of a plurality of AVM cameras.
[0107] For ease of understanding, the application further provides an example in an actual application, as follows:
[0108] First, the host computer, electrical detection equipment or diagnostic equipment issues the 3103 03 24 instance to the MCU end, the MCU receives the corresponding instance request and gives the host computer, electrical detection equipment or diagnostic equipment a positive reply, and simultaneously converts the received content into typedef struct{
[0109] uint8 camId; / / camera ID
[0110] uint8 status; / / configuration status
[0111] uint8 progress; / / configuration progress value
[0112] } UPGRADE_RESULT_T; The structure body is transmitted to the SOC end; the SOC returns the state of the request execution to the MCU end after obtaining the request, and the MCU end replies to the electric detection equipment or diagnostic instrument through 71030324 instances to facilitate the user to judge whether the configuration is successful. Similarly, the camera image is flipped 180 degrees, and the front, rear, left and right cameras respectively use 31030325, 31030326, 31030327 and 31030328 to request the reverse flip of the camera whose direction needs to be set. After the AVM camera parameter configuration is completed, 31030329 is used to request the camera restart operation.
[0113] In another embodiment of the present application, a smart driving controller is also provided, as shown in Figure 4 , comprising:
[0114] The microcontroller MCU in the smart driving controller is configured to generate a first unified diagnostic service (UDS) service request according to the configuration trigger signal if the configuration trigger signal for the camera parameter is received, and send the first UDS service request to the system on chip (SOC).
[0115] As shown in Figure 4 , the MCU includes a motor / actor control library (MACL), a real-time operating system (RTOS), a unified diagnostic service (UDS), and a first inter-process communication handler (IPC handler). The MACL is configured to forward the configuration trigger signal to the RTOS. The RTOS is configured to extract information in the configuration trigger signal and send the extracted information to the UDS for packaging to obtain the first UDS service request, and then send the first UDS service request to the SOC through the IPC handler.
[0116] The SOC in the intelligent driving controller is configured to determine a target surround-view camera among a plurality of surround-view cameras according to the first UDS service request, obtain camera configuration parameters corresponding to the target camera from a storage space matching the vehicle model, configure the target surround-view camera according to the camera configuration parameters.
[0117] In an embodiment of the present application, as shown in Figure 4 The SOC includes a master service, an interface calling service, and an execution service.
[0118] The master service is configured to determine a plurality of target surround-view cameras according to first RID instance information, obtain target parameter configuration interfaces of the plurality of target surround-view cameras, and send a quality parameter configuration request for the plurality of target surround-view cameras to the interface calling service in the SOC.
[0119] The interface calling service is configured to obtain image quality configuration parameters of the plurality of target surround-view cameras from a storage space matching the vehicle model according to the quality parameter configuration request, send the image quality configuration parameters to the plurality of target parameter configuration interfaces, and call the target parameter configuration interfaces.
[0120] The execution service is configured to control the target parameter configuration interfaces to configure parameters affecting image quality in the plurality of target surround-view cameras based on the image quality configuration parameters when the target parameter configuration interfaces are called.
[0121] In another embodiment of the present application, the SOC includes a master service, an interface calling service, and an execution service.
[0122] The master service is configured to determine a target surround-view camera to be configured for flipping among a plurality of surround-view cameras according to the second RID instance information, obtain target parameter configuration interfaces of the plurality of target surround-view cameras, and send a flipping parameter configuration request for the plurality of target surround-view cameras to the interface calling service in the SOC.
[0123] The interface calling service is configured to obtain flipping direction configuration parameters of the plurality of target surround-view cameras from a storage space matching the vehicle model according to the flipping parameter configuration request, send the flipping direction configuration parameters to the plurality of target parameter configuration interfaces, and call the target parameter configuration interfaces.
[0124] The execution service is configured to control the target parameter configuration interface to configure the image flipping direction of the target surround-view camera based on the flipping direction configuration parameter when the target parameter configuration interface is invoked.
[0125] In addition, the interface invocation service is configured to save the original parameters read back for rollback of the configuration parameters in case of upgrade failure.
[0126] As shown in Figure 4 In addition to the master service, the interface invocation service, and the execution service, the SOC further includes a second IPC handler, an IQ parameter manager, a root file system (rootfs), and a driver. The driver is configured to send a first UDS service request to the master service through the rootfs and the second IPC handler. The IQ parameter manager is configured to access a folder pointed to by a pre-defined IQ parameter placement path and send the obtained IQ parameters to the interface invocation service.
[0127] In actual applications, the first IPC handler and the second IPC handler implement inter-chip communication based on a custom protocol. The first IPC handler is mainly configured to send a translation request of RID data, receive the upgrade progress and the upgrade state fed back by the second IPC handler, and convert the CAN FD message data to feed back to the cockpit controller, the electrical inspection device, or the diagnostic instrument. Then, the cockpit controller, the electrical inspection device, or the diagnostic instrument determines whether the upgrade is successful or failed according to the fed-back state information. If the parameter configuration is successful, the whole vehicle enters the next electrical inspection process. If the parameter configuration fails, the whole process is stopped. The cockpit controller, the electrical inspection device, or the diagnostic instrument serves as a trigger source and is the starting point of the whole IQ parameter configuration. The UDS is mainly configured to receive and send a response to the UDS service. The master service is mainly configured to handle the request sent by the inter-chip communication to trigger the request. The interface invocation service is configured to trigger the specific implementation, output the success and failure states of the AVM camera parameter configuration, and handle the normal state of the communication with the AVM camera sensor. The IQ parameter manager is mainly configured to store and manage AVM camera parameters of multiple vehicle models. The execution service is configured to implement the specific parameter configuration and the flipping logic. The multiple AVM cameras are mainly configured to receive the configuration parameters and implement the effects.
[0128] The embodiment of the application can automatically determine the target surround-view camera to be configured when a configuration trigger signal is received, obtain camera configuration parameters of the target surround-view camera matched with the vehicle model, and finally configure the target surround-view camera according to the camera configuration parameters, so as to realize the adaptation of AVM camera IQ parameters to the vehicle model, improve the configuration efficiency of IQ parameters, achieve the goal of rapid delivery, and improve the configuration time and quality consistency of the project.
[0129] In another embodiment of the application, the MCU is further configured to, if a restart trigger signal for camera restart is received, generate a second UDS service request according to the restart trigger signal, and send the second UDS service request to the SOC.
[0130] The SOC is further configured to restart the target surround-view camera according to the second UDS service request, and restart the camera service of the target surround-view camera according to the second UDS service request.
[0131] In an embodiment of the application, the SOC comprises a master service, an interface calling service, and an execution service.
[0132] The master service is configured to send a camera restart request for the target surround-view camera to the interface calling service in the SOC according to third RID instance information in the second UDS service request.
[0133] The interface calling service is configured to call a camera restart interface of the target surround-view camera according to the camera restart request, and restart the camera service.
[0134] The execution service is configured to control the target surround-view camera to be restarted when the camera restart interface is called.
[0135] The embodiment of the application can restart the corresponding target surround-view camera according to the restart trigger signal, so as to realize the restart control efficiency of multiple AVM cameras.
[0136] It has to be noted that, in the present document, relational terms are intended only to convey a possible relationship between elements or
[0137] The foregoing is considered as illustrative only of the principles of the application. Numerous modifications and changes will readily occur to those skilled in the art, which modifications and changes are to be understood as intended to be encompassed by the general scope of the application. Accordingly, the application is not to be limited to the above described or illustrated embodiments, but is intended to encompass all embodiments consistent with the principles of the application.
Claims
1. A method for configuring camera parameters, characterized in that, Applied to an intelligent driving controller, the method includes: If the microcontroller (MCU) in the intelligent driving controller receives a configuration trigger signal for the camera parameters, it generates a first unified diagnostic service (UDS) request based on the configuration trigger signal and sends it to the on-chip SOC. The SOC in the intelligent driving controller determines the target surround view camera from multiple surround view cameras according to the first UDS service request, obtains the camera configuration parameters corresponding to the target camera from the storage space that matches its own vehicle model, the camera configuration parameters match its own vehicle model, the camera configuration parameters include image quality parameters and flip parameters that affect image quality, and configures the target surround view camera according to the camera configuration parameters; The SOC determines the target surround-view camera from among multiple surround-view cameras based on the first UDS service request, obtains the camera configuration parameters corresponding to the target camera, and configures the target surround-view camera according to the camera configuration parameters, including: The SOC determines multiple surround-view cameras as target surround-view cameras based on the first routine identifier (RID) instance information in the first UDS service request, obtains image quality configuration parameters of multiple target surround-view cameras from storage space matching its own vehicle model, and configures the parameters affecting image quality of multiple target surround-view cameras according to the image quality configuration parameters. When multiple AVM cameras have different IQ parameters, when the RID instance carried in the first UDS service request is used to indicate IQ parameter configuration, each surround-view camera is identified as a target surround-view camera. The IQ parameters corresponding to each target surround-view camera are obtained from the storage space matching the vehicle model and used as the camera configuration parameters for that target camera. The target surround-view camera is then configured according to the camera configuration parameters. Then, the next surround-view camera is identified as a target surround-view camera, its IQ parameters are obtained, and IQ parameter configuration is performed, until each target surround-view camera is configured.
2. The camera parameter configuration method according to claim 1, characterized in that, The SOC identifies multiple surround-view cameras as target surround-view cameras, obtains image quality configuration parameters for the multiple target surround-view cameras, and configures parameters affecting image quality among the multiple target surround-view cameras according to the image quality configuration parameters, including: The main control service in the SOC determines the multiple target surround-view cameras as target surround-view cameras based on the first RID instance information, obtains the target parameter configuration interface of the multiple target surround-view cameras, and sends a quality parameter configuration request for the multiple target surround-view cameras to the interface call service in the SOC. The interface call service in the SOC retrieves image quality configuration parameters of multiple target surround-view cameras from storage space matching its own vehicle model according to the quality parameter configuration request, sends the image quality configuration parameters to multiple target parameter configuration interfaces, and calls the target parameter configuration interfaces. When the target parameter configuration interface is invoked, the execution service in the SOC controls the target parameter configuration interface to configure the parameters affecting image quality in multiple target surround-view cameras based on the image quality configuration parameters.
3. The camera parameter configuration method according to claim 1, characterized in that, The method further includes: The SOC acquires the configuration progress information and configuration status information of the multiple target surround view cameras, generates first configuration feedback information based on the configuration progress information and configuration status information of the multiple target surround view cameras, and sends it to the MCU; The MCU sends the first configuration feedback information to the sender of the configuration trigger signal.
4. The camera parameter configuration method according to claim 1, characterized in that, The SOC determines the target surround-view camera from among multiple surround-view cameras based on the first UDS service request, obtains the camera configuration parameters corresponding to the target camera, and configures the target surround-view camera according to the camera configuration parameters, including: The SOC determines the target surround-view camera to be flipped from among multiple surround-view cameras based on the second RID instance information in the first UDS service request, obtains the flip direction configuration parameters corresponding to the target surround-view camera from the storage space matching its own vehicle model, and configures the image flip direction of the target surround-view camera according to the flip direction configuration parameters.
5. The camera parameter configuration method according to claim 4, characterized in that, The SOC determines the target surround-view camera to be flipped among multiple surround-view cameras and obtains the flip direction configuration parameters corresponding to the target surround-view camera. Configure the image flipping direction of the target surround-view camera according to the flipping direction configuration parameters, including: The main control service in the SOC determines the target surround view camera to be flipped based on the second RID instance information among multiple surround view cameras, obtains the target parameter configuration interface of multiple target surround view cameras, and sends a flip parameter configuration request for multiple target surround view cameras to the interface call service in the SOC. The interface call service in the SOC obtains the flip direction configuration parameters of multiple target surround view cameras from the storage space matching its own vehicle model according to the flip parameter configuration request, sends the flip direction configuration parameters to multiple target parameter configuration interfaces, and calls the target parameter configuration interface. When the target parameter configuration interface is invoked, the execution service in the SOC controls the target parameter configuration interface to configure the image flipping direction of the target surround view camera based on the flipping direction configuration parameter.
6. The camera parameter configuration method according to claim 4, characterized in that, The method further includes: The SOC acquires second configuration feedback information from multiple target surround-view cameras and sends it to the MCU. The SOC sends the second configuration feedback information to the sender of the configuration trigger signal.
7. The camera parameter configuration method according to claim 1, characterized in that, The method further includes: If the MCU receives a restart trigger signal for restarting the camera, it generates a second UDS service request based on the restart trigger signal and sends it to the SOC; The SOC restarts the target surround-view camera according to the second UDS service request, and restarts the camera service of the target surround-view camera according to the second UDS service request.
8. The camera parameter configuration method according to claim 7, characterized in that, The SOC restarts the target surround-view camera according to the second UDS service request, and restarts the camera service of the target surround-view camera according to the second UDS service request, including: The main control service in the SOC sends a camera restart request for the target surround-view camera to the interface call service in the SOC based on the third RID instance information in the second UDS service request. The interface call service calls the camera restart interface of the target surround view camera according to the camera restart request, and restarts the camera service; When the camera restart interface is invoked, the execution service controls the restart of the target surround view camera.
9. The camera parameter configuration method according to claim 7, characterized in that, The method further includes: The SOC acquires restart feedback information from multiple target surround-view cameras and sends it to the MCU; The SOC sends the restart feedback information to the sender of the configuration trigger signal.
10. A smart driving controller, characterized in that, include: The microcontroller (MCU) in the intelligent driving controller is used to generate a first unified diagnostic service (UDS) request based on the configuration trigger signal for camera parameters if it receives such a signal, and then send it to the on-chip SOC. The SOC in the intelligent driving controller is used to determine the target surround view camera among multiple surround view cameras according to the first UDS service request, obtain the camera configuration parameters corresponding to the target camera from the storage space that matches its own vehicle model, the camera configuration parameters include image quality parameters and flip parameters that affect image quality, the camera configuration parameters match its own vehicle model, and configure the target surround view camera according to the camera configuration parameters; The SOC includes: main control service, interface call service, and execution service; The main control service is used to identify multiple target surround-view cameras as target surround-view cameras based on the first RID instance information, obtain the target parameter configuration interface of multiple target surround-view cameras, and send a quality parameter configuration request for multiple target surround-view cameras to the interface call service in the SOC. The interface call service is used to obtain image quality configuration parameters of multiple target surround view cameras from storage space matching its own vehicle model according to the quality parameter configuration request, send the image quality configuration parameters to multiple target parameter configuration interfaces, and call the target parameter configuration interface; The execution service is used to control the target parameter configuration interface to configure parameters affecting image quality in multiple target surround-view cameras based on the image quality configuration parameters when the target parameter configuration interface is invoked; When multiple AVM cameras have different IQ parameters, when the RID instance carried in the first UDS service request is used to indicate IQ parameter configuration, each surround-view camera is identified as a target surround-view camera. The IQ parameters corresponding to each target surround-view camera are obtained from the storage space matching the vehicle model and used as the camera configuration parameters for that target camera. The target surround-view camera is then configured according to the camera configuration parameters. Then, the next surround-view camera is identified as a target surround-view camera, its IQ parameters are obtained, and IQ parameter configuration is performed, until each target surround-view camera is configured.
11. The intelligent driving controller according to claim 10, characterized in that, The SOC includes: main control service, interface call service, and execution service; The main control service is used to determine the target surround view camera to be flipped in multiple surround view cameras according to the second RID instance information, obtain the target parameter configuration interface of multiple target surround view cameras, and send the flip parameter configuration request of multiple target surround view cameras to the interface call service in the SOC. The interface call service is used to obtain the flip direction configuration parameters of multiple target surround view cameras from the storage space matching its own vehicle model according to the flip parameter configuration request, send the flip direction configuration parameters to multiple target parameter configuration interfaces, and call the target parameter configuration interface. The execution service is used to control the target parameter configuration interface to configure the image flipping direction of the target surround view camera based on the flipping direction configuration parameter when the target parameter configuration interface is invoked.
12. The intelligent driving controller according to claim 10, characterized in that, The MCU is also configured to, if it receives a restart trigger signal for restarting the camera, generate a second UDS service request based on the restart trigger signal and send it to the SOC; The SOC is also configured to restart the target surround view camera according to the second UDS service request, and to restart the camera service of the target surround view camera according to the second UDS service request.
13. The intelligent driving controller according to claim 12, characterized in that, The SOC includes: main control service, interface call service, and execution service; The main control service is used to send a camera restart request for the target surround-view camera to the interface call service based on the third RID instance information in the second UDS service request. The interface call service is used to call the camera restart interface of the target surround view camera according to the camera restart request, and restart the camera service; The execution service is used to control the restart of the target surround view camera when the camera restart interface is invoked.
Citation Information
Patent Citations
Truck panoramic image system offline configuration method and system
CN116205759A
Vehicle-mounted camera system configuration method, microcontroller and vehicle-mounted camera system
CN118233742A