Production line yield statistics method and device, electronic equipment, storage medium and vehicle
Patent Information
- Application Number
- CN202611222128.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-12
- Publication Date
- 2026-11-03
AI Technical Summary
Existing technologies cannot achieve automatic collection, automatic statistics and real-time display of hourly output on the production line. In the two-shift production mode, shift data cannot be automatically isolated, which is prone to miscounting. Actual output cannot be compared with the JPH target in real time. Hardware costs are high, transformation costs are large, versatility is poor, there is a lack of intuitive visualization interface, and management transparency is low.
By utilizing existing hardware resources, the PLC controller, HMI human-machine interface, and process completion signal unit, automatic time period division and counting are achieved. Combined with rising edge detection mechanism, duplicate counting is avoided. Real-time statistics of output for each time period are provided, automatic shift switching and data isolation are supported, and the data is visualized through the human-machine interface.
It enables accurate and automatic collection and real-time statistics of hourly output from production lines, reducing transformation costs, adapting to various production lines, providing an intuitive visual interface, and improving management transparency and production efficiency.
Smart Images

Figure CN123029891A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent manufacturing of automotive parts, and in particular to production line output statistics methods, production line output statistics devices, electronic devices, storage media, and vehicles. Background Technology
[0002] In the intelligent manufacturing process of automotive parts, hourly capacity monitoring, cycle time balancing management, and multi-shift data isolation are core aspects of achieving refined production control. Currently, the industry commonly employs a traditional model of manual recording, post-shift summarization, and manual reporting. While some production lines have attempted to introduce dedicated counting systems, this method of output statistics heavily relies on manual operation, resulting in poor data real-time performance and low accuracy. Some solutions achieve data collection by adding independent metering modules, but hardware modification costs are high, deployment cycles are long, and compatibility is poor, making it difficult to quickly adapt to scenarios involving multiple vehicle models and process switching. Under a two-shift production model, the lack of automatic data isolation between the day shift (8:00-20:00) and the night shift (20:00-8:00 the next day) easily leads to issues such as cross-time period counting, omissions, and errors, resulting in a lack of reliable data for production efficiency analysis, bottleneck identification, and capacity traceability. For example, patent CN113010118A discloses a method for processing vehicle mileage and hour meter data, which improves the reliability of vehicle data in complex environments through data reading, verification, sorting, difference judgment, and anomaly cleaning. This solution focuses on fault-tolerant processing of onboard storage data, which differs significantly from the real-time production statistics scenario on the production line.
[0003] However, this patent only addresses the reliability processing of vehicle mileage and hourly meter data, and does not have the function of production line output statistics; it does not design hourly segmented counting logic, so it cannot realize independent hourly output statistics; it does not support real-time comparison between hourly output (Jobs Per Hour, JPH) target and actual output; it does not include automatic shift switching and timed reset mechanisms, and cannot achieve visual display on the human machine interface (HMI), making it difficult to meet the cycle time management needs of automotive parts production lines.
[0004] Therefore, the relevant technologies cannot achieve 24-hour automatic segmented statistics, the data granularity is coarse, and it is difficult to support fine scheduling; there is a lack of real-time difference calculation between actual output and JPH target, and the efficiency target cannot be intuitively judged; shift switching relies on manual operation, which is prone to data confusion and handover errors; it relies on additional hardware or host computer system, which has high transformation costs, poor versatility, and inconvenient expansion; the site lacks an intuitive visualization interface, the management transparency is low, and the response to anomalies is delayed. Summary of the Invention
[0005] The purpose of this invention is to provide a production line output statistics method, production line output statistics device, electronic equipment, storage medium, and vehicle, which at least solves the problems of the inability to automatically collect, automatically count, and display hourly output of production lines in real time; the problem of shift data not being automatically isolated and prone to miscounting in a two-shift production mode; the problem of the inability to compare actual output with JPH targets in real time and the lack of intuitive efficiency differences; and the technical problem of high hardware cost, complex modification, and poor versatility of traditional solutions.
[0006] This invention provides the following solution: According to one aspect of the present invention, a method for calculating production line output is provided, comprising: In response to the detection of a process completion signal for a single processing operation at the workstation, the time period to which the process completion signal belongs in the current shift is determined based on the current time; Perform a counting operation on the counter corresponding to the time period. The first actual output completed in each of the aforementioned time periods and the second actual output completed in the current shift are statistically analyzed.
[0007] Preferably, the step of responding to the detection of a single processing completion signal at the workstation and determining the time period to which the processing completion signal belongs in the current shift based on the current time includes: The process completion signal for each workstation is detected based on the rising edge detection command. In response to the detection that the process completion signal is set to 1, the process completion signal is determined to be valid, and the current time is read; Based on the current time, determine the time period to which the processing completion signal belongs in the current shift.
[0008] Preferably, after calculating the first actual output completed in each time period and the second actual output completed in the current shift, the method further includes: Obtain the first target output for processing completed in advance for each time period; If the difference between the first actual output and the first target output in the current time period is less than zero, it is determined that there is an anomaly in the current time period, and the anomaly result is displayed in the designated human-machine interface; In response to the detection of an anomaly handling operation triggered based on the human-machine interface, anomalies in the current time period are managed.
[0009] Preferably, the method further includes: In response to the end of the current shift, the first actual output for each time period, the second actual data corresponding to the current shift, and the difference between the first actual output and the first target output for each time period are saved. Reset the counters for each time period to zero.
[0010] Preferably, performing a counting operation on the counter corresponding to the time period includes: An addition instruction is executed on the counter corresponding to the time period, and the actual output of the time period is automatically incremented by 1.
[0011] Preferably, the method further includes: The first actual output corresponding to each time period counter and the second actual output completed in the current shift are displayed in real time on the designated human-machine interface.
[0012] According to a second aspect of the present invention, a production line output counting device is provided, comprising: The time period determination module is used to respond to the detection of a process completion signal for a single processing at a workstation, and determine the time period to which the process completion signal belongs in the current shift based on the current time; The counting operation module is used to perform counting operations on the counter corresponding to the time period. The production statistics module is used to count the first actual output completed in each time period and the second actual output completed in the current shift.
[0013] According to three aspects of the present invention, an electronic device is provided, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the production line output statistics method.
[0014] According to four aspects of the present invention, a computer-readable storage medium is provided, comprising: storing a computer program executable by an electronic device, wherein when the computer program is run on the electronic device, the electronic device performs the steps of a production line output statistics method.
[0015] According to five aspects of the present invention, a vehicle is provided, comprising: Electronic equipment used to implement production line output statistics methods; The processor runs programs, and when the programs are running, they execute the steps of the production line output statistics method based on data output from electronic devices. Storage medium used to store programs that, when running, execute steps of a production line output statistics method based on data output from electronic devices.
[0016] The above solution achieves the following beneficial technical effects: This invention uses the process completion signal to determine the time period of the current shift based on the current time; and performs a counting operation on the counter corresponding to the time period to avoid duplicate counting and omissions, ensuring accurate and reliable data.
[0017] This invention utilizes existing PLC and HMI resources by statistically analyzing the first actual output completed in each time period and the second actual output completed in the current shift. It eliminates the need for additional sensors, barcode scanners, and other equipment, significantly reducing modification costs and achieving zero hardware investment and low cost. Furthermore, the production line's output statistics logic can be modularly designed, allowing for rapid adaptation to various production lines such as stamping, welding, painting, final assembly, and machining, with convenient adjustments. Attached Figure Description
[0018] Figure 1 This is a flowchart of a production line output statistics method provided by one or more embodiments of the present invention.
[0019] Figure 2 This is a schematic diagram of a human-machine interface provided in a specific embodiment of the present invention.
[0020] Figure 3 This is a structural diagram of a production line output statistics device provided in one or more embodiments of the present invention.
[0021] Figure 4 This is a block diagram of an electronic device for a production line output statistics method provided in one or more embodiments of the present invention. Detailed Implementation
[0022] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] It should be understood that the term "and / or" used herein is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship. It should be understood that although the terms first, second, third, etc., may be used in the embodiments of this application, these descriptions should not be limited to these terms. These terms are only used to distinguish descriptions. For example, without departing from the scope of the embodiments of this application, first can also be referred to as second, and similarly, second can also be referred to as first. Depending on the context, the words "if" or "if" as used herein can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrases "if determined" or "if detected (the stated condition or event)" can be interpreted as "when determined," "in response to determination," "when detected (the stated condition or event)," or "in response to detection (the stated condition or event)."
[0024] Figure 1 This is a flowchart of a production line output statistics method provided by one or more embodiments of the present invention.
[0025] like Figure 1 The production line output statistics methods shown include: Step S1: In response to the detection of a process completion signal for a single processing operation at the workstation, determine the time period to which the process completion signal belongs in the current shift based on the current time.
[0026] First, the system implementing the production line output statistics method of the present invention consists of four parts: a programmable logic controller (PLC), an HMI human-machine interface, a process completion signal unit, and a data storage unit. It can achieve complete functionality without additional hardware.
[0027] The PLC controller, as the core control unit, possesses functions for system time reading, logical operations, counting, comparison, and data storage. It supports LTime_Of_Day, addition instructions (ADD), subtraction instructions (SUB), data transfer instructions (MOVE), and process completion signal detection instructions (P_TRIG). LTime_Of_Day is defined by IEC 61131. The time type in 3 (International Standard for PLC Programming Languages).
[0028] HMI (Human Machine Interface): Provides visual operation and display, including a 24-hour segmented production window, JPH target setting window, difference display area, count reset button, and shift status prompts.
[0029] Process completion signal unit: Collects processing completion signals at the workstation, such as completion of manual grinding, completion of equipment processing, completion of robot operation, etc., as a counting trigger source.
[0030] Data storage unit: Uses DB data blocks to store hourly output, JPH setting value, difference array, and total cumulative number, and supports power failure retention and historical traceability.
[0031] Based on this, the process completion signal unit detects the process completion signal of each workstation in real time for each single processing operation. If a process completion signal for a single processing operation is detected, the time period to which the process completion signal belongs in the current shift is determined according to the current time.
[0032] In this embodiment, each shift can be divided into multiple time periods by hour. Based on the detection time of the process completion signal and the current time, the time period to which the process completion signal belongs in the current shift can be determined.
[0033] Furthermore, the process completion signal for each workstation is detected based on the rising edge detection command. When the process completion signal is detected as 1, the PLC uses P_TRIG rising edge detection to identify a valid trigger, ensuring that the count is triggered only once per completion, avoiding repeated accumulation due to signal jitter, guaranteeing unique and accurate counting, and eliminating signal jitter interference. The process completion signal can also be a robot completion signal, a machine processing completion signal, a photoelectric detection signal, etc.
[0034] Read the current time (e.g., read the system time LTime_Of_Day) to determine the time period to which the processing completion signal belongs in the current shift.
[0035] Step S2: Perform a counting operation on the counter corresponding to the time period.
[0036] In this embodiment, a counter is set for each time period to achieve independent counting of output for each time period, and the counting results between different time periods do not affect each other. Each shift can be divided into multiple time periods, for example, one hour per time period, to achieve hourly-level refined statistics.
[0037] Furthermore, after confirming the time period to which the current process completion signal belongs, an addition instruction is executed on the counter corresponding to the time period, and the actual output of the time period is automatically incremented by 1.
[0038] Step S3: Calculate the first actual output completed in each time period and the second actual output completed in the current shift.
[0039] Based on the counters corresponding to each time period, the first actual output completed in each time period and the second actual output completed in the current shift are calculated in real time.
[0040] In this embodiment, before calculating the first actual output for each time period, it is also necessary to set a corresponding target output for the hourly output for each time period to calculate the difference between the hourly outputs.
[0041] The user (operator) can input the target output in the area designated for setting the target output via a human-machine interface. After detecting the target output input by the user, the system will process the first target output that has been pre-set for each time period.
[0042] The PLC uses the SUB subtraction instruction to calculate the difference between the actual output and the target output per hour: Actual output for the current period - Target output. If the difference is greater than or equal to 0, the output target is met; if the difference is less than 0, the target is not met. The result is uploaded to the human-machine interface (HMI) for display in real time. This provides a clear picture of production efficiency and data for on-site scheduling. The HMI can be a touchscreen, a host computer, an MES terminal, or an LED display board, etc.
[0043] If the difference between the first actual output and the first target output in the current time period is less than zero, an anomaly is determined to exist in the current time period, and the anomaly result is displayed in the designated human-machine interface. Upon detecting an anomaly handling operation triggered by the human-machine interface, the anomaly in the current time period is managed.
[0044] In this embodiment, after the current shift ends, the first actual output for each time period, the second actual output for the current shift, and the difference between the first actual output and the first target output for each time period can be saved. The counters for each time period are then reset to zero, adapting to multi-shift production modes without manual intervention. Specifically, output data and the difference between the first actual output and the first target output for each time period can be stored in a structured DB array. Using a DB array for structured storage ensures standardized data formatting, facilitating historical querying, analysis, and uploading.
[0045] For example, if a day is divided into two shifts, with the first shift ending at 8:00 and the second shift ending at 20:00, the MOVE assignment instruction can be automatically executed when the system time reaches 8:00 or 20:00, resetting all 24 time period counters to zero and achieving automatic isolation of day and night shift data.
[0046] The human-machine interface refreshes in real time the 24-hour segmented output, the target output for each time period, the difference between the actual output and the target output for each time period, and the total output for each shift (i.e., the second actual output); for example, the difference between the actual output and the target output for each time period can be stored in... JPH_SUB[0..23] The array enables data retention and long-term traceability even after power failure, with full visualization through a human-machine interface, providing transparent on-site management and zero learning cost.
[0047] Figure 2 This is a schematic diagram of a human-machine interface provided in a specific embodiment of the present invention. For example... Figure 2 As shown, each time period lasts one hour, and the target output (JPH) for each time period is set to 10. Figure 2 The system displays the quantity and target output for each hour. The value for the period from 10:00 to 11:00 is 11. The difference between the actual output and the target output is +1, and an error message "3181409: 2180TK1VI1_ZC1_IDB: ValveFault_k91: Cylinder jamming" is displayed. This example uses an hourly time period, but it can also be set to half an hour or 15 minutes. The duration of each time period can be set according to the actual situation.
[0048] In this embodiment, if an anomaly occurs, it can be managed by the work section itself. For example, the section is responsible for achieving its JPH target output, checking for hourly output shortfalls, and automatically detecting, tagged, and resolving any anomalies (such as machine downtime, material blockage, material shortage, defects, or changeover timeouts) within its work section. The 24-hour count, anomaly minute count, and reset actions are operated by the work section operator or team leader on the HMI. This method, with its work section anomaly detection and time-segmented counting functions, facilitates more accurate and scientific calculations of line cycle time and Overall Equipment Effectiveness (OEE).
[0049] For example, when an anomaly occurs, P_TRIG detects the rising edge, LTIME_OF_DAY records tStart (nanoseconds), and when the anomaly ends, P_TRIG detects the rising edge again, LTIME_OF_DAY records tEnd, SUB(tEnd - tStart) determines the anomaly duration, ADD is added to the section anomaly, and MOVE is synchronized to the HMI difference or status window.
[0050] This invention is applicable to various production lines, including stamping, welding, final assembly, and machining. For example, in a welding production line, the grinding completion signal at the workstation is used as the counting trigger source. After manual grinding, a button or photoelectric / vision sensor outputs a 2360 Finish signal. This signal is either pulse-type or self-holding, and the valid completion condition is set to the signal being changed from 0 to 1. The PLC uses P_TRIG (rising edge detection) to identify the edge of the 2360 Finish signal; the counting logic is triggered only during the first scan cycle from FALSE to TRUE of the signal. The PLC detects the rising edge, confirming a valid count trigger and avoiding duplicate counting. The PLC reads the current system time (e.g., 10:15), maps the current time to a 24-hour segmented window (each hour is a statistical interval), and determines the time period as 10:00-11:00. An ADD instruction is executed, automatically incrementing the counter corresponding to the output of that time period. The HMI interface refreshes in real time, displaying the counter's count value. If the target JPH is set to 10 on the human-machine interface, and the actual output for the current period is 8, then the difference = 2. Visual indication that the standard has not been met.
[0051] When the system time reaches 8:00 or 20:00, the MOVE0 operation is automatically executed, resetting all time period counters to zero and starting the new shift statistics. Single-time period reset and full reset functions are supported to meet the needs of debugging, anomaly handling, and other scenarios. Total production count is accumulated in real time, with clear 24-hour segmented data display, facilitating real-time monitoring of production status by management personnel.
[0052] This embodiment fully utilizes existing PLC and HMI resources, eliminating the need for additional sensors, barcode scanners, or other equipment, significantly reducing modification costs. Each shift can be divided into multiple time periods based on actual conditions, with each period using a rising edge triggering mechanism for independent counting, avoiding duplicate counting and omissions, ensuring accurate and reliable data. JPH compares the difference between the first actual output and the first target output in real time with zero, and uses the HMI to intuitively determine whether production targets are met, improving on-site scheduling efficiency. Automatic shift switching and data isolation are triggered by shift time, automatically executing zeroing operations, perfectly adapting to multi-shift production without data interference.
[0053] The system also allows for manual reset by the operator to handle anomalies, and can be configured for individual periods. The reset operation is initiated by the HM (Host Manager), and the PLC executes a MOVE 0 operation. The reset process does not affect the total production count (Grand Total), ensuring that historical totals are not lost.
[0054] The system features a real-time, visually appealing human-machine interface, allowing users to directly view 24-hour segmented output, target output settings for each time period, the difference between actual and target output for each time period, and the total cumulative output. Operation is intuitive and management is transparent. Data from each time period is stored in a database array for long-term preservation, ensuring data traceability and analyzability. This supports capacity analysis, bottleneck identification, quality traceability, and efficiency optimization. Furthermore, the invention is highly versatile and easily expandable, quickly adapting to various production lines such as stamping, welding, painting, final assembly, and machining, with convenient adjustments.
[0055] Figure 3 This is a structural diagram of a production line output statistics device provided in one or more embodiments of the present invention.
[0056] like Figure 3 The production line output statistics device shown includes: a time period determination module, a counting operation module, and an output statistics module.
[0057] The time period determination module is used to respond to the detection of a process completion signal for a single processing at a workstation, and determine the time period to which the process completion signal belongs in the current shift based on the current time; The counting operation module is used to perform counting operations on the counter corresponding to the time period. The production statistics module is used to count the first actual output completed in each time period and the second actual output completed in the current shift.
[0058] The time period determination module is used to detect the process completion signal of each workstation in a single processing operation according to the rising edge detection command; in response to the recognition that the process completion signal is set to 1, the module determines that the process completion signal is valid and reads the current time; based on the current time, the module determines the time period to which the processing completion signal belongs in the current shift.
[0059] The production statistics module is used to obtain the first target output of processing completed in advance for each time period; if the difference between the first actual output and the first target output in the current time period is less than zero, it is determined that there is an anomaly in the current time period, and the anomaly result is displayed in the specified human-machine interface; in response to detecting the anomaly handling operation triggered by the human-machine interface, the anomaly in the current time period is managed.
[0060] The production statistics module is used to respond to the end of the current shift by saving the first actual output for each time period, the second actual data corresponding to the current shift, and the difference between the first actual output and the first target output for each time period; and clearing the counters for each time period.
[0061] The counting operation module is used to execute an addition instruction on the counter corresponding to the time period, and automatically increment the actual output of the time period by 1.
[0062] The production statistics module is also used to display the first actual output corresponding to the counters of each time period and the second actual output completed in the current shift in real time on the designated human-machine interface.
[0063] Figure 4 This is a block diagram of an electronic device for a production line output statistics method provided in one or more embodiments of the present invention.
[0064] like Figure 4 As shown, the present invention provides an electronic device, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of a production line output statistics method.
[0065] The present invention also provides a computer-readable storage medium storing a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of a production line output statistics method.
[0066] The present invention also provides a vehicle, comprising: Electronic equipment used to implement steps based on production line output statistics methods; The processor runs programs, and when the programs are running, they execute the steps of the production line output statistics method based on data output from electronic devices. Storage medium used to store programs that, when running, execute steps of a production line output statistics method based on data output from electronic devices.
[0067] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0068] The electronic device comprises a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on the operating system. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory. The operating system can be any one or more computer operating systems that control the electronic device through processes, such as Linux, Unix, Android, iOS, or Windows. Furthermore, in this embodiment of the invention, the electronic device can be a smartphone, tablet computer, or other handheld device, or a desktop computer, portable computer, or other electronic device; there is no particular limitation in this embodiment.
[0069] In this embodiment of the invention, the executing entity for electronic device control can be an electronic device itself, or a functional module within an electronic device capable of calling and executing a program. The electronic device can obtain the firmware corresponding to the storage medium. This firmware is provided by the supplier, and different storage media may have the same or different firmware; no limitation is made here. After obtaining the firmware corresponding to the storage medium, the electronic device can write this firmware into the storage medium; specifically, it burns the firmware corresponding to the storage medium into the storage medium. The process of burning the firmware into the storage medium can be implemented using existing technology, and will not be elaborated upon in this embodiment of the invention.
[0070] Electronic devices can also obtain reset commands corresponding to storage media. These reset commands are provided by the supplier, and the reset commands for different storage media can be the same or different, which is not limited here.
[0071] At this time, the storage medium of the electronic device is a storage medium on which the corresponding firmware has been written. The electronic device can respond to the reset command corresponding to the storage medium on which the corresponding firmware has been written, thereby resetting the storage medium on which the corresponding firmware has been written according to the reset command. The process of resetting the storage medium according to the reset command can be implemented by existing technology and will not be described in detail in this embodiment of the invention.
[0072] For ease of description, the above devices are described separately as various units and modules based on their functions. Of course, in implementing this invention, the functions of each unit and module can be implemented in one or more software and / or hardware components.
[0073] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the meaning consistent with their meaning in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined.
[0074] For the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.
[0075] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present invention.
[0076] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for calculating production line output, characterized in that, include: In response to the detection of a process completion signal for a single processing operation at the workstation, the time period to which the process completion signal belongs in the current shift is determined based on the current time; Perform a counting operation on the counter corresponding to the time period. The first actual output completed in each of the aforementioned time periods and the second actual output completed in the current shift are statistically analyzed.
2. The production line output statistics method according to claim 1, characterized in that, The step of responding to the detection of a single processing completion signal at the workstation, and determining the time period to which the processing completion signal belongs in the current shift based on the current time, includes: The process completion signal for each workstation is detected based on the rising edge detection command. In response to the detection that the process completion signal is set to 1, the process completion signal is determined to be valid, and the current time is read; Based on the current time, determine the time period to which the processing completion signal belongs in the current shift.
3. The production line output statistics method according to claim 1, characterized in that, After calculating the first actual output completed in each time period and the second actual output completed in the current shift, the method further includes: Obtain the first target output for processing completed in advance for each time period; If the difference between the first actual output and the first target output in the current time period is less than zero, it is determined that there is an anomaly in the current time period, and the anomaly result is displayed in the designated human-machine interface; In response to the detection of an anomaly handling operation triggered based on the human-machine interface, anomalies in the current time period are managed.
4. The production line output statistics method according to claim 3, characterized in that, The method further includes: In response to the end of the current shift, the first actual output for each time period, the second actual data corresponding to the current shift, and the difference between the first actual output and the first target output for each time period are saved. Reset the counters for each time period to zero.
5. The production line output statistics method according to claim 1, characterized in that, The step of performing a counting operation on the counter corresponding to the time period includes: An addition instruction is executed on the counter corresponding to the time period, and the actual output of the time period is automatically incremented by 1.
6. The production line output statistics method according to claim 1, characterized in that, The method further includes: The first actual output corresponding to each time period counter and the second actual output completed in the current shift are displayed in real time on the designated human-machine interface.
7. A production line output statistics device, characterized in that, Using the method described in any one of claims 1-6 to calculate production line output includes: The time period determination module is used to respond to the detection of a process completion signal for a single processing at a workstation, and determine the time period to which the process completion signal belongs in the current shift based on the current time; The counting operation module is used to perform counting operations on the counter corresponding to the time period. The production statistics module is used to count the first actual output completed in each time period and the second actual output completed in the current shift.
8. An electronic device, characterized in that, include: The processor, communication interface, memory, and communication bus are connected, with the processor, communication interface, and memory communicating with each other via the communication bus. The memory stores a computer program that, when executed by a processor, causes the processor to perform the steps of the production line output statistics method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The device stores a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of the production line output statistics method as described in any one of claims 1 to 6.
10. A vehicle, characterized in that, include: An electronic device for implementing the steps of the production line output statistics method as described in any one of claims 1 to 6; A processor that runs a program that, when the program is running, performs the steps of the production line output statistics method as described in any one of claims 1 to 6 from data output by an electronic device. A storage medium for storing a program that, when running, performs the steps of the production line output statistics method as described in any one of claims 1 to 6 on data output from an electronic device.
Citation Information
Patent Citations
Method for processing mileage and hour meter data stored in automobile
CN113010118A
