IO-link background suppression sensor and detection signal processing method thereof
By introducing signal acquisition, logic operation, and processing modules into the IO-Link background suppression sensor, the sensor's signal processing capabilities are improved, edge computing capabilities are realized, and the problem of the sensor independently completing complex measurement tasks is solved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN CHEVEN TECH
- Filing Date
- 2026-01-21
- Publication Date
- 2026-06-05
AI Technical Summary
Existing IO-Link background suppression sensors have weak signal processing capabilities, lack edge computing capabilities, and cannot independently complete complex tasks.
An IO-Link background suppression sensor was designed, which includes a signal acquisition module, a logic operation module, and a signal processing module. The signal processing capability is improved through logic operation and delay processing, and it has edge computing capability.
The signal processing capability of the IO-Link background suppression sensor has been improved, enabling it to independently measure the length and speed of target objects, possess edge computing capabilities, and reduce its dependence on PLC main control and IO-Link master station.
Smart Images

Figure CN122152746A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of sensor technology, and in particular to an IO-Link background suppression sensor and its detection signal processing method. Background Technology
[0002] Most IO-Link background suppression sensors currently support basic functions in non-communication mode (SIO mode). When the sensor is in communication mode (SDCI mode), it adds functions such as input process data reporting, output process data transmission, ISDU parameter reading and writing, and event reporting, making sensor configuration more intelligent, flexible, and easier to manage. Currently, IO-Link background suppression sensors are used as actuators (intelligent sensing nodes with information interaction capabilities) to detect target objects and output signals. They can output detection signals to actuators via NPN / PNP interfaces and can also use the IO-Link interface for bidirectional communication, enabling remote parameter configuration, status monitoring, and diagnostics. Current IO-Link background suppression sensors have limited signal processing capabilities and lack edge computing capabilities. When multiple sensors need to cooperate to complete a task, a controller is typically required to uniformly read the switch signals or analog quantities of each port connected to the sensors and then implement the corresponding functions according to fixed software. When the requirements are simpler, a single sensor directly outputs control signals to control the actuator to achieve the corresponding function. Summary of the Invention
[0003] The purpose of this invention is to provide an IO-Link background suppression sensor and its detection signal processing method to solve the technical problem that the existing IO-Link background suppression sensor has weak ability to process detection signals and lacks edge computing capabilities.
[0004] The technical solution of the present invention is as follows: an IO-Link background suppression sensor is provided, including a signal acquisition module, a first logic operation module and a first signal processing module; The signal acquisition module is used to acquire the detection signal; The first logic operation module is used to perform a first logic operation on the detection signal to obtain a signal after the first logic operation; The first signal processing module is used to perform a first delay processing on the signal after the first logical operation to obtain a signal after the first delay processing, and to perform inversion processing or non-inversion processing on the signal after the first delay processing to obtain a first output signal, so that the first output pin outputs the first output signal.
[0005] Furthermore, the IO-Link background suppression sensor also includes a second logic operation module and a second signal processing module; The second logic operation module is used to perform a second logic operation on the detection signal to obtain a signal after the second logic operation; The second signal processing module is used to perform a second delay processing on the signal after the second logic operation to obtain a second delayed signal, to perform inversion processing or non-inversion processing on the second delayed signal to obtain a second output signal, to buffer the value corresponding to the second output signal, and / or to make the second output pin output the second output signal.
[0006] Furthermore, the IO-Link background suppression sensor also includes a third logic operation module and a third signal processing module; The signal acquisition module is also used to acquire input signals from external sensors; The third logic operation module is used to perform a third logic operation on the input signal to obtain a signal after the third logic operation; The third signal processing module is used to perform a third delay processing on the signal after the third logical operation to obtain a signal after the third delay processing, to perform inversion processing or non-inversion processing on the signal after the third delay processing to obtain a third output signal, and to cache the value corresponding to the third output signal.
[0007] Furthermore, the IO-Link background suppression sensor also includes a fourth signal processing module, which is used to use the detection signal as a fourth output signal, and to output the fourth output signal from the second output pin.
[0008] Furthermore, the IO-Link background suppression sensor also includes a fifth signal processing module, which is used to invert or not invert the first output signal to obtain a fifth output signal, and to output the fifth output signal from the second output pin.
[0009] Another technical solution of the present invention is as follows: a method for processing detection signals of an IO-Link background suppression sensor is provided, comprising: The detection signal is acquired using the current IO-Link background suppression sensor; The detection signal is subjected to a first logical operation by the current IO-Link background suppression sensor to obtain a signal after the first logical operation. The signal after the first logical operation is subjected to a first delay processing to obtain a signal after the first delay processing. The signal after the first delay processing is either inverted or not inverted to obtain a first output signal, so that the first output pin of the current IO-Link background suppression sensor outputs the first output signal.
[0010] Furthermore, the IO-Link background suppression sensor detection signal processing method further includes: The detection signal is subjected to a second logical operation by the current IO-Link background suppression sensor to obtain a signal after the second logical operation; the signal after the second logical operation is subjected to a second delay processing to obtain a signal after the second delay processing; the signal after the second delay processing is either inverted or not inverted to obtain a second output signal; the value corresponding to the second output signal is buffered; and / or the second output pin of the current IO-Link background suppression sensor outputs the second output signal.
[0011] Furthermore, the IO-Link background suppression sensor detection signal processing method further includes: The system acquires an input signal from an external sensor, performs a third logic operation on the input signal using the current IO-Link background suppression sensor, and obtains a signal after the third logic operation. It then performs a third delay processing on the signal after the third logic operation to obtain a signal after the third delay processing. Finally, it performs either inversion processing or non-inversion processing on the signal after the third delay processing to obtain a third output signal, and buffers the value corresponding to the third output signal.
[0012] Furthermore, after acquiring the detection signal through the current IO-Link background suppression sensor, the method further includes: using the detection signal as a fourth output signal, and causing the second output pin of the current IO-Link background suppression sensor to output the fourth output signal.
[0013] Furthermore, the IO-Link background suppression sensor detection signal processing method further includes: inverting or not inverting the first output signal to obtain a fifth output signal, and causing the second output pin of the current IO-Link background suppression sensor to output the fifth output signal.
[0014] The beneficial effects of this invention are as follows: The signal acquisition module acquires a detection signal; the first logic operation module performs a first logic operation on the detection signal to obtain a signal after the first logic operation; the first signal processing module performs a first delay processing on the signal after the first logic operation to obtain a signal after the first delay processing, and then performs either inversion processing or non-inversion processing on the signal after the first delay processing to obtain a first output signal, causing the first output pin to output the first output signal; this can improve the ability of the IO-Link background suppression sensor to process detection signals, enabling the IO-Link background suppression sensor to have edge computing capabilities, so as to independently realize functions such as length and speed measurement of target objects. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of the structure of the IO-Link background suppression sensor provided in an embodiment of the present invention.
[0016] Figure 2 This is a schematic diagram of the processing logic for the detection signal provided in an embodiment of the present invention.
[0017] Figure 3 This is a schematic flowchart of the IO-Link background suppression sensor detection signal processing method provided in an embodiment of the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in sequences other than those illustrated or described herein.
[0020] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0021] Figure 1 This is a schematic diagram of the IO-Link background suppression sensor according to an embodiment of the present invention. It should be noted that, if substantially the same result is achieved, the IO-Link background suppression sensor of the present invention does not necessarily require further clarification. Figure 1 The structures shown are limited. For example... Figure 1 As shown, the IO-Link background suppression sensor 10 includes a signal acquisition module 11, a first logic operation module 12, and a first signal processing module 13; The signal acquisition module is used to acquire the detection signal; The first logic operation module is used to perform a first logic operation on the detection signal to obtain a signal after the first logic operation; The first signal processing module is used to perform a first delay processing on the signal after the first logical operation to obtain a signal after the first delay processing, and to perform inversion processing or non-inversion processing on the signal after the first delay processing to obtain a first output signal, so that the first output pin outputs the first output signal.
[0022] In one specific embodiment, a first logical operation is performed on the detected signal. The first logical operation may include Direct, AND, OR, and XOR, where Direct, AND, OR, and XOR correspond to no processing, AND logic, OR logic, and XOR logic, respectively. Performing a first delay processing on the signal after the first logical operation may include determining whether to perform a first delay processing on the signal after the first logical operation. If yes, the signal after the first logical operation is delayed according to a preset delay time (greater than 0, in ms); if no, the signal after the first logical operation is delayed, where the corresponding preset delay time is 0. The detected signal may be the original detection result of the IO-Link background suppression sensor 10.
[0023] In some embodiments, the IO-Link background suppression sensor further includes a second logic operation module and a second signal processing module; The second logic operation module is used to perform a second logic operation on the detection signal to obtain a signal after the second logic operation; The second signal processing module is used to perform a second delay processing on the signal after the second logic operation to obtain a second delayed signal, to perform inversion processing or non-inversion processing on the second delayed signal to obtain a second output signal, to buffer the value corresponding to the second output signal, and / or to make the second output pin output the second output signal.
[0024] In one specific embodiment, the IO-Link background suppression sensor can be a four-wire IO-Link chip TIOL221 (M12). The IO-Link background suppression sensor can include two output pins, namely a first output pin SSC1 and a second output pin SSC2. The first output pin SSC1 can be the Pin4 pin of the M12 connector, and the second output pin SSC2 can be the Pin2 pin of the M12 connector.
[0025] In one specific embodiment, a schematic diagram of the processing logic for the detection signal is shown, as follows: Figure 2 As shown. Figure 2In this code, Qint.1 represents the detection signal, Input selector 1 represents the first input selector, Input selector 2 represents the second input selector, Logic1 represents the first logic operation module, Logic2 represents the second logic operation module, Timer mode 1 is the first timing mode, Timer mode 2 is the second timing mode, Inverter 1 represents the first inverter, and Inverter 2 represents the second inverter. Figure 2 The "1" in the code indicates a 1ms delay. QL1 Bit 0 is the first buffer module, which can be used to buffer the value corresponding to the first output signal. QL2 Bit 1 is the second buffer module, which can be used to buffer the value corresponding to the second output signal. Timing modes include Deactivated, T-on Delay, T-off Delay, T-on / T-off, and one-shot modes. Deactivated means the delay function is disabled; T-on Delay means the delay is enabled; T-off Delay means the delay is disabled; T-on / T-off means both delays are enabled and disabled; and one-shot means it is triggered only once within a preset time. The first and second logical operations can be the same logical operation. For example, when both the first and second logical operations are AND operations, the signal after the first logical operation and the signal after the second logical operation are the same signal.
[0026] In some embodiments, the IO-Link background suppression sensor further includes a third logic operation module and a third signal processing module; The signal acquisition module is also used to acquire input signals from external sensors; The third logic operation module is used to perform a third logic operation on the input signal to obtain a signal after the third logic operation; The third signal processing module is used to perform a third delay processing on the signal after the third logical operation to obtain a signal after the third delay processing, to perform inversion processing or non-inversion processing on the signal after the third delay processing to obtain a third output signal, and to cache the value corresponding to the third output signal.
[0027] In one specific embodiment, the external sensor can be an IO-Link background suppression sensor or other types of sensors, and the second buffer module can also be used to buffer the value corresponding to the third output signal. It should be noted that the function of the current IO-Link background suppression sensor can be controlled; for example, controlling whether the current IO-Link background suppression sensor emits light, controlling the current IO-Link background suppression sensor to process the detection signal and output the processed signal, or controlling the current IO-Link background suppression sensor to enable its teaching function.
[0028] In some embodiments, the IO-Link background suppression sensor further includes a fourth signal processing module, which is used to use the detection signal as a fourth output signal and to output the fourth output signal from the second output pin.
[0029] In some embodiments, the IO-Link background suppression sensor further includes a fifth signal processing module, which is used to invert or not invert the first output signal to obtain a fifth output signal, and to output the fifth output signal from the second output pin.
[0030] In one specific embodiment, the logic operation module and signal processing module can implement output on delay, output off delay, no delay (based on falling edge or rising edge), and output inversion based on the input signal (detection signal and / or input signal from external sensor). Input pulse counting and debouncing can be implemented based on the input signal, logic operation module, and signal processing module for speed or length measurement. Speed can be calculated using the distance and time difference between two sensors (the current IO-Link background suppression sensor and the external sensor), while length is calculated by multiplying the occlusion duration by the speed. The direction of motion of the measured object can be determined by which of the two sensors is triggered first. Speed or length measurement can also be performed using the current IO-Link background suppression sensor; specifically, the speed is obtained from the speed information provided by the output pulse signal, and the length can be calculated by combining this with the occlusion time of the measured object passing the sensor.
[0031] The IO-Link background suppression sensor provided by this invention acquires a detection signal through the signal acquisition module; the first logic operation module performs a first logic operation on the detection signal to obtain a signal after the first logic operation; the first signal processing module performs a first delay processing on the signal after the first logic operation to obtain a signal after the first delay processing, and then performs inversion processing or non-inversion processing on the signal after the first delay processing to obtain a first output signal, which is then output by the first output pin; this can improve the ability of the IO-Link background suppression sensor to process detection signals, enabling the IO-Link background suppression sensor to have edge computing capabilities, so as to independently realize the measurement of the length and speed of the target object.
[0032] The IO-Link background suppression sensor provided by this invention can realize the corresponding functions of the IO-Link background suppression sensor by using a built-in Lua interpreter in C language software and implementing API interfaces related to communication transmission and input / output control. This enables the IO-Link background suppression sensor to have independent edge computing capabilities, allowing it to process data and control autonomously without the need for a PLC main controller and an IO-Link master station.
[0033] Figure 3 This is a schematic flowchart of the IO-Link background suppression sensor detection signal processing method according to an embodiment of the present invention, as shown below. Figure 3 As shown, the IO-Link background suppression sensor detection signal processing method includes the following steps: S301, acquires the detection signal through the current IO-Link background suppression sensor; S302, the detection signal is subjected to a first logical operation by the current IO-Link background suppression sensor to obtain the signal after the first logical operation; S303, perform a first delay processing on the signal after the first logic operation to obtain a signal after the first delay processing, and perform inversion processing or non-inversion processing on the signal after the first delay processing to obtain a first output signal, so that the first output pin of the current IO-Link background suppression sensor outputs the first output signal.
[0034] In some embodiments, the IO-Link background suppression sensor detection signal processing method further includes: The detection signal is subjected to a second logical operation by the current IO-Link background suppression sensor to obtain a signal after the second logical operation; the signal after the second logical operation is subjected to a second delay processing to obtain a signal after the second delay processing; the signal after the second delay processing is either inverted or not inverted to obtain a second output signal; the value corresponding to the second output signal is buffered; and / or the second output pin of the current IO-Link background suppression sensor outputs the second output signal.
[0035] In some embodiments, the IO-Link background suppression sensor detection signal processing method further includes: The system acquires an input signal from an external sensor, performs a third logic operation on the input signal using the current IO-Link background suppression sensor, and obtains a signal after the third logic operation. It then performs a third delay processing on the signal after the third logic operation to obtain a signal after the third delay processing. Finally, it performs either inversion processing or non-inversion processing on the signal after the third delay processing to obtain a third output signal, and buffers the value corresponding to the third output signal.
[0036] In some embodiments, after acquiring the detection signal through the current IO-Link background suppression sensor, the method further includes: using the detection signal as a fourth output signal, and causing the second output pin of the current IO-Link background suppression sensor to output the fourth output signal.
[0037] In some embodiments, the IO-Link background suppression sensor detection signal processing method further includes: inverting or not inverting the first output signal to obtain a fifth output signal, and causing the second output pin of the current IO-Link background suppression sensor to output the fifth output signal.
[0038] For further details regarding the technical solution of the above-mentioned IO-Link background suppression sensor detection signal processing method, please refer to the description of the IO-Link background suppression sensor provided in the above-mentioned embodiments of the invention, which will not be repeated here.
[0039] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0040] The above embodiments merely illustrate preferred implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention should be determined by the appended claims.
Claims
1. An IO-Link background suppression sensor, characterized in that, It includes a signal acquisition module, a first logic operation module, and a first signal processing module; The signal acquisition module is used to acquire the detection signal; The first logic operation module is used to perform a first logic operation on the detection signal to obtain a signal after the first logic operation; The first signal processing module is used to perform a first delay processing on the signal after the first logical operation to obtain a signal after the first delay processing, and to perform inversion processing or non-inversion processing on the signal after the first delay processing to obtain a first output signal, so that the first output pin outputs the first output signal.
2. The IO-Link background suppression sensor according to claim 1, characterized in that, The IO-Link background suppression sensor also includes a second logic operation module and a second signal processing module; The second logic operation module is used to perform a second logic operation on the detection signal to obtain a signal after the second logic operation; The second signal processing module is used to perform a second delay processing on the signal after the second logic operation to obtain a second delayed signal, to perform inversion processing or non-inversion processing on the second delayed signal to obtain a second output signal, to buffer the value corresponding to the second output signal, and / or to make the second output pin output the second output signal.
3. The IO-Link background suppression sensor according to claim 1, characterized in that, The IO-Link background suppression sensor also includes a third logic operation module and a third signal processing module; The signal acquisition module is also used to acquire input signals from external sensors; The third logic operation module is used to perform a third logic operation on the input signal to obtain a signal after the third logic operation; The third signal processing module is used to perform a third delay processing on the signal after the third logical operation to obtain a signal after the third delay processing, to perform inversion processing or non-inversion processing on the signal after the third delay processing to obtain a third output signal, and to cache the value corresponding to the third output signal.
4. The IO-Link background suppression sensor according to claim 1, characterized in that, The IO-Link background suppression sensor also includes a fourth signal processing module, which is used to use the detection signal as a fourth output signal and to output the fourth output signal from the second output pin.
5. The IO-Link background suppression sensor according to claim 1, characterized in that, The IO-Link background suppression sensor also includes a fifth signal processing module, which is used to invert or not invert the first output signal to obtain a fifth output signal, and to output the fifth output signal from the second output pin.
6. A method for processing detection signals from an IO-Link background suppression sensor, characterized in that, include: The detection signal is obtained through the current IO-Link background suppression sensor; The detection signal is subjected to a first logical operation by the current IO-Link background suppression sensor to obtain a signal after the first logical operation. The signal after the first logical operation is subjected to a first delay processing to obtain a signal after the first delay processing. The signal after the first delay processing is either inverted or not inverted to obtain a first output signal, so that the first output pin of the current IO-Link background suppression sensor outputs the first output signal.
7. The IO-Link background suppression sensor detection signal processing method according to claim 6, characterized in that, The IO-Link background suppression sensor detection signal processing method further includes: The detection signal is subjected to a second logical operation by the current IO-Link background suppression sensor to obtain a signal after the second logical operation; the signal after the second logical operation is subjected to a second delay processing to obtain a signal after the second delay processing; the signal after the second delay processing is either inverted or not inverted to obtain a second output signal; the value corresponding to the second output signal is buffered; and / or the second output pin of the current IO-Link background suppression sensor outputs the second output signal.
8. The IO-Link background suppression sensor detection signal processing method according to claim 6, characterized in that, The IO-Link background suppression sensor detection signal processing method further includes: The system acquires an input signal from an external sensor, performs a third logic operation on the input signal using the current IO-Link background suppression sensor, and obtains a signal after the third logic operation. It then performs a third delay processing on the signal after the third logic operation to obtain a signal after the third delay processing. Finally, it performs either inversion processing or non-inversion processing on the signal after the third delay processing to obtain a third output signal, and buffers the value corresponding to the third output signal.
9. The IO-Link background suppression sensor detection signal processing method according to claim 6, characterized in that, After acquiring the detection signal through the current IO-Link background suppression sensor, the method further includes: using the detection signal as a fourth output signal, and causing the second output pin of the current IO-Link background suppression sensor to output the fourth output signal.
10. The IO-Link background suppression sensor detection signal processing method according to claim 6, characterized in that, The IO-Link background suppression sensor detection signal processing method further includes: inverting or not inverting the first output signal to obtain a fifth output signal, and causing the second output pin of the current IO-Link background suppression sensor to output the fifth output signal.