Fault detection module of sensor, fault detection device and automatic production line
By designing sensor fault detection modules, including protection circuits, type identification circuits and type conversion circuits, the production line stagnation caused by sensor short circuits is solved, and rapid investigation and capacity protection are achieved.
Patent Information
- Application Number
- CN202411764457.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-04-11
AI Technical Summary
In existing production equipment, short-circuiting of the sensor will cause the entire production line to stop running, which will take a long time to check and affect production capacity.
A sensor fault detection module is designed, including protection circuit, type identification circuit and type conversion circuit, which is used to quickly detect sensor short circuits and output alarm information, identify sensor types, and convert the sensed signal into a target type signal.
The rapid inspection of short-circuit sensors is achieved, avoiding the impact of the production capacity of production equipment and improving the reliability and efficiency of production equipment.
Smart Images

Figure CN119805293A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of fault detection technology, and in particular to a fault detection module, a fault detection device and an automated production line for a sensor. Background Art
[0002] In existing production equipment, multiple sensors are generally installed to obtain sensing data during the production process, and the written program controls the production equipment to perform automated processing based on the sensing data. However, in existing production equipment, when a sensor short-circuits, the entire production line will stop running, and it will take a long time to troubleshoot the short-circuited sensor, thus affecting the production capacity of the production equipment. Summary of the invention
[0003] In view of this, the present application provides a sensor fault detection module, a fault detection device and an automated production line, which are used to quickly troubleshoot short-circuited sensors to avoid affecting the production capacity of production equipment. The technical solution of the present application is as follows: In a first aspect, the present application provides a fault detection module for a sensor, comprising: a first port, used to connect the input end of the sensor; a second port, used to connect the output end of the sensor; a protection circuit, connected to the first port and the second port, used to output short-circuit alarm information when a short circuit is detected in the sensor; a type identification circuit, connected to the first port, used to receive a sensing signal of the sensor, detect the type of the sensor, and output corresponding type information; an isolation circuit, used to connect the type identification circuit and the type conversion circuit, and transmit the sensing signal to the type conversion circuit; a type conversion circuit, connected to the second port, used to convert the sensing signal into a target type signal, and output it to the second port.
[0004] In one embodiment of the present application, the protection circuit includes a first light-emitting diode, a second light-emitting diode, a first resistor, a second resistor and a fuse; the first end of the fuse is connected to the first pin of the first port, and the second end of the fuse is connected to the second pin of the second port; the cathode of the first light-emitting diode is connected to the second pin of the first port, and the anode of the first light-emitting diode is connected to the first end of the first resistor; the second end of the first resistor is connected to the first end of the second resistor and the first end of the fuse; the second end of the second resistor is connected to the cathode of the second light-emitting diode; and the anode of the second light-emitting diode is connected to the second end of the fuse.
[0005] In one embodiment of the present application, the type identification circuit includes a third light-emitting diode, a fourth light-emitting diode, a third resistor and a fourth resistor; the first end of the third resistor is connected to the third pin of the first port, and the second end of the third resistor is connected to the cathode of the third light-emitting diode; the anode of the third light-emitting diode is connected to the protection circuit; the first end of the fourth resistor is connected to the third pin of the first port, and the second end of the fourth resistor is connected to the anode of the fourth light-emitting diode; the cathode of the fourth light-emitting diode is connected to the second pin of the first port and the first pin of the second port.
[0006] In one embodiment of the present application, the isolation circuit includes a fifth resistor, a sixth resistor and a photocoupler; the first end of the fifth resistor is connected to the positive electrode of the third light-emitting diode, and the second end of the fifth resistor is connected to the first pin of the photocoupler; the second pin of the photocoupler is connected to the third pin of the first port; the first end of the sixth resistor is connected to the third pin of the first port; the fourth pin of the photocoupler is connected to the negative electrode of the fourth light-emitting diode; the sixth pin and the eighth pin of the photocoupler are connected to the type conversion circuit, and the fifth pin and the seventh pin of the photocoupler are connected to the third pin of the second port.
[0007] In one embodiment of the present application, the type conversion circuit includes a switching switch and a type prompt circuit; the switching switch is connected to the isolation circuit and is used to convert the sensing signal into a target type signal; the type prompt circuit is connected to the switching switch and is used to output corresponding type information according to the target type signal.
[0008] In one embodiment of the present application, the switching switch is a three-channel switching switch, the first pin of the switching switch is connected to the sixth pin and the third pin of the second port, the second pin of the switching switch is connected to the sixth pin of the photocoupler, the third pin of the switching switch is connected to the fourth pin and the first pin of the second port, and the fifth pin of the switching switch is connected to the eighth pin of the photocoupler.
[0009] In one embodiment of the present application, the type prompt circuit includes a seventh resistor, an eighth resistor, a ninth resistor, a fifth light-emitting diode, a sixth light-emitting diode and a seventh light-emitting diode; the first end of the seventh resistor is connected to the fifth pin of the photocoupler, and the second end of the seventh resistor is connected to the cathode of the fifth light-emitting diode; the anode of the fifth light-emitting diode is connected to the second pin of the second port; the first end of the eighth resistor is connected to the fifth pin of the photocoupler, and the second end of the eighth resistor is connected to the anode of the sixth light-emitting diode; the cathode of the sixth light-emitting diode is connected to the first pin of the second port; The cathode of the seventh light emitting diode is connected to the first pin of the second port, the anode of the seventh light emitting diode is connected to the first end of the ninth resistor; the second end of the ninth resistor is connected to the second pin of the second port.
[0010] A second aspect of the present application provides a sensor fault detection device, comprising n fault detection modules as described above, where n is a positive integer greater than or equal to 1.
[0011] A third aspect of the present application provides an automated production line, including the above-mentioned fault detection device.
[0012] In one embodiment of the present application, the automated production line further includes n sensors, each of which is connected to one of the fault detection modules.
[0013] The fault detection module of the present application is provided with a protection circuit connected to the sensor input end through the first port and to the sensor output end through the second port, and outputs short-circuit alarm information when a sensor short circuit is detected. A type identification circuit is provided to identify the type of the sensor, and then a type conversion circuit is provided to output the sensing signal of the sensor according to the required target type, thereby realizing rapid troubleshooting of short-circuited sensors and avoiding affecting the production capacity of production equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a schematic block diagram of a fault detection module of a sensor provided in an embodiment of the present application.
[0015] Figure 2 It is a circuit diagram of a fault detection module provided in an embodiment of the present application.
[0016] Figure 3 It is a schematic block diagram of a fault detection device provided in an embodiment of the present application.
[0017] Figure 4 It is a schematic block diagram of an automated production line provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] It should be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0019] It should also be noted that the method disclosed in the embodiments of the present application or the method shown in the flowchart includes one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchangeable with each other, and some of the steps can also be deleted.
[0020] In existing production equipment, multiple sensors are generally installed to obtain sensing data during the production process, and the written program controls the production equipment to perform automated processing based on the sensing data. However, in existing production equipment, when a sensor short-circuits, the entire production line will stop running, and it will take a long time to troubleshoot the short-circuited sensor, thus affecting the production capacity of the production equipment.
[0021] The present application provides a sensor fault detection module, a fault detection device and an automated production line for quickly troubleshooting short-circuited sensors to avoid affecting the production capacity of production equipment.
[0022] Please refer to Figure 1 , Figure 1 A schematic block diagram of a fault detection module of a sensor provided in an embodiment of the present application, wherein the fault detection module 100 includes a first port 110 , a second port 120 , a protection circuit 130 , a type identification circuit 140 , an isolation circuit 150 and a type conversion circuit 160 .
[0023] In the embodiment of the present application, the first port 110 is used to connect the input end of the sensor, and the second port 120 is used to connect the output end of the sensor. The sensor includes various sensing sensors in the automated production line, for example, various NPN sensors and PNP sensors such as Hall sensors, current sensors, voltage sensors, pressure sensors, speed sensors, proximity switches, etc. It can be understood that in some embodiments, the input end and the output end of the sensor can be detachably connected through the first port 110 and the second port 120 without affecting the normal operation of the sensor in the automated production line to form a fault detection branch of the sensor.
[0024] In the embodiment of the present application, the protection circuit 130 is connected to the first port 110 and the second port 120, and is used to output short circuit alarm information when a sensor short circuit is detected. For example, the short circuit alarm information can be light information, that is, an alarm light can be provided in the protection circuit 130, and when a sensor short circuit is detected, the protection circuit 130 controls the alarm light to emit light, or emits a preset color light.
[0025] The type recognition circuit 140 is connected to the first port 110, and is used to receive the sensing signal of the sensor, detect the type of the sensor, and output the corresponding type information. The color light can be preset to represent the corresponding type information. For example, a yellow light emitting diode and a blue light emitting diode can be set in the type recognition circuit 140. When the type of the sensor is detected to be NPN type, the yellow light emitting diode is controlled to emit light, and when the type of the sensor is detected to be PNP type, the blue light emitting diode is controlled to emit light.
[0026] The isolation circuit 150 is used to connect the type identification circuit 140 and the type conversion circuit 160, and transmit the sensing signal to the type conversion circuit 160. The isolation circuit 150 is provided with electrical isolation components to isolate the electrical connection between the type identification circuit 140 and the type conversion circuit 160, and electrically isolate the sensing signal of the type identification circuit 140 and transmit it to the type conversion circuit 160.
[0027] The type conversion circuit 160 is connected to the second port 120, and is used to convert the sensing signal into a target type signal, and output it to the second port 120. For example, a switching switch may be provided in the type conversion circuit 160, and the user may select the type of the output sensing signal through the switching switch, and convert the sensing signal into the target type signal. For example, the NPN type sensing signal may be output as a PNP type sensing signal, or the PNP type sensing signal may be output as an NPN type sensing signal through the switching switch.
[0028] It can be understood that the fault detection module of the present application is provided with a protection circuit connected to the sensor input end through the first port and to the sensor output end through the second port, and outputs short-circuit alarm information when a sensor short circuit is detected, and a type identification circuit is provided to identify the type of the sensor, and then a type conversion circuit is provided to output the sensing signal of the sensor according to the required target type, thereby realizing rapid troubleshooting of short-circuited sensors and avoiding affecting the production capacity of production equipment.
[0029] Please refer to Figure 2 , Figure 2 A circuit diagram of a fault detection module provided in an embodiment of the present application is shown in FIG. 1 , wherein the fault detection module 200 includes a first port 210 , a second port 220 , a protection circuit 230 , a type identification circuit 240 , an isolation circuit 250 , and a type conversion circuit 260 .
[0030] In the embodiment of the present application, the protection circuit 230 includes a first light emitting diode D1, a second light emitting diode D2, a first resistor R1, a second resistor R2 and a fuse F1.
[0031] The first end of the fuse F1 is connected to the first pin of the first port 210, and the second end of the fuse F1 is connected to the second pin of the second port 220. The cathode of the first light emitting diode D1 is connected to the second pin of the first port 210, and the anode of the first light emitting diode D1 is connected to the first end of the first resistor R1. The second end of the first resistor R1 is connected to the first end of the second resistor R2 and the first end of the fuse F1. The second end of the second resistor R2 is connected to the cathode of the second light emitting diode D2. The anode of the second light emitting diode D2 is connected to the second end of the fuse F1.
[0032] It can be understood that the first port 210 is connected to the input end of the sensor, and the second port 220 is connected to the output end of the sensor. When the sensor is normal, the fuse F1 is not blown, the first light-emitting diode D1 emits light and the second light-emitting diode D2 does not emit light, indicating that the sensor is currently in a normal working state. When the sensor is short-circuited, the fuse F1 is blown by the large current generated by the short circuit, the first light-emitting diode D1 does not emit light and the second light-emitting diode D2 emits light, indicating that the sensor is currently in a short-circuit state. In some embodiments, the colors of the first light-emitting diode D1 and the second light-emitting diode D2 are different to better indicate the state of the sensor. For example, the first light-emitting diode D1 can be green and the second light-emitting diode D2 can be red, which is not limited here.
[0033] In the embodiment of the present application, the type identification circuit 240 includes a third light emitting diode D3, a fourth light emitting diode D4, a third resistor R3 and a fourth resistor R4.
[0034] The first end of the third resistor R3 is connected to the third pin of the first port 210, and the second end of the third resistor R3 is connected to the cathode of the third light emitting diode D3. The anode of the third light emitting diode D3 is connected to the protection circuit 230. The first end of the fourth resistor R4 is connected to the third pin of the first port 210, and the second end of the fourth resistor R4 is connected to the anode of the fourth light emitting diode D4. The cathode of the fourth light emitting diode D4 is connected to the second pin of the first port 210 and the first pin of the second port 220.
[0035] It can be understood that when the output of the sensor is at a low level, the third light-emitting diode D3 emits light to indicate that the current sensor is an NPN type sensor, and when the output of the sensor is at a high level, the fourth light-emitting diode D4 emits light to indicate that the current sensor is a PNP type sensor. In some embodiments, the third light-emitting diode D3 and the fourth light-emitting diode D4 have different colors to better indicate the type of sensor, for example, the third light-emitting diode D3 can be yellow, and the fourth light-emitting diode D4 can be blue, which is not limited here.
[0036] In the embodiment of the present application, the isolation circuit 250 includes a fifth resistor R5, a sixth resistor R6 and a photocoupler U1. The first end of the fifth resistor R5 is connected to the positive electrode of the third light-emitting diode D3, and the second end of the fifth resistor R5 is connected to the first pin of the photocoupler U1. The second pin of the photocoupler U1 is connected to the third pin of the first port 210. The first end of the sixth resistor R6 is connected to the third pin of the first port 210. The fourth pin of the photocoupler U1 is connected to the negative electrode of the fourth light-emitting diode D4. The sixth pin and the eighth pin of the photocoupler U1 are connected to the type conversion circuit 260, and the fifth pin and the seventh pin of the photocoupler U1 are connected to the third pin of the second port 220.
[0037] In an embodiment of the present application, the type conversion circuit 260 includes a switch 261 and a type prompt circuit 262. The switch 261 is connected to the isolation circuit 250, and is used to convert the sensing signal into a target type signal. The type prompt circuit 262 is connected to the switch 261, and is used to output corresponding type information according to the target type signal. The switch 261 is a three-channel switch K1, the first pin of the switch 261 is connected to the sixth pin and the third pin of the second port 220, the second pin of the switch 261 is connected to the sixth pin of the photocoupler U1, the third pin of the switch 261 is connected to the fourth pin and the first pin of the second port 220, and the fifth pin of the switch 261 is connected to the eighth pin of the photocoupler U1.
[0038] Wherein, the type prompt circuit 262 includes a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a fifth light emitting diode D5, a sixth light emitting diode D6 and a seventh light emitting diode D7. The first end of the seventh resistor R7 is connected to the fifth pin of the photoelectric coupler U1, and the second end of the seventh resistor R7 is connected to the cathode of the fifth light emitting diode D5. The anode of the fifth light emitting diode D5 is connected to the second pin of the second port 220. The first end of the eighth resistor R8 is connected to the fifth pin of the photoelectric coupler U1, and the second end of the eighth resistor R8 is connected to the anode of the sixth light emitting diode D6. The cathode of the sixth light emitting diode D6 is connected to the first pin of the second port 220. The cathode of the seventh light emitting diode D7 is connected to the first pin of the second port 220, and the anode of the seventh light emitting diode D7 is connected to the first end of the ninth resistor R9. The second end of the ninth resistor R9 is connected to the second pin of the second port 220.
[0039] It can be understood that by manually controlling the switching switch 261, the low level output by the sensor can be converted to a high level, thereby converting the NPN type sensor to the PNP type, and the high level output by the sensor can also be converted to a low level, thereby converting the PNP type sensor to the NPN type. When the sensor is converted to an NPN type sensor, the fifth light-emitting diode D5 emits light, and when the sensor is converted to a PNP type sensor, the sixth light-emitting diode D6 emits light. In some embodiments, the fifth light-emitting diode D5 and the sixth light-emitting diode D6 have different colors to better indicate the type of the converted sensor. For example, the fifth light-emitting diode D5 can be yellow and the sixth light-emitting diode D6 can be blue, which is not limited here.
[0040] like Figure 3 As shown, the present application further provides a fault detection device 300, which includes n fault detection modules 310 in any of the above embodiments, where n is a positive integer greater than or equal to 1.
[0041] like Figure 4 As shown, the present application also provides an automated production line 30 , including the above-mentioned fault detection device 300 , wherein the automated production line 30 includes n sensors 31 , and each of the sensors 31 is connected to one of the fault detection modules 310 .
[0042] It can be understood that the beneficial effects that can be achieved by the fault detection device 300 and the automated production line 30 of the embodiment of the present application can refer to the beneficial effects of the fault detection module in the aforementioned embodiment, and will not be repeated here.
[0043] The embodiments described above are merely preferred embodiments of the present application and are not intended to limit the scope of the present application. Without departing from the design spirit of the present application, various modifications and improvements made to the technical solutions of the present application by ordinary technicians in this field should fall within the protection scope determined by the claims of the present application.
Claims
1. A sensor fault detection module, characterized in that: include: A first port, used for connecting to an input end of the sensor; A second port, used for connecting to an output end of the sensor; A protection circuit, connected to the first port and the second port, configured to output short circuit alarm information when a short circuit of the sensor is detected; a type identification circuit, connected to the first port, configured to receive a sensing signal from the sensor, detect the type of the sensor, and output corresponding type information; an isolation circuit, used to connect the type identification circuit and the type conversion circuit, and transmit the sensing signal to the type conversion circuit; The type conversion circuit is connected to the second port and is used for converting the sensing signal into a target type signal and outputting the target type signal to the second port.
2. The fault detection module according to claim 1, characterized in that: The protection circuit includes a first light emitting diode, a second light emitting diode, a first resistor, a second resistor and a fuse; The first end of the fuse is connected to the first pin of the first port, and the second end of the fuse is connected to the second pin of the second port; the cathode of the first light-emitting diode is connected to the second pin of the first port, and the anode of the first light-emitting diode is connected to the first end of the first resistor; the second end of the first resistor is connected to the first end of the second resistor and the first end of the fuse; the second end of the second resistor is connected to the cathode of the second light-emitting diode; and the anode of the second light-emitting diode is connected to the second end of the fuse.
3. The fault detection module according to claim 1, characterized in that: The type identification circuit includes a third light emitting diode, a fourth light emitting diode, a third resistor and a fourth resistor; The first end of the third resistor is connected to the third pin of the first port, and the second end of the third resistor is connected to the cathode of the third light-emitting diode; the anode of the third light-emitting diode is connected to the protection circuit; the first end of the fourth resistor is connected to the third pin of the first port, and the second end of the fourth resistor is connected to the anode of the fourth light-emitting diode; the cathode of the fourth light-emitting diode is connected to the second pin of the first port and the first pin of the second port.
4. The fault detection module according to claim 3, characterized in that: The isolation circuit includes a fifth resistor, a sixth resistor and a photoelectric coupler; The first end of the fifth resistor is connected to the anode of the third light-emitting diode, the second end of the fifth resistor is connected to the first pin of the photoelectric coupler; the second pin of the photoelectric coupler is connected to the third pin of the first port; the first end of the sixth resistor is connected to the third pin of the first port; the fourth pin of the photoelectric coupler is connected to the cathode of the fourth light-emitting diode; The sixth pin and the eighth pin of the photoelectric coupler are connected to the type conversion circuit, and the fifth pin and the seventh pin of the photoelectric coupler are connected to the third pin of the second port.
5. The fault detection module according to claim 4, characterized in that: The type conversion circuit includes a switching switch and a type prompt circuit; The switch is connected to the isolation circuit and is used to convert the sensing signal into a target type signal; The type prompt circuit is connected to the switch and is used to output corresponding type information according to the target type signal.
6. The fault detection module according to claim 5, characterized in that: The switching switch is a three-channel switching switch, the first pin of the switching switch is connected to the sixth pin and the third pin of the second port, the second pin of the switching switch is connected to the sixth pin of the photocoupler, the third pin of the switching switch is connected to the fourth pin and the first pin of the second port, and the fifth pin of the switching switch is connected to the eighth pin of the photocoupler.
7. The fault detection module according to claim 5, characterized in that: The type prompt circuit includes a seventh resistor, an eighth resistor, a ninth resistor, a fifth light emitting diode, a sixth light emitting diode and a seventh light emitting diode; The first end of the seventh resistor is connected to the fifth pin of the photocoupler, and the second end of the seventh resistor is connected to the cathode of the fifth light-emitting diode; the anode of the fifth light-emitting diode is connected to the second pin of the second port; the first end of the eighth resistor is connected to the fifth pin of the photocoupler, and the second end of the eighth resistor is connected to the anode of the sixth light-emitting diode; the cathode of the sixth light-emitting diode is connected to the first pin of the second port; The cathode of the seventh light emitting diode is connected to the first pin of the second port, the anode of the seventh light emitting diode is connected to the first end of the ninth resistor; and the second end of the ninth resistor is connected to the second pin of the second port.
8. A sensor fault detection device, characterized in that: The method comprises n fault detection modules as claimed in any one of claims 1 to 7, wherein n is a positive integer greater than or equal to 1.
9. An automated production line, characterized in that: Comprising the fault detection device as claimed in claim 8.
10. The automated production line according to claim 9, characterized in that: The automated production line further includes n sensors, each of which is connected to one of the fault detection modules.