Condition monitoring device and condition monitoring program
The status monitoring device accurately detects lamp status by using color coordinate calculations and ambient light adjustments to reduce false alarms, enhancing equipment monitoring accuracy.
Patent Information
- Application Number
- JP2024093457
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-07-15
- Filing Date
- 2024-06-10
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2042-07-14
AI Technical Summary
Existing equipment status monitoring devices inaccurately detect lamp status due to the influence of external lighting environments, leading to false alarms.
A status monitoring device and program that utilizes an optical sensor unit to detect the color of a lamp, calculates color coordinates, and compares them to stored reference coordinates, while accounting for ambient light, to accurately determine if a lamp is lit or blinking.
The device accurately detects lamp status by minimizing the influence of external lighting, ensuring precise monitoring of medical equipment conditions.
Smart Images

Figure 0007752393000001 
Figure 0007752393000002 
Figure 0007752393000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a status monitoring device and a status monitoring program that detects whether a lamp is lit or blinking and accurately monitors the status of a device. [Background technology]
[0002] Conventionally, when medical devices used in medical settings, such as ventilators and pulse oximeters, detect an abnormality in a patient, they often notify the patient of the abnormality by lighting or flashing a lamp.
[0003] In order to provide better medical services to patients, it is preferable to be able to notify the patient's family, medical staff, and others of the lamp status not only around the medical device but also at a location away from the medical device.
[0004] Patent document 1 discloses an equipment status monitoring device that includes an optical sensor unit 4 that is placed near a lamp L that indicates the status of medical equipment E when lit and detects the lighting of the lamp L, an attachment unit 2 that attaches the optical sensor unit 4 to the medical equipment E, and a wireless transmission unit 6 that transmits a detection signal S of the optical sensor unit 4 to an equipment status monitoring terminal 102. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Japanese Patent Application Publication No. 2019-219902 Summary of the Invention [Problem to be solved by the invention]
[0006] However, the equipment status monitoring device described in Patent Document 1 detects the lighting of lamp L without taking into account the color of the lamp, so there is a possibility that there will be many false detections due to the influence of the external environment in which medical equipment E is installed.
[0007] For example, in hospital wards where medical equipment is installed, other lighting fixtures may be used. In this case, even if the lamp on the medical equipment is red and the light emitted by the lighting fixture has a high blue (B) light component, there is a possibility that the light emitted by the lighting fixture will be detected and mistakenly detected as the lamp on the medical equipment being lit.
[0008] The present invention has been made in consideration of the above problems, and aims to provide a status monitoring device and a status monitoring program that accurately detect whether a lamp is lit or blinking and appropriately monitor the status of a device. [Means for solving the problem]
[0009] In order to achieve the above object, a first feature of the status monitoring device according to the present invention is: an optical sensor unit disposed near a lamp that indicates the state of the device by lighting or blinking, and that detects the color of the light when the lamp is lit; a storage unit that stores coordinates in a color space of the color of the lamp as reference color coordinates; a calculation unit that calculates coordinates in the color space of the lighting color detected by the optical sensor unit as detected color coordinates; a determination unit that determines whether or not a distance between the detected color coordinates calculated by the calculation unit in the color space and the stored reference color coordinates is equal to or less than a threshold value; a notification unit that notifies the device that an alarm has been issued when the determination unit determines that the value is equal to or less than the threshold value; The reason is that it is equipped with the following.
[0010] A second feature of the condition monitoring device according to the present invention is that the storage unit further stores coordinates in a color space of ambient light around the optical sensor unit as ambient light color coordinates; The calculation unit calculates, as the detected color coordinates, differences between coordinates in the color space of the lighting color detected by the light sensor unit and ambient light color coordinates stored in the storage unit. The reason is that.
[0011] A third feature of the condition monitoring device according to the present invention is that the color space is an RGB color space, The calculation unit converts the color with the maximum value among the RGB values that are the calculated detected color coordinates to the maximum value in the RGB color space, and converts the remaining colors of the RGB at a conversion rate that converts them to the maximum value. The reason is that.
[0012] A fourth feature of the condition monitoring device according to the present invention is that the color space is an RGB color space, When the maximum value of the RGB values that are the calculated detection color coordinates is equal to or less than a value obtained by multiplying the maximum value of the RGB values that are the reference color coordinates by a predetermined ratio, the calculation unit sets the detection color coordinates as origin coordinates. The reason is that.
[0013] A fifth feature of the condition monitoring device according to the present invention is that The notification unit notifies that the device has issued an alarm when the determination unit determines that the value is equal to or less than the threshold value a predetermined number of times in succession. The reason is that.
[0014] A sixth feature of the condition monitoring device according to the present invention is that The notification unit notifies the device that it has stopped issuing alarms when the determination unit continues to determine that the threshold value is exceeded for a predetermined period of time after issuing the alarm. The reason is that.
[0015] A seventh feature of the condition monitoring device according to the present invention is that a fluctuation width calculation means for calculating an average value of the detected color coordinates for a predetermined number of times immediately adjacent to the alarm period as a detected color average value, calculating the maximum absolute value of the difference between the detected color coordinates for the predetermined number of times immediately adjacent to the detected color average value as a fluctuation width, and multiplying the detected color average value by a predetermined ratio as a fluctuation width threshold value; an ambient light updating unit that stores the detected color average value as the ambient light color coordinate in the storage unit when the fluctuation amount calculated by the fluctuation amount calculating unit is equal to or less than the fluctuation amount threshold value; The advantage is that it further features:
[0016] An eighth feature of the condition monitoring device according to the present invention is that The lighting color detected by the optical sensor unit includes an RGB value and an infrared intensity, The calculation unit calculates the detection color coordinates based on a value obtained by dividing the RGB value by the infrared intensity. The reason is that.
[0017] A ninth feature of the condition monitoring device according to the present invention is that The determination unit It is determined whether the distance between the detected color coordinates calculated by the calculation unit in the color space and the stored reference color coordinates is equal to or less than a threshold value which is the distance from the reference color coordinates to the surface of a spheroid when the major axis is taken on a line extending from the origin in the color space toward the reference color coordinates. The reason is that.
[0018] A tenth feature of the condition monitoring device according to the present invention is that The apparatus further includes a frequency conversion unit that converts the time axis of the blinking pattern of the lamp detected by the optical sensor unit into a frequency, The storage unit further stores a frequency-converted reference blinking pattern of the lamp, The notification unit When the determination unit determines that the frequency is equal to or less than the threshold value and the blinking pattern frequency-converted by the frequency conversion unit substantially matches the reference blinking pattern stored in the storage unit, the device notifies the user that an alarm has been issued. The reason is that.
[0019] In order to achieve the above object, a first feature of the status monitoring program according to the present invention is to: a storing step of storing, in a storage unit, coordinates in a color space of the color of a lamp that indicates the state of the device by lighting or blinking as reference color coordinates; a calculation step of calculating coordinates in the color space of the lighting color detected by an optical sensor unit disposed near the lamp as detected color coordinates; a determining step of determining whether or not a distance between the detected color coordinates calculated in the calculating step and the stored reference color coordinates in the color space is equal to or less than a threshold value; a notification step of notifying that the device has issued an alarm when it is determined in the determination step that the value is equal to or less than the threshold value; The goal is to have the computer execute it. [Effects of the Invention]
[0020] According to the status monitoring device and the status monitoring program of the present invention, it is possible to accurately detect whether a lamp is lit or blinking and appropriately monitor the status of the equipment. [Brief explanation of the drawings]
[0021] [Figure 1] 1 is a diagram illustrating a configuration of a status monitoring system according to a first embodiment of the present invention. [Figure 2] 3 is an explanatory diagram for schematically explaining a determination process performed by a calculation unit and a determination unit of the state monitoring system according to the first embodiment of the present invention. FIG. [Figure 3] 3 is a flowchart showing the processing content of the status monitoring system according to the first embodiment of the present invention. [Figure 4] 10 is a flowchart showing the processing content of a status monitoring system according to a second embodiment of the present invention. [Figure 5] FIG. 10 is an explanatory diagram for schematically explaining a determination process by a determination unit of a status monitoring system according to a third embodiment of the present invention. [Figure 6] FIG. 10 is a diagram illustrating the configuration of a status monitoring system according to a fifth embodiment of the present invention. [Figure 7]10A and 10B are explanatory diagrams schematically illustrating the processing contents of a notification unit of a status monitoring system according to a fifth embodiment of the present invention. (a) is an example of a determination result (blinking pattern) by a determination unit that is the basis for generating a reference blinking pattern after frequency conversion stored in a storage unit, and (c) is an example of a determination result (blinking pattern) by the determination unit. (b) is a diagram in which the time axis of the determination result (reference blinking pattern) shown in (a) is converted into a frequency axis, and (d) is a diagram in which the time axis of the determination result (blinking pattern) shown in (c) is converted into a frequency axis. [Figure 8] 10 is a flowchart showing the processing content of a status monitoring system according to a fifth embodiment of the present invention. [Figure 9] FIG. 10 is a diagram illustrating the configuration of a status monitoring system according to a sixth embodiment of the present invention. [Figure 10] 10 is a flowchart showing the processing content of a status monitoring system according to a sixth embodiment of the present invention. [Figure 11] 10 is a flowchart showing the processing content of a status monitoring system according to a sixth embodiment of the present invention. [Figure 12] 13 is a flowchart showing the contents of an update process of the ambient light coordinates in the state monitoring system according to the sixth embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0022] Hereinafter, embodiments of the present invention will be described with reference to the drawings. The same or equivalent parts and components are designated by the same or equivalent reference numerals throughout the drawings. However, it should be noted that the drawings are schematic and may differ from the actual product. Furthermore, the drawings may include parts with different dimensional relationships and ratios.
[0023] Furthermore, the embodiments shown below are merely examples of devices that embody the technical concept of the present invention, and the technical concept of the present invention does not limit the arrangement of each component to that shown below. Various modifications can be made to the technical concept of the present invention within the scope of the claims.
[0024] Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0025] Example 1 FIG. 1 is a diagram illustrating the configuration of a status monitoring system 100 according to a first embodiment of the present invention.
[0026] As shown in FIG. 1, the status monitoring system 100 includes a status monitoring device 1, a monitored device 2, a server 4, a terminal 5, and a mobile terminal 6.
[0027] The status monitoring device 1 is a device that accurately detects alarms issued by the monitored device 2 and appropriately monitors the status of the device, as will be described in detail later.
[0028] The monitored device 2 is a medical device such as a ventilator, a pulse oximeter, etc. A lamp 21 and a monitor screen 22 are provided on the front of the housing of the monitored device 2.
[0029] The lamp 21 has a light-emitting element that emits a specific color.
[0030] The monitor screen 22 is a liquid crystal panel that displays trend data of measurements taken by various sensors such as vital sensors, detailed patient information, and other various information.
[0031] When the monitored device 2 detects an abnormality in the patient based on measurements taken by various sensors such as a vital sensor (not shown), it indicates the status of the monitored device 2 by lighting or flashing a lamp 21 to sound an alarm, and also displays the detailed condition of the patient on the monitor screen 22.
[0032] The server 4 is connected to the status monitoring device 1 via the network 3, and when notified by the status monitoring device 1 that an alarm has been issued by the monitored device 2, the server 4 notifies a preset terminal 5 or mobile terminal 6 of this fact. The server 4 also transmits the captured image of the monitor screen 22 transmitted from the status monitoring device 1 to the preset terminal 5 or mobile terminal 6.
[0033] The server 4 also stores the alarm time when the alarm was detected, the monitored device, the user name, the captured image of the monitor screen 22, and the like as log information in a storage medium (not shown).
[0034] The terminal 5 is connected to the status monitoring device 1 via the network 3, and is notified by the server 4 that an alarm has been issued by the monitored device 2, and is sent images captured on the monitor screen 22. The terminal 5 also performs initial settings such as setting various threshold values and setting the reference color of the lamp, which will be described later.
[0035] The mobile terminal 6 is a mobile phone such as a smartphone, and is notified by the server 4 that an alarm has been issued by the monitored device 2, and is sent an image captured on the monitor screen 22. The mobile terminal 6 also performs initial settings such as setting various thresholds and setting the reference color of the lamp, which will be described later.
[0036] The condition monitoring device 1 includes an optical sensor unit 10 and a main body unit 11.
[0037] The optical sensor section 10 includes a color sensor section 10a and an imaging section 10b.
[0038] The color sensor unit 10a is a digital color sensor that is placed near the lamp 21 and detects the color of the light emitted by the lamp 21. The color sensor unit 10a transmits the detected light color to the condition monitoring device 1 as a detection signal including R (red), G (green), B (blue) and infrared intensity.
[0039] The imaging unit 10b is provided near the monitor screen 22. The imaging unit 10b has an imaging element, and when the main body 11 determines that an alarm has been issued for the monitored device 2, the imaging unit 10b captures an image of the monitor screen 22 and transmits the captured image to the main body 11.
[0040] The main body 11 is composed of a calculation device, a memory, and the like, and has an interface 12 , a storage 13 , a calculation unit 14 , a determination unit 15 , and a notification unit 16 .
[0041] The interface unit 12 has a communication function and receives the detection signal and the captured image from the optical sensor unit 10. Furthermore, the interface unit 12 transmits an image capture instruction signal to the optical sensor unit 10 based on the determination result of the determination unit 15.
[0042] The storage unit 13 stores the coordinates in the RGB color space of the color of the lamp 21 as reference color coordinates. The reference color coordinates are values that are set in advance as initial settings, and are calculated based on the divided values by, for example, dividing the coordinates of the lamp 21 measured in a darkroom by the infrared intensity included in the detection signal, and the reference color coordinates are stored in advance.
[0043] In addition, the memory unit 13 stores a status monitoring program, and when the status monitoring program is executed by the main body unit 11, the interface unit 12, the memory unit 13, the calculation unit 14, the judgment unit 15, and the notification unit 16 are implemented.
[0044] The calculation unit 14 calculates, as detection color coordinates, the coordinates in the RGB color space of the lighting color detected by the optical sensor unit 10. Specifically, the calculation unit 14 divides the RGB value included in the detection signal received from the optical sensor unit 10 by the infrared intensity included in the detection signal, and calculates the detection color coordinates based on the divided value.
[0045] The determining unit 15 determines whether the distance between the detected color coordinates calculated by the calculating unit 14 in the RGB color space and the stored reference color coordinates is equal to or less than a distance threshold value.
[0046] FIG. 2 is an explanatory diagram that schematically explains the determination process performed by the calculation unit 14 and the determination unit 15 of the status monitoring system 100 according to the first embodiment of the present invention.
[0047] 2 shows the reference color coordinates P0 stored in the memory unit 13. A range that is a distance d1 or less from the reference color coordinates P0, that is, a color that is inside a sphere C1 whose center is the reference color coordinates P0 and whose radius is the distance d1 (distance threshold Th1), can be determined to be close to the color of the lamp 21.
[0048] Therefore, the determination unit 15 determines whether the distance between the detected color coordinates calculated by the calculation unit 14 in the RGB color space and the stored reference color coordinates P0 is equal to or less than a distance threshold Th1.
[0049] 2, the detected color coordinate P1 is determined to be inside the sphere C1, i.e., the distance d11 between the detected color coordinate P1 and the reference color coordinate P0 is equal to or less than the distance threshold Th1. On the other hand, the detected color coordinate P2 is determined to be outside the sphere C1, i.e., the distance d12 between the detected color coordinate P2 and the reference color coordinate P0 exceeds the distance threshold Th1.
[0050] If the determining unit 15 determines that the distance is equal to or less than the distance threshold Th1, the notifying unit 16 notifies the server 4 via the network 3 that an alarm has been issued by the monitored device 2.
[0051] FIG. 3 is a flowchart showing the processing contents of the status monitoring system 100 according to the first embodiment of the present invention.
[0052] As shown in FIG. 3, when the optical sensor unit 10 reaches the measurement period (step S101; YES), the calculation unit 14 acquires a detection signal including R (red), G (green), B (blue) and infrared intensity (IR value) via the interface unit 12 (step S103).
[0053] In step S105, the calculation unit 14 calculates a divided value by dividing each of R (red), G (green), and B (blue) included in the received detection signal by the infrared intensity.
[0054] Natural light, which can cause disturbances, contains a lot of infrared light, so the influence of natural light can be reduced by dividing R (red), G (green), and B (blue) by the infrared intensity, respectively.
[0055] In step S107, the calculation unit 14 determines whether the divided value is greater than the upper limit threshold Th2.
[0056] For each of R (red), G (green), and B (blue), if it is determined that the divided value is greater than the upper threshold value Th2 (step S107; YES), the calculation unit 14 substitutes the upper threshold value Th2 for the divided value (step S109). For example, if the upper threshold value Th2 is preset to "10" and the divided value exceeds "10", the calculation unit 14 substitutes "10" for the divided value.
[0057] In step S111, the calculation unit 14 multiplies the division value by the upper limit setting value to calculate the correction value. Here, the upper limit setting value is set to "25.5" so that when the division value is "10", the correction value of the detected color coordinates becomes "255". This makes it possible to calculate the correction value of the detected color coordinates for each of R (red), G (green), and B (blue) as a value within a range not exceeding "255".
[0058] In step S113, the calculation unit 14 calculates the distance between the correction value of the detected color coordinates and the reference color coordinates stored in the storage unit 13 in the RGB color space.
[0059] In step S115, the determination unit 15 determines whether the distance in the RGB color space between the corrected values of the detected color coordinates and the reference color coordinates stored in the storage unit 13 is equal to or less than a distance threshold Th1.
[0060] If it is determined that the distance in the RGB color space between the corrected value of the detected color coordinates and the reference color coordinates exceeds the distance threshold Th1 (step S115; NO), the judgment unit 15 determines that the corrected value of the detected color coordinates is not an alarm color (step S119).
[0061] On the other hand, if it is determined that the distance in the RGB color space between the corrected value of the detected color coordinates and the reference color coordinates is less than or equal to the distance threshold Th1 (step S115; YES), the judgment unit 15 determines that the corrected value of the detected color coordinates indicates an alarm color (step S117).
[0062] In step S121, the notification unit 16 notifies the server 4 via the network 3 that an alarm has been issued by the monitored device 2. Furthermore, the notification unit 16 notifies the optical sensor unit 10 via the interface unit 12 that an alarm has been issued, and transmits the captured image of the monitor screen 22 received from the optical sensor unit 10 to the server 4 via the network 3.
[0063] As described above, in the condition monitoring system 100 according to the first embodiment of the present invention, the calculation unit 14 calculates the coordinates in the RGB color space of the lighting color detected by the optical sensor unit 10 as detected color coordinates, and the determination unit 15 determines whether the distance between the detected color coordinates in the RGB color space calculated by the calculation unit 14 and the stored reference color coordinates is equal to or less than the distance threshold Th1. This reduces the influence of light in the surrounding environment, making it possible to accurately detect the lighting or blinking of the lamp 21 and appropriately monitor the condition of the monitored device 2.
[0064] <Example 2> In the condition monitoring system 100 according to the first embodiment of the present invention, the calculation unit 14 divides the RGB value contained in the detection signal received from the optical sensor unit 10 by the infrared intensity contained in the detection signal, and calculates the detection color coordinates based on this divided value.
[0065] In a second embodiment of the present invention, a condition monitoring system 100 will be described as an example in which a calculation unit 14 converts RGB values into HSV values and calculates detected color coordinates by weighting the S values of the converted HSV values so as to emphasize them more than the H and V values, and a determination unit 15 determines whether the distance between the detected color coordinates calculated by the calculation unit 14 in the HSV color space and the stored reference color coordinates is equal to or less than a distance threshold.
[0066] Fig. 4 is a flowchart showing the processing contents of the condition monitoring system 100 according to the second embodiment of the present invention. Note that the configuration of the condition monitoring system 100 according to the second embodiment of the present invention is different from the configuration of the condition monitoring system 100 according to the first embodiment of the present invention shown in Fig. 1 in terms of the configuration of the calculation unit 14 and the determination unit 15, and therefore, description of the other configurations will be omitted.
[0067] As shown in FIG. 4, when the optical sensor unit 10 reaches the measurement period (step S101; YES), the calculation unit 14 acquires a detection signal including R (red), G (green), B (blue) and infrared intensity via the interface unit 12 (step S103).
[0068] In step S201, the calculation unit 14 converts the RGB values contained in the received detection signal into HSV values.
[0069] In step S203, the calculation unit 14 calculates a correction value by weighting the S (saturation) of the H (hue), S (saturation), and V (lightness) values so that the S (saturation) is increased. In particular, when the light from the optical sensor unit 10 is red, green, or blue and the disturbance is light close to white, such as natural light, the S (saturation) of the converted HSV value tends to decrease due to the influence of the disturbance. Therefore, weighting to increase the S (saturation) can further reduce the influence of the disturbance. For example, the S value of the reference color coordinates in the stored HSV color space may be directly substituted as the S value, thereby weighting to increase the S (saturation).
[0070] In step S205, the calculation unit 14 calculates the distance between the correction value of the detected color coordinates and the reference color coordinates stored in the storage unit 13 in the HSV color space.
[0071] In step S205, the determination unit 15 determines whether the distance in the HSV color space between the corrected values of the detected color coordinates and the reference color coordinates stored in the storage unit 13 is equal to or less than the distance threshold Th11. In the HSV color space, a color inside a sphere whose center is the reference color coordinates and whose radius is the distance threshold Th11 can be determined to be close to the color of the lamp 21.
[0072] If it is determined that the distance in the HSV color space between the corrected value of the detected color coordinates and the reference color coordinates exceeds the distance threshold Th11 (step S207; NO), the judgment unit 15 determines that the corrected value of the detected color coordinates is not an alarm color (step S211).
[0073] On the other hand, if it is determined that the distance in the RGB color space between the corrected value of the detected color coordinates and the reference color coordinates is less than or equal to the distance threshold Th11 (step S207; YES), the judgment unit 15 determines that the corrected value of the detected color coordinates indicates an alarm color (step S209).
[0074] In step S213, the notification unit 16 notifies the server 4 via the network 3 that an alarm has been issued by the monitored device 2. At this time, the notification unit 16 notifies the optical sensor unit 10 via the interface unit 12 that an alarm has been issued, and transmits the captured image of the monitor screen 22 received from the optical sensor unit 10 to the server 4 via the network 3.
[0075] As described above, in the condition monitoring system 100 according to the second embodiment of the present invention, the calculation unit 14 converts RGB values into HSV values, and calculates the detected color coordinates by weighting the S value of the converted HSV values so as to emphasize it more than the H and V values, and the determination unit 15 determines whether the distance in the HSV color space between the detected color coordinates calculated by the calculation unit 14 and the stored reference color coordinates is equal to or less than the distance threshold Th11. This reduces the influence of light in the surrounding environment, and makes it possible to accurately detect whether the lamp 21 is on or off and appropriately monitor the state of the monitored device 2 without using information on infrared intensity.
[0076] In the second embodiment of the present invention, the calculation unit 14 converts RGB values into HSV values, and calculates the detected color coordinates by weighting the S values of the converted HSV values so as to emphasize them more than the H and V values, and the determination unit 15 determines whether the distance between the detected color coordinates in the HSV color space and the stored reference color coordinates is equal to or less than the distance threshold Th11. However, the present invention is not limited to this.
[0077] For example, the calculation unit 14 may convert RGB values into HSV values, weight the S values of the converted HSV values so as to emphasize them more than the H and V values, and then inversely convert the HSV values into RGB values to calculate detected color coordinates in the RGB color space, and the determination unit 15 may determine whether the distance between the detected color coordinates in the RGB color space calculated by the calculation unit 14 and the stored reference color coordinates P0 is equal to or less than a distance threshold Th1.
[0078] Example 3 In the condition monitoring system 100 according to the first embodiment of the present invention, the determination unit 15 determines whether the distance between the detected color coordinates calculated by the calculation unit 14 in the RGB color space and the stored reference color coordinates is equal to or less than the distance threshold Th1, but this is not limited to this.
[0079] In the condition monitoring system 100 according to the third embodiment of the present invention, the determination unit 15 determines whether the distance between the detected color coordinates calculated by the calculation unit 14 in the RGB color space and the stored reference color coordinates is equal to or less than a distance threshold Th12, which is set as a variable value so as to maintain the balance of RGB according to the actual measurement values measured in advance.
[0080] FIG. 5 is an explanatory diagram for schematically explaining the determination process by the determination unit 15 of the status monitoring system 100 according to the third embodiment of the present invention.
[0081] 5 shows the reference color coordinates P0 stored in memory unit 13. When the major axis is taken on line S1 extending from origin Q toward reference color coordinates P0, judgment unit 15 judges that the coordinates inside a prolate sphere C2 formed by radius d22 on the major axis and radius d21 on the minor axis perpendicular to the major axis at reference color coordinates P0 are closest to the color of lamp 21. The lengths of radii d21 and d22 are determined in advance according to experimental values.
[0082] That is, the judgment unit 15 judges whether the distance between the detected color coordinates calculated by the calculation unit 14 in the RGB color space and the stored reference color coordinates P0 is equal to or less than the distance threshold Th12, which is the distance from the reference color coordinates P0 to the surface of a prolate spheroid when the major axis is taken on the line S1 extending from the origin Q toward the reference color coordinates P0.
[0083] 5, the detected color coordinate P11 is determined to be inside the prolate spheroid C2, i.e., the distance between the detected color coordinate P11 and the reference color coordinate P0 is equal to or less than the distance threshold Th12. On the other hand, the detected color coordinate P12 is determined to be outside the prolate spheroid C2, i.e., the distance between the detected color coordinate P12 and the reference color coordinate P0 exceeds the distance threshold Th12.
[0084] Thus, in the third embodiment of the present invention, the judgment unit 15 judges whether the distance between the detected color coordinates calculated by the calculation unit 14 in the RGB color space and the stored reference color coordinates P0 is equal to or less than the distance threshold Th12, which is the distance from the reference color coordinates P0 to the surface of a prolate spheroid when the major axis is taken on the line S1 extending from the origin Q toward the reference color coordinates P0.
[0085] Therefore, a narrow range can be set for the RGB balance in the short axis direction, and a relatively wide range can be set for the brightness and saturation in the long axis direction, making it less susceptible to the influence of light in the surrounding environment, and allowing the lighting or flashing of the lamp 21 to be accurately detected and the status of the monitored device 2 to be properly monitored.
[0086] Example 4 In the condition monitoring system 100 according to the first embodiment of the present invention, the calculation unit 14 divides the RGB value contained in the detection signal received from the optical sensor unit 10 by the infrared intensity contained in the detection signal, and calculates the detection color coordinates based on this divided value.
[0087] In the condition monitoring system 100 according to the fourth embodiment of the present invention, the influence of disturbances is further reduced by subtracting RGB values that cause disturbances such as natural light and light from indoor lights.
[0088] Specifically, the RGB values received from the optical sensor unit 10 are stored in the memory unit 13, and the calculation unit 14 calculates the average value of the most recent 10 RGB values and sets the calculated average value as the disturbance RGB value.The calculation unit 14 then subtracts the disturbance RGB value for each of R, G, and B from the calculated detection color coordinates, divides the subtracted value by the infrared intensity, and calculates the detection color coordinates based on the divided value.
[0089] This allows the influence of disturbances such as natural light and indoor lighting to be further reduced by subtracting RGB values that cause disturbances.
[0090] <Example 5> In the condition monitoring system 100 according to the first embodiment of the present invention, when the judgment unit 15 judges that the distance is equal to or less than the distance threshold Th1, the notification unit 16 notifies the server 4 via the network 3 that an alarm has been issued by the monitored device 2.
[0091] The monitored device 2 may issue a message based on the blinking pattern of the lamp 21. Therefore, in the status monitoring system 100 according to the fifth embodiment of the present invention, the notification unit 16 notifies that an alarm has been issued by the monitored device 2 when the determination unit 15 determines that the frequency is equal to or less than the threshold value Th1 and the frequency-converted blinking pattern of the lamp substantially matches the blinking pattern stored in the storage unit.
[0092] FIG. 6 is a diagram illustrating the configuration of a status monitoring system 100 according to a fifth embodiment of the present invention.
[0093] As shown in Fig. 6, the status monitoring system 100 includes a status monitoring device 1, a monitored device 2, a server 4, a terminal 5, and a mobile terminal 6. Of these, the monitored device 2, the server 4, the terminal 5, and the mobile terminal 6 have the same configurations as those shown in Fig. 1, and therefore their explanations will be omitted.
[0094] The condition monitoring device 1 includes an optical sensor unit 10 and a main body unit 11. The optical sensor unit 10 has the same configuration as that shown in Fig. 1, and therefore a description thereof will be omitted.
[0095] The main body 11 has an interface unit 12, a storage unit 13, a calculation unit 14, a determination unit 15, a notification unit 16, and a frequency conversion unit 17. Of these components, the interface unit 12, the calculation unit 14, and the determination unit 15 are the same as those shown in Fig. 1, and therefore description thereof will be omitted.
[0096] The memory unit 13 further stores the frequency-converted blinking pattern of the lamp.
[0097] The frequency conversion unit 17 converts the time axis of the blinking pattern of the lamp 21 detected by the optical sensor unit 10 into a frequency.
[0098] Then, if the judgment unit 15 judges that the value is equal to or less than the threshold value Th1 and the blinking pattern frequency-converted by the frequency conversion unit 17 approximately matches the blinking pattern stored in the memory unit 13, the notification unit 16 notifies that the device has issued an alarm.
[0099] 7 is an explanatory diagram schematically illustrating the processing contents of the notification unit 16 of the status monitoring system 100 according to the fifth embodiment of the present invention. (a) is an example of a determination result (blinking pattern) by the determination unit 15 that is the basis for generating the reference blinking pattern after frequency conversion stored in the storage unit 13, and (c) is an example of a determination result (blinking pattern) by the determination unit 15. Here, a case where it is determined to be equal to or less than the distance threshold Th1 is regarded as "on." (b) is a diagram in which the time axis of the determination result (reference blinking pattern) shown in (a) is converted into a frequency axis, and (d) is a diagram in which the time axis of the determination result (blinking pattern) shown in (c) is converted into a frequency axis.
[0100] As shown in Figure 7(a), the determination result 101 is "on" at time 0 and "off" at time t1. It becomes "on" at time t2, when time interval T1 has elapsed since time t1, and "off" at time t3. It becomes "on" at time t4, when time interval T2 has elapsed since time t3, and "off" at time t5.
[0101] In this way, the example shown in FIG. 7(a) has a reference blinking pattern in which time intervals T1 and T2 are alternately provided.
[0102] 7(c), the determination result 102 is "on" at time 0 and "off" at time t11. It becomes "on" at time t12, when time interval T2 has elapsed since time t11, and "off" at time t13. It becomes "on" at time t14, when time interval T1 has elapsed since time t13, and "off" at time t15.
[0103] In this way, the example shown in FIG. 7(c) also has a blinking pattern in which time intervals T1 and T2 are alternately provided.
[0104] However, since the timing of "on" and "off" differs between the judgment result 101 shown in FIG. 7(a) and the judgment result 102 shown in FIG. 7(c), if they are simply compared as in the prior art, they may be judged to be different blinking patterns.
[0105] Therefore, frequency conversion section 17 converts the time axis of the determination result (blinking pattern) by determination section 15 into a frequency.
[0106] As shown in FIG. 7(b), the frequency-converted determination result 201, which is the reference blinking pattern, has positive values for the frequency on the vertical axis at 1.0 (Hz) and 2.0 (Hz).
[0107] Similarly, as shown in Figure 7(d), for the frequency-converted determination result 202, which is the measured blinking pattern, the frequency on the vertical axis is a positive value at 1.0 (Hz) and 2.0 (Hz).
[0108] In this way, by comparing the frequency-converted reference blinking pattern stored in memory unit 13 with the blinking pattern frequency-converted by frequency conversion unit 17, it is possible to determine that the blinking patterns are the same even if the "on" and "off" timings are different.
[0109] In the example shown in Figures 7(b) and (d), a predetermined range is set in advance for the frequency values at 1.0 (Hz) and 2.0 (Hz) of the judgment result 201, and if the frequencies at 1.0 (Hz) and 2.0 (Hz) of the judgment result 202 are both within the predetermined range, it is determined that this blinking pattern approximately matches the reference blinking pattern.
[0110] 8 is a flowchart showing the processing contents of the status monitoring system 100 according to the fifth embodiment of the present invention. Here, the processing from steps S101 to S119 is the same as the processing shown in FIG. 3, and therefore the description thereof will be omitted.
[0111] As shown in FIG. 8, if the judgment unit 15 judges in step S117 that the corrected value of the detected color coordinate indicates an alarm color, or if the judgment unit 15 judges in step S119 that the corrected value of the detected color coordinate does not indicate an alarm color, then in step S301 the frequency conversion unit 17 judges whether or not data of the judgment results for a predetermined period of time has been accumulated in the memory unit 13.
[0112] When the memory unit 13 has accumulated data of the judgment results for a predetermined period of time (step S301; YES), the frequency conversion unit 17 frequency-converts the time axis of this judgment result data, i.e., the blinking pattern of the lamp 21 detected by the optical sensor unit 10 (step S303).
[0113] In step S305, notification unit 16 determines whether the blinking pattern frequency-converted by frequency conversion unit 17 substantially matches the reference blinking pattern stored in memory unit 13. For example, if the frequency for each frequency of the blinking pattern frequency-converted by frequency conversion unit 17 is within a predetermined range for each frequency of the frequency-converted reference blinking pattern stored in memory unit 13, notification unit 16 determines that this blinking pattern substantially matches the reference blinking pattern.
[0114] If it is determined that the blinking pattern substantially matches the reference blinking pattern (step S305; YES), the notification unit 16 notifies the server 4 via the network 3 that an alarm has been issued by the monitored device 2.
[0115] As described above, according to the condition monitoring system 100 of the fifth embodiment of the present invention, when the determination unit 15 determines that the frequency is equal to or lower than the threshold value Th1 and the blinking pattern of the frequency-converted lamp 21 substantially matches the blinking pattern stored in the memory unit 13, the notification unit 16 notifies that an alarm has been issued by the monitored device 2.
[0116] Therefore, even when a message is issued based on the blinking pattern of the lamp 21, the blinking of the lamp 21 can be accurately detected and the blinking pattern can be determined, so that the status of the monitored device 2 can be monitored appropriately.
[0117] Example 6 In the condition monitoring system 100 according to the first embodiment of the present invention, the calculation unit 14 divides the RGB value contained in the detection signal received from the optical sensor unit 10 by the infrared intensity contained in the detection signal, and calculates the detection color coordinates based on this divided value.
[0118] In a sixth embodiment of the present invention, a status monitoring system 100 will be described as an example in which the calculation unit 14 calculates the difference between the RGB values contained in the detection signal received from the optical sensor unit 10 and the RGB values of the ambient light as the detected color coordinates.
[0119] FIG. 9 is a diagram illustrating the configuration of a status monitoring system 100 according to a sixth embodiment of the present invention.
[0120] 9, the status monitoring system 100 includes a status monitoring device 1, a monitored device 2, a server 4, a terminal 5, and a mobile terminal 6. Of these components, the monitored device 2, the server 4, the terminal 5, and the mobile terminal 6 are the same as those included in the status monitoring system 100 according to the first embodiment of the present invention, and therefore descriptions thereof will be omitted.
[0121] The condition monitoring device 1 includes an optical sensor unit 10 and a main body unit 11.
[0122] The optical sensor section 10 includes a color sensor section 10a and an imaging section 10b.
[0123] The color sensor unit 10a is a digital color sensor that is placed near the lamp 21 and detects the color of the light emitted by the lamp 21. The color sensor unit 10a transmits the detected light color to the status monitoring device 1 as a detection signal expressed as a value between 0 and 65,535 for each of R (red), G (green), and B (blue).
[0124] The imaging unit 10b is provided near the monitor screen 22. The imaging unit 10b has an imaging element, and when the main body 11 determines that an alarm has been issued for the monitored device 2, the imaging unit 10b captures an image of the monitor screen 22 and transmits the captured image to the main body 11.
[0125] The main body 11 is composed of an arithmetic unit, memory, etc., and has an interface unit 12, a storage unit 13, a calculation unit 14, a judgment unit 15, a notification unit 16, an amplitude calculation unit 18, and an ambient light update unit 19.
[0126] The interface unit 12 has a communication function and receives the detection signal and the captured image from the optical sensor unit 10. Furthermore, the interface unit 12 transmits an image capture instruction signal to the optical sensor unit 10 based on the determination result of the determination unit 15.
[0127] The storage unit 13 stores the coordinates of the color of the lamp 21 in the RGB color space as reference color coordinates. The reference color coordinates are values that are set in advance as initial settings. For example, the coordinates of the lamp 21 measured in a darkroom are calculated as the reference color coordinates and stored in advance. Here, the reference color coordinates are expressed as values of 0 to 65,535 for each of R (red), G (green), and B (blue) and converted values of 0 to 255. Here, similar to the detected color coordinates described below, the maximum color among the RGB values that are the reference color coordinates expressed as 0 to 65,535 for each of R (red), G (green), and B (blue) is converted to the maximum value in the RGB color space expressed as 0 to 255, and the remaining RGB colors are converted to their maximum values using a conversion rate.
[0128] The storage unit 13 also stores, as ambient light color coordinates, coordinates in the color space of the ambient light around the optical sensor unit 10. These ambient light color coordinates are updated by an ambient light update unit 19, which will be described later. Here, the ambient light color coordinates are expressed as values of 0 to 65,535 for each of R (red), G (green), and B (blue).
[0129] In addition, the memory unit 13 stores a status monitoring program, and when the status monitoring program is executed by the main body unit 11, the interface unit 12, the memory unit 13, the calculation unit 14, the judgment unit 15, and the notification unit 16 are implemented.
[0130] The calculation unit 14 calculates, as detected color coordinates, coordinates in the RGB color space of the lighting color based on the lighting color detected by the optical sensor unit 10. Specifically, the calculation unit 14 calculates, as detected color coordinates, the difference between the coordinates expressed in 0 to 65,535 in the RGB color space of the lighting color detected by the optical sensor unit 10 and the color coordinates expressed in 0 to 65,535 in the RGB color space of the ambient light stored in the storage unit 13.
[0131] Furthermore, the calculation unit 14 sets the detected color coordinates as the origin coordinates if the maximum value of the calculated RGB values of the detected color coordinates expressed in the range of 0 to 65,535 is equal to or less than the value obtained by multiplying the maximum value of the RGB values of the reference color coordinates expressed in the range of 0 to 65,535 by a predetermined cutoff rate R1. Here, the reference color coordinates are (R,G,B)=(100,4,2), and the cutoff rate R1 is 50(%).
[0132] For example, if the detected color coordinates are (R, G, B) = (2550, 200, 100), the maximum value of the RGB values that are the detected color coordinates is 2550. The maximum value of the RGB values that are the reference color coordinates is 100, which becomes 50 when multiplied by the cutoff rate R1. Because 2550 is greater than 50, the calculation unit 14 does not use the detected color coordinates as the origin coordinates.
[0133] On the other hand, when the detected color coordinates are (R, G, B) = (25, 20, 10), the maximum value of the RGB values that are the detected color coordinates is 25. The maximum value of the RGB values that are the reference color coordinates is 100, which becomes 50 when multiplied by the cutoff rate R1. Because 25 is smaller than 50, the calculation unit 14 sets the detected color coordinates to the origin coordinates, i.e., (R, G, B) = (0, 0, 0). This makes it possible to remove noise.
[0134] Furthermore, the calculation unit 14 converts the maximum color among the calculated RGB values, which are the detected color coordinates expressed in the range of 0 to 65,535, to the maximum color in the RGB color space expressed in the range of 0 to 255, and converts the remaining RGB colors at a conversion rate that converts them to the maximum values. This is a process of converting the lighting colors detected by the color sensor unit 10a, which are expressed in the range of 0 to 65,535 for R (red), G (green), and B (blue), into values from 0 to 255.
[0135] For example, suppose the detected color coordinates are (R,G,B) = (2550,200,100). In this case, the color with the maximum value among R (red), G (green), and B (blue) is R (red). Therefore, if the value of R (red) is set to 255, the conversion rate is 0.1 (=255 / 2550), so G (green) and B (blue) are also multiplied by the conversion rate of 0.1. As a result, the detected color coordinates after conversion can be obtained as (R,G,B) = (255,20,10).
[0136] Because the value before conversion is the difference from the ambient light, even if there is a large change such as turning on the lamp 21, the value only changes by about 100, and simply converting it to a range from 0 to 255 results in a change of only about 0.4. As a result, most colors end up with values close to black, making it difficult to set a threshold value between them and making the system very difficult to handle overall. For this reason, the calculation unit 14 converts the maximum color among the RGB values that are the calculated detected color coordinates to the maximum value in the RGB color space of the reference color coordinates, and converts the remaining RGB colors to the maximum value using a conversion rate that converts them to the maximum value.
[0137] Note that ambient light, even in direct sunlight, is only about "10,000," so although colors ranging from "0" to "255" should be possible, only colors ranging from "0" to "40" are used. In other words, since "0" to "65,535" are not simply converted to "0" to "255," the effect of the distance between the lamp 21 and the optical sensor unit 10 can be reduced. For example, if (R, G, B) = (1000, 0, 0), and the distance between the lamp 21 and the optical sensor unit 10 is halved for some reason, it is possible that (R, G, B) = (2000, 0, 0). If this were simply converted to "0" to "255," the color may be recognized as a different color, even though the distance between the lamp 21 and the optical sensor unit 10 has simply changed.
[0138] Here, calculation unit 14 converts the maximum color among the calculated RGB values that are detection color coordinates expressed in 0 to 65,535 to the maximum value (=255) in the RGB color space expressed in 0 to 255, and converts the remaining RGB colors to their maximum values using a conversion rate, but this is not limited to this. For example, calculation unit 14 may convert the maximum color among the calculated RGB values that are detection color coordinates expressed in 0 to 65,535 to the maximum value (=65,535) in the RGB color space expressed in 0 to 65,535, and convert the remaining RGB colors to their maximum values using a conversion rate.
[0139] The determination unit 15 determines whether the distance between the detected color coordinates expressed in 0 to 255 in the RGB color space calculated by the calculation unit 14 and the stored reference color coordinates expressed in 0 to 255 is equal to or less than a distance threshold Th1.
[0140] When the determination unit 15 determines that the distance is equal to or less than the distance threshold Th1 for a predetermined number of consecutive times, the notification unit 16 notifies the server 4 via the network 3 that an alarm has been issued by the monitored device 2. Here, the predetermined number of times is preset to, for example, 3 (times). This makes it possible to prevent false detection as an alarm, since light with a large amount of light and a large influence of variation, such as direct sunlight, rarely occurs continuously.
[0141] If the determining unit 15 continues to determine that the distance exceeds the distance threshold Th1 for a predetermined period of time after issuing an alarm, the notifying unit 16 notifies that the monitored device 2 has stopped issuing an alarm.
[0142] The fluctuation width calculation unit 18 calculates the average value of the detected color coordinates for a fixed number of times immediately surrounding the alarm period as the detected color average value.The fluctuation width calculation unit 18 then calculates the maximum absolute value of the difference from the detected color average value among the detected color coordinates for the fixed number of times immediately surrounding the alarm period as the fluctuation width, and calculates the value obtained by multiplying the detected color average value by a predetermined ratio as the fluctuation width threshold.
[0143] If the fluctuation width calculated by the fluctuation width calculation unit 18 is equal to or smaller than the fluctuation width threshold Th4, the ambient light update unit 19 stores the detected color average value in the storage unit as the ambient light color coordinates.
[0144] 10 and 11 are flowcharts showing the processing contents of the status monitoring system 100 according to the sixth embodiment of the present invention.
[0145] As shown in FIG. 10, when the optical sensor unit 10 reaches the measurement period (step S401; YES), the calculation unit 14 acquires detection signals expressed as values of 0 to 65,535 for R (red), G (green), and B (blue) via the interface unit 12 (step S403).
[0146] In step S405, the calculation unit 14 calculates the difference between the coordinates of the lighting color detected by the optical sensor unit 10 expressed in values from 0 to 65,535 in the RGB color space and the color coordinates of the ambient light stored in the memory unit 13 expressed in values from 0 to 65,535 in the RGB color space, and sets this difference as the detected color coordinates.
[0147] In step S407, the calculation unit 14 calculates the maximum value of the RGB values that are the calculated detected color coordinates as color lightness.
[0148] In step S409, the calculation unit 14 determines whether the calculated color lightness is equal to or less than a color lightness threshold Th3, which is a value obtained by multiplying the maximum value of the RGB values that are the reference coordinates by a predetermined ratio R1.
[0149] If the color lightness is equal to or less than the color lightness threshold Th3 (step S409; YES), in step S411, the calculation unit 14 sets the detected color coordinates as the origin coordinates.
[0150] In step S413, the calculation unit 14 converts the difference into a color. Specifically, the calculation unit 14 converts the color with the maximum value among the RGB values that are the calculated detected color coordinates into the maximum value in the RGB color space, and converts the remaining colors of the RGB into the maximum values at a conversion rate.
[0151] In step S415, the calculation unit 14 calculates the distance in the RGB color space between the converted detected color coordinates and the reference color coordinates stored in the storage unit 13.
[0152] In step S417 shown in FIG. 11, the determination unit 15 determines whether the distance in the RGB color space between the detected color coordinates and the reference color coordinates stored in the storage unit 13 is equal to or less than a distance threshold Th1.
[0153] If it is determined that the distance in the RGB color space between the detected color coordinates and the reference color coordinates exceeds the distance threshold Th1 (step S417; NO), the determination unit 15 determines that the detected color coordinates are not an alarm color (step S419).
[0154] On the other hand, if it is determined that the distance in the RGB color space between the detected color coordinates and the reference color coordinates is equal to or less than the distance threshold Th1 (step S417; YES), the determination unit 15 determines that the detected color coordinates indicate an alarm color (step S421).
[0155] In step S423, the notification unit 16 increments the alarm count, and in step S425, the notification unit 16 determines whether the alarm count has reached or exceeded the count threshold Cth.
[0156] If it is determined that the alarm count is equal to or greater than the count threshold Cth (step S425; YES), the notification unit 16 issues an alarm in step S427. Here, the count threshold Cth is preset to, for example, "3" (times). In this case, if the measurement period is 0.1 (seconds), and it is determined that the alarm color is being displayed for 0.3 (seconds), the notification unit 16 notifies the server 4 via the network 3 that an alarm has been issued by the monitored device 2 in step S427. Furthermore, the notification unit 16 notifies the optical sensor unit 10 via the interface unit 12 that an alarm has been issued, and transmits the captured image of the monitor screen 22 received from the optical sensor unit 10 to the server 4 via the network 3.
[0157] In step S429, the notification unit 16 resets the alarm count.
[0158] In step S431, the notification unit 16 determines whether a predetermined time has elapsed since the issuance of the last alarm. Specifically, the notification unit 16 determines whether the determination unit 15 has continued to determine that the distance exceeds the distance threshold Th1 for a predetermined period of time. For example, if the predetermined time is 2 seconds, the notification unit 16 determines whether 2 seconds have elapsed since the issuance of the last alarm.
[0159] If it is determined that a predetermined time has elapsed since the last alarm was issued (step S431; YES), in step S433 the notification unit 16 notifies that the monitored device 2 has stopped issuing alarms.
[0160] In step S435, the coordinates in the RGB color space of the lighting color detected by the optical sensor unit 10 are stored as history data. Here, the history data is a value expressed as 0 to 65,535 for each of R (red), G (green), and B (blue). At least the most recent five pieces of history data are accumulated, and if six or more pieces of history data have been accumulated, the oldest data may be deleted.
[0161] FIG. 12 is a flowchart showing the contents of the process of updating the ambient light coordinates in the status monitoring system 100 according to the sixth embodiment of the present invention.
[0162] As shown in FIG. 12, if an alarm has not been issued (step S501; NO), the amplitude calculation unit 18 calculates the average value of the detected color coordinates for a fixed number of times immediately preceding the period in which the alarm has not been issued as the detected color average value (step S503).
[0163] In step S505, the fluctuation width calculation unit 18 calculates the maximum absolute value of the difference from the detected color average value among the detected color coordinates for the immediately neighboring fixed number of times as the fluctuation width.
[0164] In step S507, the fluctuation width calculation unit 18 calculates a value obtained by multiplying the detected color average value by a predetermined ratio R2 as a fluctuation width threshold Th4. Here, the predetermined ratio R2 is set in advance to 1(%) based on experimental data or the like.
[0165] In step S509, the ambient light update unit 19 determines whether the fluctuation width calculated by the fluctuation width calculation unit 18 is equal to or smaller than the fluctuation width threshold value Th4.
[0166] If the amplitude calculated by the amplitude calculation unit 18 is equal to or less than the amplitude threshold Th4 (step S509; YES), the ambient light update unit 19 stores the detected color average values in the storage unit as the ambient light color coordinates. If the amplitude is equal to or greater than the amplitude threshold Th4, for example, if a shadow cast by someone working nearby causes the light value to fluctuate significantly, and the ambient light color coordinates are entered as values in the ambient light color coordinates, the ambient light color coordinates may be significantly distorted, which may also cause the detected color coordinates to be significantly distorted. To prevent this, the ambient light color coordinates are stored only if the amplitude is equal to or less than the amplitude threshold Th4. This allows appropriate ambient light color coordinates to be stored.
[0167] As described above, according to the status monitoring system 100 of the sixth embodiment of the present invention, the calculation unit 14 calculates the coordinates in the RGB color space of the lighting color as the detected color coordinates based on the lighting color detected by the optical sensor unit 10, and the determination unit 15 determines whether the distance between the detected color coordinates in the RGB color space calculated by the calculation unit 14 and the stored reference color coordinates is equal to or less than the distance threshold Th1. This reduces the influence of light in the surrounding environment, making it possible to accurately detect the lighting or blinking of the lamp 21 and appropriately monitor the status of the monitored device 2.
[0168] In particular, in the sixth embodiment of the present invention, the calculation unit 14 calculates, as detected color coordinates, the difference between the coordinates in the RGB color space of the lighting color detected by the optical sensor unit 10 and the color coordinates in the RGB color space of the ambient light stored in the storage unit 13. Therefore, in particular, the influence of ambient light can be eliminated, and therefore it is possible to more accurately detect the lighting or blinking of the lamp 21 and appropriately monitor the state of the monitored device 2.
[0169] In Examples 1 to 6 of the present invention, in order to determine whether the lamp 21 of the monitored device 2 is on or not, it is necessary to store the color of the original lamp as a reference color coordinate. However, since the lamp 21 of the monitored device 2 may flash, it is difficult to ask the user to measure the lamp at the moment it is on. Therefore, for example, the color may be measured continuously for 2 seconds (each measurement lasts 0.1 seconds, so 20 detection values are obtained), and the one with the largest RGB variance among them may be adopted as the reference color coordinate. The variance may be calculated using, for example, the following formula: (Variance) = {R - (average of RGB)}^2 + {G - (average of RGB)}^2 + {B - (average of RGB)}^2 (Formula)
[0170] For example, the measured value when the lamp is off will be (R, G, B) = (20, 20, 20), and the variance will be "0." The measured value when lamp 21 is on will be (R, G, B) = (80, 20, 20), and the variance will be "2400." This method is used because lamps have a bright color with one of the RGB colors, such as red, that stands out to people. [Explanation of symbols]
[0171] 1 Condition monitoring device 2. Monitored devices 3 Network 4 Server 5. Terminal 6. Radio transmitter 6. Mobile devices 10 Optical sensor unit 10a Color sensor section 10b Imaging unit 11 Main body 12 Interface section 13 Storage section 14 Calculation section 15 Judgment section 16 Notification Department 17 Frequency conversion section 18 Width calculation section 19 Ambient light update department 21 Lamp 22 Monitor screen 100 Condition Monitoring System
Claims
1. an optical sensor unit disposed near a lamp that indicates the state of the device by lighting or blinking, and that detects the color of the light when the lamp is lit; a storage unit that stores coordinates in a color space of the color of the lamp as reference color coordinates; a calculation unit that calculates, based on the lighting color detected by the optical sensor unit, coordinates of the lighting color in the color space as detected color coordinates; a determination unit that determines whether or not a distance between the detected color coordinates calculated by the calculation unit in the color space and the stored reference color coordinates is equal to or less than a threshold value; a notification unit that notifies the device that an alarm has been issued when the determination unit determines that the value is equal to or less than the threshold value; a frequency conversion unit that converts the time axis of the blinking pattern of the lamp detected by the optical sensor unit into a frequency to calculate a frequency relative to the frequency as a converted blinking pattern, the storage unit converts the reference blinking pattern of the lamp into a frequency, and further stores the frequency as a converted reference blinking pattern of the lamp; The notification unit When the determination unit determines that the frequency is equal to or less than the threshold value and the converted blinking pattern frequency-converted by the frequency conversion unit substantially matches the converted reference blinking pattern stored in the storage unit, the device notifies the user that an alarm has been issued. A condition monitoring device characterized by:
2. a storing step of storing, in a storage unit, coordinates in a color space of the color of a lamp that indicates the state of the device by lighting or blinking as reference color coordinates; a calculation step of calculating, as detected color coordinates, coordinates of the lighting color in the color space based on the lighting color detected by an optical sensor unit disposed near the lamp; a determining step of determining whether or not a distance between the detected color coordinates calculated in the calculating step and the stored reference color coordinates in the color space is equal to or less than a threshold value; a notification step of notifying that the device has issued an alarm when it is determined in the determination step that the value is equal to or less than the threshold value; a frequency conversion step of converting the time axis of the blinking pattern of the lamp detected by the optical sensor unit into a frequency to calculate a frequency of the blinking pattern after conversion; The storing step converts the reference blinking pattern of the lamp into a frequency, and further stores the frequency in the memory unit as a converted reference blinking pattern of the lamp; The notification step includes: If the determining step determines that the frequency is equal to or less than the threshold value and the converted blinking pattern obtained by the frequency conversion step substantially matches the converted reference blinking pattern stored in the storage unit, the device notifies the user that an alarm has been issued. A condition monitoring program characterized by:
Citation Information
Patent Citations
Shutdown indicator of gas meter
JP1997026344A
Inspecting apparatus for multicolor light emitting display apparatus
JP1999201868A
Monitor camera system
JP2002300467A
Microcomputer meter device and blinking pattern identification device
JP2004077265A
Instrumental status annunciator
JP2004220288A