[go: up one dir, main page]

CN208654634U - Based on CANoe to the analogue system of P grades of director demon logic checkings - Google Patents

Based on CANoe to the analogue system of P grades of director demon logic checkings Download PDF

Info

Publication number
CN208654634U
CN208654634U CN201820781766.1U CN201820781766U CN208654634U CN 208654634 U CN208654634 U CN 208654634U CN 201820781766 U CN201820781766 U CN 201820781766U CN 208654634 U CN208654634 U CN 208654634U
Authority
CN
China
Prior art keywords
grades
module
bus
controller
analogue system
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.)
Active
Application number
CN201820781766.1U
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.)
GUANGDONG GRANDMARK AUTOMOTIVE SYSTEMS CO Ltd
Original Assignee
GUANGDONG GRANDMARK AUTOMOTIVE SYSTEMS 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 GUANGDONG GRANDMARK AUTOMOTIVE SYSTEMS CO Ltd filed Critical GUANGDONG GRANDMARK AUTOMOTIVE SYSTEMS CO Ltd
Priority to CN201820781766.1U priority Critical patent/CN208654634U/en
Application granted granted Critical
Publication of CN208654634U publication Critical patent/CN208654634U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The utility model discloses a kind of based on CANoe to the analogue system of P grades of director demon logic checkings, include: analogue system, P grades between controller, executing agency respectively by the first communication module, the second communication module connect, the P grades of controller tests signal based on the received and controls executing agency's execution corresponding actions, the executive condition of the executing agency gives the analogue system by data feedback, and whether the programmed logic for verifying the P grades of controller further according to the information analysis that the analogue system is read is correct.The utility model based on CANoe to the analogue system of P grades of director demon logic checkings, by compared with P grades of controller logics of no auxiliary verify system, developer can be quickly and easily helped to verify the software logic of P grades of controllers, and instead of developer naked eyes examine code or by the direct detection trigger of soft project by way of, so have it is quick, conveniently, stablize the effects of safe.

Description

Based on CANoe to the analogue system of P grades of director demon logic checkings
Technical field
The utility model relates to detection system technical fields, more particularly to a kind of CANoe that is based on to patrol P grades of director demons Collect the analogue system of verifying.
Background technique
In recent years, as automobile industry develops rapidly, requirement of the people to automobile is also higher and higher, safety, comfort Become the factor of people's overriding concern.However as reaching its maturity for auto electronic control technology, many functions of vehicle are all Intelligent control is realized, such as from previous mechanical parking brake, mechanical adjustment rearview mirror, seat etc., evolves as electronics now Parking brake, driven rearview mirrors, automatic seat etc..Increasingly raising with people to the performance, function of automobile, simple uses electronics Parking brake cannot fully meet requirement of the people to safety.When vehicle parking is at the biggish ramp of the ratio of slope, even if Electronics parking brake has worked, but automobile still can cause to slide forward due to gravity or after slip, even if do not occur to Before slide or after the case where slipping, rested on heavy grade for a long time and also will affect the service life of brake and tire, so P grades of skills Art is just come into being.Since P grades of technologies are not also perfect, so the test for P grades of director demons is just particularly important, Since P grades of instructions are mainly directly controlled according to VCU, thus the strategy of P grade controllers of test it is previous need to coordinate vehicle into Row debugging, this undoubtedly influences the cost and progress of test.
Therefore, the prior art needs to improve.
Utility model content
The utility model embodiment technical problem to be solved is: providing one kind based on CANoe to P grades of controllers The analogue system of programmed logic verifying, to solve problems of the prior art.
It is provided by the utility model it is a kind of based on CANoe to the analogue system of P grades of director demon logic checkings, comprising: Analogue system, P grade controller, executing agency;
The analogue system sends test signal to the P grades of controller, and the P grades of controller tests letter based on the received Number control executing agency executes corresponding actions, and the executive condition of the executing agency gives emulation system by data feedback Whether system, the programmed logic for verifying the P grades of controller further according to the information analysis that the analogue system is read are correct;
The analogue system, P grades pass through the first communication module, the second communication module respectively between controller, executing agency Connection.
Based on the utility model it is above-mentioned based on CANoe to the analogue systems of P grades of director demon logic checkings another In embodiment, the analogue system includes: that DBC formulates module, control panel formulates module, simulation CAN bus signal sends mould Block, simulation OBD diagnostic module, configured in one piece module, data record and observation module;
The DBC formulates module, is formulated according to tested P grades of controller and entire car controller, automatic anti-lock braking controller Communications protocol is formulated, and for extracting data information in CAN bus, ensures that CAN bus signal is sent, CAN bus signal is observed;
The control panel formulates module, for triggering the condition panel of P grades of controller tests, tests P grades of controllers Running parameter;
The simulation CAN bus signal transmitting module, it is total for period simulation VCU controller, the CAN of abs controller The message sent on line, and erroneous frame detection is carried out, the simulation CAN bus signal transmitting module passes through CAN bus and P grades of controls Device connection processed;
The OBD diagnostic module sends diagnostic message to P grades of controllers, tests P grades of controls for simulating OBD diagnostic equipment Whether the diagnostic function of device program is perfect;
The configured in one piece module, for configuring connection, the channel configuration of CANoe and hardware;
The data record and observation module, the letter for recording data in CAN bus and saving, with observation CAN bus Number variation, judge the correctness of P grades of director demon control logics.
Based on the utility model it is above-mentioned based on CANoe to the analogue systems of P grades of director demon logic checkings another In embodiment, the control panel formulate module triggering condition panel include: CAN signal enable button, automatic testing button, Parking order button, offline self study trigger button, requests lower eletric button and speed brake at unlock instruction button.
Based on the utility model it is above-mentioned based on CANoe to the analogue systems of P grades of director demon logic checkings another In embodiment, the program simulating CAN bus signal transmitting module and being write by CAPL language.
Based on the utility model it is above-mentioned based on CANoe to the analogue systems of P grades of director demon logic checkings another In embodiment, first communication module, the second communication module include CAN bus communication, the communication of K line, the communication of LIN line and SCI Communication is each responsible for analogue system and passes through CAN bus, K bus, LIN bus and SCI bus and P grades of controller communications.
Compared with prior art, the utility model includes following advantages:
The utility model based on CANoe to the analogue system of P grades of director demon logic checkings, by with do not assist P grades of controller logics verify comparing for system, and developer can quickly and easily be helped to verify the software logic of P grades of controllers, and Instead of developer by way of naked eyes examination code or by the direct detection trigger of soft project, so there is quick, side Just, stablize the effects of safe, the control of the tested object P grades of controllers of the system testing of the utility model is relatively easy, no Need a very complicated detection system that can complete, cost of implementation is low, control is simple so present case has, time-consuming short etc. excellent Point.
Detailed description of the invention
In order to illustrate the embodiment of the utility model or the technical proposal in the existing technology more clearly, below will be to embodiment Or attached drawing used in description of the prior art does one and simply introduces, it should be apparent that, the accompanying drawings in the following description is this reality Without creative efforts, may be used also for those of ordinary skill in the art with novel some embodiments To obtain other drawings based on these drawings.
Fig. 1 is an implementation based on CANoe to the analogue system of P grades of director demon logic checkings of the utility model The structural schematic diagram of example.
In figure: 1 analogue system, 11 DBC formulate module, 12 control panels formulate module, 13 simulation CAN bus signal hairs Module, 14 simulation OBD diagnostic modules, 15 configured in one piece modules, 16 data records are sent to hold with observation module, 2 P grades of controller, 3 Row mechanism, 4 first communication modules, 5 second communication modules.
Specific embodiment
It is practical new below in conjunction with this to keep the objectives, technical solutions, and advantages of the embodiments of the present invention clearer Attached drawing in type embodiment, the technical scheme in the utility model embodiment is clearly and completely described, it is clear that is retouched The embodiment stated is the utility model a part of the embodiment, instead of all the embodiments.Based on the reality in the utility model Example is applied, every other embodiment obtained by those of ordinary skill in the art without making creative efforts all belongs to In the range of the utility model protection.
It should be pointed out that each unit module in the utility model is hardware module, although part of module With information processing capability, according to different design requirements, it may be necessary to cooperate corresponding software to realize, still, these are soft Part is conventionally known software or well known technology.Various control units etc. involved in the application can use dedicated collection It is achieved, i.e., is realized using pure hardware mode at circuit and peripheral circuit, or is real using existing chip and peripheral circuit It is existing, it works by loading existing software on chip, or according to the software that existing method is realized.
It should be noted that the utility model point of the utility model is that the hardware connection of modules, unit, device is closed The variation etc. of the installation site of system and each hardware, and distinctive connection relationship and additional space relationship are formed, it is using Without assisting software also to may be implemented when specific integrated circuit, even if needing corresponding software in specific utilization, also only make Cooperated in concrete application scene with other parts for the utility model, coordinated, more preferably to realize that the utility model exists Effect in, it is unrelated with the utility model of the utility model point, meanwhile, if using existing chip cooperation software come work When, used software, processing method are existing software and method, utility model effect that the utility model is realized and Destination is realized also not dependent on software, but purpose of utility model is realized by the improvement of hardware construction, also, this is practical The realization of novel realized utility model effect and purpose is also not dependent on software, but by the improvement of hardware construction come real Existing purpose of utility model, and the utility model range claimed is not related to software itself, and only various pieces Connection relationship and relative tertiary location relationship.
One kind provided by the utility model patrols P grades of director demons based on CANoe with reference to the accompanying drawings and examples The analogue system for collecting verifying is described in more detail.
Fig. 1 is an implementation based on CANoe to the analogue system of P grades of director demon logic checkings of the utility model Example structural schematic diagram, as shown in Figure 1, the embodiment based on CANoe to the analogue system of P grades of director demon logic checkings It include: analogue system 1, P grades of controllers 2, executing agency 3;
The analogue system 1 sends test signal to the P grades of controller 2, and the P grades of controller 2 is surveyed based on the received Trial signal controls the executing agency 3 and executes corresponding actions, and the executive condition of the executing agency 3 is by data feedback to described Whether just analogue system 1, the information analysis read further according to the analogue system 1 verify the programmed logic of the P grades of controller 2 Really;
The analogue system 1, P grades of controllers 2 are communicated respectively by the first communication module 4, second between executing agency 3 Module 5 connects.
The analogue system 1 includes: that DBC formulates module 11, control panel formulates module 12, simulation CAN bus signal hair Send module 13, simulation OBD diagnostic module 14, configured in one piece module 15, data record and observation module 16;
The DBC formulates module 11, is formulated according to tested P grades of controller 2 and entire car controller, automatic anti-lock braking controller Communications protocol formulate, for extracting data information in CAN bus, ensure CAN bus signal send, the observation of CAN bus signal; The DBC editing interface of module 11 is formulated in DBC, corresponding communications protocol creates signal message, fills in corresponding byte, position, essence The information such as degree, offset, signal type, for needing the signal of signal description that should establish signal description table, so as to signal observation point Analysis, such as: parking signal should add description are as follows: 0- keeps last time operation;1- parking instruction is 2- unlock instruction, finally, also answering Add environmental variance.
The control panel formulates module 12, for triggering the condition panel of P grades of controllers 2 test, tests P grades of controllers 2 running parameter comprehensively tests the various functions of P grades of controllers 2, it is ensured that P grades of controllers by various condition tests in detail 2 is safe and stable, meets the requirement of project volume production, in the operation that control panel formulates module, each button and dialog box are represented One signal triggering, button, dialog box or other assemblies are added as needed first, click component, then modify component Attribute and addition associated environment variable etc. trigger dependence test by operating newly-built component.Such as: referred to by pressing parking Button is enabled, open state: sent parking instruction (value is 1), off status: sent unlock instruction (value is 2), it is hard by connection CANape The CAN bus of part is sent to P grades of controllers 2, to verify whether P grades of controllers 2 have parking/unlock function;
The simulation CAN bus signal transmitting module 13, for period simulation VCU controller, the CAN of abs controller The message sent in bus, and erroneous frame detection is carried out, the simulation CAN bus signal transmitting module passes through CAN bus and P grades Controller 2 connects, and the value of CAN bus signal can be changed by control panel module, then is sent by simulation CAN bus signal Module is forwarded in CAN bus periodically, is connected by the twisted pair of CAN bus with P grades of controllers 2 on hardware, P grades of controls Device 2 acts accordingly after receiving CAN bus signal, analyzes P grades of controls by acquisition CAN bus signal or rs 232 serial interface signal Whether the control logic of device 2 is correct;
The OBD diagnostic module 14 sends diagnostic message to P grades of controllers 2, tests P grades for simulating OBD diagnostic equipment Whether the diagnostic function of 2 program of controller is perfect;
The configured in one piece module 15, by configured in one piece, makes for configuring connection, the channel configuration of CANoe and hardware Must communicate, various functions it is normal;
The data record and observation module 16, for recording data in CAN bus and saving, with observation CAN bus Signal intensity judges the correctness of P grades of 2 programed logics of controller, such as occur it is abnormal, can by this module analysis, from And it corrects mistake.
It includes: that CAN signal enables button, automatic test is pressed that the control panel, which formulates the condition panel that module 12 triggers, Button, unlock instruction button, offline self study trigger button, requests lower eletric button and speed brake at parking order button.
The simulation CAN bus signal transmitting module 13 passes through CAPL(Communicaion Application Programming Laguage) program write of language.
The diagnostic message that the OBD diagnostic module 14 is sent includes: current power diagnostic data request, request dynamical system Freeze frame data, removing/resetting diagnostic message, request information of vehicles, diagnostic session control, ECU resetting, remove diagnostic message, Reading DTC information, reading data, write-in data, routine control, diagnostic device are online.
First communication module 4, the second communication module 5 include CAN bus communication, the communication of K line, the communication of LIN line and SCI Communication is each responsible for analogue system and is communicated by CAN bus, K bus, LIN bus and SCI bus and P grades of controllers 2.
The function that the DBC formulates module 11 includes: frame addition, signal message addition, the production of signal description table, environment change Amount addition.
In the particular embodiment, the partial results of test are as follows:
Operation 1: it opens/closes CAN bus signal and sends control instruction;
As a result 1: when opening, P grades of controllers 2 normally receive CAN bus signal, and when closing, P grades of controllers 2 report CAN bus Communication failure.
Operation 2: request parking/unlocking command;
As a result the 2:P grades of normal parking/unlocks of controller 2, and parking/unlocked time is respectively less than 500ms.
Operation 3: offline self study trigger button, brake button, engine stop button, speed signal are opened;
As a result 3:P grades of controllers 2 execute offline self study, and the time is less than 1000ms, if not stepping on brake, speed mistake High, engine start, then P grades of controllers 2 do not allow to carry out offline self study, if allowing to perform, judge P grades of controllers 2 Offline self study logic is abnormal.
Operation 4: it opens and requests the lower electric order button of P grades of controllers 2;
As a result the 4:P grades of returns of controller 2 allow lower electricity order, electricity under system.
Above to it is provided by the utility model it is a kind of based on CANoe to the emulation system of P grades of director demon logic checkings System is described in detail, and specific case used herein is expounded the principles of the present invention and embodiment, The method and its core concept of the above embodiments are only used to help understand the utility model;Meanwhile for this field Those skilled in the art, based on the idea of the present invention, there will be changes in the specific implementation manner and application range, In conclusion the content of the present specification should not be construed as a limitation of the present invention.
Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention, it is not limited to this Utility model, although the utility model is described in detail with reference to the foregoing embodiments, for those skilled in the art For, it is still possible to modify the technical solutions described in the foregoing embodiments, or to part of technical characteristic It is equivalently replaced, within the spirit and principle of the utility model, any modification, equivalent replacement, improvement and so on, It should be included within the scope of protection of this utility model.

Claims (5)

1. it is a kind of based on CANoe to the analogue system of P grades of director demon logic checkings characterized by comprising emulation system System, P grades of controllers, executing agencies;
The analogue system sends test signal to the P grades of controller, and the P grades of controller tests signal control based on the received It makes the executing agency and executes corresponding actions, the executive condition of the executing agency gives the analogue system by data feedback, Whether the programmed logic for verifying the P grades of controller further according to the information analysis that the analogue system is read is correct;
The analogue system, P grades are connected by the first communication module, the second communication module respectively between controller, executing agency.
2. it is according to claim 1 based on CANoe to the analogue system of P grades of director demon logic checkings, feature exists In the analogue system includes: that DBC formulates module, control panel formulates module, simulation CAN bus signal transmitting module, simulation OBD diagnostic module, configured in one piece module, data record and observation module;
The DBC formulates module, the communication formulated according to tested P grades of controller and entire car controller, automatic anti-lock braking controller Agreement is formulated, and for extracting data information in CAN bus, ensures that CAN bus signal is sent, CAN bus signal is observed;
The control panel formulates module, for triggering the condition panel of P grades of controller tests, tests the work of P grades of controllers Parameter;
The simulation CAN bus signal transmitting module, the CAN bus for period simulation VCU controller, abs controller The message of transmission, and erroneous frame detection is carried out, the simulation CAN bus signal transmitting module passes through CAN bus and P grades of controllers Connection;
The OBD diagnostic module sends diagnostic message to P grades of controllers, tests P grades of controller journeys for simulating OBD diagnostic equipment Whether the diagnostic function of sequence is perfect;
The configured in one piece module, for configuring connection, the channel configuration of CANoe and hardware;
The data record and observation module become for recording data in CAN bus and saving with the signal of observation CAN bus Change, judges the correctness of P grades of director demon control logics.
3. it is according to claim 2 based on CANoe to the analogue system of P grades of director demon logic checkings, feature exists It include: that CAN signal enables button, automatic testing button, parking refer in the condition panel that, the control panel formulates module triggering It enables button, unlock instruction button, offline self study trigger button, request lower eletric button and speed brake.
4. it is according to claim 2 based on CANoe to the analogue system of P grades of director demon logic checkings, feature exists In the program that the simulation CAN bus signal transmitting module is write by CAPL language.
5. it is according to claim 2 based on CANoe to the analogue system of P grades of director demon logic checkings, feature exists In first communication module, the second communication module include CAN bus communication, the communication of K line, the communication of LIN line and SCI communication, are divided Not Fu Ze analogue system pass through CAN bus, K bus, LIN bus and SCI bus and P grades of controller communications.
CN201820781766.1U 2018-05-24 2018-05-24 Based on CANoe to the analogue system of P grades of director demon logic checkings Active CN208654634U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201820781766.1U CN208654634U (en) 2018-05-24 2018-05-24 Based on CANoe to the analogue system of P grades of director demon logic checkings

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201820781766.1U CN208654634U (en) 2018-05-24 2018-05-24 Based on CANoe to the analogue system of P grades of director demon logic checkings

Publications (1)

Publication Number Publication Date
CN208654634U true CN208654634U (en) 2019-03-26

Family

ID=65778977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201820781766.1U Active CN208654634U (en) 2018-05-24 2018-05-24 Based on CANoe to the analogue system of P grades of director demon logic checkings

Country Status (1)

Country Link
CN (1) CN208654634U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108646713A (en) * 2018-05-24 2018-10-12 广东戈兰玛汽车系统有限公司 Simulation system for program logic verification of P-gear controller based on CANoe

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108646713A (en) * 2018-05-24 2018-10-12 广东戈兰玛汽车系统有限公司 Simulation system for program logic verification of P-gear controller based on CANoe

Similar Documents

Publication Publication Date Title
CN110794810B (en) Method for carrying out integrated test on intelligent driving vehicle
CN109240261B (en) HIL (hardware-in-the-loop) testing method for vehicle networking performance testing
CN109740222B (en) Testing device and system for automobile networking scene
DE102011078012A1 (en) Automatic evaluation system for vehicle equipment using a vehicle simulator
CN102183945A (en) Multifunctional remote fault diagnosis system for electric control automobile
CN108646713A (en) Simulation system for program logic verification of P-gear controller based on CANoe
CN113608518B (en) Data generation method, device, terminal equipment and medium
CN110609491B (en) Accident identification method and system for semi-physical simulation of electric vehicle controller
CN113341917A (en) Internet of vehicles remote control end cloud integrated automatic test system and method
CN112925296B (en) A Graphical In-Vehicle Network Diagnosis Method Based on Artificial Intelligence
CN111538315A (en) A vehicle automatic driving function simulation test system and test method
CN104101504A (en) Motor car automatic testing method and device
Hu et al. Developing PC-based automobile diagnostic system based on OBD system
CN208654634U (en) Based on CANoe to the analogue system of P grades of director demon logic checkings
CN207274587U (en) Electric automobile electric-control system
CN113589796B (en) Constant-speed cruise test system and method based on hardware-in-the-loop
DE102021124274A1 (en) AUTOMATIC EVALUATION DEVICE FOR AN ON-BOARD VIDEO RECORDING DEVICE OF A VEHICLE, SYSTEM COMPRISING THEREOF AND METHOD THEREOF
CN103399569A (en) Automobile mini-type diagnostic device for judging automobile driving state and judging method thereof
CN114355791A (en) Simulation test method, system and computer readable storage medium for intelligent driving redundancy function
CN114488997A (en) ECU (electronic control Unit) flashing method and device, electronic equipment and storage medium
CN102207871A (en) PC(personal computer)-end ECU (electronic control unit) debugging software based on K line and KWP2000 protocol
CN118349473A (en) A test sequence generation method, device and electronic equipment
CN116800656B (en) CAN communication test method, system, device, electronic equipment and storage medium
CN214851308U (en) Vehicle-mounted equipment test system
CN117269648A (en) OTA function test system and test method based on automobile architecture

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant