CN115495384A - Method and system for testing power system of electric automobile and electronic equipment - Google Patents

Method and system for testing power system of electric automobile and electronic equipment Download PDF

Info

Publication number
CN115495384A
CN115495384A CN202211311324.8A CN202211311324A CN115495384A CN 115495384 A CN115495384 A CN 115495384A CN 202211311324 A CN202211311324 A CN 202211311324A CN 115495384 A CN115495384 A CN 115495384A
Authority
CN
China
Prior art keywords
testing
hardware equipment
result
test
test result
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202211311324.8A
Other languages
Chinese (zh)
Inventor
李伟明
刘剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GAC Aion New Energy Automobile Co Ltd
Original Assignee
GAC Aion New Energy Automobile Co Ltd
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 GAC Aion New Energy Automobile Co Ltd filed Critical GAC Aion New Energy Automobile Co Ltd
Priority to CN202211311324.8A priority Critical patent/CN115495384A/en
Publication of CN115495384A publication Critical patent/CN115495384A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L3/00Electric devices on electrically-propelled vehicles for safety purposes; Monitoring operating variables, e.g. speed, deceleration or energy consumption
    • B60L3/12Recording operating variables ; Monitoring of operating variables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L2240/00Control parameters of input or output; Target parameters
    • B60L2240/70Interactions with external data bases, e.g. traffic centres

Abstract

The embodiment of the application provides a method and a system for testing an electric vehicle power system, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring an equipment state corresponding to hardware equipment corresponding to the electric automobile power system; modeling according to the hardware equipment to obtain a hardware equipment model; testing the hardware equipment model according to the equipment state to obtain a test result; and generating a test case according to the test result. By implementing the embodiment of the application, a plurality of devices of the power system can be tested, the comprehensiveness and integrity of the test are guaranteed, the time for testing the power system is shortened, and the cost of manpower and material resources is saved.

Description

Method and system for testing power system of electric automobile and electronic equipment
Technical Field
The application relates to the technical field of batteries, in particular to a method and a system for testing an electric vehicle power system, electronic equipment and a computer readable storage medium.
Background
At present, the common verification process of the new energy power domain system includes: part MIL, SIL, HIL, rack test, integrated test, whole car test. However, the development cycle of each component is not completely consistent or the development of one component is delayed, which leads to time strain for system matching and optimization.
However, the prior art cannot completely solve the above problems, and although the bench test can be effectively verified to verify the correctness, functional integrity and system reliability of the control strategy, the limitation is large, the omnibearing functional requirement verification cannot be performed on the battery management system and the power system, and the software iteration number is far from meeting the requirement.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and a system for testing a power system of an electric vehicle, an electronic device, and a computer-readable storage medium, which can test a plurality of devices of the power system, ensure the comprehensiveness and integrity of the test, shorten the time for testing the power system, and save the cost of manpower and material resources.
In a first aspect, an embodiment of the present application provides a method for testing a power system of an electric vehicle, where the method includes:
acquiring an equipment state corresponding to hardware equipment corresponding to the electric automobile power system;
modeling according to the hardware equipment to obtain a hardware equipment model;
testing the hardware equipment model according to the equipment state to obtain a test result;
and generating a test case according to the test result.
In the implementation process, the hardware equipment model is tested according to the equipment state after the hardware equipment model is established, a test result is obtained, a plurality of hardware equipment of the power system can be tested, the comprehensiveness and integrity of the test are ensured, the time for testing the power system is shortened, and the manpower and material resources cost is saved.
Further, the step of testing the hardware device model according to the device status to obtain a test result includes:
carrying out wire harness connection and configuration on the hardware equipment model according to the input and output signals of the hardware equipment model;
and testing the hardware equipment model after the connection and configuration of the wire harness are completed to obtain the test result.
In the implementation process, the hardware equipment model is subjected to wiring harness connection and configuration according to the input and output signals, the position where the hardware equipment model possibly has problems can be quickly known, the actual wiring harness connection of the hardware equipment is not needed, the test time is shortened, and the test efficiency is improved.
Further, the step of testing the hardware device model after completing the connection and configuration of the wire harness to obtain the test result includes:
respectively carrying out calibration, verification and fault simulation test on the hardware equipment model after the wiring harness connection and configuration are completed to obtain a calibration result, a verification result and a fault simulation test result;
and obtaining the test result according to the calibration result, the verification result and the fault simulation test result.
In the implementation process, the hardware equipment model after the wiring harness connection and configuration is calibrated, verified and subjected to fault simulation test, and the position of the hardware equipment with a fault can be accurately obtained, so that the test result contains more information, and the test efficiency is improved.
Further, the step of generating a test case according to the test result includes:
setting initial conditions;
obtaining a detection state according to the initial condition;
executing the operation corresponding to the detection state to obtain an expected result;
and matching the test result with the expected result to generate the test case.
In the implementation process, the test case is generated after the expected result and the test result are matched, so that the difference between the test result and the expected result can be definitely known, the obtained test case can correct the test result, and the accuracy of the test case is improved.
In a second aspect, an embodiment of the present application further provides a test system for an electric vehicle power system, where the system includes:
the acquisition module is used for acquiring the equipment state corresponding to the hardware equipment corresponding to the electric automobile power system;
the modeling module is used for modeling according to the hardware equipment to obtain a hardware equipment model;
the test module is used for testing the hardware equipment model according to the equipment state to obtain a test result;
and the generating module is used for generating a test case according to the test result.
In the implementation process, the hardware equipment model is tested according to the equipment state after the hardware equipment model is established, a test result is obtained, a plurality of hardware equipment of the power system can be tested, the comprehensiveness and integrity of the test are guaranteed, the time for testing the power system is shortened, and the cost of manpower and material resources is saved.
Further, the test module is further configured to:
carrying out wiring harness connection and configuration on the hardware equipment model according to the input and output signals of the hardware equipment model;
and testing the hardware equipment model after the connection and configuration of the wire harness are completed to obtain the test result.
In the implementation process, the hardware equipment model is subjected to wiring harness connection and configuration according to the input and output signals, so that the position where the hardware equipment model possibly has problems can be quickly known, the wiring harness connection of the hardware equipment is not needed, the test time is shortened, and the test efficiency is improved.
Further, the test module is further configured to:
respectively carrying out calibration, verification and fault simulation test on the hardware equipment model after the wiring harness connection and configuration are completed to obtain a calibration result, a verification result and a fault simulation test result;
and obtaining the test result according to the calibration result, the verification result and the fault simulation test result.
In the implementation process, the hardware equipment model after the wiring harness connection and configuration is calibrated, verified and subjected to fault simulation test, and the position of the hardware equipment with a fault can be accurately obtained, so that the test result contains more information, and the test efficiency is improved.
Further, the generation module is further configured to:
setting initial conditions;
obtaining a detection state according to the initial condition;
executing the operation corresponding to the detection state to obtain an expected result;
and matching the test result with the expected result to generate the test case.
In the implementation process, the test case is generated after the expected result and the test result are matched, so that the difference between the test result and the expected result can be definitely known, the obtained test case can correct the test result, and the accuracy of the test case is improved.
In a third aspect, an electronic device provided in an embodiment of the present application includes: memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any of the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having instructions stored thereon, which, when executed on a computer, cause the computer to perform the method according to any one of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product, which when run on a computer causes the computer to perform the method according to any one of the first aspect.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure.
The present invention can be implemented in accordance with the teachings of the specification, which is to be read in conjunction with the following detailed description of the presently preferred embodiments of the invention.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a schematic flow chart illustrating a method for testing a power system of an electric vehicle according to an embodiment of the present disclosure;
fig. 2 is a schematic structural component diagram of a test system of an electric vehicle power system according to an embodiment of the present application;
fig. 3 is a schematic structural component diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not construed as indicating or implying relative importance.
The following detailed description of embodiments of the present application will be described in conjunction with the accompanying drawings and examples. The following examples are intended to illustrate the present application but are not intended to limit the scope of the present application.
Example one
Fig. 1 is a schematic flowchart of a method for testing an electric vehicle powertrain provided in an embodiment of the present application, and as shown in fig. 1, the method includes:
s1, acquiring an equipment state corresponding to hardware equipment corresponding to an electric automobile power system;
s2, modeling is carried out according to hardware equipment to obtain a hardware equipment model;
s3, testing the hardware equipment model according to the equipment state to obtain a test result;
and S4, generating a test case according to the test result.
In the implementation process, the hardware equipment model is tested according to the equipment state after the hardware equipment model is established, a test result is obtained, a plurality of hardware equipment of the power system can be tested, the comprehensiveness and integrity of the test are ensured, the time for testing the power system is shortened, and the manpower and material resources cost is saved.
In S1, the device states are divided into a hardware-not-in-place state and a hardware-in-place state.
The hardware equipment comprises a vehicle control unit, equipment corresponding to a battery management system, a battery pack, a motor controller, a power assembly rack, a temperature and humidity environment box, a temperature control device and the like.
In S2, the modeling according to the hardware device includes: and establishing a complete vehicle dynamics model, a suspension system model, a steering system model, a braking system model, a tire model, a road model, a traffic environment model, a driver model, a transmission system model, a transmission case model, a thermal management model, a virtual controller and the like according to requirements.
If a battery model is built through a bidirectional battery simulator, a battery management system is modeled, and a DC/DC model, a vehicle-mounted charger model and other models are built as required; and (4) modeling by the motor controller, and establishing models such as a power grid model according to requirements.
In the embodiment of the application, a fast control prototype, namely a hardware device model, is used for simulating hardware devices such as a real controller. And configuring an I/O and communication interface module according to the requirement, completing the management work of calibration parameters, automatically generating a code containing a hardware driving program, downloading the code into a corresponding hardware equipment model, controlling corresponding equipment to work, and carrying out measurement and calibration work through specific software.
For example, a rapid control prototype (battery management system model) of the battery management system, when the corresponding hardware of the battery management system is in a not-in-place state, and the testing software is ready, I/O and communication interfaces can be configured on the control prototype as required, and the software is written and written to simulate the battery management system. The battery management system rapid control prototype is connected with the battery management system through an I/O signal and communication port, and signal interaction is achieved.
The battery management system comprises a real-time system, a program-controlled power supply, a signal conditioning power supply, a fault injection unit, a communication input/output functional board card and the like, and a battery simulation board card and a resistance simulation board are matched with a battery model to simulate the voltage and the temperature of a single battery in the battery pack. The method is used for simulating sensor signals, I/O signals, communication signals and the like, fault injection and the like. The battery management system is coordinated with the battery management system to rapidly control the prototype and the bidirectional battery model.
The bidirectional battery model comprises a battery pack model, can simulate the input and output characteristics of a specific finished vehicle power battery pack and is used for simulating an actual battery pack. The high-voltage output end is connected with the high-voltage input end of the general inverter to provide energy for the motor Controller, and a communication Controller Area Network (CAN) is connected with the battery management system to realize signal interaction.
The universal inverter model includes a motor controller model and a universal power inverter module. The motor controller model mainly simulates a control panel of the motor controller. The universal power inverter module is connected with the motor model through a UVW three-phase line and is mainly used for controlling the motor. The motor controller rapidly controls the prototype to control the universal power inverter module. The communication CAN of the motor controller rapid control prototype is connected with the motor controller.
The motor model is used for simulating the motor when no actual motor exists or some working conditions are not suitable for using the actual motor. And the communication CAN is connected with the motor controller to realize signal interaction.
The motor controller model comprises a real-time system, a program-controlled power supply, a signal conditioning power supply, a fault injection unit, a communication input/output and other functional board cards. The method is used for simulating sensor signals, I/O signals, communication signals and the like, fault injection and the like. The motor controller orchestrates and coordinates the universal inverter and the motor model.
And when the vehicle control unit is not in place and the test software is ready, the vehicle control unit model can configure I/O and communication interfaces on the control prototype as required, write the software and simulate the vehicle control unit. And the vehicle control unit model is connected with the vehicle control unit through an I/O signal and communication port to realize signal interaction.
The vehicle control unit comprises a real-time system, a program-controlled power supply, a signal conditioning power supply, a fault injection unit, a communication input/output and other functional board cards. The method is used for simulating sensor signals, I/O signals, communication signals and the like, fault injection and the like. And the vehicle control unit, the battery management system and the motor controller use synchronous optical fibers to synchronize key parameters. The CAN signal of the rapid control prototype of the battery management system is connected with the CAN signal of the rapid control prototype of the vehicle controller through the battery management system, the CAN signal of the general inverter is connected with the CAN signal of the rapid control prototype of the vehicle controller through the vehicle controller to form a power network which is the same as the vehicle.
Further, S3 includes:
carrying out wire harness connection and configuration on the hardware equipment model according to the input and output signals of the hardware equipment model;
and testing the hardware equipment model after the connection and the configuration of the wire harness are completed to obtain a test result.
In the implementation process, the hardware equipment model is subjected to wiring harness connection and configuration according to the input and output signals, the position where the hardware equipment model possibly has problems can be quickly known, the actual wiring harness connection of the hardware equipment is not needed, the test time is shortened, and the test efficiency is improved.
Illustratively, according to the input and output signals of the battery management system model, wiring harness connection and configuration are carried out, according to the input and output signals of the motor controller model, wiring harness connection and configuration are carried out, connection of high and low voltage wiring harnesses is completed, the temperature control device is connected through a water pipe, relevant equipment is started, and manual testing software is started to start testing.
Further, the step of testing the hardware device model after completing the connection and configuration of the wiring harness to obtain a test result includes:
respectively carrying out calibration, verification and fault simulation test on the hardware equipment model after the connection and configuration of the wire harness are completed to obtain a calibration result, a verification result and a fault simulation test result;
and obtaining a test result according to the calibration result, the verification result and the fault simulation test result.
In the implementation process, the hardware equipment model after the wiring harness connection and configuration is calibrated, verified and subjected to fault simulation test, and the position of the hardware equipment with a fault can be accurately obtained, so that the test result contains more information, and the test efficiency is improved.
If all subsystems run normally, the hardware equipment model after completing the wiring harness connection and configuration is calibrated and verified in test software, and tests such as power on and power off of the system, an energy management function, a torque distribution function, a manual driving simulation function, a user-defined driving cycle working condition, system diagnosis, control strategy development verification, a limit working condition, a fault processing and diagnosis function, controller software calibration and the like are completed.
And then fault injection software is utilized to carry out fault simulation test, if the calibration result, the verification result and the fault simulation test result all meet the design requirements, the test is passed, otherwise, the test is continued.
Further, S4 includes:
setting an initial condition;
obtaining a detection state according to an initial condition;
executing operation corresponding to the detection state to obtain an expected result;
and matching the test result with the expected result to generate a test case.
In the implementation process, the test case is generated after the expected result and the test result are matched, so that the difference between the test result and the expected result can be definitely known, the obtained test case can correct the test result, and the accuracy of the test case is improved.
Writing test cases for realizing automatic testing, recovering initial conditions after generating the test cases, matching the signals and related files with manual test software, and starting the automatic testing after classifying and sequencing the test cases.
According to the embodiment of the application, the hardware device and the hardware device model are replaced mutually, and the software development and verification period of the whole vehicle controller, the battery management system and the motor controller is shortened. In the case that the hardware device is not in place, the hardware device model can be used for verification, system matching and calibration in advance.
The matching verification and calibration time of the electric automobile power system is shortened. According to the embodiment of the application, a whole vehicle system can be simulated as far as possible, the atmospheric environment is simulated by using the temperature and humidity environment box, the cooling of the whole vehicle is simulated by using the temperature control device and the heat management model, and the calibration work of the power system software is carried out in advance. And the optimization iteration of the test software is facilitated. Under the same working condition, the whole vehicle model and the external condition simulation are the same each time, and software optimization iteration can be better performed on comparison data.
Example two
In order to implement the method corresponding to the above embodiment to achieve the corresponding functions and technical effects, the following provides a testing system for an electric vehicle power system, as shown in fig. 2, the system comprising:
the acquisition module 1 is used for acquiring the equipment state corresponding to the hardware equipment corresponding to the electric automobile power system;
the modeling module 2 is used for modeling according to hardware equipment to obtain a hardware equipment model;
the test module 3 is used for testing the hardware equipment model according to the equipment state to obtain a test result;
and the generating module 4 is used for generating a test case according to the test result.
In the implementation process, the hardware equipment model is tested according to the equipment state after the hardware equipment model is established, a test result is obtained, a plurality of hardware equipment of the power system can be tested, the comprehensiveness and integrity of the test are guaranteed, the time for testing the power system is shortened, and the cost of manpower and material resources is saved.
Further, the test module 3 is also configured to:
according to the input and output signals of the hardware equipment model, carrying out wiring harness connection and configuration on the hardware equipment model;
and testing the hardware equipment model after the connection and configuration of the wire harness are completed to obtain a test result.
In the implementation process, the hardware equipment model is subjected to wiring harness connection and configuration according to the input and output signals, the position where the hardware equipment model possibly has problems can be quickly known, the actual wiring harness connection of the hardware equipment is not needed, the test time is shortened, and the test efficiency is improved.
Further, the test module 3 is also configured to:
respectively carrying out calibration, verification and fault simulation test on the hardware equipment model after the connection and configuration of the wire harness are completed to obtain a calibration result, a verification result and a fault simulation test result;
and obtaining a test result according to the calibration result, the verification result and the fault simulation test result.
In the implementation process, the hardware equipment model after the wiring harness connection and configuration is calibrated, verified and subjected to fault simulation test, and the position of the hardware equipment with a fault can be accurately obtained, so that the test result contains more information, and the test efficiency is improved.
Further, the generating module 4 is further configured to:
setting an initial condition;
obtaining a detection state according to an initial condition;
executing operation corresponding to the detection state to obtain an expected result;
and matching the test result with the expected result to generate a test case.
In the implementation process, the test case is generated after the expected result and the test result are matched, so that the difference between the test result and the expected result can be definitely known, the obtained test case can correct the test result, and the accuracy of the test case is improved.
The test system of the electric vehicle power system can implement the method of the first embodiment. The alternatives in the first embodiment are also applicable to the present embodiment, and are not described in detail here.
The rest of the embodiments of the present application may refer to the contents of the first embodiment, and in this embodiment, details are not repeated.
EXAMPLE III
The embodiment of the application provides an electronic device, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor runs the computer program to enable the electronic device to execute the testing method of the electric vehicle power system in the first embodiment.
Alternatively, the electronic device may be a server.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device may include a processor 31, a communication interface 32, a memory 33, and at least one communication bus 34. Wherein the communication bus 34 is used for realizing direct connection communication of these components. The communication interface 32 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The processor 31 may be an integrated circuit chip having signal processing capabilities.
The Processor 31 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor 31 may be any conventional processor or the like.
The Memory 33 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Read Only Memory (EPROM), an electrically Erasable Read Only Memory (EEPROM), and the like. The memory 33 has stored therein computer readable instructions which, when executed by the processor 31, enable the apparatus to perform the various steps involved in the method embodiment of fig. 1 described above.
Optionally, the electronic device may further include a memory controller, an input output unit. The memory 33, the memory controller, the processor 31, the peripheral interface, and the input/output unit are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, these components may be electrically connected to each other via one or more communication buses 34. The processor 31 is adapted to execute executable modules stored in the memory 33, such as software functional modules or computer programs comprised by the device.
The input and output unit is used for providing a task for a user and starting an optional time interval or preset execution time for the task creation so as to realize the interaction between the user and the server. The input/output unit may be, but is not limited to, a mouse, a keyboard, and the like.
It will be appreciated that the configuration shown in fig. 3 is merely illustrative and that the electronic device may include more or fewer components than shown in fig. 3 or have a different configuration than shown in fig. 3. The components shown in fig. 3 may be implemented in hardware, software, or a combination thereof.
In addition, the embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the method for testing the power system of the electric vehicle according to the first embodiment.
Embodiments of the present application further provide a computer program product, which when running on a computer, causes the computer to execute the method described in the method embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other manners. The system embodiments described above are merely illustrative, and the flowcharts and block diagrams in the figures, for example, illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made to the present application by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A testing method of an electric vehicle power system is characterized by comprising the following steps:
acquiring an equipment state corresponding to hardware equipment corresponding to the electric automobile power system;
modeling according to the hardware equipment to obtain a hardware equipment model;
testing the hardware equipment model according to the equipment state to obtain a test result;
and generating a test case according to the test result.
2. The method for testing the power system of the electric vehicle according to claim 1, wherein the step of testing the hardware device model according to the device status to obtain a test result comprises:
carrying out wire harness connection and configuration on the hardware equipment model according to the input and output signals of the hardware equipment model;
and testing the hardware equipment model after the connection and configuration of the wire harness are completed to obtain the test result.
3. The method for testing the power system of the electric vehicle according to claim 2, wherein the step of testing the hardware device model after completing the connection and configuration of the wiring harness to obtain the test result comprises:
respectively carrying out calibration, verification and fault simulation test on the hardware equipment model after the wiring harness connection and configuration are completed to obtain a calibration result, a verification result and a fault simulation test result;
and obtaining the test result according to the calibration result, the verification result and the fault simulation test result.
4. The method for testing the power system of the electric vehicle according to claim 1, wherein the step of generating the test case according to the test result comprises:
setting initial conditions;
obtaining a detection state according to the initial condition;
executing the operation corresponding to the detection state to obtain an expected result;
and matching the test result with the expected result to generate the test case.
5. A system for testing an electric vehicle powertrain, the system comprising:
the acquisition module is used for acquiring the equipment state corresponding to the hardware equipment corresponding to the electric automobile power system;
the modeling module is used for modeling according to the hardware equipment to obtain a hardware equipment model;
the test module is used for testing the hardware equipment model according to the equipment state to obtain a test result;
and the generating module is used for generating a test case according to the test result.
6. The system for testing an electric vehicle powertrain of claim 5, wherein the testing module is further configured to:
carrying out wire harness connection and configuration on the hardware equipment model according to the input and output signals of the hardware equipment model;
and testing the hardware equipment model after the connection and configuration of the wire harness are completed to obtain the test result.
7. The system for testing an electric vehicle powertrain of claim 6, wherein the testing module is further configured to:
respectively carrying out calibration, verification and fault simulation test on the hardware equipment model after the connection and configuration of the wire harness are completed to obtain a calibration result, a verification result and a fault simulation test result;
and obtaining the test result according to the calibration result, the verification result and the fault simulation test result.
8. The system for testing an electric vehicle powertrain of claim 5, wherein the generation module is further configured to:
setting initial conditions;
obtaining a detection state according to the initial condition;
executing the operation corresponding to the detection state to obtain an expected result;
and matching the test result with the expected result to generate the test case.
9. An electronic device, comprising a memory for storing a computer program and a processor for executing the computer program to cause the electronic device to perform the method of testing an electric vehicle powertrain according to any one of claims 1-4.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements a method of testing an electric vehicle powertrain according to any one of claims 1 to 4.
CN202211311324.8A 2022-10-25 2022-10-25 Method and system for testing power system of electric automobile and electronic equipment Pending CN115495384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211311324.8A CN115495384A (en) 2022-10-25 2022-10-25 Method and system for testing power system of electric automobile and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211311324.8A CN115495384A (en) 2022-10-25 2022-10-25 Method and system for testing power system of electric automobile and electronic equipment

Publications (1)

Publication Number Publication Date
CN115495384A true CN115495384A (en) 2022-12-20

Family

ID=84474296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211311324.8A Pending CN115495384A (en) 2022-10-25 2022-10-25 Method and system for testing power system of electric automobile and electronic equipment

Country Status (1)

Country Link
CN (1) CN115495384A (en)

Similar Documents

Publication Publication Date Title
CN111007840A (en) Whole vehicle controller hardware-in-loop test platform and method
CN103034227A (en) Testing method in circuit of battery electric vehicle vehicle-control unit model
Petersheim et al. Scaling of hybrid-electric vehicle powertrain components for Hardware-in-the-loop simulation
CN109918302B (en) Vehicle-mounted automatic testing method and device, vehicle-mounted multimedia system and automobile
JP2014203314A (en) ECU simulation device
US10997344B2 (en) ECU simulation device
Weissnegger et al. Simulation-based verification of automotive safety-critical systems based on EAST-ADL
CN109726061A (en) A kind of verification method of SoC chip
CN113835410A (en) Finished automobile testing method and system based on signal simulation device
CN103455024B (en) ECU tests system and method
Skruch et al. Model-Based Testing in Embedded Automotive Systems.
CN105365579B (en) A kind of dynamical system and its safety detecting method and device and electric automobile
CN115495384A (en) Method and system for testing power system of electric automobile and electronic equipment
Langheim et al. System architecture, tools and modelling for safety critical automotive applications–the R&D project SASHA
US9304171B2 (en) Computer-implemented method for generating software, a battery, and a motor vehicle
CN114895649A (en) Electric automobile thermal management system testing device, method and system and electronic equipment
Yang et al. Automated test system design of body control module
Ahmad et al. Applications of Hardware-in-the-Loop Simulation in Automotive Embedded Systems
Naithani et al. Development of an Automobile Hardware-inthe-Loop Test System with CAN Communication
Hillenbrand et al. Rapid specification of hardware-in-the-loop test systems in the automotive domain based on the electric/electronic architecture description of, vehicles
Sittig et al. Development and calibration of hybrid electric vehicle operating strategies using simulations and a hybrid power train test bench
Rozhdestvensky et al. Simulation of electric and hybrid vehicles in a vehicle simulator based on a detailed physical model, for the purpose of hmi evaluation
CN112863008B (en) Fault recording method and device, storage medium and computer equipment
Patil et al. Review on Hardware-in-Loop simulation used to advance design efficiency and test competency
CN201716594U (en) Real-time simulation equipment used for vehicles

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination