Automatic parking guidance system development method and device, vehicle-mounted terminal and vehicle
By building an automatic parking guidance system, the existing automatic parking system testing methods are solved, and efficient simulation testing is achieved, which improves driving safety and user experience.
Patent Information
- Application Number
- CN202411235652.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-09-04
AI Technical Summary
The testing methods of existing automatic parking systems are dangerous, expensive, long time and low coverage, and cannot meet the efficiency requirements of modern product development.
By building an automatic parking guidance system, including establishing an automatic parking network architecture, simulation model, simulation environment and simulation control panel, conducting integrated debugging, and implementing simulation testing to verify the correctness and reliability of the controller.
It effectively avoids the dangers, high costs and long time problems in actual vehicle testing, improves the testing efficiency and coverage, and improves driving safety and user experience.
Smart Images

Figure CN119087980A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automatic parking, and in particular to a method and device for developing an automatic parking guidance system, a vehicle-mounted terminal and a vehicle. Background Art
[0002] With the development of modern technology and the improvement of people's living standards, in order to enjoy a fast and convenient way of travel, cars have become an indispensable means of transportation for every family. However, with the rapid growth of the number of cars year by year, the available parking space has become smaller and smaller, and the difficulty coefficient of parking has become greater and greater accordingly, which has posed a major challenge to the urban traffic environment and vehicle parking problems. Parking the vehicle safely and orderly in a crowded city is also a great test for the driver's parking skills. In recent years, due to factors such as limited parking space, unskilled parking skills of drivers, and the need for vehicles to make multiple parking adjustments before entering the parking space, a large number of traffic accidents such as local traffic congestion, local scratches of vehicles, and minor collisions have been caused. This is mostly because in order to avoid collisions with other objects during parking, the driver not only needs to control the steering wheel, accelerator and brake at the same time, but also needs to constantly adjust the position of the car according to the conditions around the car to complete the parking process under the condition of a small parking space. In order to respond to the urgent needs of consumers to reduce the loss of life and property during parking, many domestic and foreign automobile manufacturers and scientific research institutions have begun to invest a lot of manpower, financial resources and material resources to research and develop automatic parking systems that can solve the difficulty of parking vehicles in cities. This also makes the automatic parking system one of the key technologies for intelligent networking of automobiles.
[0003] The existing automatic parking system test is usually based on real vehicle testing, which is characterized by dangerous testing process, high testing cost, long testing time, and low testing coverage. Nowadays, as the time allowed for product development continues to shorten and the test efficiency is required to be continuously improved, the traditional testing method has low testing efficiency, imperfect testing, and some functions cannot be realized, which is completely unable to meet the modern product development methods. Summary of the invention
[0004] The present application provides an automatic parking guidance system development method, device and vehicle-mounted terminal to solve the above-mentioned technical problems.
[0005] An embodiment of the present application provides a method for developing an automatic parking guidance system, the method comprising: modeling and simulating a pre- or real-time automatic parking network architecture to obtain an automatic parking simulation model, wherein the automatic parking simulation model comprises a plurality of simulation nodes; constructing an automatic parking simulation environment through a development tool, and loading the simulation nodes into the parking simulation environment to obtain a network database, wherein the network database comprises a plurality of data nodes; loading the data nodes in the network database into the automatic parking simulation model to establish a network topology structure of the automatic parking simulation model; creating a simulation control panel through a panel editor in the development tool, wherein the simulation control panel is used to display the status of an automatic parking function; and integrating and debugging the automatic parking network architecture, the automatic parking simulation model, the automatic parking simulation environment, and the simulation control panel to obtain an automatic parking guidance system.
[0006] In one embodiment of the present application, an automatic parking network architecture is constructed, including: configuring system components of the automatic parking network architecture, wherein the system components include a power drive system, a chassis control system, a body control system, an ultrasonic sensor system, a vehicle model, and a human-computer interaction system; integrating and testing all configured system components to obtain the automatic parking network architecture; wherein the power drive system includes a vehicle controller, a motor controller, and an engine controller; and the chassis control system includes an integrated automatic parking controller, an airbag controller, a steering wheel angle sensor, an electric power steering controller, and a body stability controller.
[0007] In one embodiment of the present application, the automatic parking network architecture is modeled and simulated to obtain an automatic parking simulation model, including: performing a demand analysis on the automatic parking network architecture, the demand analysis including communication rate, number of nodes, message type, and message format; defining simulation nodes according to the demand analysis, and defining message information that the simulation nodes need to send and receive, the simulation nodes representing controllers or devices in the automatic parking network architecture; integrating and debugging the simulation nodes according to the demand analysis to obtain an automatic parking simulation model.
[0008] In one embodiment of the present application, after obtaining the automatic parking simulation model, a communication matrix is designed, including: creating a node object of the simulation node, creating a message object for the node object, the message object including a message that the node object needs to send or receive, and the message information including a message name, a message identification code, a message type, a message period and a message length; creating a signal content for the message object, the signal content including a signal name, a signal length, a signal type, a start bit, an offset and a data range; configuring the communication relationship between the simulation nodes, the communication relationship including a sending and receiving relationship between the node object and the message object, and an inclusion relationship between the message object and the signal object; and obtaining a communication matrix for simulation node communication within the automatic parking simulation model through the message information, signal content and sending period of the simulation node.
[0009] In one embodiment of the present application, after obtaining the automatic parking simulation model, it also includes: extracting the simulation node to be tested from the automatic parking simulation model, and disconnecting the simulation node to be tested from the virtual bus; finding the physical node corresponding to the simulation node to be tested from the automatic parking network architecture, replacing the simulation node to be tested with the corresponding physical node, and then connecting the virtual bus to monitor the data transmission of the physical node in the automatic parking simulation model to perform semi-physical simulation analysis; after the semi-physical simulation analysis of all physical nodes in the automatic parking network architecture is completed, all simulation nodes to be detected are disconnected from the virtual bus, and all simulation nodes to be detected in the automatic parking simulation model are replaced with corresponding physical nodes.
[0010] In one embodiment of the present application, a simulation control panel is created through a panel editor in a development tool, including: determining a control combination through test requirements, and associating environment variables with each control combination, wherein the control combination is used to simulate a controller, and the environment variables are used to input and output test data; setting preconditions for vehicle parking, wherein the preconditions include vehicle speed, gear position, door switch status, and seat belt status; and designing a layout of the control combination according to preset layout rules to obtain a simulation control panel to display the functional status of vehicle parking.
[0011] In one embodiment of the present application, after obtaining the automatic parking guidance system, it also includes: starting the automatic parking guidance system, establishing communication between the simulated vehicle and the automatic parking guidance system, and loading a test configuration file; performing a system self-check when it is detected that the vehicle operating state is the precondition; in response to the precondition instruction of the automatic parking guidance system development method, setting the operating state of each component of the simulated vehicle; when the operating state of each component of the simulated vehicle is the target operating state, guiding the simulated vehicle to a target parking space in response to a parking guidance instruction, the target parking space includes a parallel parking space and a perpendicular parking space.
[0012] The automatic parking guidance system development method device provided in the embodiment of the present application comprises: an automatic parking system construction module, which is used to model and simulate the automatic parking network architecture established in advance or in real time to obtain an automatic parking simulation model and design a communication matrix, wherein the automatic parking simulation model comprises a plurality of simulation nodes; a simulation environment construction module, which is used to construct an automatic parking simulation environment through a development tool, and load the simulation nodes into the parking simulation environment to obtain a network database, wherein the network database comprises a plurality of data nodes; a loading module, which is used to load the data nodes in the network database into the automatic parking simulation model to establish a network topology structure of the automatic parking simulation model; a simulation control panel creation module, which is used to create a simulation control panel through a panel editor in the development tool, wherein the simulation control panel is used to display the status of the automatic parking function; and a debugging module, which is used to integrate and debug the automatic parking network architecture, the automatic parking simulation model, the automatic parking simulation environment and the simulation control panel to obtain an automatic parking guidance system.
[0013] An embodiment of the present application provides a vehicle-mounted terminal, including a processor, a memory and a communication virtual bus; the communication virtual bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement the above-mentioned automatic parking guidance system development method.
[0014] The beneficial effects of the present application are as follows: by constructing an automatic parking guidance system and ensuring the quality of the automatic parking controller by performing a simulation test on it before conducting a real vehicle test, the simulation test of the automatic parking simulation model can be carried out simultaneously with the development of the automatic parking network architecture, so that the correctness and reliability of the automatic parking controller can be tested and verified at each development stage, effectively avoiding the possible dangers in the testing process, high testing costs, long testing time, and low testing coverage that may occur when conducting real vehicle tests directly, thereby improving driving safety and thus improving user experience.
[0015] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0017] Figure 1is a flow chart of an automatic parking guidance system development method shown in an exemplary embodiment of the present application;
[0018] Figure 2 This is a diagram of an automatic parking network architecture according to an exemplary embodiment of the present application;
[0019] Figure 3 A flow chart of a testing method of an automatic parking guidance system shown as an exemplary embodiment of the present application;
[0020] Figure 4 is a block diagram of an automatic parking guidance system development device shown in an exemplary embodiment of the present application;
[0021] Figure 5 It is a structural schematic diagram of a vehicle-mounted terminal shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, 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 application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.
[0023] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application 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 at will, and the component layout may also be more complicated.
[0024] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.
[0025] The embodiments of the present application respectively propose an automatic parking guidance system development method, an automatic parking guidance system development method device, a vehicle-mounted terminal and a vehicle, and these embodiments will be described in detail below.
[0026] See also Figure 1 , Figure 1FIG. 1 is a flow chart of a method for developing an automatic parking guidance system according to an embodiment of the present application. Figure 1 As shown, the method at least includes steps S110 to S150, which are described in detail as follows:
[0027] Step S110 , modeling and simulating the automatic parking network architecture established in advance or in real time to obtain an automatic parking simulation model, wherein the automatic parking simulation model includes a plurality of simulation nodes.
[0028] In one embodiment of the present application, the automatic parking network architecture includes an automatic parking controller, sensors, surround view cameras and actuators. Among them, 12 ultrasonic sensors and 4 surround view cameras are required to detect environmental information, search for available parking spaces, assist in planning parking positions, monitor the vehicle's surrounding environment in real time, and feedback current parking space information. The automatic parking controller is the core of the automatic parking system. It mainly interacts with other electronic control units through the CAN (control area network) bus to achieve system status (system failure, system failure, brake mode status, system on / off status) detection, prompt the driver of the current state of the system, process environmental perception information to determine a suitable parking space and inform the driver, calculate the parking trajectory and coordinate the control of each subsystem and issue instructions (target distance, speed limit value, steering wheel angle, parking distance, target gear, braking mode), support parallel and vertical parking and determine whether the alarm conditions are met. If the alarm conditions are met, a prompt will be issued and an alarm will be issued. The actuator mainly requires the EPS (electric power steering system) to steer during parking based on the decision information of the central control system. EPS performs lateral control and sends a gear request to the MCS (motor control system) through ESP (electronic stability program). ESP controls the longitudinal vehicle speed, and the mutual coordination of various systems enables the vehicle to be parked according to the planned path.
[0029] In one embodiment of the present application, the automatic parking simulation model is established to simulate the parking environment of a real vehicle and the information interaction between various control units on the real vehicle network architecture during the parking process.
[0030] As a specific example, before the automatic parking guidance is turned on, the ultrasonic sensor system needs to sense obstacles and parking space information. When the parking space is determined and the path planning is completed, the automatic parking guidance process begins. During the parking guidance process, the automatic parking controller needs to cooperate with electronic control units such as EPS, ESP, EMS (engine management system) and MCS to control the target vehicle in terms of steering, speed, gear, braking, etc., and notify the driver of the current parking information through the human-computer interaction interface. Therefore, the automatic parking CAN network architecture of this patent needs to include not only the power drive system and chassis control system, but also the body control system, ultrasonic sensor system, vehicle model and human-computer interaction system.
[0031] Step S120, constructing an automatic parking simulation environment through a development tool, and loading the simulation node into the parking simulation environment to obtain a network database, which includes a plurality of data nodes.
[0032] In one embodiment of the present application, the automatic parking simulation environment includes windows such as tracking, data, statistics, bus data statistics and offline analysis. Each control window has its corresponding control module, and the functions of each control module are independent of each other, and the modules complete the interaction of data information through the database. When the network data and bus excitation in the automatic parking simulation model are input into the control module of the simulation environment, they will be processed by the internal control mechanism and then transmitted to the corresponding windows of the simulation test environment. When the corresponding window receives the relevant instructions, the corresponding output information will be displayed in the corresponding window in the form of messages, signals or graphics. The tester can evaluate the function and performance of the entire network simulation system and the controller under test by monitoring and analyzing the output signal. Therefore, establishing a simulation test environment is the primary task of simulation modeling.
[0033] As a specific example, to establish a simulation test environment, you must first create and save a configuration using the CANoe software. According to the design requirements of the automatic parking network architecture, the configurations to be selected mainly include: baud rate, bit timing, sampling point, filter, active bus statistics, etc.
[0034] In one embodiment of the present application, CANoe is a software tool designed for developing and testing control unit network (such as CAN, LIN, FlexRay, etc.) communication systems. CANoe provides a wealth of functions, making it a powerful tool in the field of automotive electronic design and testing. The main functions include: Network simulation and simulation: CANoe is able to simulate the entire network, including various CAN nodes and ECUs (electronic control units) for detailed analysis and verification during the development and testing phases. Communication analysis: The software is able to capture, analyze and record communication data on the bus to help developers detect errors, optimize performance and solve communication problems. ECU simulation: By simulating the behavior of the ECU, CANoe can test the response and interoperability of the ECU in different situations to ensure that the ECU functions as expected. Diagnostic support: Provides powerful diagnostic functions for identifying and resolving faults and monitoring the health of the system, thereby improving the reliability and stability of the system. Automated testing: Supports the creation of automated test scripts and test cases to facilitate large-scale testing and verification work and improve test efficiency and accuracy.
[0035] In one embodiment of the present application, the database editor in the CANoe software is used to load each data node of the network into the simulation environment to generate a database file. The establishment of the network database first requires the creation of various objects such as: network, node, message, signal, environment variable, etc., and then the relationship between the objects is set. The automatic parking network architecture contains different vehicle controllers, each vehicle controller contains different messages, and each frame message contains different messages to establish a database.
[0036] Step S130, loading the data nodes in the network database into the automatic parking simulation model to establish the network topology structure of the automatic parking simulation model.
[0037] In one embodiment of the present application, the network topology of the simulation model is established in the model editing window of the CANoe software. First, open the "Simulation Setup" window, then right-click "Datebases" and select "ImportWiard" and then pop up "Datebase ImportWiard-definitionofnodes". Finally, by clicking "Select", the nodes in the built database are loaded into the model, and the database is imported. That is, the node information in the database is loaded into the model node, and the establishment of the network topology is completed.
[0038] Step S140, creating a simulation control panel through a panel editor in the development tool, where the simulation control panel is used to display the status of the automatic parking function.
[0039] In one embodiment of the present application, the simulation control panel is designed to better simulate the real environment and enhance the human-computer interaction capability during the simulation process.
[0040] Step S150 , integrating and debugging the automatic parking network architecture, the automatic parking simulation model, the automatic parking simulation environment and the simulation control panel to obtain an automatic parking guidance system.
[0041] exist Figure 1 In the technical solution shown, an automatic parking guidance system is constructed, and the quality of the automatic parking controller is ensured by performing a simulation test on it before the actual vehicle test. This allows the simulation test of the automatic parking simulation model to be carried out simultaneously with the development of the automatic parking network architecture. In this way, the correctness and reliability of the automatic parking controller can be tested and verified at each development stage, effectively avoiding the possible dangers in the testing process, high testing costs, long testing time, and low testing coverage that may occur when conducting actual vehicle tests directly, thereby improving driving safety and thereby improving user experience.
[0042] As an example, by building an automatic parking simulation model and a series of hardware devices together to simulate the real environment of a real car, and building an automatic parking simulation environment through CANoe software, it is possible to not only verify whether there is mutual interference between vehicle controllers on the CAN bus that causes functional failures, but also to test and verify the functions of the controllers before the actual vehicle test. At the same time, the automatic parking simulation model can not only realize the information interaction between the simulation node and the vehicle controller under test, but also complete the complete test from input control to ECU response monitoring, thereby meeting the diversified needs of controller testing. Therefore, the automatic parking simulation model can test the automatic parking function and control strategy in the controller development stage, which is convenient for timely finding, locating and rectifying the problems found in the testing process in the early stage of controller development, thereby effectively shortening the test time and development cycle, and saving the cost of new product development.
[0043] In one embodiment of the present application, constructing an automatic parking network architecture includes: configuring system components of the automatic parking network architecture, the system components including a power drive system, a chassis control system, a body control system, an ultrasonic sensor system, a vehicle model, and a human-computer interaction system; integrating and testing all configured system components to obtain the automatic parking network architecture; wherein the power drive system includes a vehicle controller, a motor controller, and an engine controller; the chassis control system includes an integrated automatic parking controller, an airbag controller, a steering wheel angle sensor, an electric power steering controller, and a body stability controller.
[0044] As an example, Figure 2 The automatic parking network architecture diagram shown in FIG. Figure 2 As shown in the figure, first define the system components: determine all the electronic control units (ECUs) required for the automatic parking system, including the power drive system, chassis control system, body control system, ultrasonic sensor system, vehicle model, and human-computer interaction system. Configure the power drive system: integrate the vehicle controller (VCU) to obtain and process the driver's control information and output control commands. Configure the motor control system (MCS) to control the start, stop, acceleration, deceleration, etc. of the motor. Set up the engine control system (EMS) to receive torque control requests and respond accordingly. Configure the chassis control system: integrate the automatic parking controller (PAS) to detect the system status, detect parking space information, calculate the parking trajectory, and output control signals. Configure the airbag controller (ACU) to send the driver's seat belt status signal. Integrate the steering wheel angle sensor (SAS) to send steering wheel speed and angle signals. Set up the electric power steering control unit (EPS) to receive the steering request signal and the target steering wheel angle signal, and send feedback signals. Configure the body stability control unit (ESP) to receive the parking request signal and send a parking message after parking is completed. Configure the body control system: Integrate the body control system (BCM) to send the door status and steering lever status to the PAS, and receive wheel rotation direction indication information, seat belt status indication information, etc. Configure the multimedia interaction system: Integrate the multimedia interaction system (MMI) to display parking function selection, parking button, current parking status and other information. Configure the ultrasonic sensor system and vehicle model: Integrate the ultrasonic sensor system (USS) for parking space detection and real-time monitoring of obstacle information around the vehicle. Configure the vehicle model (Veh_M) to receive CAN network signals and simulate the whole vehicle to perform the corresponding parking action. Integrate all configured components into the automatic parking CAN network. Perform system testing to ensure that all components can interact correctly, and simulate the parking environment of the actual vehicle and the information interaction during the parking process to obtain the automatic parking network architecture.
[0045] In one embodiment of the present application, after obtaining the automatic parking simulation model, a communication matrix is designed, including: creating a node object of a simulation node, creating a message object for the node object, the message object including a message that the node object needs to send or receive, and the message information including a message name, a message identification code, a message type, a message period, and a message length; creating signal content for the message object, the signal content including a signal name, a signal length, a signal type, a start bit, an offset, and a data range; configuring the communication relationship between the simulation nodes, the communication relationship including a sending and receiving relationship between the node object and the message object, and an inclusion relationship between the message object and the signal object; and obtaining a communication matrix for simulation node communication within the automatic parking simulation model through the message information, signal content, and sending period of the simulation node.
[0046] In one embodiment of the present application, an automatic parking network architecture is modeled and simulated to obtain an automatic parking simulation model, including: performing a demand analysis on the automatic parking network architecture, the demand analysis including communication rate, number of nodes, message type, and message format; defining simulation nodes according to the demand analysis, and defining message information that the simulation nodes need to send and receive, the simulation nodes representing controllers or devices in the automatic parking network architecture; integrating and debugging the simulation nodes according to the demand analysis to obtain an automatic parking simulation model.
[0047] In one embodiment of the present application, after obtaining the automatic parking simulation model, it also includes: extracting the simulation node to be tested from the automatic parking simulation model, and disconnecting the simulation node to be tested from the virtual bus; finding the physical node corresponding to the simulation node to be tested from the automatic parking network architecture, replacing the simulation node to be tested with the corresponding physical node, and then connecting the virtual bus to monitor the data transmission of the physical node in the automatic parking simulation model to perform semi-physical simulation analysis; after the semi-physical simulation analysis of all physical nodes in the automatic parking network architecture is completed, all the simulation nodes to be detected are disconnected from the virtual bus, and all the simulation nodes to be detected in the automatic parking simulation model are replaced with the corresponding physical nodes.
[0048] In one embodiment of the present application, the CAPL programming language based on event program combination can trigger events and execute programs related to events. Event triggering includes: bus messages, environment variables, error frames, keyboard input, and timer start and stop; event response includes: sending messages to the bus and changing the value of environment variables.
[0049] In one embodiment of the present application, a simulation control panel is created through a panel editor in a development tool, including: determining a control combination through test requirements, and associating environment variables with each control combination, the control combination is used to simulate a controller, and the environment variables are used to input and output test data; setting preconditions for vehicle parking, the preconditions including vehicle speed, gear position, door switch status, and seat belt status; designing a layout of the control combination according to preset layout rules to obtain a simulation control panel to display the functional status of vehicle parking.
[0050] As an example, the design of the simulation control panel is to better simulate the real environment and improve the human-computer interaction ability during the simulation process. The simulation control panel is composed of various controls, which are associated with environmental variables, and the input and output of external data are realized through environmental variables. The establishment of the simulation control panel requires the use of the panel editor in the CANoe software to create a visual user interface for the actuators and sensors that the controls need to simulate. According to the test requirements of the automatic parking controller, it is first necessary to simulate the preconditions for the actual vehicle parking to be turned on, and it is also necessary to display the current parking function status including: engine status, motor status, steering wheel angle, vehicle speed, gear position, door and seat belt status and other signals, so it is necessary to design the automatic parking simulation setting panel and display panel to set the various conditions that need to be met to turn on the parking function and display the various states of the simulated vehicle during the parking simulation test.
[0051] In one embodiment of the present application, the final task of establishing the automatic parking guidance system is to test and verify the correctness of the connection between the modules, that is, system integration debugging. The complete test system needs to be composed of an automatic parking simulation model, a hardware board, a simulation control panel, and an automatic parking network architecture. After the integration of each part, a closed-loop simulation test loop is formed that can be used for ECU function testing, analysis, and result evaluation.
[0052] As an example, after completing the settings of each module of the automatic parking guidance system, each module is integrated. The integrated simulation test system can simulate the communication between the automatic parking controller and the simulation control node to realize the real-time interaction between the signals, so that the entire simulation test system can replace the real car for automatic parking test. As a specific example, the automatic parking guidance system is an ECU simulation test platform built based on CANoe software, VN series interface card (hardware equipment for data acquisition and communication), VT test system (highly integrated test platform), simulated real car switch load board, Car-box (digital automobile sales system), power supply, etc. It mainly completes the association of signals of each functional module and the configuration of hardware board. The signal association mainly includes the input and output signals of the controller, the CAN network simulation model interface, the VN series board interface and the signal association between the VT test system. Its function is to establish the signal interaction between the automatic parking simulation model and the automatic parking network architecture, and connect the I / O interface (input / output interface) of the automatic parking simulation model and the automatic parking network architecture, so that the entire system can achieve a closed loop. The hardware board configuration is because the automatic parking simulation model can only recognize physical signals, but the automatic parking network architecture can only receive and process electrical signals. To complete the connection between the automatic parking simulation model and the automatic parking network architecture, it is necessary to use the hardware board configuration supported by the operating software to realize the conversion of physical signals and electrical signals, so that the real controller and the real-time simulation model form a closed-loop simulation loop. The final task of the establishment of the automatic parking guidance system is to test and verify the correctness of the connection between each module, that is, system integration debugging. The complete test system needs to be composed of the automatic parking network architecture, hardware board, automatic parking simulation model, simulation control panel, etc. After the integration of each part, a closed-loop simulation test loop is formed that can be used for vehicle controller function testing, analysis and result evaluation. Among them, Car-box is not directly used for ECU testing, but is mainly used in mid-to-high-end automobile sales and service companies (such as 4S stores) and chain automobile dealers. The Car-box system includes functional modules such as interactive vehicle model display system, intelligent mortgage and payment calculation tools, and customer relationship management system, but does not directly participate in the ECU simulation test process.
[0053] In one embodiment of the present application, after obtaining the automatic parking guidance system, it also includes: starting the automatic parking guidance system, establishing communication between the simulated vehicle and the automatic parking guidance system, and loading a test configuration file; performing a system self-check when detecting that the vehicle operating state is a prerequisite; setting the operating state of each component of the simulated vehicle in response to the prerequisite instruction of the automatic parking guidance system development method; when the operating state of each component of the simulated vehicle is a target operating state, guiding the simulated vehicle to a target parking space in response to the parking guidance instruction, the target parking space includes a parallel parking space and a perpendicular parking space.
[0054] As an example, the automatic parking test includes two tests: the performance test in the parking search mode and the parking mode: the performance test in the parking search mode refers to the test that needs to be performed during the parking search process. It is mainly to test whether the target vehicle supports the specified parking space length and depth, parking search speed, lateral search distance, and whether the test vehicle can correctly find the parking space and notify the driver under the specified speed, lateral distance, parking space length and depth. The performance test in the parking mode refers to the test during the parking process, which requires testing from the parking function to the completion of the parking process. This test is mainly to test whether the automatic parking control system meets the functional requirements for parking vehicle speed control, gear control, interruption and exit condition execution, maximum number of parking adjustment times, steering wheel angle control, fault handling and information display, so as to determine whether the controller meets the design requirements.
[0055] As an example, the automatic parking guidance system is mainly used to test the parking function in the automatic parking mode. At the beginning of the test, the preconditions need to be set through the simulation control panel designed in the test system. For example, the preconditions are the initial conditions for parking, and then the parking space type to be tested is set. After the setting is completed, the parking switch on the load board of the test system is used to start the parking space search process. The simulation control panel prompts the tester to find the parking space and informs the tester. Then the tester continues to press the parking confirmation button on the simulation control panel to start the automatic parking guidance function. Since the automatic parking controller takes over the control of the vehicle to perform parking operations from the start of the automatic parking guidance to the parking space, the tester needs to monitor the changes in signals such as vehicle speed, gear position, and steering wheel angle in real time through the simulation control panel designed in the test system during the test process, and compare the test results with the automatic parking function specifications based on the maximum vehicle speed specified in the automatic parking mode during the test process, the maximum number of adjustments for parking, the opening and closing of the reversing radar during the parking process, and the steering wheel angle and gear position at the end of parking.
[0056] As a specific example, Figure 3 The flowchart of the testing method of the automatic parking guidance system shown in an exemplary embodiment of the present application includes the following steps:
[0057] Step S310: Power all test equipment normally, start the CANoe test software, establish communication between the automatic parking guidance system and the test equipment, and then load the established test configuration file.
[0058] Step S320: Set the automatic parking guidance system, set the start / stop state of the simulated vehicle to "Standby" and the vehicle state to "Running". At this time, the system starts self-checking.
[0059] Step S330: After the self-check is correct, the required states of various components of the simulated vehicle are set in the simulation environment according to the preconditions for enabling the automatic parking function.
[0060] In one embodiment of the present application, the preconditions include vehicle speed, gear position, seat belt status, door status, trunk status, etc.
[0061] Step S340: When all the prerequisites are met, select the "automatic parking" function through the simulation control panel, select "parallel parking" or "perpendicular parking" as the parking mode, and set the required parking space status, and then select the desired parking direction of left or right parallel parking or perpendicular parking through the turn signal indicator of the simulation control panel.
[0062] Step S350: Start the parking space search mode, and when the simulation control panel prompts "parallel parking space found" or "vertical parking space found", corresponding parking guidance is performed.
[0063] Step S360: Monitor the parking information changes on the control panel. If a fault message appears, immediately terminate parking and find the cause according to the prompt information.
[0064] In one embodiment of the present application, the parking information includes automatic parking status, vehicle speed, gear position, parking progress, steering wheel angle, etc.
[0065] Figure 4 FIG. 1 shows a block diagram of an automatic parking guidance system development device according to an exemplary embodiment of the present application. Figure 4As shown, according to an embodiment of the present application, an automatic parking guidance system development device 400 includes: an automatic parking system construction module 410, a simulation environment construction module 420, a loading module 430, a simulation control panel creation module 440 and a debugging module 450, wherein the automatic parking system construction module is used to model and simulate the automatic parking network architecture established in advance or in real time to obtain an automatic parking simulation model, and the automatic parking simulation model includes a plurality of simulation nodes; the simulation environment construction module is used to construct an automatic parking simulation environment through a development tool, and load the simulation nodes into the parking simulation environment to obtain a network database, and the network database includes a plurality of data nodes; the loading module is used to load the data nodes in the network database into the automatic parking simulation model to establish a network topology structure of the automatic parking simulation model; the simulation control panel creation module is used to create a simulation control panel through a panel editor in the development tool, and the simulation control panel is used to display the status of the automatic parking function; the debugging module is used to integrate and debug the automatic parking network architecture, the automatic parking simulation model, the automatic parking simulation environment and the simulation control panel to obtain the automatic parking guidance system. By building an automatic parking guidance system and ensuring the quality of the automatic parking controller by performing simulation tests on it before conducting actual vehicle tests, the simulation test of the automatic parking simulation model can be carried out simultaneously with the development of the automatic parking network architecture. In this way, the correctness and reliability of the automatic parking controller can be tested and verified at each development stage, effectively avoiding the possible dangers in the testing process, high testing costs, long testing time, and low testing coverage that may occur when conducting actual vehicle tests directly, thereby improving driving safety and thus improving user experience.
[0066] In one embodiment of the present application, the automatic parking system building module is used to configure the system components of the automatic parking network architecture, and the system components include a power drive system, a chassis control system, a body control system, an ultrasonic sensor system, a whole vehicle model and a human-computer interaction system; all configured system components are integrated and tested to obtain the automatic parking network architecture; wherein the power drive system includes a whole vehicle controller, a motor controller and an engine controller; the chassis control system includes an integrated automatic parking controller, an airbag controller, a steering wheel angle sensor, an electric power steering controller and a body stability controller.
[0067] In one embodiment of the present application, the automatic parking system building module is used to perform a demand analysis on the automatic parking network architecture, and the demand analysis includes communication rate, number of nodes, message type, and message format; according to the demand analysis, a simulation node is defined, and the message information that the simulation node needs to send and receive is defined, and the simulation node represents the controller or device in the automatic parking network architecture; the simulation node is integrated and debugged according to the demand analysis to obtain an automatic parking simulation model.
[0068] In one embodiment of the present application, the automatic parking system construction module is used to create a node object of a simulation node, create a message object for the node object, the message object includes a message that the node object needs to send or receive, and the message information includes a message name, a message identification code, a message type, a message period and a message length; create signal content for the message object, the signal content includes a signal name, a signal length, a signal type, a start bit, an offset and a data range; configure the communication relationship between the simulation nodes, the communication relationship includes a sending and receiving relationship between the node object and the message object, and an inclusion relationship between the message object and the signal object; obtain a communication matrix for simulation node communication within the automatic parking simulation model through the message information, signal content and sending period of the simulation node.
[0069] In one embodiment of the present application, the automatic parking system construction module is used to extract the simulation nodes to be tested from the automatic parking simulation model, and disconnect the simulation nodes to be tested from the virtual bus; find the physical nodes corresponding to the simulation nodes to be tested from the automatic parking network architecture, replace the simulation nodes to be tested with the corresponding physical nodes, and then connect the virtual bus to monitor the data transmission of the physical nodes in the automatic parking simulation model to perform semi-physical simulation analysis; after the semi-physical simulation analysis of all physical nodes in the automatic parking network architecture is completed, all the simulation nodes to be detected are disconnected from the virtual bus, and all the simulation nodes to be detected in the automatic parking simulation model are replaced with the corresponding physical nodes.
[0070] In one embodiment of the present application, a simulation control panel creation module is used to determine a control combination through test requirements, and to associate environment variables with each control combination, wherein the control combination is used to simulate a controller, and the environment variables are used to input and output test data; the preconditions for vehicle parking are set, and the preconditions include vehicle speed, gear position, door switch status, and seat belt status; the layout of the control combination is designed according to preset layout rules to obtain a simulation control panel to display the functional status of vehicle parking.
[0071] In one embodiment of the present application, the automatic parking guidance system development device also includes a test module 460, which is used to start the automatic parking guidance system, establish communication between the simulated vehicle and the automatic parking guidance system, and load a test configuration file; perform a system self-check when the vehicle operating state is detected as a prerequisite; set the operating state of each component of the simulated vehicle in response to the prerequisite instruction of the automatic parking guidance system development method; when the operating state of each component of the simulated vehicle is the target operating state, guide the simulated vehicle to a target parking space in response to the parking guidance instruction, and the target parking space includes a parallel parking space and a perpendicular parking space.
[0072] It should be noted that the device provided in the above embodiment and the method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the device provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0073] See also Figure 5 , Figure 5 is a structural diagram of a vehicle-mounted terminal shown in an exemplary embodiment of the present application. It should be noted that: Figure 5 The vehicle-mounted terminal 500 shown is only an example and should not bring any limitation to the functions and usage area of the embodiments of the present application.
[0074] like Figure 5 As shown, the vehicle terminal 500 includes a processor 501, a memory 502 and a communication virtual bus 503; the communication virtual bus 503 is used to connect the processor 501 and the memory 502; the processor 501 is used to execute the computer program stored in the memory 502 to implement one or more methods as in the above embodiments.
[0075] The vehicle-mounted terminal provided in the present application includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run computer programs so that the electronic device executes the various steps of the above method.
[0076] In this embodiment, the memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0077] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0078] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A method for developing an automatic parking guidance system, characterized in that: The method comprises: Modeling and simulating the automatic parking network architecture established in advance or in real time to obtain an automatic parking simulation model, wherein the automatic parking simulation model includes a plurality of simulation nodes; Building an automatic parking simulation environment by using a development tool, and loading the simulation node into the parking simulation environment to obtain a network database, wherein the network database includes a plurality of data nodes; Loading the data nodes in the network database into the automatic parking simulation model to establish a network topology structure of the automatic parking simulation model; Creating a simulation control panel through a panel editor in a development tool, wherein the simulation control panel is used to display the status of the automatic parking function; The automatic parking network architecture, the automatic parking simulation model, the automatic parking simulation environment and the simulation control panel are integrated and debugged to obtain an automatic parking guidance system.
2. The method for developing an automatic parking guidance system according to claim 1, characterized in that: Build an automatic parking network architecture, including: Configuring system components of the automatic parking network architecture, the system components including a power drive system, a chassis control system, a body control system, an ultrasonic sensor system, a vehicle model, and a human-computer interaction system; Performing integration testing on all configured system components to obtain the automatic parking network architecture; Among them, the power drive system includes a vehicle controller, a motor controller and an engine controller; the chassis control system includes an integrated automatic parking controller, an airbag controller, a steering wheel angle sensor, an electric power steering controller and a body stability controller.
3. The method for developing an automatic parking guidance system according to claim 1, characterized in that: Modeling and simulating the automatic parking network architecture to obtain an automatic parking simulation model includes: Performing a demand analysis on the automatic parking network architecture, the demand analysis including communication rate, number of nodes, message type, and message format; Defining a simulation node according to the demand analysis, and defining message information that the simulation node needs to send and receive, wherein the simulation node represents a controller or device in the automatic parking network architecture; The simulation nodes are integrated and debugged according to the demand analysis to obtain an automatic parking simulation model.
4. The method for developing an automatic parking guidance system according to claim 1, characterized in that: After obtaining the automatic parking simulation model, it also includes: Creating a node object of the simulation node, creating a message object for the node object, wherein the message object includes a message that the node object needs to send or receive, and the message information includes a message name, a message identification code, a message type, a message period, and a message length; Creating signal content for the message object, the signal content including signal name, signal length, signal type, start bit, offset and data range; Configuring a communication relationship between simulation nodes, the communication relationship including a sending and receiving relationship between the node object and the message object, and an inclusion relationship between the message object and the signal object; A communication matrix for performing simulation node communication in the automatic parking simulation model is obtained through the message information, signal content and sending cycle of the simulation node.
5. The method for developing an automatic parking guidance system according to claim 1, characterized in that: After obtaining the automatic parking simulation model, it also includes: Extracting a simulation node to be tested from the automatic parking simulation model, and disconnecting the simulation node to be tested from the virtual bus; Finding a physical node corresponding to the simulation node to be tested from the automatic parking network architecture, replacing the simulation node to be tested with the corresponding physical node, and then connecting a virtual bus to monitor the data transmission of the physical node in the automatic parking simulation model to perform semi-physical simulation analysis; After the semi-physical simulation analysis of all physical nodes in the automatic parking network architecture is completed, all simulation nodes to be detected are disconnected from the virtual bus, and all simulation nodes to be detected in the automatic parking simulation model are replaced with corresponding physical nodes.
6. The method for developing an automatic parking guidance system according to claim 1, characterized in that: Create simulation control panels using the panel editor in the development tool, including: Determine a control combination according to the test requirements, and associate an environment variable with each control combination, wherein the control combination is used to simulate the controller, and the environment variable is used to input and output test data; Setting the preconditions for vehicle parking, the preconditions including vehicle speed, gear position, door switch status and seat belt status; The layout of the control combination is designed according to the preset layout rules to obtain a simulated control panel to display the functional status of the vehicle parking.
7. The method for developing an automatic parking guidance system according to claim 6, characterized in that: After getting the automatic parking guidance system, it also includes: Starting the automatic parking guidance system, establishing communication between the simulated vehicle and the automatic parking guidance system, and loading a test configuration file; Performing a system self-check when it is detected that the vehicle operating state is the precondition; In response to the precondition instruction of the automatic parking guidance system development method, setting the operating state of each component of the simulated vehicle; When the operation state of each component of the simulated vehicle is a target operation state, the simulated vehicle is guided to a target parking space in response to a parking guidance instruction, and the target parking space includes a parallel parking space and a perpendicular parking space.
8. A method and device for developing an automatic parking guidance system, characterized in that: The device comprises: An automatic parking system building module is used to model and simulate the automatic parking network architecture established in advance or in real time to obtain an automatic parking simulation model, wherein the automatic parking simulation model includes a plurality of simulation nodes; A simulation environment construction module, used to construct an automatic parking simulation environment through a development tool, and load the simulation node into the parking simulation environment to obtain a network database, wherein the network database includes a plurality of data nodes; A loading module, used for loading the data nodes in the network database into the automatic parking simulation model to establish a network topology structure of the automatic parking simulation model; A simulation control panel creation module, used to create a simulation control panel through a panel editor in a development tool, wherein the simulation control panel is used to display the status of an automatic parking function; The debugging module is used to integrate and debug the automatic parking network architecture, the automatic parking simulation model, the automatic parking simulation environment and the simulation control panel to obtain an automatic parking guidance system.
9. A vehicle-mounted terminal, characterized in that: It comprises a processor, a memory and a communication virtual bus; the communication virtual bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement the automatic parking guidance system development method as described in any one of claims 1 to 7.
10. A vehicle, characterized in that: It includes the automatic parking guidance system development device as described in claim 8 or the vehicle-mounted terminal as described in claim 9.
Citation Information
Patent Citations
Automatic parking simulation system and testing method thereof
CN110654374A
Design method of test system combining pure electric three-electric ECU and HIL racks
CN110879588A
Automatic parking active braking test method based on CAN bus programming
CN111273644A
Multi-source sensor fusion test system for automatic parking controller
CN113238546A
Vehicle brake-by-wire system hardware-in-loop test system and test method
CN115933595A
