Electronic scale verification data acquisition and analysis method and circuit

By introducing stroke switch identification and vision modules into the weight machine, and combining the working mode to automatically collect and determine the weight data of the electronic scale, the problem of manual recording errors in electronic scale verification is solved, real-time data acquisition and automated analysis are realized, and calibration efficiency and quality control are improved.

CN120369087APending Publication Date: 2025-07-25ZHONGSHAN YILAI ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510612425.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-13
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

During the verification process of existing electronic scales, production data relies on manual recording, and cannot achieve real-time collection and analysis, resulting in low work efficiency and easy errors, which cannot meet the needs of modern production for quality management accuracy and real-time monitoring.

Method used

The weight machine is used to combine the stroke switch identification and visual module to accurately collect weight information during multi-stage weight ballast by distinguishing the working mode, and upload data to the wireless terminal in real time, and automatically determine it in combination with the preset error range, and perform corresponding operations.

Benefits of technology

It improves the automation level of the electronic scale verification process and the real-time data acquisition, avoids manual recording errors, and improves the verification efficiency and quality control capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120369087A_ABST
    Figure CN120369087A_ABST
Patent Text Reader

Abstract

The invention relates to an electronic scale verification data acquisition and analysis method and circuit, and the method comprises the steps: determining a working mode of a weight machine, controlling a plurality of standard weights to be ballasted to a to-be-verified electronic scale in stages, and receiving a travel switch recognition signal in real time; triggering a visual module to read stage data displayed on a display screen of the electronic scale to be calibrated; if the working mode is a calibration mode, uploading stage data and a travel switch identification signal to a corresponding wireless terminal; and if the working mode is a weighing inspection mode, whether the stage data falls into a corresponding preset error allowable range is judged, and by distinguishing the working mode of the weight machine and combining a travel switch identification function and a data reading function of a visual module, accurate acquisition of weight information of the electronic scale in a multi-stage weight ballasting process can be realized. The automation level of data acquisition is improved, manual recording errors are avoided, and the efficiency and the real-time performance of the verification process are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic scale calibration, and particularly to a method and circuit for collecting and analyzing electronic scale calibration data. Background Art

[0002] Currently, during the production process of existing electronic scales, the weight calibration machine, as a key calibration device, is mainly used for weight calibration and inspection of electronic scale finished products. However, the currently widely adopted method in the industry is still the traditional combination of a weight calibration machine and manual recording. Production data such as output statistics, defect rate analysis, and the number of repeated calibrations mainly rely on manual registration. This method not only has low work efficiency but also is prone to recording errors, resulting in untimely update of production data and difficulty in promptly reflecting the actual on-site situation. In addition, traditional devices generally lack the ability of automated data collection and analysis, and cannot meet the requirements of modern production for quality management accuracy, real-time monitoring ability, and equipment maintenance response efficiency. Summary of the Invention

[0003] In order to solve the problem that production data during the electronic scale calibration process depends on manual recording and cannot be collected and analyzed in real time, the present application provides a method and circuit for collecting and analyzing electronic scale calibration data.

[0004] An electronic scale calibration data collection and analysis method is applied to a weight calibration machine. The method includes: Determine the working mode of the weight calibration machine, where the working mode at least includes a calibration mode and a weighing inspection mode; Control multiple standard weights to be loaded onto the electronic scale to be calibrated in stages, and receive the travel switch identification signal in real time; When receiving the travel switch identification signal of the current stage, trigger the vision module to read the stage data displayed on the display screen of the electronic scale to be calibrated; If the working mode is the calibration mode, upload the stage data and the travel switch identification signal to the corresponding wireless terminal; If the working mode is the weighing inspection mode, determine whether the stage data falls within the corresponding preset error tolerance range to perform the corresponding result response operation, where the result response operation includes a record upload operation and a termination of subsequent weight loading operations.

[0005] By adopting the above technical solution, by distinguishing the working mode of the weight calibration machine and combining the travel switch identification and the data reading function of the vision module, accurate collection of the weight information of the electronic scale during the multi-stage weight loading process can be achieved. This solution significantly improves the automation level of data collection, avoids manual recording errors, and improves the efficiency and real-time performance of the calibration process.

[0006] Preferably, if the working mode is the calibration mode, the step of uploading the stage data and the travel switch identification signal to the corresponding wireless terminal comprises: If the working mode is the calibration mode, the stage data and the travel switch identification signal are associated to form stage calibration information; Control the weight loading process to the next stage and receive the travel switch identification signal of the corresponding stage in real time; Performing format standardization processing on the calibration information of each stage, generating corresponding calibration entries, and filling the calibration entries into the calibration data structure; When the calibration data structure is filled in all stages, the visual module is triggered to obtain the calibration completion information displayed on the display screen of the electronic scale to be calibrated; If the calibration completion signal is detected, the calibration data structure is uploaded to the corresponding wireless terminal.

[0007] By adopting the above technical solution, the weight data of each stage is bound to its corresponding travel signal and structured calibration data is generated. The unified format packaging and stage-by-stage recording are further completed. The calibration process data set can be systematically constructed and the data can be uploaded centrally after the calibration completion signal is confirmed, thereby improving the standardization of data processing and traceability reliability.

[0008] Preferably, the step of judging whether the stage data falls within the corresponding preset error tolerance range to perform the corresponding result response operation includes: Determine whether the stage data falls within a corresponding preset error tolerance range; If it does not fall within the corresponding preset error tolerance range, corresponding bad weighing verification data is generated, the bad weighing verification data is uploaded to the corresponding wireless terminal, and the standard weight that has been loaded on the electronic scale to be verified is controlled to be lifted to leave the electronic scale to be verified; If it falls within the corresponding preset error tolerance range, the corresponding qualified weighing verification data is generated, the qualified weighing verification data is filled into the weighing verification data structure, and the weight ballasting process of entering the next stage is controlled; When the scale verification data structure is filled in all stages, the visual module is triggered to obtain the scale verification completion information displayed on the display screen of the electronic scale to be verified; If the weighing verification completion signal is detected, the weighing verification data structure is uploaded to the corresponding wireless terminal.

[0009] By adopting the above technical solution, the automatically determined collected stage weight data within a preset error range, combined with the judgment result, automatically generates qualified or unqualified verification scale data, and accordingly controls whether to continue the subsequent weight loading process, which can realize the automatic execution of the electronic scale qualification judgment, ensuring the judgment accuracy of the weighing result and the closed-loop nature of the process control.

[0010] An electronic scale calibration data acquisition and analysis circuit is applied to an electronic scale calibration data acquisition and analysis method. The electronic scale calibration data acquisition and analysis circuit includes a main control module, a WIFI data transmission module, a channel detection module, and a vision module. The data communication end of the vision module is connected to the first data communication end of the main control module. The data communication end of the WIFI data transmission module is connected to the second data communication end of the main control module. A plurality of travel switch signal detection units are provided on the channel detection module. The signal output end of each travel switch signal detection unit is connected to the first signal input end of the main control module. The main control module is used to record corresponding stage data and generate corresponding control instructions. Among them, the stage data is timely sent to the corresponding wireless terminal through the WIFI data transmission module, and the control instruction is used to control the start and stop process of the weight machine.

[0011] By adopting the above technical solution, combined with the structural design of the main control module, the vision recognition module, the WiFi data communication module, and the multi-channel travel signal detection module, a software and hardware collaborative platform with the capabilities of data acquisition, judgment, upload, and equipment control is formed, significantly improving the intelligent level and operation integration degree of the electronic scale calibration system.

[0012] Preferably, the travel switch signal detection unit includes a resistor R11, a resistor R16, a switch SW1, and an optocoupler U4. The first end of the switch SW1 is connected to the power supply. The second end of the switch SW1 is connected to the first end of the resistor R16. The second end of the resistor R16 is connected to the first end of the light-emitting diode part of the optocoupler U4. The second end of the light-emitting diode part of the optocoupler U4 is grounded. The first end of the resistor R11 is connected to the power supply. The second end of the resistor R11 is connected to the first end of the triode part of the optocoupler U4. The second end of the triode part of the optocoupler U4 is grounded. The common node between the second end of the resistor R11 and the first end of the triode part of the optocoupler U4 is connected to the first signal input end of the main control module.

[0013] By adopting the above technical solution, by introducing an optocoupler isolation circuit into each travel signal detection channel and cooperating with the current limiting and pull-up resistor design, the stable recognition of signal input and interference shielding are realized, effectively improving the anti-interference ability and signal accuracy of the acquisition channel, and enhancing the reliable operation ability of the system in the industrial environment.

[0014] Preferably, the switch signal detection unit further includes a resistor R30. A common node between the first end of the switch SW1 and the power supply is connected to the first end of the resistor R30, and a common node between the first end of the resistor R11 and the power supply is connected to the second end of the resistor R30.

[0015] By adopting the above technical solution, a bypass resistor structure is introduced, making the voltage distribution in the power supply path more flexible, facilitating the level conditioning and fault diagnosis of the subsequent circuit, and further optimizing the versatility of signal detection and the convenience of system maintenance.

[0016] Preferably, the electronic scale calibration data acquisition and analysis circuit further includes a one-key power-on module. The one-key power-on module includes a switch KEY1, a zener diode D5, resistors R23, R24, and a MOS transistor Q1. The first end of the resistor R23 is connected to the power supply, the second end of the resistor R23 is connected to the anode of the zener diode D5, the cathode of the zener diode D5 is connected to the first end of the switch KEY1, the second end of the switch KEY1 is grounded, a common node between the cathode of the zener diode D5 and the first end of the switch KEY1 is connected to the controlled end of the MOS transistor Q1, the first conduction end of the MOS transistor Q1 is connected to the power input port, the second conduction end of the MOS transistor Q1 is connected to the power output port, and a common node between the second end of the resistor R23 and the anode of the zener diode D5 is connected to the second signal input end of the main control module.

[0017] By adopting the above technical solution, a one-key power-on module with the ability to control power-on with a single button is designed. Combining MOS transistor conduction control and main control linkage simplifies the system power-on operation process, realizes efficient switching between low-power standby and instant response, and improves the convenience of device use and energy utilization efficiency.

[0018] Preferably, the switch KEY1 is a touch switch. The one-key power-on module further includes a latching unit. The latching unit includes resistors R25, R26, and a transistor Q2. The first end of the resistor R25 is connected to the signal output end of the main control module, the second end of the resistor R25 is connected to the controlled end of the transistor Q2, a common node between the cathode of the zener diode D5 and the first end of the switch KEY1 is connected to the first conduction end of the transistor Q2, the second conduction end of the transistor Q2 is grounded, and a resistor R26 is connected between the common node between the second end of the resistor R25 and the controlled end of the transistor Q2 and the ground.

[0019] By adopting the above technical solution, a latching control structure is introduced into the one-key power-on module. The triode is used to keep the MOS transistor in the conducting state, enabling the power-on control to have a memory function. There is no need to continuously press, enhancing the stability of the operation and supporting the flexible management of the main control over the power-on state.

[0020] Preferably, the one-key power-on module further includes a voltage stabilizing diode D6. The common node between the cathode end of the voltage stabilizing diode D5 and the first end of the switch KEY1 is connected to the cathode end of the voltage stabilizing diode D6. The anode end of the voltage stabilizing diode D6 is respectively connected to the controlled end of the MOS transistor Q1 and the first conducting end of the triode Q2.

[0021] By adopting the above technical solution, a feedback voltage stabilizing path is set for the multi-point potential stabilization of the MOS transistor and the latching device, which helps to eliminate the mis-triggering problem caused by key jitter or abnormal levels, and improves the safety and electrical stability of the one-key power-on process.

[0022] Preferably, the electronic scale calibration data acquisition and analysis circuit further includes a power input module. The power input module includes a main input unit and a reserved input unit. The power input ends of the main input unit and the reserved input unit are both connected to the power output port. The power output ends of the main input unit and the reserved input unit both output power for power supply. The main input unit includes a DC-DC boost chip U1 and a voltage stabilizing chip LDO1. The power input end of the DC-DC boost chip U1 is connected to the power output port. The power output end of the DC-DC boost chip U1 is connected to the power input end of the voltage stabilizing chip LDO1. The power output end of the voltage stabilizing chip LDO1 outputs power for power supply.

[0023] By adopting the above technical solution, by setting a multi-path power input structure including a main input unit and a reserved input unit, and combining a DC-DC boost chip and a hierarchical power conditioning path composed of an LDO linear voltage stabilizing chip, the system can achieve precise power supply to different modules, enhancing the power supply flexibility and power management ability of the overall system.

[0024] In summary, the present application includes at least one of the following beneficial technical effects: This application realizes the automatic acquisition and recognition of data in multiple weight stages during the calibration process of an electronic scale by introducing a data acquisition mechanism based on the combination of stroke recognition and visual recognition in a weight machine. Specifically, the system first determines the working mode of the weight machine, and selectively controls multiple standard weights to be loaded onto the electronic scale in stages according to different requirements of calibration or inspection. By using the recognition signal generated by the limit switch as the trigger condition for the completion of physical actions, the reliability and synchronization of each stage of loading are ensured. Subsequently, the visual module automatically reads the real-time display value of the electronic scale, avoiding the errors and lags caused by manual recording. In the calibration mode, the system can upload the calibration data and recognition signals of each stage to the wireless terminal to realize the whole-process data traceability of the calibration process; in the weighing inspection mode, it further makes a judgment based on the set error tolerance range, and accordingly executes response measures such as data recording or weight loading interruption, thereby forming a closed-loop control. This method effectively replaces the traditional method relying on manual registration, realizes the automatic acquisition, real-time analysis and intelligent judgment of production data, and improves the data reliability, process efficiency and quality control ability of the electronic scale calibration process. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a flowchart of a method for collecting and analyzing calibration data of an electronic scale according to an embodiment of the present application; Figure 2 is a block diagram of the circuit flow of a circuit for collecting and analyzing calibration data of an electronic scale according to an embodiment of the present application; Figure 3 is a schematic structural diagram of a weight machine applied to a method for collecting and analyzing calibration data of an electronic scale according to an embodiment of the present application; Figure 4 is a partial circuit schematic diagram of a main control module in a circuit for collecting and analyzing calibration data of an electronic scale according to an embodiment of the present application; Figure 5 is a partial circuit schematic diagram of a WIFI data transmission module in a circuit for collecting and analyzing calibration data of an electronic scale according to an embodiment of the present application; Figure 6 is a partial circuit schematic diagram of a limit switch signal detection unit in a circuit for collecting and analyzing calibration data of an electronic scale according to an embodiment of the present application; Figure 7 is a partial circuit schematic diagram of a one-key power-on module in a circuit for collecting and analyzing calibration data of an electronic scale according to an embodiment of the present application; Figure 8 is a partial circuit schematic diagram of a main input unit in a circuit for collecting and analyzing calibration data of an electronic scale according to an embodiment of the present application; Figure 1 ; Figure 9It is a partial circuit schematic diagram of the main input unit in a circuit for collecting and analyzing calibration data of an electronic scale in an embodiment of the present application Figure 2 . Specific embodiments

[0026] The present application will be further described in detail below with reference to the accompanying drawings.

[0027] In one embodiment, as Figure 1 shown, the present application discloses a method for collecting and analyzing calibration data of an electronic scale, which is applied to a weight machine. A method for collecting and analyzing calibration data of an electronic scale includes: S10. Determine the working mode of the weight machine. The working mode includes at least a calibration mode and a weighing inspection mode. The weight machine refers to a mechanical device dedicated to the weight calibration of an electronic scale, which can sequentially load standard weights of different weights onto the electronic scale according to a preset stage to achieve the calibration or inspection of the scale body. The working mode is a functional classification of the logic executed by the weight machine, and at least includes two states: a calibration mode and a weighing inspection mode. Among them, the calibration mode is used to establish the weight mapping relationship of the electronic scale, and the weighing inspection mode is used to confirm whether the accuracy of the electronic scale is within the qualified range.

[0028] S20. Control multiple standard weights to be loaded onto the electronic scale to be calibrated in stages, and receive the travel switch identification signal in real time. The standard weight refers to a weight body with known accuracy and tolerance range, which is a reference load for realizing the calibration of the electronic scale. Loading in stages means loading different numbers or weights of standard weights in sequence and in batches, and each loading completion constitutes a stage. The travel switch identification signal is a digital signal generated by a limit switch or a proximity switch linked with the weight loading at a specific position, and is used to determine whether the weight in the current stage is accurately loaded in place.

[0029] S30. When receiving the travel switch identification signal of the current stage, trigger the vision module to read the stage data displayed on the display screen of the electronic scale to be calibrated. The vision module is an electronic device with image acquisition and recognition functions, generally including a camera, an image processing chip and supporting software, and is used to capture the numerical value on the display screen of the electronic scale and convert it into digital data. The stage data refers to the numerical value information of the electronic scale read by the vision module in each standard weight loading stage, and is usually recorded and compared in units of weight.

[0030] S40. If the working mode is the calibration mode, upload the stage data and the travel switch identification signal to the corresponding wireless terminal. The wireless terminal is a remote device for receiving data, which can be a server, a host computer or a mobile control terminal, and interacts with the weight machine system through Wi-Fi or other wireless communication methods. The preset error tolerance range refers to the tolerance limit interval defined according to national standards or user definitions, and is used to determine whether the numerical value of the electronic scale under the current loading state is qualified.

[0031] S50. If the working mode is the weighing inspection mode, determine whether the stage data falls within the corresponding preset error tolerance range to perform the corresponding result response operation. The result response operation includes a record upload operation and a termination of the subsequent weight ballasting operation. The result response operation refers to the subsequent actions taken by the system based on the judgment result, including uploading the data record and controlling the interruption of the subsequent weight loading process when the judgment result is abnormal. Further, if the working mode is the calibration mode, in the step of uploading the stage data and the travel switch identification signal to the corresponding wireless terminal, the steps include: S401. If the working mode is the calibration mode, associate the stage data and the travel switch identification signal to form stage calibration information. The stage calibration information refers to the data unit formed by pairing the displayed value of the electronic scale collected in each stage with the corresponding travel switch identification signal after the weight loading of each stage is completed, and is used to completely describe the calibration status of this stage.

[0032] S402. Control to enter the weight ballasting process of the next stage and receive the travel switch identification signal of the corresponding stage in real time. The weight ballasting process of the next stage means that after the system completes the data collection of the previous stage, it automatically controls the weight machine to perform the loading operation of the next fixed-weight standard weight to ensure the sequential progress of the entire calibration process.

[0033] S403. Perform format standardization processing on the calibration information of each stage to generate the corresponding calibration entry, and fill the calibration entry into the calibration data structure. The format standardization processing refers to the conversion of the unified fields, formats, units, or structures of the stage calibration information to meet the technical requirements of subsequent encapsulation, storage, or remote transmission, so that the data entries of different stages have consistency. The calibration entry refers to the stage calibration information after standardization processing, which is usually used as the smallest unit of structured data and has the characteristics of being uploadable, storable, and parsable.

[0034] S404. When the calibration data structure is filled with all stages, trigger the vision module to obtain the calibration completion information displayed on the display screen of the electronic scale to be calibrated. The calibration data structure is an ordered set composed of multiple calibration entries, which are filled in sequence according to the calibration order. Each piece of data represents the result of a weight stage, and the complete structure reflects the full-process calibration process of the entire electronic scale. The calibration completion information refers to the calibration completion status explicitly output through the display interface after the electronic scale completes all set weight loading stages, generally a specific character, logo, or status code, which is used as the judgment condition for triggering the system to execute the upload operation.

[0035] S405. If the calibration completion signal is detected, upload the calibration data structure to the corresponding wireless terminal.

[0036] Specifically, in the calibration process, the system first collects the display value of the electronic scale after loading 50 kg in the first stage, which is 49.98 kg, and receives the recognition signal of the first travel switch to form the first stage calibration information. Subsequently, it enters the second stage, continues to load 100 kg, and the collected value is 99.95 kg. Similarly, the corresponding recognition signal is recorded and the second calibration entry is generated. After three stages are carried out in this way, the system combines the three formatted data into a complete calibration data structure. After the camera recognizes the word "CALDONE" on the electronic scale screen, it confirms that the calibration is completed, and immediately uploads the entire set of data to the server through the wireless module to complete the data archiving and calibration record of the whole process.

[0037] Further, in the step of judging whether the stage data falls within the corresponding preset error tolerance range to perform the corresponding result response operation, it includes: S501. Judge whether the stage data falls within the corresponding preset error tolerance range; the preset error tolerance range refers to the allowable error interval defined according to the standard weight value that should be achieved in each stage, based on technical specifications, product accuracy grades or user-set requirements. This range is used to judge whether the actually measured stage data meets the quality control standard.

[0038] S502. If it does not fall within the corresponding preset error tolerance range, generate the corresponding weighing scale bad data, upload the weighing scale bad data to the corresponding wireless terminal, and control the standard weights that have been loaded onto the weighing scale to be calibrated to be lifted to disengage from the weighing scale to be calibrated; the weighing scale bad data refers to the detection results generated after the display value of the electronic scale collected in a certain stage exceeds the preset error tolerance range, usually including information such as the measured value, the corresponding stage identifier, and the error range, which is used to characterize that this stage is in an unqualified state.

[0039] S503. If it falls within the corresponding preset error tolerance range, generate the corresponding weighing scale qualified data, fill the weighing scale qualified data into the weighing scale data structure, and control to enter the next stage of the weight loading process for the weights; the weighing scale qualified data is the data unit recorded when the detection result meets the allowable error range, usually used for subsequent data statistics, process traceability or result archiving. The weighing scale data structure is a structured set that stores the weighing scale results of multiple stages, used to completely record the qualified or unqualified situations of each stage of the entire electronic scale in the weighing inspection mode, and has stage sequence, relevance and integrity.

[0040] S504. When the weighing scale data structure is completely filled in all stages, trigger the vision module to obtain the weighing scale completion information displayed on the display screen of the weighing scale to be calibrated; the weighing scale completion information is the status flag or content presented on the display screen after the electronic scale has completed data collection in all set weight stages, usually used as the trigger basis for the completion of the process and the execution of the upload.

[0041] S505. If the weighing verification completion signal is detected, upload the weighing verification data structure to the corresponding wireless terminal.

[0042] Specifically, during the inspection process, after loading a 50 kg standard weight in the first stage, the vision module reads the displayed value of the electronic scale as 49.68 kg. Since the current preset error tolerance range is ±0.2 kg, it is determined that this data is unqualified. The system generates bad weighing verification data and uploads it. At the same time, it controls the weight lifting mechanism to lift the 50 kg weight off the scale surface and prompts for re - detection. If the detection result in the second stage is 99.93 kg, which meets the error tolerance range of the 100 kg stage, the system records this result as qualified weighing verification data and fills it into the weighing verification data structure. At the same time, it controls the loading action for the next stage. After all stages are completed, when the camera recognizes the "CHECKEND" logo displayed on the electronic scale screen, the system uploads the complete weighing verification data structure to the wireless terminal, realizing the closed - loop control and data reporting of the weighing accuracy verification process of the electronic scale.

[0043] As Figures 2 - 5 shown, an electronic scale calibration data acquisition and analysis circuit is applied to an electronic scale calibration data acquisition and analysis method. An electronic scale calibration data acquisition and analysis circuit includes a main control module, a WIFI data transmission module, a channel detection module, and a vision module. The data communication end of the vision module is connected to the first data communication end of the main control module, and the data communication end of the WIFI data transmission module is connected to the second data communication end of the main control module. The channel detection module is provided with multiple travel switch signal detection units, and the signal output end of each travel switch signal detection unit is connected to the first signal input end of the main control module. The main control module is used to record the corresponding stage data and generate corresponding control instructions. Among them, the stage data is sent to the corresponding wireless terminal through the WIFI data transmission module in a timely manner, and the control instructions are used to control the start - stop process of the weight machine.

[0044] In this embodiment, the main control module is used as the core control unit, which undertakes the main functions of system data processing, logical judgment, and instruction issuing. Its first data communication end is connected to the data communication end of the vision module, and is used to receive the electronic scale weight display value extracted from the camera image recognition result, that is, the stage data. After each travel signal is confirmed, the main control module actively triggers image acquisition. The second data communication end of the main control module is connected to the data communication end of the WIFI data transmission module to establish a stable data upload path, so that the stage data, calibration items, or scale inspection results generated in the calibration mode or inspection mode can be transmitted to the remote wireless terminal in a timely and automatic manner through the wireless network for recording, archiving, or subsequent processing. The channel detection module serves as the travel signal acquisition path and includes multiple travel switch signal detection units. The signal output end of each detection unit is directly connected to the first signal input end of the main control module to realize the recognition of the completion status of multiple stage weight loading actions. When a certain travel switch is triggered, its signal is immediately sent to the main control module to indicate that the current stage weight has been loaded in place, and then the main control module is triggered to control the vision module to collect data. After the main control module receives the data from the vision module each time, it will match and store it with the trigger status of the travel switch as stage data, and judge whether a control instruction needs to be generated according to the current working mode. The control instruction is generated by the internal logic of the main control module and is used to control the start and stop actions of the weight machine to ensure that the ballast process and the data acquisition behavior are strictly synchronized. In the inspection mode, it will also decide whether to continue loading the next stage of weights or execute the interruption operation of lifting the loaded weights based on the comparison result between the stage data and the preset error tolerance range. The entire circuit forms a closed-loop structure through the unified coordination of the vision module, the channel detection module, and the WIFI data transmission module under the main control module, ensuring the high integration and real-time performance of data acquisition, logical judgment, signal response, and remote upload actions of the electronic scale during calibration and inspection.

[0045] Further, as Figure 6 shown, the travel switch signal detection unit includes a resistor R11, a resistor R16, a switch SW1, and an optocoupler U4. The first end of the switch SW1 is connected to the power supply, the second end of the switch SW1 is connected to the first end of the resistor R16, the second end of the resistor R16 is connected to the first end of the light-emitting diode part of the optocoupler U4, the second end of the light-emitting diode part of the optocoupler U4 is grounded, the first end of the resistor R11 is connected to the power supply, the second end of the resistor R11 is connected to the first end of the triode part of the optocoupler U4, the second end of the triode part of the optocoupler U4 is grounded, and the common node between the second end of the resistor R11 and the first end of the triode part of the optocoupler U4 is connected to the first signal input end of the main control module.

[0046] In this embodiment, the switch SW1 is a travel switch or an emergency stop button with normally open contacts. The resistor R11 is a pull-up resistor to ensure that the voltage remains high when not pressed. The resistor R16 is a current-limiting resistor used to protect the light-emitting diode part of the optocoupler U4. Among them, the light-emitting diode part of the optocoupler U4 will be lit when the switch SW1 is closed. Then, the triode part of the optocoupler U4 conducts, and the voltage of Pin4 of the optocoupler U4 is pulled low. The output port P32 is connected to the GPIO pin of the MCU, that is, the common node between the second end of the resistor R11 and the first end of the triode part of the optocoupler U4 is connected to the first signal input end of the main control module, so that the MCU reads a low level to indicate triggering. When the triode part of the optocoupler U4 is not conducting, the output port P32 is pulled high to the VDD voltage through the resistor R11; Further, as Figure 6 shown, the switch signal detection unit further includes a resistor R30. The common node between the first end of the switch SW1 and the power supply is connected to the first end of the resistor R30, and the common node between the first end of the resistor R11 and the power supply is connected to the second end of the resistor R30; in this embodiment, R30 = 0Ω, which mainly serves as a starting line for debugging or series sampling points.

[0047] Further, as Figure 7 shown, an electronic scale calibration data acquisition and analysis circuit further includes a one-key power-on module. The one-key power-on module includes a switch KEY1, a zener diode D5, a resistor R23, a resistor R24, and a MOS transistor Q1. The first end of the resistor R23 is connected to the power supply, the second end of the resistor R23 is connected to the anode of the zener diode D5, the cathode of the zener diode D5 is connected to the first end of the switch KEY1, the second end of the switch KEY1 is grounded, and the common node between the cathode of the zener diode D5 and the first end of the switch KEY1 is connected to the controlled end of the MOS transistor Q1. The first conducting end of the MOS transistor Q1 is connected to the power input port, the second conducting end of the MOS transistor Q1 is connected to the power output port, and the common node between the second end of the resistor R23 and the anode of the zener diode D5 is connected to the second signal input end of the main control module.

[0048] In this embodiment, in the initial state, the gate (i.e., the controlled terminal) of MOS transistor Q1 is pulled up to the VIN voltage by resistor R24. Since MOS transistor Q1 is a P-channel MOSFET, when the gate-source voltage VGS≈0V, MOS transistor Q1 is not conducting and there is no output voltage at VOUT, that is, it is in the shutdown state; when the user presses switch KEY1, VDD conducts through voltage regulator diode D5 and switch KEY1 to resistor R24, pulling down the gate voltage of MOS transistor Q1. Since MOS transistor Q1 is a P-channel MOSFET, a negative VGS is formed after the gate is pulled down, and MOS transistor Q1 conducts, connecting VIN to VOUT, turning on the main power output. At the same time, the KEY_CHECK point is pulled down, and the MCU can detect the key operation, that is, the common node between the second terminal of resistor R23 and the anode terminal of voltage regulator diode D5 is connected to the second signal input terminal of the main control module.

[0049] Further, as Figure 7 shown, switch KEY1 is a momentary switch, and the one-key power-on module further includes a latching unit. The latching unit includes resistor R25, resistor R26, and transistor Q2. The first terminal of resistor R25 is connected to the signal output terminal of the main control module, the second terminal of resistor R25 is connected to the controlled terminal of transistor Q2, the common node between the cathode terminal of voltage regulator diode D5 and the first terminal of switch KEY1 is connected to the first conducting terminal of transistor Q2, the second conducting terminal of transistor Q2 is grounded, and a resistor R26 is connected between the common node between the second terminal of resistor R25 and the controlled terminal of transistor Q2 and the ground.

[0050] In this embodiment, since switch KEY1 is a momentary switch, a latching unit is required for latching. Among them, the pin P_EN of the main control module is applied to the base of transistor Q2 through resistor R25 to drive transistor Q2 to conduct, that is, the first terminal of resistor R25 is connected to the signal output terminal of the main control module, the second terminal of resistor R25 is connected to the controlled terminal of transistor Q2. After transistor Q2 conducts, it pulls the gate of MOS transistor Q1 to GND, maintaining the VGS of MOS transistor Q1 as a negative voltage and keeping it in the conducting state, that is, continuous power supply even if the user releases the key; achieving the latching effect of powering on by pressing once. When it is necessary to turn off the circuit, the pin P_EN of the main control module is pulled low or powered off to make transistor Q2 cut off. The gate voltage of MOS transistor Q1 is pulled up by resistor R24 back to VIN, the VGS of MOS transistor Q1 returns to 0, MOS transistor Q1 turns off, and then VOUT is powered off to achieve shutdown control.

[0051] Further, as Figure 7As shown, the one-key startup module further includes a voltage stabilizing diode D6. The common node between the cathode end of the voltage stabilizing diode D5 and the first end of the switch KEY1 is connected to the cathode end of the voltage stabilizing diode D6. The anode end of the voltage stabilizing diode D6 is respectively connected to the controlled end of the MOS transistor Q1 and the first conduction end of the triode Q2. The voltage stabilizing diode D6 is designed for redundancy or debouncing, and is also used to release the excess charge on the gate of the MOS transistor Q1.

[0052] Further, as Figures 8 - 9 shown, an electronic scale calibration data acquisition and analysis circuit further includes a power input module. The power input module includes a main input unit and a reserved input unit. The power input terminals of the main input unit and the reserved input unit are both connected to the power output port. The power output terminals of the main input unit and the reserved input unit both output power for power supply. The main input unit includes a DC-DC boost chip U1 and a voltage stabilizing chip LDO1. The power input terminal of the DC-DC boost chip U1 is connected to the power output port. The power output terminal of the DC-DC boost chip U1 is connected to the power input terminal of the voltage stabilizing chip LDO1. The power output terminal of the voltage stabilizing chip LDO1 outputs power for power supply.

[0053] In this embodiment, the power input module, as the basic component for system power supply, includes two power supply paths, namely the main input unit and the reserved input unit, to meet the requirements of different voltage levels or load distributions. The power input terminal of the main input unit is directly connected to the power output port, indicating that after the system starts, the main input unit obtains primary electrical energy from the power output port and supplies it to the subsequent power conditioning circuit for use. The power input terminal of the reserved input unit is also connected to the power output port and has the ability to draw power in parallel with the main input unit. It is used for system expansion or backup paths and can independently supply power when the main input unit fails or the expansion function is enabled, enhancing the system redundancy and flexibility. Inside the main input unit, there are a DC-DC boost chip U1 and a voltage regulator chip LDO1. The function of the DC-DC boost chip U1 is to boost the input voltage provided by the power output port to a predetermined high voltage value to meet the requirements of high-voltage drive devices or loads in the system. The power input terminal of the DC-DC boost chip U1 is directly connected to the power output port to ensure that it can obtain an unregulated raw voltage source. Its power output terminal is connected to the power input terminal of the voltage regulator chip LDO1 to further stabilize the boosted voltage into a low-voltage high-precision output voltage. The voltage regulator chip LDO1 then performs linear voltage regulation on the high voltage output by U1 to eliminate voltage fluctuations and reduce noise interference. Its power output terminal serves as the final power supply node of the entire power path and is responsible for providing a stable and reliable operating voltage to core functional components such as the main control module, vision module, WIFI module, or channel detection module. The power input module provides a main power supply channel composed of a combination of boost and voltage regulation through the main input unit, and at the same time retains the reserved input unit as an extended redundant circuit, ensuring that the system has a multi-level power management ability with high reliability and high integration, and enabling the circuit to have good operating stability and deployment adaptability; among them, the circuit structures of the main input unit and the reserved input unit are similar, so the reserved input unit will not be elaborated here.

[0054] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for collecting and analyzing calibration data of an electronic scale, which is applied to a weight machine, characterized in that The described method for collecting and analyzing calibration data of an electronic scale includes: Determine the working mode of the weight machine, where the working mode at least includes a calibration mode and a weighing inspection mode; Control multiple standard weights to be loaded onto the electronic scale to be calibrated in stages, and receive the travel switch identification signal in real time; When the travel switch identification signal of the current stage is received, trigger the vision module to read the stage data displayed on the display screen of the electronic scale to be calibrated; If the working mode is the calibration mode, upload the stage data and the travel switch identification signal to the corresponding wireless terminal; If the working mode is the weighing inspection mode, determine whether the stage data falls within the corresponding preset error tolerance range to perform the corresponding result response operation, and the result response operation includes a record upload operation and a termination of the subsequent weight loading operation.

2. The method for collecting and analyzing calibration data of an electronic scale according to claim 1, characterized in that, In the step of uploading the stage data and the travel switch identification signal to the corresponding wireless terminal if the working mode is the calibration mode, the step includes: If the working mode is the calibration mode, associate the stage data and the travel switch identification signal to form stage calibration information; Control to enter the weight loading process of the next stage, and receive the travel switch identification signal of the corresponding stage in real time; Perform format standardization processing on each stage calibration information to generate the corresponding calibration entry, and fill the calibration entry into the calibration data structure; When the calibration data structure completes the filling of all stages, trigger the vision module to obtain the calibration completion information displayed on the display screen of the electronic scale to be calibrated; If the calibration completion signal is detected, upload the calibration data structure to the corresponding wireless terminal.

3. The method for collecting and analyzing electronic scale calibration data according to claim 1, characterized in that, In the step of determining whether the stage data falls within the corresponding preset error tolerance range to perform the corresponding result response operation, it includes: Determine whether the stage data falls within the corresponding preset error tolerance range; If it does not fall within the corresponding preset error tolerance range, generate the corresponding weighing inspection bad data, upload the weighing inspection bad data to the corresponding wireless terminal, and control the standard weights that have been loaded onto the electronic scale to be calibrated to be lifted to disengage from the electronic scale to be calibrated; If it falls within the corresponding preset error tolerance range, generate the corresponding weighing inspection qualified data, fill the weighing inspection qualified data into the weighing inspection data structure, and control to enter the weight loading process of the next stage; When the weighing inspection data structure completes the filling of all stages, trigger the vision module to obtain the weighing inspection completion information displayed on the display screen of the electronic scale to be calibrated; If the weighing inspection completion signal is detected, upload the weighing inspection data structure to the corresponding wireless terminal.

4. An electronic scale calibration data acquisition and analysis circuit, characterized in that, Applied to an electronic scale calibration data acquisition and analysis method as described in any one of claims 1-3, the electronic scale calibration data acquisition and analysis circuit includes a main control module, a WIFI data transmission module, a channel detection module, and a vision module. The data communication end of the vision module is connected to the first data communication end of the main control module. The data communication end of the WIFI data transmission module is connected to the second data communication end of the main control module. The channel detection module is provided with a plurality of travel switch signal detection units, and the signal output end of each travel switch signal detection unit is connected to the first signal input end of the main control module. The main control module is used to record corresponding stage data and generate corresponding control instructions. Among them, the stage data is sent to the corresponding wireless terminal through the WIFI data transmission module in a timely manner, and the control instruction is used to control the start and stop process of the weight machine.

5. An electronic scale calibration data acquisition and analysis circuit according to claim 4, characterized in that The travel switch signal detection unit includes a resistor R11, a resistor R16, a switch SW1, and an optocoupler U4. The first end of the switch SW1 is connected to the power supply. The second end of the switch SW1 is connected to the first end of the resistor R16. The second end of the resistor R16 is connected to the first end of the light-emitting diode part of the optocoupler U4. The second end of the light-emitting diode part of the optocoupler U4 is grounded. The first end of the resistor R11 is connected to the power supply. The second end of the resistor R11 is connected to the first end of the triode part of the optocoupler U4. The second end of the triode part of the optocoupler U4 is grounded. The common node between the second end of the resistor R11 and the first end of the triode part of the optocoupler U4 is connected to the first signal input end of the main control module.

6. The data acquisition and analysis circuit for electronic scale calibration according to claim 5, characterized in that, The switch signal detection unit further includes a resistor R30. The common node between the first end of the switch SW1 and the power supply is connected to the first end of the resistor R30. The common node between the first end of the resistor R11 and the power supply is connected to the second end of the resistor R30.

7. An electronic scale calibration data acquisition and analysis circuit according to claim 4, characterized in that The electronic scale calibration data acquisition and analysis circuit further includes a one-key startup module. The one-key startup module includes a switch KEY1, a voltage stabilizing diode D5, a resistor R23, a resistor R24, and a MOS transistor Q1. The first end of the resistor R23 is connected to the power supply. The second end of the resistor R23 is connected to the anode end of the voltage stabilizing diode D5. The cathode end of the voltage stabilizing diode D5 is connected to the first end of the switch KEY1. The second end of the switch KEY1 is grounded. The common node between the cathode end of the voltage stabilizing diode D5 and the first end of the switch KEY1 is connected to the controlled end of the MOS transistor Q1. The first conducting end of the MOS transistor Q1 is connected to the power input port. The second conducting end of the MOS transistor Q1 is connected to the power output port. The common node between the second end of the resistor R23 and the anode end of the voltage stabilizing diode D5 is connected to the second signal input end of the main control module.

8. An electronic scale calibration data acquisition and analysis circuit according to claim 7, characterized in that, The switch KEY1 is a touch switch. The one-key power-on module further includes a latching unit. The latching unit includes a resistor R25, a resistor R26, and a triode Q2. The first end of the resistor R25 is connected to the signal output end of the main control module. The second end of the resistor R25 is connected to the controlled end of the triode Q2. The common node between the cathode end of the voltage regulator diode D5 and the first end of the switch KEY1 is connected to the first conducting end of the triode Q2. The second conducting end of the triode Q2 is grounded. A resistor R26 is connected between the common node between the second end of the resistor R25 and the controlled end of the triode Q2 and the ground.

9. The data acquisition and analysis circuit for electronic scale calibration according to claim 8, characterized in that, The one-key power-on module further includes a voltage regulator diode D6. The common node between the cathode end of the voltage regulator diode D5 and the first end of the switch KEY1 is connected to the cathode end of the voltage regulator diode D6. The anode end of the voltage regulator diode D6 is respectively connected to the controlled end of the MOS transistor Q1 and the first conducting end of the triode Q2.

10. An electronic scale calibration data acquisition and analysis circuit according to claim 7, characterized in that, The electronic scale calibration data acquisition and analysis circuit further includes a power input module. The power input module includes a main input unit and a reserved input unit. The power input ends of the main input unit and the reserved input unit are both connected to the power output port. The power output ends of the main input unit and the reserved input unit both output power for power supply. The main input unit includes a DC-DC boost chip U1 and a voltage regulator chip LDO1. The power input end of the DC-DC boost chip U1 is connected to the power output port. The power output end of the DC-DC boost chip U1 is connected to the power input end of the voltage regulator chip LDO1. The power output end of the voltage regulator chip LDO1 outputs power for power supply.