Data processing method, device and system, data processing equipment and storage medium
By obtaining production line information and measuring project formulas, and automatically collecting and uploading metallographic image data, the problems of low manual upload efficiency and high error rate in the existing technology are solved, and efficient and accurate automatic upload of metallographic image data is achieved.
Patent Information
- Application Number
- CN202310610650.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2024-11-26
AI Technical Summary
In the prior art, the measurement data of metallographic images requires manual excerpting from the images and manually uploading them to the target system, resulting in inefficiency and error-proneness.
By obtaining production line information, collecting metallographic images, and performing measurements based on pre-configured measurement project formulas, integrating and automatically uploading measurement data to the target system, reducing manual participation and improving the efficiency and accuracy of data upload.
It realizes efficient automatic upload of metallographic image measurement data, reduces the probability of manual errors, and improves the efficiency and accuracy of data processing.
Smart Images

Figure CN119027363A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery detection technology, and in particular to a data processing method, apparatus, data processing equipment, storage medium and system. Background Art
[0002] In the production and manufacturing process of power batteries, it is necessary to perform sealing welding on the battery body and gap welding on the battery module. Dimensional measurement of the metallographic image of the welding point is one of the effective means to control the welding quality.
[0003] In the prior art, the dimensional measurement method for metallographic images is to manually measure the metallographic images and mark the measurement results in the metallographic images. When the measurement results in the metallographic images need to be transmitted to other systems, they need to be manually transcribed from the metallographic images to the corresponding systems. This data processing method is inefficient and prone to errors. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a data processing method, apparatus, data processing equipment, storage medium and system to improve the efficiency of metallographic image measurement data processing and reduce the probability of errors.
[0005] In a first aspect, an embodiment of the present application provides a data processing method, the method comprising:
[0006] Obtain production line information and collect metallographic images of batteries under the production line information;
[0007] Obtaining a pre-configured measurement item formula according to the production line information, where the measurement item formula is used to characterize relevant parameters for testing the battery;
[0008] Measure the metallographic image according to the measurement project formula to obtain measurement data;
[0009] Upload the measurement data to the target system.
[0010] The embodiment of the present application integrates the measurement data of the metallographic images obtained by measurement and automatically uploads them to the target system, thereby reducing the degree of manual participation, improving the efficiency of uploading the measurement data, and reducing the probability of measurement data errors.
[0011] In any embodiment, the target system is an MES system. In the process of uploading the measurement data to the target system, MES parameters for establishing communication with the MES system can be obtained according to the production line information; based on the MES parameters, the measurement data is uploaded to the MES system.
[0012] The embodiment of the present application pre-configures MES parameters, thereby providing a basis for communication between the data processing device and the MES system, and thus enabling the measurement data to be uploaded to the corresponding location of the MES system.
[0013] In any embodiment, in the process of uploading the measurement data to the target system, a trigger instruction from the user can be received by triggering the check confirmation module, and the measurement data can be verified; after the verification is completed, the upload function module is controlled to change from an unavailable state to an available state; then a trigger instruction from the user to trigger the upload function module can be received, and the measurement data can be uploaded to the target system.
[0014] In the embodiment of the present application, before uploading the measurement data to the target system, the measurement data may be verified to improve the accuracy of the measurement data upload.
[0015] In any embodiment, before acquiring the metallographic image, the method further comprises:
[0016] Get the type of image acquisition device;
[0017] Selecting a target driver from pre-stored drivers of multiple image acquisition devices according to the type of the image acquisition device;
[0018] Install the target driver.
[0019] The embodiment of the present application pre-stores the driver programs of various image acquisition devices, so that the data processing device can adapt to various image acquisition devices.
[0020] In any embodiment, the measurement item formula includes welding room location information and inspection item name; the metallographic image is measured according to the measurement item formula to obtain measurement data, including:
[0021] Receive the current welding room position and the current inspection item name to be measured;
[0022] Receiving the measurement points selected by the user through the metallographic image displayed on the interface, and generating corresponding measurement values according to the measurement points;
[0023] The current welding room position, current inspection item name and measurement value are recorded as one measurement data.
[0024] In the embodiment of the present application, after the measurement values corresponding to the current welding room position and the current inspection item name are collected, they are integrated into one measurement data to facilitate uploading the measurement data to the MES system.
[0025] In a second aspect, an embodiment of the present application provides a data processing device, including:
[0026] An image acquisition module, used to obtain production line information and acquire metallographic images of batteries under the production line information;
[0027] A measurement formula acquisition module is used to obtain a pre-configured measurement item formula according to production line information, where the measurement item formula includes relevant parameters for battery testing;
[0028] The measurement module is used to measure the metallographic image according to the measurement project formula to obtain the measurement data;
[0029] The data upload module is used to upload the measurement data to the target system.
[0030] In a third aspect, an embodiment of the present application provides a data processing device, including: a processor, a memory, and a bus, wherein:
[0031] The processor and the memory communicate with each other via the bus;
[0032] The memory stores program instructions that can be executed by the processor, and the processor can execute the method of the first aspect by calling the program instructions.
[0033] In any embodiment, the electronic device further includes a display, the display is used to display a measurement interface; the measurement interface includes an image measurement area, a production line selection area, a measurement value display area, a detection item area, a welding room location area, and a measurement result recording area and an upload area; wherein:
[0034] The image measurement area is used to display the metallographic image of the battery;
[0035] The production line selection area is used for users to select and display the information of the production line to be measured;
[0036] The detection item area includes a trigger module corresponding to the detection item name, and the trigger module is used for the user to select the current detection item name;
[0037] The welding room location area is used to display the pre-configured welding room location information and the welding room location information currently being measured;
[0038] The measurement value display area is used to display the current welding room location information and the measurement value corresponding to the current inspection item name;
[0039] The measurement result recording area is used to display the measurement data, which includes the current welding room location information, the current detection item name and the corresponding measurement value;
[0040] The upload area includes an upload module, and the upload module is used to upload the measurement data to the target system.
[0041] The embodiment of the present application displays multiple functional areas on the interface and presents them to the user in a visual manner, and the user can operate through the display interface, thereby improving the convenience of operation.
[0042] In any embodiment, the measurement interface further includes a deletion area and a log area;
[0043] The delete area is used to delete the selected measurement data;
[0044] The log area is used to display the information returned by the target system.
[0045] The embodiment of the present application sets a deletion area on the measurement interface to facilitate the user to delete the measured data for re-measurement, and sets a log area to facilitate the user to observe the information returned by the target system.
[0046] In any embodiment, the display is also used to display a configuration interface, which includes a networking parameter configuration interface, an upload parameter configuration interface, and a collection parameter configuration interface;
[0047] The networking parameter configuration interface is used for users to configure networking parameters for different production line information. By configuring the networking parameters, the data processing equipment can communicate with the target system;
[0048] The upload parameter configuration interface is used for users to configure the inspection item names and welding room locations under different production lines;
[0049] The acquisition parameter configuration interface is used for users to configure the acquisition parameters of different image acquisition devices.
[0050] The embodiment of the present application displays the configuration interface in a visual manner, making it convenient for the user to set the parameters required for the test on the configuration interface.
[0051] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, including:
[0052] The non-transitory computer-readable storage medium stores computer instructions that cause the computer to execute the method of the first aspect.
[0053] In a fifth aspect, an embodiment of the present application provides a detection system, comprising an image acquisition device, a target system, and a data processing device as described in the third aspect;
[0054] The data processing device is communicatively connected with the image acquisition device and the target system respectively.
[0055] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0057] Figure 1 A schematic diagram of a data processing method provided in an embodiment of the present application;
[0058] Figure 2 A schematic diagram of a networking parameter configuration interface provided in an embodiment of the present application;
[0059] Figure 3 A schematic diagram of the inspection and confirmation interface provided in an embodiment of the present application;
[0060] Figure 4 The image acquisition device configuration interface provided in the embodiment of the present application;
[0061] Figure 5 A schematic diagram of the configuration code of the image acquisition device provided in the embodiment of the present application;
[0062] Figure 6 A schematic diagram of a measurement item recipe configuration interface provided in an embodiment of the present application;
[0063] Figure 7 Another data processing method flow chart is provided for the embodiment of the present application;
[0064] Figure 8 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application;
[0065] Fig. 9 A schematic diagram of the physical structure of a data processing device provided in an embodiment of the present application;
[0066] Fig.10 A schematic diagram of a measurement interface provided in an embodiment of the present application;
[0067] Fig.11 A schematic diagram of the structure of a detection system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0069] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0070] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0071] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0072] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0073] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0074] In the description of the embodiments of the present application, the technical terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the embodiments of the present application.
[0075] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0076] At present, from the perspective of market development, the application of power batteries is becoming more and more extensive. Power batteries are not only used in energy storage power systems such as hydropower, thermal power, wind power and solar power stations, but also widely used in electric vehicles such as electric bicycles, electric motorcycles, electric cars, as well as military equipment and aerospace and other fields. With the continuous expansion of the application field of power batteries, the market demand is also constantly expanding.
[0077] In the production and manufacturing process of power batteries, it is necessary to perform sealing welding on the battery body and gap welding on the battery module, and dimensional measurement of the metallographic image of the welding point is an effective means to control the welding quality. After collecting the metallographic image of the battery, the relevant parameters in the metallographic image are usually measured by manual measurement, such as the molten pool width, molten pool depth, etc. The measured data is annotated in the metallographic image. This method cannot manage and use the measurement data, that is, the measurement data cannot be automatically uploaded to the target system. Taking the target system as the MES system as an example, at present, when the measurement data needs to be uploaded to the MES system, it is necessary to manually extract the measurement data from each metallographic image and then transcribe it into the MES system. This method will lead to low efficiency in uploading the measurement data to the MES system, and in the process of manually extracting a large amount of measurement data, it is easy to make errors in the extraction.
[0078] In view of the above technical problems, the embodiments of the present application provide a data processing method, device, data processing equipment, storage medium and system. The data processing method realizes the measurement of metallographic images, obtains measurement data, and automatically uploads the measurement data to the target system, thereby reducing the degree of manual participation, improving the efficiency of uploading the measurement data to the target system, and reducing the probability of data errors.
[0079] In addition to being applicable to the measurement data of the metallographic images of the batteries mentioned in the embodiments of the present application, the method provided in the embodiments of the present application is also applicable to the transmission of various process data generated during the production and manufacturing process of the batteries, such as: process data of the batteries during assembly, etc.
[0080] It can be understood that the data processing method provided in the embodiments of the present application can be applied to a data processing device, which includes a terminal and a server; wherein the terminal can specifically be a smart phone, a tablet computer, a computer, a personal digital assistant (PDA), etc.; the server can specifically be an application server or a Web server.
[0081] Figure 1 A data processing method flow chart provided in an embodiment of the present application is as follows: Figure 1 As shown, the method includes:
[0082] Step 101: A data processing device obtains production line information and collects metallographic images of batteries under the production line corresponding to the production line information;
[0083] Step 102: Obtain a pre-configured measurement item recipe according to the production line information;
[0084] Step 103: measuring the metallographic image according to the measurement item formula to obtain measurement data;
[0085] Step 104: Upload the measurement data to the target system.
[0086] In step 101, the production line information is used to characterize the information of the production line of the battery to be measured, for example, it can be a production line identifier, and different production lines use different production line identifiers. The user can set the production line information of the battery through the data processing device, and after the user completes the setting of the production line information, the data processing device can obtain the production line information.
[0087] The image acquisition device can be used to acquire images of the batteries of the production line corresponding to the production line information to obtain metallographic images. The image acquisition device can be a RZCam series camera or a Toupcam series camera, etc. The embodiment of the present application does not limit the specific model of the image acquisition device, and any device that can acquire the metallographic image of the battery can be used. The data processing device can be connected to the image acquisition device for communication. When it is necessary to acquire the metallographic image of the battery, the user can send an image acquisition instruction to the image acquisition device through the data processing device. After receiving the image acquisition instruction, the image acquisition device acquires the image.
[0088] Metallography refers to the chemical composition of a metal or alloy and the physical and chemical states of the various components within the alloy. A metallographic image refers to an image on a battery used to characterize the physical and chemical states of a welded part.
[0089] The battery to be measured may be placed in the acquisition area of the image acquisition device manually, or may be transferred to the acquisition area of the image acquisition device by automatic transfer.
[0090] In step 102, the measurement item formula includes relevant parameters for battery detection, such as: welding room location, detection item name, etc. Different production lines may have different production processes, and therefore, correspond to different measurement item formulas. For example, different batteries produced by the same production line may be welded by different welding rooms. And the batteries of different production lines use different welding rooms, for example: battery 1 in production line 1 is welded by left welding room 1-1, battery 2 is welded by left welding room 1-2, and battery 3 is welded by left welding room 2-1. Therefore, production line 1 corresponds to left welding room 1-1, left welding room 1-2, and left welding room 2-1; battery 1 in production line 2 uses left welding room 1-1, and battery 2 and battery 3 are welded by left welding room 1-2. Therefore, production line 2 corresponds to left welding room 1-1 and left welding room 1-2. Therefore, different production lines correspond to different welding room locations. In addition, the measurement item formula can be pre-configured in the data processing device for the user, and after the data processing device obtains the production line information, it can obtain the pre-configured measurement item formula according to the production line information.
[0091] In step 103, the data processing device can measure the metallographic image according to the measurement project formula. During the measurement, the three-point method can be used, that is, click three points in the acquired metallographic image for measurement, wherein the first point and the second point are used to form a line. After clicking the third point, the vertical distance from the point to the line is used as the measurement value, thereby obtaining the measurement data under the measurement project formula. In addition, by pressing any key on the keyboard, you can switch to measuring the horizontal distance, and automatically switch back to measuring the free direction distance after releasing the key. During the measurement process, if only one or two points are clicked on the metallographic image, the measurement point can be abandoned by triggering the right mouse button.
[0092] It should be noted that the key for switching the measurement direction and the key for deleting the measurement point can be configured in advance according to actual conditions.
[0093] After measuring one battery, you can continue to measure the next battery until all batteries to be measured on the production line are completed.
[0094] In step 104, the measurement data may be the measurement data of one battery or the measurement data of all batteries to be measured on the production line. The data processing device is connected to the target system through Web Services technology communication. The data processing device records and stores the measurement data, and then automatically uploads the stored measurement data to the target system. It is understandable that the target system may be an MES system or other systems other than the data processing device that needs to use the measurement data.
[0095] The embodiment of the present application integrates the measurement data of the metallographic images obtained by measurement and automatically uploads them to the target system, thereby reducing the degree of manual participation, improving the efficiency of uploading the measurement data, and reducing the probability of measurement data errors.
[0096] Based on the above embodiment, the target system is an MES system, and uploading the measurement data to the target system includes:
[0097] Obtain pre-configured MES parameters based on production line information;
[0098] Based on the MES parameters, the measurement data is uploaded to the MES system.
[0099] In the specific implementation process, Figure 2 A schematic diagram of the networking parameter configuration interface provided in the embodiment of the present application, such as Figure 2As shown, MES parameters are used to establish communication with the MES system, including the path for uploading measurement parameters to the MES system, account name, password, domain name, data collection group, data collection group version, data collection group sequence, data collection group mode, material, material version, operation, operation version, resource number, sequence number, site, user, etc. The data processing equipment can establish a communication connection with the MES system through the MES parameters and upload the measurement data obtained by measurement to the MES system.
[0100] It is understandable that the MES system can return the upload result to the data processing system, such as upload success or upload failure, so that the user can know the upload result.
[0101] The embodiment of the present application pre-configures MES parameters, thereby providing a basis for communication between the data processing device and the MES system, and thus enabling the measurement data to be uploaded to the corresponding location of the MES system.
[0102] Based on the above embodiment, uploading the measurement data to the target system includes:
[0103] Receive the trigger instruction from the user through the trigger check confirmation module and verify the measurement data;
[0104] After the verification is completed, the control upload function module changes from an unavailable state to an available state;
[0105] Receive the trigger instruction from the user to trigger the upload function module and upload the measurement data to the target system.
[0106] In the specific implementation process, taking the target system as the MES system as an example, Figure 3 A schematic diagram of the inspection and confirmation interface provided in the embodiment of the present application, such as Figure 3 As shown, the user can measure the metallographic images corresponding to all batteries on the production line and then upload the measurement data to the MES system. The user can also measure some batteries and then upload the measurement data of some batteries to the MES system. Before uploading to the MES system, a trigger instruction for checking the measurement data can be generated by triggering the inspection confirmation module on the measurement interface. After receiving the trigger instruction, the data processing device verifies the obtained measurement data. The verification content may include whether the measurement data is within a preset range. It can be understood that the preset range can be pre-configured on the data processing device, and different detection items correspond to different preset ranges. The data processing device can use different colors to mark the measurement data within the preset range and the measurement data that is not within the preset range to prompt the user that there is abnormal data. The reason for the existence of abnormal data may be that the user makes a measurement error when measuring the metallographic image, or it may be that the measurement is accurate and the battery itself has an abnormality.
[0107] The user can complete the verification of the measurement data by triggering the "Check OK" button in the measurement interface, or return to the measurement interface by triggering the "Check for abnormalities" button to re-measure the metallographic image of the battery. In the case of triggering the "Check OK" button, the data processing device changes the upload MES function module from an unavailable state to an available state, and the upload MES function module is displayed as an "Upload MES" button on the measurement interface. When the upload MES function module is in an unavailable state, its corresponding "Upload MES" button cannot be triggered; when the upload MES function module is in an available state, its corresponding "Upload MES" button can be triggered. By triggering the "Upload MES" button, the user generates a trigger instruction for uploading the measurement data. After receiving the trigger instruction, the data processing device uploads the verified measurement data to the MES system.
[0108] In the embodiment of the present application, before uploading the measurement data to the target system, the measurement data may be verified to improve the accuracy of the measurement data upload.
[0109] Based on the above embodiment, before collecting metallographic images, the data processing device can obtain the type of image acquisition device, select a target driver from a plurality of pre-stored image acquisition device drivers according to the type of image acquisition device, and install the target driver.
[0110] In a specific implementation process, in order to adapt to various types of image acquisition devices, drivers corresponding to various image acquisition devices may be stored in the data processing device. After receiving the type of image acquisition device selected by the user, the data processing device selects a target driver matching the type of image acquisition device from the stored multiple drivers and installs the target driver. Figure 4 The image acquisition device configuration interface provided in the embodiment of the present application is Figure 5 A schematic diagram of the configuration code of the image acquisition device provided in the embodiment of the present application, such as Figure 4 and Figure 5 After the target driver is installed, the data processing device can control the working state of the image acquisition device by communicating with the image acquisition device.
[0111] In addition, you can also Figure 4 Configure the resolution corresponding to the image acquisition device, change the font size of the text displayed in the image, etc.
[0112] The embodiment of the present application pre-stores the driver programs of various image acquisition devices, so that the data processing device can adapt to various image acquisition devices.
[0113] On the basis of the above embodiment, the measurement item formula includes welding room location information and detection item name; the data processing device measures the metallographic image in the following manner to obtain measurement data:
[0114] Receive the current welding room position and the current inspection item name to be measured;
[0115] Receiving the measurement points selected by the user through the metallographic image displayed on the interface, and generating corresponding measurement values according to the measurement points;
[0116] The current welding room position, current inspection item name and measurement value are recorded as one measurement data.
[0117] In the specific implementation process, the welding room location information is used to indicate in which welding room the battery is welded, that is, the welding room location information is used to identify the information of different welding rooms, such as: left welding room 1, left welding room 2, right welding room 1, right welding room 2, etc. The inspection item name is used to indicate which aspects of the metallographic image of the battery are measured, such as: molten pool depth, molten pool width, crack length, pore diameter, etc. It is understandable that the welding room location information and inspection item names can be pre-configured for the production line. Figure 6 This is a schematic diagram of the measurement item recipe configuration interface provided in the embodiment of the present application, such as Figure 6 As shown, in this interface, the detection item name and welding room location information can be configured. After the detection item name and welding room location information are configured, click the "Update Table" button, and the data processing device will combine the welding room location information and the detection item name and fill them into the list on the left. The list on the left can also include the MES English name, which can be automatically generated or manually filled in. The MES English name is an English name that can be recognized by the MES system. After updating the list, save the configured measurement item recipe by clicking the "Save Parameters" button.
[0118] The current welding room position refers to the welding room position to be measured in the welding room position information. The current welding room position can be manually selected from a list; or the welding room positions in the list can be sequentially selected as the current welding room position according to the order of the welding room positions in the list.
[0119] The current detection item name refers to the name of the detection item currently to be measured among the detection item names, and the current detection item name can be selected by the user from multiple detection item names displayed in the measurement interface.
[0120] After determining the current welding room location and the name of the current inspection item, the user can perform measurements on the metallographic image by selecting measurement points on the metallographic image. The measurement points can be the positions to be measured by clicking the mouse on the metallographic image. The data processing equipment generates corresponding measurement values based on the measurement points.
[0121] In another embodiment, the user may first select a measurement point on the metallographic image, and the data processing device generates a corresponding measurement value according to the measurement point. Then the user selects the current welding room position and the current inspection item name corresponding to the measurement value.
[0122] After obtaining the current welding room position and the measured value under the current detection item name, the data processing device records the current welding room position, the current detection item name and the measured value as a measurement data, which can be stored in the measurement result list.
[0123] For example: the current welding room position is the left welding room 1-1, and the current detection item name is the molten pool depth. The user clicks on the metallographic image displayed on the measurement interface to determine the measurement point. Specifically, the user can click on the image three times. The measurement point selected for the first time and the measurement point selected for the second time form a straight line. After the measurement point is selected for the third time, the vertical distance from the measurement point selected for the third time to the straight line can be obtained. The embodiment of the present application can determine the reference line on the metallographic image through the measurement points determined for the first two times, that is, determine the distance from the third measurement point to the reference line, thereby improving the accuracy of the molten pool depth measurement. It can be understood that other measurement items can also use the above-mentioned three-point measurement method, and the purpose is to improve the accuracy of the measurement.
[0124] In another embodiment, a two-point measurement method may also be used, that is, two measurement points are selected on the metallographic image, and the straight-line distance between the two measurement points is the measurement value.
[0125] When the measurement of the molten pool depth of the left welding room 1-1 is completed, the molten pool depth button on the measurement interface will become unavailable, indicating that the measurement of this measurement item has been completed. When a measurement item button becomes unavailable, you can restore the measurement item button to an available state by double-clicking or other operations, so that you can re-measure the measurement item.
[0126] When all the measurement item buttons on the measurement interface become unavailable, it indicates that the battery measurement of this station is completed. You can click the "Photo" button on the measurement interface to re-collect the metallographic image of the next battery, and the measurement item button will automatically return to the available state. At the same time, the current welding room position displayed on the measurement interface is switched to the left welding room 1-2, and all the measurement item buttons on the measurement interface are set to available, so that the user can test each measurement item of the left welding room 1-2.
[0127] Each time a measurement item of a welding room location is completed, the welding room location, the measurement item name and the corresponding measurement value can be written into the measurement result list as a measurement data. Therefore, in the embodiment of the present application, the measurement results are stored separately to facilitate the subsequent uploading of the measurement data to the MES system.
[0128] In the embodiment of the present application, after the measurement values corresponding to the current welding room position and the current detection item name are collected, they are integrated into one measurement data to facilitate uploading the measurement data to the target system.
[0129] Figure 7 Another data processing method flow chart is provided for the embodiment of the present application, such as Figure 7 As shown, the method includes:
[0130] Step 701: Select a production line; the data processing device includes a display, which can display a measurement interface. In the measurement interface, a function area for production line selection can be displayed. When a user clicks on the function area, a drop-down menu can be displayed to the user, and the drop-down menu includes selectable production line information.
[0131] Step 702: Capture an image; after completing the selection of the production line, the user can click the "Photo" button on the measurement interface to control the image acquisition device to capture an image of the battery to be measured, and the captured image can be displayed on the measurement interface.
[0132] Step 703: Image measurement; the user can measure by clicking on the image on the measurement interface. It is understandable that the specific measurement method is referred to the above embodiment and will not be described again here.
[0133] Step 704: check and confirm; after completing the measurement of the battery, click the "check and confirm" button on the measurement interface to check the measured data. The check content is as described in the above embodiment and will not be repeated here.
[0134] Step 705: Upload to the MES system; after the detection of the measurement data is completed, the measurement data is sent to the MES system by clicking the "Upload to MES" button on the measurement interface.
[0135] It is understandable that the above steps can be developed through the graphical programming language LabVIEW, which mainly realizes the functions of metallographic image acquisition, metallographic image measurement, measurement project recipe data management, uploading data to the networked MES system, user management, and automatic storage of logs and pictures.
[0136] The embodiment of the present application realizes the measurement of metallographic images through data processing equipment, records the measurement data, and automatically uploads the measurement data to the target system, thereby reducing the degree of manual participation and improving the efficiency of data processing.
[0137] Figure 8 The following is a schematic diagram of a data processing device structure provided in an embodiment of the present application. The device may be a module, program segment or code on an electronic device. It should be understood that the device is similar to the above-mentioned Figure 1The method embodiment corresponds to and can be executed Figure 1 The various steps involved in the method embodiment and the specific functions of the device can be found in the description above. To avoid repetition, detailed description is appropriately omitted here. The device includes: an image acquisition module 801, a measurement formula acquisition module 802, a measurement module 803 and a data upload module 804, wherein:
[0138] The image acquisition module 801 is used to obtain production line information and acquire metallographic images of batteries under the production line information;
[0139] The measurement formula acquisition module 802 is used to obtain a pre-configured measurement item formula according to the production line information, wherein the measurement item formula includes relevant parameters for testing the battery;
[0140] The measuring module 803 is used to measure the metallographic image according to the measurement item formula to obtain measurement data;
[0141] The data uploading module 804 is used to upload the measurement data to the target system.
[0142] Based on the above embodiment, the target system is an MES system, and the data upload module 804 is specifically used for:
[0143] Acquire pre-configured MES parameters according to the production line information; wherein the MES parameters are used to establish communication with the MES system;
[0144] Based on the MES parameters, the measurement data is uploaded to the MES system.
[0145] Based on the above embodiment, the data upload module 804 is specifically used for:
[0146] Receiving a trigger instruction from a user through a trigger check confirmation module, and verifying the measurement data;
[0147] After the verification is completed, the control upload function module changes from an unavailable state to an available state;
[0148] A trigger instruction from a user to trigger the upload function module is received, and the measurement data is uploaded to the target system.
[0149] Based on the above embodiment, the device further includes a driver installation module, which is used to:
[0150] Get the type of image acquisition device;
[0151] Selecting a target driver from a plurality of pre-stored image acquisition device drivers according to the type of the image acquisition device;
[0152] Install the target driver.
[0153] Based on the above embodiment, the measurement item formula includes welding room location information and detection item name; the measurement module 803 is specifically used for:
[0154] Receive the current welding room position and the current inspection item name to be measured;
[0155] Receiving a measurement point selected by a user through a metallographic image displayed on an interface, and generating a corresponding measurement value according to the measurement point;
[0156] The current welding room position, the current detection item name and the measurement value are recorded as one of the measurement data.
[0157] Fig. 9 A schematic diagram of a data processing device entity structure provided in an embodiment of the present application, such as Fig. 9 As shown, the data processing device includes: a processor (processor) 901, a memory (memory) 902 and a bus 903; wherein,
[0158] The processor 901 and the memory 902 communicate with each other via the bus 903;
[0159] The processor 901 is used to call the program instructions in the memory 902 to execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining production line information, and collecting metallographic images of batteries under the production line corresponding to the production line information; obtaining a pre-configured measurement item formula according to the production line information, and the measurement item formula includes relevant parameters for detecting the battery; measuring the metallographic image according to the measurement item formula to obtain measurement data; uploading the measurement data to the target system.
[0160] The processor 901 can be an integrated circuit chip with signal processing capabilities. The above-mentioned processor 901 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. It can implement or execute various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0161] The memory 902 may include but is not limited to random access memory (RAM), read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable read-only memory (EEPROM), etc.
[0162] Based on the above embodiment, the data processing device further includes a display, which is used to display the measurement interface; Fig.10 A schematic diagram of a measurement interface provided in an embodiment of the present application, such as Fig.10 As shown, the measurement interface includes an image measurement area 1001, a production line selection area 1002, a detection item area 1003, a welding room location area 1004, a measurement value display area 1005, a measurement result recording area 1006 and an upload area 1007; wherein:
[0163] The image measurement area 1001 is used to display the metallographic image of the battery; it should be noted that the metallographic image is an image of the battery collected by the image acquisition device, and the collected metallographic image is transmitted to the data processing device. The user can click on the metallographic image to determine the measurement point to achieve the measurement of the metallographic image.
[0164] The production line selection area 1002 is used for the user to select and display the production line information to be measured; wherein the production line information may be a production line identification, which is used to uniquely identify the production line. A drop-down button may be provided in the production line selection area 1002, and the user is shown the selectable production line identification by clicking the drop-down button.
[0165] The inspection item area 1003 includes a trigger module corresponding to the inspection item name, and the trigger module is used for the user to select the current inspection item name; it should be noted that the number of trigger modules can be pre-configured according to actual needs. If it is necessary to measure the melt pool depth, melt pool width, crack length and pore diameter of the metallographic image, the inspection item area 1003 includes the above four trigger modules.
[0166] The welding room location area 1004 is used to display pre-configured welding room location information and display the welding room location information currently being measured; it is understandable that the welding room location information can also be pre-configured by the user, and the location and number of welding rooms corresponding to different production lines may be different.
[0167] The measurement value display area 1005 is used to display the measurement value corresponding to the current welding room location information and the current detection item name.
[0168] The measurement result recording area 1006 is used to display measurement data, which includes the current welding room location information, the current inspection project name and the corresponding measurement value; the data processing device fills the current welding room location information, the current inspection project name and the corresponding measurement value as a measurement data into the measurement result recording area.
[0169] The upload area 1007 includes an upload module, which is used to upload the measurement data to the target system. The upload area 1007 includes a "check and confirm" button and an "upload system" button. The initial state of the "upload system" button is unavailable. When the user clicks the "check and confirm" button and completes the check of the measurement data, the state of the "upload system" button is changed to available, and the user can upload the measurement data to the target system by clicking the "upload system" button. It can be understood that the upload area 1007 can only include the "upload system" button, that is, the function of directly uploading the measurement data without checking it can be realized.
[0170] The embodiment of the present application displays multiple functional areas on the interface and presents them to the user in a visual manner, and the user can operate through the display interface, thereby improving the convenience of operation.
[0171] Based on the above embodiments, Fig.10 As shown, the measurement interface may further include a deletion area 1008 and an MES log area 1009. Among them:
[0172] The deletion area 1008 is used to delete the selected measurement data. For example, the measured measurement data can be selected from the measurement result recording area and the selected measurement data is displayed in the deletion area 1008. The deletion area 1008 also includes a "delete selected" button. After clicking the "delete selected" button, the selected measurement data to be deleted is deleted. After deleting the measurement data, the user can be allowed to re-measure.
[0173] The log area 1009 is used to display the information returned by the target system.
[0174] The embodiment of the present application sets a deletion area on the measurement interface to facilitate the user to delete the measured data for re-measurement, and sets a log area to facilitate the user to observe the information returned by the target system.
[0175] On the basis of the above embodiment, the display is also used to display the configuration interface, which includes the networking parameter configuration interface, the upload parameter configuration interface and the acquisition parameter configuration interface;
[0176] The networking parameter configuration interface is used for users to configure MES parameters for different production line information; as above Figure 2 As shown, the specific contents displayed in the networking parameter configuration interface refer to the above embodiment and will not be repeated here.
[0177] The upload parameter configuration interface is used for users to configure the inspection item names and welding room locations under different production lines; as shown above Figure 6 As shown, the specific contents displayed in the upload parameter configuration interface refer to the above embodiment and will not be repeated here.
[0178] The acquisition parameter configuration interface is used for users to configure the acquisition parameters of different image acquisition devices. Figure 4 As shown, the specific contents displayed in the acquisition parameter configuration interface refer to the above embodiment and will not be repeated here.
[0179] In summary, the embodiments of the present application are developed using the graphical programming language LabVIEW. The language is used to implement functions such as metallographic image acquisition, metallographic image measurement, measurement project formula data management, data upload to a networked target system, user management, and automatic storage of logs and images.
[0180] The embodiment of the present application displays the configuration interface in a visual manner, making it convenient for the user to set the parameters required for the test on the configuration interface.
[0181] Fig.11 A schematic diagram of a detection system structure provided in an embodiment of the present application is shown in FIG. Fig.11 As shown, it includes an image acquisition device, a target system and the data processing equipment described in the above embodiments;
[0182] The data processing device is respectively connected to the image acquisition device and the target system in communication. The data processing device can be a desktop computer, a laptop computer, a tablet computer, etc., and is visualized through a display. It is understandable that the data processing device can also be a smart phone, a smart wearable device, etc. The data processing device can be connected to the target system in communication via a network cable, or it can be connected to the target system in communication via wireless communication. Similarly, the data processing device can be connected to the image acquisition device via a USB3.0 cable, or it can be connected to the image acquisition device via wireless communication.
[0183] The present embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining production line information, and collecting metallographic images of batteries under the production line corresponding to the production line information; obtaining a pre-configured measurement item formula according to the production line information, and the measurement item formula includes relevant parameters for detecting the battery; measuring the metallographic image according to the measurement item formula to obtain measurement data; uploading the measurement data to a target system.
[0184] The present embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions enable the computer to execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining production line information, and collecting metallographic images of batteries under the production line corresponding to the production line information; obtaining a pre-configured measurement item formula according to the production line information, and the measurement item formula includes relevant parameters for detecting the battery; measuring the metallographic image according to the measurement item formula to obtain measurement data; uploading the measurement data to a target system.
[0185] Fig.11 The target system shown in the figure may be an MES system. In practical applications, the target system may also be other systems that require measurement data.
[0186] The image acquisition device may include a microscope camera, a lens and a light source, and is used to acquire the image of the welded workpiece (eg, a battery) being tested.
[0187] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0188] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.
[0189] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0190] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0191] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A data processing method, characterized in that: include: Acquire production line information, and collect metallographic images of batteries under the production line corresponding to the production line information; Obtaining a pre-configured measurement item formula according to the production line information, wherein the measurement item formula includes relevant parameters for testing the battery; Measuring the metallographic image according to the measurement item formula to obtain measurement data; The measurement data is uploaded to a target system.
2. The method according to claim 1, characterized in that The target system is a production execution system MES, and uploading the measurement data to the target system includes: Acquire pre-configured MES parameters according to the production line information; wherein the MES parameters are used to establish communication with the MES system; Based on the MES parameters, the measurement data is uploaded to the MES system.
3. The method according to claim 1, characterized in that The uploading of the measurement data to the target system comprises: Receiving a trigger instruction from a user through a trigger check confirmation module, and verifying the measurement data; After the verification is completed, the control upload function module changes from an unavailable state to an available state; A trigger instruction from a user to trigger the upload function module is received, and the measurement data is uploaded to the target system.
4. The method according to claim 1, characterized in that: The method further comprises: Get the type of image acquisition device; Selecting a target driver from a plurality of pre-stored image acquisition device drivers according to the type of the image acquisition device; Install the target driver.
5. The method according to any one of claims 1 to 4, characterized in that: The measurement item formula includes welding room location information and detection item name; the metallographic image is measured according to the measurement item formula to obtain measurement data, including: Receive the current welding room position and the current inspection item name to be measured; Receiving a measurement point selected by a user through a metallographic image displayed on an interface, and generating a corresponding measurement value according to the measurement point; The current welding room position, the current detection item name and the measurement value are recorded as one of the measurement data.
6. A data processing device, characterized in that: include: An image acquisition module, used to obtain production line information and acquire metallographic images of batteries under the production line information; A measurement formula acquisition module, used to obtain a pre-configured measurement item formula according to the production line information, wherein the measurement item formula includes relevant parameters for testing the battery; A measuring module, used to measure the metallographic image according to the measurement item formula to obtain measurement data; The data uploading module is used to upload the measurement data to the target system.
7. A data processing device, characterized in that: include: processor, memory and bus, wherein, The processor and the memory communicate with each other via the bus; The memory stores program instructions executable by the processor, and the processor can execute the method according to any one of claims 1 to 5 by calling the program instructions.
8. The data processing device according to claim 7, characterized in that The data processing device also includes a display, which is used to display a measurement interface; the measurement interface includes an image measurement area, a production line selection area, a measurement value display area, a detection item area, a welding room location area, and a measurement result recording area and an upload area; wherein: The image measurement area is used to display the metallographic image of the battery; The production line selection area is used for the user to select and display the production line information to be measured; The detection item area includes a trigger module corresponding to the detection item name, and the trigger module is used for allowing the user to select the current detection item name; The welding room location area is used to display pre-configured welding room location information and display the welding room location information currently being measured; The measurement value display area is used to display the current welding room location information and the measurement value corresponding to the current detection item name; The measurement result recording area is used to display measurement data, and the measurement data includes the current welding room location information, the current detection item name and the corresponding measurement value; The upload area includes an upload module, and the upload module is used to upload the measurement data to a target system.
9. The data processing device according to claim 8, characterized in that The measurement interface also includes a deletion area and a log area; The deletion area is used to delete the selected measurement data; The log area is used to display the information returned by the target system.
10. The data processing device according to claim 8, characterized in that The display is also used to display a configuration interface, which includes a networking parameter configuration interface, an upload parameter configuration interface, and a collection parameter configuration interface; The networking parameter configuration interface is used for the user to configure the networking parameters for different production line information, and the data processing device communicates with the target system according to the configured networking parameters; The upload parameter configuration interface is used for users to configure the names of inspection items and welding room locations under different production lines; The acquisition parameter configuration interface is used for users to configure acquisition parameters of different image acquisition devices.
11. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, which, when executed by a computer, enable the computer to perform the method according to any one of claims 1 to 5.
12. A detection system, characterized in that: comprising an image acquisition device, a target system and a data processing device as claimed in any one of claims 7 to 9; The data processing device is communicatively connected with the image acquisition device and the target system respectively.
