CN117312172A - Method, system, terminal and medium for detecting VTCU controller before offline - Google Patents
Method, system, terminal and medium for detecting VTCU controller before offline Download PDFInfo
- Publication number
- CN117312172A CN117312172A CN202311458048.2A CN202311458048A CN117312172A CN 117312172 A CN117312172 A CN 117312172A CN 202311458048 A CN202311458048 A CN 202311458048A CN 117312172 A CN117312172 A CN 117312172A
- Authority
- CN
- China
- Prior art keywords
- controller
- vtcu
- detection
- function
- program
- 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
Links
- 238000000034 method Methods 0.000 title claims description 21
- 238000001514 detection method Methods 0.000 claims abstract description 232
- 230000006870 function Effects 0.000 claims abstract description 190
- 238000012360 testing method Methods 0.000 claims abstract description 24
- 230000002159 abnormal effect Effects 0.000 claims abstract description 20
- 230000003993 interaction Effects 0.000 claims abstract description 13
- 230000001680 brushing effect Effects 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 claims description 4
- 238000011010 flushing procedure Methods 0.000 claims 1
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000004092 self-diagnosis Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000007689 inspection Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3696—Methods or tools to render software testable
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The invention relates to the field of detection of a VTCU (virtual center unit) controller, and particularly discloses a detection method, a detection system, a detection terminal and a detection medium before offline of the VTCU controller, wherein a function detection program is written into the VTCU controller; the detection function detects whether program writing is successful; if the VTCU controller is not successfully judged to be unqualified; if the detection execution command is successfully sent to the VTCU controller and the detection tool controller, triggering the interaction of the VTCU controller and the detection tool controller according to the function detection program to execute the function detection of the VTCU controller; receiving a detection signal of the VTCU controller for executing function detection; judging whether each related function of the VTCU controller is normal or not according to the detection signals; if all relevant functions are normal, judging that the VTCU controller is qualified; if any relevant function is abnormal, judging that the VTCU controller is not qualified. The invention realizes automatic function test before the VTCU controller is disconnected by controlling the detection flow by the upper computer, reduces manual operation, improves the test efficiency, has comprehensive test functions, and ensures comprehensive detection of the functions of the VTCU controller.
Description
Technical Field
The invention relates to the field of detection of a VTCU controller, in particular to a detection method, a detection system, a detection terminal and a detection medium before offline of the VTCU controller.
Background
Due to the vehicle cost reduction requirements, VCU (whole vehicle controller) and TCU (transmission controller) are integrated into one VTCU controller. The VTCU, which is one of the core controllers of the vehicle, has a relatively high demand for its product quality. At present, in SMT manufacturers, AOI (automatic optical inspection) and ICT (on-line inspection) are only carried out on welded PCB, and the functions of a VTCU controller cannot be completely guaranteed.
For detecting the function of the VTCU controller, the load such as a relay, a switch and the like is adopted through a detection tool to perform item-by-item testing on the functions such as high/low side, high/low effective, position sensor detection and the like of the VTCU controller, however, the testing process needs manual and item-by-item testing, the labor cost is high and the production efficiency is low due to more procedures, and the EEPROM and the IMU inertial unit cannot perform function judgment through the detection tool, so that the function testing of the EEPROM and the IMU inertial unit needs to be independently performed again, and the testing efficiency is influenced.
Disclosure of Invention
In order to solve the problems, the invention provides a detection method, a system, a terminal and a medium before the offline of a VTCU controller, wherein an upper computer controls a detection flow, so that automatic function test before the offline of the VTCU controller is realized, manual operation is reduced, test efficiency is improved, test functions are comprehensive, and comprehensive detection of the functions of the VTCU controller is ensured.
In a first aspect, the present invention provides a detection method before offline of a VTCU controller, including the following steps:
brushing a function detection program to the VTCU controller;
the detection function detects whether program writing is successful;
if not, judging that the VTCU controller is unqualified;
if the function detection program is successful, sending a detection execution command to the VTCU controller and the detection tool controller, and triggering the VTCU controller and the detection tool controller to interact according to the function detection program so as to execute the function detection of the VTCU controller;
receiving a detection signal of the VTCU controller for executing function detection;
judging whether each related function of the VTCU controller is normal or not according to the detection signals;
if all relevant functions of the VTCU controller are normal, judging that the VTCU controller is qualified;
and if any relevant function of the VTCU controller is abnormal, judging that the VTCU controller is not qualified.
In an alternative embodiment, after sending the detection execution command to the VTCU controller and the detection tool controller, the method specifically includes the following steps:
judging whether a detection signal for detecting the execution function of the VTCU controller is received within a preset time length;
if not, judging that the CAN bus of the VTCU controller is abnormal in function, and judging that the VTCU controller is unqualified;
if yes, judging whether the attribute of the received detection signal is normal, including whether the type of the detection signal is normal and whether the quantity of the detection signal is normal;
if not, judging that the CAN bus of the VTCU controller is abnormal in function, and judging that the VTCU controller is unqualified;
if so, judging that the CAN bus of the VTCU controller is normal, and judging whether each relevant function of the VTCU controller is normal according to the detection signals.
In an alternative embodiment, the detection signals of the VTCU controller performing the function detection include a key signal, a wake-up signal, a high-side function detection signal, a low-side function detection signal, a PWM acquisition signal, a high-efficiency signal, a low-efficiency signal, a 5V power output and analog acquisition signal, a position sensor detection signal, an input shaft sensor detection signal, an output shaft sensor detection signal, an EEPROM self-test signal, and an IMU inertial unit self-test signal.
In an alternative embodiment, determining whether each relevant function of the VTCU controller is normal according to the detection signal specifically includes:
and comparing each detection signal with the state of the relevant expected signal, and judging whether each relevant function of the VTCU controller is normal or not according to the comparison result.
In an alternative embodiment, if each relevant function of the VTCU controller is normal, the method further comprises the following steps:
writing a boot program into the VTCU controller;
detecting whether the boot program is successfully written;
if successful, judging that the VTCU controller is qualified;
if not, judging that the VTCU controller is not qualified.
In an alternative embodiment, after the boot program is written to the VTCU controller, the method further comprises the steps of:
monitoring the refreshing progress of a boot program;
and displaying the refreshing progress of the boot program on a man-machine interaction interface.
In an alternative embodiment, after the function detection program is written to the VTCU controller, the method further comprises the steps of:
monitoring the refreshing progress of the function detection program;
and displaying the refreshing progress of the function detection program on a human-computer interaction interface.
In a second aspect, the present invention provides a detection system before offline of a VTCU controller, including,
program brushing module: brushing a function detection program to the VTCU controller;
program brush writing detection module: the detection function detects whether program writing is successful;
program brushing detection result processing module: if the function detection program is not written successfully, judging that the VTCU controller is unqualified; if the function detection program is successfully written, sending a detection execution command to the VTCU controller and the detection tool controller, and triggering the VTCU controller and the detection tool controller to interact according to the function detection program so as to execute function detection on the VTCU controller;
VTCU controller function determination module: receiving a detection signal of the VTCU controller for executing function detection; judging whether each related function of the VTCU controller is normal or not according to the detection signals; if all relevant functions of the VTCU controller are normal, judging that the VTCU controller is qualified; and if any relevant function of the VTCU controller is abnormal, judging that the VTCU controller is not qualified.
In a third aspect, a technical solution of the present invention provides a terminal, including:
the memory is used for storing a detection program before the VTCU controller is disconnected;
and the processor is used for implementing the steps of the detection method before the VTCU controller is offline when executing the detection program before the VTCU controller is offline.
In a fourth aspect, the present invention provides a computer readable storage medium, where a detection program before the VTCU controller goes offline is stored on the readable storage medium, where the detection program before the VTCU controller goes offline is executed by a processor to implement the steps of the detection method before the VTCU controller goes offline as described in any one of the above.
The detection method, the detection system, the detection terminal and the storage medium before offline of the VTCU controller provided by the invention have the following beneficial effects compared with the prior art: the upper computer executes the detection method, a function detection program is written into the VTCU controller, interaction between the VTCU controller and the detection tool controller according to the function detection program is triggered to execute function detection on the VTCU controller, the VTCU controller automatically feeds detection signals back to the upper computer, and the upper computer analyzes the detection signals to automatically judge whether the functions of the VTCU controller are normal or not. The invention realizes automatic function test before the VTCU controller is disconnected by controlling the detection flow by the upper computer, reduces manual operation, improves the test efficiency, has comprehensive test functions, and ensures comprehensive detection of the functions of the VTCU controller.
Drawings
For a clearer description of embodiments of the invention or of the prior art, the drawings that are used in the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained from them without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a detection method before offline of a VTCU controller according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of an interaction architecture of a VTCU controller and a detection tool controller.
Fig. 3 is a schematic flow chart of a detection method before offline of a VTCU controller according to an embodiment of the present invention.
Fig. 4 is a schematic block diagram of a detection system before a VTCU controller is disconnected according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Aiming at the problem that the current VTCU controller has lower function detection efficiency, the embodiment of the invention provides a detection method before the VTCU controller is off line, the upper computer controls the detection flow, triggers automatic interaction between the VTCU controller and the detection tool controller to carry out the test, collects the detection result and realizes the automatic detection of the function of the VTCU controller.
Fig. 1 is a schematic architecture diagram of a detection method before a VTCU controller is disconnected, and fig. 2 is an interactive architecture diagram of the VTCU controller and a detection tool controller, wherein the VTCU controller is connected with the detection tool controller through a test harness and a CAN bus, and an upper computer is connected to the CAN bus through a CAN acquisition card to realize communication with the VTCU controller and the detection tool controller. After receiving the execution command, the VTCU controller and the detection tool controller sequentially detect each function of the VTCU controller according to the detection flow of the function detection program, and the specific function detection method uses the existing detection method. The detection tool controller of the embodiment has high/low effective detection and analog quantity signal acquisition and detection functions, provides support for a high/low side output function, a 5V power supply, a position sensor, an input shaft sensor, an output shaft sensor and the like, and CAN realize detection of a KEY_ON signal and an AWAKE signal judgment function, a high side output and self-diagnosis function, a low side output and self-diagnosis function, a high/low effective detection function, a PWM signal acquisition function, a 5V power supply output and self-diagnosis function, an analog quantity signal acquisition function, a position sensor detection function, an input shaft sensor detection function, an output shaft sensor detection function, an EEPROM self-diagnosis function, an IMU inertial unit self-diagnosis function and a CAN bus communication function of the VTCU controller.
Fig. 3 is a schematic flow chart of a detection method before offline of a VTCU controller according to an embodiment of the present invention, where the execution body in fig. 3 may be a detection system before offline of the VTCU controller. The detection method before the offline of the VTCU controller provided by the embodiment of the invention is executed by the computer equipment, and correspondingly, the detection system before the offline of the VTCU controller runs in the computer equipment. The order of the steps in the flow chart may be changed and some may be omitted according to different needs.
As shown in fig. 3, the method includes the following steps.
S1, a function detection program is written into the VTCU controller.
It should be noted that, the detection tool controller is pre-written with a related detection program, and after the VTCU controller to be detected is connected with the detection tool controller, the VTCU controller is only required to be written with a function detection program. After the current VTCU controller is detected, the current VTCU controller is pulled out from the detection station, and then the next VTCU controller to be detected is installed for detection.
S2, the detection function detects whether program writing is successful.
In this embodiment, after the function detection program is written into the VTCU controller, the refresh progress of the function detection program is monitored in real time, and the refresh progress of the function detection program is displayed on the man-machine interaction interface, so that the inspector can intuitively and timely view the writing progress on the interface. It should be noted that the result of the brushing is also displayed on the interface, and the next step is prompted after the brushing is successful.
And S3, if the controller is unsuccessful, judging that the VTCU controller is not qualified.
And S4, if the detection is successful, sending a detection execution command to the VTCU controller and the detection tool controller, and triggering the VTCU controller and the detection tool controller to interact according to a function detection program so as to execute the function detection of the VTCU controller.
After receiving the detection execution command, the VTCU controller and the detection tool controller start to execute the function detection program, and perform corresponding interaction according to the detection flow specified by the function detection program, so as to sequentially detect each function of the VTCU controller.
S5, receiving a detection signal of the VTCU controller for executing function detection.
The upper computer and the VTCU controller are communicated through the CAN bus, if the CAN bus of the VTCU controller CAN normally communicate, the correct detection signal CAN be received, otherwise, the detection signal CAN not be received or the received detection signal is abnormal. Based on the above, after sending a detection execution command to the VTCU controller and the detection tool controller, the embodiment first determines whether a detection signal for detecting the function executed by the VTCU controller is received within a preset time period; if not, judging that the CAN bus of the VTCU controller is abnormal in function, and judging that the VTCU controller is unqualified; if yes, judging whether the attribute of the received detection signal is normal, including whether the type of the detection signal is normal and whether the quantity of the detection signal is normal; if not, judging that the CAN bus of the VTCU controller is abnormal in function, and judging that the VTCU controller is unqualified; if so, judging that the CAN bus of the VTCU controller is normal in function, and executing the next step to judge whether each relevant function of the VTCU controller is normal according to the detection signal. The detection of the CAN bus function of the VTCU controller is realized through the steps.
And S6, judging whether each relevant function of the VTCU controller is normal or not according to the detection signals.
In this embodiment, the detection signals include a KEY (key_on) signal, a wake-up (AWAKE) signal, a high-side function detection signal, a low-side function detection signal, a PWM acquisition signal, a high-efficiency signal, a low-efficiency signal, a 5V power output, an analog acquisition signal, a position sensor detection signal, an input shaft sensor detection signal, an output shaft sensor detection signal, an EEPROM self-test signal, and an IMU inertial unit self-test signal.
And comparing each detection signal with the state of the relevant expected signal, and judging whether each relevant function of the VTCU controller is normal or not according to the comparison result. If the detected signal is the same as the relevant expected signal, the relevant function is normal, otherwise, the relevant function is abnormal.
And S7, if all relevant functions of the VTCU controller are normal, judging that the VTCU controller is qualified.
And S8, if any relevant function of the VTCU controller is abnormal, judging that the VTCU controller is unqualified.
In order to improve factory efficiency of the VTCU controller, when all relevant functions of the VTCU controller are normal after detection of all relevant functions of the VTCU controller are finished, the boot brushing of the boot program is automatically finished at the current station. Specifically, after each relevant function of the VTCU controller is normal, the boot program is written into the VTCU controller, whether the boot program is written successfully or not is detected, if so, the VTCU controller is judged to be qualified, if not, the VTCU controller is judged to be unqualified, and meanwhile, the detection of the boot writing function of the VTCU controller is realized.
After the boot program is written into the VTCU controller, the refreshing progress of the boot program is monitored, the refreshing progress of the boot program is displayed on a human-computer interaction interface, so that a inspector can know the writing progress in time, and meanwhile, the writing result is displayed on the interface.
In one embodiment, a 24V direct current power supply, a VTCU controller, a detection tool controller and a CAN acquisition card are connected together through a test harness, and then the CAN acquisition card is connected with an upper computer (with an installed off-line detection software) to form a detection framework for a VTCU controller production line. Clicking a 'test program flashing' button in the offline detection software to start flashing a test program in the VTCU controller, if the detection software prompts that the flashing fails, the VTCU controller is unqualified, if the detection software prompts that the flashing succeeds, clicking the 'offline detection' button in the offline detection software to start the offline function test of hardware of the VTCU controller, if the detection software prompts that the function is abnormal, the VTCU controller is unqualified, if the detection software prompts that the function is normal, clicking a 'BOOT flashing' button in the offline detection software to start flashing a BOOT program in the VTCU controller, if the detection software prompts that the flashing fails, the VTCU controller is unqualified, if the detection software prompts that the flashing succeeds, the VTCU controller is qualified, and the detection process is ended, and the VTCU controller meets the offline requirement.
The embodiment of the detection method before the VTCU controller is offline is described in detail above, and based on the detection method before the VTCU controller is offline described in the above embodiment, the embodiment of the invention further provides a detection system before the VTCU controller is offline, which corresponds to the detection method.
Fig. 4 is a schematic block diagram of a detection system before offline of a VTCU controller according to an embodiment of the present invention, where the detection system 400 before offline of the VTCU controller may be divided into a plurality of functional modules according to the functions performed by the detection system, as shown in fig. 4. The functional module may include: program flashing module 410, program flashing detection module 420, program flashing detection result processing module 430, VTCU controller function determination module 440, boot program flashing module 450. The module referred to in the present invention refers to a series of computer program segments capable of being executed by at least one processor and of performing a fixed function, stored in a memory.
Program brush module 410: the function detection program is written to the VTCU controller.
Program brush detection module 420: the detection function detects whether the program brush writing was successful.
Program brush detection result processing module 430: if the function detection program is not written successfully, judging that the VTCU controller is unqualified; and if the function detection program is successfully written, sending a detection execution command to the VTCU controller and the detection tool controller, and triggering the VTCU controller and the detection tool controller to interact according to the function detection program so as to execute the function detection of the VTCU controller.
VTCU controller function determination module 440: receiving a detection signal of the VTCU controller for executing function detection; judging whether each related function of the VTCU controller is normal or not according to the detection signals; if all relevant functions of the VTCU controller are normal, judging that the VTCU controller is qualified; and if any relevant function of the VTCU controller is abnormal, judging that the VTCU controller is not qualified.
In an alternative embodiment, VTCU controller function determination module 440 is further configured to determine whether a detection signal for VTCU controller to perform a function detection has been received within a preset time period; if not, judging that the CAN bus of the VTCU controller is abnormal in function, and judging that the VTCU controller is unqualified; if yes, judging whether the attribute of the received detection signal is normal, including whether the type of the detection signal is normal and whether the quantity of the detection signal is normal; if not, judging that the CAN bus of the VTCU controller is abnormal in function, and judging that the VTCU controller is unqualified; if so, judging that the CAN bus of the VTCU controller is normal, and judging whether each relevant function of the VTCU controller is normal according to the detection signals.
In an alternative embodiment, program flush detection module 420 is further configured to monitor the progress of the refresh of the function detection program; and displaying the refreshing progress of the function detection program on a human-computer interaction interface.
In an alternative embodiment, the system 400 further includes a boot program brushing module 450 configured to brush the boot program to the VTCU controller after each relevant function of the VTCU controller is normal; detecting whether the boot program is successfully written; if successful, judging that the VTCU controller is qualified; if not, judging that the VTCU controller is not qualified.
In an alternative embodiment, the boot program brushing module 450 is further configured to monitor the refresh progress of the boot program; and displaying the refreshing progress of the boot program on a man-machine interaction interface.
The VTCU controller pre-offline detection system of this embodiment is used to implement the aforementioned VTCU controller pre-offline detection method, so that the specific implementation of this system can be seen from the foregoing example portion of the VTCU controller pre-offline detection method, and therefore, the specific implementation thereof may refer to the description of the corresponding examples of the various portions and will not be described herein.
In addition, since the detection system before offline of the VTCU controller in this embodiment is used to implement the detection method before offline of the VTCU controller, the function of the detection system corresponds to that of the detection method, and thus, the description thereof will not be repeated.
Fig. 5 is a schematic structural diagram of a terminal 500 according to an embodiment of the present invention, including: a processor 510, a memory 520 and a communication unit 530. The processor 510 is configured to implement the following steps when implementing the VTCU controller offline detection program stored in the memory 520:
brushing a function detection program to the VTCU controller;
the detection function detects whether program writing is successful;
if not, judging that the VTCU controller is unqualified;
if the function detection program is successful, sending a detection execution command to the VTCU controller and the detection tool controller, and triggering the VTCU controller and the detection tool controller to interact according to the function detection program so as to execute the function detection of the VTCU controller;
receiving a detection signal of the VTCU controller for executing function detection;
judging whether each related function of the VTCU controller is normal or not according to the detection signals;
if all relevant functions of the VTCU controller are normal, judging that the VTCU controller is qualified;
and if any relevant function of the VTCU controller is abnormal, judging that the VTCU controller is not qualified.
The terminal 500 comprises a processor 510, a memory 520 and a communication unit 530. The components may communicate via one or more buses, and it will be appreciated by those skilled in the art that the configuration of the server as shown in the drawings is not limiting of the invention, as it may be a bus-like structure, a star-like structure, or include more or fewer components than shown, or may be a combination of certain components or a different arrangement of components.
The memory 520 may be used to store instructions for execution by the processor 510, and the memory 520 may be implemented by any type of volatile or non-volatile memory terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. The execution of the instructions in memory 520, when executed by processor 510, enables terminal 500 to perform some or all of the steps in the method embodiments described below.
The processor 510 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by running or executing software programs and/or modules stored in the memory 520, and invoking data stored in the memory. The processor may be comprised of an integrated circuit (Integrated Circuit, simply referred to as an IC), for example, a single packaged IC, or may be comprised of a plurality of packaged ICs connected to the same function or different functions. For example, the processor 510 may include only a central processing unit (Central Processing Unit, simply CPU). In the embodiment of the invention, the CPU can be a single operation core or can comprise multiple operation cores.
A communication unit 530 for establishing a communication channel so that the storage terminal can communicate with other terminals. Receiving user data sent by other terminals or sending the user data to other terminals.
The invention also provides a computer storage medium, which can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (random access memory, RAM) and the like.
The computer storage medium stores a detection program before the VTCU controller is off-line, and when the detection program before the VTCU controller is off-line is executed by the processor, the following steps are implemented:
brushing a function detection program to the VTCU controller;
the detection function detects whether program writing is successful;
if not, judging that the VTCU controller is unqualified;
if the function detection program is successful, sending a detection execution command to the VTCU controller and the detection tool controller, and triggering the VTCU controller and the detection tool controller to interact according to the function detection program so as to execute the function detection of the VTCU controller;
receiving a detection signal of the VTCU controller for executing function detection;
judging whether each related function of the VTCU controller is normal or not according to the detection signals;
if all relevant functions of the VTCU controller are normal, judging that the VTCU controller is qualified;
and if any relevant function of the VTCU controller is abnormal, judging that the VTCU controller is not qualified.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium such as a U-disc, a mobile hard disc, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, etc. various media capable of storing program codes, including several instructions for causing a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the method described in the embodiments of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The foregoing disclosure is merely illustrative of the preferred embodiments of the invention and the invention is not limited thereto, since modifications and variations may be made by those skilled in the art without departing from the principles of the invention.
Claims (10)
1. The detection method before the offline of the VTCU controller is characterized by comprising the following steps of:
brushing a function detection program to the VTCU controller;
the detection function detects whether program writing is successful;
if not, judging that the VTCU controller is unqualified;
if the function detection program is successful, sending a detection execution command to the VTCU controller and the detection tool controller, and triggering the VTCU controller and the detection tool controller to interact according to the function detection program so as to execute the function detection of the VTCU controller;
receiving a detection signal of the VTCU controller for executing function detection;
judging whether each related function of the VTCU controller is normal or not according to the detection signals;
if all relevant functions of the VTCU controller are normal, judging that the VTCU controller is qualified;
and if any relevant function of the VTCU controller is abnormal, judging that the VTCU controller is not qualified.
2. The method for detecting the VTCU controller before the offline according to claim 1, wherein after sending the detection execution command to the VTCU controller and the detection tool controller, the method specifically comprises the following steps:
judging whether a detection signal for detecting the execution function of the VTCU controller is received within a preset time length;
if not, judging that the CAN bus of the VTCU controller is abnormal in function, and judging that the VTCU controller is unqualified;
if yes, judging whether the attribute of the received detection signal is normal, including whether the type of the detection signal is normal and whether the quantity of the detection signal is normal;
if not, judging that the CAN bus of the VTCU controller is abnormal in function, and judging that the VTCU controller is unqualified;
if so, judging that the CAN bus of the VTCU controller is normal, and judging whether each relevant function of the VTCU controller is normal according to the detection signals.
3. The method of claim 2, wherein the detection signals of the VTCU controller for performing function detection include a key signal, a wake-up signal, a high-side function detection signal, a low-side function detection signal, a PWM acquisition signal, a high-efficiency signal, a low-efficiency signal, a 5V power output and analog acquisition signal, a position sensor detection signal, an input shaft sensor detection signal, an output shaft sensor detection signal, an EEPROM self-test signal, and an IMU inertial unit self-test signal.
4. The method for detecting the VTCU controller before offline according to claim 3, wherein determining whether each relevant function of the VTCU controller is normal according to the detection signal comprises:
and comparing each detection signal with the state of the relevant expected signal, and judging whether each relevant function of the VTCU controller is normal or not according to the comparison result.
5. The method for detecting before the VTCU controller is disconnected according to any one of claims 1 to 4, further comprising the steps of, if each relevant function of the VTCU controller is normal:
writing a boot program into the VTCU controller;
detecting whether the boot program is successfully written;
if successful, judging that the VTCU controller is qualified;
if not, judging that the VTCU controller is not qualified.
6. The method for detecting before the VTCU controller is offline according to claim 5, further comprising the steps of:
monitoring the refreshing progress of a boot program;
and displaying the refreshing progress of the boot program on a man-machine interaction interface.
7. The VTCU controller pre-offline detection method as recited in any one of claims 1-4, further comprising the steps of, after flushing the function detection program to the VTCU controller:
monitoring the refreshing progress of the function detection program;
and displaying the refreshing progress of the function detection program on a human-computer interaction interface.
8. A detection system before the off-line of a VTCU controller is characterized by comprising,
program brushing module: brushing a function detection program to the VTCU controller;
program brush writing detection module: the detection function detects whether program writing is successful;
program brushing detection result processing module: if the function detection program is not written successfully, judging that the VTCU controller is unqualified; if the function detection program is successfully written, sending a detection execution command to the VTCU controller and the detection tool controller, and triggering the VTCU controller and the detection tool controller to interact according to the function detection program so as to execute function detection on the VTCU controller;
VTCU controller function determination module: receiving a detection signal of the VTCU controller for executing function detection; judging whether each related function of the VTCU controller is normal or not according to the detection signals; if all relevant functions of the VTCU controller are normal, judging that the VTCU controller is qualified; and if any relevant function of the VTCU controller is abnormal, judging that the VTCU controller is not qualified.
9. A terminal, comprising:
the memory is used for storing a detection program before the VTCU controller is disconnected;
a processor, configured to implement the steps of the VTCU controller pre-offline detection method according to any one of claims 1 to 7 when executing the VTCU controller pre-offline detection program.
10. A computer readable storage medium, wherein a VTCU controller pre-offline detection program is stored on the readable storage medium, and the VTCU controller pre-offline detection program, when executed by a processor, implements the steps of the VTCU controller pre-offline detection method as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311458048.2A CN117312172A (en) | 2023-11-04 | 2023-11-04 | Method, system, terminal and medium for detecting VTCU controller before offline |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311458048.2A CN117312172A (en) | 2023-11-04 | 2023-11-04 | Method, system, terminal and medium for detecting VTCU controller before offline |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117312172A true CN117312172A (en) | 2023-12-29 |
Family
ID=89246544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311458048.2A Pending CN117312172A (en) | 2023-11-04 | 2023-11-04 | Method, system, terminal and medium for detecting VTCU controller before offline |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117312172A (en) |
-
2023
- 2023-11-04 CN CN202311458048.2A patent/CN117312172A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3657027B2 (en) | Time management system and method for vehicle fault diagnosis apparatus | |
CN111474865A (en) | Dormancy awakening test system for intelligent vehicle-mounted terminal controller | |
CN106502236A (en) | BCM multimachines automatization test system and method | |
CN111831495A (en) | Production automation test method and system | |
CN101778007A (en) | System and method for automatically testing I/O pin of CAN bus control module | |
CN113259209A (en) | Automobile CAN communication fault test system, method and device and storage medium | |
CN111993947A (en) | Secondary battery replacement method, device and system, storage medium and computer equipment | |
CN113534765A (en) | Real vehicle network test system | |
CN112056760B (en) | One-stop test system and method | |
CN117312172A (en) | Method, system, terminal and medium for detecting VTCU controller before offline | |
CN112034822A (en) | Detection device and detection method for automatic switch controller | |
CN117054721A (en) | Current automation test circuit, test method and test device | |
CN113466579A (en) | High-temperature aging automatic test monitoring method and system for vehicle-mounted product | |
CN114756008A (en) | Fault injection system, automatic test system and method for automobile hybrid bus integrated rack | |
CN114826954A (en) | Vehicle-mounted Ethernet monitoring system and monitoring method | |
US20210063990A1 (en) | Interface assemblies for manufacturing components | |
CN111896824B (en) | Unattended reliability testing device and system | |
CN111831153B (en) | Capacitive touch screen control method and device and capacitive touch screen | |
CN110297144B (en) | Three-combination test system and method | |
JP2003058203A (en) | Temperature controller | |
CN209802686U (en) | Dehumidifier testing arrangement with from judging production mode | |
EP0293223A1 (en) | Improvements relating to domestic appliances | |
CN116698435A (en) | Method, system, device and processor for testing functions of seat system | |
CN117783712A (en) | Fault detection method, device, vehicle and storage medium | |
CN116990605A (en) | Power supply voltage waveform impact test system and method for vehicle-mounted electric appliance parts |
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 |