Control system
The control system diagnoses wiring states and abnormalities in system equipment by using relay amplifiers to process health check commands, supporting both series and parallel connections, enhancing system monitoring and management.
Patent Information
- Application Number
- JP2023028765
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-06
AI Technical Summary
Existing techniques for diagnosing the wiring status of system equipment to a controller are limited to parallel connections with amplifiers and cannot support series connections, leading to potential mismatches due to setting errors.
A control system that includes a controller transmitting health check commands via relay amplifiers, which process and relay these commands with amplifier information added, allowing diagnosis regardless of series or parallel connections.
Enables accurate diagnosis of wiring states and abnormalities in system equipment, supporting both series and parallel amplifier connections, and providing comprehensive system monitoring and management.
Smart Images

Figure 2024121588000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technique for diagnosing the state of wiring to a controller of a system device. [Background technology]
[0002] There is a known technique for manually setting address information and wiring information to a controller using a setting device for multiple system devices that are directly connected to a controller or indirectly connected via an amplifier (see, for example, Patent Document 1). However, there is a problem in that the wiring information to the controller does not match the actual situation due to setting errors. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2007-150610 A Summary of the Invention [Problem to be solved by the invention]
[0004] Although there have been conventional techniques for diagnosing the wiring status of system devices, these techniques can only diagnose cases where the amplifier is connected in parallel to the controller, and cannot handle series connections.
[0005] In order to solve the above-mentioned problems, the present disclosure aims to provide a control system that can diagnose the wiring status to a controller of system equipment, regardless of whether amplifiers are connected in series or in parallel. [Means for solving the problem]
[0006] An aspect of the present disclosure is System equipment, A plurality of amplifiers; the controller transmitting a downstream health check command to the system device via a relay amplifier that relays the downstream health check command from the controller to the system device among the plurality of amplifiers; Equipped with The controller: a command transmission process for transmitting the downstream health check command addressed to a communication address of the system device; The system device that has received the downstream health check command A process of converting the downstream health-check command into an upstream health-check command; a return process of returning the upstream health check command to the controller; configured to run The relay amplifier includes: an addition process of adding amplifier information for identifying itself to the downstream health-check command or the upstream health-check command; a relay process of relaying the downstream health-check command or the upstream health-check command that has been subjected to the additional process; configured to run A control system, wherein the amplifier information has different values depending on whether the relay amplifier is connected in series to the controller or in parallel. It is preferable that: Effect of the Invention
[0007] According to an aspect of the present disclosure, it is possible to provide a control system that can diagnose the wiring state of a system device to a controller, regardless of whether the amplifiers are connected in series or in parallel. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an example configuration of a control system according to a first embodiment of the present disclosure. [Diagram 2] FIG. 2 is a block diagram showing a detailed configuration example of a controller according to the first embodiment of the present disclosure. [Diagram 3] 2 is a block diagram showing a detailed configuration example of an amplifier according to the first embodiment of the present disclosure. FIG. [Figure 4] 4A to 4C are diagrams illustrating frame configurations of a communication frame transmitted by a controller and response data transmitted by a system device according to the first embodiment of the present disclosure. [Diagram 5] 4 illustrates detailed specifications of a command identifier, a command code, and command data included in a communication frame according to the first embodiment of the present disclosure. [Figure 6] 1A is a diagram showing a signal waveform 90 of a downstream signal and a signal waveform of an upstream signal according to a first embodiment of the present disclosure. FIG. [Figure 7] FIG. 4 is a diagram showing details of signal waveforms according to the first embodiment of the present disclosure. [Figure 8] FIG. 4 is a diagram illustrating a current waveform of a signal detected by a controller according to the first embodiment of the present disclosure. [Figure 9] 4 is a flowchart of a health check in the control system according to the first embodiment of the present disclosure. [Figure 10] FIG. 4 is a sequence diagram of short circuit and leakage anomaly detection in the control system according to the first embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] First embodiment 1 is a diagram illustrating a configuration example of a control system 100 according to a first embodiment of the present disclosure. The control system 100 includes a controller 110. The controller 110 supplies power to and controls a system device 17 via a communication line 16. The power supply voltage of the controller 110 is, for example, 24 V, and the current capacity is 500 mA. The wiring length of the communication line 16 is, for example, 500 m.
[0010] The controller 110 transmits a health check command, which will be described later, to each system device 17, and diagnoses the wiring state and abnormalities of each system device 17. Furthermore, the controller 110 notifies the lighting monitor 15 of the diagnosis result.
[0011] The amplifier 120 adds power supply capacity when the power supply current from the controller 110 is insufficient, such as when a large number of system devices 17 are connected. The power supply capacity that can be added is, for example, 500 mA. Also, when the system devices 17 are installed far from the controller 110, the wiring can be extended by 500 m by adding an amplifier 120. Up to five amplifiers 120 can be connected in series, but the number is not limited to this.
[0012] A plurality of sensor devices and an output device are connected to the controller 110 via a plurality of amplifiers 120. In this disclosure, the sensor devices, the output devices, and the amplifiers 120 are collectively referred to as a system device 17.
[0013] The sensor devices include an image sensor 3, an illuminance sensor 4, and a human presence sensor 5. Information from these multiple sensor devices is output to a controller 110 via a communication line 16.
[0014] The output devices include a dimming controller 6, a control terminal 8, lighting fixtures 9, a relay terminal 10, and a wall switch 12. The dimming controller 6(1) controls the dimming of lighting fixtures 9(1) to 9(3) via a dimming signal line 7. The dimming controller 6 can connect up to 72 lighting fixtures 9, but consumes a lot of power accordingly, so power is supplied from a commercial power source.
[0015] Dimming controller 6 controls the dimming of lighting fixture 9 so that the illuminance value measured by illuminance sensor 4 or image sensor 3 becomes a preset illuminance value. Similarly, based on information on the presence of a person detected by human presence sensor 5 or image sensor 3, dimming controller 6 controls the dimming of lighting fixture 9 so that a preset dimming ratio is reached.
[0016] The control terminal 8 is built into the lighting fixture 9 and controls the lighting fixture 9. The control terminal 8 changes the light source state of the lighting fixture 9 based on lighting control from the controller 110. Since the control terminal 8 is supplied with power from the controller 110, it can operate even if the commercial power supply to the lighting fixture 9 is turned off. Furthermore, the control terminal 8 can also detect the ON / OFF state of the commercial power connected to the lighting fixture 9.
[0017] The relay terminal device 10 collectively controls the lighting fixtures 9(6) and 9(7) via a remote control relay 11. There are two types of output of the relay terminal device 10 known: one-circuit output and four-circuit output, but either may be used in this disclosure. The relay terminal device 10 controls the remote control relay 11 with a 60 ms pulse signal that consumes little power.
[0018] Wall switch 12 operates a button to change the light source state of lighting fixture 9. Wall switch 12 stores address information and operation information of each lighting fixture 9 in association with each button. However, the address information and operation information are set for each lighting fixture 9 by infrared setting device 13, which will be described later.
[0019] The operation information of the lighting fixtures 9 is, for example, information for operating each lighting fixture 9 individually. Alternatively, the operation information is group information for collectively operating multiple lighting fixtures 9 in groups, zone information for collectively operating multiple lighting fixtures 9 in the same area, or lighting control pattern information that is frequently used by users. There are known types of wall switches 12, such as one-button type, two-button type, three-button type, four-button type, and eight-button type.
[0020] The infrared setting device 13 is, for example, a remote control. The infrared setting device 13 sets address information and operation information for each system device 17. The address information is information on the IP address and communication destination address of each system device 17. Furthermore, the infrared setting device 13 notifies the controller 110 of this information. The infrared setting device 13 can also set address information for the controller 110.
[0021] When each system device 17 receives a health check command from the controller 110, it responds by sending back information about its own wiring status and any abnormalities that have occurred within itself. Note that abnormalities that occur within a system device 17 include address duplication with other system devices 17, interface abnormalities, memory abnormalities, input circuit abnormalities, short circuit abnormalities, waveform delays, waveform distortions, and the like.
[0022] The lighting monitoring device 15 centrally manages address information of the system devices 17, wiring information to the controller 110, and operation information input from the controller 110 via the LAN 14. The lighting monitoring device 15 can display icons indicating each system device 17 on a monitoring screen. The icons can also be arranged on a layout diagram of the room in which each system device 17 is arranged. The lighting monitoring device 15 also has a schedule function that automatically operates the system devices 17 at a preset time.
[0023] <Modification> Note that the types and number of system devices 17 in FIG. 1 are merely an example, and may be determined as appropriate depending on the environment in which the control system 100 is installed.
[0024] The function of the lighting monitoring device 15 may be implemented in a cloud server. In that case, the same effects as described above can be obtained. Furthermore, by using a cloud database, it becomes possible to perform group management of multiple buildings, including the building in which the control system 100 is installed. Furthermore, by linking with a machine learning unit in the cloud server, detailed analysis of abnormal conditions in the control system 100 becomes possible.
[0025] 2 is a block diagram showing a detailed configuration example of the controller 110 according to the first embodiment of the present disclosure. The microcomputer 34 of the controller 110 includes a main processing unit 35. The main processing unit 35 creates data including the above-mentioned health check command (hereinafter referred to as health check data) for the system device 17 or relay data to be relayed by the amplifier 120, and notifies the fieldbus communication processing unit 36. The fieldbus communication processing unit 36 temporarily stores the received data in the fieldbus transmission / reception buffer 44 and outputs the data to the fieldbus communication circuit 32 bit by bit. Furthermore, the fieldbus communication circuit 32 modulates and converts the data into a signal format of a communication frame 70 described later. The signal of the communication frame 70 is output to the target system device 17 via the communication line 16.
[0026] On the other hand, when a signal including response data 71 described later is transmitted from the system device 17, the fieldbus communication circuit 32 converts the signal into a 5V signal that can be processed by the microcomputer 34. Furthermore, the fieldbus communication processing unit 36 converts the data structure. Furthermore, the main processing unit 35 identifies the system device 17 that is the source of the signal from the structure-converted data, and analyzes the contents of the data.
[0027] For example, if the sender of the data is the human presence sensor 5 and the content of the data indicates that there has been a change in the presence / absence of a person, the main processing unit 35 notifies the equipment LAN communications processing unit 37 of the data. The equipment LAN communications processing unit 37 temporarily stores the received data in the LAN transmission / reception buffer 45 and outputs it to the PHY circuit 33. The PHY circuit 33 converts the received data into UDP / IP protocol and notifies the lighting monitoring device 15. In this way, the lighting monitoring device 15 can be notified of the presence / absence of a person detected by the human presence sensor 5.
[0028] On the other hand, when a control command signal for the system device 17 is input from the lighting monitoring device 15, the PHY circuit 33 analyzes the UDP / IP protocol. Furthermore, the data structure is converted by the equipment LAN communication processing unit 37, and the data is processed by the main processing unit 35.
[0029] Furthermore, the main processing unit 35 stores address information, group information, pattern information, zone information, schedule information, etc. in a non-volatile memory 42. Meanwhile, the operating state of the system device 17 is stored in a RAM 43 capable of retaining data using a backup power source.
[0030] Furthermore, the main processing unit 35 lights up or flashes the LED display unit 46 to display the operating state of the controller 110, the wiring state of the LAN 14, an abnormality in the communication line 16, etc. The operating state of the controller 110 is a state such as stopped, started, normal, memory abnormality, etc. The wiring state of the LAN 14 is a state such as LINK, ACT, traffic abnormality, etc. An abnormality in the communication line 16 is a state such as overcurrent, short circuit abnormality, communication error, etc.
[0031] The schedule management unit 40 reads out the schedule information set in the non-volatile memory 42, and sets the time of the schedule to be executed in the RTC 41. When the set time arrives, the RTC 41 notifies the schedule management unit 40 of an alarm. When the alarm time arrives, the schedule management unit 40 executes the specified schedule.
[0032] The light emitting / receiving element 39 receives an infrared signal from the infrared setting device 13. The infrared signal includes address information and operation information of each system device 17. The light emitting / receiving element 39 converts the received infrared signal into a 5V electric signal and transmits it to the infrared communication unit 38. The infrared communication unit 38 converts the data structure into a format that can be analyzed by the microcomputer 34. The main processing unit 35 analyzes the data and stores the address information and operation information of each system device 17 in the non-volatile memory 42.
[0033] On the other hand, if the infrared signal from the infrared setter 13 contains a signal requesting address information, the main processing unit 35 reads the address information stored in the non-volatile memory 42 and notifies the infrared communication unit 38. The infrared communication unit 38 outputs the address information as a 5V electric signal to the light emitting / receiving element 39. The light emitting / receiving element 39 converts the electric signal into an infrared signal and transmits it to the infrared setter 13.
[0034] The power supply circuit 31 is connected to a commercial power supply 29 via a power supply line 30, and supplies 5V and 24V DC power to the microcomputer 34 and peripheral circuits.
[0035] The short circuit leakage detection circuit 47 monitors the signal waveform of the field bus communication circuit 32. If an abnormality is detected in the waveform, the short circuit leakage detection circuit 47 notifies the main processing unit 35 of the abnormality. The main processing unit 35 stores the abnormality information and the time of occurrence in the non-volatile memory 42.
[0036] <Modification> 2, the controller 110 executes the processing using the microcomputer 34 that includes a CPU and a memory and stores a program in the memory. However, the processing may be executed by a program using an integrated circuit such as an FPGA (Field Programmable Gate Array). The program may be provided by being recorded on a storage medium, or may be provided through a network. The same applies to the amplifier 120.
[0037] 3 is a block diagram showing a detailed configuration example of the amplifier 120 according to the first embodiment of the present disclosure. When a signal of a communication frame 70 is transmitted from the controller 110, the first fieldbus communication circuit 52 converts the signal into a signal that can be processed by the microcomputer 54. Furthermore, the fieldbus communication processing unit 56 analyzes the data. The main processing unit 55 determines whether the received data is relay data or health check data based on the data analysis result.
[0038] If the received data is relay data, the main processing unit 55 indicates that the received data is relay data and notifies the fieldbus communication processing unit 56 of the relay data. The fieldbus communication processing unit 56 outputs the notified data to the second fieldbus communication circuit 57. The second fieldbus communication circuit 57 modulates and converts the output data again so that it has the signal format of the communication frame 70. The converted signal is output to the relay destination system device 17 via the communication line 16. This makes it possible to relay the signal of the communication frame 70 from the controller 110 to the system device 17.
[0039] On the other hand, if the received data is health check data, the main processing unit 55 indicates that the received data is health check data and notifies the fieldbus communication processing unit 56 of the health check data. The fieldbus communication processing unit 56 executes a process of adding information indicating the amplifier 120 to the health check command (hereinafter referred to as an adding process). In the adding process, the fieldbus communication processing unit 56 adds information of the number assigned to the amplifier 120 (hereinafter referred to as amplifier information). For example, the amplifier information of the amplifier 120(1) is 0x01 in hexadecimal notation. The amplifier information of the amplifier 120(2) is 0x32. The amplifier information of the amplifier 120(3) is 0x33. By displaying in hexadecimal notation in this way, it is possible to display up to 15 amplifiers 120 in a distinguishable manner. Note that the initial value 0x00 indicates that no amplifier is connected. Note that the amplifier information does not have to be limited to the number assigned to the amplifier 120, and may be any value that can distinguish each amplifier 120.
[0040] Furthermore, the fieldbus communication processing unit 56 outputs the health check data that has been subjected to the additional processing to the second fieldbus communication circuit 57. The second fieldbus communication circuit 57 outputs the received health check data to the system device 17, similar to the case of relay data. In this way, the health check data can be relayed to the system device 17.
[0041] The signal waveform of the first field bus communication circuit 52 is monitored by a waveform detection circuit 53. If there is an abnormality in the waveform, such as waveform distortion 101 described below, the waveform detection circuit 53 notifies the main processing unit 55 of the details of the abnormality. The main processing unit 55 stores the abnormality information and the time of occurrence in non-volatile memory 59. Similarly, the signal waveform of the second field bus communication circuit 57 is also monitored by a short-circuit leakage detection circuit 58. The function of the short-circuit leakage detection circuit 58 is the same as that in FIG. 2, so a description thereof will be omitted.
[0042] It is desirable that the input and output of the communication line 16 of the amplifier 120 and the power supply circuit 51 are insulated from each other by a photocoupler in the first field bus communication circuit 52, and that the circuit configuration is such that noise on the input side communication line 16 does not affect the output side communication line 16.
[0043] Furthermore, the main processing unit 55 causes the LED display unit 62 to light up or blink to display the operating state of the amplifier 120 or an abnormality in the communication line 16. The operating state of the amplifier 120 is a state such as stopped, started, normal, memory abnormality, etc. Furthermore, an abnormality in the communication line 16 is a current overload, a short circuit, a communication error, etc.
[0044] The light emitting / receiving element 61 receives an infrared signal from the infrared setting device 13. The infrared signal includes address information of the amplifier 120. The light emitting / receiving element 61 converts the received infrared signal into a 5V electric signal and transmits it to the infrared communication unit 60. The infrared communication unit 60 converts the data structure into a format that can be analyzed by the microcomputer 54. The main processing unit 55 analyzes the data and stores the IP address and communication destination address for each system device 17 in the non-volatile memory 59.
[0045] On the other hand, if the infrared signal from the infrared setter 13 includes a signal requesting fault information of the system device 17, the main processing unit 55 reads the fault information stored in the non-volatile memory 59 and notifies the infrared communication unit 60 of the fault information. The infrared communication unit 60 outputs the fault information as a 5V electric signal to the light emitting / receiving element 61. The light emitting / receiving element 61 converts the electric signal into an infrared signal and transmits it to the infrared setter 13.
[0046] The power supply circuit 51 is connected to the commercial power supply 29 via a power supply line 50, and supplies 5V and DC 24V DC power to the microcomputer 54 and peripheral circuits.
[0047] <Modification> In the above description, the amplifier 120 mainly processes a signal from the controller 110. However, the signal may be from another amplifier 120. Furthermore, the amplifier 120 is not limited to processing downstream signals, and can also process upstream signals. The downstream direction is the direction starting from the controller 110 and heading toward each system device 17 via the amplifier 120, and the upstream direction is the opposite.
[0048] 4 is a diagram showing the frame configuration of a communication frame 70 transmitted by the controller 110 and response data 71 transmitted by the system device 17 according to the first embodiment of the present disclosure. The communication frame 70 includes a start bit 72 indicating the start position of the data, a priority 73 indicating the priority when signals collide, a response discrimination 74 requesting a response from the system device 17 and indicating that this is a health check command, an address type 75 indicating the model of the destination, an address 76 indicating the address of the destination, a data section 77, and a SUM 81.
[0049] The address types 75 are classified into seven types: the image sensor 3, the motion sensor 5, the illuminance sensor 4, the dimming controller 6, the control terminal device 8, the relay terminal device 10, and the wall switch 12. An address 76 is assigned to each system device 17.
[0050] The data section 77 is made up of a data length 78 indicating the length of the data section 77, a command identifier 79 indicating the type of command, and command data 80 indicating the value of the command.
[0051] SUM 81 is the sum of the data string from priority 73 to command data 80, and is used to check and correct errors in communication frame 70.
[0052] When the controller 110 transmits a communication frame 70 , after a wait time 82 , response data 71 is stored from the system device 17 and returned to the controller 110 .
[0053] 5 shows detailed specifications of the command identifier 79, the command code 83, and the command data 80 included in the communication frame 70 according to the first embodiment of the present disclosure. Here, the health check command will be mainly described.
[0054] The command data 80 of the health check command includes amplifier information D1. The response data 81 includes amplifier information D1, status information D2, and an abnormality code D3. The status information D2 indicates the status of each system device 17. For example, in the case of a health check command for the amplifier 120, the status information D2 stores the value of the current consumption during normal operation when no operation command is sent or received. The abnormality code D3 stores a code indicating the above-mentioned address duplication, interface abnormality, memory abnormality, input circuit abnormality, short circuit abnormality, waveform delay, waveform distortion, etc. detected by the system device 17. The values of the amplifier information D1, status information D2, and abnormality code D3 are overwritten by the amplifier information D1 of the command data 80 over the amplifier information D1 of the response data 81 in the system device 17 that has received the health check command, and the values of the status information D2 and abnormality code D3 store the status detected by the system device 17 and are returned to the controller 110.
[0055] On the other hand, the amplifier information D1 of the command data 80 indicates the wiring state of the amplifier 120 to each system device 17. The amplifier information D1 stores a value by the above-mentioned additional processing executed by the amplifier 120 that relays the communication frame 70 to the system device 17 that is the destination of the communication frame 70.
[0056] The amplifiers 120 connected to each system device 17 can be stored in a hierarchical structure. For example, when the control terminal 8(3) connected to the amplifier 120(3) in FIG. 1 receives the communication frame 70, the amplifier information D1 in the command data 80 is 0x32, 0x33, and 0x00. The first 0x32 indicates that the amplifier 120(2) is connected to the controller 110. The next 0x33 indicates that the amplifier 120(3) is connected in series downstream of the amplifier 120(2). The final 0x00 indicates that there is no amplifier 120, and indicates that the control terminal 8(3) is connected to the amplifier 120(3). In other words, the amplifier information D1 of the command data 80 of the communication frame 70 is 0x00, 0x00, 0x00 when transmitted by the controller, is 0x32, 0x00, 0x00 when relayed by the amplifier 120(2), and is 0x32, 0x33, 0x00 when relayed by the amplifier 120(3).
[0057] On the other hand, the command data 80 for the command identifier 79 other than the health check command has a simple data structure that does not include the amplifier information D1 of the amplifier 120, and is designed not to place a load on the communication traffic.
[0058] In this manner, in the control system 100 of the present disclosure, in response to a health check command transmitted by the controller 110 to each system device 17, the amplifier 120 that relays the health check command transmits amplifier information D1. This allows the controller 110 to grasp the wiring status of the amplifier 120 to each system device 17.
[0059] Here, in the conventional technology, the wiring state of the amplifier 120 can only be expressed when the amplifier 120 is connected in parallel to the controller 110, and cannot accommodate a series connection. On the other hand, in the present disclosure, different values are stored in the amplifier information depending on whether the amplifier is connected in series to the controller 110 or in parallel. This makes it possible to distinguish whether the connection is in series or parallel. In that the present disclosure also accommodates a series connection, it can accommodate all connection modes, and exhibits superior effects compared to the conventional technology.
[0060] 6 is a diagram showing (a) a signal waveform 90 of a downstream signal and (b) a signal waveform 91 of an upstream signal according to the first embodiment of the present disclosure. First, FIG. 6(a) shows a signal waveform 90 of a downstream signal without a temporary large current change. This signal includes a dummy signal 93 and a communication frame 70, and does not include a wait time 82. This signal is output, for example, from the fieldbus communication circuit 32 of the controller 110 and the first fieldbus communication circuit 52 of the amplifier 120. Hereinafter, the downstream signal will be referred to as a downstream signal.
[0061] 6(a), a signal waveform 90 of a downstream signal changes with a voltage of ±24 V. When the voltage is +24 V and the pulse width is 100 μS, it is defined as a logic level 0, and when the voltage is −24 V and the pulse width is 300 μS, it is defined as a logic level 1.
[0062] On the other hand, FIG. 6(b) shows a signal waveform 91 of an upstream signal. This signal includes response data 71 and is transmitted by the system device 17 in response to the downstream signal. Hereinafter, the upstream signal is referred to as an upstream signal. The signal waveform 91 of the upstream signal changes at a voltage of ±24V, similar to the downstream signal. However, in the section of the response data 71, if a 50 μS pulse signal is superimposed in the first 200 μS period of the pulse width 400 μS, it is determined to be a logical level 0, and if a 50 μS pulse signal is superimposed in the latter 200 μS period, it is determined to be a logical level 1. This allows the controller 110, which has received the upstream signal, to determine whether or not there is a response. Specifically, if the response determination 74 of the communication frame 70 returned from the system device 17 is a logical level 1, it is determined that there is a response, and the timing of the response data 71 comes after a wait time 82 of 1 ms.
[0063] Furthermore, when the system device 17 transmits an upstream signal without the communication frame 70 from the controller 110, a dummy signal 93 with a voltage of ±24V and a pulse width of 900 μS is transmitted.
[0064] FIG. 7 is a diagram showing details of a signal waveform according to the first embodiment of the present disclosure. The signal here refers to the above-mentioned downstream signal or upstream signal. FIG. 7(a) is a diagram explaining waveform distortion 101. Waveform distortion 101 occurs at the rising and falling edges of a signal due to the length of communication line 16, the number of branches, and the connection of system equipment 17. If waveform distortion 101 is large, a communication error occurs during reception. The voltage value RV and width W of waveform distortion 101 are detected by a waveform detection circuit of system equipment 17, and if it is equal to or greater than a reference value, it is recorded in non-volatile memory as a waveform abnormality together with the occurrence time and cumulative frequency.
[0065] FIG. 7(b) is a diagram for explaining the waveform delay 102. Since the input and output of the communication line 16 of the amplifier 120 are insulated by a photocoupler, when the amplifiers 120 are connected in series, a waveform delay 102 of 5 to 10 μS occurs. For example, when the amplifiers 120 are connected in five stages, the waveform delay 102 is W=50 μS as shown in FIG. 7(b). Also, if there is a loose connection in the terminal of the communication line 16, the contact resistance increases and affects the capacitance of the communication line, causing a waveform delay 102 at the rising edge of the signal. A signal including such a waveform delay 102 is also detected and recorded in the waveform detection circuit of the system device 17 that receives it, in the same way as in the case of the waveform distortion 101. The reference value for determining that the waveform delay 102 is abnormal is, for example, 100 μS.
[0066] FIG. 8 is a diagram illustrating a current waveform of a signal detected by the controller 110 according to the first embodiment of the present disclosure. The signal here refers to the above-mentioned upstream signal. The steady-state current consumption BI is detected by the short-circuit leakage detection circuit 47 of the controller 110 that has received the upstream signal. This makes it possible to measure the steady-state current consumption BI consumed by the system device 17 that has sent the upstream signal, and to detect an abnormality in the communication state between the controller 110 and the system device 17. When the steady-state current consumption BI is equal to or less than the reference value 500 mA as shown in FIG. 8(a), the controller 110 determines that the communication state is normal.
[0067] On the other hand, if the steady-state current consumption BI exceeds 500 mA, the controller 110 further judges whether the current value exceeds 800 mA. If the steady-state current consumption BI does not exceed 800 mA, the controller 110 judges that there is an abnormality in the component temperature of the fieldbus communication circuit 32 included in the controller 110. On the other hand, if the steady-state current consumption BI exceeds 800 mA as shown in FIG. 8(b), the controller 110 judges that a short circuit abnormality has occurred. When a short circuit abnormality is detected, the controller 110 stops output to the other system devices 17, and records the occurrence time and cumulative frequency of the short circuit abnormality in the non-volatile memory 42. Note that the value of the steady-state current consumption BI and the reference value for judging an abnormality described here are merely examples.
[0068] Furthermore, an imbalance in the steady-state consumption current BI may occur as shown in Fig. 8(c) If an imbalance occurs, the controller 110 handles it in the same way as a short circuit anomaly.
[0069] As described above, in the present disclosure, the steady-state current consumption and instantaneous current consumption can be measured and diagnosed from the current waveform of the upstream signal, and short circuit abnormalities can be detected. By using this function for measuring the steady-state current consumption, the maximum number of system devices 17 that can be connected can be grasped. For example, if the steady-state current consumption of the amplifier 120 is 350 mA and the rated current is 500 mA, the number of wall switches 12 that can be added to the amplifier 120 can be calculated to be up to 18, assuming that the current consumption per wall switch is 8 mA.
[0070] This calculation may be performed in the controller 110 or the lighting monitor 15. The controller 110 may monitor the number of system devices 17 connected to the amplifier 120, and may display an alarm if the number of system devices added exceeds the maximum number of connections.
[0071] <Modification> The short circuit leakage detection circuit 47 of the controller 110 can also detect leakage anomalies in the communication line 16 by monitoring the current difference between the output current and the return current of the communication line 16. The reference value of the current difference for determining leakage anomalies is, for example, 200 mA. Such leakage anomalies are also recorded in the non-volatile memory 42 in the same manner as short circuit anomalies.
[0072] Since the amplifier 120 also includes the short circuit / leakage detection circuit 58, the detection of short circuit / leakage anomalies can be performed not only in the controller 110 but also in the amplifier 120. In this case, short circuit / leakage anomalies can be detected not only in the upstream signal but also in the downstream signal.
[0073] 9 is a flowchart of a health check in the control system 100 according to the first embodiment of the present disclosure. First, the controller 110 and the system device 17 are powered on (step S01). Next, the controller 110 and the amplifier 120 diagnose whether or not there is a short circuit or an electrical leakage abnormality (step S02). The diagnosis period is, for example, 3 seconds.
[0074] Next, the controller 110 transmits a health check command to the address (step S03-1). When the amplifier 120(1) receives the health check command, it stores the status information D2, the fault code D3, and the amplifier information D1 in the command data 80 and returns it to the controller 110 (step S03-2). Note that since the amplifier 120(1) is directly connected to the controller 110, the amplifier information D1 becomes 00H, 00H, 00H.
[0075] Similarly, the controller 110 transmits a health check command addressed to the address of the amplifier 120(2) based on the address information notified by the infrared setter 13 (step S04). Furthermore, the controller 110 transmits a health check command addressed to the address of the amplifier 120(3) (step S05). Here, since the amplifier 120(3) is connected in series to the amplifier 120(2), the amplifier information D1 becomes 32H, 00H, and 00H.
[0076] Based on the amplifier information D1 returned from each of the amplifiers 120, the controller 110 executes a process (hereinafter referred to as a setting information confirmation process) to diagnose whether the wiring status of the amplifiers 120 to the controller 110 matches the wiring information held by the infrared setter 13 (step S06-1). Depending on the result of the setting information confirmation process, if correction of the wiring information held by the infrared setter 13 is necessary, the wiring information is corrected and updated. In addition, a process (hereinafter referred to as a result storage process) is executed to store the wiring information, status information D2, abnormality code D3, and amplifier information D1 obtained by the health check in the non-volatile memory 42 (step S06-2).
[0077] Next, the controller 110 transmits a health check command to the address of the dimming controller 6 based on the address information notified by the infrared setting device 13 (step S07). Note that additional processing is performed by the amplifier 120 that relays the command to the dimming controller 6, and the amplifier information D1 is stored.
[0078] Similarly, the controller 110 transmits a health check command to the address of the control terminal 8 based on the address information notified by the infrared setter 13 (step S08). For example, the amplifier information D1 of the control terminal 8(1) is 0x01, 0x00, 0x00. The first 0x01 indicates the amplifier 120(1).
[0079] Next, similarly to the case of the amplifier 120, the controller 110 executes a setting information confirmation process for the dimming controller 6 and the control terminal 8 (step S09-1). Furthermore, the controller 110 executes a result storage process (step S09-2). Note that, although a description is omitted, the same applies to the other system devices 17.
[0080] When the health checks of all the system devices 17 are completed, the controller 110 transmits a connected device notification to the lighting monitoring device 15 (step S10). The connected device notification includes information on the actual wiring status of the system devices 17 confirmed by the setting information confirmation process. Furthermore, the lighting monitoring device 15 creates system configuration information based on the received connected device notification, displays the information on the monitoring screen, and saves the information in non-volatile memory (step S11). It is preferable that the system configuration information can be output as a file in CSV format.
[0081] Next, the controller 110 broadcasts the time synchronization to the target system device 17 (step S12). After transmitting the time synchronization, the controller 110 performs a health check on the target system device 17 at regular intervals (steps S13 and S14). The regular interval is, for example, one second.
[0082] FIG. 10 is a sequence diagram of short circuit and leakage anomaly detection in the control system 100 according to the first embodiment of the present disclosure. The following describes an example in which a short circuit occurs between the amplifier 120 and the controller 110. First, a steady-state current consumption BI of 800 mA or more is detected in the short circuit and leakage detection circuit 58 of the amplifier 120(3), and a short circuit anomaly occurs (step S20). Next, the amplifier 120(3) stops output (step S20-1). Next, the amplifier 120(3) notifies the controller 110 of the occurrence of the short circuit (step S21). The occurrence of the short circuit may be notified by returning a health check command, or by another method.
[0083] Next, the controller 110 notifies the lighting monitoring device 15 of the occurrence of the short circuit in the amplifier 120(3) and the time of occurrence (step S22). The lighting monitoring device 15 displays the information of the short circuit in the amplifier 120(3) on a monitoring screen and stores it in non-volatile memory together with the time of occurrence information (step S23). Meanwhile, the amplifier 120(3) periodically outputs a voltage for inspection and checks whether the short circuit has been restored (steps S24 to S25).
[0084] Thereafter, amplifier 120(3) detects recovery from the short circuit (step S26). Amplifier 120(3) notifies controller 110 that the short circuit has been recovered (step S27). Controller 110 notifies lighting monitoring device 15 of the recovery from the short circuit in amplifier 120(3) (step S28). Lighting monitoring device 15 displays information about the recovery from the short circuit in amplifier 120(3) on a monitoring screen, and stores the information together with recovery time information in non-volatile memory (step S29).
[0085] Next, the controller 110 transmits a status monitor command to the control terminal 8(3) according to the actual wiring status of the system device 17 obtained by the health check (step S30). In response to this, the control terminal 8(3) notifies the controller 110 of its own status (step S31). The controller 110 notifies the lighting monitoring device 15 of the status information received from the control terminal 8(3) (step S32). The lighting monitoring device 15 displays the latest status of the control terminal 8(3) on the monitoring screen based on the received information (step S33). This makes it possible to check whether there is an abnormality in the control terminal 8(3) connected to the amplifier 120(3) in which a short circuit has occurred.
[0086] Subsequently, a short circuit abnormality occurs in the controller 110 (step S34-1). Next, the controller 110 stops output (step S34-2). Next, the controller 110 notifies the lighting monitoring device 15 of the occurrence of the short circuit (step S35). The lighting monitoring device 15 displays information about the occurrence of the short circuit in the controller 110 on a monitoring screen, and stores this information together with information about the time of occurrence in non-volatile memory (step S36). Meanwhile, the controller 110 periodically outputs an inspection voltage, and checks whether the short circuit has been restored (step S37).
[0087] Thereafter, the controller 110 detects the recovery from the short circuit (step S38). Accordingly, the controller 110 notifies the lighting monitoring device 15 of the recovery from the short circuit (step S39). The lighting monitoring device 15 displays information on the short circuit recovery in the controller 110 on a monitoring screen, and stores the information together with recovery time information in a non-volatile memory (step S40).
[0088] Furthermore, the controller 110 checks whether or not there is an abnormality in the dimming controller 6 connected to itself. Step S41 and subsequent steps are the same as steps S30 to S33, and therefore a description thereof will be omitted.
[0089] As described above, according to the present disclosure, it is possible to provide a control system 100 that can diagnose the wiring state of the system device 17 to the controller 110, regardless of whether the amplifier 120 is connected in series or in parallel.
[0090] <Modification> The setting of address information in the system device 17 and the controller 110 does not necessarily require the use of the infrared setting device 13. For example, the same effect can be obtained by setting and operating from an application on a mobile terminal device.
[0091] The additional processing performed by the amplifier 120 does not necessarily have to be performed on the downstream signal of the health check command transmitted from the controller 110, but may be performed on the upstream signal returned from the system device 17 in response to the health check command. [Explanation of symbols]
[0092] 3 image sensor, 4 illuminance sensor, 5 occupancy sensor, 6 dimmer controller, 7 dimmer signal line, 8 control terminal, 9 lighting fixture, 10 relay terminal, 11 remote control relay, 12 wall switch, 13 infrared setting device, 14 LAN, 15 lighting monitoring device, 16 communication line, 17 system equipment, 29 commercial power supply, 30 power line, 31 power supply circuit, 32 field bus communication circuit, 33 PHY circuit, 34 microcomputer, 35 main processing unit, 36 field bus communication processing unit, 37 facility LAN communication processing unit, 38 infrared communication unit, 39 light emitting / receiving element, 40 schedule management unit, 41 RTC, 42 non-volatile memory, 43 RAM, 44 field bus transmission / reception buffer, 45 LAN transmission / reception buffer, 46 LED display unit, 47 short circuit / leakage detection circuit, 50 power supply line, 51 power supply circuit, 52 first field bus communication circuit, 53 waveform detection circuit, 54 Microcomputer, 55 main processing unit, 56 field bus communication processing unit, 57 second field bus communication circuit, 58 short circuit leakage detection circuit, 59 non-volatile memory, 60 infrared communication unit, 61 light emitting / receiving element, 62 LED display unit, 70 communication frame, 71 response data, 72 start bit, 73 priority, 74 response discrimination, 75 address type, 76 address, 77 data unit, 78 data length, 79 command identifier, 80 command data, 81 SUM, 82 wait time, 83 command code, 90 downstream signal waveform, 91 upstream signal waveform, 93 dummy signal, 100 control system, 101 waveform distortion, 102 waveform delay, 110 controller, 120 amplifier
Claims
1. System equipment and A plurality of amplifiers; the controller transmitting a downstream health check command to the system device via a relay amplifier that relays the downstream health check command from the controller to the system device among the plurality of amplifiers; Equipped with The controller: a command transmission process for transmitting the downstream health check command addressed to a communication address of the system device; The system device that has received the downstream health check command A process of converting the downstream health-check command into an upstream health-check command; a return process of returning the upstream health check command to the controller; configured to run The relay amplifier includes: an addition process of adding amplifier information for identifying itself to the downstream health-check command or the upstream health-check command; a relay process of relaying the downstream health-check command or the upstream health-check command that has been subjected to the additional process; configured to run A control system, wherein the amplifier information has different values depending on whether the relay amplifier is connected in series to the controller or in parallel.
2. The control system according to claim 1 , further comprising a setting device that notifies the controller of the communication address.
3. The setting unit further includes wiring information indicating a wiring state of the system device to the controller, The controller: A process of receiving the downstream health-check command to which the additional process has been performed; A process of diagnosing the wiring information from the amplifier information; an update process for updating the wiring information based on a result of the diagnosis; The control system of claim 2 further configured to:
4. The downstream health check command further includes a command for requesting information on an abnormality occurring in the system device, The system device includes: The return process further includes a process of adding its own abnormality information to the upstream health check command and returning it, The command transmission process is executed at regular intervals, the return process is executed at regular intervals in response to the command transmission process, The control system according to claim 1 , wherein the controller further executes a process of monitoring the abnormality information.
5. the system device is the amplifier; In the return process, The control system according to claim 1 or 4, further comprising a process of adding said amplifier information of said control system to said upstream health check command and returning the command.
6. The amplifier and the controller Further comprising a short circuit leakage detection circuit for measuring a current waveform during a down signal period as a steady-state current consumption, When the measured value exceeds a reference value, a process of determining that a short circuit abnormality has occurred is further executed. the system device is the amplifier; The control system according to claim 4 , wherein the abnormality information is information about the short circuit abnormality.
7. The amplifier and the controller Further comprising a short circuit leakage detection circuit for measuring a current difference between a current of a signal transmitted to another amplifier or the system device via a communication line and a current of a signal returned in response to the transmitted signal, When the measured value exceeds the reference value, a process of determining that an electric leakage abnormality has occurred is further executed. The control system according to claim 4 , wherein the anomaly information is information about the electrical leakage anomaly.
8. A plurality of the system devices are provided, Further comprising a monitoring unit; The monitoring unit is A process of calculating a maximum number of system devices that can be connected to the amplifier based on the measurement result of the steady-state current consumption; A process of monitoring the number of connections of the system devices to the amplifier based on the maximum number of connections; The control system of claim 6 configured to execute the following:
Citation Information
Patent Citations
Hierarchical LAN management system
JP1992326640A
Remote monitoring control system
JP2007150610A
Communication system, wiring information collecting method and relaying apparatus
JP2008154171A
Master-slave system and node control method thereof
JP2014230097A
