CN114384892A - Test equipment, state detection method and device of vehicle control unit and electronic equipment - Google Patents

Test equipment, state detection method and device of vehicle control unit and electronic equipment Download PDF

Info

Publication number
CN114384892A
CN114384892A CN202111619046.8A CN202111619046A CN114384892A CN 114384892 A CN114384892 A CN 114384892A CN 202111619046 A CN202111619046 A CN 202111619046A CN 114384892 A CN114384892 A CN 114384892A
Authority
CN
China
Prior art keywords
state information
control unit
data
state
target
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
CN202111619046.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.)
Zhuhai Guangtong Automobile Co Ltd
Gree Altairnano New Energy Inc
Original Assignee
Zhuhai Guangtong Automobile Co Ltd
Gree Altairnano New Energy Inc
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 Zhuhai Guangtong Automobile Co Ltd, Gree Altairnano New Energy Inc filed Critical Zhuhai Guangtong Automobile Co Ltd
Priority to CN202111619046.8A priority Critical patent/CN114384892A/en
Publication of CN114384892A publication Critical patent/CN114384892A/en
Pending legal-status Critical Current

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

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application relates to a test device, a state detection method and a state detection device of a vehicle control unit, and an electronic device, wherein the state detection method applied to the test device comprises the following steps: under the condition of receiving an acquisition instruction sent by an upper computer, acquiring a data identifier carried in the acquisition instruction; determining a target data interface matched with the data identification in the plurality of data interfaces; collecting target state information through a target data interface; and returning the target state information to the upper computer. According to the method and the device, the testing equipment is connected with the vehicle control unit, so that the data interface of the testing equipment is connected with the pins of the vehicle control unit, the states of the pins of the vehicle control unit are obtained through the data interface, and the real-time state test of the vehicle control unit is realized.

Description

Test equipment, state detection method and device of vehicle control unit and electronic equipment
Technical Field
The application relates to the technical field of new energy vehicles, in particular to a test device, a vehicle control unit state detection method and device and electronic equipment.
Background
The VCU (Vehicle control unit) is a core of the whole control system, and is used as a central control unit of the electric Vehicle, and monitors the running state of each device of the electric Vehicle in real time, diagnoses, prompts and actively repairs the abnormal conditions, and ensures the safe running of the electric Vehicle. Also, because the VCU is so powerful, the performance state of the VCU should be guaranteed to be normal. In the automobile research and development stage, problems are caused in the online debugging process of a whole VCU, the state of the VCU is often required to be checked in real time, the test is generally carried out after the wire breaking process in the current engineering implementation, namely, the wire harness is broken to find out required signal wires from a plurality of circuits for testing, the process of checking the state of the VCU through the wire breaking process is time-consuming and labor-consuming, and the VCU cannot be put into use at once after the debugging is finished.
Aiming at the problems that the process of checking the state of the VCU through broken line processing is time-consuming and labor-consuming, and the VCU cannot be put into use immediately after debugging is finished, an effective solution is not provided at present.
Disclosure of Invention
The application provides a test device, a state detection method and a state detection device of a vehicle control unit, and an electronic device, and aims to solve the technical problems that the process of checking the state of a VCU through broken line processing is time-consuming and labor-consuming, and the VCU cannot be put into use immediately after debugging is finished.
According to an aspect of an embodiment of the present application, there is provided a method for detecting a state of a vehicle control unit, applied to a test device, including: under the condition of receiving an acquisition instruction sent by an upper computer, acquiring a data identifier carried in the acquisition instruction, wherein the upper computer is used for carrying out state analysis on the whole vehicle controller by using state information of the whole vehicle controller; determining a target data interface matched with the data identifier in a plurality of data interfaces, wherein the test equipment is connected with the vehicle control unit through a connector, the plurality of data interfaces form an array and are arranged on an interface panel of the test equipment, the plurality of data interfaces are used for extracting state information of the vehicle control unit from the connector of the vehicle control unit, and the state information extracted by different data interfaces is different; collecting target state information through a target data interface; and returning the target state information to the upper computer.
Optionally, under the condition that the acquisition instruction sent by the upper computer is received, acquiring the data identifier carried in the acquisition instruction includes: detecting the states of a plurality of data interfaces; and under the condition that all the data interfaces are in an available state, storing the received acquisition instruction and extracting the data identifier in the acquisition instruction.
Optionally, returning the target state information to the upper computer includes: analyzing the target state information to obtain a target state detection report; packing the target state detection report to obtain a target state information packet; and sending the target state information packet to an upper computer through a CAN bus.
According to another aspect of the embodiments of the present application, the present application provides a method for detecting a state of a vehicle control unit, which is applied to an upper computer, and includes: under the condition of receiving an acquisition instruction triggered by a user, acquiring a data identifier carried in the acquisition instruction; determining a target data interface matched with the data identifier in a plurality of data interfaces of the test equipment, wherein the test equipment is connected with the vehicle control unit through a connector, the plurality of data interfaces form an array and are arranged on an interface panel of the test equipment, the plurality of data interfaces are used for extracting state information of the vehicle control unit from the connector of the vehicle control unit, and the state information extracted by different data interfaces is different; collecting target state information through a target data interface; and displaying the target state information.
Optionally, after displaying the target status information, the method further includes: analyzing the target state information to obtain a target state detection report; extracting abnormal data of the target state from the target state detection report under the condition that the target state detection report indicates that the target state is different from the preset state; determining parameters to be adjusted according to the abnormal data; and adjusting the target state of the whole vehicle controller by using the parameters to be adjusted until the target state detection report indicates that the target state reaches a preset state.
According to another aspect of the embodiments of the present application, there is provided a state detection apparatus for a vehicle control unit, which is applied to a test device, and includes: the system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a state identifier carried in an acquisition instruction under the condition of receiving the acquisition instruction sent by an upper computer, and the upper computer is used for analyzing the acquired state information of the whole vehicle controller; the system comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining a target state interface matched with a state identifier in a plurality of state interfaces, the test equipment is connected with the whole vehicle controller through a connector, the plurality of state interfaces form an array and are arranged on an interface panel of the test equipment, the plurality of data interfaces are used for extracting state information of the whole vehicle controller from the connector of the whole vehicle controller, and the state information extracted by different data interfaces is different; the first acquisition module is used for acquiring target state information through a target state interface; and the return module is used for returning the target state information to the upper computer.
According to another aspect of the embodiments of the present application, the present application provides a state detection device of a vehicle control unit, which is applied to an upper computer, and includes: the second acquisition module is used for acquiring the state identifier carried in the acquisition instruction under the condition of receiving the acquisition instruction triggered by the user; the second determining module is used for determining a target state interface matched with the state identifier in a plurality of state interfaces of the test equipment, wherein the test equipment is connected with the whole vehicle controller through a connector, the plurality of state interfaces form an array and are arranged on an interface panel of the test equipment, the plurality of data interfaces are used for extracting state information of the whole vehicle controller from the connector of the whole vehicle controller, and the state information extracted by different data interfaces is different; the second acquisition module is used for acquiring target state information through the target state interface; and the display module is used for displaying the target state information.
According to another aspect of embodiments of the present application, there is provided a test apparatus including: the first connector is connected with a female connector of the whole vehicle controller; the second connector is connected with a male connector of the whole vehicle controller; the data interfaces are used for extracting state information of the whole vehicle controller from a male connector and a female connector of the whole vehicle controller, and the state information extracted by different data interfaces is different; the acquisition circuit is used for acquiring a plurality of state information of the whole vehicle controller through a plurality of data interfaces; the micro control unit is used for processing the acquired state information and sending the state information to the upper computer; the communication unit is used for transmitting data with the upper computer; and the display unit is used for displaying the state result obtained by the test.
According to another aspect of the embodiments of the present application, there is provided an electronic device, including a memory, a processor, a communication interface, and a communication bus, where the memory stores a computer program executable on the processor, and the memory and the processor communicate with each other through the communication bus and the communication interface, and the processor implements the steps of the method when executing the computer program.
According to another aspect of embodiments of the present application, there is also provided a computer-readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform any of the methods described above.
Compared with the related art, the technical scheme provided by the embodiment of the application has the following advantages:
the application provides a state detection method of a vehicle control unit, which is applied to test equipment and comprises the following steps: under the condition of receiving an acquisition instruction sent by an upper computer, acquiring a data identifier carried in the acquisition instruction, wherein the upper computer is used for carrying out state analysis on the whole vehicle controller by using state information of the whole vehicle controller; determining a target data interface matched with the data identifier in a plurality of data interfaces, wherein the test equipment is connected with the vehicle control unit through a connector, the plurality of data interfaces form an array and are arranged on an interface panel of the test equipment, the plurality of data interfaces are used for extracting state information of the vehicle control unit from the connector of the vehicle control unit, and the state information extracted by different data interfaces is different; collecting target state information through a target data interface; and returning the target state information to the upper computer. According to the method and the device, the testing equipment is connected with the vehicle control unit, so that the data interface of the testing equipment is connected with the pins of the vehicle control unit, the states of the pins of the vehicle control unit are obtained through the data interface, and the real-time state test of the vehicle control unit is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the technical solutions in the embodiments or related technologies of the present application, the drawings needed to be used in the description of the embodiments or related technologies will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without any creative effort.
Fig. 1 is a flowchart of an alternative method for detecting a state of a vehicle control unit applied to a testing device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of an optional state detection method applied to a vehicle control unit of an upper computer according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of an alternative test apparatus provided in an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a connection relationship of an alternative testing device according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an alternative upper computer display interface provided in accordance with an embodiment of the present application;
FIG. 6 is a schematic structural diagram of another alternative test apparatus provided in accordance with an embodiment of the present application;
fig. 7 is a block diagram of an alternative state detection apparatus applied to a vehicle control unit of a testing device according to an embodiment of the present disclosure;
fig. 8 is a block diagram of an alternative state detection device applied to a vehicle control unit of an upper computer according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
In the related art, in the automobile research and development stage, a problem occurs in the online debugging process of the vehicle controller, the state of each pin of the VCU interface is often checked in real time, and if the VCU connector is pulled out for measurement, real-time linearity of each signal cannot be guaranteed. Generally, measurement is carried out after wire breaking treatment in engineering implementation, at the moment, a wire harness needs to be broken to find out required signal wires from a plurality of circuits, time and labor are wasted, and the wire harness cannot be put into use again after debugging is finished.
In order to solve the problems mentioned in the background art, according to an aspect of an embodiment of the present application, as shown in fig. 1, the present application provides a method for detecting a state of a vehicle control unit, applied to a test device, including:
step 11, acquiring a data identifier carried in an acquisition instruction under the condition of receiving the acquisition instruction sent by an upper computer, wherein the upper computer is used for carrying out state analysis on the whole vehicle controller by using state information of the whole vehicle controller;
step 12, determining a target data interface matched with the data identifier in the plurality of data interfaces, wherein the test equipment is connected with the vehicle control unit through a connector, the plurality of data interfaces form an array and are arranged on an interface panel of the test equipment, the plurality of data interfaces are used for extracting state information of the vehicle control unit from the connector of the vehicle control unit, and the state information extracted by different data interfaces is different;
step 13, collecting target state information through a target data interface;
and step 14, returning the target state information to the upper computer.
Specifically, the upper computer in the embodiment of the present application may be a computer capable of directly sending an operation command, and is connected to the test device and the vehicle control unit through a communication protocol (for example, serial communication and serial communication).
Specifically, the acquisition instruction carries a data identifier, and the data identifier includes but is not limited to a key identifier, a gear identifier, a charging switch identifier, a brake signal identifier, an accelerator pedal identifier, a steering signal identifier, and the like. Each data identification can be matched with a corresponding data interface on an interface panel of the test equipment, and the data interfaces can extract state information corresponding to the data identification through the connectors.
Optionally, each data interface is connected to a pin of the vehicle controller, and different pins correspond to different status information.
Optionally, the test device extracts the data identifier from the received acquisition instruction, so that the corresponding target data interface is matched on an interface panel of the test device according to the data identifier, and the target state information extracted through the target data interface is returned to the upper computer for state analysis.
According to the scheme, the testing device is connected with the vehicle control unit, so that the pin state of the vehicle control unit can be detected in real time under the condition that a wire harness of the vehicle control unit is not damaged.
As an optional embodiment, in the case of receiving an acquisition instruction sent by an upper computer, acquiring a data identifier carried in the acquisition instruction includes: detecting the states of a plurality of data interfaces; and under the condition that all the data interfaces are in an available state, storing the received acquisition instruction and extracting the data identifier in the acquisition instruction.
Specifically, since the embodiment of the application extracts the state information of the vehicle control unit through the data interface, the states of the plurality of data interfaces need to be detected before testing.
Optionally, the step of detecting the states of the plurality of data interfaces comprises:
step 1, calling a detection interface of a testing device;
step 2, sending a detection request to a control unit of the testing device, wherein the detection request is used for acquiring result parameters for detecting a plurality of data interfaces;
and 3, receiving the result parameters returned by the control unit.
Optionally, under the condition that the result parameter indicates that all the data interfaces of the testing device are in the available state, the acquisition instruction sent by the upper computer is received, and the data identifier in the acquisition instruction is extracted, so that if fault state information occurs in the subsequent testing process, the interference caused by the fault of the data interface can be eliminated.
As an alternative embodiment, returning the target status information to the upper computer includes: analyzing the target state information to obtain a target state detection report; packing the target state detection report to obtain a target state information packet; and sending the target state information packet to an upper computer through a CAN bus.
Optionally, the testing device and the upper computer communicate data through a communication protocol of a CAN bus. CAN (Controller Area Network) was developed by bosch corporation of germany, which is known to develop and produce automotive electronics, is a serial communication protocol that is ISO internationally standardized and is one of the most internationally applied field buses.
Specifically, the CAN communication is not synchronous with a clock signal, and is asynchronous communication, which only has two signal lines CAN _ High and CAN _ Low, and together form a group of differential signal lines to perform communication in the form of differential signals.
Optionally, the target status information acquired by the data interface needs to be parsed into data suitable for CAN bus transmission/reading. For example, the state data of the accelerator pedal is extracted from a data interface corresponding to the accelerator pedal identification, the state data is in the form of a voltage signal at the moment, the voltage signal is converted into the form of a differential signal, and the state data is sent to an upper computer in the form of the differential signal through a CAN communication module, wherein the CAN communication module comprises CAN _ High and CAN _ Low lines, and the differential signal is received by a subsequent upper computer and then CAN be received and analyzed through a CAN transceiver, so that the state information of the accelerator pedal is obtained.
Optionally, the target state detection report obtained through analysis includes a plurality of signal data, and the plurality of signal data are packed and then transmitted, so that not only can the size of the transmitted data be compressed, but also check of single signal data can be avoided, and the transmission speed is increased.
According to the method, the testing equipment is connected to the vehicle control unit through the connector, and the state information of the vehicle control unit is obtained through the connector, so that the method for testing the state information of the vehicle control unit without damaging a connected wire harness is realized.
According to another aspect of the embodiments of the present application, as shown in fig. 2, the present application provides a method for detecting a state of a vehicle control unit, which is applied to an upper computer, and includes:
step 21, acquiring a data identifier carried in an acquisition instruction under the condition of receiving the acquisition instruction triggered by a user;
step 22, determining a target data interface matched with the data identifier in a plurality of data interfaces of the test equipment, wherein the test equipment is connected with the vehicle control unit through a connector, the plurality of data interfaces form an array and are arranged on an interface panel of the test equipment, the plurality of data interfaces are used for extracting state information of the vehicle control unit from the connector of the vehicle control unit, and the state information extracted by different data interfaces is different;
step 23, collecting target state information through a target data interface;
and 24, displaying the target state information.
Specifically, the upper computer can extract a data identifier from an acquisition instruction triggered by a user, extract target state information corresponding to the data identifier through a data interface, connect pins to the data interface to acquire pin information (i.e., state information), and then display the detected pin information through the display device.
As an alternative embodiment, after displaying the target status information, the method further comprises: analyzing the target state information to obtain a target state detection report; extracting abnormal data of the target state from the target state detection report under the condition that the target state detection report indicates that the target state is different from the preset state; determining parameters to be adjusted according to the abnormal data; and adjusting the target state of the whole vehicle controller by using the parameters to be adjusted until the target state detection report indicates that the target state reaches a preset state.
Optionally, after the upper computer receives the target state information through the transceiver of the CAN bus, the transceiver converts the CAN _ High and CAN _ Low signals received on the CAN bus into readable logic level signals to obtain an indication result of the target state information.
Specifically, after receiving the target state information, the upper computer may send a control instruction to the vehicle control unit according to a difference between the target state and the preset state when the target state detection report indicates that the target state is different from the preset state, so as to adjust a state parameter of the vehicle control unit.
Specifically, the structure of the test device in the above embodiment is shown in fig. 3, where a plurality of test jacks shown in the drawing correspond to the plurality of data interfaces, the MCU control unit shown in the drawing is configured to execute the state detection method applied to the vehicle controller of the test device, the test device is further provided with an indicator light for displaying a detection state result, and the test device is connected to the vehicle controller through the male connector and the female connector.
Specifically, the structure of the test equipment and the association relation with the upper computer are shown in fig. 4, the LED lamp shown in the figure is an indicator lamp for displaying a detection state result, the MCU collects the state information of the vehicle controller through the sampling circuit, the data form of the state information includes a voltage signal, a level signal or a PWM (pulse width modulation) signal, and then the collected state information is sent to the upper computer through the communication module.
Specifically, as shown in fig. 5, a display interface of the upper computer may display a pin status, that is, status information of the vehicle control unit, and the instruction message sent to the testing apparatus and the read status report are also displayed on the display interface.
Specifically, the structure of the test equipment can be as shown in fig. 6, without setting an MCU control unit, the state detection method of the vehicle controller can be directly executed by the upper computer. The male connector of the testing equipment is connected with the female connector of the vehicle control unit, the female connector is connected with the male connector of the vehicle control unit, and a plurality of testing jacks correspond to the plurality of data interfaces.
According to another aspect of the embodiments of the present application, as shown in fig. 7, the present application provides a state detection apparatus for a vehicle control unit, which is applied to a test device, and includes:
the first obtaining module 71 is configured to obtain a state identifier carried in an acquisition instruction when the acquisition instruction sent by an upper computer is received, where the upper computer is configured to analyze the obtained state information of the vehicle control unit;
the first determining module 72 is configured to determine a target state interface matched with the state identifier in a plurality of state interfaces, where the test device is connected with the vehicle controller through a connector, the plurality of state interfaces form an array and are disposed on an interface panel of the test device, the plurality of data interfaces are used to extract state information of the vehicle controller from the connector of the vehicle controller, and the state information extracted by different data interfaces is different;
a first collecting module 73, configured to collect target state information through the target state interface;
and the returning module 74 is used for returning the target state information to the upper computer.
Optionally, the first obtaining module 71 is further configured to detect states of the plurality of data interfaces; and under the condition that all the data interfaces are in an available state, storing the received acquisition instruction and extracting the data identifier in the acquisition instruction.
Optionally, the returning module 74 is further configured to analyze the target status information to obtain a target status detection report; packing the target state detection report to obtain a target state information packet; and sending the target state information packet to an upper computer through a CAN bus.
It should be noted that the sending module 71 in this embodiment may be configured to execute step 11 in this embodiment, the first determining module 72 in this embodiment may be configured to execute step 12 in this embodiment, the first acquiring module 73 in this embodiment may be configured to execute step 13 in this embodiment, and the returning module 74 in this embodiment may be configured to execute step 14 in this embodiment.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. The modules may be implemented as part of an apparatus by software or hardware.
According to another aspect of the embodiments of the present application, as shown in fig. 8, the present application provides a state detection device of a vehicle control unit, which is applied to an upper computer, and includes:
the second obtaining module 81 is configured to obtain a state identifier carried in an acquisition instruction under the condition that the acquisition instruction triggered by a user is received;
a second determining module 82, configured to determine a target state interface matched with the state identifier in multiple state interfaces of the test device, where the test device is connected with the vehicle controller through a joint, the multiple state interfaces form an array and are arranged on an interface panel of the test device, the multiple data interfaces are used to extract state information of the vehicle controller from the joint of the vehicle controller, and the state information extracted by different data interfaces is different;
a second collecting module 83, configured to collect target state information through the target state interface;
and a display module 84, configured to display the target status information.
It should be noted that the sending module 81 in this embodiment may be configured to execute step 21 in this embodiment, the first determining module 82 in this embodiment may be configured to execute step 22 in this embodiment, the first acquiring module 83 in this embodiment may be configured to execute step 23 in this embodiment, and the displaying module 84 in this embodiment may be configured to execute step 24 in this embodiment.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. The modules may be implemented as part of an apparatus by software or hardware.
According to another aspect of embodiments of the present application, there is provided a test apparatus including: the first connector is connected with a female connector of the whole vehicle controller; the second connector is connected with a male connector of the whole vehicle controller; the data interfaces are used for extracting state information of the whole vehicle controller from a male connector and a female connector of the whole vehicle controller, and the state information extracted by different data interfaces is different; the acquisition circuit is used for acquiring a plurality of state information of the whole vehicle controller through a plurality of data interfaces; the micro control unit is used for processing the acquired state information and sending the state information to the upper computer; the communication unit is used for transmitting data with the upper computer; and the display unit is used for displaying the state result obtained by the test.
Optionally, the first connector of the testing device is connected with a female connector of the vehicle control unit, and the second connector is connected with a male connector of the vehicle control unit through a wiring harness.
According to another aspect of the embodiments of the present application, as shown in fig. 9, the present application provides an electronic device, which includes a memory 91, a processor 92, a communication interface 93 and a communication bus 94, wherein a computer program operable on the processor 92 is stored in the memory 91, the memory 91 and the processor 92 communicate with each other through the communication bus 94 and the communication interface 93, and the steps of the method are implemented when the processor 92 executes the computer program.
The memory and the processor in the electronic equipment are communicated with the communication interface through a communication bus. The communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
According to another aspect of embodiments of the present application, there is also provided a computer-readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform any of the methods described above.
The application provides a state detection method of a vehicle control unit, which is applied to test equipment and comprises the following steps: under the condition of receiving an acquisition instruction sent by an upper computer, acquiring a data identifier carried in the acquisition instruction, wherein the upper computer is used for carrying out state analysis on the whole vehicle controller by using state information of the whole vehicle controller; determining a target data interface matched with the data identifier in a plurality of data interfaces, wherein the test equipment is connected with the vehicle control unit through a connector, the plurality of data interfaces form an array and are arranged on an interface panel of the test equipment, the plurality of data interfaces are used for extracting state information of the vehicle control unit from the connector of the vehicle control unit, and the state information extracted by different data interfaces is different; collecting target state information through a target data interface; and returning the target state information to the upper computer. According to the method and the device, the testing equipment is connected with the vehicle control unit, so that the data interface of the testing equipment is connected with the pins of the vehicle control unit, the states of the pins of the vehicle control unit are obtained through the data interface, and the real-time state test of the vehicle control unit is realized.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
When the embodiments of the present application are specifically implemented, reference may be made to the above embodiments, and corresponding technical effects are achieved.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or may be implemented in the form of a software product stored in a storage medium and including several 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 methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk. It is noted that, in this document, 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 phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A state detection method of a vehicle control unit is applied to test equipment and is characterized by comprising the following steps:
under the condition of receiving an acquisition instruction sent by an upper computer, acquiring a data identifier carried in the acquisition instruction, wherein the upper computer is used for carrying out state analysis on the vehicle control unit by using state information of the vehicle control unit;
determining a target data interface matched with the data identifier in a plurality of data interfaces, wherein the test equipment is connected with the vehicle control unit through a connector, the plurality of data interfaces form an array and are arranged on an interface panel of the test equipment, the plurality of data interfaces are used for extracting state information of the vehicle control unit from the connector of the vehicle control unit, and the state information extracted by different data interfaces is different;
collecting target state information through the target data interface;
and returning the target state information to the upper computer.
2. The method according to claim 1, wherein the acquiring, in the case of receiving an acquisition instruction sent by an upper computer, a data identifier carried in the acquisition instruction comprises:
detecting the state of the plurality of data interfaces;
and under the condition that all data interfaces are in an available state, storing the received acquisition instruction, and extracting the data identification in the acquisition instruction.
3. The method of claim 1, wherein returning the target state information to the upper computer comprises:
analyzing the target state information to obtain a target state detection report;
packing the target state detection report to obtain a target state information packet;
and sending the target state information packet to the upper computer through a CAN bus.
4. A state detection method of a vehicle control unit is applied to an upper computer and is characterized by comprising the following steps:
under the condition of receiving an acquisition instruction triggered by a user, acquiring a data identifier carried in the acquisition instruction;
determining a target data interface matched with the data identifier in a plurality of data interfaces of a test device, wherein the test device is connected with the vehicle control unit through a joint, the plurality of data interfaces form an array and are arranged on an interface panel of the test device, the plurality of data interfaces are used for extracting state information of the vehicle control unit from the joint of the vehicle control unit, and the state information extracted by different data interfaces is different;
collecting target state information through the target data interface;
and displaying the target state information.
5. The method of claim 4, wherein after said displaying the target status information, the method further comprises:
analyzing the target state information to obtain a target state detection report;
under the condition that the target state detection report indicates that the target state is different from a preset state, extracting abnormal data of the target state from the target state detection report;
determining parameters to be adjusted according to the abnormal data;
and adjusting the target state of the vehicle control unit by using the parameter to be adjusted until the target state detection report indicates that the target state reaches the preset state.
6. The utility model provides a vehicle control unit's state detection device, is applied to test equipment, its characterized in that includes:
the system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a state identifier carried in an acquisition instruction under the condition of receiving the acquisition instruction sent by an upper computer, and the upper computer is used for analyzing the acquired state information of the whole vehicle controller;
the testing equipment comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining a target state interface matched with the state identifier in a plurality of state interfaces, the testing equipment is connected with the whole vehicle controller through a connector, the plurality of state interfaces form an array and are arranged on an interface panel of the testing equipment, the plurality of data interfaces are used for extracting state information of the whole vehicle controller from the connector of the whole vehicle controller, and the state information extracted by different data interfaces is different;
the first acquisition module is used for acquiring target state information through the target state interface;
and the return module is used for returning the target state information to the upper computer.
7. The utility model provides a vehicle control unit's state detection device, is applied to the host computer, its characterized in that includes:
the second acquisition module is used for acquiring the state identifier carried in the acquisition instruction under the condition of receiving the acquisition instruction triggered by the user;
the second determining module is configured to determine a target state interface matched with the state identifier in a plurality of state interfaces of a testing device, where the testing device is connected with the vehicle controller through a connector, the plurality of state interfaces form an array and are arranged on an interface panel of the testing device, the plurality of data interfaces are used to extract state information of the vehicle controller from the connector of the vehicle controller, and the state information extracted by different data interfaces is different;
the second acquisition module is used for acquiring target state information through the target state interface;
and the display module is used for displaying the target state information.
8. A test apparatus, comprising:
the first connector is connected with a female connector of the whole vehicle controller;
the second connector is connected with a male connector of the whole vehicle controller;
the data interfaces are arranged on an interface panel of the test equipment in an array mode, the data interfaces are used for extracting state information of the vehicle control unit from the male connector and the female connector of the vehicle control unit, and the state information extracted by different data interfaces is different;
the acquisition circuit is used for acquiring a plurality of state information of the whole vehicle controller through the plurality of data interfaces;
the micro control unit is used for processing the acquired state information and sending the state information to the upper computer;
the communication unit is used for transmitting data with the upper computer;
and the display unit is used for displaying the state result obtained by the test.
9. An electronic device comprising a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program operable on the processor, and the memory and the processor communicate with the communication interface via the communication bus, wherein the processor implements the steps of the method according to any of the claims 1 to 3 or 4 to 5 when executing the computer program.
10. A computer readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1 to 3 or 4 to 5.
CN202111619046.8A 2021-12-27 2021-12-27 Test equipment, state detection method and device of vehicle control unit and electronic equipment Pending CN114384892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111619046.8A CN114384892A (en) 2021-12-27 2021-12-27 Test equipment, state detection method and device of vehicle control unit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111619046.8A CN114384892A (en) 2021-12-27 2021-12-27 Test equipment, state detection method and device of vehicle control unit and electronic equipment

Publications (1)

Publication Number Publication Date
CN114384892A true CN114384892A (en) 2022-04-22

Family

ID=81197847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111619046.8A Pending CN114384892A (en) 2021-12-27 2021-12-27 Test equipment, state detection method and device of vehicle control unit and electronic equipment

Country Status (1)

Country Link
CN (1) CN114384892A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115016434A (en) * 2022-06-08 2022-09-06 河南职业技术学院 Rack and whole vehicle data linkage method and electronic equipment
CN116842983A (en) * 2023-08-29 2023-10-03 西安法拉第电子科技有限公司 Data processing method and system
CN117156319A (en) * 2023-11-01 2023-12-01 常州拜特测控技术有限公司 Test data transmission method, system, intelligent terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115016434A (en) * 2022-06-08 2022-09-06 河南职业技术学院 Rack and whole vehicle data linkage method and electronic equipment
CN116842983A (en) * 2023-08-29 2023-10-03 西安法拉第电子科技有限公司 Data processing method and system
CN117156319A (en) * 2023-11-01 2023-12-01 常州拜特测控技术有限公司 Test data transmission method, system, intelligent terminal and storage medium
CN117156319B (en) * 2023-11-01 2024-02-09 常州拜特测控技术有限公司 Test data transmission method, system, intelligent terminal and storage medium

Similar Documents

Publication Publication Date Title
CN114384892A (en) Test equipment, state detection method and device of vehicle control unit and electronic equipment
CN107918382B (en) Automobile fault diagnosis method, automobile fault diagnosis device and electronic equipment
CN104579816B (en) Diagnose the method and system of vehicle network
CN102592414A (en) Test platform of driver active safety early warning system
CN107677166B (en) Full-electronic trigger fuze tester and testing method thereof
CN103543399A (en) Car CAN bus module fully-automatic detection system and method based on PCI board card
US11514731B2 (en) Method and system for remote vehicle diagnostics
CN109733238B (en) Fault detection method, device, storage medium and processor
CN111506047B (en) Vehicle diagnosis method, device and storage medium
CN109001576B (en) Vehicle collision simulation test method and device
CN103970628A (en) Automatic detection system and automatic detection method thereof
CN110208615A (en) A kind of electromagnetic compatibility Bulk current injection anti-interference test method
CN111459616B (en) Test method, device, equipment and storage medium
CN115470064A (en) Security test method and device for device to be tested, electronic device and storage medium
CN103913728A (en) Portable radar general-purpose tester and testing method
CN116436833A (en) Fault diagnosis method, device and equipment in switch port test
CN103699077A (en) Bluetooth intelligent mobile terminal-based hydrodynamic retarder monitoring system
CN104914376A (en) Digital circuit state detection circuit and digital circuit state detection method
CN112903308A (en) Performance detection method and device for automobile equipment, electronic equipment and storage medium
CN111142504B (en) Bus detection device and method
CN117110794A (en) Intelligent diagnosis system and method for cable faults
CN202855049U (en) Test platform of driver active safety early warning system
CN104765024A (en) Onboard radar jamming automatic detection system
CN116775464A (en) Whole vehicle testing method and system
CN114326669A (en) Vehicle IO test method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication