A debugger for closer detection
By designing a debugger for shut-off device detection, and utilizing signal processing circuits and an alarm module to output light and sound signals, the problem of low efficiency in multi-person collaborative debugging in ship support was solved, and efficient and accurate shut-off device status detection by a single person was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- HAISHEN MECHANICAL & ELECTRICAL GENERAL FACTORY (XIANGSHAN)
- Filing Date
- 2025-05-12
- Publication Date
- 2026-06-02
AI Technical Summary
During ship support operations, the status of the local shut-off device cannot be determined, leading to multiple people working in multiple locations to debug the shut-off device signal, which severely reduces production efficiency.
Design a debugger for shut-off detection, including a signal processing circuit, an alarm module, and a processor. By acquiring and processing the open and closed signals of the shut-off, it outputs different light signals and/or sound signals so that the operator can judge the status of the shut-off from a distance.
It enables single-person operation to complete the shutdown device debugging, improving production efficiency. By combining light and sound signals, it reduces errors and ensures the accuracy of test results.
Smart Images

Figure CN224317705U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of debugger technology, and in particular to a debugger for shutdown detection. Background Technology
[0002] During ship maintenance, the status of the local shut-off device cannot be determined. Due to the large size of the ship and the distance between various compartments, as well as the presence of many obstacles, the debugging of the shut-off device signal generally requires multiple people working together in multiple locations, which seriously reduces production efficiency. There is an urgent need to develop a local debugger for the shut-off device that can be operated by a single person. Summary of the Invention
[0003] The purpose of this application is to provide a debugger for shutdown detection.
[0004] To achieve the above objectives, the technical solution adopted in this application is as follows: a debugger for detecting a shut-off device, comprising a signal processing circuit, an alarm module, and a processor. The signal processing circuit is adapted to be connected to the shut-off device for power supply and to collect and convert the open and closed signals of the shut-off device. The processor is adapted to receive and process the open or closed signals and control the alarm module to output different light signals and / or sound signals respectively.
[0005] As a preferred embodiment, the signal processing circuit includes a first light-emitting circuit, a second light-emitting circuit, and corresponding first and second photosensitive circuits. The first light-emitting circuit includes a thirteenth resistor and a first light source, wherein one end of the thirteenth resistor is connected to a shut-off device and energized, and one end of the first light source is grounded. The second light-emitting circuit includes an eleventh resistor and a second light source, wherein one end of the eleventh resistor is connected to a shut-off device and energized, and one end of the second light source is grounded. The first and second photosensitive circuits each include a first photodetector and a second photodetector, and both ends of the first and second photodetectors are connected to a 24V power supply. The processor is provided with interfaces corresponding to the first and second photodetectors. Correspondingly, the first light source and the first photodetector, and the second light source and the second photodetector form two optocouplers to identify the on-state signal and the off-state signal, respectively.
[0006] As a preferred option, both the first light source and the second light source are light-emitting diodes.
[0007] As a preferred embodiment, the debugger also includes an OLED screen, which is electrically connected to the processor and displays corresponding information based on signals received by the processor.
[0008] As a preferred embodiment, the processor includes a power supply port, a first signal input port, and a second signal input port; the processor is provided with a first light interface corresponding to the on position signal and a second light interface corresponding to the off position signal; the warning module includes an RGB light, the RGB light is connected to the first light interface and the second light interface; the first signal input port is electrically connected to the first photosensitive circuit, and the second signal input port is electrically connected to the second photosensitive circuit.
[0009] As a preferred embodiment, one end of the RGB lamp is connected to the power supply port. The RGB lamp is also provided with a red lamp interface, a green lamp interface, and a blue lamp interface, and a tenth resistor, a ninth resistor, and a fifteenth resistor are respectively provided on the outside of these three interfaces. The other end of the tenth resistor, the ninth resistor, and the fifteenth resistor are electrically connected to the processor. The processor controls the blue lamp interface to supply power when the power switch is turned on and when neither the first photosensitive circuit nor the second photosensitive circuit is turned on.
[0010] As a preferred embodiment, the warning module is also equipped with a buzzer, with a seventh resistor and a transistor connected in series at both ends of the buzzer. One end of the transistor is connected to the power supply port and the buzzer, respectively, and the other end of the transistor is electrically connected to the processor. The other end of the seventh resistor is grounded, and the branch containing the buzzer and the branch containing the RGB lights are connected in parallel.
[0011] As a preferred embodiment, the warning module is further provided with a first test circuit, which includes a third resistor, a second switch, and a fifth resistor in sequence. The third resistor is connected to the power supply port, and the other end of the fifth resistor is grounded. The first test circuit and the branch where the RGB light is located are connected in parallel. The warning module also includes a first capacitor, a second capacitor, and a third capacitor. A first pin of the second switch is provided between the third capacitor and the second switch, and the first pin is electrically connected to the processor.
[0012] As a preferred embodiment, the warning module is further provided with a second test circuit. The first test circuit includes a fourth resistor, a first switch, and a sixth resistor in sequence. The fourth resistor is connected to the power supply port, and the other end of the sixth resistor is grounded. The second test circuit is connected in parallel with the branch where the RGB light is located. A second pin of the second switch is provided between the fourth resistor and the first switch, and the second pin is electrically connected to the processor.
[0013] As a preferred embodiment, the first capacitor, the second capacitor, and the third capacitor are all connected in parallel with the branch where the RGB lamp is located.
[0014] Compared with the prior art, the beneficial effects of this application are as follows:
[0015] The signal processing circuit collects the specific signals when the shut-off device is closed and opened, processes the open and closed signals, and outputs different light and / or sound signals through the alarm module after processing, so that the operator can obtain the test results from a distance. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of a signal processing circuit in one embodiment of this application.
[0017] Figure 2 This is a schematic diagram of the warning module in one embodiment of this application.
[0018] Figure 3 This is a schematic diagram of a processor in one embodiment of this application.
[0019] In the diagram: 1. Shut-off switch; 21. First light source; 22. Second light source; 31. First light receiver; 32. Second light receiver; 4. RGB LED; 5. Downloader; 6. USB interface; C1. First capacitor; C2. Second capacitor; C3. Third capacitor; R1. First resistor; R2. Second resistor; R3. Third resistor; R4. Fourth resistor; R5. Fifth resistor; R6. Sixth resistor; R7. Seventh resistor; R9. Ninth resistor; R10. Tenth resistor; R11. Eleventh resistor; R13. Thirteenth resistor; R15. Fifteenth resistor; BELL. Buzzer; Q1. Transistor; RLED. Red LED interface; GLED. Green LED interface; BLED. Blue LED interface; VCC. Power supply port; U1. Processor; D1. First Zener diode; D2. Second Zener diode; L1. First signal input port; L2. Second signal input port. Detailed Implementation
[0020] The present application will be further described below with reference to specific embodiments. It should be noted that, without conflict, the various embodiments or technical features described below can be arbitrarily combined to form new embodiments.
[0021] In the description of this application, it should be noted that the terms "center", "lateral", "longitudinal", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc., which indicate the orientation and positional relationship based on the orientation or positional relationship shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and should not be construed as limiting the specific protection scope of this application.
[0022] It should be noted that the terms "first," "second," etc., in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0023] The terms “comprising” and “having”, and any variations thereof, in the specification and claims of this application are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or device.
[0024] Example:
[0025] Reference Figure 1 , Figure 2 and Figure 3 As shown, this application proposes a debugger for detecting a shut-off device, including a signal processing circuit, an alarm module, and a processor U1. The signal processing circuit is adapted to be connected to the shut-off device 1 for power-on and to collect and convert the open and closed position signals of the shut-off device 1. The processor U1 is adapted to receive and process the open or closed position signals, and control the alarm module to output different alarm signals respectively. This application collects the specific signals of the shut-off device 1 when it is closed and open through the signal processing circuit, processes the open and closed position signals, and after processing by the processor U1, the alarm module outputs different light signals and / or sound signals, so that the operator can obtain the test results from a distance. The actual state of the shut-off device can be judged by different light colors, and it can also be judged by different sounds. Of course, a combination of both signals can also be used to make a comprehensive judgment to reduce errors. Through this signal transmission, the operator can complete the debugging task alone.
[0026] The signal processing circuit includes a first light-emitting circuit, a second light-emitting circuit, and corresponding first and second photosensitive circuits. The first light-emitting circuit includes a thirteenth resistor R13 and a first light source 21, wherein one end of the thirteenth resistor R13 is connected to the shut-off device 1 for power supply, and one end of the first light source 21 is grounded. The second light-emitting circuit includes an eleventh resistor R11 and a second light source 22, wherein one end of the eleventh resistor R11 is connected to the shut-off device 1 for power supply, and one end of the second light source 22 is grounded. The first and second photosensitive circuits respectively include a first photodetector 31 and a second photodetector 32. Both ends of the first photodetector 31 and the second photodetector 32 are respectively connected to a 24V power supply. The processor U1 is provided with interfaces corresponding to the first photodetector 31 and the second photodetector 32. Correspondingly, the first light source 21 and the first photodetector 31, the second light source 22 and the second photodetector 32 form two optocouplers to identify the on and off signals respectively. Preferably, both the first light source 21 and the second light source 22 are light-emitting diodes. The preferred eleventh resistor R11 and thirteenth resistor R13 are both 300K resistors.
[0027] This debugger also includes an OLED screen, which is electrically connected to the processor U1 and displays corresponding information based on the signals received by the processor U1. For example... Figure 3 As shown, the common interface between the OLED screen on the left and the processor U1 will not be described in detail. It is the corresponding interface for the processor to control the output of the OLED screen.
[0028] The processor U1 includes a power supply port VCC, a first signal input port L1, and a second signal input port L2. The processor U1 has a first light interface corresponding to the "on" position signal and a second light interface corresponding to the "off" position signal. The warning module includes RGB LEDs 4, which are connected to the first and second light interfaces. The first signal input port L1 is electrically connected to a first photosensitive circuit, and the second signal input port L2 is electrically connected to a second photosensitive circuit. The first and second photosensitive circuits are as follows: Figure 1 The end of the device can be configured as a magnetic rod coil. During the detection of the coin-operated breaker 1, when the coin-operated breaker is opened or closed, the magnetic rod coil is randomly brought close to the breaker 1. If the processor U1 can detect the corresponding signal, it is considered normal. When both the open and closed positions are normal, the detection and debugging of the breaker 1 can be completed. Of course, the specific principles of signal identification and transmission are well known in the art, so the specific principles will not be elaborated upon.
[0029] The processor U1 of this application can also be as follows: Figure 3As shown, the preferred processor U1 model is STC8G1K08-SOP16. A downloader 5 and a USB interface are connected in parallel for program downloading and writing, thereby adding or changing the operating logic of the processor U1. The USB interface can be configured with two branches, each with a first Zener diode D1 and a second Zener diode D2 for voltage regulation and protection. The first Zener diode D1 and the second Zener diode D2 are respectively connected in series with a first resistor R1 and a second resistor R2. Preferably, both the first resistor R1 and the second resistor R2 are 22Ω resistors. The downloader 5 and the USB interface are common technologies, therefore their specific structures will not be described in detail in this application. The preferred model of the first Zener diode D1 and the second Zener diode D2 is IN4729_3.6V.
[0030] One end of RGB LED 4 is connected to the power supply port VCC. RGB LED 4 also has a red LED interface (RLED), a green LED interface (GLED), and a blue LED interface (BLED). Tenth resistor R10, ninth resistor R9, and fifteenth resistor R15 are respectively installed on the outer side of these three interfaces. The other ends of the tenth resistor R10, ninth resistor R9, and fifteenth resistor R15 are electrically connected to the processor U1. The processor U1 controls the blue LED interface (BLED) to be powered on when the shut-off device 1 is powered on and both the first and second photosensitive circuits are not powered on. Preferably, the tenth resistor R10, ninth resistor R9, and fifteenth resistor R15 are 1K, 2K, and 1K resistors, respectively. The blue LED is directly controlled by the processor U1 to light up after the debugger connects to the shut-off device and is powered on, serving as an initial signal light. The red and green LEDs represent the open or closed states of different shut-off devices. The different resistance values of the tenth resistor R10 and ninth resistor R9 allow the processor U1 to easily identify the signal and make the RGB LED emit the corresponding color light.
[0031] The warning module also includes a buzzer (BELL). A seventh resistor (R7) and a transistor (Q1) are connected in series across the two ends of the buzzer (BELL). One end of transistor Q1 is connected to the power supply port VCC and the buzzer (BELL), while the other end is electrically connected to the processor U1. The other end of the seventh resistor (R7) is grounded. The branch containing the buzzer (BELL) and the branch containing RGB LED 4 are connected in parallel, with the other end of the seventh resistor (R7) grounded. The preferred buzzer (BELL) model is LS1. The preferred transistor (Q1) model is S9013, and R7 is a 100R resistor. The buzzer can be connected to the processor U1 via the BEEP interface. The processor U1 controls the buzzer to sound based on the received "open" or "closed" signal. In practice, when the operator performs an open or closed state check, the buzzer sounding can directly indicate that a signal has been detected, thus allowing for the determination and completion of the shutdown function check.
[0032] like Figure 3As shown, the warning module also includes a first test circuit, which sequentially comprises a third resistor R3, a second switch KEY2, and a fifth resistor R5. The third resistor R3 is connected to the power supply port VCC, and the other end of the fifth resistor R5 is grounded. The first test circuit is connected in parallel with the branch containing the RGB lamp 4. A first pin of the second switch is located between the third capacitor C3 and the second switch, and this first pin is electrically connected to the processor U1. Further, the warning module also includes a second test circuit. The first test circuit sequentially comprises a fourth resistor R4, a first switch KEY1, and a sixth resistor R6. The fourth resistor R4 is connected to the power supply port VCC, and the other end of the sixth resistor R6 is grounded. The second test circuit is connected in parallel with the branch containing the RGB lamp 4. A second pin of the second switch is located between the fourth resistor and the first switch, and this second pin is electrically connected to the processor U1. Preferably, the third resistor R3 and the fourth resistor R4 are both 10K resistors, and the sixth resistor R6 and the fifth resistor R5 are both 300R resistors. In fact, the second switch KEY2 and the first switch KEY1 of the first and second test circuits can be assigned specific functions. For example, the second switch KEY2 can be set to the "OK" function, which is sent to the processor U1 as a confirmation signal when the debugger mode is selected; while the first switch KEY1 can be set to "SLEC", i.e., the select button, and used as the button to select the debugger mode.
[0033] The warning module also includes a first capacitor C1, a second capacitor C2, and a third capacitor C3. The first capacitor C1, the second capacitor C2, and the third capacitor C3 are all connected in parallel with the branch where the RGB lamp 4 is located. The third capacitor C3 and the first capacitor C1 are preferably 100μF / 6V, and the second capacitor C2 is set as a 103 capacitor, that is, 10nF. The above capacitors are mainly used for voltage regulation and filtering to maintain circuit stability.
[0034] The specific debugging process of this application is as follows: (1) Power on the shut-off device to be debugged; (2) Open the shut-off device end cover and check whether the power supply of the shut-off device is correct; (3) Connect the debugger to the shut-off device, and the shut-off device will start running automatically; (4) After the debugger starts up, select the "Local Debugging" option using the selection key; (5) After selecting, press the confirmation key to enter the "Local Debugging" function interface and adjust the shut-off ring; (6) If the signal ring is in place, the OLED screen will display the message "A certain ring is in place", and the corresponding color indicator light will illuminate for observation from a distance. At the same time, there will be a prompt sound (generated by a buzzer) for the debugger who cannot observe the screen to make a judgment. The display interface and operation interface principle of the above detection process can be realized by the OLED screen and the processor U1.
[0035] The specific testing steps of this application are as follows: (1) Connect the debugger to the shut-off device 1 under test. (2) Power on the shut-off device 1, and the debugger will start running automatically. (3) After the debugger starts up, select the "Shut-off Device Test" option using the selection key. (4) After selecting, press the confirmation key to enter the "Shut-off Device Test" function interface. (5) According to the on-screen prompts, use the randomly provided magnetic rod to approach the probe of the shut-off device. (6) If both the open and closed signals can be detected normally, the shut-off device is functioning normally and can be installed and used with confidence. The display interface of the above testing process can be realized through the OLED screen and the processor U1.
[0036] The basic principles, main features, and advantages of this application have been described above. Those skilled in the art should understand that this application is not limited to the above embodiments. The embodiments and descriptions in the specification are merely the principles of this application. Various changes and modifications can be made to this application without departing from its spirit and scope, and all such changes and modifications fall within the scope of the claims. The scope of protection claimed by this application is defined by the appended claims and their equivalents.
Claims
1. A debugger for shut-down device detection, characterized in that, It includes a signal processing circuit, an alarm module, and a processor. The signal processing circuit is adapted to be connected to the shut-off device for power supply and to collect and convert the open and closed signals of the shut-off device. The processor is adapted to receive and process the open or closed signals and control the alarm module to output different light and / or sound alarm signals respectively.
2. The debugger for shut-off detection as described in claim 1, characterized in that, The signal processing circuit includes a first light-emitting circuit, a second light-emitting circuit, and corresponding first and second photosensitive circuits. The first light-emitting circuit includes a thirteenth resistor and a first light source, wherein one end of the thirteenth resistor is connected to a shut-off device and energized, and one end of the first light source is grounded. The second light-emitting circuit includes an eleventh resistor and a second light source, wherein one end of the eleventh resistor is connected to a shut-off device and energized, and one end of the second light source is grounded. The first and second photosensitive circuits each include a first photodetector and a second photodetector. Both ends of the first photodetector and both ends of the second photodetector are connected to a 24V power supply. The processor is provided with interfaces corresponding to the first and second photodetectors. Correspondingly, the first light source and the first photodetector, and the second light source and the second photodetector form two optocouplers to identify the on-state signal and the off-state signal, respectively.
3. The debugger for shut-off device detection as described in claim 2, characterized in that, Both the first light source and the second light source are light-emitting diodes.
4. The debugger for shut-off detection as described in claim 2, characterized in that, It also includes an OLED screen, which is electrically connected to the processor and displays corresponding information based on signals obtained by the processor.
5. The debugger for shut-off device detection as described in claim 2, characterized in that, The processor includes a power supply port, a first signal input port, and a second signal input port; the processor is provided with a first light interface corresponding to the on position signal and a second light interface corresponding to the off position signal; the warning module includes an RGB light, the RGB light is connected to the first light interface and the second light interface; the first signal input port is electrically connected to the first photosensitive circuit, and the second signal input port is electrically connected to the second photosensitive circuit.
6. The debugger for shut-off detection as described in claim 5, characterized in that, One end of the RGB lamp is connected to the power supply port. The RGB lamp is also provided with a red lamp interface, a green lamp interface and a blue lamp interface, and a tenth resistor, a ninth resistor and a fifteenth resistor are respectively provided on the outside of these three interfaces. The other end of the tenth resistor, the ninth resistor and the fifteenth resistor are electrically connected to the processor. The processor controls the blue lamp interface to supply power when the power switch is turned on and when the first photosensitive circuit and the second photosensitive circuit are not turned on.
7. The debugger for shut-off detection as described in claim 6, characterized in that, The warning module is also equipped with a buzzer. A seventh resistor and a transistor are connected in series at both ends of the buzzer. One end of the transistor is connected to the power supply port and the buzzer, respectively. The other end of the transistor is electrically connected to the processor. The other end of the seventh resistor is grounded. The branch where the buzzer is located and the branch where the RGB light is located are connected in parallel.
8. The debugger for shut-off detection as described in claim 7, characterized in that, The warning module is also provided with a first test circuit, which includes a third resistor, a second switch and a fifth resistor in sequence. The third resistor is connected to the power supply port and the other end of the fifth resistor is grounded. The first test circuit and the branch where the RGB light is located are connected in parallel. The warning module also includes a first capacitor, a second capacitor and a third capacitor. A first pin of the second switch is provided between the third capacitor and the second switch. The first pin is electrically connected to the processor.
9. The debugger for shut-off detection as described in claim 8, characterized in that, The warning module is also provided with a second test circuit. The first test circuit includes a fourth resistor, a first switch and a sixth resistor in sequence. The fourth resistor is connected to the power supply port and the other end of the sixth resistor is grounded. The second test circuit is connected in parallel with the branch where the RGB light is located. A second pin of the second switch is provided between the fourth resistor and the first switch. The second pin is electrically connected to the processor.
10. The debugger for shut-off detection as described in claim 8, characterized in that, The first capacitor, the second capacitor, and the third capacitor are all connected in parallel with the branch where the RGB lamp is located.