Travel sensor detection method and apparatus, electronic device, and storage medium

By controlling the on/off state of electromagnets to obtain electrical signal data, the problem of long detection time and insufficient accuracy of stroke sensors has been solved, achieving efficient and accurate fault detection and improving the safety of coal mining.

CN117450904BActive Publication Date: 2026-11-20BEIJING TIANMA INTELLIGENT CONTROL TECHNOLOGY CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311334738.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-16
Publication Date
2026-11-20
Estimated Expiration
2043-10-16

AI Technical Summary

Technical Problem

Existing stroke sensor detection methods are time-consuming and lack sufficient accuracy, leading to increased safety hazards in coal mining.

Method used

A method based on programmable logic controller (PLC) to control the switching on and off of electromagnets is adopted. By acquiring the electrical signal data of the electromagnet during the switching process, the fault of the stroke sensor can be automatically detected, achieving efficient detection without the need for the movement of the magnetic ring.

Benefits of technology

It improves the efficiency and accuracy of stroke sensor fault detection, reduces detection time, and lowers safety hazards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117450904B_ABST
    Figure CN117450904B_ABST
Patent Text Reader

Abstract

The present disclosure provides a travel sensor detection method and device, electronic equipment and storage medium. The method comprises: sending an electromagnetic iron on-off instruction to an electromagnetic iron circuit based on a programmable controller of a control unit, wherein the electromagnetic iron on-off instruction is used to control the on-off of the electromagnetic iron; performing on-off control processing on the electromagnetic iron according to a time sequence control instruction in the electromagnetic iron on-off instruction; obtaining electrical signal data generated by the electromagnetic iron during the on-off process; performing detection processing on the travel sensor based on a detection unit according to the electrical signal data to obtain a detection result. Through the present disclosure, the on-off of the electromagnetic iron can be automatically controlled, the detection data can be efficiently and accurately collected for data analysis and fault diagnosis, the accuracy of fault detection is ensured, the travel sensor fault detection can be performed without moving the electromagnetic iron magnetic ring, thereby effectively reducing the travel sensor detection time and improving the fault detection efficiency of the travel sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of sensor fault detection, and in particular to a method, apparatus, electronic device and storage medium for detecting a travel sensor. Background Technology

[0002] Currently, in coal mining, stroke sensors are a crucial component for position detection in the electro-hydraulic control system of hydraulic supports. The electro-hydraulic control system of hydraulic supports can control the straightness of the mining face to ensure the efficiency of coal mining. As a device for evaluating the quality of stroke sensors, stroke sensor detection devices are particularly important, and it is necessary to test stroke sensors to determine whether they are qualified.

[0003] In related technologies, stroke sensors typically use a movable magnetic ring with a sliding mechanism mounted on the side rod of the stroke sensor to generate a magnetic field. The change in the relative position of the magnetic field generated by the movable magnetic ring and the magnetic field generated by the current is used for detection.

[0004] In this method, the quality inspection of the stroke sensor takes a long time, has low inspection efficiency, and is not accurate enough. It cannot guarantee the working performance of the stroke sensor and is prone to coal mining accidents due to stroke sensor failure. Summary of the Invention

[0005] This disclosure aims to at least partially address one of the technical problems in the related art.

[0006] Therefore, the purpose of this disclosure is to provide a method, apparatus, electronic device, storage medium, and computer program product for detecting travel sensors, which can...

[0007] The first aspect of this disclosure provides a method for detecting a stroke sensor, applied in a stroke sensor detection system. The stroke sensor detection system includes a detection frame, a control unit, and a detection unit. The stroke sensor is placed on the detection frame, which is equipped with an electromagnet fixing device and an electromagnet circuit. An electromagnet is correspondingly mounted on the electromagnet fixing device. The method includes: a programmable controller based on the control unit sending an electromagnet on / off command to the electromagnet circuit, wherein the electromagnet on / off command is used to control the on / off state of the electromagnet; performing on / off control processing on the electromagnet according to the timing control instructions in the electromagnet on / off command; acquiring electrical signal data generated by the electromagnet during the on / off process; and, based on the detection unit, performing detection processing on the stroke sensor according to the electrical signal data to obtain a detection result.

[0008] A second aspect of this disclosure provides a stroke sensor detection device, comprising: a transmission module for sending an electromagnet on / off command to an electromagnet circuit based on a programmable controller of a control unit, wherein the electromagnet on / off command is used to control the on / off state of the electromagnet; a control module for performing on / off control processing on the electromagnet according to the timing control instructions in the electromagnet on / off command; an acquisition module for acquiring electrical signal data generated by the electromagnet during the on / off process; and a detection module for performing detection processing on the stroke sensor based on the electrical signal data using a detection unit to obtain a detection result.

[0009] A third aspect of this disclosure provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the travel sensor detection method as proposed in the first aspect of this disclosure.

[0010] The fourth aspect of this disclosure provides a non-transitory computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the travel sensor detection method as proposed in the first aspect of this disclosure.

[0011] A fifth aspect of this disclosure provides a computer program product that, when executed by a processor, performs a travel sensor detection method as described in a first aspect of this disclosure.

[0012] The stroke sensor detection method, apparatus, electronic device, storage medium, and computer program product disclosed herein have at least the following beneficial effects: A programmable controller based on a control unit sends an electromagnet on / off command to the electromagnet circuit, wherein the electromagnet on / off command is used to control the on / off state of the electromagnet; according to the timing control instructions in the electromagnet on / off command, the electromagnet is subjected to on / off control processing, and electrical signal data generated by the electromagnet during the on / off process is acquired; based on the detection unit, the stroke sensor is detected and processed according to the electrical signal data to obtain the detection result; the on / off state of the electromagnet can be automatically controlled to efficiently and accurately collect detection data for data analysis and fault diagnosis, ensuring the accuracy of fault detection; stroke sensor fault detection can be performed without moving the electromagnet magnetic ring, thereby effectively reducing the stroke sensor detection time and improving the fault detection efficiency of the stroke sensor.

[0013] Additional aspects and advantages of this disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this disclosure. Attached Figure Description

[0014] The above and / or additional aspects and advantages of this disclosure will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, in which:

[0015] Figure 1 This is a schematic flowchart of a stroke sensor detection method according to an embodiment of this disclosure;

[0016] Figure 2 This is a schematic flowchart of a stroke sensor detection method according to another embodiment of this disclosure;

[0017] Figure 3 This is a schematic diagram of the structure of the travel sensor fault detection device in the embodiments of this disclosure;

[0018] Figure 4 This is a schematic diagram of the structure of a stroke sensor detection device according to an embodiment of the present disclosure;

[0019] Figure 5 This is a schematic diagram of the structure of a stroke sensor detection device according to another embodiment of this disclosure;

[0020] Figure 6 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. Detailed Implementation

[0021] Embodiments of this disclosure are described in detail below, with examples of embodiments illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are used only to explain this disclosure, and should not be construed as limiting this disclosure. Rather, embodiments of this disclosure include all variations, modifications, and equivalents falling within the spirit and scope of the appended claims.

[0022] Figure 1 This is a schematic flowchart of a stroke sensor detection method according to an embodiment of this disclosure.

[0023] It should be noted that the execution subject of the stroke sensor detection method in this embodiment is a stroke sensor detection device, which can be implemented by software and / or hardware, and can be configured in an electronic device, without limitation.

[0024] like Figure 1 As shown, the stroke sensor detection method is applied to a stroke sensor detection system, which includes a detection frame, a control unit, and a detection unit. The stroke sensor is placed on the detection frame, which is equipped with an electromagnet fixing device and an electromagnet circuit. An electromagnet is correspondingly installed on the electromagnet fixing device. The method includes:

[0025] S101: The programmable controller based on the control unit sends an electromagnet on / off command to the electromagnet circuit, wherein the electromagnet on / off command is used to control the on / off state of the electromagnet.

[0026] The embodiments disclosed herein can be applied to a stroke sensor detection system, which may include: a detection frame, a control unit, and a detection unit. The detection frame includes a bracket and an electromagnet fixing device. The electromagnet fixing device is placed on the detection frame and is used to fix the electromagnet. The detection frame is also provided with an electromagnet circuit for receiving electromagnet control commands to automatically control the on and off of the electromagnet.

[0027] The shape of the electromagnet fixed on the electromagnet fixing device can be various. Each stroke sensor detection system can be equipped with 3-7 fixed electromagnet fixing devices. The number of electromagnet fixing devices can be set according to the detection progress. Usually, the number of electromagnet fixing devices can be set to 5. That is to say, 5 electromagnets can ensure the fault detection accuracy of the stroke sensor. The installation position of the electromagnet fixing device on the detection frame can be adjusted according to the product length of the stroke sensor, and there is no limitation on this.

[0028] Among them, the electromagnet on / off command refers to the host computer control command that can be used to control the on / off of the electromagnet circuit and thus control the electromagnet on / off. This electromagnet on / off control command can be issued by the computer, and the control unit transmits the electromagnet on / off command issued by the computer to the electromagnet through the connector.

[0029] In this embodiment of the disclosure, the control unit of the stroke sensor detection system includes a programmable controller (PLC) control module and a start / stop module. When the PLC based on the control unit sends an electromagnet on / off command to the electromagnet circuit, the control unit can be connected to a computer through a connector, and the electromagnet on / off command issued by the computer can be sent to the electromagnet circuit fixed on the detection frame through the connector. The electromagnet circuit is used to control the on / off of the electromagnet.

[0030] S102: Perform on / off control processing on the electromagnet according to the timing control instructions in the electromagnet on / off command.

[0031] In this embodiment of the present disclosure, after the programmable controller based on the control unit sends an electromagnet on / off command to the electromagnet circuit, the electromagnet is controlled to switch on / off according to the timing control instructions in the electromagnet on / off command.

[0032] In this embodiment of the present disclosure, when performing on / off control processing on the electromagnet according to the timing control instructions in the electromagnet on / off command, multiple timers can be used to control the on / off of the electromagnet. The timing circuits of multiple electromagnets can be controlled to be on / off according to the timing control instructions in the electromagnet on / off command. After the start command begins, the switch states of electromagnets in different channels automatically change according to a predetermined time, thereby realizing automatic control of the on / off of the electromagnet, avoiding the use of stepper motors to drive the sliding device to move, and improving the fault detection efficiency of the electromagnet.

[0033] S103: Acquire electrical signal data generated by the electromagnet during the switching process.

[0034] In this embodiment of the present disclosure, after the electromagnet is controlled to switch on and off according to the timing control instructions in the electromagnet switching instructions, the standard analog signal output during the switching process of the electromagnet can be collected, and the collected standard analog signal can be used as the electrical signal data generated by the electromagnet during the switching process. The electrical signal data can be directly output to the PLC control module, and the control unit of the stroke sensor detection system can transmit the collected sensor signal to the computer through the connector. Subsequent data analysis and detection processing can be performed on the computer.

[0035] S104: Based on the detection unit, the travel sensor is detected and processed according to the electrical signal data to obtain the detection result.

[0036] Among them, the test results refer to the result data that can be used to indicate whether the stroke sensor is faulty.

[0037] In this embodiment of the present disclosure, after acquiring the electrical signal data generated by the electromagnet during the switching process, the electrical signal data can be transmitted to the detection unit, and based on the detection unit, the stroke sensor is detected and processed according to the electrical signal data to obtain the detection result.

[0038] In this embodiment of the disclosure, when the travel sensor is detected and processed based on electrical signal data by the detection unit to obtain the detection result, the detection unit includes a data acquisition circuit and a processor. The computer can intelligently analyze and process the real-time electrical signal data of the data acquisition circuit, and convert the current data or voltage data in the electrical signal data into travel data of the travel sensor according to the corresponding computer data processing software. The travel data is fitted into a travel curve and compared with a standard travel curve. The detection is performed to determine whether the acquired output signal and the effective range are linearly related. If the travel curve is linearly related to the standard travel curve, the travel sensor is determined to be qualified and fault-free. If the travel curve is non-linearly related to the standard travel curve, the travel sensor is determined to be qualified and faulty, thereby obtaining the corresponding detection result.

[0039] In this embodiment of the disclosure, the above-described stroke sensor detection method can be used to simultaneously detect faults in multiple stroke sensors, and the fault detection of multiple stroke sensors is not affected by each other. In this case, the detection results can list the number of unqualified stroke sensors, and perform fault analysis on the stroke sensors with faults. By fitting the obtained stroke curve, the approximate location of damage and unqualified points can be determined, and the final data analysis and detection results can be displayed on the terminal device in real time. The terminal device can be a control display, a handheld monitoring device, a mobile phone, or a computer, etc., and there are no restrictions on this.

[0040] Optionally, in some embodiments, when processing the travel sensor based on the electrical signal data to obtain the detection result, the electrical signal data can be processed to obtain the travel data corresponding to the travel sensor, and the travel sensor can be processed based on the travel data to obtain the detection result.

[0041] In this embodiment of the disclosure, when processing the travel sensor based on electrical signal data to obtain the detection result, the electrical signal data can be processed. This electrical signal data can be current data or voltage data. Related electrical data to travel data conversion software can be used to convert the electrical signal data into corresponding travel data. The converted travel data is then used as the sensor travel data corresponding to the travel sensor. The travel sensor is then processed based on the sensor travel data. Travel curve fitting processing can then be performed on the sensor travel data. The fitted travel curve is compared with the standard curve of the travel sensor to detect whether there are errors in the travel zero point and full scale of the travel sensor. If there are errors in the travel zero point and full scale, it is determined that the travel sensor is faulty. If both the travel zero point and full scale are correct, it is determined that the travel sensor is qualified and not faulty, thus obtaining the corresponding detection result.

[0042] In this embodiment, a programmable controller based on a control unit sends an electromagnet on / off command to the electromagnet circuit. This command controls the on / off state of the electromagnet. Based on the timing control instructions within the on / off command, the electromagnet is controlled to switch on and off, and electrical signal data generated during the switching process is acquired. A detection unit then processes this electrical signal data to detect the travel sensor, obtaining the detection result. This system automatically controls the on / off state of the electromagnet, efficiently and accurately collecting detection data for data analysis and fault diagnosis, ensuring accurate fault detection. Travel sensor fault detection can be performed without moving the electromagnet's magnetic ring, effectively reducing travel sensor detection time and improving fault detection efficiency.

[0043] Figure 2 This is a schematic flowchart of a stroke sensor detection method according to another embodiment of this disclosure.

[0044] like Figure 2 As shown, the stroke sensor detection method includes:

[0045] S201: The programmable controller based on the control unit sends an electromagnet on / off command to the electromagnet circuit, wherein the electromagnet on / off command is used to control the on / off state of the electromagnet.

[0046] S202: Perform on / off control processing on the electromagnet according to the timing control instructions in the electromagnet on / off command.

[0047] S203: Acquire electrical signal data generated by the electromagnet during the switching process.

[0048] S204: Process electrical signal data to obtain the sensor stroke data corresponding to the stroke sensor.

[0049] For a detailed description of S201 to S204, please refer to the above embodiments, which will not be repeated here.

[0050] S205: Obtain reference stroke data corresponding to the stroke sensor, wherein the reference stroke data is used for detection and processing of the stroke sensor.

[0051] The reference stroke data refers to the standard stroke data collected from stroke sensors that are determined to be qualified and fault-free. This reference stroke data is used for the detection and processing of stroke sensors.

[0052] In this embodiment of the disclosure, when acquiring the reference stroke data corresponding to the stroke sensor, a qualified and fault-free stroke sensor can be identified first, and then the standard stroke data of the qualified sensor can be collected. The standard stroke data may include, for example, stroke zero point and full scale data and multiple stroke data points, etc., without limitation, and the collected standard stroke data is used as the reference stroke data corresponding to the stroke sensor.

[0053] In other embodiments, standard travel data matching the travel sensor to be detected can be obtained from a standard database as reference travel data, or reference travel data corresponding to the travel sensor can be obtained in any other possible form, without limitation.

[0054] S206: Based on the sensor travel data and reference travel data, perform detection processing on the travel sensor to obtain the detection result.

[0055] In this embodiment of the invention, after obtaining the reference travel data corresponding to the travel sensor as described above, the travel sensor can be detected and processed based on the sensor travel data and the reference travel data.

[0056] In this embodiment of the disclosure, when the travel sensor is detected based on the sensor travel data and the reference travel data to obtain the detection result, the actual travel data in the sensor travel data can be compared with the reference travel data to determine whether there is abnormal travel data in the sensor travel data. If there is abnormal travel data in the sensor travel data, the travel sensor is determined to be unqualified. If there is no abnormal travel data in the sensor travel data, the travel sensor is determined to be qualified, so as to obtain the corresponding detection result.

[0057] Optionally, in some embodiments, the reference stroke data includes: a standard stroke curve corresponding to the stroke sensor. When the stroke sensor is detected based on the sensor stroke data and the reference stroke data to obtain the detection result, the sensor stroke data can be curve fitted to obtain the sensor stroke curve. Based on the sensor stroke curve and the standard stroke curve, the stroke zero point and stroke full scale of the stroke sensor are detected to obtain the detection result.

[0058] The standard stroke curve refers to the standard stroke curve generated by a qualified stroke sensor.

[0059] In this embodiment of the disclosure, the reference stroke data includes: a standard stroke curve corresponding to the stroke sensor. When the stroke sensor is detected and processed based on the sensor stroke data and the reference stroke data to obtain the detection result, the sensor stroke data can be subjected to curve fitting processing to obtain the sensor stroke curve of the actual measured stroke sensor. Then, based on the sensor stroke curve and the standard stroke curve, it can be detected whether there are errors in the stroke zero point and stroke full scale of the stroke sensor. If there are errors in the stroke zero point and stroke full scale of the stroke sensor, it is determined that the stroke sensor is faulty. If both the stroke zero point and stroke full scale of the stroke sensor are correct, it is determined that the stroke sensor is not faulty, so as to obtain the corresponding detection result.

[0060] Optionally, in some embodiments, when detecting the zero point and full scale of the stroke sensor based on the sensor stroke curve and the standard stroke curve to obtain the detection result, if the zero point is correct and the full scale is within the error threshold range, the detection result is determined to be that the stroke sensor is qualified; if the zero point is incorrect or the full scale exceeds the error threshold range, the detection result is determined to be that the stroke sensor is unqualified.

[0061] In this embodiment of the disclosure, when detecting the zero point and full scale of the stroke sensor based on the sensor stroke curve and the standard stroke curve to obtain the detection result, if the zero point is correct and the full scale is within the error threshold range (wherein, the error threshold range can be set to ±1% of the standard full scale), the detection result is determined to be that the stroke sensor is qualified. If the zero point is incorrect or the full scale exceeds the error threshold range, that is, if one of the two conditions is met, the detection result is determined to be that the stroke sensor is unqualified, thereby obtaining the fault detection result of the stroke sensor.

[0062] For example, such as Figure 3 As shown, Figure 3 This is a schematic diagram of the structure of the stroke sensor fault detection device in this embodiment. The stroke sensor fault detection device includes a frame, a control system, and a detection system. The frame includes a bracket and a fixing device. The fixing device is placed on the frame to fix the electromagnet devices. The electromagnets can have various shapes. Each stroke sensor fault detection device has 3-7 fixed electromagnet devices. The installation position of the electromagnet devices can be adjusted according to the product length of the stroke sensor. The control system includes a programmable logic controller (PLC) control module and a start / stop module. The control system sends commands from the computer to the electromagnet circuit fixed on the frame through a connector. Multiple timers are used to control the on / off state of the electromagnets. The output standard analog signal can be directly output to the PLC control module and... The collected sensor signals are transmitted to a computer via a connector. The detection system includes a data acquisition circuit and a processor. The computer can intelligently analyze and process the real-time data from the data acquisition circuit, compare the data collected at corresponding points with a standard curve, and determine whether the output signal and effective range are linearly related to determine whether the stroke sensor is qualified. If the output signal and effective range are linearly related, the stroke sensor is qualified; if they are non-linearly related, the stroke sensor is unqualified. The number of unqualified products is listed, and then fault analysis is performed (the approximate location of damage and unqualified points can be determined through the linear curve). The data is displayed in real time on a terminal device, which can be a control display, a handheld monitoring device, a mobile phone, or a computer.

[0063] S207: If the test result indicates that the stroke sensor is unqualified, the fault location information of the stroke sensor shall be determined based on the sensor stroke curve and the standard stroke curve.

[0064] In this embodiment of the disclosure, after determining that the detection result is that the stroke sensor is unqualified, the location of the stroke sensor damage and the point of failure can be roughly determined according to the linear curve of the stroke sensor, and the obtained location of damage and the point of failure are used as the fault location information of the stroke sensor.

[0065] The stroke sensor detection method proposed in this embodiment automatically controls the switch of the electromagnet to collect detection data, enabling detection without moving the magnetic ring. This reduces the stroke sensor detection time, improves efficiency, and allows for the simultaneous detection of multiple stroke sensors without mutual interference.

[0066] In this embodiment, a programmable controller based on a control unit sends an electromagnet on / off command to the electromagnet circuit. This command controls the on / off state of the electromagnet. Based on the timing control instructions in the on / off command, the electromagnet is controlled to switch on and off, and electrical signal data generated during the switching process is acquired. Based on the detection unit, the travel sensor is detected using this electrical signal data, yielding the detection result. This allows for automatic control of the electromagnet's on / off state, enabling efficient and accurate data acquisition for data analysis and fault diagnosis, ensuring accurate fault detection. Travel sensor fault detection can be performed without moving the electromagnet's magnetic ring, effectively reducing travel sensor detection time and improving detection efficiency. By automatically controlling the electromagnet's on / off state and acquiring detection data, detection can be performed without moving the magnetic ring, reducing travel sensor detection time and improving efficiency. Multiple travel sensors can be detected simultaneously without interference between them.

[0067] Figure 4 This is a schematic diagram of the structure of a stroke sensor detection device according to an embodiment of the present disclosure.

[0068] like Figure 4 As shown, the stroke sensor detection device 40 is applied in a stroke sensor detection system. The stroke sensor detection system includes a detection frame, a control unit, and a detection unit. The stroke sensor is placed on the detection frame, which is equipped with an electromagnet fixing device and an electromagnet circuit. An electromagnet is correspondingly installed on the electromagnet fixing device. The device includes:

[0069] The transmission module 401 is used to send electromagnet on / off commands from the programmable controller based on the control unit to the electromagnet circuit, wherein the electromagnet on / off commands are used to control the on / off state of the electromagnet.

[0070] Control module 402 is used to perform on / off control processing on the electromagnet according to the timing control instructions in the electromagnet on / off command; and

[0071] The acquisition module 403 is used to acquire electrical signal data generated by the electromagnet during the switching process;

[0072] The detection module 404 is used to perform detection processing on the stroke sensor based on the electrical signal data from the detection unit to obtain the detection result.

[0073] In some embodiments of this disclosure, such as Figure 5 As shown, Figure 5 This is a schematic diagram of the structure of a stroke sensor detection device according to another embodiment of the present disclosure, wherein the detection module 404 includes:

[0074] The processing submodule 4041 is used to process electrical signal data to obtain the sensor stroke data corresponding to the stroke sensor.

[0075] The detection submodule 4042 is used to perform detection processing on the stroke sensor based on the sensor stroke data to obtain the detection result.

[0076] In some embodiments of this disclosure, the detection submodule 4042 is specifically used for:

[0077] Obtain reference stroke data corresponding to the stroke sensor, whereby the reference stroke data is used for detection and processing of the stroke sensor;

[0078] Based on the sensor travel data and reference travel data, the travel sensor is processed to obtain the detection results.

[0079] In some embodiments of this disclosure, the reference travel data includes: a standard travel curve corresponding to the travel sensor;

[0080] The detection submodule 4042 is also used for:

[0081] The sensor travel data is subjected to curve fitting to obtain the sensor travel curve;

[0082] Based on the sensor's stroke curve and the standard stroke curve, the stroke zero point and full-scale stroke of the stroke sensor are detected to obtain the detection results.

[0083] In some embodiments of this disclosure, the detection submodule 4042 is further configured to:

[0084] If the zero point of the stroke is correct and the full scale of the stroke is within the error threshold, then the test result is determined to be that the stroke sensor is qualified.

[0085] If the zero point of the stroke is incorrect or the full-scale stroke exceeds the error threshold, the test result is determined to be that the stroke sensor is unqualified.

[0086] In some embodiments of this disclosure, the apparatus further includes:

[0087] The determination module 405 is used to determine the fault location information of the stroke sensor based on the sensor stroke curve and the standard stroke curve if the detection result indicates that the stroke sensor is unqualified.

[0088] With the above Figures 1 to 3Corresponding to the stroke sensor detection method provided in the embodiments, this disclosure also provides a stroke sensor detection device. Since the stroke sensor detection device provided in the embodiments of this disclosure is similar to the one described above... Figures 1 to 3 The stroke sensor detection method provided in the embodiments corresponds to the stroke sensor detection method provided in the embodiments of this disclosure. Therefore, the implementation of the stroke sensor detection method is also applicable to the stroke sensor detection device provided in the embodiments of this disclosure, and will not be described in detail in the embodiments of this disclosure.

[0089] In this embodiment, a programmable controller based on a control unit sends an electromagnet on / off command to the electromagnet circuit. This command controls the on / off state of the electromagnet. Based on the timing control instructions within the on / off command, the electromagnet is controlled to switch on and off, and electrical signal data generated during the switching process is acquired. A detection unit then processes this electrical signal data to detect the travel sensor, obtaining the detection result. This system automatically controls the on / off state of the electromagnet, efficiently and accurately collecting detection data for data analysis and fault diagnosis, ensuring accurate fault detection. Travel sensor fault detection can be performed without moving the electromagnet's magnetic ring, effectively reducing travel sensor detection time and improving fault detection efficiency.

[0090] To implement the above embodiments, this disclosure also proposes a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the travel sensor detection method as proposed in the foregoing embodiments of this disclosure.

[0091] To implement the above embodiments, this disclosure also proposes a computer program product that, when executed by an instruction processor, performs the travel sensor detection method as described in the foregoing embodiments of this disclosure.

[0092] Figure 6 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown.

[0093] Figure 6 The electronic device 6 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.

[0094] like Figure 6 As shown, electronic device 6 is represented in the form of a general-purpose computing device. The components of electronic device 6 may include, but are not limited to: one or more processors or processing units 16, memory 28, and bus 18 connecting different system components (including memory 28 and processing unit 16).

[0095] Bus 18 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. Examples of these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0096] Electronic device 6 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 6, including volatile and non-volatile media, removable and non-removable media.

[0097] Memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and / or cache memory 32. Electronic device 6 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (…). Figure 6 Not shown; usually referred to as a "hard drive".

[0098] although Figure 6 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disc drive for reading and writing to a removable non-volatile optical disc (e.g., a compact disc read-only memory (CD-ROM), a digital video disc read-only memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of this disclosure.

[0099] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 42 typically perform the functions and / or methods described in the embodiments of this disclosure.

[0100] Electronic device 6 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable human interaction with electronic device 6, and / or with any device that enables electronic device 6 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 22. Furthermore, electronic device 6 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with other modules of electronic device 6 via bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with electronic device 6, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0101] The processing unit 16 executes various functional applications and parameter information determination by running programs stored in the memory 28, such as implementing the stroke sensor detection method mentioned in the foregoing embodiments.

[0102] It should be noted that in the description of this disclosure, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this disclosure, unless otherwise stated, "a plurality of" means two or more.

[0103] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of preferred embodiments of this disclosure includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this disclosure pertain.

[0104] It should be understood that various parts of this disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0105] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0106] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0107] The storage media mentioned above can be read-only memory, disk, or optical disk, etc.

[0108] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0109] Although embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present disclosure.

Claims

1. A method for detecting stroke using a stroke sensor, characterized in that, An application is made in a stroke sensor detection system, wherein the stroke sensor detection system includes: a detection frame, a control unit, and a detection unit, the stroke sensor is placed on the detection frame, and the detection frame is provided with multiple fixed electromagnet fixing devices and electromagnet circuits, with electromagnets correspondingly arranged on the electromagnet fixing devices, and the method includes: The programmable controller based on the control unit sends an electromagnet on / off command to the electromagnet circuit, wherein the electromagnet on / off command is used to control the on / off state of the electromagnet. According to the timing control instructions in the electromagnet on / off command, multiple timers are used to control the on / off timing circuits of multiple electromagnets, so that the switching states of electromagnets in different channels automatically change according to a predetermined time, thereby performing on / off control processing on the electromagnets; and Acquire the electrical signal data generated by the electromagnet during the switching process; Based on the detection unit, the travel sensor is processed according to the electrical signal data to obtain the detection result.

2. The method as described in claim 1, characterized in that, The step of detecting and processing the travel sensor based on the electrical signal data to obtain the detection result includes: The electrical signal data is processed to obtain the sensor travel data corresponding to the travel sensor; The travel sensor is processed based on the travel data of the sensor to obtain the detection result.

3. The method as described in claim 2, characterized in that, The step of processing the travel sensor based on the travel data to obtain the detection result includes: Obtain reference stroke data corresponding to the stroke sensor, wherein the reference stroke data is used to perform detection processing on the stroke sensor; The travel sensor is processed based on the sensor travel data and the reference travel data to obtain the detection result.

4. The method as described in claim 3, characterized in that, The reference travel data includes: the standard travel curve corresponding to the travel sensor; The step of performing detection processing on the stroke sensor based on the sensor stroke data and the reference stroke data to obtain the detection result includes: The sensor travel data is subjected to curve fitting processing to obtain the sensor travel curve; Based on the sensor stroke curve and the standard stroke curve, the stroke zero point and stroke full scale of the stroke sensor are detected to obtain the detection result.

5. The method as described in claim 4, characterized in that, The step of detecting the zero point and full-scale range of the stroke sensor based on the sensor's stroke curve and the standard stroke curve to obtain the detection result includes: If the zero point of the stroke is correct and the full scale of the stroke is within the error threshold range, then the detection result is determined to be that the stroke sensor is qualified; If the zero point of the stroke is incorrect or the full-scale stroke exceeds the error threshold, the detection result is determined to be that the stroke sensor is unqualified.

6. The method as described in claim 4, characterized in that, The method further includes: If the detection result indicates that the stroke sensor is unqualified, the fault location information of the stroke sensor is determined based on the sensor stroke curve and the standard stroke curve.

7. A stroke sensor detection device, characterized in that, An application is made in a stroke sensor detection system, wherein the stroke sensor detection system includes: a detection frame, a control unit, and a detection unit. The stroke sensor is placed on the detection frame, which is equipped with multiple fixed electromagnet fixing devices and electromagnet circuits. Electromagnets are correspondingly mounted on the electromagnet fixing devices. The device includes: A transmission module is used to send an electromagnet on / off command to the electromagnet circuit based on the programmable controller of the control unit, wherein the electromagnet on / off command is used to control the on / off state of the electromagnet. The control module is used to control the timing circuits of multiple electromagnets according to the timing control instructions in the electromagnet on / off command, using multiple timers to control the on / off of the timing circuits of multiple electromagnets, so that the switching states of electromagnets in different channels automatically change according to a predetermined time, thereby performing on / off control processing of the electromagnets; and The acquisition module is used to acquire electrical signal data generated by the electromagnet during the switching process; The detection module is used to perform detection processing on the stroke sensor based on the electrical signal data from the detection unit to obtain the detection result.

8. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, in, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-6.

10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Stroke sensor testing device

    CN103616003A