Transformer substation communication cabinet optical fiber fault monitoring device and monitoring method thereof

By configuring cameras and microprocessor modules in the substation communication cabinet and utilizing the changes in the color and flashing frequency of the fiber optic indicator light, non-contact monitoring of the fiber optic communication status is achieved, solving the operation and maintenance difficulties caused by monitoring blind spots and equipment diversity, and improving the timeliness and accuracy of fault detection.

CN120825224AInactive Publication Date: 2025-10-21STATE GRID JIANGSU ELECTRIC POWER CO LTD CHANGZHOU BRANCH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202511325791.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-17
Publication Date
2025-10-21
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Substation communication cabinets have monitoring blind spots, equipment diversity leading to difficulties in operation and maintenance, and difficulty in implementing refined operation and maintenance. The existing monitoring system cannot accurately determine fiber optic communication failures in real time.

Method used

By configuring the camera module and the microprocessor module, utilizing the color and flashing frequency changes of the optical fiber communication indicator light, and combining the servo motor to drive the guide rail and slider, non-contact monitoring of the optical fiber communication status can be achieved, and optical fiber faults can be automatically identified.

Benefits of technology

It enables timely discovery of fiber optic communication faults, improves the accuracy and real-time performance of operation and maintenance, completely replaces manual inspections, and does not require changes to existing equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120825224A_ABST
    Figure CN120825224A_ABST
Patent Text Reader

Abstract

The invention provides a transformer substation communication cabinet optical fiber fault monitoring device and method, and the device comprises a camera module which is used for carrying out the shooting of an indicating lamp, obtaining an indicating lamp image, and recognizing the color and flicker frequency of the indicating lamp; the microprocessor module is used for judging whether the corresponding optical fiber operates normally or not according to the identified color and flicker frequency of the indicator lamp; the guide rail is configured along the indicating lamp, and the camera module is slidably installed on a sliding block of the guide rail; and the microprocessor module drives the servo motor to act through the servo motor driving module, controls the sliding block of the guide rail to move, and further drives the camera module to move. Whether the optical fiber communication breaks down or not is accurately judged by monitoring changes of the color and the flicker frequency of the indicator lamp, the scheme is simple, no device needs to be implanted into original equipment, whether the optical fiber communication breaks down or not is directly judged according to the flicker frequency of the indicator lamp, manual inspection is completely replaced, real-time performance is good, and detection precision is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fault detection, and in particular to a device and method for monitoring optical fiber faults in a communication cabinet of a transformer substation. Background Art

[0002] Currently, the operation and maintenance of substation communication cabinets faces multiple challenges that need to be addressed. These problems not only affect operation and maintenance efficiency, but also pose a potential threat to power supply security: First, the problem of monitoring blind spots is prominent. Because a large number of cabinet devices lack network management monitoring capabilities, their operating status cannot be captured and monitored in real time. This directly makes it difficult to detect potential faults in a timely manner, often lagging behind the actual occurrence of the fault, and thus poses a hidden danger to the stable operation of the power supply system.

[0003] Second, equipment diversity exacerbates O&M challenges. The power communications sector involves numerous cabinet types, including power supplies, transmission systems, and wireless private networks. These cabinets are complex and feature diverse panel designs. Under the current O&M model, manual inspections are the primary means of completing these tasks. This not only places a heavy workload on O&M personnel but also makes it prone to misjudgments and missed calls due to human error, impacting the accuracy and reliability of O&M.

[0004] Third, refined O&M encountered a bottleneck. Existing monitoring systems can only monitor the overall environment of the equipment room, but lack the ability to accurately sense the temperature and humidity of individual cabinets. This limitation makes it impossible to implement refined O&M for communications cabinets, making it difficult to meet high O&M standards. Summary of the Invention

[0005] In order to overcome the above shortcomings, the present invention provides a fiber optic fault monitoring device and a monitoring method for a substation communication cabinet, which monitors the working status of the fiber optic communication indicator light by monitoring the color and flashing frequency changes, which is simple and convenient.

[0006] The technical solution provided by the present invention is: In one aspect, the present invention provides a fiber optic fault monitoring device for a substation communication cabinet, wherein the substation communication cabinet is equipped with a device board, and the device board is equipped with an indicator light for indicating the operating status of the optical fiber. The fault monitoring device includes: The camera module is used to capture an image of the indicator light and process the image of the indicator light to identify the color and flashing frequency of the indicator light; a microprocessor module connected to the camera module and configured to determine whether the corresponding optical fiber is operating normally according to the color of the indicator light recognized by the camera module; A guide rail is arranged along the indicator lights on the surface of the device board, and the camera module is slidably mounted on a slider of the guide rail; a servo motor connected to the guide rail; The servo motor driving module is connected to the servo motor and the microprocessor module respectively. The microprocessor module drives the servo motor to move through the servo motor driving module, controls the movement of the slider of the guide rail, and further drives the camera module to move.

[0007] In another aspect, the present invention provides a method for monitoring optical fiber faults in a substation communication cabinet. The substation communication cabinet is equipped with a device board, and the device board is equipped with an indicator light for indicating the operating status of the optical fiber. The fault monitoring method includes: The microprocessor module drives the servo motor through the servo motor drive module to control the movement of the slider of the guide rail, thereby driving the camera module to move to a specified position; the guide rail is configured along the indicator light on the surface of the device board, and the camera module is slidably installed on the slider of the guide rail; The microprocessor module controls the camera module to turn on and shoot the indicator light to obtain an image of the indicator light; The camera module processes the acquired indicator light image to identify the color and flashing frequency of the indicator light; The microprocessor module determines whether the corresponding optical fiber is operating normally according to the color of the indicator light recognized by the camera module.

[0008] The present invention provides a fiber optic fault monitoring device and method for substation communication cabinets, achieving its objectives through a non-contact approach based on visual technology. This approach accurately determines whether a fiber optic communication fault has occurred by monitoring the color and flashing frequency of the fiber optic communication indicator light. This method is of vital practical significance for promptly detecting fiber optic communication faults in substations and effectively ensuring power supply security. The solution is simple, highly accurate, and does not require any internal device implantation. It can directly determine whether a fiber optic communication fault has occurred based on the color or flashing frequency of the indicator light, completely replacing manual inspections and delivering excellent real-time performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 This is a structural diagram of an embodiment of a device for monitoring optical fiber faults in a communication cabinet in a substation according to the present invention; Figure 2 This is a structural diagram of an embodiment of a camera module in the present invention; Figure 3 This is a structural diagram of another embodiment of the camera module in the present invention; Figure 4 This is a schematic structural diagram of an embodiment of a microprocessor module in the present invention; Figure 5 This is a flow chart of an embodiment of a method for monitoring optical fiber faults in a communication cabinet of a substation according to the present invention; Figure 6This is a flowchart of the processing of the indicator light flashing frequency in the present invention.

[0010] Reference numerals: 100-fault monitoring device, 110-camera module, 111-image acquisition unit, 112-image preprocessing unit, 113-binary image generation unit, 114-contour detection and screening unit, 115-indicator light positioning and recognition unit, 116-contour area calculation unit; 117-storage unit; 118-flicker frequency calculation unit, 120-microprocessor module, 121-camera position acquisition unit, 122-first judgment unit, 123-servo motor control unit, 124-camera opening unit, 130-servo motor, 140-servo motor drive module, 150-guide rail. DETAILED DESCRIPTION

[0011] In order to more clearly illustrate the implementation cases of the present invention or the technical solutions in the prior art, the specific embodiments of the present invention will be described below with reference to the accompanying drawings. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings and other embodiments can be obtained based on these drawings without inventive work.

[0012] An embodiment of the present invention is a substation communication cabinet optical fiber fault monitoring device 100, such as Figure 1 Shown, including: The camera module 110 is used to capture an image of the indicator light and process the image to identify the color and flashing frequency of the indicator light; The microprocessor module 120 is connected to the camera module 110 and is used to determine whether the corresponding optical fiber is operating normally according to the color of the indicator light recognized by the camera module 110; The guide rail 150 is configured along the indicator lights on the surface of the device board, and the camera module 110 is slidably mounted on the slider of the guide rail 150; The servo motor 130 is connected to the guide rail 150; The servo motor driving module 140 is connected to the servo motor 130 and the output I / O port of the microprocessor module 120 respectively. The microprocessor module 120 drives the servo motor 130 to move through the servo motor driving module 140, controls the movement of the slider of the guide rail 150, and then drives the camera module 110 to move.

[0013] The equipment boards in the substation's communications cabinets are densely packed with indicators that indicate the operating status of different optical fibers. Each fiber is assigned a fiber unit number, and each unit number is associated with at least one indicator. Generally speaking, a green indicator indicates normal operation of the corresponding fiber; a red indicator indicates an abnormal operation, such as a broken fiber or other fault.

[0014] In order to detect different indicator lights, each indicator light needs to be accurately positioned. In this embodiment, the camera module 110 is configured on the slider of the guide rail 150, and the servo motor 130 controls the movement of the slider, thereby accurately controlling the camera module 110 to obtain the image of the corresponding indicator light.

[0015] Regarding the specific selection of the guide rail 150, any conventional guide rail 150 that can achieve the purpose of the invention can be used, such as a ball screw type guide rail, in which the servo motor 130 drives the screw to rotate and thereby drives the slider to move left and right, and the camera module 110 is mounted on the slider and moves accordingly. In other embodiments, other forms of guide rails can be used. The servo motor 130 can be a servo motor such as the ASD-B3-0421-M model, whose operating voltage is 4.5-6VDC; it can be driven by the SN74LVC2G241 model servo motor driver module, whose operating voltage is 5VDC, to achieve precise positioning of the indicator light.

[0016] like Figure 2 As shown, the camera module 110 includes: An image acquisition unit 111 is configured to continuously acquire images of the indicator light based on a preset sampling frequency; The image preprocessing unit 112 is used to perform color space conversion on the acquired indicator light image to separate the brightness information and color information of the indicator light image; A binary image generating unit 113, configured to generate a binary image based on a pre-configured color threshold; The contour detection and screening unit 114 is used to screen out the area corresponding to the contour of the indicator light based on the generated binary image; The indicator light positioning and identification unit 115 is used to locate the indicator light according to the coordinate information of the area where the indicator light outline is located, and to determine the color of the indicator light according to the pixel information of the outline area.

[0017] In the camera module 110, the image acquisition unit 111 captures the original indicator light image (RGB image). The image preprocessing unit 112 first scales the indicator light (e.g., LED light) image to reduce the image resolution and reduce the amount of subsequent computation. Because the LAB / LCh color space combines brightness (L) and color information (A / B or C / h), it is more robust to lighting changes and generally performs better than direct processing in the RGB color space. The reduced-resolution indicator light image then undergoes color space conversion, converting the RGB color space to the LAB / LCh color space.

[0018] Based on the color threshold set in the LAB color space, the binary image generation unit 113 adapts to changes in ambient lighting by continuously adjusting the range of the color threshold, ensuring that the indicator light can be well segmented under different brightness levels, thereby generating a binary image that meets the requirements and completing color segmentation and brightness detection.

[0019] Based on the generated binary image, the contour detection and screening unit 114 uses functions such as find_blobs or find_contours to search for the contours of all white areas, obtaining candidate areas for indicator light contours. The detected contours are the result of color + brightness segmentation and morphological cleaning. Each contour theoretically corresponds to a candidate indicator light area (which may also contain a small amount of residual noise or reflective points). Based on this, the detected candidate contours are traversed and their features (area, aspect ratio / circularity, circumscribed rectangle / minimum circumscribed circle, etc.) are calculated to screen the contours most likely to be indicator lights (ROI regions) based on the specified area range and shape requirements. In other embodiments, to improve detection accuracy, the binary image can also be subjected to morphological optimization, including erosion (removing small noise points) and dilation (connecting adjacent pixels belonging to the same LED). In applications, erosion can be performed first, followed by dilation (opening operation) for noise removal, or dilation can be performed first, followed by erosion (closing operation) to fill holes and connect adjacent areas, making the white spots corresponding to the indicator lights cleaner, more complete, and more isolated.

[0020] Finally, the indicator light positioning and identification unit 115 locates the remaining contours after screening, locates them by calculating the center point coordinates or bounding box coordinates of the contour, extracts the pixel color information within the contour area and calculates the average color or main color of the area, and determines whether the indicator light is red or green based on whether the average color falls within the previously set "red threshold" or "green threshold" range.

[0021] like Figure 3As shown, the camera module also includes: a contour area calculation unit 116, which is used to calculate the average brightness of the indicator light contour area determined by the indicator light positioning and recognition unit or count the number of pixels in the indicator light contour area that meet the indicator light color threshold; a storage unit 117, which is connected to the contour area calculation unit 116, and is used to store the average brightness of the indicator light contour area in the indicator light image collected within a preset time period or the number of pixels that meet the indicator light color threshold in the same array, and obtain a brightness signal waveform or a pixel number change waveform that changes with time; a flicker frequency calculation unit 118, which is connected to the storage unit 117, and is used to traverse the stored array based on a preset brightness threshold or pixel number threshold, obtain the rising edge moment from below the brightness threshold or pixel number threshold to above the brightness threshold or pixel number threshold in the array, calculate the time difference between two consecutive rising edge moments and average them to obtain an average value, and then obtain the flicker frequency of the indicator light according to the average value.

[0022] To calculate the flashing frequency of the indicator light, the servo motor is used to precisely move the camera module to the front of the target indicator light. The color threshold and contour detection algorithms within the camera module are then used to select the outline of the indicator light in the image. After successful positioning, the coordinates and size of this ROI are fixed, and the pixels within this ROI are subsequently analyzed.

[0023] In order to achieve continuous sampling, a sampling period (such as 2s, 3s, etc.) is pre-configured, and then the indicator light image is continuously sampled at the highest frame rate that the camera module can achieve (such as 30FPS). Then, the contour area calculation unit 116 calculates the average brightness of the indicator light contour area (ROI) in each indicator light image or calculates the number of pixels that meet the indicator light color threshold (such as the green light is constantly flashing). The average brightness of the indicator light contour area in the indicator light image collected within a preset time period (such as 2 minutes, 5 minutes, etc.) or the number of pixels that meet the indicator light color threshold are stored in the same array to form a brightness signal waveform or pixel number change waveform that changes with time. The flicker frequency calculation unit 118 traverses the brightness signal array or pixel number array according to the set brightness threshold or pixel number threshold, and records the rising edge moment of each signal in the array from below the brightness threshold or pixel number threshold to above the brightness threshold or pixel number threshold. Calculate the time difference between two consecutive rising edges and calculate the average value. , the reciprocal of which is the flashing frequency By detecting the flickering frequency, if the real-time detected frequency differs significantly from the frequency detected previously, the indicator light is flashing abnormally, indicating a fiber optic communication failure. Alternatively, if the calculated flickering frequency exceeds the preset flickering frequency threshold, a fiber optic failure is determined. The brightness threshold or pixel count threshold can be adjusted based on actual conditions.

[0024] In practical applications, the camera module can use an OpenMV camera to achieve the purpose. It can directly scan the indicator light, obtain the color change status of the indicator light of the communication cabinet equipment board, and then identify whether the optical fiber is in operation or in a fault state, and accurately judge the operation status of the communication cabinet equipment board. The OpenMV camera comes standard with the MT9M114 sensor, a high-performance, low-power CMOS image sensor from ON Semiconductor. It's designed for embedded vision applications such as machine vision, drones, smart homes, and security surveillance. The MT9M114 offers 720p HD (1280×720) resolution and supports up to 60fps output, making it suitable for real-time image processing. It supports multiple output formats, including YUV, RGB, and RAW Bayer, for flexible integration.

[0025] Each pixel in the MT9M114 is composed of a photodiode, with a 3μm pixel size (back-illuminated or front-illuminated). When light enters the sensor through the lens, photons strike the photodiode, generating electron-hole pairs (photoelectric effect). During the exposure time, the amount of charge accumulated in the photodiode is proportional to the incident light intensity, forming an analog electrical signal. This charge in each pixel is converted to a voltage signal via a floating diffusion (FD). The analog voltage signal is then converted to a digital signal (typically with 10-bit or 12-bit resolution) using the on-chip ADC.

[0026] During this process, we select appropriate image processing algorithms to reduce computation time. We also leverage the OpenMV camera's hardware strengths and rationally allocate its resources, such as adjusting image resolution and frame rate, to achieve optimal real-time performance. Furthermore, external hardware assistance, such as adding fill lights and improving lighting conditions, can further enhance recognition accuracy and real-time performance.

[0027] The microprocessor module combines efficient computing and precise control capabilities. It can implement complex logical judgments and data processing through programming, and can respond to external events in real time with the help of built-in timers, interrupt controllers and other components, meeting the real-time requirements of scenarios such as industrial control and intelligent devices. Its highly integrated design integrates the microprocessor core, memory, various interfaces and control unit into one, forming a fully functional micro-computing unit. Its internal structure not only contains a processor core responsible for instruction execution and data calculation (such as ARM Cortex, RISC-V and other architectures), but also integrates storage modules such as Flash and RAM, as well as a rich set of peripheral interfaces such as GPIO, UART, I2C, SPI, etc., which can directly interact with external devices. In this embodiment, the specific model of the microprocessor module can be selected according to actual conditions. For example, an STM32 microprocessor chip can be selected, as long as it can achieve the purpose of the invention.

[0028] like Figure 4 As shown, the microprocessor module 120 includes: A camera position acquisition unit 121 is used to determine the position of the camera; The first judgment unit 122 is used to judge whether the camera module 110 has reached the position of the indicator light corresponding to the specified optical fiber machine number; The servo motor control unit 123 drives the servo motor 130 through the servo motor driving module 140 to move the slider of the guide rail 150, thereby driving the camera module 110 to move to the corresponding position if the first judgment unit 122 determines that the camera module 110 has not reached the indicator light position corresponding to the specified optical fiber machine number; The camera start unit 124 sends a command to control the camera module 110 to start shooting towards the indicator light to obtain an indicator light image if the first judgment unit 122 determines that the camera module 110 has reached the indicator light position corresponding to the specified optical fiber machine number.

[0029] The microprocessor module 120 also includes: A monitoring machine number acquisition unit, used to obtain the optical fiber machine number to be monitored for faults; The indicator light determination unit is used to determine the corresponding indicator lights to be monitored according to the optical fiber machine number to be monitored for faults and perform monitoring sequence; the servo motor control unit 123 controls the servo motor 130 to operate in sequence according to the monitoring sequence; The second judgment unit is used to judge whether the indicator lights corresponding to all optical fiber machine numbers have been monitored; The data sending unit will send the data to the data management center if the second judgment unit determines that the monitoring is completed.

[0030] During operation, the position of the servo motor 130 is determined by the camera position acquisition unit 121 to drive the position of the camera module 110, ensuring that the camera and the corresponding indicator light are accurately aligned. If the conditions are not met, the servo motor 130 is controlled to reach the specified optical fiber machine number position. If the requirements are met, the camera is turned on to detect the color of the indicator light corresponding to the optical fiber machine number, and the detection results are recorded. Then, according to the instructions of the microprocessor module 120, the servo motor 130 is used to move the camera to the next detection position. The detection is cyclically carried out, that is, until a row of optical fibers is detected. After the detection is completed, the detection results are sent to the background data management center. In another embodiment, the fault monitoring device 100 is also configured with a display module connected to the output I / O port of the microprocessor module 120 to display the monitoring data in real time. The display module can be a TFT liquid crystal display, etc., as long as it can achieve the display purpose, it is not specifically limited here. The optical fiber machine number to be monitored can be set through the display module. After the microprocessor module 120 receives the detection command, it compares and monitors the position displayed by the servo motor 130 with the set optical fiber machine number position information.

[0031] To enable external communication between the microprocessor module 120 and the fault monitoring device 100, a communication module is also configured in the fault monitoring device 100, which is connected to the communication interface corresponding to the output terminal of the microprocessor module 120. In one embodiment, the communication module adopts the RS485 communication module, which is widely used in many fields such as industrial control, instrumentation, and mechatronics products. It is usually transmitted in a twisted pair cable, with a standard number of 32 nodes, a maximum communication distance of 1200m, a receiver differential input range of -7V to +12V, and a receiver input sensitivity of ±200Mv. RS485 adopts a differential transmission method using a two-wire A and B data transmission method. The output logic level is determined by calculating the voltage difference between the A and B lines. The voltages at the differential input terminals are denoted as VA and VB, respectively. When the difference between VA and VB is greater than or equal to 0.2V, it indicates an output logic level of 1; when the difference between VA and VB is less than 0.2V, it indicates an output logic level of 0. RS485 uses twisted-pair transmission with a maximum transmission rate of 10 Mbps and a 120Ω impedance. Therefore, a 120Ω matching resistor is added to the output end of the design to ensure system transmission stability and eliminate reflected signals. The online fault monitoring device 100 for high-voltage circuit breaker mechanical characteristics typically operates in a strong and complex electromagnetic field environment and generally uses transient suppression diodes to protect the circuit.

[0032] To synchronize the clock, this embodiment also includes a clock module connected to the microprocessor's I / O port. In one example, a DS1302 clock chip is used. Its normal operating voltage range is 2.5-5.5V. The main power supply, VCC2, is supplied by the 3.3V system power supply, and a 3.3V button battery serves as the backup power supply, VCC1. This allows the module to continue functioning even when the circuit board's main power supply is disconnected. Communication between the DS1302 and microprocessor module 120 is via I2C, and a 32.768kHz external crystal oscillator is used.

[0033] To power each module, this embodiment also includes a power supply module. In one example, a 9V alkaline battery is used, along with low-voltage linear power supply regulators LM2940-5 and LM1117-3.3. Specifically, the LM2940-5 steps down the 9V power supply to 5V for the servo motor driver module 140, and the LM1117-3.3 stabilizes the voltage to 3.3V for the microprocessor module 120.

[0034] In another embodiment, a left limit switch module and a right limit switch module are respectively configured on both sides of the guide rail 150 and connected to the input I / O port of the microprocessor module 120 to prevent the camera module 110 from sliding off the guide rail 150 .

[0035] The optical fiber fault monitoring device 100 for a substation communication cabinet of the present invention fixes a camera module 110 on a slider of a guide rail 150, and a servo motor 130 drives the slider to move on the guide rail 150, so that the camera corresponds to the indicator light one by one, and automatically identifies the optical fiber communication fault status in a non-contact manner, completely replacing manual inspections, without making any changes to the original equipment, and can be installed during operation.

[0036] Another embodiment of the present invention is a method for monitoring optical fiber faults in a communication cabinet of a substation, such as Figure 5 Shown, including: The S10 microprocessor module drives the servo motor through the servo motor driver module, controlling the movement of the slider on the guide rail, which in turn drives the camera module to the specified position. The guide rail is configured along the indicator light on the surface of the device board, and the camera module is slidably installed on the slider on the guide rail. The S20 microprocessor module controls the camera module to turn on and shoot the indicator light to obtain an image of the indicator light; The S30 camera module processes the acquired indicator light image to identify the indicator light's color and flashing frequency; The S40 microprocessor module determines whether the corresponding optical fiber is operating normally based on the indicator light color and flashing frequency recognized by the camera module.

[0037] The equipment boards in the substation's communications cabinets are densely packed with indicators that indicate the operating status of different optical fibers. Each fiber is assigned a fiber unit number, and each unit number is associated with at least one indicator. Generally speaking, a green indicator indicates normal operation of the corresponding fiber; a red indicator indicates an abnormal operation, such as a broken fiber or other fault.

[0038] In order to detect different indicator lights, each indicator light needs to be accurately positioned. In this embodiment, a camera module is configured on the slider of the guide rail, and the movement of the slider is controlled by a servo motor, thereby accurately controlling the camera module to obtain the image of the corresponding indicator light.

[0039] Step S30 specifically includes: First, capture the original indicator light image (RGB image); Afterwards, the indicator light (such as LED light) image is scaled to reduce the image resolution to reduce the subsequent calculation amount; since the LAB / LCh color space combines brightness (L) and color information (A / B or C / h), it is more robust to lighting changes and usually has better results than directly processing in the RGB color space. Therefore, the indicator light image with reduced resolution is converted to a color space, converting the RGB color space to the LAB / LCh color space.

[0040] Next, based on the color threshold set in the LAB color space, the range of the color threshold is continuously adjusted to adapt to changes in ambient lighting, ensuring that the indicator light can be well segmented under different brightness levels, thereby generating a binary image that meets the requirements and completing color segmentation and brightness detection.

[0041] Next, based on the generated binary image, functions such as find_blobs or find_contours are used to find the outlines of all white areas, obtaining candidate areas for indicator light outlines. The detected outlines are the result of color + brightness segmentation and morphological cleaning. Each outline theoretically corresponds to a candidate indicator light area (which may also contain a small amount of residual noise or reflective points). Based on this, the detected candidate outlines are traversed and their features (area, aspect ratio / circularity, circumscribed rectangle / minimum circumscribed circle, etc.) are calculated to select the outline most likely to be the indicator light based on the specified area range and shape requirements. In other embodiments, to improve detection accuracy, the binary image can also be subjected to morphological optimization, including erosion (removing small noise points) and dilation (connecting adjacent pixels belonging to the same LED). In applications, erosion can be performed first, followed by dilation (opening operation) for denoising, or dilation can be performed first, followed by erosion (closing operation) to fill in holes and connect adjacent areas, making the white spots corresponding to the indicator lights cleaner, more complete, and more isolated.

[0042] Finally, the remaining contours after screening are located by calculating the center point coordinates or bounding box coordinates of the contour, extracting the pixel color information within the contour area and calculating the average color or main color of the area. Depending on whether the average color falls within the previously set "red threshold" or "green threshold" range, it is determined whether the indicator light is red or green.

[0043] The processing flow of indicator light flashing frequency is as follows Figure 6 As shown in the figure, after using the servo motor to accurately move the camera module to the front of the target indicator light, the color threshold and contour detection of the camera module's internal algorithm are used to select the outline area of ​​the indicator light in the picture. After successful positioning, the coordinates and size of this ROI are fixed, and the pixels within this ROI are subsequently analyzed.

[0044] To achieve continuous sampling, pre-configure the sampling period (such as 2s, 3s, etc.), and then continuously sample the indicator light image at the highest frame rate that the camera module can achieve (such as 30FPS). Then, based on the indicator light contour area (ROI) in each indicator light image, calculate its average brightness or calculate the number of pixels that meet the indicator light color threshold (such as the green light keeps flashing). The average brightness of the indicator light contour area in the indicator light image collected within a preset time period (such as 2min, 5min, etc.) or the number of pixels that meet the indicator light color threshold are stored in the same array to form a brightness signal waveform or pixel number change waveform that changes with time. Afterwards, traverse the brightness signal array or pixel number array according to the set brightness threshold or pixel number threshold, and record the rising edge moment of each signal in the array from below the brightness threshold or pixel number threshold to above the brightness threshold or pixel number threshold. Calculate the time difference between two consecutive rising edges and calculate the average value. , the reciprocal of which is the flashing frequency . Through the detection of the above-mentioned flashing frequency, if the frequency detected in real time is significantly different from the frequency detected in the previous times (such as the normal flashing frequency of 10 times per second becomes less than or more than 10 times per second), it indicates that the indicator light is flashing abnormally, and thus indicates that the optical fiber communication has failed; or the calculated flashing frequency is greater than the preset flashing frequency threshold (which can be determined based on the normal flashing frequency of the indicator light), it is judged that the optical fiber has failed. The setting of the brightness threshold or the pixel number threshold can be adjusted according to the actual situation. If the overall waveform changes show regular changes, in theory, it can be set to any value between the peaks and troughs / adjacent peaks / adjacent troughs in the waveform.

[0045] There is no specific limitation on the selection of each module, as long as the purpose of the invention can be achieved.

[0046] Specifically, step S10 in which the microprocessor module drives the servo motor via the servo motor driving module to control the movement of the slider of the guide rail, thereby driving the camera module to move to a designated position, includes: S11 determines the position of the camera; S12 determines whether the camera module has reached the indicator light position corresponding to the specified optical fiber machine number; S13: If it is determined that the camera module has not reached the indicator light position corresponding to the specified optical fiber machine number, the servo motor driving module drives the servo motor to move, controls the movement of the slider of the guide rail, and then drives the camera module to move to the corresponding position.

[0047] The fault monitoring method also includes: S50 obtains the optical fiber machine number to be monitored for faults; S60 determines the corresponding indicator lights to be monitored according to the optical fiber machine number to be monitored for faults and performs monitoring sequence; and controls the servo motors to operate in sequence according to the monitoring sequence; S70 determines whether the indicator lights corresponding to all optical fiber machine numbers have been monitored; If S80 determines that the monitoring is completed, it will be sent to the data management center.

[0048] During operation, the position of the camera module is driven by the position of the servo motor to ensure that the camera and the corresponding indicator light are accurately aligned. If the conditions are not met, the servo motor is controlled to reach the position of the specified optical fiber machine number. If the requirements are met, the camera is turned on to detect the color of the indicator light corresponding to the optical fiber machine number, the detection results are recorded, and then the camera is moved to the next detection position by the servo motor according to the instructions of the microprocessor module. The detection is cyclical in this way, that is, until a row of optical fibers is detected. After the detection is completed, the detection results are sent to the background data management center. In another embodiment, the fault monitoring device is also configured with a display module connected to the I / O port of the output end of the microprocessor module to display the monitoring data in real time. The display module can be a TFT liquid crystal display, etc., as long as it can achieve the display purpose, it is not specifically limited here. The optical fiber machine number that needs to be monitored can be set through the display module. After the microprocessor module receives the detection command, it compares and monitors the position displayed by the servo motor with the set optical fiber machine number position information.

[0049] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred embodiments of the present invention. It should be noted that those skilled in the art can make several improvements and modifications without departing from the principles of the present invention, and such improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A fiber optic fault monitoring device for a communication cabinet in a substation, characterized in that: The substation communication cabinet is equipped with a device board, and the device board is equipped with an indicator light for indicating the operation status of the optical fiber. The fault monitoring device includes: The camera module is used to shoot the indicator light to obtain an image of the indicator light, and process the image of the indicator light to identify the color and flashing frequency of the indicator light and the flashing frequency of the indicator light; a microprocessor module connected to the camera module, and configured to determine whether the corresponding optical fiber is operating normally according to the color and flashing frequency of the indicator light recognized by the camera module; A guide rail is arranged along the indicator lights on the surface of the device board, and the camera module is slidably mounted on a slider of the guide rail; a servo motor connected to the guide rail; The servo motor driving module is connected to the servo motor and the microprocessor module respectively. The microprocessor module drives the servo motor to move through the servo motor driving module, controls the movement of the slider of the guide rail, and further drives the camera module to move.

2. The fault monitoring device according to claim 1, characterized in that: The camera module includes: An image acquisition unit, configured to continuously acquire images of the indicator light based on a preset sampling frequency; An image preprocessing unit is used to perform color space conversion on the acquired indicator light image and separate the brightness information and color information of the indicator light image; A binary image generating unit, configured to generate a binary image based on a pre-configured color threshold; A contour detection and screening unit, configured to screen out an area corresponding to the contour of the indicator light based on the generated binary image; The indicator light positioning and identification unit is used to locate the indicator light based on the coordinate information of the area where the indicator light outline is located, and to determine the color of the indicator light based on the pixel information of the outline area.

3. The fault monitoring device according to claim 2, characterized in that: In the contour detection and screening unit, based on the binary image generated by the binary image generation unit, a search function is used to find the contours of all white areas to obtain candidate areas of the indicator light contour; the contour features of each candidate area are calculated and compared to determine the area corresponding to the indicator light contour.

4. The fault monitoring device according to claim 2, characterized in that: The camera module also includes: a contour area calculation unit, configured to calculate the average brightness of the indicator light contour area determined by the indicator light positioning and recognition unit or to count the number of pixels in the indicator light contour area that meet the indicator light color threshold; a storage unit connected to the contour area calculation unit, configured to store the average brightness of the indicator light contour area or the number of pixels meeting the indicator light color threshold in the indicator light image collected within a preset time period in the same array, and obtain a brightness signal waveform or a pixel number change waveform that varies with time; A flicker frequency calculation unit is connected to the storage unit and is used to traverse the stored array based on a preset brightness threshold or pixel number threshold, obtain the rising edge moment from below the brightness threshold or pixel number threshold to above the brightness threshold or pixel number threshold in the array, calculate the time difference between two consecutive rising edge moments and average them to obtain an average value, and then obtain the flicker frequency of the indicator light based on the average value.

5. The fault monitoring device according to any one of claims 1 to 4, characterized in that: The camera module is a small camera, and the indicator light image captured includes an indicator light.

6. The fault monitoring device according to any one of claims 1 to 4, characterized in that: The microprocessor module includes: A camera position acquisition unit, used to determine the position of the camera; The first judgment unit is used to judge whether the camera module has reached the indicator light position corresponding to the specified optical fiber machine number; The servo motor control unit drives the servo motor through the servo motor driving module to move the slider of the guide rail, thereby driving the camera module to move to the corresponding position if the first judgment unit determines that the camera module has not reached the indicator light position corresponding to the specified optical fiber machine number; The camera start unit sends a command to control the camera module to start shooting towards the indicator light to obtain an indicator light image if the first judgment unit determines that the camera module has reached the indicator light position corresponding to the specified optical fiber machine number.

7. The fault monitoring device according to claim 6, characterized in that: The microprocessor module further comprises: A monitoring machine number acquisition unit, used to obtain the optical fiber machine number to be monitored for faults; The indicator light determination unit is used to determine the corresponding indicator lights to be monitored according to the optical fiber machine number to be monitored for faults and perform monitoring sequence; the servo motor control unit controls the servo motor actions in sequence according to the monitoring sequence; The second judgment unit is used to judge whether the indicator lights corresponding to all optical fiber machine numbers have been monitored; The data sending unit sends the monitoring data to the data management center if the second judgment unit determines that the monitoring is completed.

8. A method for monitoring optical fiber faults in a communication cabinet of a substation, characterized in that: The substation communication cabinet is equipped with a device board, and the device board is equipped with an indicator light for indicating the operation status of the optical fiber. The fault monitoring method includes: The microprocessor module drives the servo motor through the servo motor drive module to control the movement of the slider of the guide rail, thereby driving the camera module to move to a specified position; the guide rail is configured along the indicator light on the surface of the device board, and the camera module is slidably installed on the slider of the guide rail; The microprocessor module controls the camera module to turn on and shoot the indicator light to obtain an image of the indicator light; The camera module processes the acquired indicator light image to identify the color and flashing frequency of the indicator light; The microprocessor module determines whether the corresponding optical fiber is operating normally according to the color of the indicator light recognized by the camera module.

9. The fault monitoring method according to claim 8, wherein: The microprocessor module drives the servo motor through the servo motor drive module to control the movement of the slider of the guide rail, thereby driving the camera module to move to the specified position, including: Determine the camera's location; Determine whether the camera module has reached the indicator light position corresponding to the specified optical fiber machine number; If it is determined that the camera module has not reached the indicator light position corresponding to the specified optical fiber machine number, the servo motor drive module drives the servo motor to move, controls the movement of the slider of the guide rail, and then drives the camera module to move to the corresponding position.

10. The fault monitoring method according to claim 9, wherein: The fault monitoring method further includes: Obtain the fiber machine number to be monitored for faults; Determine the corresponding indicator lights to be monitored according to the optical fiber machine number to be monitored for faults and perform monitoring sorting; and control the servo motor actions in sequence according to the monitoring sorting; Determine whether the indicator lights corresponding to all optical fiber machine numbers have been monitored; If it is determined that the monitoring is completed, the monitoring data will be sent to the data management center.

Citation Information

Patent Citations

  • Standard cabinet state indicating lamp identification monitoring method, device and system

    CN112926483A

  • Switch cabinet state intelligent identification system and method based on image identification

    CN115294352A

  • Equipment fault detection method based on indicator light flicker detection

    CN120339257A

  • Method and device for detecting a state of signal indicator light, and storage medium

    US20210150232A1