A stopwatch automatic calibration process control method based on calibration specifications

CN123010358APending Publication Date: 2026-10-30GANSU PROVINCIAL INST OF METROLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611269614.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-20
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

目前,现有秒表自动校准通常基于预设校准流程执行固定动作控制,缺少针对不同秒表类型对应规范要求进行任务序列动态生成以及校准节点状态关联控制的机制,无法根据当前校准任务的执行条件对任务启动状态进行自动判断,导致校准流程容易受到初始状态不一致以及任务切换依据不足的影响,使得自动校准过程与实际规范要求之间存在匹配偏差,因此,提出一种基于校准规范的秒表自动校准流程控制方法

Benefits of technology

本发明通过在校准开始阶段将秒表类型与规范校准项目表映射为可逐项执行的校准任务序列,在每个校准任务执行前采集起始读数图像生成任务准入评估,只有准入通过才允许执行,在任务执行中同步采集执行机构动作反馈数据与校准仪计时状态数据,通过按键动作与门控事件的配对计算得到计时同步特征,在任务结束后采集结束读数图像,结合计时同步特征生成任务有效性结果,并据此选择进入下一任务、重测当前任务或暂停校准的任务切换路径,同步生成节点校准记录,实现了对秒表校准过程中的任务同步校验,提高了秒表校准的准确性与全过程可追溯性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123010358A_ABST
    Figure CN123010358A_ABST
Patent Text Reader

Abstract

The application discloses a stopwatch automatic calibration process control method based on calibration specifications, relates to the automatic calibration technical field, and is used for solving the problem of matching deviation between the automatic calibration process and actual specification requirements. The stopwatch type and the specification calibration item table are mapped into a calibration task sequence which can be executed item by item at a calibration starting stage, a starting reading image is collected before the execution of each calibration task to generate a task access evaluation, the execution is allowed when the access is passed, execution mechanism action feedback data and calibration instrument timing state data are synchronously collected in the task execution, timing synchronization features are calculated through the pairing of key actions and gate events, an ending reading image is collected after the task ends, the task effectiveness result is generated in combination with the timing synchronization features, and the task switching path of entering the next task, retesting the current task or suspending the calibration is selected accordingly, and the node calibration record is synchronously generated, so that the accuracy and the whole-process traceability of the stopwatch calibration are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automatic calibration technology, and more specifically, to a stopwatch automatic calibration process control method based on calibration specifications. Background Technology

[0002] The current stopwatch calibration process is usually carried out item by item according to the calibration items specified in the national metrological calibration standards. The stopwatch performance is evaluated by manually reading the stopwatch display status, controlling the operation of the calibrator, and recording the calibration results. In the actual calibration process, the calibration items, execution order, and judgment conditions for different types of stopwatches are different. Traditional calibration methods usually require calibrators to manually match the corresponding standard content according to the stopwatch type and perform manual confirmation and process switching between each calibration node.

[0003] The existing technology has the following shortcomings: Currently, existing automatic stopwatch calibration methods typically rely on preset calibration procedures to execute fixed actions. They lack mechanisms for dynamically generating task sequences and controlling the status of calibration nodes in accordance with the specifications for different stopwatch types. They also cannot automatically determine the task start status based on the execution conditions of the current calibration task, making the calibration process susceptible to inconsistencies in the initial state and insufficient basis for task switching. This results in a mismatch between the automatic calibration process and the actual specification requirements. Therefore, this paper proposes an automatic stopwatch calibration process control method based on calibration specifications.

[0004] The information disclosed in the background section is only intended to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0005] To overcome the aforementioned deficiencies in the prior art, embodiments of the present invention provide an automatic calibration process control method for stopwatches based on calibration specifications. This method addresses the problems mentioned in the background art by employing a calibration task sequence generation mechanism based on specification item mapping, a task admission evaluation mechanism based on initial reading status, a synchronization verification mechanism based on the association between action feedback and timing status, and a process switching control mechanism based on task validity results.

[0006] To achieve the above objectives, the present invention provides the following technical solution: a stopwatch automatic calibration process control method based on calibration specifications, comprising the following steps: Step S1: Read the stopwatch type and standard calibration item table of the stopwatch to be tested, extract the calibration task sequence from the standard calibration item table according to the stopwatch type, and determine the current task to be executed according to the calibration task sequence; Step S2: When the current task to be executed is marked as pending admission, the starting reading image of the current task is acquired, the starting reading state of the stopwatch is identified based on the starting reading image of the current task, and a task admission assessment is generated in combination with the current task to be executed; Step S3: Execute the current task to be executed based on the task admission assessment, collect the action feedback data of the actuator and the timing status data of the calibrator, and evaluate the timing synchronization characteristics of the current task to be executed; Step S4: Acquire the current task completion reading image, combine it with timing synchronization features to generate task validity results, select the task switching path based on the task validity results, and generate node calibration records.

[0007] In a preferred embodiment, in step S1, the standard calibration item table is a data table with stopwatch type as the primary key and calibration item, calibration point, and number of measurements as fields; Using the stopwatch type as the query key, filter the set of calibration items corresponding to the stopwatch type of the stopwatch to be tested from the standard calibration item table; For each calibration item in the calibration item set, expand the set of required calibration points and the number of measurements at each calibration point to obtain a triplet. Arrange the triplets in the order of the calibration items in the specification, the calibration point range from low to high, and the number of measurements in ascending order, and then assemble them to obtain the calibration task sequence. If the stopwatch type matches the standard calibration item table, a calibration task sequence is generated and the first task to be executed is set as the current task to be executed.

[0008] In a preferred embodiment, in step S2, the initial reading status of the current task to be executed is obtained from the standard calibration item table, including the expected initial display reading and the expected running status bit. The image of the display window of the stopwatch to be tested is acquired to obtain the current task start reading image. The start display number and running status bit of the stopwatch to be tested are extracted to obtain the start reading status of the stopwatch.

[0009] In a preferred embodiment, in step S2, the stopwatch's initial reading state is compared with the initial reading state required by the current task to be performed, and the matching degree is calculated. When the matching degree is 1, the task admission evaluation is recorded as admission passed, and the current task to be executed is switched from the admission pending state to the execution state; Conversely, the task access assessment will be recorded as access rejection.

[0010] In a preferred embodiment, in step S3, when the task admission evaluation is passed, the actuator is driven to perform button actions on the stopwatch according to the button action sequence of the current task to be executed. When a button action is executed, the actuator action feedback data and the calibrator timing status data are collected. The actuator action feedback data is the time when each button is pressed, and the calibrator timing status data is the time when each gate control event occurs.

[0011] In a preferred embodiment, in step S3, the actuator action feedback data and the calibrator timing status data are paired by index, and the synchronization deviation between each button action and its corresponding gate control event is calculated. When the maximum synchronization deviation does not exceed the synchronization threshold, and a corresponding gating event can be found for each key press, the timing synchronization feature is set to 1; otherwise, the timing synchronization feature is set to 0.

[0012] In a preferred embodiment, in step S4, the stopwatch end display number and the end running status bit are extracted from the current task end reading image; The difference between the end display number of the stopwatch obtained by image recognition of the end reading of the current task and the start display number of the stopwatch under test is used to obtain the reading value of the stopwatch under test for this task. Extract the start and stop times corresponding to this task from the timing data of the calibrator, and calculate the standard value of the calibrator.

[0013] In a preferred embodiment, in step S4, the difference between the reading of the stopwatch under test in this task and the standard value of the calibrator is obtained to obtain the reading error of the stopwatch under test in this task. The end-of-run status bit is set to 1 when the end-of-run status bit matches the expected end-of-run status of the current task to be executed; otherwise, the end-of-run status consistency bit is set to 0.

[0014] In a preferred embodiment, in step S4, the indication error, timing synchronization feature, and end state consistency bit are combined into a task validity result; Compare the task validity results with the validity judgment rules: If the timing synchronization feature is 1 and the end state consistency bit is 1, then the task validity result is recorded as valid, and the task switching path is to enter the next task; Otherwise, the task validity result is recorded as invalid, and the task switching path is to retest the current task.

[0015] The technical effects and advantages of this invention are as follows: This invention maps stopwatch types to a standardized calibration item list as a sequence of executable calibration tasks at the beginning of the calibration process. Before each calibration task is executed, an initial reading image is collected to generate a task admission assessment. Only tasks that pass the admission assessment are allowed to proceed. During task execution, the action feedback data of the actuator and the timing status data of the calibrator are collected synchronously. Timing synchronization characteristics are obtained by pairing button actions and gating events. After the task is completed, an end reading image is collected, and the timing synchronization characteristics are combined to generate a task validity result. Based on this result, a task switching path is selected to proceed to the next task, retest the current task, or pause calibration. Node calibration records are generated synchronously, enabling synchronous verification of tasks during the stopwatch calibration process and improving the accuracy and traceability of the entire stopwatch calibration process. Attached Figure Description

[0016] Figure 1 This is a flowchart illustrating the implementation of an automatic calibration process control method for a stopwatch based on calibration specifications according to the present invention.

[0017] Figure 2 This is a schematic diagram illustrating the steps of an automatic stopwatch calibration process control method based on calibration specifications according to the present invention. Detailed Implementation

[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. 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.

[0019] This invention maps stopwatch types to a standardized calibration item list as a sequence of executable calibration tasks at the beginning of the calibration process. Before each calibration task is executed, an initial reading image is collected to generate a task admission assessment. Only tasks that pass the admission assessment are allowed to proceed. During task execution, the action feedback data of the actuator and the timing status data of the calibrator are collected synchronously. Timing synchronization characteristics are obtained by pairing button actions and gating events. After the task is completed, an end reading image is collected, and the timing synchronization characteristics are combined to generate a task validity result. Based on this result, a task switching path is selected to proceed to the next task, retest the current task, or pause calibration. Node calibration records are generated synchronously, thus realizing the synchronous verification of tasks during the stopwatch calibration process.

[0020] Example 1, such as Figures 1 to 2 As shown, a stopwatch automatic calibration process control method based on calibration specifications includes the following steps: Step S1: Read the stopwatch type and standard calibration item table of the stopwatch to be tested, extract the calibration task sequence from the standard calibration item table according to the stopwatch type, and determine the current task to be executed according to the calibration task sequence; Step S2: When the current task to be executed is marked as pending admission, the starting reading image of the current task is acquired, the starting reading state of the stopwatch is identified based on the starting reading image of the current task, and a task admission assessment is generated in combination with the current task to be executed; Step S3: Execute the current task to be executed based on the task admission assessment, collect the action feedback data of the actuator and the timing status data of the calibrator, and evaluate the timing synchronization characteristics of the current task to be executed; Step S4: Acquire the current task completion reading image, combine it with timing synchronization features to generate task validity results, select the task switching path based on the task validity results, and generate node calibration records.

[0021] The specific implementation is as follows: In step S1, during the stopwatch calibration process, the calibration specification stipulates the calibration items that should be completed for different types of stopwatches, the calibration points corresponding to each calibration item, and the number of times each calibration point should be repeated. By concatenating the calibration items, calibration points, and number of measurements corresponding to the stopwatch type in the calibration specification into a sequence of calibration tasks that can be executed one by one, and advancing sequentially with task pointers, the specification requirements are discretized into the smallest task units that can be identified and switched by the system at the execution level, providing a basis for implementing independent access control and effectiveness evaluation for each task in subsequent steps.

[0022] The stopwatch type and standard calibration item table of the stopwatch under test are read through the communication interface of the calibration management platform. The stopwatch type is used to identify the subclass of the measuring instrument to which the object under test belongs, such as electronic stopwatch, mechanical stopwatch or digital millisecond meter. The standard calibration item table is a data table compiled according to the current stopwatch calibration specifications, with stopwatch type as the primary key and calibration item, calibration point and number of measurements as fields.

[0023] Using the stopwatch type as the query key, filter the set of calibration items corresponding to that type from the standard calibration item table; for each calibration item in the calibration item set, expand the set of required calibration points and the number of measurements at each calibration point to obtain a triplet of (calibration item, calibration point, measurement number); arrange all triplets in the following order: First, arrange the calibration items according to their order in the specification. Within the same calibration item, arrange the calibration points from low to high range. Within the same calibration point, arrange them from small to large measurement number. Concatenate these steps to obtain the calibration task sequence, which is expressed as follows: ; ; Where T is the calibration task sequence; This refers to the k-th calibration task in the calibration task sequence; , , These represent the calibration item, calibration point, and measurement number corresponding to the k-th calibration task, respectively; N is the total number of calibration tasks; and k is the index value of the calibration task.

[0024] The calibration task sequence reflects the complete set of calibration tasks for the type of stopwatch under test and their execution order. The larger the total number of calibration tasks, the more calibration tasks need to be completed for this type of stopwatch, and the longer the calibration time for a single stopwatch.

[0025] Set the task pointer, initially set it to 1, and retrieve the currently pending task from the calibration task sequence.

[0026] Whether the stopwatch type matches the standard calibration item list is a prerequisite for entering the formal calibration process. If the stopwatch type matches the standard calibration item table, a calibration task sequence is generated and the first task to be executed is set as the current task to be executed. Conversely, if the watch fails to meet the required specifications, it will be marked as having no matching specification, and the calibration process will be terminated.

[0027] It should be noted that the communication interface of the calibration management platform is the interaction channel between the system and the calibration specification database, used to read the type of stopwatch to be tested and its corresponding specification calibration item table in real time.

[0028] In step S2, the currently pending task is marked as pending admission, indicating that the currently pending task has been selected but has not yet been granted permission to enter the execution state; The required starting reading status for the current task can be found from the standard calibration item table. The starting reading status includes two components: the expected starting display reading and the expected running status bit, such as "00:00.00 and timing not started" or "holding the cumulative reading displayed by the previous stopwatch".

[0029] The image acquisition device captures an image of the display window of the stopwatch under test to obtain the current task's initial reading image. Image recognition is then performed on this image to extract the initial displayed digits and the running status bits of the stopwatch, yielding the stopwatch's initial reading status, expressed as follows: ; in, This is the stopwatch's initial reading state; The starting display number is obtained by recognizing the starting reading image of the current task, with the unit being seconds (s), and the scale value is consistent with the stopwatch under test; The running status bit is obtained by recognizing the starting reading image of the current task, and its value is taken from the set {in time, stopped, cleared}.

[0030] It should be explained that the image acquisition device refers to an optical acquisition device used to capture and acquire images of the stopwatch display window in real time, using a high-resolution camera or industrial camera to capture images of the stopwatch display surface.

[0031] The stopwatch's initial reading state is compared with the initial reading state required by the current task to be performed, and the matching degree is calculated. The expression is as follows: , ; Other situations; in, The matching degree of the k-th calibration task, with a value of 1 or 0; The expected initial display reading required for the k-th calibration task; δ represents the desired operating state bit required for the k-th calibration task; δ is the stopwatch graduation value.

[0032] When the matching degree is 1, it means that the stopwatch has the initial conditions to execute the current task; when the value is 0, it means that the current state of the stopwatch is inconsistent with the required starting reading state, and the execution phase is not allowed.

[0033] Based on this, a task admission assessment is generated, and the matching degree is compared with the admission rules to determine whether to proceed to step S3: If the matching degree is 1, the task admission evaluation is recorded as admission passed, the current task to be executed is switched from the admission waiting state to the execution state, and the process proceeds to step S3; Conversely, if the task admission assessment is not satisfactory, the execution mechanism is prompted to reset the stopwatch and re-acquire the current task start reading image, repeating the above identification and comparison process until the matching degree is 1 or the number of consecutive retries reaches the retry threshold.

[0034] It should be explained that the stopwatch division value is determined by the display resolution of the stopwatch itself. For example, it is typically 0.01s for electronic stopwatches and 0.1s for mechanical stopwatches. Here, a threshold judgment with the stopwatch division value as a tolerance is used instead of directly judging the equality of strings. The reason is that the last digit of the stopwatch display may jump at the moment of image acquisition. This last digit jump is an inherent noise of optical character recognition. Using the stopwatch division value as a tolerance can retain the necessary noise resistance while maintaining the strictness of the judgment. The retry threshold is an integer not less than 1, in "times". During the equipment debugging phase, the percentage of the same actuator that can be reset on the first attempt under normal working conditions is statistically analyzed. The number of retries required when the percentage of the first attempt reaches 95% is used as the value of the retry threshold, typically 3 times.

[0035] In step S3, after receiving the approved task admission assessment, the actuator is driven to perform button actions on the stopwatch according to the button action sequence required by the current task to be executed, the expression of which is as follows: in, This is a sequence of key presses; M represents the j-th button action (e.g., start, stop, reset); M represents the number of button presses, in "times"; j represents the index value of the button action, which is an integer from 1 to M.

[0036] While the button press is being executed, two data streams are collected in parallel. The first stream is the actuator motion feedback data, output by a contact-type stroke feedback unit installed on the actuator, which records the moment each button is pressed. Its expression is as follows: j=1,2,…,M; in, Provides feedback data on the actions of the implementing agency; The time of the j-th key press is in milliseconds (ms), and the time base is the system's unified clock.

[0037] The second channel is the calibrator timing status data, output from the calibrator's gating interface, recording the occurrence time of each gating event. Its expression is as follows: l=1,2,…,L; in, For calibrator timing status data; The type of the l-th gating event is determined by the set {start edge, stop edge}. The time of occurrence of the gating event is measured in milliseconds (ms), and the time reference is consistent with the action feedback data of the actuator.

[0038] It needs to be explained that the contact-type travel feedback unit is a sensing device installed on the button of the actuator. When the button is pressed, it outputs an electrical signal to record the precise time of the button press. The gating interface of the calibrator is the data channel for the calibrator to output timing start and stop event signals, providing the calibrator with a precise timing reference.

[0039] The actuator action feedback data and the calibrator timing status data are paired by index, and the synchronization deviation between each button action and its corresponding gating event is calculated. The expression is as follows: ; in, This represents the synchronization deviation corresponding to the j-th key press.

[0040] The closer the absolute value of the synchronization deviation is to 0, the better the synchronization between the button press and the start / stop of the calibrator's timing.

[0041] The larger the maximum value of the synchronization deviation, the more severe the loss of synchronization in the most serious key press and gating event in this task; the larger the standard deviation of the synchronization deviation, the more unstable the synchronization between multiple key presses.

[0042] Calculate timing synchronization characteristics using the maximum synchronization deviation: When the maximum synchronization deviation does not exceed the synchronization threshold, and a corresponding gating event can be found for each key press, the timing synchronization feature is set to 1. Conversely, the timing synchronization feature is set to 0.

[0043] It should be explained that the synchronization threshold is determined by a pre-test. The specific method is as follows: under the condition that the same actuator is connected to the same calibrator, collect several samples of the absolute value of the synchronization deviation of known normal buttons, take the median value, and then take the lower limit based on the median value as the synchronization threshold.

[0044] In step S4, the stopwatch display window is image acquired by the image acquisition device to obtain the current task end reading image. Image recognition is performed on the current task end reading image to extract the stopwatch end display number and the end running status bit. The stopwatch end display number is in seconds (s) and has the same division value as the stopwatch start display number extracted in step S2. The end running status bit is taken from the set {time in progress, stopped, cleared}.

[0045] The expression for calculating the reading of the stopwatch during this task is as follows: ; in, The reading of the stopwatch under test for this task is in seconds (s). The stopwatch displays the end number obtained from the image recognition of the current task's end reading. The starting display number of the stopwatch to be tested is passed in from step S2.

[0046] Extract the start and stop times corresponding to this task from the calibrator timing data, and calculate the calibrator standard value. The expression is as follows: ; in, This is the standard value for the calibrator, in seconds (s). This is the start edge time of this mission, in milliseconds (ms); This is the stopping edge time for this mission, in milliseconds (ms); after dividing by 1000, it is uniformly expressed as seconds (s).

[0047] The indication error of the stopwatch under test for this task is calculated using the following expression: ; in, The value represents the indication error, expressed in seconds (s). and The meaning is the same as above.

[0048] The smaller the absolute value of the indication error, the closer the indicated value of the stopwatch under test is to the standard value of the calibrator in this task, and the higher the accuracy of the stopwatch at that calibration point.

[0049] Based on this, the task validity result is generated, and its expression is as follows: ; in, For the results of task validity; This is the indication error; For timing synchronization features; This is the end-state consistency bit. It is set to 1 when the stopwatch's end-run state bit matches the expected end-run state of the current task to be executed, and 0 otherwise.

[0050] The task validity results are compared with the validity judgment rules to determine the task switching path: If the timing synchronization feature is 1 and the end status consistency bit is 1, the task validity result is recorded as valid, and the indication error can be accepted as the valid indication error of the current task to be executed. The task switching path is to enter the next task and increment the task pointer by 1. If the task pointer exceeds the total number of calibration tasks, the calibration process of the entire stopwatch ends. Otherwise, the next task to be executed is retrieved and the process proceeds to step S2. If the task validity result is invalid and the reason for failure is asynchronous or inconsistent end status, the task switching path is to retest the current task, the task pointer remains unchanged, and the execution mechanism is prompted to reset the stopwatch and return to step S2 to re-execute the current task to be executed. If the task validity result is invalid and the reason for failure is OCR abnormality, or the number of consecutive retests for the current task reaches the retry threshold, the task switching path is to pause calibration, retain the current task to be executed and the data collected in this task, and wait for manual intervention.

[0051] While generating the task validity results, the key quantities in this task process are summarized into node calibration records, the expression of which is as follows: ; in, Record node calibration; The task currently pending execution; This is the stopwatch's initial reading state; This is a sequence of key presses; Provides feedback data on the actions of the implementing agency; For calibrator timing status data; The reading of the stopwatch under test for this task; This is the standard value for the calibrator; This is the indication error; For timing synchronization features; For the results of task validity; The system timestamp used to generate node calibration records for this task.

[0052] The node calibration record simultaneously retains the current task to be executed, the stopwatch's initial reading status, the sequence of key actions, the actuator's action feedback data, the calibrator's timing status data, the stopwatch's reading for this task, the calibrator's standard value, the reading error, the timing synchronization characteristics, the task's validity results, and the corresponding timestamp. This allows the execution process of each calibration task to be completely traced back through the node calibration record, thus supporting the full traceability of the original calibration record.

[0053] It should be explained that the expected end running state corresponding to the consistency bit of the end state is obtained by querying the specification calibration item table for the current task to be executed. For example, for calibration tasks of the "timing accuracy" type, the expected end running state is "stopped" and for calibration tasks of the "cumulative timing" type, the expected end running state is "timing in progress". The judgment condition for the failure cause of OCR abnormality is that the stopwatch end display number or end running state bit obtained by recognizing the end reading image of the current task is missing one, or the character confidence is lower than the preset confidence threshold. The preset confidence threshold is determined by statistically analyzing multiple samples collected from the same stopwatch under standard process conditions during the equipment debugging phase, and taking the minimum confidence corresponding to the recognition accuracy of not less than 99% as its value.

[0054] Finally, it should be noted that in this paper, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0055] Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0056] In this document, the singular forms “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that terms such as “comprising / including” or “having” specify the presence of the stated features, integrals, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, integrals, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.

[0057] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referred to each other.

[0058] The above description of the disclosed embodiments will enable those skilled in the art to make or use various modifications to these embodiments. It will be readily apparent to those skilled in the art that the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A stopwatch automatic calibration process control method based on calibration specifications, characterized by: Includes the following steps: Step S1: Read the stopwatch type and standard calibration item table of the stopwatch to be tested, extract the calibration task sequence from the standard calibration item table according to the stopwatch type, and determine the current task to be executed according to the calibration task sequence; Step S2: When the current task to be executed is marked as pending admission, the starting reading image of the current task is acquired, the starting reading state of the stopwatch is identified based on the starting reading image of the current task, and a task admission assessment is generated in combination with the current task to be executed; Step S3: Execute the current task to be executed based on the task admission assessment, collect the action feedback data of the actuator and the timing status data of the calibrator, and evaluate the timing synchronization characteristics of the current task to be executed; Step S4: Acquire the current task completion reading image, combine it with timing synchronization features to generate task validity results, select the task switching path based on the task validity results, and generate node calibration records.

2. The automatic calibration process control method for a stopwatch based on calibration specifications according to claim 1, characterized in that: In step S1, the standard calibration item table is a data table with stopwatch type as the primary key and calibration item, calibration point, and number of measurements as fields; Using the stopwatch type as the query key, filter the set of calibration items corresponding to the stopwatch type of the stopwatch to be tested from the standard calibration item table; For each calibration item in the calibration item set, expand the set of required calibration points and the number of measurements at each calibration point to obtain a triplet. Arrange the triplets in the order of the calibration items in the specification, the calibration point range from low to high, and the number of measurements in ascending order, and then assemble them to obtain the calibration task sequence. If the stopwatch type matches the standard calibration item table, a calibration task sequence is generated and the first task to be executed is set as the current task to be executed.

3. The automatic calibration process control method for a stopwatch based on calibration specifications according to claim 2, characterized in that: In step S2, the initial reading status of the task to be performed is obtained from the standard calibration item table, including the expected initial display reading and the expected running status bit; The image of the display window of the stopwatch to be tested is acquired to obtain the current task start reading image. The start display number and running status bit of the stopwatch to be tested are extracted to obtain the start reading status of the stopwatch.

4. The automatic calibration process control method for a stopwatch based on calibration specifications according to claim 3, characterized in that: In step S2, the stopwatch's initial reading state is compared with the initial reading state required by the current task to be performed, and the matching degree is calculated. When the matching degree is 1, the task admission evaluation is recorded as admission passed, and the current task to be executed is switched from the admission pending state to the execution state; Conversely, the task access assessment will be recorded as access rejection.

5. The automatic calibration process control method for a stopwatch based on calibration specifications according to claim 1, characterized in that: In step S3, when the task admission evaluation is passed, the actuator is driven to perform button actions on the stopwatch according to the button action sequence of the current task to be executed. When a button action is executed, the actuator action feedback data and the calibrator timing status data are collected. The actuator action feedback data is the time when each button is pressed, and the calibrator timing status data is the time when each gate control event occurs.

6. The automatic calibration process control method for a stopwatch based on calibration specifications according to claim 5, characterized in that: In step S3, the actuator action feedback data and the calibrator timing status data are paired by index, and the synchronization deviation between each button action and its corresponding gate control event is calculated. When the maximum synchronization deviation does not exceed the synchronization threshold, and a corresponding gating event can be found for each key press, the timing synchronization feature is set to 1. Conversely, the timing synchronization feature is set to 0.

7. The automatic calibration process control method for a stopwatch based on calibration specifications according to claim 6, characterized in that: In step S4, the stopwatch end display digit and end running status bit are extracted from the current task end reading image; The difference between the end display number of the stopwatch obtained by image recognition of the end reading of the current task and the start display number of the stopwatch under test is used to obtain the reading value of the stopwatch under test for this task. Extract the start and stop times corresponding to this task from the timing data of the calibrator, and calculate the standard value of the calibrator.

8. The automatic calibration process control method for a stopwatch based on calibration specifications according to claim 7, characterized in that: In step S4, the difference between the reading of the stopwatch under test in this task and the standard value of the calibrator is calculated to obtain the reading error of the stopwatch under test in this task. The end-of-run status bit is set to 1 when the end-of-run status bit matches the expected end-of-run status of the current task to be executed; otherwise, the end-of-run status consistency bit is set to 0.

9. The automatic calibration process control method for a stopwatch based on calibration specifications according to claim 8, characterized in that: In step S4, the indication error, timing synchronization feature, and end state consistency bit are combined to form the task validity result; Compare the task validity results with the validity judgment rules: If the timing synchronization feature is 1 and the end state consistency bit is 1, then the task validity result is recorded as valid, and the task switching path is to enter the next task; Otherwise, the task validity result is recorded as invalid, and the task switching path is to retest the current task.