CN112965470A - Commercial car data center test system - Google Patents

Commercial car data center test system Download PDF

Info

Publication number
CN112965470A
CN112965470A CN202110368117.5A CN202110368117A CN112965470A CN 112965470 A CN112965470 A CN 112965470A CN 202110368117 A CN202110368117 A CN 202110368117A CN 112965470 A CN112965470 A CN 112965470A
Authority
CN
China
Prior art keywords
data center
interface
test
ethernet
testing
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.)
Granted
Application number
CN202110368117.5A
Other languages
Chinese (zh)
Other versions
CN112965470B (en
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.)
Shanghai Transun Telematics Technology Co ltd
King Long United Automotive Industry Suzhou Co Ltd
Original Assignee
Shanghai Transun Telematics Technology Co ltd
King Long United Automotive Industry Suzhou 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 Shanghai Transun Telematics Technology Co ltd, King Long United Automotive Industry Suzhou Co Ltd filed Critical Shanghai Transun Telematics Technology Co ltd
Priority to CN202110368117.5A priority Critical patent/CN112965470B/en
Publication of CN112965470A publication Critical patent/CN112965470A/en
Application granted granted Critical
Publication of CN112965470B publication Critical patent/CN112965470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols

Landscapes

  • Small-Scale Networks (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)

Abstract

The invention discloses a test system for a data center of a commercial vehicle, which comprises: the Ethernet interface, the CAN interface, the 485 interface, the 232 interface and the power interface belong to a measured object and are integrated in a data center; preferably, when the upper computer controls the programmable power supply to be powered on, the data center is connected with the ethernet tester through a 100Base-T1 ethernet network, and the data center is connected with the CAN network tester through a CAN network. The invention solves the problems of complex operation, high testing difficulty and low testing efficiency in the real vehicle testing process of vehicle-mounted data collection, analysis and verification in the prior art.

Description

Commercial car data center test system
Technical Field
The invention belongs to the field of automobiles, and particularly relates to a test system for a data center of a commercial vehicle.
Background
Commercial vehicles, particularly mass transit vehicles, the integrity and safety of vehicle information plays a crucial role in the proper operation of the vehicle. The vehicle-mounted data center is used as a key part for collecting vehicle information, functions of Ethernet communication, CAN data acquisition, 485 bus information transmission, program upgrading, vehicle key information uploading and the like between equipment are realized, and the equipment is used as a vehicle networking key part and is important for normal operation of vehicles. The change of the logic function of the whole vehicle or the requirement of the public transport system causes the short iteration cycle of the software of the vehicle-mounted data center and the short test time.
The existing vehicle-mounted data testing method mainly collects data through a manual real vehicle and analyzes and judges signals one by one, electronic equipment is relatively independent, the data volume of the whole vehicle is large, the data updating speed is high, and in addition, due to the complexity of the environment of the real vehicle during operation, the problems of high testing difficulty, high workload, long testing period, low testing efficiency, insufficient testing depth and the like exist in manual testing.
Disclosure of Invention
The invention provides a test system for a data center of a commercial vehicle, aiming at the problems in the prior art, and part of embodiments of the test system can solve the problems in the prior art that the vehicle-mounted data collection, analysis and verification are complex to operate, the test difficulty is high and the test efficiency is low in the real vehicle test process.
In order to achieve the purpose, the invention adopts the following technical scheme:
a commercial vehicle data center testing system, the testing system comprising: the Ethernet interface, the CAN interface, the 485 interface, the 232 interface and the power interface belong to a measured object and are integrated in a data center; preferably, when the upper computer controls the programmable power supply to be powered on, the data center is connected with the ethernet tester through a 100Base-T1 ethernet network, and the data center is connected with the CAN network tester through a CAN network.
Preferably, the test system comprises a test method of an on-board data center, and the test method comprises the following steps: the Ethernet tester sends information such as route configuration and signals to the data center, tests an Ethernet interface of the data center and outputs a test result; the CAN network tester imports a topological communication protocol of a vehicle type applied by the data center and a database file so that the data center obtains a message ID, a message period and a configuration file of a message signal of a real vehicle simulation node, and tests a CAN interface of the data center according to a test instruction and outputs a test result; preferably, when the test instruction simulates real vehicle voltage fluctuation to the data center, the step of testing the data center by the programmable power supply according to the test case includes: according to the test case, simulating the voltage of the real vehicle at the lowest and highest power supply voltage standards: controlling the programmable power supply to be powered on within a preset time range, setting the lowest voltage or the highest voltage, and testing whether the data center works normally when the lowest voltage or the highest voltage fluctuates; and simulating the transient voltage change of the real vehicle according to the test case, controlling the programmable power supply to be electrified within a preset time range, and testing whether the equipment works normally when the voltage of the data center fluctuates transiently.
Preferably, when the ethernet interface of the data center is tested in the test instruction, the step of sending fixed periodic messages with different frame lengths by an ethernet tester to test the ethernet interface of the data center includes: monitoring whether the routing configuration of the Ethernet interface of the data center is normal or not according to the test case, periodically sending data packets with different frame lengths to the Ethernet interface of the data center, and testing whether the throughput, the time delay and the packet loss rate of the Ethernet interface meet the functional requirements when receiving a target data packet or not; and detecting whether the Ethernet interface of the data center generates frame loss or not in a high-load test environment to simulate a large-flow network port test environment according to the test case, and testing the network load capacity of the Ethernet interface of the data center in a preset time period.
Preferably, when the CAN interface of the data center to be tested is tested in the test instruction, the step of testing the CAN interface of the data center by the CAN network tester according to the test case includes: simulating a real vehicle environment according to the test case, importing a database file to a CAN network tester by using a message protocol of a corresponding vehicle type, sending periodic messages to a CAN interface of the data center, and testing whether the CAN interface of the data center is normal within a preset time; and according to the test case, using a high-priority message to pull up the load in a preset time period to simulate a high-load test environment, and testing whether a CAN interface of the data center loses frames or generates error frames in the preset time period.
Preferably, when the 485 interface and the 232 interface of the data center are tested in the test instruction, the step of testing the 485 interface and the 232 interface of the data center by the upper computer according to the test case includes: and simulating data configuration information of a 485 bus and a 232 bus of the real vehicle according to the test case, sending periodic data to the 485 interface and the 232 interface of the data center through an upper computer by using a data packet mode configured corresponding to the vehicle type, and testing whether the 485 interface and the 232 interface of the data center are normal within preset time.
Compared with the prior art, the invention has the beneficial effects that: 1) the system CAN simulate the real vehicle environment to realize systematic, integrated and automatic test on the communication function comprising an Ethernet interface, a CAN interface, a 485 interface and a 232 interface; 2) the device can simulate the real vehicle environment to carry out voltage fluctuation test, multiple continuous tests, endurance test, power-on and power-off test and automatically store test data of all interfaces.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a system framework diagram of the present invention.
FIG. 2 is a flow chart of the present invention for simulating real vehicle voltage fluctuation test in a data center.
FIG. 3 is a flow chart of the present invention for testing an Ethernet interface of a data center.
FIG. 4 is a flow chart of the present invention in testing a data center CAN interface.
Fig. 5 is a flowchart illustrating the testing of 485 and 232 interfaces of a data center according to the present invention.
1-a data center; 2-a power interface; 3-CAN interface; 4-an ethernet interface; 5-485 interface; 6-232 interface; 7-232 upper computer; 8-485 upper computer; 9-external network tester; 10-CAN network tester; 11-programmable power supply.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
In the description of the present invention, it is to be understood that the terms "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention.
As shown in fig. 1-5, this embodiment provides a vehicle-mounted data testing system, which includes an ethernet interface, a CAN interface, a 485 interface, a 232 interface, and a power interface belonging to a tested object, an upper computer (including a 485 upper computer and a 232 upper computer), and a testing device (including a programmable power supply, a CAN network tester, and an ethernet tester) connected to a corresponding tested object; the Ethernet interface, the CAN interface, the 485 interface, the 232 interface and the power interface are integrated in the data center.
The upper computer is used for receiving a test instruction input by a user through a human-computer interaction interface and sending protocol content corresponding to the test case content to the data center according to the test instruction;
the test equipment is used for simulating the whole vehicle environment of the data center according to the test case, testing equipment interfaces such as an Ethernet interface and a CAN interface, and outputting a test result.
The testing equipment comprises a programmable power supply connected with the upper computer, and the programmable power supply is controlled to supply power to the data center when being electrified. The data center is connected with the Ethernet tester through a 100Base-T1 Ethernet, and meanwhile, the data center is connected with the CAN network tester through a CAN network.
The embodiment also provides a testing method of the vehicle-mounted data center, which is applied to the vehicle-mounted data center testing system, and the method comprises the following steps:
and the Ethernet tester sends information such as routing configuration, signals and the like to the data center, tests the Ethernet interface of the data center and outputs a test result.
The CAN network tester imports a topological communication protocol of a vehicle type applied by the data center and a database file so that the data center CAN acquire a message ID, a message period and a configuration file of a message signal of the real vehicle simulation node, and tests a CAN interface of the data center according to a test instruction and outputs a test result.
The 485 upper computer imports the real vehicle 485 protocol content and the file applied by the data center so that the data center can acquire the message content of the simulated real vehicle 485 bus, tests the 485 interface of the data center according to the test instruction and outputs the test result.
The 232 upper computer imports the real vehicle 232 protocol content and the file applied by the data center so that the data center can acquire the message content of the simulated real vehicle 232 bus, test the 232 interface of the data center according to the test instruction and output the test result.
When the voltage fluctuation of the real vehicle is simulated for the data center in the test instruction, the step of testing the data center by the programmable power supply according to the test case comprises the following steps:
according to the test case, simulating the voltage of the real vehicle at the lowest and highest power supply voltage standards: controlling the programmable power supply to be powered on within a preset time range, setting the lowest voltage or the highest voltage, and testing whether the data center works normally when the lowest voltage or the highest voltage fluctuates;
and simulating the transient voltage change of the real vehicle according to the test case, controlling the programmable power supply to be electrified within a preset time range, and testing whether the equipment works normally when the voltage of the data center fluctuates transiently.
When the test instruction is used for testing the Ethernet interface of the data center, the step of sending messages with fixed periodicity and different frame lengths by an Ethernet tester to test the Ethernet interface of the data center comprises the following steps:
monitoring whether the routing configuration of the Ethernet interface of the data center is normal or not according to the test case, periodically sending data packets with different frame lengths to the Ethernet interface of the data center, and testing whether the throughput, the time delay and the packet loss rate of the Ethernet interface meet the functional requirements when receiving a target data packet or not;
and detecting whether the Ethernet interface of the data center generates frame loss or not in a high-load test environment to simulate a large-flow network port test environment according to the test case, and testing the network load capacity of the Ethernet interface of the data center in a preset time period.
When the CAN interface of the data center to be tested is tested in the test instruction, the step that the CAN network tester tests the CAN interface of the data center according to the test case comprises the following steps:
simulating a real vehicle environment according to the test case, importing a database file to a CAN network tester by using a message protocol of a corresponding vehicle type, sending periodic messages to a CAN interface of the data center, and testing whether the CAN interface of the data center is normal within a preset time;
and according to the test case, using a high-priority message to pull up the load in a preset time period to simulate a high-load test environment, and testing whether a CAN interface of the data center loses frames or generates error frames in the preset time period.
When the 485 interface and the 232 interface of the data center are tested in the test instruction, the step of testing the 485 interface and the 232 interface of the data center by the upper computer according to the test case comprises the following steps:
and simulating data configuration information of a 485 bus and a 232 bus of the real vehicle according to the test case, sending periodic data to the 485 interface and the 232 interface of the data center through an upper computer by using a data packet mode configured corresponding to the vehicle type, and testing whether the 485 interface and the 232 interface of the data center are normal within preset time.
Although the present invention has been described in detail with respect to the above embodiments, it will be understood by those skilled in the art that modifications or improvements based on the disclosure of the present invention may be made without departing from the spirit and scope of the invention, and these modifications and improvements are within the spirit and scope of the invention.

Claims (7)

1. A commercial vehicle data center test system, characterized in that, test system includes:
the Ethernet interface, the CAN interface, the 485 interface, the 232 interface and the power interface belong to a measured object and are integrated in a data center;
the system comprises a 485 upper computer and a 232 upper computer, wherein the 485 upper computer is used for receiving a test instruction input by a user through a man-machine interaction interface and sending protocol content corresponding to test case content to the data center according to the test instruction;
with the test equipment who corresponds measurand and be connected, test equipment is including programmable control power supply, CAN network tester, ethernet tester, programmable control power supply with power source, 485 host computer and 232 host computer are connected, CAN network tester with CAN interface connection, ethernet tester with ethernet interface connection, test equipment is used for the basis the test case is right data center simulates whole car environment, tests ethernet interface, CAN interface, 485 interface, 232 interface, power source to output test result.
2. The system of claim 1, wherein when the upper computer controls the programmable power supply to be powered on, the data center is connected to the ethernet tester through a 100Base-T1 ethernet network, and the data center is connected to the CAN network tester through a CAN network.
3. The commercial vehicle data center testing system of claim 2, wherein the testing system comprises a testing method of an on-board data center, and the testing method comprises the following steps: the Ethernet tester sends information such as route configuration and signals to the data center, tests an Ethernet interface of the data center and outputs a test result;
the CAN network tester imports a topological communication protocol of a vehicle type applied by the data center and a database file so that the data center obtains a message ID, a message period and a configuration file of a message signal of a real vehicle simulation node, and tests a CAN interface of the data center according to a test instruction and outputs a test result;
the 485 upper computer imports the real vehicle 485 protocol content and the file applied by the data center so that the data center can acquire the message content of the simulated real vehicle 485 bus, tests the 485 interface of the data center according to the test instruction and outputs the test result;
the 232 upper computer imports the real vehicle 232 protocol content and the file applied by the data center so that the data center can acquire the message content of the simulated real vehicle 232 bus, test the 232 interface of the data center according to the test instruction and output the test result.
4. The test system for the data center of the commercial vehicle according to claim 3, wherein when the test command simulates real vehicle voltage fluctuation on the data center, the step of testing the data center by the programmable power supply according to the test case comprises:
according to the test case, simulating the voltage of the real vehicle at the lowest and highest power supply voltage standards: controlling the programmable power supply to be powered on within a preset time range, setting the lowest voltage or the highest voltage, and testing whether the data center works normally when the lowest voltage or the highest voltage fluctuates;
and simulating the transient voltage change of the real vehicle according to the test case, controlling the programmable power supply to be electrified within a preset time range, and testing whether the equipment works normally when the voltage of the data center fluctuates transiently.
5. The test system for the commercial vehicle data center according to claim 4, wherein when the test instruction is used for testing the ethernet interface of the data center, the step of sending messages with different frame lengths and fixed periodicity by an ethernet tester to test the ethernet interface of the data center comprises:
monitoring whether the routing configuration of the Ethernet interface of the data center is normal or not according to the test case, periodically sending data packets with different frame lengths to the Ethernet interface of the data center, and testing whether the throughput, the time delay and the packet loss rate of the Ethernet interface meet the functional requirements when receiving a target data packet or not;
and detecting whether the Ethernet interface of the data center generates frame loss or not in a high-load test environment to simulate a large-flow network port test environment according to the test case, and testing the network load capacity of the Ethernet interface of the data center in a preset time period.
6. The test system for the commercial vehicle data center according to claim 5, wherein when the test instruction is used for testing the CAN interface of the data center to be tested, the step of testing the CAN interface of the data center by the CAN network tester according to the test case comprises:
simulating a real vehicle environment according to the test case, importing a database file to a CAN network tester by using a message protocol of a corresponding vehicle type, sending periodic messages to a CAN interface of the data center, and testing whether the CAN interface of the data center is normal within a preset time;
and according to the test case, using a high-priority message to pull up the load in a preset time period to simulate a high-load test environment, and testing whether a CAN interface of the data center loses frames or generates error frames in the preset time period.
7. The test system of claim 6, wherein when the 485 interface and the 232 interface of the data center are tested in the test instruction, the step of testing the 485 interface and the 232 interface of the data center by the upper computer according to the test case comprises:
and simulating data configuration information of a 485 bus and a 232 bus of the real vehicle according to the test case, sending periodic data to the 485 interface and the 232 interface of the data center through an upper computer by using a data packet mode configured corresponding to the vehicle type, and testing whether the 485 interface and the 232 interface of the data center are normal within preset time.
CN202110368117.5A 2021-04-06 2021-04-06 Commercial car data center test system Active CN112965470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110368117.5A CN112965470B (en) 2021-04-06 2021-04-06 Commercial car data center test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110368117.5A CN112965470B (en) 2021-04-06 2021-04-06 Commercial car data center test system

Publications (2)

Publication Number Publication Date
CN112965470A true CN112965470A (en) 2021-06-15
CN112965470B CN112965470B (en) 2024-06-18

Family

ID=76281177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110368117.5A Active CN112965470B (en) 2021-04-06 2021-04-06 Commercial car data center test system

Country Status (1)

Country Link
CN (1) CN112965470B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115437351A (en) * 2022-09-06 2022-12-06 中国第一汽车股份有限公司 Automated test system, automated test method, electronic device, and storage medium
CN115933584A (en) * 2022-10-27 2023-04-07 成都赛力斯科技有限公司 Vehicle-mounted controller testing system and method, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202649810U (en) * 2012-03-13 2013-01-02 中国汽车技术研究中心 Equipment used for automotive electronic control module CAN network integration test
CN103647684A (en) * 2013-12-17 2014-03-19 北京交通大学 System and method for testing urban rail train security detection sensing network
CN206178466U (en) * 2016-11-24 2017-05-17 江苏财经职业技术学院 New energy automobile vehicle control unit testing arrangement
CN110048910A (en) * 2019-04-24 2019-07-23 重庆长安汽车股份有限公司 A kind of vehicle-mounted ethernet gateway test macro and method
CN215340823U (en) * 2021-04-06 2021-12-28 上海创程车联网络科技有限公司 Commercial car data center test system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202649810U (en) * 2012-03-13 2013-01-02 中国汽车技术研究中心 Equipment used for automotive electronic control module CAN network integration test
CN103647684A (en) * 2013-12-17 2014-03-19 北京交通大学 System and method for testing urban rail train security detection sensing network
CN206178466U (en) * 2016-11-24 2017-05-17 江苏财经职业技术学院 New energy automobile vehicle control unit testing arrangement
CN110048910A (en) * 2019-04-24 2019-07-23 重庆长安汽车股份有限公司 A kind of vehicle-mounted ethernet gateway test macro and method
CN215340823U (en) * 2021-04-06 2021-12-28 上海创程车联网络科技有限公司 Commercial car data center test system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115437351A (en) * 2022-09-06 2022-12-06 中国第一汽车股份有限公司 Automated test system, automated test method, electronic device, and storage medium
CN115933584A (en) * 2022-10-27 2023-04-07 成都赛力斯科技有限公司 Vehicle-mounted controller testing system and method, computer equipment and storage medium
CN115933584B (en) * 2022-10-27 2024-06-11 重庆赛力斯凤凰智创科技有限公司 Vehicle-mounted controller testing system, method, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112965470B (en) 2024-06-18

Similar Documents

Publication Publication Date Title
CN107222362B (en) Automatic test platform for finished vehicle CAN network and optimization method thereof
CN107885097B (en) Nuclear power station simulator control system DCS transformation closed loop verification system and method
CN112965470B (en) Commercial car data center test system
CN109740222B (en) Testing device and system for automobile networking scene
CN105159188B (en) A kind of new energy vehicle heterogeneous network emulator and control method
CN103676939B (en) A kind of Auto-Test System based on OSEK straight-forward network administrative mechanisms
CN110233768B (en) UDS-based CAN bus test system and CAN bus test method
CN104168162B (en) A kind of software-hardware synergism realizes the traffic generator for interchanger validation test
CN106647690A (en) Network communication signal automatic testing system for body control module
CN103728968A (en) Automatic test system for CAN network and ECU functions
CN105404568A (en) CAN bus test system and test method
CN107656126B (en) CAN-based automatic testing method and system for quiescent current of vehicle-mounted sound equipment
CN106338978A (en) CAN bus communication function test system and test method thereof
CN113190454A (en) Real-vehicle test method and system for vehicle-mounted terminal software
CN105515911A (en) Gateway automatic test system and method of CAN network
CN107370637B (en) Vehicle-mounted ECU communication function automatic test system and method
CN113569509B (en) Performance verification system and application for AMBA bus architecture chip
CN203759531U (en) Automatic test system based on OSEK direct network management mechanism
CN114338418B (en) Virtual-real combined information network verification platform
CN113325734B (en) Simulation test system, method, device, equipment and storage medium for automatic windscreen wiper
CN109188117A (en) A kind of Meter Test system and test method based on Labview
CN215340823U (en) Commercial car data center test system
CN107976990A (en) A kind of complete vehicle fault test method based on CANoe
CN108762235A (en) Vehicle analyzes adjustment method, vehicle analysis debugging system and electric vehicle
CN110958295A (en) Testing method and system based on vehicle-mounted ATP equipment

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
GR01 Patent grant