WO2024066943A1 - Intelligent-parking vehicle positioning method applied to vehicle - Google Patents

Intelligent-parking vehicle positioning method applied to vehicle Download PDF

Info

Publication number
WO2024066943A1
WO2024066943A1 PCT/CN2023/116862 CN2023116862W WO2024066943A1 WO 2024066943 A1 WO2024066943 A1 WO 2024066943A1 CN 2023116862 W CN2023116862 W CN 2023116862W WO 2024066943 A1 WO2024066943 A1 WO 2024066943A1
Authority
WO
WIPO (PCT)
Prior art keywords
current
matrix
vehicle
moment
current moment
Prior art date
Application number
PCT/CN2023/116862
Other languages
French (fr)
Chinese (zh)
Inventor
姜辉
杜建宇
李超
黄显晴
王皓南
王恒凯
李佳骏
曹天书
宋新丽
吴岗岗
Original Assignee
中国第一汽车股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国第一汽车股份有限公司 filed Critical 中国第一汽车股份有限公司
Publication of WO2024066943A1 publication Critical patent/WO2024066943A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams

Definitions

  • the present application relates to the field of intelligent vehicle driving, for example, to a method for positioning a vehicle for intelligent parking of a vehicle.
  • the present application provides a method for intelligent parking vehicle positioning applied to a vehicle to improve the accuracy of vehicle positioning, thereby improving the accuracy of automatic parking and enhancing the user experience.
  • a method for intelligent parking vehicle positioning applied to a vehicle comprising:
  • control parameters corresponding to the current moment are adjusted to determine the parking position of the target vehicle at the current moment based on the control parameters.
  • a device for intelligent parking vehicle positioning applied to a vehicle comprising:
  • a target vehicle information collection module configured to collect the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment
  • a vehicle state information determination module configured to determine a first vehicle state variable and a first system state equation corresponding to the current moment based on the rear wheel speed, the heading angle, and the front wheel steering angle;
  • an observation variable equation determination module configured to determine the observation variable equation corresponding to the current moment according to the target feature position point and the rear wheel center point at the current moment;
  • a Jacobian matrix determination module configured to determine a first Jacobian matrix according to the first system state equation; and determine a second Jacobian matrix according to the observation variable equation;
  • a current estimated value determination module configured to determine the current estimated value at the current moment according to the rear wheel speed, the heading angle, the first Jacobian matrix and the historical estimated value at the previous moment; wherein the previous moment is a moment before the current moment and the time interval with the current moment is a preset time length;
  • An error covariance matrix estimation value determination module is configured to determine an error covariance matrix estimation value according to the estimation process noise at the previous moment and the first Jacobian matrix; wherein the estimation process noise is determined based on a preset adaptive factor and the historical estimation error at the previous moment;
  • a Kalman filter gain matrix determination module configured to determine a Kalman filter gain matrix according to the error covariance matrix estimate, the second Jacobian matrix and the observation noise at the previous moment;
  • a current estimation error determination module configured to determine the current estimation error at the current moment according to the second Jacobian matrix and the historical estimation error
  • An error covariance matrix determination module is configured to determine the state variable estimate and the error covariance matrix at the current moment according to the current estimated error, the Kalman filter gain matrix, the second Jacobian matrix, the current estimate and the error covariance matrix estimate;
  • the parking position determination module is configured to adjust the control parameters corresponding to the current moment based on the state variable estimation value and the error covariance matrix, so as to determine the parking position of the target vehicle at the current moment based on the control parameters.
  • an electronic device comprising:
  • the memory stores a computer program that can be executed by the at least one processor.
  • the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned method for intelligent parking vehicle positioning applied to a vehicle.
  • a computer-readable storage medium stores computer instructions for causing a processor to execute the above-mentioned method for intelligent parking vehicle positioning applied to a vehicle.
  • FIG1 is a flow chart of a method for positioning a vehicle in intelligent parking provided in Embodiment 1 of the present application;
  • FIG2 is a schematic diagram of a vehicle intelligent parking system provided in Example 1 of the present application.
  • FIG3 is a flow chart of a method for positioning a vehicle for intelligent parking provided in Embodiment 2 of the present application;
  • FIG4 is a schematic diagram of the structure of a device for positioning a vehicle for intelligent parking provided in Embodiment 3 of the present application;
  • FIG5 is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present application.
  • FIG1 is a flow chart of a method for positioning a vehicle in intelligent parking applied to a vehicle according to the first embodiment of the present application.
  • the present embodiment is applicable to the case of intelligent parking of a vehicle.
  • the method can be executed by a device for positioning a vehicle in intelligent parking applied to a vehicle.
  • the device for positioning a vehicle in intelligent parking applied to a vehicle can be implemented in the form of hardware and/or software.
  • the device for positioning a vehicle in intelligent parking applied to a vehicle can be configured in an electronic device. As shown in FIG1 , the method includes:
  • the technology provided in the embodiment of the present application can be applied to vehicles with intelligent parking functions, and the vehicle performing intelligent parking can be determined as the target vehicle.
  • the target vehicle can collect multiple parameter information of the target vehicle at the corresponding moment according to the preset duration, and the control parameters of the target vehicle can be determined according to the multiple parameter information of the target vehicle, and the target vehicle can be controlled to perform intelligent parking according to the control parameters.
  • the embodiment of the present application takes a moment in the process of intelligent parking of the target vehicle as an example for explanation, and the moment can be determined as the current moment.
  • the method of collecting the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment can be: determining the heading angle of the target vehicle in the global coordinate system; collecting the rear wheel speed of the target vehicle based on the speed sensor; determining the front wheel steering angle of the target vehicle in the vehicle coordinate system; wherein the vehicle coordinate system is established in the global coordinate system.
  • a global coordinate system XOY is established based on the current position of the target vehicle and the target feature position point.
  • a vehicle coordinate system X ⁇ O ⁇ Y ⁇ is established under the global coordinate system XOY.
  • the center line of the target vehicle is determined based on the body direction and vehicle width of the target vehicle, and the angle between the center line of the target vehicle and the X-axis of the global coordinate system is determined, and the angle is determined as the heading angle ⁇ .
  • the rear wheel speed of the rear wheel of the target vehicle is collected by the speed sensor of the target vehicle. According to the center line of the target vehicle and the front wheel angle of the target vehicle, the angle between the center line of the target vehicle and the front wheel of the target vehicle is determined, and the angle is determined as the front wheel steering angle ⁇ .
  • S102 Determine a first vehicle state variable and a first system state equation corresponding to the current moment based on the rear wheel speed, the heading angle, and the front wheel steering angle.
  • the first vehicle state variable may include the position information of the rear wheel center point of the target vehicle, the target feature The feature point coordinates and heading angle of the position point in the global coordinate system.
  • the first vehicle state variable and the first system state equation corresponding to the current moment are determined, including: based on the rear wheel speed and the heading angle, determining the position information of the rear wheel center point; determining the first vehicle state variable at the current moment according to the position information, the feature point coordinates of the target feature position point in the global coordinate system and the heading angle; based on the rear wheel speed and the front wheel steering angle, determining the heading angle change rate; based on the heading angle change rate and the position information, determining the first system state equation.
  • the position information of the rear wheel center point may refer to the position information of the rear axle center point between the two rear wheels of the target vehicle.
  • the target feature position point may refer to a fixed position, such as a parking position such as an intersection of a parking space and a final parking position point.
  • the heading angle change rate may refer to the increment of the heading angle of the target vehicle based on the current heading angle of the front wheel and the heading angle at the previous moment.
  • the position information of the rear wheel center point can be determined.
  • the first vehicle state variable at the current moment can be determined.
  • (x, y) is the position information of the rear wheel center point of the target vehicle
  • is the heading angle
  • (x A , y A ) is the feature point coordinates of the known target feature position point in the global coordinate system.
  • the heading angle change rate can be determined based on the rear wheel speed v and the front wheel steering angle ⁇ .
  • the heading angle change rate ⁇ v*tan ⁇ .
  • the first system state equation can be determined.
  • the first system state equation can be:
  • k can refer to the current moment
  • ⁇ k is the process noise
  • ⁇ k is the observation noise
  • T can refer to the time interval between the previous moment and the current moment.
  • the target feature position point and the rear wheel center point at the current moment determine the distance between the target feature position point and the rear wheel center point at the current moment.
  • the target feature position point and the rear wheel center point at the current moment determine the angle between the straight line between the rear wheel center point and the target feature position point and the vehicle coordinate system in the X'-axis direction.
  • the distance between the target feature position point and the rear wheel center point at the current moment, and the angle between the straight line between the rear wheel center point and the target feature position point and the vehicle coordinate system in the X'-axis direction determine the observation variable equation corresponding to the current moment.
  • the observed variable equation may be:
  • determining the first Jacobian matrix according to the first system state equation may include: performing partial division based on the first system state equation to obtain the first Jacobian matrix. Performing partial division processing on the first system state equation may obtain the first Jacobian matrix.
  • the first Jacobian matrix can be:
  • T may refer to the time interval between the previous moment and the current moment.
  • determining the second Jacobian matrix according to the observed variable equation may include: calculating a partial division based on the observed variable equation to obtain the second Jacobian matrix.
  • the second Jacobian matrix can be:
  • ⁇ x x A -x
  • ⁇ y y A -y
  • r is the distance between the intersection of the rear wheel center point and the target feature position point A.
  • S105 Determine a current estimated value at a current moment according to the rear wheel speed, the heading angle, the first Jacobian matrix, and the historical estimated value at a previous moment.
  • the previous moment may refer to a moment before the current moment and separated from the current moment by a preset time length.
  • the current estimated value at the current moment can be determined according to the rear wheel speed, heading angle, first Jacobian matrix and the historical estimated value at the previous moment.
  • the current estimate at the current moment could be:
  • u [v, ⁇ ]
  • A can refer to the position coordinates of the target feature position point A
  • F can refer to the first Jacobian matrix
  • S106 Determine an error covariance matrix estimate according to the estimation process noise at the previous moment and the first Jacobian matrix.
  • the estimation process noise may be determined based on a preset adaptive factor and a historical estimation error at a previous moment.
  • the calculation method for determining the error covariance matrix estimate may be:
  • Fk can be the first Jacobian matrix
  • Pk -1 can be the error covariance matrix estimate at the previous moment
  • the Kalman filter gain matrix at the current moment is calculated based on the error covariance matrix estimate, the second Jacobian matrix, and the observation noise at the previous moment.
  • the Kalman filter gain matrix may be:
  • the error covariance matrix estimate is the observation noise of the previous moment
  • H is the second Jacobian matrix
  • K k is the Kalman filter gain matrix
  • the current estimation error at the current moment can be calculated.
  • the current estimation error at the current moment is determined based on the second Jacobian matrix and the historical estimation error, including: determining the estimated value of the observed variable based on the second Jacobian matrix and the current estimated value; determining the current estimation error at the current moment based on the estimated value of the observed variable.
  • the observed variable estimate can be calculated.
  • the observed variable estimates can be:
  • the current estimation error at the current moment is calculated based on the estimated value of the observed quantity and the observed variable, wherein the observed variable can be calculated by substituting the position coordinates of the target feature position point A and the position coordinates of the rear wheel center point into the observed variable equation.
  • the current estimated error can be:
  • Z k can refer to the observed variable
  • Can refer to the estimated value of an observed variable.
  • the current state variable estimate is calculated based on the current estimation error, the current estimate value and the Kalman filter gain matrix.
  • the error covariance matrix is determined based on the error covariance matrix estimate, the second Jacobian matrix and the Kalman filter gain matrix.
  • the estimated value of the state variable may be:
  • the error covariance matrix can be:
  • the control parameters corresponding to the target vehicle at the current moment are adjusted so that the target vehicle determines the parking position at the current moment according to the control parameters.
  • the technical solution of the embodiment of the present application collects the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment. Based on the rear wheel speed, heading angle and front wheel steering angle, determine the The first vehicle state variable and the first system state equation corresponding to the current moment. According to the target feature position point and the rear wheel center point at the current moment, determine the observation variable equation corresponding to the current moment. According to the first system state equation, determine the first Jacobian matrix; and, according to the observation variable equation, determine the second Jacobian matrix. According to the rear wheel speed, heading angle, the first Jacobian matrix and the historical estimated value at the previous moment, determine the current estimated value at the current moment.
  • the estimation process noise at the previous moment and the first Jacobian matrix determine the error covariance matrix estimate.
  • the error covariance matrix estimate, the second Jacobian matrix and the observation noise at the previous moment determine the Kalman filter gain matrix.
  • the second Jacobian matrix and the historical estimation error determine the current estimation error at the current moment.
  • the Kalman filter gain matrix, the second Jacobian matrix, the current estimated value and the error covariance matrix estimate determine the state variable estimate and the error covariance matrix at the current moment.
  • the control parameters corresponding to the current moment are adjusted to determine the parking position of the target vehicle at the current moment based on the control parameters.
  • the method for intelligent parking vehicle positioning applied to the vehicle also includes: processing the error covariance matrix estimate and the current estimated error based on a preset adaptive factor, determining the process noise and observation noise at the current moment, and determining the error covariance matrix estimate and the Kalman filter gain matrix at the next moment based on the updated process noise and observation noise.
  • the process noise at the current moment can be calculated.
  • the observation noise at the current moment can be calculated.
  • the error covariance matrix estimate and Kalman filter gain matrix at the next moment are calculated.
  • the preset adaptive factor may be:
  • the process noise can be:
  • the observation noise can be:
  • Kk is the Kalman filter gain matrix
  • q is the adaptive factor
  • ek represents the current estimation error.
  • the technical solution of the embodiment of the present application can calculate the error covariance matrix estimation value and the Kalman filter gain matrix at the next moment through the process noise and the observation noise at the current moment, and the control parameters at the next moment can be determined based on the error covariance matrix estimation value and the Kalman filter gain matrix at the next moment, so that the target vehicle determines the position of the target vehicle during the parking process according to the control parameters, thereby improving the automatic Improve the accuracy of automatic parking and enhance the user experience.
  • Fig. 3 is a flow chart of a method for intelligent parking vehicle positioning applied to a vehicle provided in the second embodiment of the present application.
  • the manner of determining the error covariance matrix estimation value and the Kalman filter gain matrix can be shown in Fig. 3 .
  • a Kalman filter gain matrix K k may be calculated.
  • the process noise Q k at the current moment and the observation noise R k at the current moment can be obtained.
  • the error covariance matrix estimate and the Kalman filter gain matrix at the next moment can be calculated, and the control parameters at the next moment can be determined based on the error covariance matrix estimate and the Kalman filter gain matrix at the next moment.
  • the Kalman filter gain matrix K k According to the current estimation error e k , the Kalman filter gain matrix K k and the current estimation value at the current moment
  • the estimated value of the state variable at the current moment can be obtained by calculation
  • the error covariance matrix P k According to the initial error covariance matrix estimate P 0 , the second Jacobian matrix H and the Kalman filter gain matrix K k , the error covariance matrix P k can be determined.
  • the control parameters corresponding to the target vehicle at the current moment are adjusted so that the target vehicle determines the parking position at the current moment according to the control parameters.
  • the vehicle position of the target vehicle at each moment can be determined, which solves the problem that the control parameters corresponding to the parking are not adjusted according to the changes in parameters such as the wheelbase and wheelbase of the vehicle during the parking process, resulting in inaccurate estimation of the vehicle posture, thereby improving the accuracy of vehicle positioning during the parking process, thereby improving the accuracy of automatic parking, improving user experience, and at the same time improving the target vehicle.
  • the safety of smart parking is a problem that the control parameters corresponding to the parking are not adjusted according to the changes in parameters such as the wheelbase and wheelbase of the vehicle during the parking process, resulting in inaccurate estimation of the vehicle posture, thereby improving the accuracy of vehicle positioning during the parking process, thereby improving the accuracy of automatic parking, improving user experience, and at the same time improving the target vehicle.
  • FIG4 is a schematic diagram of the structure of a device for intelligent parking vehicle positioning provided in the third embodiment of the present application.
  • the device includes: a target vehicle parameter information acquisition module 401, a vehicle state information determination module 402, an observation variable equation determination module 403, a Jacobian matrix determination module 404, a current estimated value determination module 405, an error covariance matrix estimated value determination module 406, a Kalman filter gain matrix determination module 407, a current estimated error determination module 408, an error covariance matrix determination module 409 and a parking position determination module 410.
  • a target vehicle parameter information acquisition module 401 includes: a target vehicle parameter information acquisition module 401, a vehicle state information determination module 402, an observation variable equation determination module 403, a Jacobian matrix determination module 404, a current estimated value determination module 405, an error covariance matrix estimated value determination module 406, a Kalman filter gain matrix determination module 407, a current estimated error determination module 408, an error covariance matrix determination module 409 and a parking position determination module 410.
  • the target vehicle parameter information acquisition module 401 is configured to acquire the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment;
  • the vehicle state information determination module 402 is configured to determine the first vehicle state variable and the first system state equation corresponding to the current moment based on the rear wheel speed, the heading angle and the front wheel steering angle;
  • the observation variable equation determination module 403 is configured to determine the observation variable equation corresponding to the current moment according to the target feature position point and the rear wheel center point at the current moment;
  • the Jacobian matrix determination module 404 is configured to determine the first Jacobian matrix according to the first system state equation; and, according to the observation variable equation, determine the second Jacobian matrix;
  • the current estimated value determination module 405 is configured to determine the current estimated value at the current moment according to the rear wheel speed, the heading angle, the first Jacobian matrix and the historical estimated value at the previous moment; wherein the previous moment is before the current moment and the time interval with the current moment is a preset time length;
  • the technical solution of the embodiment of the present application collects the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment.
  • the observation variable equation corresponding to the current moment is determined.
  • a first Jacobian matrix is determined; and, according to the observation variable equation, a second Jacobian matrix is determined.
  • the current estimation value at the current moment is determined.
  • an error covariance matrix estimation value is determined.
  • a Kalman filter gain matrix is determined.
  • the current estimation error at the current moment is determined.
  • the Kalman filter gain matrix, the second Jacobian matrix, the current estimation value and the error covariance matrix estimation value, the state variable estimation value and the error covariance matrix estimation value at the current moment are determined.
  • the control parameters corresponding to the current moment are adjusted to determine the parking position of the target vehicle at the current moment based on the control parameters, thereby solving the problem of inaccurate estimation of the vehicle posture due to failure to adjust the control parameters corresponding to parking according to changes in parameters such as the vehicle's wheelbase and wheelbase during the parking process. This improves the accuracy of vehicle positioning during the parking process, thereby improving the accuracy of automatic parking and enhancing the user experience.
  • the target vehicle parameter information acquisition module 401 can be set to: determine the heading angle of the target vehicle in the global coordinate system; collect the rear wheel speed of the target vehicle based on the speed sensor; determine the front wheel steering angle of the target vehicle in the vehicle coordinate system; wherein the vehicle coordinate system is established in the global coordinate system.
  • the vehicle state information determination module 402 may be configured as follows:
  • the Jacobian matrix determination module 404 is configured to: obtain the first Jacobian matrix by partial division based on the first system state equation; and obtain the second Jacobian matrix by partial division based on the observation variable equation.
  • the error covariance matrix estimation value includes:
  • Fk is the first Jacobian matrix
  • Pk -1 is the error covariance matrix estimate at the previous moment
  • the Kalman filter gain matrix may include:
  • the error covariance matrix estimate is the observation noise of the previous moment
  • H is the second Jacobian matrix
  • K k is the Kalman filter gain matrix
  • the current estimation error determination module 408 is configured to: determine the estimated value of the observed variable based on the second Jacobian matrix and the current estimated value; and determine the current estimation error at the current moment based on the estimated value of the observed variable.
  • the estimated value of the state variable may be:
  • the error covariance matrix can be:
  • the device for positioning a vehicle for intelligent parking of a vehicle further includes:
  • the noise determination module is configured to determine the process noise and observation noise at the current moment based on the error covariance matrix estimate and the current estimation error based on a preset adaptive factor, so as to determine the error covariance matrix estimate and the Kalman filter gain matrix at the next moment based on the updated process noise and observation noise.
  • the device for intelligent parking vehicle positioning applied to a vehicle provided in the embodiments of the present application can execute the method for intelligent parking vehicle positioning applied to a vehicle provided in any embodiment of the present application, and has the functional modules and effects corresponding to the execution method.
  • Fig. 5 shows a block diagram of an electronic device 10 that can be used to implement an embodiment of the present application.
  • the electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
  • the electronic device 10 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and/or required herein.
  • the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform a variety of appropriate actions and processes according to the computer program stored in the ROM 12 or the computer program loaded from the storage unit 18 to the RAM 13.
  • the RAM 13 a variety of programs and data required for the operation of the electronic device 10 can also be stored.
  • the processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14.
  • An input/output (I/O) interface 15 is also connected to the bus 14.
  • a number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc.
  • the communication unit 19 allows the electronic device 10 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
  • the processor 11 may be a variety of general and/or special processing components with processing and computing capabilities. Some examples of the processor 11 include a central processing unit (CPU), a graphics processing unit (GPU), a variety of dedicated artificial intelligence (AI) computing chips, a variety of processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc.
  • the processor 11 executes the multiple methods and processes described above, such as a method for intelligent parking vehicle positioning applied to a vehicle.
  • the method for intelligent parking vehicle positioning applied to a vehicle may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18.
  • part or all of the computer program may be loaded and/or installed on the electronic device 10 via the ROM 12 and/or the communication unit 19.
  • the processor 11 may be configured to execute the method for intelligent parking vehicle positioning applied to a vehicle in any other appropriate manner (e.g., by means of firmware).
  • Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOCs systems on chips
  • CPLDs complex programmable logic devices
  • These various embodiments may include: being implemented in one or more computer programs that are executable and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • a programmable processor which may be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • the computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor, the functions/operations specified in the flow charts and/or block diagrams are implemented.
  • the computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
  • a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or apparatus.
  • a computer readable storage medium may include an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
  • a computer readable storage medium may be a machine readable signal medium.
  • machine readable storage media may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a RAM, a ROM, an Erasable Programmable Read-Only Memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
  • the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a cathode ray tube (CRT) or a liquid crystal display (LCD) monitor) configured to display information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device.
  • a display device e.g., a cathode ray tube (CRT) or a liquid crystal display (LCD) monitor
  • a keyboard and a pointing device e.g., a mouse or a trackball
  • Other types of devices can also be configured to provide interaction with a user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
  • the systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components.
  • the components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN), blockchain network, and the Internet.
  • a computing system may include a client and a server.
  • the client and the server are generally remote from each other and usually interact through a communication network.
  • the client and server relationship is generated by computer programs running on the respective computers and having a client-server relationship with each other.
  • the server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services.
  • VPN virtual private servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)

Abstract

An intelligent-parking vehicle positioning method applied to a vehicle. The intelligent-parking vehicle positioning method applied to a vehicle comprises: collecting a rear-wheel speed, a course angle and a front-wheel steering angle; determining a first vehicle state variable and a first system state equation; determining a first Jacobian matrix and a second Jacobian matrix; determining the current estimated value according to the rear-wheel speed, the course angle, the first Jacobian matrix and a historical estimated value; determining an estimated value of an error covariance matrix according to estimation process noise and the first Jacobian matrix; determining a Kalman filtering gain matrix; determining the current estimation error according to the second Jacobian matrix and a historical estimation error; determining an estimated value of a state variable and an error covariance matrix according to the current estimation error, the Kalman filtering gain matrix, the second Jacobian matrix, the current estimated value and the estimated value of the error covariance matrix; and adjusting control parameters to determine a parking location of a target vehicle.

Description

应用于车辆的智能泊车车辆定位的方法Method for positioning vehicle in intelligent parking system
本申请要求在2022年09月30日提交中国专利局、申请号为202211231764.2的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on September 30, 2022, with application number 202211231764.2, the entire contents of which are incorporated by reference into this application.
技术领域Technical Field
本申请涉及车辆智能驾驶领域,例如涉及应用于车辆的智能泊车车辆定位的方法。The present application relates to the field of intelligent vehicle driving, for example, to a method for positioning a vehicle for intelligent parking of a vehicle.
背景技术Background technique
随着车辆智能驾驶技术的快速发展,智能泊车已成为不可或缺的车辆辅助功能。With the rapid development of vehicle intelligent driving technology, smart parking has become an indispensable vehicle assistance function.
然而,车辆在智能泊车时,由于车辆进行大幅度转向和车身刚度不足造成了车辆的轮距和轴距等参数的改变,致使传统航位推算算法在自动泊车过程中,无法满足对车辆进行高精度定位的需求。However, when a vehicle is performing intelligent parking, the vehicle's large steering and insufficient body rigidity cause changes in parameters such as the vehicle's track and wheelbase, making it impossible for traditional dead reckoning algorithms to meet the requirements for high-precision positioning of the vehicle during automatic parking.
发明内容Summary of the invention
本申请提供了应用于车辆的智能泊车车辆定位的方法,以提高车辆定位的精确度,进而提高自动泊车的精确度,提升用户体验。The present application provides a method for intelligent parking vehicle positioning applied to a vehicle to improve the accuracy of vehicle positioning, thereby improving the accuracy of automatic parking and enhancing the user experience.
根据本申请的一方面,提供了一种应用于车辆的智能泊车车辆定位的方法,包括:According to one aspect of the present application, a method for intelligent parking vehicle positioning applied to a vehicle is provided, comprising:
采集当前时刻与目标车辆相对应的后轮轮速、航向角以及前轮转向角;Collect the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment;
基于所述后轮轮速、所述航向角以及所述前轮转向角,确定与所述当前时刻所对应的第一车辆状态变量和第一系统状态方程;Determining a first vehicle state variable and a first system state equation corresponding to the current moment based on the rear wheel speed, the heading angle, and the front wheel steering angle;
根据目标特征位置点以及所述当前时刻的后轮中心点,确定与所述当前时刻相对应的观测变量方程;Determine the observed variable equation corresponding to the current moment according to the target feature position point and the rear wheel center point at the current moment;
根据所述第一系统状态方程,确定第一雅克比矩阵;以及,根据所述观测变量方程,确定第二雅克比矩阵;Determine a first Jacobian matrix according to the first system state equation; and determine a second Jacobian matrix according to the observation variable equation;
根据所述后轮轮速、所述航向角、第一雅克比矩阵以及前一时刻的历史估计值,确定所述当前时刻的当前估计值;其中,所述前一时刻为当前时刻之前,且与当前时刻时长间隔为预设时长的时刻;Determine the current estimated value at the current moment according to the rear wheel speed, the heading angle, the first Jacobian matrix and the historical estimated value at the previous moment; wherein the previous moment is a moment before the current moment and the time interval with the current moment is a preset time length;
根据所述前一时刻的估计过程噪声以及所述第一雅克比矩阵,确定误差协 方差矩阵估计值;其中,估计过程噪声是基于预先设定的自适应因子以及所述前一时刻的历史估算误差确定的;Determine the error coordination matrix according to the estimation process noise at the previous moment and the first Jacobian matrix. Variance matrix estimation value; wherein the estimation process noise is determined based on a preset adaptive factor and the historical estimation error of the previous moment;
根据所述误差协方差矩阵估计值、第二雅克比矩阵以及所述前一时刻的观测噪声,确定卡尔曼滤波增益矩阵;Determine a Kalman filter gain matrix according to the error covariance matrix estimate, the second Jacobian matrix and the observation noise at the previous moment;
根据第二雅克比矩阵以及所述历史估算误差,确定所述当前时刻的当前估算误差;Determine the current estimation error at the current moment according to the second Jacobian matrix and the historical estimation error;
根据所述当前估算误差、所述卡尔曼滤波增益矩阵、第二雅克比矩阵、所述当前估计值以及误差协方差矩阵估计值,确定所述当前时刻的状态变量估计值和误差协方差矩阵;Determine the state variable estimate and the error covariance matrix at the current moment according to the current estimated error, the Kalman filter gain matrix, the second Jacobian matrix, the current estimate and the error covariance matrix estimate;
基于所述状态变量估计值和所述误差协方差矩阵,调整与当前时刻所对应的控制参数,以基于所述控制参数确定所述目标车辆在当前时刻的泊车位置。Based on the state variable estimation value and the error covariance matrix, the control parameters corresponding to the current moment are adjusted to determine the parking position of the target vehicle at the current moment based on the control parameters.
根据本申请的另一方面,提供了一种应用于车辆的智能泊车车辆定位的装置,包括:According to another aspect of the present application, a device for intelligent parking vehicle positioning applied to a vehicle is provided, comprising:
目标车辆信息采集模块,设置为采集当前时刻与目标车辆相对应的后轮轮速、航向角以及前轮转向角;A target vehicle information collection module, configured to collect the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment;
车辆状态信息确定模块,设置为基于所述后轮轮速、所述航向角以及所述前轮转向角,确定与所述当前时刻所对应的第一车辆状态变量和第一系统状态方程;a vehicle state information determination module, configured to determine a first vehicle state variable and a first system state equation corresponding to the current moment based on the rear wheel speed, the heading angle, and the front wheel steering angle;
观测变量方程确定模块,设置为根据目标特征位置点以及所述当前时刻的后轮中心点,确定与所述当前时刻相对应的观测变量方程;an observation variable equation determination module, configured to determine the observation variable equation corresponding to the current moment according to the target feature position point and the rear wheel center point at the current moment;
雅克比矩阵确定模块,设置为根据所述第一系统状态方程,确定第一雅克比矩阵;以及,根据所述观测变量方程,确定第二雅克比矩阵;A Jacobian matrix determination module, configured to determine a first Jacobian matrix according to the first system state equation; and determine a second Jacobian matrix according to the observation variable equation;
当前估计值确定模块,设置为根据所述后轮轮速、所述航向角、第一雅克比矩阵以及前一时刻的历史估计值,确定所述当前时刻的当前估计值;其中,所述前一时刻为当前时刻之前,且与当前时刻时长间隔为预设时长的时刻;a current estimated value determination module, configured to determine the current estimated value at the current moment according to the rear wheel speed, the heading angle, the first Jacobian matrix and the historical estimated value at the previous moment; wherein the previous moment is a moment before the current moment and the time interval with the current moment is a preset time length;
误差协方差矩阵估计值确定模块,设置为根据所述前一时刻的估计过程噪声以及所述第一雅克比矩阵,确定误差协方差矩阵估计值;其中,估计过程噪声是基于预先设定的自适应因子以及所述前一时刻的历史估算误差确定的;An error covariance matrix estimation value determination module is configured to determine an error covariance matrix estimation value according to the estimation process noise at the previous moment and the first Jacobian matrix; wherein the estimation process noise is determined based on a preset adaptive factor and the historical estimation error at the previous moment;
卡尔曼滤波增益矩阵确定模块,设置为根据所述误差协方差矩阵估计值、第二雅克比矩阵以及所述前一时刻的观测噪声,确定卡尔曼滤波增益矩阵;A Kalman filter gain matrix determination module, configured to determine a Kalman filter gain matrix according to the error covariance matrix estimate, the second Jacobian matrix and the observation noise at the previous moment;
当前估算误差确定模块,设置为根据第二雅克比矩阵以及所述历史估算误差,确定所述当前时刻的当前估算误差; a current estimation error determination module, configured to determine the current estimation error at the current moment according to the second Jacobian matrix and the historical estimation error;
误差协方差矩阵确定模块,设置为根据所述当前估算误差、所述卡尔曼滤波增益矩阵、第二雅克比矩阵、所述当前估计值以及误差协方差矩阵估计值,确定所述当前时刻的状态变量估计值和误差协方差矩阵;An error covariance matrix determination module is configured to determine the state variable estimate and the error covariance matrix at the current moment according to the current estimated error, the Kalman filter gain matrix, the second Jacobian matrix, the current estimate and the error covariance matrix estimate;
泊车位置确定模块,设置为基于所述状态变量估计值和所述误差协方差矩阵,调整与当前时刻所对应的控制参数,以基于所述控制参数确定所述目标车辆在当前时刻的泊车位置。The parking position determination module is configured to adjust the control parameters corresponding to the current moment based on the state variable estimation value and the error covariance matrix, so as to determine the parking position of the target vehicle at the current moment based on the control parameters.
根据本申请的另一方面,提供了一种电子设备,所述电子设备包括:According to another aspect of the present application, an electronic device is provided, the electronic device comprising:
至少一个处理器;以及at least one processor; and
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的应用于车辆的智能泊车车辆定位的方法。The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned method for intelligent parking vehicle positioning applied to a vehicle.
根据本申请的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行上述的应用于车辆的智能泊车车辆定位的方法。According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions for causing a processor to execute the above-mentioned method for intelligent parking vehicle positioning applied to a vehicle.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例一提供的一种应用于车辆的智能泊车车辆定位的方法的流程图;FIG1 is a flow chart of a method for positioning a vehicle in intelligent parking provided in Embodiment 1 of the present application;
图2是本申请实施例一提供的一种车辆智能泊车示意图;FIG2 is a schematic diagram of a vehicle intelligent parking system provided in Example 1 of the present application;
图3是本申请实施例二提供的一种应用于车辆的智能泊车车辆定位的方法的流程示意图;FIG3 is a flow chart of a method for positioning a vehicle for intelligent parking provided in Embodiment 2 of the present application;
图4是本申请实施例三提供的一种应用于车辆的智能泊车车辆定位的装置的结构示意图;FIG4 is a schematic diagram of the structure of a device for positioning a vehicle for intelligent parking provided in Embodiment 3 of the present application;
图5是本申请实施例四提供的一种电子设备的结构示意图。FIG5 is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,所描述的实施例仅仅是本申请一部分的实施例。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. The described embodiments are only embodiments of a part of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在 这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", etc. in the specification and claims of this application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be used in addition to In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.
实施例一Embodiment 1
图1为本申请实施例一提供了一种应用于车辆的智能泊车车辆定位的方法的流程图,本实施例可适用于车辆智能泊车的情况,该方法可以由应用于车辆的智能泊车车辆定位的装置来执行,该应用于车辆的智能泊车车辆定位的装置可以采用硬件和/或软件的形式实现,该应用于车辆的智能泊车车辆定位的装置可配置于电子设备中。如图1所示,该方法包括:FIG1 is a flow chart of a method for positioning a vehicle in intelligent parking applied to a vehicle according to the first embodiment of the present application. The present embodiment is applicable to the case of intelligent parking of a vehicle. The method can be executed by a device for positioning a vehicle in intelligent parking applied to a vehicle. The device for positioning a vehicle in intelligent parking applied to a vehicle can be implemented in the form of hardware and/or software. The device for positioning a vehicle in intelligent parking applied to a vehicle can be configured in an electronic device. As shown in FIG1 , the method includes:
S101、采集当前时刻与目标车辆相对应的后轮轮速、航向角以及前轮转向角。S101, collecting the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment.
本申请实施例所提供的技术可以应用于具备智能泊车功能的车辆中,可以将进行智能泊车的车辆确定为目标车辆。目标车辆在智能泊车过程中,目标车辆可以根据预设时长,采集相应时刻时目标车辆的多项参数信息,根据目标车辆的多项参数信息可以确定目标车辆的控制参数,根据控制参数控制目标车辆进行智能泊车。为了介绍本申请实施例的技术方案,本申请实施例以目标车辆在智能泊车的过程中,以一时刻为例进行说明,可以将该时刻确定为当前时刻。The technology provided in the embodiment of the present application can be applied to vehicles with intelligent parking functions, and the vehicle performing intelligent parking can be determined as the target vehicle. During the intelligent parking process of the target vehicle, the target vehicle can collect multiple parameter information of the target vehicle at the corresponding moment according to the preset duration, and the control parameters of the target vehicle can be determined according to the multiple parameter information of the target vehicle, and the target vehicle can be controlled to perform intelligent parking according to the control parameters. In order to introduce the technical solution of the embodiment of the present application, the embodiment of the present application takes a moment in the process of intelligent parking of the target vehicle as an example for explanation, and the moment can be determined as the current moment.
在本申请实施例中,采集当前时刻与目标车辆相对应的后轮轮速、航向角以及前轮转向角的方式可以为:确定目标车辆在全局坐标系下的航向角;基于速度传感器采集目标车辆的后轮轮速;确定目标车辆在车辆坐标系下的前轮转向角;其中,车辆坐标系是在全局坐标系下建立的。In an embodiment of the present application, the method of collecting the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment can be: determining the heading angle of the target vehicle in the global coordinate system; collecting the rear wheel speed of the target vehicle based on the speed sensor; determining the front wheel steering angle of the target vehicle in the vehicle coordinate system; wherein the vehicle coordinate system is established in the global coordinate system.
如图2所示,根据目标车辆当前所在位置和目标特征位置点建立全局坐标系XOY。基于全局坐标系XOY和目标车辆当前的所在位置,在全局坐标系XOY下建立车辆坐标系X`O`Y`。基于目标车辆的车身方向和车辆宽度确定目标车辆的中心线,确定目标车辆中心线与全局坐标系X轴之间的夹角,将该夹角确定为航向角θ。通过目标车辆的速度传感器采集目标车辆后轮的后轮轮速。根据目标车辆的中心线和目标车辆的前轮角度,确定目标车辆中心线与目标车辆前轮之间的夹角,将该夹角确定为前轮转向角δ。As shown in Figure 2, a global coordinate system XOY is established based on the current position of the target vehicle and the target feature position point. Based on the global coordinate system XOY and the current position of the target vehicle, a vehicle coordinate system X`O`Y` is established under the global coordinate system XOY. The center line of the target vehicle is determined based on the body direction and vehicle width of the target vehicle, and the angle between the center line of the target vehicle and the X-axis of the global coordinate system is determined, and the angle is determined as the heading angle θ. The rear wheel speed of the rear wheel of the target vehicle is collected by the speed sensor of the target vehicle. According to the center line of the target vehicle and the front wheel angle of the target vehicle, the angle between the center line of the target vehicle and the front wheel of the target vehicle is determined, and the angle is determined as the front wheel steering angle δ.
S102、基于后轮轮速、航向角以及前轮转向角,确定与当前时刻所对应的第一车辆状态变量和第一系统状态方程。S102: Determine a first vehicle state variable and a first system state equation corresponding to the current moment based on the rear wheel speed, the heading angle, and the front wheel steering angle.
第一车辆状态变量可以包括目标车辆的后轮中心点的位置信息、目标特征 位置点在全局坐标系下的特征点坐标以及航向角等。The first vehicle state variable may include the position information of the rear wheel center point of the target vehicle, the target feature The feature point coordinates and heading angle of the position point in the global coordinate system.
在本申请实施中,基于所述后轮轮速、所述航向角以及所述前轮转向角,确定与所述当前时刻所对应的第一车辆状态变量和第一系统状态方程,包括:基于后轮轮速以及航向角,确定后轮中心点的位置信息;根据位置信息、目标特征位置点在全局坐标系下的特征点坐标以及航向角,确定当前时刻的第一车辆状态变量;基于后轮轮速以及前轮转向角,确定航向角变化率;基于航向角变化率以及位置信息,确定第一系统状态方程。In the implementation of the present application, based on the rear wheel speed, the heading angle and the front wheel steering angle, the first vehicle state variable and the first system state equation corresponding to the current moment are determined, including: based on the rear wheel speed and the heading angle, determining the position information of the rear wheel center point; determining the first vehicle state variable at the current moment according to the position information, the feature point coordinates of the target feature position point in the global coordinate system and the heading angle; based on the rear wheel speed and the front wheel steering angle, determining the heading angle change rate; based on the heading angle change rate and the position information, determining the first system state equation.
后轮中心点的位置信息可以是指目标车辆的两个后轮之间的后轴中心点的位置信息。目标特征位置点可以是指一个固定位置,比如停车位的交叉点和最终停车位置点等泊车位置。航向角变化率可以是指目标车辆根据前轮当前航向角与前一时刻的航向角的增量。The position information of the rear wheel center point may refer to the position information of the rear axle center point between the two rear wheels of the target vehicle. The target feature position point may refer to a fixed position, such as a parking position such as an intersection of a parking space and a final parking position point. The heading angle change rate may refer to the increment of the heading angle of the target vehicle based on the current heading angle of the front wheel and the heading angle at the previous moment.
根据目标车辆的后轮轮速和航向角,可以确定后轮中心点的位置信息。例如,如图2,目标车辆的后轮中心点的横坐标可以为:x=v*cosθ。According to the rear wheel speed and heading angle of the target vehicle, the position information of the rear wheel center point can be determined. For example, as shown in FIG2 , the horizontal coordinate of the rear wheel center point of the target vehicle can be: x=v*cosθ.
目标车辆的后轮中心点的纵坐标可以为:y=v*sinθ。The ordinate of the rear wheel center point of the target vehicle may be: y=v*sinθ.
据中心点的位置信息、已知的目标特征位置点在全局坐标系下的特征点坐标和航向角,可以确定当前时刻的第一车辆状态变量。According to the position information of the center point, the feature point coordinates and the heading angle of the known target feature position point in the global coordinate system, the first vehicle state variable at the current moment can be determined.
例如,第一车辆状态变量可以为:J=[x,y,θ,xA,yA]。For example, the first vehicle state variable may be: J=[x, y, θ, x A , y A ].
(x,y)为目标车辆的后轮中心点的位置信息,θ为航向角,(xA,yA)为已知的目标特征位置点在全局坐标系下的特征点坐标。(x, y) is the position information of the rear wheel center point of the target vehicle, θ is the heading angle, and (x A , y A ) is the feature point coordinates of the known target feature position point in the global coordinate system.
根据后轮轮速v以及前轮转向角δ,可以确定航向角变化率。The heading angle change rate can be determined based on the rear wheel speed v and the front wheel steering angle δ.
例如,如图2,航向角变换率θ=v*tanδ。For example, as shown in FIG2 , the heading angle change rate θ=v*tanδ.
根据航向角变化率θ和目标车辆的后轮中心点的位置信息,可以确定第一系统状态方程。According to the heading angle change rate θ and the position information of the rear wheel center point of the target vehicle, the first system state equation can be determined.
例如,第一系统状态方程可以为:
For example, the first system state equation can be:
其中,k可以是指当前时刻,ωk为过程噪声、υk为观测噪声,T可以是指当前时刻的上一时刻与当前时刻之间的时长间隔。 Among them, k can refer to the current moment, ω k is the process noise, υ k is the observation noise, and T can refer to the time interval between the previous moment and the current moment.
S103、根据目标特征位置点以及当前时刻的后轮中心点,确定与当前时刻相对应的观测变量方程。S103. Determine the observation variable equation corresponding to the current moment according to the target feature position point and the rear wheel center point at the current moment.
根据目标特征位置点和当前时刻的后轮中心点,确定目标特征位置点与当前时刻的后轮中心点之间的距离。根据目标特征位置点和当前时刻的后轮中心点,确定后轮中心点和目标特征位置点之间的直线与车辆坐标系在X`轴方向上的夹角。根据目标特征位置点与当前时刻的后轮中心点之间的距离,和后轮中心点和目标特征位置点之间的直线与车辆坐标系在X`轴方向上的夹角,确定与当前时刻相对应的观测变量方程。According to the target feature position point and the rear wheel center point at the current moment, determine the distance between the target feature position point and the rear wheel center point at the current moment. According to the target feature position point and the rear wheel center point at the current moment, determine the angle between the straight line between the rear wheel center point and the target feature position point and the vehicle coordinate system in the X'-axis direction. According to the distance between the target feature position point and the rear wheel center point at the current moment, and the angle between the straight line between the rear wheel center point and the target feature position point and the vehicle coordinate system in the X'-axis direction, determine the observation variable equation corresponding to the current moment.
在本申请实施例中,观测变量方程可以为:
In the embodiment of the present application, the observed variable equation may be:
如图2所示,r为后轮中心点与目标特征位置点A的交点距离;φk为后轮中心点与目标特征位置点A之间的连线与车辆坐标系在X`轴方向上的夹角,ωk为过程噪声、υk为观测噪声,k表示时刻。As shown in Figure 2, r is the distance between the intersection of the rear wheel center point and the target feature position point A; φk is the angle between the line between the rear wheel center point and the target feature position point A and the vehicle coordinate system in the X'-axis direction, ωk is the process noise, υk is the observation noise, and k represents the time.
S104、根据第一系统状态方程,确定第一雅克比矩阵;以及,根据观测变量方程,确定第二雅克比矩阵。S104. Determine a first Jacobian matrix according to the first system state equation; and determine a second Jacobian matrix according to the observation variable equation.
在本申请实施例中,根据第一系统状态方程,确定第一雅克比矩阵可以包括:基于第一系统状态方程求偏分,得到第一雅克比矩阵。对第一系统状态方程进行求偏分处理,可以获得第一雅克比矩阵。In an embodiment of the present application, determining the first Jacobian matrix according to the first system state equation may include: performing partial division based on the first system state equation to obtain the first Jacobian matrix. Performing partial division processing on the first system state equation may obtain the first Jacobian matrix.
例如,第一雅克比矩阵可以为:
For example, the first Jacobian matrix can be:
T可以是指当前时刻的上一时刻与当前时刻之间的时长间隔。T may refer to the time interval between the previous moment and the current moment.
在本申请实施例中,根据观测变量方程,确定第二雅克比矩阵可以包括:基于观测变量方程求偏分,得到第二雅克比矩阵。In an embodiment of the present application, determining the second Jacobian matrix according to the observed variable equation may include: calculating a partial division based on the observed variable equation to obtain the second Jacobian matrix.
对观测变量方程进行求偏分处理,可以获得第二雅克比矩阵。By taking partial division of the observed variable equation, the second Jacobian matrix can be obtained.
例如,第二雅克比矩阵可以为:
For example, the second Jacobian matrix can be:
Δx=xA-x,Δy=yA-y,r为后轮中心点与目标特征位置点A的交点距离。Δx=x A -x, Δy=y A -y, r is the distance between the intersection of the rear wheel center point and the target feature position point A.
S105、根据后轮轮速、航向角、第一雅克比矩阵以及前一时刻的历史估计值,确定当前时刻的当前估计值。S105: Determine a current estimated value at a current moment according to the rear wheel speed, the heading angle, the first Jacobian matrix, and the historical estimated value at a previous moment.
前一时刻可以是指在当前时刻之前且与当前时刻时长间隔为预设时长的时刻。The previous moment may refer to a moment before the current moment and separated from the current moment by a preset time length.
基于扩展卡尔曼滤波算法,根据后轮轮速、航向角、第一雅克比矩阵以及前一时刻的历史估计值,可以确定当前时刻的当前估计值。Based on the extended Kalman filter algorithm, the current estimated value at the current moment can be determined according to the rear wheel speed, heading angle, first Jacobian matrix and the historical estimated value at the previous moment.
例如,当前时刻的当前估计值可以为: For example, the current estimate at the current moment could be:
其中,u=[v,θ],可以是指前一时刻的历史估计值,A可以是指目标特征位置点A的位置坐标,F可以是指第一雅克比矩阵。Where u = [v, θ], It can refer to the historical estimation value at the previous moment, A can refer to the position coordinates of the target feature position point A, and F can refer to the first Jacobian matrix.
S106、根据前一时刻的估计过程噪声以及第一雅克比矩阵,确定误差协方差矩阵估计值。S106: Determine an error covariance matrix estimate according to the estimation process noise at the previous moment and the first Jacobian matrix.
估计过程噪声可以是指基于预先设定的自适应因子以及前一时刻的历史估算误差确定的。The estimation process noise may be determined based on a preset adaptive factor and a historical estimation error at a previous moment.
根据前一时刻的估计过程噪声和第一雅克比矩阵,计算误差协方差矩阵估计值。Compute an estimate of the error covariance matrix based on the estimated process noise and the first Jacobian matrix at the previous time step.
在本申请实施例中,确定误差协方差矩阵估计值的计算方式可以为: In the embodiment of the present application, the calculation method for determining the error covariance matrix estimate may be:
其中,Fk可以为第一雅克比矩阵,Pk-1可以为前一时刻的误差协方差矩阵估计值,为前一时刻的估计过程噪声。Among them, Fk can be the first Jacobian matrix, Pk -1 can be the error covariance matrix estimate at the previous moment, is the estimation process noise at the previous moment.
S107、根据误差协方差矩阵估计值、第二雅克比矩阵以及前一时刻的观测噪声,确定卡尔曼滤波增益矩阵。S107, determining a Kalman filter gain matrix according to the error covariance matrix estimate, the second Jacobian matrix, and the observation noise at the previous moment.
根据误差协方差矩阵估计值、第二雅克比矩阵以及前一时刻的观测噪声,计算当前时刻的卡尔曼滤波增益矩阵。The Kalman filter gain matrix at the current moment is calculated based on the error covariance matrix estimate, the second Jacobian matrix, and the observation noise at the previous moment.
在本申请实施例中,在S107中,卡尔曼滤波增益矩阵可以为: In the embodiment of the present application, in S107, the Kalman filter gain matrix may be:
误差协方差矩阵估计值,为前一时刻的观测噪声,H为第二雅克比矩阵,Kk为卡尔曼滤波增益矩阵。 The error covariance matrix estimate, is the observation noise of the previous moment, H is the second Jacobian matrix, and K k is the Kalman filter gain matrix.
S108、根据第二雅克比矩阵以及历史估算误差,确定当前时刻的当前估算误差。S108. Determine the current estimation error at the current moment according to the second Jacobian matrix and the historical estimation error.
根据第二雅克比矩阵以及历史估算误差,可以计算出当前时刻的当前估算误差。According to the second Jacobian matrix and the historical estimation error, the current estimation error at the current moment can be calculated.
在本申请实施例中,根据第二雅克比矩阵以及所述历史估算误差,确定所述当前时刻的当前估算误差,包括:基于第二雅克比矩阵和当前估计值,确定观测变量估计值;基于观测量估计值,确定当前时刻的当前估算误差。In an embodiment of the present application, the current estimation error at the current moment is determined based on the second Jacobian matrix and the historical estimation error, including: determining the estimated value of the observed variable based on the second Jacobian matrix and the current estimated value; determining the current estimation error at the current moment based on the estimated value of the observed variable.
根据第二雅克比矩阵和当前估计值,可以计算出观测变量估计值。Based on the second Jacobian matrix and the current estimate, the observed variable estimate can be calculated.
例如,观测变量估计值可以是: For example, the observed variable estimates can be:
其中,H可以是指第二雅克比矩阵,可以是指当前估计值。Where H can refer to the second Jacobian matrix, Can refer to current estimates.
根据观测量估计值和观测变量,计算当前时刻的当前估算误差,其中观测变量可以通过将目标特征位置点A的位置坐标与后轮中心点的位置坐标,代入观测变量方程中计算获得。The current estimation error at the current moment is calculated based on the estimated value of the observed quantity and the observed variable, wherein the observed variable can be calculated by substituting the position coordinates of the target feature position point A and the position coordinates of the rear wheel center point into the observed variable equation.
例如,当前估算误差可以为: For example, the current estimated error can be:
其中,Zk可以是指观测变量,可以是指观测变量估计值。Among them, Z k can refer to the observed variable, Can refer to the estimated value of an observed variable.
S109、根据当前估算误差、卡尔曼滤波增益矩阵、第二雅克比矩阵、当前估计值以及误差协方差矩阵估计值,确定当前时刻的状态变量估计值和误差协方差矩阵。S109, determining the state variable estimate and the error covariance matrix at the current moment according to the current estimated error, the Kalman filter gain matrix, the second Jacobian matrix, the current estimate and the error covariance matrix estimate.
根据当前估算误差、当前估计值和卡尔曼滤波增益矩阵,计算当前时刻的状态变量估计值。根据误差协方差矩阵估计值、第二雅克比矩阵和卡尔曼滤波增益矩阵,确定误差协方差矩阵。The current state variable estimate is calculated based on the current estimation error, the current estimate value and the Kalman filter gain matrix. The error covariance matrix is determined based on the error covariance matrix estimate, the second Jacobian matrix and the Kalman filter gain matrix.
在本申请实施例中,状态变量估计值可以: In the embodiment of the present application, the estimated value of the state variable may be:
误差协方差矩阵可以为: The error covariance matrix can be:
其中,表示状态变量估计值,Pk表示误差协方差矩阵,ek表示当前估算误差,E为单位矩阵。in, represents the estimated value of the state variable, P k represents the error covariance matrix, e k represents the current estimation error, and E is the unit matrix.
S110、基于状态变量估计值和误差协方差矩阵,调整与当前时刻所对应的控制参数,以基于控制参数确定目标车辆在当前时刻的泊车位置。S110 . Adjust the control parameters corresponding to the current moment based on the estimated values of the state variables and the error covariance matrix, so as to determine the parking position of the target vehicle at the current moment based on the control parameters.
根据获得的状态变量估计值和误差协方差矩阵,调整目标车辆在当前时刻对应控制参数,以使目标车辆根据控制参数确定在当前时刻的泊车位置。According to the obtained state variable estimation value and the error covariance matrix, the control parameters corresponding to the target vehicle at the current moment are adjusted so that the target vehicle determines the parking position at the current moment according to the control parameters.
本申请实施例的技术方案,通过采集当前时刻与目标车辆相对应的后轮轮速、航向角以及前轮转向角。基于后轮轮速、航向角以及前轮转向角,确定与 当前时刻所对应的第一车辆状态变量和第一系统状态方程。根据目标特征位置点以及当前时刻的后轮中心点,确定与当前时刻相对应的观测变量方程。根据第一系统状态方程,确定第一雅克比矩阵;以及,根据观测变量方程,确定第二雅克比矩阵。根据后轮轮速、航向角、第一雅克比矩阵以及前一时刻的历史估计值,确定当前时刻的当前估计值。根据前一时刻的估计过程噪声以及第一雅克比矩阵,确定误差协方差矩阵估计值。根据误差协方差矩阵估计值、第二雅克比矩阵以及前一时刻的观测噪声,确定卡尔曼滤波增益矩阵。根据第二雅克比矩阵以及历史估算误差,确定当前时刻的当前估算误差。根据当前估算误差、卡尔曼滤波增益矩阵、第二雅克比矩阵、当前估计值以及误差协方差矩阵估计值,确定当前时刻的状态变量估计值和误差协方差矩阵。基于状态变量估计值和误差协方差矩阵,调整与当前时刻所对应的控制参数,以基于控制参数确定目标车辆在当前时刻的泊车位置,解决了车辆在泊车的过程中没有根据车辆轮距和轴距等参数的变化调整泊车对应的控制参数,致使估算车辆位姿不准确的问题,从而提高了泊车过程中车辆定位的精确度,进而提高自动泊车的精确度,提升用户体验。The technical solution of the embodiment of the present application collects the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment. Based on the rear wheel speed, heading angle and front wheel steering angle, determine the The first vehicle state variable and the first system state equation corresponding to the current moment. According to the target feature position point and the rear wheel center point at the current moment, determine the observation variable equation corresponding to the current moment. According to the first system state equation, determine the first Jacobian matrix; and, according to the observation variable equation, determine the second Jacobian matrix. According to the rear wheel speed, heading angle, the first Jacobian matrix and the historical estimated value at the previous moment, determine the current estimated value at the current moment. According to the estimation process noise at the previous moment and the first Jacobian matrix, determine the error covariance matrix estimate. According to the error covariance matrix estimate, the second Jacobian matrix and the observation noise at the previous moment, determine the Kalman filter gain matrix. According to the second Jacobian matrix and the historical estimation error, determine the current estimation error at the current moment. According to the current estimation error, the Kalman filter gain matrix, the second Jacobian matrix, the current estimated value and the error covariance matrix estimate, determine the state variable estimate and the error covariance matrix at the current moment. Based on the estimated value of the state variable and the error covariance matrix, the control parameters corresponding to the current moment are adjusted to determine the parking position of the target vehicle at the current moment based on the control parameters. This solves the problem of inaccurate estimation of the vehicle's posture due to the failure to adjust the control parameters corresponding to the parking according to changes in parameters such as the vehicle's wheelbase and track during the parking process. This improves the accuracy of vehicle positioning during the parking process, thereby improving the accuracy of automatic parking and enhancing the user experience.
在上述实施例的基础上,应用于车辆的智能泊车车辆定位的方法还包括:基于预先设置的自适应因子对误差协方差矩阵估计值和当前估算误差处理,确定当前时刻的过程噪声和观测噪声,以基于更新的过程噪声和观测噪声确定下一时刻的误差协方差矩阵估计值以及卡尔曼滤波增益矩阵。On the basis of the above-mentioned embodiment, the method for intelligent parking vehicle positioning applied to the vehicle also includes: processing the error covariance matrix estimate and the current estimated error based on a preset adaptive factor, determining the process noise and observation noise at the current moment, and determining the error covariance matrix estimate and the Kalman filter gain matrix at the next moment based on the updated process noise and observation noise.
根据预先设置的自适应因子和卡尔曼滤波增益矩阵,可以计算获得当前时刻的过程噪声。根据预先设置的自适应因子和估算误差,可以计算获得当前时刻的观测噪声。根据当前时刻的过程噪声和观测噪声,计算下一时刻的误差协方差矩阵估计值以及卡尔曼滤波增益矩阵。According to the preset adaptive factor and Kalman filter gain matrix, the process noise at the current moment can be calculated. According to the preset adaptive factor and estimated error, the observation noise at the current moment can be calculated. According to the process noise and observation noise at the current moment, the error covariance matrix estimate and Kalman filter gain matrix at the next moment are calculated.
在本申请实施例中,预先设置的自适应因子可以为: In the embodiment of the present application, the preset adaptive factor may be:
其中,d为遗忘因子,取值范围为[0,1]。过程噪声可以为: Where d is the forgetting factor, and its value range is [0,1]. The process noise can be:
观测噪声可以为: The observation noise can be:
其中,Kk为卡尔曼滤波增益矩阵,q为自适应因子,ek表示当前估算误差。Among them, Kk is the Kalman filter gain matrix, q is the adaptive factor, and ek represents the current estimation error.
本申请实施例的技术方案,通过当前时刻的过程噪声和观测噪声,可以计算下一时刻的误差协方差矩阵估计值以及卡尔曼滤波增益矩阵,基于下一时刻的误差协方差矩阵估计值以及卡尔曼滤波增益矩阵可以确定下一时刻的控制参数,以使目标车辆根据控制参数确定泊车过程中目标车辆的位置,从而提高自 动泊车的精确度,提升用户体验。The technical solution of the embodiment of the present application can calculate the error covariance matrix estimation value and the Kalman filter gain matrix at the next moment through the process noise and the observation noise at the current moment, and the control parameters at the next moment can be determined based on the error covariance matrix estimation value and the Kalman filter gain matrix at the next moment, so that the target vehicle determines the position of the target vehicle during the parking process according to the control parameters, thereby improving the automatic Improve the accuracy of automatic parking and enhance the user experience.
实施例二Embodiment 2
图3为本申请实施例二提供的一种应用于车辆的智能泊车车辆定位的方法的流程示意图。本实施例作为上述实施例的一个实施例,确定误差协方差矩阵估计值以及卡尔曼滤波增益矩阵的方式可以参见图3所示。Fig. 3 is a flow chart of a method for intelligent parking vehicle positioning applied to a vehicle provided in the second embodiment of the present application. As an embodiment of the above embodiments, the manner of determining the error covariance matrix estimation value and the Kalman filter gain matrix can be shown in Fig. 3 .
S210、基于第一系统状态方程的初始值X0、第一雅克比矩阵Fk、前一时刻的历史估计值目标特征位置点A的位置坐标,以及输入量uk(其中,u=[v,θ]),可以获得当前时刻的当前估计值根据初始误差协方差矩阵估计值P0,初始估计过程噪声Q0,第一雅克比矩阵Fk,可以获得误差协方差矩阵估计值 S210, based on the initial value X 0 of the first system state equation, the first Jacobian matrix F k , and the historical estimated value of the previous moment The position coordinates of the target feature point A and the input value u k (where u = [v, θ]) can be used to obtain the current estimated value at the current moment. According to the initial error covariance matrix estimate P 0 , the initial estimated process noise Q 0 , and the first Jacobian matrix F k , the error covariance matrix estimate can be obtained:
S220、根据第二雅克比矩阵H和当前估计值可以计算出观测变量估计值 S220, according to the second Jacobian matrix H and the current estimated value The estimated value of the observed variable can be calculated
S230、根据初始误差协方差矩阵估计值P0,第二雅克比矩阵H,初始观测噪声R0,可以计算获得卡尔曼滤波增益矩阵KkS230 . According to the initial error covariance matrix estimate P 0 , the second Jacobian matrix H , and the initial observation noise R 0 , a Kalman filter gain matrix K k may be calculated.
S240、根据观测量估计值和观测变量Zk,计算当前时刻的当前估算误差ekS240, estimate value based on observation and observed variables Z k , and calculate the current estimation error e k at the current moment.
根据当前时刻的当前估算误差ek和卡尔曼滤波增益矩阵Kk,可以获得当前时刻的过程噪声Qk和当前时刻的观测噪声Rk。通过当前时刻的过程噪声和当前时刻的观测噪声,可以计算下一时刻的误差协方差矩阵估计值以及卡尔曼滤波增益矩阵,基于下一时刻的误差协方差矩阵估计值以及卡尔曼滤波增益矩阵可以确定下一时刻的控制参数。According to the current estimation error e k and the Kalman filter gain matrix K k at the current moment, the process noise Q k at the current moment and the observation noise R k at the current moment can be obtained. Through the process noise at the current moment and the observation noise at the current moment, the error covariance matrix estimate and the Kalman filter gain matrix at the next moment can be calculated, and the control parameters at the next moment can be determined based on the error covariance matrix estimate and the Kalman filter gain matrix at the next moment.
S250、根据当前估算误差ek、卡尔曼滤波增益矩阵Kk和当前时刻的当前估计值通过计算可以获得当前时刻的状态变量估计值根据初始误差协方差矩阵估计值P0、第二雅克比矩阵H和卡尔曼滤波增益矩阵Kk,可以确定出误差协方差矩阵PkS250, according to the current estimation error e k , the Kalman filter gain matrix K k and the current estimation value at the current moment The estimated value of the state variable at the current moment can be obtained by calculation According to the initial error covariance matrix estimate P 0 , the second Jacobian matrix H and the Kalman filter gain matrix K k , the error covariance matrix P k can be determined.
S260、根据获得的状态变量估计值和误差协方差矩阵,调整目标车辆在当前时刻对应控制参数,以使目标车辆根据控制参数确定在当前时刻的泊车位置。S260. According to the obtained estimated values of the state variables and the error covariance matrix, the control parameters corresponding to the target vehicle at the current moment are adjusted so that the target vehicle determines the parking position at the current moment according to the control parameters.
通过本申请实施例的技术方案,可确定目标车辆在每个时刻的车辆位置,解决了车辆在泊车的过程中,未根据车辆轮距和轴距等参数的变化调整泊车对应的控制参数,致使估算车辆位姿不准确的问题,从而提高了泊车过程中车辆定位的精确度,进而提高自动泊车的精确度,提升用户体验,同时提高目标车 辆智能泊车的安全性。Through the technical solution of the embodiment of the present application, the vehicle position of the target vehicle at each moment can be determined, which solves the problem that the control parameters corresponding to the parking are not adjusted according to the changes in parameters such as the wheelbase and wheelbase of the vehicle during the parking process, resulting in inaccurate estimation of the vehicle posture, thereby improving the accuracy of vehicle positioning during the parking process, thereby improving the accuracy of automatic parking, improving user experience, and at the same time improving the target vehicle. The safety of smart parking.
实施例三Embodiment 3
图4是本申请实施例三提供的一种应用于车辆的智能泊车车辆定位的装置的结构示意图。本实施例可适用于车辆自动泊车的情况,如图4所示,该装置包括:目标车辆参数信息采集模块401、车辆状态信息确定模块402、观测变量方程确定模块403、雅克比矩阵确定模块404、当前估计值确定模块405、误差协方差矩阵估计值确定模块406、卡尔曼滤波增益矩阵确定模块407、当前估算误差确定模块408、误差协方差矩阵确定模块409和泊车位置确定模块410。其中,FIG4 is a schematic diagram of the structure of a device for intelligent parking vehicle positioning provided in the third embodiment of the present application. This embodiment is applicable to the case of automatic parking of vehicles. As shown in FIG4 , the device includes: a target vehicle parameter information acquisition module 401, a vehicle state information determination module 402, an observation variable equation determination module 403, a Jacobian matrix determination module 404, a current estimated value determination module 405, an error covariance matrix estimated value determination module 406, a Kalman filter gain matrix determination module 407, a current estimated error determination module 408, an error covariance matrix determination module 409 and a parking position determination module 410. Among them,
目标车辆参数信息采集模块401,设置为采集当前时刻与目标车辆相对应的后轮轮速、航向角以及前轮转向角;车辆状态信息确定模块402,设置为基于所述后轮轮速、所述航向角以及所述前轮转向角,确定与所述当前时刻所对应的第一车辆状态变量和第一系统状态方程;观测变量方程确定模块403,设置为根据目标特征位置点以及所述当前时刻的后轮中心点,确定与所述当前时刻相对应的观测变量方程;雅克比矩阵确定模块404,设置为根据所述第一系统状态方程,确定第一雅克比矩阵;以及,根据所述观测变量方程,确定第二雅克比矩阵;当前估计值确定模块405,设置为根据所述后轮轮速、所述航向角、第一雅克比矩阵以及前一时刻的历史估计值,确定所述当前时刻的当前估计值;其中,所述前一时刻为当前时刻之前,且与当前时刻时长间隔为预设时长的时刻;误差协方差矩阵估计值确定模块406,设置为根据所述前一时刻的估计过程噪声以及所述第一雅克比矩阵,确定误差协方差矩阵估计值;其中,估计过程噪声是基于预先设定的自适应因子以及所述前一时刻的历史估算误差确定的;卡尔曼滤波增益矩阵确定模块407,设置为根据所述误差协方差矩阵估计值、第二雅克比矩阵以及所述前一时刻的观测噪声,确定卡尔曼滤波增益矩阵;当前估算误差确定模块408,设置为根据第二雅克比矩阵以及所述历史估算误差,确定所述当前时刻的当前估算误差;误差协方差矩阵确定模块409,设置为根据所述当前估算误差、所述卡尔曼滤波增益矩阵、第二雅克比矩阵、所述当前估计值以及误差协方差矩阵估计值,确定所述当前时刻的状态变量估计值和误差协方差矩阵;泊车位置确定模块410,设置为基于所述状态变量估计值和所述误差协方差矩阵,调整与当前时刻所对应的控制参数,以基于所述控制参数确定所述目标车辆在当前时刻的泊车位置。The target vehicle parameter information acquisition module 401 is configured to acquire the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment; the vehicle state information determination module 402 is configured to determine the first vehicle state variable and the first system state equation corresponding to the current moment based on the rear wheel speed, the heading angle and the front wheel steering angle; the observation variable equation determination module 403 is configured to determine the observation variable equation corresponding to the current moment according to the target feature position point and the rear wheel center point at the current moment; the Jacobian matrix determination module 404 is configured to determine the first Jacobian matrix according to the first system state equation; and, according to the observation variable equation, determine the second Jacobian matrix; the current estimated value determination module 405 is configured to determine the current estimated value at the current moment according to the rear wheel speed, the heading angle, the first Jacobian matrix and the historical estimated value at the previous moment; wherein the previous moment is before the current moment and the time interval with the current moment is a preset time length; the error covariance matrix estimated value determination module 406 is configured to determine the error covariance matrix estimated value according to the The estimation process noise at the previous moment and the first Jacobian matrix are used to determine the error covariance matrix estimate; wherein the estimation process noise is determined based on a preset adaptive factor and the historical estimation error at the previous moment; a Kalman filter gain matrix determination module 407 is configured to determine the Kalman filter gain matrix according to the error covariance matrix estimate, the second Jacobian matrix and the observation noise at the previous moment; a current estimation error determination module 408 is configured to determine the current estimation error at the current moment according to the second Jacobian matrix and the historical estimation error; an error covariance matrix determination module 409 is configured to determine the state variable estimate and the error covariance matrix at the current moment according to the current estimation error, the Kalman filter gain matrix, the second Jacobian matrix, the current estimate and the error covariance matrix estimate; a parking position determination module 410 is configured to adjust the control parameters corresponding to the current moment based on the state variable estimate and the error covariance matrix, so as to determine the parking position of the target vehicle at the current moment based on the control parameters.
本申请实施例的技术方案,通过采集当前时刻与目标车辆相对应的后轮轮速、航向角以及前轮转向角。基于所述后轮轮速、所述航向角以及所述前轮转 向角,确定与所述当前时刻所对应的第一车辆状态变量和第一系统状态方程。根据目标特征位置点以及所述当前时刻的后轮中心点,确定与所述当前时刻相对应的观测变量方程。根据所述第一系统状态方程,确定第一雅克比矩阵;以及,根据所述观测变量方程,确定第二雅克比矩阵。根据所述后轮轮速、所述航向角、第一雅克比矩阵以及前一时刻的历史估计值,确定所述当前时刻的当前估计值。根据所述前一时刻的估计过程噪声以及所述第一雅克比矩阵,确定误差协方差矩阵估计值。根据所述误差协方差矩阵估计值、第二雅克比矩阵以及所述前一时刻的观测噪声,确定卡尔曼滤波增益矩阵。根据第二雅克比矩阵以及所述历史估算误差,确定所述当前时刻的当前估算误差。根据所述当前估算误差、所述卡尔曼滤波增益矩阵、第二雅克比矩阵、所述当前估计值以及误差协方差矩阵估计值,确定所述当前时刻的状态变量估计值和误差协方差矩阵。基于所述状态变量估计值和所述误差协方差矩阵,调整与当前时刻所对应的控制参数,以基于所述控制参数确定所述目标车辆在当前时刻的泊车位置,解决了车辆在泊车的过程中,未根据车辆轮距和轴距等参数的变化调整泊车对应的控制参数,致使估算车辆位姿不准确的问题,从而提高了泊车过程中车辆定位的精确度,进而提高自动泊车的精确度,提升用户体验。The technical solution of the embodiment of the present application collects the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment. According to the target feature position point and the rear wheel center point at the current moment, the observation variable equation corresponding to the current moment is determined. According to the first system state equation, a first Jacobian matrix is determined; and, according to the observation variable equation, a second Jacobian matrix is determined. According to the rear wheel speed, the heading angle, the first Jacobian matrix and the historical estimation value at the previous moment, the current estimation value at the current moment is determined. According to the estimation process noise at the previous moment and the first Jacobian matrix, an error covariance matrix estimation value is determined. According to the error covariance matrix estimation value, the second Jacobian matrix and the observation noise at the previous moment, a Kalman filter gain matrix is determined. According to the second Jacobian matrix and the historical estimation error, the current estimation error at the current moment is determined. According to the current estimation error, the Kalman filter gain matrix, the second Jacobian matrix, the current estimation value and the error covariance matrix estimation value, the state variable estimation value and the error covariance matrix estimation value at the current moment are determined. Based on the estimated value of the state variable and the error covariance matrix, the control parameters corresponding to the current moment are adjusted to determine the parking position of the target vehicle at the current moment based on the control parameters, thereby solving the problem of inaccurate estimation of the vehicle posture due to failure to adjust the control parameters corresponding to parking according to changes in parameters such as the vehicle's wheelbase and wheelbase during the parking process. This improves the accuracy of vehicle positioning during the parking process, thereby improving the accuracy of automatic parking and enhancing the user experience.
在上述实施例的基础上,目标车辆参数信息采集模块401,可以设置为:确定所述目标车辆在全局坐标系下的航向角;基于速度传感器采集所述目标车辆的后轮轮速;确定所述目标车辆在车辆坐标系下的前轮转向角;其中,所述车辆坐标系是在所述全局坐标系下建立的。Based on the above embodiment, the target vehicle parameter information acquisition module 401 can be set to: determine the heading angle of the target vehicle in the global coordinate system; collect the rear wheel speed of the target vehicle based on the speed sensor; determine the front wheel steering angle of the target vehicle in the vehicle coordinate system; wherein the vehicle coordinate system is established in the global coordinate system.
在上述实施例的基础上,车辆状态信息确定模块402,可以设置为:Based on the above embodiment, the vehicle state information determination module 402 may be configured as follows:
基于所述后轮轮速以及所述航向角,确定后轮中心点的位置信息;根据所述位置信息、目标特征位置点在全局坐标系下的特征点坐标以及所述航向角,确定当前时刻的第一车辆状态变量;基于所述后轮轮速以及所述前轮转向角,确定航向角变化率;基于所述航向角变化率以及所述位置信息,确定所述第一系统状态方程。Based on the rear wheel speed and the heading angle, determine the position information of the rear wheel center point; determine the first vehicle state variable at the current moment according to the position information, the feature point coordinates of the target feature position point in the global coordinate system and the heading angle; based on the rear wheel speed and the front wheel steering angle, determine the heading angle change rate; based on the heading angle change rate and the position information, determine the first system state equation.
在上述实施例的基础上,所述观测变量方程为:
Based on the above embodiment, the observed variable equation is:
其中,r为后轮中心点与所述目标特征位置点A的交点距离;φk为后轮中心点与目标特征位置点A之间的连线与车辆坐标系在X`轴方向上的夹角,ωk为过程噪声、υk为观测噪声,k表示时刻。 Among them, r is the distance between the intersection of the rear wheel center point and the target feature position point A; φk is the angle between the line between the rear wheel center point and the target feature position point A and the vehicle coordinate system in the X'-axis direction, ωk is the process noise, υk is the observation noise, and k represents the time.
在上述实施例的基础上,雅克比矩阵确定模块404,设置为:基于所述第一系统状态方程求偏分,得到所述第一雅克比矩阵;基于所述观测变量方程求偏分,得到所述第二雅克比矩阵。Based on the above embodiment, the Jacobian matrix determination module 404 is configured to: obtain the first Jacobian matrix by partial division based on the first system state equation; and obtain the second Jacobian matrix by partial division based on the observation variable equation.
在上述实施例的基础上,所述误差协方差矩阵估计值,包括:
Based on the above embodiment, the error covariance matrix estimation value includes:
其中,Fk为第一雅克比矩阵,Pk-1为前一时刻的误差协方差矩阵估计值,为前一时刻的估计过程噪声。Among them, Fk is the first Jacobian matrix, Pk -1 is the error covariance matrix estimate at the previous moment, is the estimation process noise at the previous moment.
在上述实施例的基础上,所述卡尔曼滤波增益矩阵,可以包括:
Based on the above embodiment, the Kalman filter gain matrix may include:
其中,误差协方差矩阵估计值,为前一时刻的观测噪声,H为第二雅克比矩阵,Kk为卡尔曼滤波增益矩阵。in, The error covariance matrix estimate, is the observation noise of the previous moment, H is the second Jacobian matrix, and K k is the Kalman filter gain matrix.
在上述实施例的基础上,当前估算误差确定模块408,设置为:基于所述第二雅克比矩阵和所述当前估计值,确定观测变量估计值;基于所述观测量估计值,确定所述当前时刻的当前估算误差。Based on the above embodiment, the current estimation error determination module 408 is configured to: determine the estimated value of the observed variable based on the second Jacobian matrix and the current estimated value; and determine the current estimation error at the current moment based on the estimated value of the observed variable.
在上述实施例的基础上,状态变量估计值可以为:
Based on the above embodiment, the estimated value of the state variable may be:
误差协方差矩阵可以为:
The error covariance matrix can be:
其中,表示状态变量估计值,Pk表示误差协方差矩阵,ek表示当前估算误差。in, represents the estimated value of the state variable, P k represents the error covariance matrix, and e k represents the current estimation error.
在上述实施例的基础上,所述应用于车辆的智能泊车车辆定位的装置,还包括:On the basis of the above embodiment, the device for positioning a vehicle for intelligent parking of a vehicle further includes:
噪声确定模块,设置为基于预先设置的自适应因子对所述误差协方差矩阵估计值和所述当前估算误差,确定当前时刻的过程噪声和观测噪声,以基于更新的过程噪声和观测噪声确定下一时刻的误差协方差矩阵估计值以及卡尔曼滤波增益矩阵。The noise determination module is configured to determine the process noise and observation noise at the current moment based on the error covariance matrix estimate and the current estimation error based on a preset adaptive factor, so as to determine the error covariance matrix estimate and the Kalman filter gain matrix at the next moment based on the updated process noise and observation noise.
本申请实施例所提供的应用于车辆的智能泊车车辆定位的装置可执行本申请任意实施例所提供的应用于车辆的智能泊车车辆定位的方法,具备执行方法相应的功能模块和效果。The device for intelligent parking vehicle positioning applied to a vehicle provided in the embodiments of the present application can execute the method for intelligent parking vehicle positioning applied to a vehicle provided in any embodiment of the present application, and has the functional modules and effects corresponding to the execution method.
实施例四 Embodiment 4
图5示出了可以用来实施本申请的实施例的电子设备10的结构示意图。电子设备10旨在表示多种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备10还可以表示多种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备(如头盔、眼镜、手表等)和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。Fig. 5 shows a block diagram of an electronic device 10 that can be used to implement an embodiment of the present application. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 10 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and/or required herein.
如图5所示,电子设备10包括至少一个处理器11,以及与至少一个处理器11通信连接的存储器,如只读存储器(Read-Only Memory,ROM)12、随机访问存储器(Random Access Memory,RAM)13等,其中,存储器存储有可被至少一个处理器执行的计算机程序,处理器11可以根据存储在ROM 12中的计算机程序或者从存储单元18加载到RAM 13中的计算机程序,来执行多种适当的动作和处理。在RAM13中,还可存储电子设备10操作所需的多种程序和数据。处理器11、ROM12以及RAM13通过总线14彼此相连。输入/输出(Input/Output,I/O)接口15也连接至总线14。As shown in FIG5 , the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform a variety of appropriate actions and processes according to the computer program stored in the ROM 12 or the computer program loaded from the storage unit 18 to the RAM 13. In the RAM 13, a variety of programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
电子设备10中的多个部件连接至I/O接口15,包括:输入单元16,例如键盘、鼠标等;输出单元17,例如多种类型的显示器、扬声器等;存储单元18,例如磁盘、光盘等;以及通信单元19,例如网卡、调制解调器、无线通信收发机等。通信单元19允许电子设备10通过诸如因特网的计算机网络和/或多种电信网络与其他设备交换信息/数据。A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
处理器11可以是多种具有处理和计算能力的通用和/或专用处理组件。处理器11的一些示例包括中央处理单元(Central Processing Unit,CPU)、图形处理单元(Graphics Processing Unit,GPU)、多种专用的人工智能(Artificial Intelligence,AI)计算芯片、多种运行机器学习模型算法的处理器、数字信号处理器(Digital Signal Processor,DSP)、以及任何适当的处理器、控制器、微控制器等。处理器11执行上文所描述的多个方法和处理,例如应用于车辆的智能泊车车辆定位的方法。The processor 11 may be a variety of general and/or special processing components with processing and computing capabilities. Some examples of the processor 11 include a central processing unit (CPU), a graphics processing unit (GPU), a variety of dedicated artificial intelligence (AI) computing chips, a variety of processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the multiple methods and processes described above, such as a method for intelligent parking vehicle positioning applied to a vehicle.
在一些实施例中,应用于车辆的智能泊车车辆定位的方法可被实现为计算机程序,其被有形地包含于计算机可读存储介质,例如存储单元18。在一些实施例中,计算机程序的部分或者全部可以经由ROM 12和/或通信单元19而被载入和/或安装到电子设备10上。当计算机程序加载到RAM 13并由处理器11执行时,可以执行上文描述的应用于车辆的智能泊车车辆定位的方法的一个或多个步骤。备选地,在其他实施例中,处理器11可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行应用于车辆的智能泊车车辆定位的方法。 In some embodiments, the method for intelligent parking vehicle positioning applied to a vehicle may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed on the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for intelligent parking vehicle positioning applied to a vehicle described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for intelligent parking vehicle positioning applied to a vehicle in any other appropriate manner (e.g., by means of firmware).
本文中以上描述的系统和技术的多种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(ASSP)、芯片上的系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些多种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that are executable and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
用于实施本申请的方法的计算机程序可以采用一个或多个编程语言的任何组合来编写。这些计算机程序可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器,使得计算机程序当由处理器执行时使流程图和/或框图中所规定的功能/操作被实施。计算机程序可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor, the functions/operations specified in the flow charts and/or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
在本申请的上下文中,计算机可读存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的计算机程序。计算机可读存储介质可以包括电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。备选地,计算机可读存储介质可以是机器可读信号介质。机器可读存储介质的示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or apparatus. A computer readable storage medium may include an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. Examples of machine readable storage media may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a RAM, a ROM, an Erasable Programmable Read-Only Memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在电子设备上实施此处描述的系统和技术,该电子设备具有:设置为向用户显示信息的显示装置(例如,阴极射线管(Cathode Ray Tube,CRT)或者液晶显示器(Liquid Crystal Display,LCD)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给电子设备。其它种类的装置还可以设置为提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。 To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a cathode ray tube (CRT) or a liquid crystal display (LCD) monitor) configured to display information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device. Other types of devices can also be configured to provide interaction with a user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(Local Area Network,LAN)、广域网(Wide Area Network,WAN)、区块链网络和互联网。The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN), blockchain network, and the Internet.
计算系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与虚拟专用服务器(Virtual Private Server,VPS)服务中,存在的管理难度大,业务扩展性弱的缺陷。A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services.
可以使用上面所示的多种形式的流程,重新排序、增加或删除步骤。例如,本申请中记载的多步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请的技术方案所期望的结果,本文在此不进行限制。 The various forms of processes shown above can be used to reorder, add or delete steps. For example, the multiple steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.

Claims (13)

  1. 一种应用于车辆的智能泊车车辆定位的方法,包括:A method for positioning a vehicle for intelligent parking, comprising:
    采集当前时刻与目标车辆相对应的后轮轮速、航向角以及前轮转向角;Collect the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment;
    基于所述后轮轮速、所述航向角以及所述前轮转向角,确定与所述当前时刻所对应的第一车辆状态变量和第一系统状态方程;Determining a first vehicle state variable and a first system state equation corresponding to the current moment based on the rear wheel speed, the heading angle, and the front wheel steering angle;
    根据目标特征位置点以及所述当前时刻的后轮中心点,确定与所述当前时刻相对应的观测变量方程;Determine the observed variable equation corresponding to the current moment according to the target feature position point and the rear wheel center point at the current moment;
    根据所述第一系统状态方程,确定第一雅克比矩阵;以及,根据所述观测变量方程,确定第二雅克比矩阵;Determine a first Jacobian matrix according to the first system state equation; and determine a second Jacobian matrix according to the observation variable equation;
    根据所述后轮轮速、所述航向角、所述第一雅克比矩阵以及前一时刻的历史估计值,确定所述当前时刻的当前估计值;其中,所述前一时刻为当前时刻之前,且与当前时刻时长间隔为预设时长的时刻;Determine the current estimated value at the current moment according to the rear wheel speed, the heading angle, the first Jacobian matrix and the historical estimated value at the previous moment; wherein the previous moment is a moment before the current moment and the time interval with the current moment is a preset time length;
    根据所述前一时刻的估计过程噪声以及所述第一雅克比矩阵,确定误差协方差矩阵估计值;其中,所述估计过程噪声是基于预先设定的自适应因子以及所述前一时刻的历史估算误差确定的;Determine an error covariance matrix estimate based on the estimation process noise at the previous moment and the first Jacobian matrix; wherein the estimation process noise is determined based on a preset adaptive factor and the historical estimation error at the previous moment;
    根据所述误差协方差矩阵估计值、所述第二雅克比矩阵以及所述前一时刻的观测噪声,确定卡尔曼滤波增益矩阵;Determine a Kalman filter gain matrix according to the error covariance matrix estimate, the second Jacobian matrix, and the observation noise at the previous moment;
    根据所述第二雅克比矩阵以及所述历史估算误差,确定所述当前时刻的当前估算误差;Determine the current estimation error at the current moment according to the second Jacobian matrix and the historical estimation error;
    根据所述当前估算误差、所述卡尔曼滤波增益矩阵、所述第二雅克比矩阵、所述当前估计值以及所述误差协方差矩阵估计值,确定所述当前时刻的状态变量估计值和误差协方差矩阵;Determine the state variable estimate and the error covariance matrix at the current moment according to the current estimation error, the Kalman filter gain matrix, the second Jacobian matrix, the current estimate and the error covariance matrix estimate;
    基于所述状态变量估计值和所述误差协方差矩阵,调整与当前时刻所对应的控制参数,以基于所述控制参数确定所述目标车辆在当前时刻的泊车位置。Based on the state variable estimation value and the error covariance matrix, the control parameters corresponding to the current moment are adjusted to determine the parking position of the target vehicle at the current moment based on the control parameters.
  2. 根据权利要求1所述的方法,其中,所述采集当前时刻与目标车辆相对应的后轮轮速、航向角以及前轮转向角,包括:The method according to claim 1, wherein said collecting the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment comprises:
    确定所述目标车辆在全局坐标系下的航向角;Determining the heading angle of the target vehicle in a global coordinate system;
    基于速度传感器采集所述目标车辆的后轮轮速;Collecting the rear wheel speed of the target vehicle based on a speed sensor;
    确定所述目标车辆在车辆坐标系下的前轮转向角;Determining a front wheel steering angle of the target vehicle in a vehicle coordinate system;
    其中,所述车辆坐标系是在所述全局坐标系下建立的。Wherein, the vehicle coordinate system is established under the global coordinate system.
  3. 根据权利要求1所述的方法,其中,所述基于所述后轮轮速、所述航向角以及所述前轮转向角,确定与所述当前时刻所对应的第一车辆状态变量和第 一系统状态方程,包括:The method according to claim 1, wherein the first vehicle state variable and the second vehicle state variable corresponding to the current moment are determined based on the rear wheel speed, the heading angle, and the front wheel steering angle. A system state equation, including:
    基于所述后轮轮速以及所述航向角,确定所述后轮中心点的位置信息;Determining the position information of the center point of the rear wheel based on the rear wheel speed and the heading angle;
    根据所述位置信息、所述目标特征位置点在全局坐标系下的特征点坐标以及所述航向角,确定所述当前时刻的第一车辆状态变量;Determine the first vehicle state variable at the current moment according to the position information, the feature point coordinates of the target feature position point in the global coordinate system, and the heading angle;
    基于所述后轮轮速以及所述前轮转向角,确定航向角变化率;Determining a heading angle change rate based on the rear wheel speed and the front wheel steering angle;
    基于所述航向角变化率以及所述位置信息,确定所述第一系统状态方程。The first system state equation is determined based on the heading angle change rate and the position information.
  4. 根据权利要求1所述的方法,其中,所述观测变量方程为:
    The method according to claim 1, wherein the observed variable equation is:
    其中,r为所述后轮中心点与所述目标特征位置点的交点距离;φk为所述后轮中心点与所述目标特征位置点之间的连线与车辆坐标系在X`轴方向上的夹角,ωk为过程噪声、υk为观测噪声,k表示时刻。Among them, r is the distance between the intersection of the rear wheel center point and the target feature position point; φ k is the angle between the line between the rear wheel center point and the target feature position point and the vehicle coordinate system in the X'-axis direction, ω k is the process noise, υ k is the observation noise, and k represents the time.
  5. 根据权利要求1所述的方法,其中,所述根据所述第一系统状态方程,确定第一雅克比矩阵;以及,根据所述观测变量方程,确定第二雅克比矩阵,包括:The method according to claim 1, wherein determining a first Jacobian matrix according to the first system state equation; and determining a second Jacobian matrix according to the observation variable equation comprises:
    基于所述第一系统状态方程求偏分,得到所述第一雅克比矩阵;Calculate the partial division based on the first system state equation to obtain the first Jacobian matrix;
    基于所述观测变量方程求偏分,得到所述第二雅克比矩阵。The second Jacobian matrix is obtained by taking partial derivatives based on the observed variable equation.
  6. 根据权利要求1所述的方法,其中,所述根据所述前一时刻的估计过程噪声以及所述第一雅克比矩阵,确定误差协方差矩阵估计值,包括:
    The method according to claim 1, wherein determining the error covariance matrix estimate according to the estimation process noise at the previous moment and the first Jacobian matrix comprises:
    其中,Fk为所述第一雅克比矩阵,Pk-1为所述前一时刻的误差协方差矩阵估计值,为所述前一时刻的估计过程噪声。Wherein, Fk is the first Jacobian matrix, Pk -1 is the error covariance matrix estimate at the previous moment, is the estimated process noise at the previous moment.
  7. 根据权利要求1所述的方法,其中,所述根据所述误差协方差矩阵估计值、所述第二雅克比矩阵以及所述前一时刻的观测噪声,确定卡尔曼滤波增益矩阵,包括:
    The method according to claim 1, wherein the determining the Kalman filter gain matrix according to the error covariance matrix estimate, the second Jacobian matrix, and the observation noise at the previous moment comprises:
    其中,为所述误差协方差矩阵估计值,为所述前一时刻的观测噪声,H为所述第二雅克比矩阵,Kk为所述卡尔曼滤波增益矩阵。in, is the error covariance matrix estimate, is the observation noise at the previous moment, H is the second Jacobian matrix, and K k is the Kalman filter gain matrix.
  8. 根据权利要求1所述的方法,其中,所述根据所述第二雅克比矩阵以及 所述历史估算误差,确定所述当前时刻的当前估算误差,包括:The method according to claim 1, wherein the second Jacobian matrix and The historical estimation error determines the current estimation error at the current moment, including:
    基于所述第二雅克比矩阵和所述当前估计值,确定观测变量估计值;Determining an observed variable estimate based on the second Jacobian matrix and the current estimate;
    基于所述观测量估计值,确定所述当前时刻的当前估算误差。Based on the observed quantity estimate, a current estimation error at the current moment is determined.
  9. 根据权利要求1所述的方法,其中,所述根据所述当前估算误差、所述卡尔曼滤波增益矩阵、所述第二雅克比矩阵、所述当前估计值以及误差协方差矩阵估计值,确定所述当前时刻的状态变量估计值和误差协方差矩阵,包括:

    The method according to claim 1, wherein the determining the state variable estimate and the error covariance matrix at the current moment according to the current estimated error, the Kalman filter gain matrix, the second Jacobian matrix, the current estimate, and the error covariance matrix estimate comprises:

    其中,表示所述状态变量估计值,Pk表示所述误差协方差矩阵,ek表示所述当前估算误差。in, represents the estimated value of the state variable, P k represents the error covariance matrix, and e k represents the current estimation error.
  10. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    基于预先设置的自适应因子对所述误差协方差矩阵估计值和所述当前估算误差处理,确所述定当前时刻的过程噪声和观测噪声,以基于更新的过程噪声和观测噪声确定下一时刻的误差协方差矩阵估计值以及卡尔曼滤波增益矩阵。The error covariance matrix estimate and the current estimated error are processed based on a preset adaptive factor to determine the process noise and observation noise at the current moment, so as to determine the error covariance matrix estimate and the Kalman filter gain matrix at the next moment based on the updated process noise and observation noise.
  11. 一种应用于车辆的智能泊车车辆定位的装置,包括:A device for intelligent parking vehicle positioning applied to a vehicle, comprising:
    目标车辆信息采集模块,设置为采集当前时刻与目标车辆相对应的后轮轮速、航向角以及前轮转向角;A target vehicle information collection module, configured to collect the rear wheel speed, heading angle and front wheel steering angle corresponding to the target vehicle at the current moment;
    车辆状态信息确定模块,设置为基于所述后轮轮速、所述航向角以及所述前轮转向角,确定与所述当前时刻所对应的第一车辆状态变量和第一系统状态方程;a vehicle state information determination module, configured to determine a first vehicle state variable and a first system state equation corresponding to the current moment based on the rear wheel speed, the heading angle, and the front wheel steering angle;
    观测变量方程确定模块,设置为根据目标特征位置点以及所述当前时刻的后轮中心点,确定与所述当前时刻相对应的观测变量方程;an observation variable equation determination module, configured to determine the observation variable equation corresponding to the current moment according to the target feature position point and the rear wheel center point at the current moment;
    雅克比矩阵确定模块,设置为根据所述第一系统状态方程,确定第一雅克比矩阵;以及,根据所述观测变量方程,确定第二雅克比矩阵;A Jacobian matrix determination module, configured to determine a first Jacobian matrix according to the first system state equation; and determine a second Jacobian matrix according to the observation variable equation;
    当前估计值确定模块,设置为根据所述后轮轮速、所述航向角、所述第一雅克比矩阵以及前一时刻的历史估计值,确定所述当前时刻的当前估计值;其中,所述前一时刻为当前时刻之前,且与当前时刻时长间隔为预设时长的时刻;a current estimated value determination module, configured to determine the current estimated value at the current moment according to the rear wheel speed, the heading angle, the first Jacobian matrix and the historical estimated value at the previous moment; wherein the previous moment is a moment before the current moment and the time interval with the current moment is a preset time length;
    误差协方差矩阵估计值确定模块,设置为根据所述前一时刻的估计过程噪声以及所述第一雅克比矩阵,确定误差协方差矩阵估计值;其中,所述估计过程噪声是基于预先设定的自适应因子以及所述前一时刻的历史估算误差确定的;An error covariance matrix estimation value determination module is configured to determine an error covariance matrix estimation value according to the estimation process noise at the previous moment and the first Jacobian matrix; wherein the estimation process noise is determined based on a preset adaptive factor and the historical estimation error at the previous moment;
    卡尔曼滤波增益矩阵确定模块,设置为根据所述误差协方差矩阵估计值、 所述第二雅克比矩阵以及所述前一时刻的观测噪声,确定卡尔曼滤波增益矩阵;A Kalman filter gain matrix determination module is configured to estimate the error covariance matrix according to the error covariance matrix, The second Jacobian matrix and the observation noise at the previous moment determine the Kalman filter gain matrix;
    当前估算误差确定模块,设置为根据所述第二雅克比矩阵以及所述历史估算误差,确定所述当前时刻的当前估算误差;a current estimation error determination module, configured to determine the current estimation error at the current moment according to the second Jacobian matrix and the historical estimation error;
    误差协方差矩阵确定模块,设置为根据所述当前估算误差、所述卡尔曼滤波增益矩阵、所述第二雅克比矩阵、所述当前估计值以及所述误差协方差矩阵估计值,确定所述当前时刻的状态变量估计值和误差协方差矩阵;an error covariance matrix determination module, configured to determine the state variable estimate and the error covariance matrix at the current moment according to the current estimated error, the Kalman filter gain matrix, the second Jacobian matrix, the current estimate and the error covariance matrix estimate;
    泊车位置确定模块,设置为基于所述状态变量估计值和所述误差协方差矩阵,调整与当前时刻所对应的控制参数,以基于所述控制参数确定所述目标车辆在当前时刻的泊车位置。The parking position determination module is configured to adjust the control parameters corresponding to the current moment based on the state variable estimation value and the error covariance matrix, so as to determine the parking position of the target vehicle at the current moment based on the control parameters.
  12. 一种电子设备,包括:An electronic device, comprising:
    至少一个处理器;以及at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1-10中任一项所述的应用于车辆的智能泊车车辆定位的方法。The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the method for intelligent parking vehicle positioning applied to a vehicle as described in any one of claims 1-10.
  13. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现如权利要求1-10中任一项所述的应用于车辆的智能泊车车辆定位的方法。 A computer-readable storage medium stores computer instructions, wherein the computer instructions are used to enable a processor to implement the method for intelligent parking vehicle positioning applied to a vehicle as described in any one of claims 1-10 when executed.
PCT/CN2023/116862 2022-09-30 2023-09-05 Intelligent-parking vehicle positioning method applied to vehicle WO2024066943A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211231764.2A CN115900695A (en) 2022-09-30 2022-09-30 Intelligent parking vehicle positioning method applied to vehicle
CN202211231764.2 2022-09-30

Publications (1)

Publication Number Publication Date
WO2024066943A1 true WO2024066943A1 (en) 2024-04-04

Family

ID=86486169

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/116862 WO2024066943A1 (en) 2022-09-30 2023-09-05 Intelligent-parking vehicle positioning method applied to vehicle

Country Status (2)

Country Link
CN (1) CN115900695A (en)
WO (1) WO2024066943A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118327653A (en) * 2024-06-17 2024-07-12 山东济矿鲁能煤电股份有限公司阳城煤矿 Intelligent coal mining machine control method and system
CN118368876A (en) * 2024-06-19 2024-07-19 浙江省邮电工程建设有限公司 Cabinet heat dissipation processing method and system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115900695A (en) * 2022-09-30 2023-04-04 中国第一汽车股份有限公司 Intelligent parking vehicle positioning method applied to vehicle
CN116758498B (en) * 2023-05-08 2024-02-23 禾多科技(北京)有限公司 Obstacle information generation method, obstacle information generation device, electronic device, and computer-readable medium
CN118262336A (en) * 2024-05-30 2024-06-28 南昌智能新能源汽车研究院 Indoor parking lot positioning method and system based on visual SLAM

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007263637A (en) * 2006-03-28 2007-10-11 Mitsubishi Electric Corp Apparatus and method for positioning, and program
CN109405837A (en) * 2018-11-14 2019-03-01 蔚来汽车有限公司 Object positioning method, application and vehicle
CN110077392A (en) * 2019-03-28 2019-08-02 惠州市德赛西威汽车电子股份有限公司 A kind of reckoning method of automatic parking positioning system
CN114413934A (en) * 2022-01-20 2022-04-29 北京经纬恒润科技股份有限公司 Vehicle positioning system correction method and device
CN115900695A (en) * 2022-09-30 2023-04-04 中国第一汽车股份有限公司 Intelligent parking vehicle positioning method applied to vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007263637A (en) * 2006-03-28 2007-10-11 Mitsubishi Electric Corp Apparatus and method for positioning, and program
CN109405837A (en) * 2018-11-14 2019-03-01 蔚来汽车有限公司 Object positioning method, application and vehicle
CN110077392A (en) * 2019-03-28 2019-08-02 惠州市德赛西威汽车电子股份有限公司 A kind of reckoning method of automatic parking positioning system
CN114413934A (en) * 2022-01-20 2022-04-29 北京经纬恒润科技股份有限公司 Vehicle positioning system correction method and device
CN115900695A (en) * 2022-09-30 2023-04-04 中国第一汽车股份有限公司 Intelligent parking vehicle positioning method applied to vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118327653A (en) * 2024-06-17 2024-07-12 山东济矿鲁能煤电股份有限公司阳城煤矿 Intelligent coal mining machine control method and system
CN118368876A (en) * 2024-06-19 2024-07-19 浙江省邮电工程建设有限公司 Cabinet heat dissipation processing method and system

Also Published As

Publication number Publication date
CN115900695A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
WO2024066943A1 (en) Intelligent-parking vehicle positioning method applied to vehicle
US20190195631A1 (en) Positioning method, positioning device, and robot
US20220019817A1 (en) Vehicle locating method, electronic device and storage medium
WO2022198994A1 (en) Robot arm motion planning method and apparatus, and readable storage medium and robot arm
WO2022247116A1 (en) Centroid trajectory generation method and apparatus, computer readable storage medium, and robot
WO2024051661A1 (en) Pavement unevenness classification and identification method and apparatus, vehicle, and storage medium
EP3932781A1 (en) Reverse trajectory tracking method and apparatus, electronic device and storage medium
WO2023221963A1 (en) Following error determination method and apparatus, device, and storage medium
CN114987497A (en) Backward lane line fitting method and device, electronic equipment and storage medium
CN114137525A (en) Multi-target detection method and system based on vehicle-mounted millimeter wave radar
WO2023241556A1 (en) Parking control method and apparatus, and device and storage medium
CN117261880A (en) Vehicle control method, device, equipment and storage medium
CN113345093A (en) Filtering method for laser radar point cloud trailing points
CN116543032A (en) Impact object ranging method, device, ranging equipment and storage medium
CN113284197B (en) TOF camera external reference calibration method and device for AGV, and electronic equipment
WO2024065951A1 (en) Narrow road vehicle encounter method and apparatus, device, and storage medium
CN115727871A (en) Track quality detection method and device, electronic equipment and storage medium
WO2023226147A1 (en) Curb detection method and apparatus for automatic parking, vehicle, and storage medium
JP7351012B2 (en) Vehicle weight estimation method, device, electronic device, storage medium and computer program
CN116203601A (en) Position compensation method, device, electronic equipment and storage medium
CN116476851B (en) Vehicle data processing method and device, electronic equipment and storage medium
CN116620302A (en) Automatic parking position correcting method and device, electronic equipment and storage medium
CN116520255A (en) Filtering method
CN117289686B (en) Parameter calibration method and device, electronic equipment and storage medium
CN117022280A (en) Vehicle lane change track planning method, device, equipment and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23870183

Country of ref document: EP

Kind code of ref document: A1