CN117312143A - Controller assembly detection method, device and storage medium - Google Patents

Controller assembly detection method, device and storage medium Download PDF

Info

Publication number
CN117312143A
CN117312143A CN202311218328.6A CN202311218328A CN117312143A CN 117312143 A CN117312143 A CN 117312143A CN 202311218328 A CN202311218328 A CN 202311218328A CN 117312143 A CN117312143 A CN 117312143A
Authority
CN
China
Prior art keywords
controller
detected
software program
stored
ratchet
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
CN202311218328.6A
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.)
Hubei University of Arts and Science
Dongfeng Electric Drive Systems Co Ltd
Original Assignee
Hubei University of Arts and Science
Dongfeng Electric Drive Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hubei University of Arts and Science, Dongfeng Electric Drive Systems Co Ltd filed Critical Hubei University of Arts and Science
Priority to CN202311218328.6A priority Critical patent/CN117312143A/en
Publication of CN117312143A publication Critical patent/CN117312143A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

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)
  • General Factory Administration (AREA)

Abstract

The invention relates to the technical field of automobile product detection, and particularly discloses a controller assembly detection method, a controller assembly detection device and a storage medium. The method comprises the following steps: acquiring label information of a controller to be detected, and determining whether the label information is stored in a magnetic disk; when the label information is stored in the magnetic disk, identifying a software program of the controller to be detected; and when the software program is identified as the preset software program, the preset software program is written into the to-be-detected controller. The method comprises the steps of determining whether repeated detection is carried out or not by collecting label information of a controller to be detected, determining whether a preset software program is carried out or not by identifying the software program in the controller to be detected, ensuring that hardware is qualified and the program can be normally written, and covering the software program in the controller to be detected in a mode of secondarily writing the software program, thereby ensuring that the complete and normally operated software program is stored in the controller to be detected.

Description

Controller assembly detection method, device and storage medium
Technical Field
The invention relates to the technical field of automobile product detection, in particular to a controller assembly detection method, a controller assembly detection device and a storage medium.
Background
The automobile controller assembly is an important component of an automobile electronic control system and is used for monitoring and controlling the system and the function of the automobile. The monitoring and control of the running of the automobile are realized by collecting the information of the sensor and processing the information through a software program and an algorithm. With the continuous development of automotive electronics, in order to meet the requirements of automatic inspection and mass production of the controller assembly, the controller assembly detection devices are also generated.
When the traditional controller assembly detection equipment repeatedly detects the same product, incomplete software program brushing caused by wrong judgment of the equipment or wrong operation of operators can occur, and the controller assembly with incomplete software program or different versions is judged to be a qualified product. The quality and reliability of the automobile controller assembly cannot be ensured, and meanwhile, the risk of later maintenance can be increased, so that the production cost is improved.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a controller assembly detection method, equipment and a storage medium, and aims to solve the technical problem that in the prior art, after an assembly is judged to be qualified and delivered, the internal software program of the controller assembly is incomplete due to the conditions of human and equipment error judgment and the like.
To achieve the above object, the present invention provides a controller assembly detection method, including the steps of:
acquiring label information of a controller to be detected, and determining whether the label information is stored in a magnetic disk;
when the label information is stored in the magnetic disk, identifying a software program of the controller to be detected;
and when the software program is identified as the preset software program, the preset software program is written into the to-be-detected controller.
Optionally, the step of collecting tag information of the controller to be detected and determining whether the tag information is stored in the disk includes:
acquiring pictures containing label information on the controller to be detected by using a visual acquisition device;
and determining whether the label information is stored in the disk or not by comparing the label information contained in the acquired picture with the label information stored in the immediate disk in a reverse order.
Optionally, when the label information is stored in the disk, the step of identifying the software program of the controller to be detected includes:
when the tag information contained in the picture is stored in the instant magnetic disk, a detection instruction is operated to detect the existence of a software program in the controller to be detected;
when a software program exists in the controller to be detected, identifying an identification code of the software program;
and determining the software program according to the identification code.
Optionally, after the step of collecting the tag information of the controller to be detected and determining whether the tag information is stored in the disk, the method further includes:
executing a conventional detection program on the controller to be detected when the label information is not stored in the magnetic disk;
after regular detection of the controller to be detected, a preset software program is written to the controller to be detected.
Optionally, after the step of identifying the software program of the controller to be detected when the tag information is stored in the disk, the method further includes:
executing a conventional detection program on the to-be-detected controller when the software program is identified to be different from a preset software program;
after regular detection of the controller to be detected, a preset software program is written to the controller to be detected.
In addition, to achieve the above object, the present invention also proposes a controller assembly detection apparatus including: the device comprises a shell, a display screen, a clamp and a main case;
the display screen is arranged on the upper part of the shell, a working area is arranged on the lower part of the shell, the clamp is arranged on the upper part of the working area, the mainframe box is arranged on the lower part of the working area, and a mainframe is arranged in the mainframe box;
the display screen is used for displaying the step flow and the detection condition of the controller assembly detection method;
the clamp is used for fixing the to-be-detected controller and establishing network communication between the host and the to-be-detected controller.
Optionally, the fixture includes: the device comprises a fixed table, a clamp handle, a serial port connector, a serial port sliding rail, vision acquisition equipment, a space ratchet mechanism and a ratchet sliding rail;
the clamp handle is arranged on the side face of the fixed table, the serial port sliding rail and the ratchet sliding rail are both arranged on the fixed table, the serial port connector is arranged on the serial port sliding rail, one end of the space ratchet mechanism is connected with the ratchet sliding rail, and the other end of the space ratchet mechanism is connected with the vision acquisition equipment;
the serial port connector is used for movably connecting the serial port of the controller to be detected through the serial port sliding rail, and establishing network communication between the host and the controller to be detected;
the space ratchet mechanism is used for controlling the position of the vision acquisition equipment through a ratchet slide rail;
the vision acquisition equipment is used for acquiring label information of the controller to be detected.
Optionally, the spatial ratchet mechanism includes: the device comprises a first ratchet wheel, a second ratchet wheel, a third ratchet wheel, a fourth ratchet wheel, a first connecting rod, a second connecting rod and a third connecting rod;
the first ratchet wheel is arranged on the ratchet wheel sliding rail, the first ratchet wheel is connected with the second ratchet wheel through the first connecting rod, the second ratchet wheel is connected with the third ratchet wheel through the second connecting rod, the third ratchet wheel is connected with the fourth ratchet wheel through the third connecting rod, and the vision acquisition equipment is arranged on the fourth ratchet wheel.
Optionally, the controller assembly detection device further includes: status indicator lights, start buttons, stop buttons, forced stop buttons, and label printing apparatus;
the state indicator lamp is arranged on the upper end frame of the shell, the starting button is arranged on the right part of the working area, the stopping button is arranged on the left part of the working area, the forced stopping button is arranged on the right side of the starting button, and the label printing equipment is arranged on the right side of the shell;
the state indicator lamp is used for indicating the detection state of the controller assembly detection equipment in a lighting mode;
the starting button is used for pressing and controlling the serial port connector to be connected with the controller to be detected;
the stop button is used for pressing and controlling the serial port connector to be disconnected with the controller to be detected;
the label printing equipment is used for giving unique label information to the to-be-detected controller.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a controller assembly detection program which, when executed by a processor, implements the steps of the controller assembly detection method as described above.
The technical scheme of the invention comprises the following steps: acquiring label information of a controller to be detected, and determining whether the label information is stored in a magnetic disk; when the label information is stored in the magnetic disk, identifying a software program of the controller to be detected; and when the software program is identified as the preset software program, the preset software program is written into the to-be-detected controller. The controller assembly detection method provided by the invention is used for determining whether repeated detection is carried out by collecting the label information of the controller to be detected, determining whether the software program in the controller to be detected is a preset software program or not by identifying the software program in the controller to be detected, ensuring that hardware is qualified and the program can be normally written, and covering the software program in the controller to be detected by a mode of secondarily writing the software program, thereby ensuring that the complete and normally operated software program is stored in the controller to be detected. The adjustable serial port connector and the space ratchet mechanism are used for detecting different controllers, and the impression of operators on the detected controllers is enhanced through the start button and the stop button, so that the problem that the internal software program of the controller assembly is incomplete after the assembly is judged to be qualified due to the conditions of human and equipment error judgment and the like is solved.
Drawings
FIG. 1 is a block diagram of a host architecture of a controller assembly detection device for a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flow chart of a first embodiment of a method for detecting a controller assembly according to the present invention;
FIG. 3 is a flow chart of a second embodiment of the method for detecting a controller assembly according to the present invention;
FIG. 4 is a schematic diagram of the detection device of the controller assembly of the present invention;
FIG. 5 is a schematic flow chart of the controller assembly detection device of the present invention;
FIG. 6 is a schematic view of the structure of the fixture in the controller assembly inspection apparatus of the present invention;
FIG. 7 is a schematic diagram of a spatial ratchet mechanism in a controller assembly inspection apparatus according to the present invention.
Reference numerals illustrate:
the achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a block diagram of a controller assembly detection device of a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the controller assembly detection device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the configuration shown in fig. 1 is not limiting of the controller assembly detection device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a controller assembly detection program may be included in the memory 1005 as one type of storage medium.
In the controller assembly inspection device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the controller assembly detection device of the present invention may be disposed in the controller assembly detection device, where the controller assembly detection device invokes a controller assembly detection program stored in the memory 1005 through the processor 1001, and executes the controller assembly detection method provided by the embodiment of the present invention.
An embodiment of the invention provides a method for detecting a controller assembly, referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the method for detecting a controller assembly according to the invention.
In this embodiment, the controller assembly detection method includes the steps of:
step S10: and acquiring label information of the controller to be detected, and determining whether the label information is stored in the magnetic disk.
It should be noted that, the execution body of the method of the present embodiment may be a data communication device (such as a mobile phone, a tablet computer, a personal computer, etc.) having functions of data processing, network communication, and program running, or an electronic device capable of implementing the same or similar functions, for example, the above-mentioned controller assembly detection device. The present embodiment and the following embodiments will be described taking the above-described controller assembly detection apparatus as an example.
It should be understood that the controller to be detected may be a controller that needs to perform hardware qualification detection and software integrity detection, and may include a controller that has performed a conventional detection procedure, and a controller that has not performed detection and software flashing procedures.
It should be noted that, the conventional detection program may be a detection program designed according to a specific detection requirement of a specific controller, where the detection program is capable of ensuring that the controller is capable of performing normal flashing software and has qualified hardware, and may include: the detection steps of CAN line switching, setting a diagnostic ID, setting a diagnostic timeout, entering a diagnostic default session, entering a diagnostic extension session, DTC setting, entering a diagnostic programming session, requesting a seed, transmitting a key, writing programming time, writing driving data, writing a test program, programming status checking, ECU resetting, product power off, product power on, requesting a seed, etc. CAN be designed differently according to the requirements of different controllers, and in this embodiment, the method is not limited.
Further, the tag information may be posted on the controller to be detected, and is used for setting unique identification information for the controller to be detected. Each of the tag information has its corresponding one of the controllers.
Further, the host disk of the controller assembly detection device contains a device verification record, which can be used for verifying and tracing the controller passing through the controller assembly detection device. Therefore, the disk also contains label information of the controller. Comparing the stored label information with the acquired label information of the to-be-detected controller, and determining whether the magnetic disk contains the label information of the to-be-detected controller or not.
Step S20: and identifying the software program of the controller to be detected when the label information is stored in the magnetic disk.
It should be noted that the software program may be a software program for controlling and managing the functions of the controller, and may include a system control function for precisely controlling and coordinating the respective systems of the vehicle; the fault processing function sends out alarm information and adjusts the control strategy to ensure the reliable operation of the vehicle; a data analysis function of evaluating an operation state and performance of the vehicle by analyzing and comparing the data; and the interconnection communication function realizes the intellectualization and interconnection of vehicles through the vehicle-mounted network and the communication protocol.
It should be understood that the step of identifying the software program of the controller to be detected may include identifying whether the software program of the controller to be detected exists or not, and may include identifying whether the software program of the controller to be detected is a preset software program or not.
Further, the preset software program may be a software program preset in the host of the controller assembly detection device and used for the controller to be detected. The controller assembly detection device can write the preset software program into the to-be-detected controller to cover the original software program in the to-be-detected controller.
It should be appreciated that the software program written into the controller to be detected may be modified by modifying a preset software program in the host.
Step S30: and when the software program is identified as the preset software program, the preset software program is written into the to-be-detected controller.
It should be noted that, when the controller assembly detection device identifies that the software program contained in the to-be-detected controller is the same as the software program stored in the host, the controller assembly detection device brushes the preset software program into the to-be-detected controller to cover the original software program in the to-be-detected controller.
It should be understood that the recognition that the software program is a preset software program indicates that the controller to be detected has passed through the conventional detection program, and has the conditions that the hardware is qualified and the software program can be normally written. The process of brushing the preset software program to the to-be-detected controller has the highest authority, so that the original software program in the to-be-detected controller can be completely covered, and the to-be-detected controller is ensured to contain the complete preset software program.
In the embodiment, by collecting label information of a controller to be detected, whether label information is stored in a magnetic disk is determined; when the label information is stored in the magnetic disk, identifying a software program of the controller to be detected; and when the software program is identified as the preset software program, the preset software program is written into the to-be-detected controller. The method comprises the steps of determining whether repeated detection is carried out or not by collecting label information of a controller to be detected, determining whether a preset software program is carried out or not by identifying the software program in the controller to be detected, ensuring that hardware is qualified and the program can be normally written, and covering the software program in the controller to be detected in a mode of secondarily writing the software program, thereby ensuring that the complete and normally operated software program is stored in the controller to be detected.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a method for detecting a controller assembly according to the present invention.
Based on the first embodiment, in this embodiment, the step S10 includes:
step S101: and acquiring a picture containing label information on the controller to be detected by using a visual acquisition device.
The visual acquisition device may be a device with an image visual information acquisition function, which is disposed in the controller assembly detection device, and may include a camera, a scanner, and the like. In this embodiment, a camera is selected as the vision acquisition device, and is used for acquiring a picture containing tag information on the controller to be detected.
It should be understood that the visual acquisition device may be used to take a picture of the portion of the controller to be detected that contains the tag information, so as to acquire a picture containing the tag information.
Step S102: and determining whether the label information is stored in the disk or not by comparing the label information contained in the acquired picture with the label information stored in the immediate disk in a reverse order.
It should be noted that, the above-mentioned disk may be used to test the controller passing through the controller assembly detection device as the tracing disk, and the disk may also be separated into a single disk for storing the tag information, so as to calibrate whether the tag information is the immediate disk with the repeated test function in a short period. The immediate disk can store and process the label information specially, so that the retrieval speed is improved, and the detection time is shortened.
It should be understood that the instant magnetic disk is configured with a storage automatic deleting function, and the pictures containing the label information on the controller to be detected are collected by using the visual collection device, stored in the instant magnetic disk, and named according to time. For example, a picture taken in 16 points 23 at 7.20.2023 may be named 20230702162300 and stored in the instant disk. The auto delete function of the instant disk runs once every 5 minutes and deletes all pictures stored in the instant disk before running for 5 minutes. For example, when the automatic deletion function of sorting the instant disk at 16 points of 20 days of 7 months of 2023 operates, the instant disk can be reversed for 5 minutes, namely, sorting at 16 points of 20 days of 7 months of 2023, the instant disk can generate a number 20230720162500 according to the time calculation, and delete the picture with the name smaller than 20230720162500. This ensures that each picture is kept in the immediate disk for at least 5 minutes.
Further, the reverse order comparison mode may be a mode of comparing the pictures which are acquired by using the visual acquisition device and contain the label information on the to-be-detected controller with the pictures stored in the immediate hard disk one by one according to the reverse order, and determining that the label information of the to-be-detected controller is stored in the immediate hard disk when the two identical groups of pictures are compared.
It will be appreciated that if the same two sets of pictures are not aligned, the pictures taken are named as described above and stored in the instant disk.
Further, the step S20 includes:
step S201: and when the tag information contained in the picture is stored in the instant magnetic disk, running a detection instruction to detect the existence of the software program in the controller to be detected.
The operation detection instruction may be an instruction for detecting whether the controller to be detected includes the software program when the controller assembly detection device detects that the immediate disk stores the tag information included in the picture.
It should be understood that when the software program is included in the to-be-detected controller, the controller assembly detection device may receive a corresponding response after running the detection instruction, and may include: time answers, networking information, and positioning information, etc.
Further, if the controller assembly detection device does not receive the response after running the detection instruction, the controller to be detected does not contain the software program.
Step S202: and when the software program exists in the controller to be detected, identifying the identification code of the software program.
It should be noted that, the identification code of the software program of the controller to be detected may be obtained by performing network communication with the controller to be detected.
It should be understood that the identification code may be a string code consisting of numbers, letters, and characters for uniquely identifying a specific software, may include version information of the software, an organization signal, and the like.
Step S203: and determining the software program according to the identification code.
It should be noted that, the obtained identification code of the to-be-detected controller software program is compared with the identification code of the preset software program to determine the software program.
It should be understood that when the obtained identification code of the to-be-detected controller software program is the same as the identification code of the preset software program, the software program in the to-be-detected controller is described as the preset software program; and when the acquired identification code of the to-be-detected controller software program is different from the identification code of the preset software program, indicating that the software program in the to-be-detected controller is different from the preset software program version or the program is incomplete.
Further, after the step S10, the method further includes:
step S301: and executing a conventional detection program on the to-be-detected controller when the label information is not stored in the magnetic disk.
When the tag information is not stored in the disk, the fact that two identical groups of pictures are not compared in the instant disk is indicated, the collected pictures are named according to the naming mode, and the pictures are stored in the instant disk.
Further, when the label information is not stored in the magnetic disk, the controller to be detected is not subjected to the conventional detection program, and the conventional detection program is executed for the controller to be detected.
Step S302: after regular detection of the controller to be detected, a preset software program is written to the controller to be detected.
The to-be-detected controller subjected to the conventional detection program has the conditions that the hardware is qualified and the software program can be normally written. The process of brushing the preset software program to the to-be-detected controller has the highest authority, so that the original software program in the to-be-detected controller can be completely covered, and the to-be-detected controller is ensured to contain the complete preset software program.
Further, after the step S20, the method further includes:
step S401: and executing a conventional detection program on the to-be-detected controller when the software program is identified to be different from a preset software program.
It should be noted that, the software program of the to-be-detected controller is different from the preset software program, which indicates that the to-be-detected controller does not store the software program, the software program is incomplete or the software program version is different from the preset software program version.
Further, a conventional detection program is executed on the to-be-detected controller, so that the to-be-detected controller is ensured to have the conditions that the hardware is qualified and the software program can be normally written.
Step S402: after regular detection of the controller to be detected, a preset software program is written to the controller to be detected.
The to-be-detected controller subjected to the conventional detection program has the conditions that the hardware is qualified and the software program can be normally written. The process of brushing the preset software program to the to-be-detected controller has the highest authority, so that the original software program in the to-be-detected controller can be completely covered, and the to-be-detected controller is ensured to contain the complete preset software program.
In the embodiment, a visual acquisition device is used for acquiring pictures containing label information on the controller to be detected; and determining whether the label information is stored in the disk or not by comparing the label information contained in the acquired picture with the label information stored in the immediate disk in a reverse order. When the tag information contained in the picture is stored in the instant magnetic disk, a detection instruction is operated to detect the existence of a software program in the controller to be detected; when a software program exists in the controller to be detected, identifying an identification code of the software program; and determining the software program according to the identification code. Executing a conventional detection program on the controller to be detected when the label information is not stored in the magnetic disk; executing a conventional detection program on the to-be-detected controller when the software program is identified to be different from a preset software program; after regular detection of the controller to be detected, a preset software program is written to the controller to be detected. The problem that the original program cannot be covered when the software is updated and written repeatedly is solved, so that the detection process of the controller is more accurate, and the fact that the to-be-detected controller is internally stored with a complete software program which can normally run after detection is completed is ensured.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium is stored with a controller assembly detection program, and the controller assembly detection program realizes the steps of the controller assembly detection method when being executed by a processor.
Referring to fig. 4 and 5, fig. 4 is a schematic structural view of the detection device of the controller assembly according to the present invention. FIG. 5 is a schematic flow chart of the detection device of the controller assembly of the present invention.
As shown in fig. 4, the controller assembly detection device according to the embodiment of the present invention includes: the device comprises a shell 1, a display screen 2, a clamp 3 and a main case 4; the display screen 2 is arranged at the upper part of the shell 1, a working area is arranged at the lower part of the shell 1, the clamp 3 is arranged at the upper part of the working area, the mainframe box 4 is arranged at the lower part of the working area, and a mainframe is arranged in the mainframe box 4;
the working area may be an area where the controller assembly detection device is operated.
It should be understood that the display screen 2 may be used to display the step flow and the detection status of the controller assembly detection method; the clamp 3 can be used for fixing a controller to be detected and establishing network communication between the host and the controller to be detected.
Further, the controller assembly detection device further includes: a status indicator lamp 5, a start button 6, a stop button 7, a forced stop button 8, a label printing apparatus 9, and a power supply 10; the status indicator lamp 5 is arranged on the upper end frame of the shell 1, the starting button 6 is arranged on the right part of the working area, the stopping button 7 is arranged on the left part of the working area, the forced stopping button 8 is arranged on the right side of the starting button 6, and the label printing equipment 9 is arranged on the right side of the shell 1.
The status indicator lamp 5 may be used to indicate, by means of lighting, a detection status of the controller assembly detection device; the starting button 6 can be used for pressing and controlling the clamp 3 to be connected with the controller to be detected; the stop button 7 can be used for pressing and controlling the clamp 3 to be disconnected from the controller to be detected; the label printing apparatus 9 may be configured to assign unique label information to the controller to be detected.
It should be understood that the forced stop button 8 can be pressed to control all functional modules of the controller assembly detection device to stop. The status indicator lamp 5 may have three colors of red, green and yellow, where the red light is turned on to indicate that the controller assembly detection device is in a detection failure state, the green light is turned on to indicate that the device is in a detection completion state, and the yellow light is turned on to indicate that the device is in a detection in-progress state.
In a specific implementation, due to the negligence of an operator, the conventional detection apparatus may take a situation that the controller having performed the conventional detection flow is regarded as a controller to be detected, so that the conventional detection flow is repeatedly performed on the controller, and a phenomenon that the program of the controller is repeatedly covered and the program is not completely written. In this embodiment, the status indicator lamp 5 is provided, when the green lamp is turned on, the device is indicated to be in a detection completion state, the controller is a controller that has completed detection, and an operator controls the clamp 3 to be disconnected from the controller by pressing the stop button 7, so as to complete detection operation.
Further, referring to fig. 6, fig. 6 is a schematic structural view of a fixture in the controller assembly inspection apparatus of the present invention.
As shown in fig. 6, the jig 3 includes: the fixture comprises a fixed table 31, a fixture handle 32, a serial port connector 33, a serial port sliding rail 34, a vision acquisition device 35, a space ratchet mechanism 36 and a ratchet sliding rail 37; the fixture handle 32 is arranged on the side surface of the fixed table 31, the serial port sliding rail 34 and the ratchet sliding rail 37 are both arranged on the fixed table 31, the serial port connector 33 is arranged on the serial port sliding rail 34, one end of the space ratchet mechanism 36 is connected with the ratchet sliding rail 37, and the other end of the space ratchet mechanism 36 is connected with the vision acquisition equipment 35.
The fixing table 31 may be used to fix the position of the fixture 3 in the controller assembly detection device, the fixture handle 32 may be used for integrally assembling and disassembling the fixture 3, the serial port connector 33 may be moved on the serial port slide rail 34, and the space ratchet mechanism 36 may be moved on the ratchet slide rail 37. The vision acquisition device 35 is used for acquiring label information of the controller to be detected.
It should be understood that the serial port connector 33 may be used to move a serial port connected to the to-be-detected controller through the serial port sliding rail 34, so as to establish network communication between the host and the to-be-detected controller. The spatial ratchet mechanism 36 may be used to control the position of the vision collection apparatus 35 via a ratchet slide 37.
In a specific implementation, a situation may occur that the to-be-detected controller repeatedly performs the conventional detection process, and the vision collecting device 35 may collect the tag information of the to-be-detected controller, compare the tag information with the tag information stored in the controller assembly detecting device, and determine whether the tag information is stored in the controller assembly detecting device.
Further, referring to fig. 7, fig. 7 is a schematic structural view of a spatial ratchet mechanism in the controller assembly inspection apparatus of the present invention.
As shown in fig. 7, the spatial ratchet mechanism 36 includes: a first ratchet 361, a second ratchet 362, a third ratchet 363, a fourth ratchet 364, a first link 365, a second link 366, and a third link 367; the first ratchet 361 is disposed on the ratchet slide rail 37, the first ratchet 361 and the second ratchet 362 are connected through the first link 365, the second ratchet 362 and the third ratchet 363 are connected through the second link 366, the third ratchet 363 and the fourth ratchet 364 are connected through the third link 367, and the vision collecting device 35 is disposed on the fourth ratchet 364.
It should be noted that the first link 365 may rotate around the first ratchet 361 to adjust the height of the vision collecting device 35. The second link 366 may rotate around the second ratchet 362, and the third ratchet 363 rotates with the second link 366, so that the third ratchet 363 is perpendicular to the clamp 3, thereby ensuring front-side collection by the vision collection apparatus 35. The third link 367 rotates around the third ratchet 363 to adjust the distance and the left-right position in the plane of the vision collecting device 35 from the first ratchet 361. The vision collection device 35 rotates around the fourth ratchet 364 to adjust the collection angle. Implementing the vision acquisition device 35 may occur at any point in space.
It should be appreciated that the paddle of the first ratchet 361 may be fixed by first rotating the first link 365 to a suitable position such that the vision collecting device 35 reaches a suitable height. The second link 366 is rotated so that the vision collecting device 35 is parallel to the horizontal plane of the fixed table 31, fixing the second ratchet 362 plectrum. Rotating the third link 367 adjusts the position of the vision collection device 35 in the plane, securing the third ratchet 363 paddle. The vision collection device 35 is rotated to the proper collection position to fix the fourth ratchet 364 dials. Finally, the first ratchet 361 is fixed on the ratchet slide 37, and the ratchet slide 37 can move back and forth so that the vision collecting device 35 is fixed in a proper collecting position.
In a specific implementation, due to the iterative upgrade of the controller to be detected, the position of the tag information arranged on the controller to be detected is also changed. The traditional detection equipment needs to add a new fixture design plan in the whole production period, and consumes the original fixtures and vision acquisition equipment, so that resource waste is caused. In this embodiment, by replacing the fixed position of the first ratchet 361, and then adjusting the position of the vision collecting device 35 by the space ratchet mechanism 36, it is realized that the position of the label information of the controller to be detected is changed, and the label information can be collected by the vision collecting device 35, so that the updated design work is reduced.
In this embodiment, the fixture 3 fixes the to-be-detected controller and establishes network communication with the host, and the serial port slide rail 34 is disposed in the fixture, so that the to-be-detected controller can adapt to different models and can establish network communication. The position of the ratchet wheel is controlled through the adjusting connecting rod, and then the vision acquisition equipment 35 is arranged at a proper acquisition position, so that accurate acquisition of label information of the controller to be detected is realized, the occurrence of the condition of clamp design caused by product iteration is reduced, and the manufacturing cost is reduced. By setting the start button 6 and the stop button 7, the inspection work of the controller assembly detection equipment needs to be pressed to start and stop, the operation impression of the controller to be detected is enhanced, the repeated operation of the same product is prevented, the product detection efficiency is accelerated, and the product production period is shortened. Ensuring that the controller hardware detected by the controller assembly detection equipment is qualified and has a complete and operable software program.
Other embodiments or specific implementations of the controller assembly detection apparatus of the present invention may refer to the above method embodiments, and are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution 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 (e.g. read-only memory/random-access memory, magnetic disk, optical disk), comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A controller assembly detection method, the controller assembly detection method comprising:
acquiring label information of a controller to be detected, and determining whether the label information is stored in a magnetic disk;
when the label information is stored in the magnetic disk, identifying a software program of the controller to be detected;
and when the software program is identified as the preset software program, the preset software program is written into the to-be-detected controller.
2. The controller assembly inspection method of claim 1, wherein the step of collecting tag information of the controller to be inspected and determining whether the tag information is stored in the disk comprises:
acquiring pictures containing label information on the controller to be detected by using a visual acquisition device;
and determining whether the label information is stored in the disk or not by comparing the label information contained in the acquired picture with the label information stored in the immediate disk in a reverse order.
3. The controller assembly detection method according to claim 2, wherein the step of identifying the software program of the controller to be detected when the tag information is stored in the disk includes:
when the tag information contained in the picture is stored in the instant magnetic disk, a detection instruction is operated to detect the existence of a software program in the controller to be detected;
when a software program exists in the controller to be detected, identifying an identification code of the software program;
and determining the software program according to the identification code.
4. The method for detecting a controller assembly according to claim 3, wherein after the step of collecting tag information of the controller to be detected and determining whether the tag information is stored in the disk, further comprising:
executing a conventional detection program on the controller to be detected when the label information is not stored in the magnetic disk;
after regular detection of the controller to be detected, a preset software program is written to the controller to be detected.
5. The controller assembly inspection method according to claim 4, wherein after the step of identifying the software program of the controller to be inspected when the tag information is stored in the disk, further comprising:
executing a conventional detection program on the to-be-detected controller when the software program is identified to be different from a preset software program;
after regular detection of the controller to be detected, a preset software program is written to the controller to be detected.
6. A controller assembly detection apparatus, the controller assembly detection apparatus comprising: the device comprises a shell, a display screen, a clamp and a main case;
the display screen is arranged on the upper part of the shell, a working area is arranged on the lower part of the shell, the clamp is arranged on the upper part of the working area, the mainframe box is arranged on the lower part of the working area, and a mainframe is arranged in the mainframe box;
the display screen is used for displaying the step flow and the detection condition of the controller assembly detection method;
the clamp is used for fixing the to-be-detected controller and establishing network communication between the host and the to-be-detected controller.
7. The controller assembly detection apparatus of claim 6, wherein the clamp comprises: the device comprises a fixed table, a clamp handle, a serial port connector, a serial port sliding rail, vision acquisition equipment, a space ratchet mechanism and a ratchet sliding rail;
the clamp handle is arranged on the side face of the fixed table, the serial port sliding rail and the ratchet sliding rail are both arranged on the fixed table, the serial port connector is arranged on the serial port sliding rail, one end of the space ratchet mechanism is connected with the ratchet sliding rail, and the other end of the space ratchet mechanism is connected with the vision acquisition equipment;
the serial port connector is used for movably connecting the serial port of the controller to be detected through the serial port sliding rail, and establishing network communication between the host and the controller to be detected;
the space ratchet mechanism is used for controlling the position of the vision acquisition equipment through a ratchet slide rail;
the vision acquisition equipment is used for acquiring label information of the controller to be detected.
8. The controller assembly detection apparatus of claim 7, wherein the spatial ratchet mechanism comprises: the device comprises a first ratchet wheel, a second ratchet wheel, a third ratchet wheel, a fourth ratchet wheel, a first connecting rod, a second connecting rod and a third connecting rod;
the first ratchet wheel is arranged on the ratchet wheel sliding rail, the first ratchet wheel is connected with the second ratchet wheel through the first connecting rod, the second ratchet wheel is connected with the third ratchet wheel through the second connecting rod, the third ratchet wheel is connected with the fourth ratchet wheel through the third connecting rod, and the vision acquisition equipment is arranged on the fourth ratchet wheel.
9. The controller assembly detection apparatus of claim 8, wherein the controller assembly detection apparatus further comprises: status indicator lights, start buttons, stop buttons, forced stop buttons, and label printing apparatus;
the state indicator lamp is arranged on the upper end frame of the shell, the starting button is arranged on the right part of the working area, the stopping button is arranged on the left part of the working area, the forced stopping button is arranged on the right side of the starting button, and the label printing equipment is arranged on the right side of the shell;
the state indicator lamp is used for indicating the detection state of the controller assembly detection equipment in a lighting mode;
the starting button is used for pressing and controlling the serial port connector to be connected with the controller to be detected;
the stop button is used for pressing and controlling the serial port connector to be disconnected with the controller to be detected;
the label printing equipment is used for giving unique label information to the to-be-detected controller.
10. A storage medium having stored thereon a controller assembly detection program which, when executed by a processor, implements the steps of the controller assembly detection method of any one of claims 1 to 5.
CN202311218328.6A 2023-09-19 2023-09-19 Controller assembly detection method, device and storage medium Pending CN117312143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311218328.6A CN117312143A (en) 2023-09-19 2023-09-19 Controller assembly detection method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311218328.6A CN117312143A (en) 2023-09-19 2023-09-19 Controller assembly detection method, device and storage medium

Publications (1)

Publication Number Publication Date
CN117312143A true CN117312143A (en) 2023-12-29

Family

ID=89280420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311218328.6A Pending CN117312143A (en) 2023-09-19 2023-09-19 Controller assembly detection method, device and storage medium

Country Status (1)

Country Link
CN (1) CN117312143A (en)

Similar Documents

Publication Publication Date Title
US20070050105A1 (en) Remote diagnostic data collections for automotive scan tools
CN112596972B (en) Test method, device and system of vehicle-mounted equipment and computer equipment
US7925399B2 (en) Method and apparatus for testing vehicle emissions and engine controls using a self-service on-board diagnostics kiosk
US7987028B2 (en) Method and apparatus for reading and erasing diagnostic trouble codes from a vehicle
USRE39619E1 (en) Automotive code reader
US11527110B2 (en) Vehicle health record
CN112115927A (en) Intelligent machine room equipment identification method and system based on deep learning
CN112254983A (en) Vehicle detection method, device, equipment and storage medium
US11386499B2 (en) Car damage picture angle correction method, electronic device, and readable storage medium
CN114490161A (en) Fault diagnosis method and device, vehicle and storage medium
CN110728680A (en) Automobile data recorder detection method and device, computer equipment and storage medium
CN113822447A (en) Intelligent detection method and device for automobile maintenance and vehicle-mounted equipment
CN117312143A (en) Controller assembly detection method, device and storage medium
KR102179597B1 (en) Apparatus for Diagnosis Based on Automatic Process Recognition and Driving Method Thereof
CN116467110B (en) Method and system for detecting damage of tablet personal computer
CN112286818A (en) Fault processing method, device, equipment and storage medium of ADAS system
CN112903308A (en) Performance detection method and device for automobile equipment, electronic equipment and storage medium
CN112286819A (en) Fault processing method, device, equipment and storage medium of ADAS system
CN109581188B (en) Function detection method for terminal on mainboard, intelligent device and storage medium
US11968354B2 (en) Automatic evaluating apparatus for built-in video recording device of vehicle, system having the same, and method thereof
EP3252719A1 (en) Method for diagnosing faults in a vehicle, and corresponding system
CN111874768B (en) Method, device, equipment and system for detecting installation state of elevator component
CN214851308U (en) Vehicle-mounted equipment test system
CN115185252A (en) Remote diagnosis method and device based on automobile fault lamp
CN108845565B (en) Vehicle diagnosis method and vehicle diagnosis instrument

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