Test method, device, electronic equipment and computer program product of vehicle
By simulating the driving and rotational conditions of vehicles in an indoor environment, the problems of high vehicle testing costs and inaccurate results are solved, achieving more efficient and accurate testing results.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING BAIDU NETCOM SCI & TECH CO LTD
- Filing Date
- 2022-04-19
- Publication Date
- 2026-05-01
AI Technical Summary
Existing technologies for vehicle testing are costly and produce inaccurate results, especially when testing vehicle rotation conditions. Actual road verification consumes a lot of resources, and the results of software virtual simulation differ significantly from the actual results.
By controlling the vehicle under test to move along a preset trajectory, driving information is obtained to simulate the preset vehicle state, and rotation conditions are detected in the virtual scene. Combined with the driving state control of the virtual vehicle, indoor simulation of vehicle testing is realized.
It reduces the costs of vehicle testing facilities, manpower, and equipment, while improving the accuracy of test results, making them closer to actual results than virtual simulation.
Smart Images

Figure CN114739693B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of vehicle testing technology, and in particular to vehicle testing methods, apparatus, electronic equipment and computer program products. Background Technology
[0002] In the current booming field of intelligent driving technology, the required functions are increasing daily, and the technology iteration cycle is becoming shorter. When using actual vehicle road verification methods for vehicle testing, the scale of vehicles, venues, and manpower required is large. Furthermore, due to the extreme difficulty in determining boundary conditions, testing the vehicle's rotational conditions results in long testing cycles and high costs. Using pure software virtual simulation for vehicle testing can reduce costs to some extent, but because software testing is too theoretical, the results of pure software virtual simulation tests have significant errors compared to the results of actual road verification.
[0003] Therefore, obtaining more accurate vehicle testing results at a lower cost is a pressing issue that needs to be addressed. Currently, no effective solution has been proposed to address this problem. Summary of the Invention
[0004] This disclosure provides a vehicle testing method, apparatus, electronic device, and computer program product to at least solve the technical problem of inaccurate vehicle test results in the prior art.
[0005] According to one embodiment of this disclosure, a vehicle testing method is provided, comprising: controlling a vehicle under test to move along a first trajectory, wherein the vehicle under test is used to acquire driving information of a preset vehicle, and the driving information is used to simulate the driving state of the preset vehicle; in response to the vehicle under test moving to a first target position on the first trajectory, detecting the rotation condition of the vehicle under test, wherein the rotation condition is the condition of a first target component of the vehicle under test when the vehicle under test is in a simulated driving state; and controlling the driving state of a virtual vehicle in a virtual scene based on the rotation condition.
[0006] According to one embodiment of this disclosure, a vehicle testing device is also provided, comprising: a first control module, configured to control a vehicle under test to move along a first trajectory, wherein the vehicle under test is configured to acquire driving information of a preset vehicle, the driving information being used to simulate the driving state of the preset vehicle; a detection module, configured to detect the rotation condition of the vehicle under test in response to the vehicle under test moving to a first target position on the first trajectory, wherein the rotation condition is the condition of a first target component of the vehicle under test when the vehicle under test is in a simulated driving state; and a second control module, configured to control the driving state of a virtual vehicle in a virtual scene based on the rotation condition.
[0007] According to one embodiment of the present disclosure, an electronic device is also provided, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the vehicle testing method proposed in the present disclosure.
[0008] According to one embodiment of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to cause a computer to execute the vehicle testing method proposed in the present disclosure.
[0009] According to one embodiment of this disclosure, a computer program product is also provided, including a computer program that is executed by a processor using the vehicle testing method proposed in this disclosure.
[0010] In the embodiments of this disclosure, the vehicle under test is controlled to move along a first trajectory to a first target position, and the rotation condition of the vehicle under test is detected. Based on the rotation condition, the driving state of a virtual vehicle in a virtual scene is controlled. The vehicle under test is used to acquire driving information of a preset vehicle, and this driving information is used to simulate the driving state of the preset vehicle. The rotation condition refers to the condition of the first target component of the vehicle under test when it is in the simulated driving state. In this embodiment, the vehicle under test at the first target position simulates the driving state of a preset vehicle, and the rotation condition of the vehicle under test in the simulated driving state is detected. The vehicle under test can be tested in an indoor environment. Compared with the actual road vehicle testing in the prior art, the method in this embodiment effectively reduces the costs of venue, manpower, and equipment. Furthermore, the rotation condition detected when the vehicle under test is in a driving state is more accurate than the results of virtual software simulation testing. In other words, the method in this embodiment solves the technical problems of high vehicle testing costs and inaccurate test results in the prior art by controlling the vehicle under test to simulate the driving state of a preset vehicle and detecting the rotation condition of the vehicle under test in the simulated driving state, achieving more efficient vehicle testing and more accurate vehicle testing results.
[0011] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0012] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0013] Figure 1 This is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a vehicle testing method according to an embodiment of the present disclosure.
[0014] Figure 2 This is a flowchart of a vehicle testing method according to an embodiment of the present disclosure;
[0015] Figure 3 This is a structural block diagram of a vehicle testing apparatus according to an embodiment of the present disclosure. Detailed Implementation
[0016] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0017] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0018] According to an embodiment of this disclosure, a method for testing a vehicle is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0019] The method embodiments provided in this disclosure can be performed in a mobile terminal, computer terminal, or similar electronic device. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, 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 disclosure described and / or claimed herein. Figure 1This is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a vehicle testing method according to an embodiment of the present disclosure.
[0020] like Figure 1 As shown, the computer terminal 100 includes a computing unit 101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 102 or a computer program loaded from a storage unit 108 into a random access memory (RAM) 103. The RAM 103 may also store various programs and data required for the operation of the computer terminal 100. The computing unit 101, ROM 102, and RAM 103 are interconnected via a bus 104. An input / output (I / O) interface 105 is also connected to the bus 104.
[0021] Multiple components in the computer terminal 100 are connected to the I / O interface 105, including: an input unit 106, such as a keyboard and mouse; an output unit 107, such as various types of displays and speakers; a storage unit 108, such as a hard disk and optical disk; and a communication unit 109, such as a network interface card (NIC), a modem, or a wireless transceiver. The communication unit 109 allows the computer terminal 100 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0022] The computing unit 101 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 101 executes the vehicle testing methods described herein. For example, in some embodiments, the vehicle testing methods may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 108. In some embodiments, part or all of the computer program may be loaded and / or installed on the computer terminal 100 via ROM 102 and / or communication unit 109. When the computer program is loaded into RAM 103 and executed by the computing unit 101, one or more steps of the method for locating a faulty hard disk described herein may be performed. Alternatively, in other embodiments, the computing unit 101 may be configured to execute the method for locating a faulty hard disk by any other suitable means (e.g., by means of firmware).
[0023] Various implementations of the systems and techniques described herein can 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-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include: implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transferring data and instructions to the storage system, the at least one input device, and the at least one output device.
[0024] It should be noted here that, in some optional embodiments, the above... Figure 1 The electronic device shown may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that... Figure 1 This is only one instance of a specific particular example, and is intended to illustrate the types of components that may exist in the aforementioned electronic devices.
[0025] Under the aforementioned operating environment, this disclosure provides, for example... Figure 2 The test method for the vehicle shown can be performed by... Figure 1 The computer terminal or similar electronic device shown is used for execution. Figure 2 This is a flowchart of a vehicle testing method according to an embodiment of the present disclosure. Figure 2 As shown, the method may include the following steps:
[0026] Step S20: Control the vehicle under test to move along the first trajectory, wherein the vehicle under test is used to acquire the driving information of the preset vehicle, and the driving information is used to simulate the driving state of the preset vehicle.
[0027] Optionally, the driving information of the preset vehicle may include information such as the driving speed, acceleration, deceleration, turning distance, and torque of the preset vehicle in various driving states on the real road (such as uphill, downhill, turning, emergency stop, rapid acceleration, and rapid deceleration). The vehicle under test simulates the driving state of the preset vehicle based on the driving information, and it is possible to measure whether the performance of the wheels of the vehicle under test is normal in various driving states. This is convenient for subsequent improvement and analysis of the vehicle under test. For example, when the vehicle under test is set to uphill, the wheel speed at which the vehicle under test can successfully achieve uphill operation can be tested and then applied to the automatic speed control of subsequent intelligent driving vehicles.
[0028] Step S22: In response to the vehicle under test moving to the first target position on the first trajectory, the rotation condition of the vehicle under test is detected, wherein the rotation condition is the condition of the first target component of the vehicle under test when the vehicle under test is in a simulated driving state.
[0029] In step S22, the test vehicle is detected when it is in the first target position. That is to say, the rotation condition of the test vehicle can be detected while it is stationary. Compared with the actual road test method in the prior art, the test process in this embodiment is simpler and less costly.
[0030] Step S24: Based on the rotational conditions, control the driving state of the virtual vehicle in the virtual scene.
[0031] In other words, the obtained wheel speed and wheel steering angle can be used as reference data for subsequent virtual experience design. Taking a virtual driving experience game as an example, based on the wheel speed and wheel steering angle obtained from the test under various driving conditions, the driving state of the virtual vehicle in the virtual scene can be set. For example, when the virtual vehicle is triggered to go uphill, the speed of the virtual vehicle can be increased to the speed set for going uphill.
[0032] In the embodiments of this disclosure, the vehicle under test is controlled to move along a first trajectory to a first target position, and the rotation condition of the vehicle under test is detected. Based on the rotation condition, the driving state of a virtual vehicle in a virtual scene is controlled. The vehicle under test is used to acquire driving information of a preset vehicle, and this driving information is used to simulate the driving state of the preset vehicle. The rotation condition refers to the condition of the first target component of the vehicle under test when it is in the simulated driving state. In this embodiment, the vehicle under test at the first target position simulates the driving state of a preset vehicle, and the rotation condition of the vehicle under test in the simulated driving state is detected. The vehicle under test can be tested in an indoor environment. Compared with the actual road vehicle testing in the prior art, the method in this embodiment effectively reduces the costs of venue, manpower, and equipment. Furthermore, the rotation condition detected when the vehicle under test is in a driving state is more accurate than the results of virtual software simulation testing. In other words, the method in this embodiment solves the technical problems of high vehicle testing costs and inaccurate test results in the prior art by controlling the vehicle under test to simulate the driving state of a preset vehicle and detecting the rotation condition of the vehicle under test in the simulated driving state, achieving more efficient vehicle testing and more accurate vehicle testing results.
[0033] The method described in this embodiment will be further described below.
[0034] As an optional implementation, step S22, detecting the rotational condition of the vehicle under test, further includes the following method steps:
[0035] Step S221: Detect the position information of the first target component of the vehicle under test; in response to determining the second target position of the first target component through the position information of the first target component, obtain the rotation condition.
[0036] The location information of the first target component is detected and the location information of the first target component is used to determine the location of the second target component, so that the first target component is located in an accurate detection position, thereby improving the accuracy of the detection results.
[0037] In step S221, the first target component can be the vehicle's wheels and brake discs. The operating conditions of the first target component can be wheel speed, wheel steering angle, brake disc speed, brake disc steering angle, etc. Based on the rotational operating conditions, other vehicle information can also be obtained, such as wheel torque information, rapid acceleration information, rapid deceleration information, rotation distance information, and rotational torque information.
[0038] As an optional implementation, in step S221, the first target component includes the wheels of the vehicle under test, and detecting the rotational condition of the vehicle under test includes:
[0039] Step S2210: Detect the first position information of the wheel within the target area, wherein the target area is the area enclosed by the bearing inner ring of the target detection device; in response to determining that the wheel is located at a third target position through the first position information, inflate the inner tube of the wheel to obtain a rotational condition.
[0040] In step S2210, the target detection device is connected to the vehicle under test. When the vehicle under test is simulating the driving state of a preset vehicle, the target detection device can detect the rotation condition of the target component. Specifically, the rotation condition can include information such as the number of wheel rotations, rotation speed, and rotation duration.
[0041] Optionally, the first position information of the wheel in the target area can be used to characterize the coincidence of the geometric center of the wheel and the geometric center of the bearing inner ring. When the wheel is in the third target position, the geometric center of the wheel coincides with the geometric center of the bearing inner ring, so that the tension force of the inner tube in all directions is uniform when the inner tube is inflated. After inflation, the wheel can fit against the bearing inner ring, and the bearing inner ring can apply uniform pressure to the wheel in all directions, so as to achieve a tight connection between the wheel and the bearing inner ring.
[0042] In step S2210, after the inner tube of the wheel is inflated, the tire is securely connected to the inner ring of the bearing. When the test vehicle is running, the rotation of the wheel can drive the inner ring of the bearing to rotate relative to the outer ring of the bearing, thereby converting the rotational speed of the wheel into the rotational speed of the inner ring of the bearing. At this time, the rotational speed of the wheel can be obtained by detecting the rotational speed of the inner ring of the bearing. For example, the target detection device includes a detection element connected to the inner ring of the bearing. The number of rotations and rotation duration of the inner ring of the bearing are detected by the detection element (e.g., sensor, encoder, etc.). The number of rotations, rotational speed, rotation duration, and other information of the wheel can be obtained by analysis and calculation.
[0043] As an optional implementation, in step S221, the first target component includes the wheels of the vehicle under test, and detecting the rotational condition of the vehicle under test includes:
[0044] Step S2211: Detect the second position information of the wheel of the vehicle under test within the target area, wherein the target area is the area enclosed by the inner ring of the bearing of the target detection device;
[0045] In step S2211, the target detection device may further include a detection element connected to the inner ring of the bearing. When the vehicle under test is in a simulated driving state of a preset vehicle, the rotation of the wheel drives the inner ring of the bearing to rotate. The rotation condition of the wheel can be obtained by detecting the number of rotations and the rotation duration of the inner ring of the bearing through the detection element. Specifically, the rotation condition may include information such as the number of rotations, rotation speed, and rotation duration of the wheel.
[0046] Step S2212: In response to determining that the wheel is located at the fourth target position through the second position information, the second target component of the target detection device is controlled to start inflating, and the rotation condition is acquired when the second target component meets the target state, wherein the second target component is the tensioning member of the locking mechanism of the target detection device.
[0047] The second position information can be used to characterize the degree of coincidence between the geometric center of the wheel and the geometric center of the tensioner and the inner ring of the bearing. When the wheel is in the fourth target position, the geometric center of the wheel can coincide with the geometric center of the tensioner and the inner ring of the bearing, so that the tensioner can apply uniform pressure to the wheel in multiple directions after inflation. The wheel can be fastened to the inner ring of the bearing through the tensioner, and the rotation of the wheel can drive the tensioner and the inner ring of the bearing to rotate synchronously.
[0048] In step S2212, a tensioner is used for inflation and deflation. Different sizes of tensioners can be selected based on the tire size and model, allowing the target detection equipment to be applied to various vehicle models. Simultaneously, the tensioner reduces damage to the tire during the inflation and deflation process. Preferably, the tensioner is annular and located on the surface of the inner ring of the bearing. The target state of the second target component is tensioned. When the second target component is tensioned, the tensioner is completely in contact with the outer tire of the wheel, and the tensioner applies pressure to the wheel to ensure a stable connection between the wheel and the target detection equipment.
[0049] As an optional implementation, in step S221, the first target component includes the brake disc of the vehicle under test, and detecting the rotational condition of the vehicle under test includes:
[0050] Step S2213: Detect the third position information of the brake disc within the target area, wherein the target area is the area enclosed by the inner ring of the bearing of the target detection device;
[0051] Step S2214: In response to determining that the brake disc is located at the fifth target position through the third position information, the rotation condition is obtained.
[0052] In this embodiment, the wheels are disassembled and the brake discs are connected to the target detection equipment. This allows the wheels to be removed for separate testing when the clearance between the wheel arch and the tire of the vehicle under test is too small to be directly tested as a whole vehicle. This effectively improves the practicality of the vehicle testing method disclosed herein.
[0053] It should be noted that steps S2210 to S2214, as different embodiments in this application, are applicable to different testing environments. For example, when the target detection device is connected to the wheel of the vehicle under test, steps S2210 to S2212 can be applied to perform vehicle performance testing without disassembling the wheel. When the entire vehicle cannot be tested directly due to vehicle model issues, steps S2213 to S2214 can be applied to test the brake disc separately by disassembling the wheel and connecting the target detection device to the brake disc. The above embodiments make the vehicle testing method adaptable to various types of vehicles.
[0054] In the embodiments of this disclosure, in order to simultaneously detect wheel speed and wheel steering angle, the target detection device further includes a steering angle detection element, a fixed part, and a rotating part. The bearing of the target detection device is fastened to the rotating part, and the rotating part is rotatably connected to the fixed part. The steering angle detection element is disposed on the rotating part, and the fixed part is fixedly connected to a reference surface such as the ground or a detection platform. When the wheel turns, it drives the bearing to turn, so that the rotating part turns synchronously. At this time, the steering angle detection element can detect the rotation angle and rotation duration of the rotating part, thereby obtaining the wheel steering angle, steering speed, etc.
[0055] In the method disclosed in the above embodiments, the vehicle to be tested located at the first target position is connected to the target detection device, which can simultaneously detect the wheel speed and steering angle. Compared with the speed measuring platform and dynamometer in the prior art that only support wheel speed detection, more vehicle parameters can be measured in this embodiment. Compared with the method of using external special tooling for vehicle testing in the prior art, the testing method in this embodiment is simpler and uses less manpower and material resources.
[0056] As an optional implementation, the following steps are included before step S22:
[0057] Step S210: Obtain the wheelbase information of the vehicle to be tested;
[0058] Step S211: Based on the wheel track information, control the first and second guide rails of the target support equipment to move to the avoidance position so that the vehicle under test can move to the first target position.
[0059] Combining steps S210 and S211, the first guide rail and the second guide rail move to the avoidance position. When the vehicle under test moves along the first trajectory, at least part of the first trajectory is formed by the first guide rail and the second guide rail. That is, the vehicle under test moves along the first guide rail and the second guide rail to the first target position. The first guide rail and the second guide rail have different avoidance positions according to the wheel track of different vehicles under test, which makes the method of this disclosure applicable to more vehicle models with different wheel track.
[0060] As an optional implementation, the following steps are included before step S22:
[0061] Step S212: Obtain the wheelbase information of the vehicle to be tested;
[0062] Step S213: Based on the wheelbase information, control the movement of the third and fourth guide rails of the target support device;
[0063] In step S214, in response to the third and fourth guide rails moving to a position matching the wheelbase of the vehicle under test, the target detection device is controlled to move along the second trajectory to the first target position to detect the rotational condition of the vehicle under test.
[0064] It should be noted that there are multiple ways to connect the target detection device and the target support device in this embodiment, and there are multiple corresponding second trajectories. For example, when the target detection device is slidably connected to the first guide rail and the second guide rail, the second trajectory of the target detection device is a trajectory that slides along the wheelbase direction of the vehicle. When the target detection device is slidably connected to the third guide rail and the fourth guide rail, the second trajectory of the target detection device is a trajectory that slides along the wheel track direction of the vehicle.
[0065] By combining steps S212 to S214, the third and fourth guide rails are moved to different positions according to the wheelbase of different vehicles under test, which can adapt to the wheelbase of different vehicles under test.
[0066] As an optional implementation, the target support device also includes a lifting mechanism. In step S214, before controlling the target detection device to move along the second trajectory to the first target position, the method further includes: determining that the vehicle to be tested is located at the first target position, controlling the lifting mechanism to drive the vehicle to be tested to a preset height in the vertical direction, and then controlling the target detection device to move along the second trajectory to the first target position.
[0067] In this embodiment, the inner ring of the bearing of the target detection device is a certain distance away from the target support device. A lifting mechanism is set to raise the vehicle to be tested, so that the first target component can be more easily matched and connected with the inner ring of the bearing.
[0068] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a terminal device, such as a mobile phone, computer, server, or network device, to execute the methods of the various embodiments of this disclosure.
[0069] This disclosure also provides a vehicle testing apparatus for implementing the above embodiments and preferred embodiments, which will not be repeated hereafter. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0070] Figure 3 This is a structural block diagram of a vehicle testing apparatus according to an embodiment of the present disclosure, such as... Figure 3 As shown, the vehicle testing device includes a first control module 300, a detection module 302, and a second control module 304, wherein:
[0071] The first control module 300 is used to control the vehicle under test to move along the first trajectory. The vehicle under test is used to acquire the driving information of a preset vehicle, and the driving information is used to simulate the driving state of the preset vehicle.
[0072] The detection module 302 is used to detect the rotation condition of the vehicle under test in response to the vehicle under test moving to the first target position on the first trajectory. The rotation condition is the condition of the first target component of the vehicle under test when the vehicle under test is in a simulated driving state.
[0073] The second control module 304 is used to control the driving state of the virtual vehicle in the virtual scene based on the rotation condition.
[0074] In the embodiments of this disclosure, the vehicle under test is controlled to move along a first trajectory to a first target position, and the rotational condition of the vehicle under test is detected. Based on the rotational condition, the driving state of the virtual vehicle in a virtual scene is controlled. The vehicle under test is used to acquire driving information of a preset vehicle, and this driving information is used to simulate the driving state of the preset vehicle. The rotational condition refers to the condition of the first target component of the vehicle under test when it is in the simulated driving state. In this embodiment, the vehicle under test at the first target position simulates the driving state of a preset vehicle, and the rotational condition of the vehicle under test in the simulated driving state is detected. The vehicle under test can be tested in an indoor environment. Compared with the actual road vehicle testing in the prior art, the method in this embodiment effectively reduces the costs of venue, manpower, and equipment. Furthermore, the rotational condition detected by the vehicle under test while it is in motion is more accurate than the results of virtual software simulation testing. In other words, the device in this embodiment solves the technical problems of high vehicle testing costs and inaccurate test results in the prior art by controlling the vehicle under test to simulate the driving state of a preset vehicle and detecting the rotation condition of the vehicle under test in the simulated driving state, thereby achieving the technical effects of more efficient vehicle testing and more accurate vehicle test results.
[0075] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0076] According to embodiments of this disclosure, this disclosure also provides an electronic device including a memory and at least one processor, the memory storing computer instructions, the processor being configured to execute the computer instructions to perform the steps in any of the above method embodiments.
[0077] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0078] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0079] Step S1: Control the vehicle under test to move along the first trajectory, wherein the vehicle under test is used to acquire the driving information of the preset vehicle, and the driving information is used to simulate the driving state of the preset vehicle.
[0080] Step S2: In response to the vehicle under test moving to the first target position on the first trajectory, the rotation condition of the vehicle under test is detected, wherein the rotation condition is the condition of the first target component of the vehicle under test when the vehicle under test is in a simulated driving state.
[0081] Step S3: Based on the rotational conditions, control the driving state of the virtual vehicle in the virtual scene.
[0082] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0083] According to embodiments of the present disclosure, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are configured to perform the steps in any of the above method embodiments at runtime.
[0084] Optionally, in this embodiment, the non-volatile storage medium described above can be configured to store a computer program for performing the following steps:
[0085] Step S1: Control the vehicle under test to move along the first trajectory, wherein the vehicle under test is used to acquire the driving information of the preset vehicle, and the driving information is used to simulate the driving state of the preset vehicle.
[0086] Step S2: In response to the vehicle under test moving to the first target position on the first trajectory, the rotation condition of the vehicle under test is detected, wherein the rotation condition is the condition of the first target component of the vehicle under test when the vehicle under test is in a simulated driving state.
[0087] Step S3: Based on the rotational conditions, control the driving state of the virtual vehicle in the virtual scene.
[0088] Optionally, in this embodiment, the aforementioned non-transient computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0089] According to embodiments of this disclosure, a computer program product is also provided. Program code for implementing the vehicle testing method of this disclosure can be written in any combination of one or more programming languages. This program code can be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code can be executed entirely on a machine, partially on a machine, partially on a remote machine as a standalone software package, or entirely on a remote machine or server.
[0090] The sequence numbers of the embodiments disclosed above are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0091] In the above embodiments of this disclosure, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0092] In the several embodiments provided in this disclosure, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.
[0093] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0094] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0095] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0096] The above description is only a preferred embodiment of this disclosure. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principles of this disclosure, and these improvements and modifications should also be considered within the scope of protection of this disclosure.
Claims
1. A method for testing a vehicle, comprising: The vehicle under test is controlled to move along a first trajectory, wherein the vehicle under test is used to acquire driving information of a preset vehicle, and the driving information is used to simulate the driving state of the preset vehicle. In response to the vehicle under test moving to a first target position on the first trajectory, the rotation condition of the vehicle under test is detected, wherein the rotation condition is the condition of the first target component of the vehicle under test when the vehicle under test is simulating the driving state; Detecting the rotational condition of the vehicle under test includes: Detect the position information of the first target component of the vehicle under test; In response to determining the second target position of the first target component using the position information of the first target component, the rotation condition is obtained; The first target component includes: the wheels of the vehicle under test, and detecting the rotational condition of the vehicle under test includes: The first position information of the wheel within the target area is detected, wherein the target area is the area enclosed by the inner ring of the bearing of the target detection device; In response to determining that the wheel is located at a third target position through the first position information, the inner tube of the wheel is inflated to obtain the rotation condition; or; The first target component includes: the wheels of the vehicle under test, and detecting the rotational condition of the vehicle under test includes: The second position information of the wheels of the vehicle under test within a target area is detected, wherein the target area is the area enclosed by the inner ring of the bearing of the target detection device; In response to determining that the wheel is located at the fourth target position through the second position information, the second target component of the target detection device is controlled to start inflating, and the rotation condition is acquired when the second target component meets the target state, wherein the second target component is the tensioning member of the locking mechanism of the target detection device; or; The first target component includes: the brake disc of the vehicle under test, and detecting the rotational condition of the vehicle under test includes: The third position information of the brake disc within the target area is detected, wherein the target area is the area enclosed by the inner ring of the bearing of the target detection device; In response to determining that the brake disc is located at the fifth target position through the third position information, the rotation condition is obtained; Based on the aforementioned rotation conditions, the driving state of the virtual vehicle in the virtual scene is controlled.
2. The method according to claim 1, wherein, The method further includes: Obtain the wheelbase information of the vehicle under test; Based on the wheel track information, the first and second guide rails of the target support device are controlled to move to an avoidance position so that the vehicle under test can move to the first target position.
3. The method according to claim 1, wherein, The method further includes: Obtain the wheelbase information of the vehicle under test; Based on the wheelbase information, control the movement of the third and fourth guide rails of the target support device; In response to the third and fourth guide rails moving to a position matching the wheelbase of the vehicle under test, the target detection device is controlled to move along the second trajectory to the first target position to detect the rotational condition of the vehicle under test.
4. A vehicle testing apparatus, comprising: A first control module is used to control the vehicle under test to move along a first trajectory, wherein the vehicle under test is used to acquire driving information of a preset vehicle, and the driving information is used to simulate the driving state of the preset vehicle. The detection module is used to detect the rotation condition of the vehicle under test in response to the vehicle under test moving to a first target position on the first trajectory, wherein the rotation condition is the condition of the first target component of the vehicle under test when the vehicle under test is simulating the driving state. The detection module is used to detect the position information of the first target component of the vehicle under test; The detection module is used to obtain the rotation condition in response to determining the second target position of the first target component through the position information of the first target component; The first target component includes: the wheels of the vehicle under test, and detecting the rotational condition of the vehicle under test includes: The detection module is used to detect the first position information of the wheel in the target area, wherein the target area is the area enclosed by the inner ring of the bearing of the target detection device; The detection module is used to inflate the inner tube of the wheel to obtain the rotation condition in response to determining that the wheel is located at the third target position through the first position information. or; The first target component includes: the wheels of the vehicle under test, and detecting the rotational condition of the vehicle under test includes: The detection module is used to detect the second position information of the wheels of the vehicle under test within the target area, wherein the target area is the area enclosed by the inner ring of the bearing of the target detection device; The detection module is used to control the second target component of the target detection device to start inflating in response to determining that the wheel is located at the fourth target position through the second position information, and to acquire the rotation condition when the second target component meets the target state, wherein the second target component is the tensioning member of the locking mechanism of the target detection device; or; The first target component includes: the brake disc of the vehicle under test, and detecting the rotational condition of the vehicle under test includes: The detection module is used to detect the third position information of the brake disc within the target area, wherein the target area is the area enclosed by the inner ring of the bearing of the target detection device; The detection module is used to obtain the rotation condition in response to determining that the brake disc is located at the fifth target position through the third position information; The second control module is used to control the driving state of the virtual vehicle in the virtual scene based on the rotation conditions.
5. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3.
6. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-3.
7. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-3.
Citation Information
Patent Citations
Wheel working condition simulation device and equipment
CN114184396A