WO2019026254A1 - Control device, equipment, facility management system, control method, and program - Google Patents

Control device, equipment, facility management system, control method, and program Download PDF

Info

Publication number
WO2019026254A1
WO2019026254A1 PCT/JP2017/028305 JP2017028305W WO2019026254A1 WO 2019026254 A1 WO2019026254 A1 WO 2019026254A1 JP 2017028305 W JP2017028305 W JP 2017028305W WO 2019026254 A1 WO2019026254 A1 WO 2019026254A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
frame
transmission
equipment
test frame
Prior art date
Application number
PCT/JP2017/028305
Other languages
French (fr)
Japanese (ja)
Inventor
卓也 向井
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2019533838A priority Critical patent/JP6833043B2/en
Priority to PCT/JP2017/028305 priority patent/WO2019026254A1/en
Publication of WO2019026254A1 publication Critical patent/WO2019026254A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Definitions

  • the present invention relates to a control device, equipment equipment, equipment management system, control method, and program.
  • Patent Document 1 monitors a signal flowing through a transmission path, and when a communication abnormality is detected, analyzes the distortion of the voltage waveform of the signal at the time of the communication abnormality detection to estimate the cause of the abnormality occurrence. It is disclosed.
  • the distortion of the voltage waveform may occur due to a failure of the communication system such as the communication line, the communication circuit, the connector or the like, a contact failure or the like, and may also occur due to a collision of signals on the communication line. Therefore, with the technology disclosed in Patent Document 1, it is not possible to determine whether distortion of the voltage waveform is caused by a failure in the communication system or caused by a signal collision, and communication quality is evaluated efficiently. It is difficult.
  • the present invention has been made in view of the above-mentioned circumstances, and an object thereof is to efficiently evaluate communication quality.
  • a control device is a control device that controls equipment connected via a communication line, and includes transmission means and transmission control means.
  • the transmitting means transmits a control frame for controlling the operation of the facility device and a test frame for causing the facility device to perform the communication quality evaluation to the facility device via the communication line.
  • the transmission control means controls the transmission means to transmit the test frame to the equipment within the control frame interval time set as the control frame transmission interval time.
  • the control device transmits the test frame for performing the communication quality evaluation to the equipment within the control frame interval time. Therefore, the test frame can be transmitted to the facility equipment at a timing at which the signal collision can be avoided, and the communication quality can be efficiently evaluated.
  • Block diagram showing the configuration of the control device
  • Block diagram showing the configuration of equipment Diagram for explaining the peak value, pulse width, sag, rise time, and fall time of each pulse of the voltage waveform
  • Flow chart showing the flow of test frame transmission processing
  • Flow chart showing the flow of communication quality evaluation processing
  • Flow chart showing a flow of test frame transmission processing according to the second embodiment Diagram for explaining the operation of each device when a signal collision occurs
  • the facility management system 1 includes a facility device 200 and a control device 100 that controls a plurality of facility devices 200.
  • the control device 100 and the facility device 200 are communicably connected to each other via the communication line CL, and have a carrier sense multiple access with collision detection (CSMA / CD), which is a communication control method of Ethernet (registered trademark).
  • CSMA / CD carrier sense multiple access with collision detection
  • Ethernet registered trademark
  • signals used for communication between control device 100 and facility equipment 200 any signal in a baseband method such as NRZ (Non Return to Zero) method, RZ (Return to Zero) method, AMI (Alternate Mark Inversion) method, etc.
  • a coding scheme can be applied.
  • equipment equipment 200 Although three equipment devices 200 are shown in FIG. 1, the number of equipment devices 200 provided in the equipment management system 1 is not limited to this, and any number of equipment devices 200 can be applied. Also, in the following, a plurality of equipment devices may be generically referred to or referred to as one of the equipment devices included in the equipment management system 1 as “equipment equipment 200”.
  • each device on the communication line constantly monitors whether a signal is flowing through the communication line, and after confirming that a no signal state where no signal is flowing has continued for a predetermined time period , Start sending data. Further, the device that transmits data collates the transmission data and the communication data on the transmission path in bit units, and detects a collision when the collation results differ. When a collision of signals on the communication line is detected, transmission of data is stopped, and a jam signal is transmitted to notify other devices that a collision has occurred. As a result, the device that has received the jam signal can reliably discard the data in which the collision has occurred. The device that detects the collision and stops transmission starts retransmitting data after a waiting time determined randomly from a plurality of candidates has elapsed.
  • the control device 100 controls the control device 100 in a centralized manner, a storage unit 120 stores various programs and data, a display unit 130 displaying an image, and an input unit for receiving user input. 140, the communication unit 150 that performs data communication with the facility device 200, and the signal detection unit 160 that detects a signal flowing through the communication line CL. Each of these parts is electrically connected to each other via a bus line BL.
  • the control unit 110 includes a computer having a central processing unit (CPU), a random access memory (RAM), a read only memory (ROM), and the like.
  • the control unit 110 controls each component of the control device 100 by the CPU reading out various operation programs stored in the ROM and executing them on the RAM.
  • the RAM functions as a buffer that temporarily stores, for example, frame interval information indicating the minimum time of the transmission interval of each frame, transmission state information indicating the transmission processing state of the communication unit 150, and the like.
  • the control unit 110 functionally includes a frame interval setting unit 111, a non-signal time measurement unit 112, a transmission state management unit 113, a transmission control unit 114, and a display control unit 115.
  • the frame interval setting unit 111 sets a frame interval time according to the type of command to be transmitted, and stores the set frame interval in the RAM as frame interval information.
  • the frame interval setting unit 111 normally sets the frame interval to a control frame interval time that is a transmission interval time of a control frame. Further, when the frame interval setting unit 111 receives an operation signal instructing communication quality evaluation from the user via the input unit 140, the frame interval time is set to transmit the test frame at an interval shorter than the control frame interval time.
  • the test frame interval time which is the test frame transmission interval time, is set.
  • the control frame interval time is 20 milliseconds
  • the test frame interval time is 10 milliseconds.
  • the control frame is a frame in which a control command for controlling the operation of the facility device 200 is stored.
  • the test frame is a frame that stores a test command that instructs the facility device 200 to execute communication quality evaluation.
  • the test frame includes information of a frame type and a frame length to distinguish it from the control frame.
  • the test frame preferably has a short data length in order to complete transmission of the entire frame in a short time.
  • the test frame may be transmitted to each of the facility devices 200 based on a transmission schedule previously set by the user, in addition to transmission according to the operation of the user.
  • the non-signal time measurement unit 112 measures a non-signal time which is a continuation time of the non-signal state where no signal flows on the communication line CL.
  • the no-signal time measurement unit 112 measures the no-signal time based on the detection signal input from the signal detection unit 160 using, for example, a counter built in the CPU.
  • the transmission state management unit 113 manages the transmission processing state of the communication unit 150.
  • the communication unit 150 is not executing transmission processing of a frame “not transmitted”, transmission processing of a control frame is being performed “control frame transmission in progress”, transmission processing of a test frame Is stored in the RAM as transmission state information, which state is "during test frame transmission”.
  • the transmission state management unit 113 appropriately updates the transmission state information based on the transmission request output from the transmission control unit 114 to the communication unit 150, the transmission result notification input from the communication unit 150, and the like.
  • the transmission control unit 114 controls the communication unit 150 to transmit a frame to the facility device 200.
  • the transmission control unit 114 generates a frame storing transmission data, and the communication unit 150 at the timing when the non-signal time measured by the non-signal time measurement unit 112 reaches the time set in the frame interval information stored in the RAM. And causes the communication unit 150 to start frame transmission.
  • the display control unit 115 controls the display unit 130 to display, for example, communication quality evaluation information received from the facility device 200.
  • the frame interval setting unit 111, the non-signal time measurement unit 112, the transmission state management unit 113, the transmission control unit 114, and the display control unit 115 may be realized by one computer, or may be realized by separate computers. It may be done.
  • the storage unit 120 includes a nonvolatile semiconductor memory whose storage content can be rewritten, a hard disk drive, and the like.
  • the storage unit 120 stores various programs used for the processing of the control unit 110, and various data such as input data and transmission / reception data.
  • the display unit 130 includes a display device such as a liquid crystal display (LCD) or an organic electro-luminescent (EL) display, and displays and outputs various information output from the control unit 110. Under the control of the control unit 110, the display unit 130 displays, for example, communication quality evaluation information received from the facility device 200.
  • a display device such as a liquid crystal display (LCD) or an organic electro-luminescent (EL) display
  • EL organic electro-luminescent
  • the input unit 140 includes a touch panel, operation buttons, and the like, receives data input by the user, an operation, and the like, and outputs a signal corresponding to the received input to the control unit 110.
  • the input unit 140 receives an operation of instructing communication quality evaluation by the user, and outputs that effect to the control unit 110.
  • the touch panel may include the display screen of the display unit 130 and a touch sensor provided so as to overlap with the display screen.
  • the communication unit 150 is a communication interface for communicating with the facility device 200, and transmits data to the facility device 200 and receives data from the facility device 200 under the control of the control unit 110.
  • the communication unit 150 executes the transmission process in response to the transmission request of the control unit 110, the communication unit 150 outputs a transmission result notification indicating transmission completion or transmission error to the control unit 110. Further, when the communication unit 150 executes the reception process, the communication unit 150 outputs a reception result notification indicating reception completion or reception error to the control unit 110. If the received frame is not addressed to the own apparatus, the communication unit 150 discards the frame without notifying the control unit 110.
  • the signal detection unit 160 detects whether a signal is flowing on the communication line CL.
  • the signal detection unit 160 includes, for example, a voltage sensor, constantly monitors the voltage of the communication line CL, and outputs the presence or absence of detection of a signal to the control unit 110.
  • the facility device 200 includes a control unit 210 that generally controls the facility device 200, a storage unit 220 that stores various programs and data, and a communication unit that performs data communication with the control device 100 and the facility device 200. 230, the voltage acquisition part 240 which acquires the voltage value of the communication line CL is provided. Each of these parts is electrically connected to each other via a bus line BL.
  • the control unit 210 includes a computer having a CPU, a RAM, a ROM, and the like.
  • the control unit 210 controls each component of the facility device 200 by reading out various operation programs stored in the ROM and executing them on the RAM.
  • control unit 210 has a frame interval setting unit 211, a non-signal time measurement unit 212, a transmission state management unit 213, a transmission control unit 214, a measured waveform acquisition unit 215, a theoretical waveform acquisition unit 216, and a communication quality evaluation unit It has 217.
  • the frame interval setting unit 211 sets a frame interval time, and stores the set frame interval time in the RAM as frame interval information.
  • the frame interval setting unit 211 differs from the frame interval setting unit 111 of the control device 100, for example, after setting the frame interval time to the control frame interval time at the time of initial setting according to the powering-down of the facility device 200. There is no change. That is, the equipment 200 always transmits the control frame to the outside based on the control frame interval time.
  • the non-signal time measurement unit 212 measures a non-signal time which is a continuation time of the non-signal state where no signal flows on the communication line CL.
  • the non-signal time measurement unit 212 measures the non-signal time based on the voltage detection signal input from the voltage acquisition unit 240 using, for example, a counter built in the CPU.
  • the transmission state management unit 213 manages the transmission processing state of the communication unit 230.
  • the communication unit 230 does not execute transmission processing of a frame “not transmitted”, transmission processing of a control frame is being performed “control frame transmission in progress”, transmission processing of a test frame Is stored in the RAM as transmission state information, which state is "during test frame transmission”.
  • the transmission state management unit 213 appropriately updates the transmission state information based on the transmission request output from the transmission control unit 214 to the communication unit 230, the transmission result notification input from the communication unit 230, and the like.
  • the transmission control unit 214 controls the communication unit 230 to transmit a frame to the outside.
  • the transmission control unit 214 generates a frame storing transmission data, and the communication unit 230 at the timing when the non-signal time measured by the non-signal time measurement unit 212 reaches the time set in the frame interval information stored in the RAM. And causes the communication unit 230 to start frame transmission.
  • the measured waveform acquisition unit 215 specifies the voltage waveform corresponding to the test frame received through the communication unit 230 from the voltage value of the communication line CL for a certain period input from the voltage acquisition unit 240, and measures the specified voltage waveform. It is stored in the storage unit 220 as waveform information.
  • the theoretical waveform acquisition unit 216 reads theoretical waveform information stored in advance in the storage unit 220, and acquires a theoretical waveform indicating an ideal voltage waveform of the test frame.
  • the communication quality evaluation unit 217 compares the measured waveform of the test frame indicated by the measured waveform information stored in the storage unit 220 with the theoretical waveform of the test frame acquired by the theoretical waveform acquisition unit 216, and It is evaluated whether the difference between the peak value, the sag, the pulse width, the rise time, and the fall time is within a predetermined allowable range.
  • the theoretical waveform of the test frame is derived from the theoretical value of the voltage applied to the communication line CL according to each bit when the control device 100 transmits the test frame.
  • the frame interval setting unit 211, the non-signal time measurement unit 212, the transmission state management unit 213, the transmission control unit 214, the measured waveform acquisition unit 215, the theoretical waveform acquisition unit 216, and the communication quality evaluation unit 217 are realized by one computer. Or each may be implemented by a separate computer.
  • the storage unit 220 includes a nonvolatile semiconductor memory whose storage content can be rewritten, a hard disk drive, and the like.
  • the storage unit 220 stores various programs used for the processing of the control unit 210, various data such as input data and transmission / reception data.
  • the storage unit 220 includes theoretical waveform information indicating a theoretical waveform of a test frame transmitted from the control device 100, tolerance range information indicating an allowable range of a difference between an actually measured waveform and an evaluation element of the theoretical waveform, and an actually measured waveform of a test frame. Stores measured waveform information indicating.
  • the communication unit 230 is a communication interface for communicating with the control device 100, and transmits data to the control device 100 and receives data from the control device 100 under the control of the control unit 210.
  • the voltage acquisition unit 240 acquires voltage values of signals transmitted to and from the control device 100 via the communication line CL.
  • the voltage acquisition unit 240 includes, for example, a voltage sensor and an AD (Analog to Digital) converter, samples the voltage value of the communication line CL every fixed period, converts it into a digital value, and outputs the digital value.
  • AD Analog to Digital
  • test frame transmission processing executed by the control unit 110 of the control device 100 will be described with reference to the flowchart shown in FIG.
  • the test frame transmission process is a process of transmitting a test frame for signal analysis while transmitting each frame to the facility device 200.
  • Control unit 110 starts test frame transmission processing in response to, for example, receiving an operation of instructing communication quality evaluation by the user via input unit 140.
  • control unit 110 When the test frame transmission process is started, the control unit 110 first generates a test frame addressed to the facility device 200 to be subjected to communication quality evaluation (step S101).
  • control unit 110 determines whether the transmission state of the communication unit 150 is "non-transmission" (step S102).
  • the control unit 110 refers to the transmission state information stored in the RAM to determine whether or not "non-transmission", and confirms whether or not the transmission of the control frame executed in advance is completed. If it is determined that the transmission state is not "non-transmission" (step S102; NO), the control unit 110 repeats the process of step S102 and stands by until the transmission state becomes "non-transmission".
  • step S102 when it is determined that the transmission state is "non-transmission" (step S102; YES), the control unit 110 sets the transmission state of the communication unit 150 to "under test frame transmission” (step S103). Specifically, the transmission state management unit 113 of the control unit 110 changes the transmission state information stored in the RAM to “during test frame transmission”.
  • the control device 100 and the facility device 200 normally waits for transmission of a frame until the control frame interval time elapses. Do.
  • the control unit 110 sets the transmission state to “during test frame transmission” to execute the following processing in order to transmit the test frame while the frame device 200 is waiting for frame transmission.
  • Control unit 110 sets the frame interval time to the test frame interval time (step S104). Specifically, the frame interval setting unit 111 of the control unit 110 changes the frame interval information stored in the RAM to the test frame interval time.
  • the test frame interval time is shorter than the normal control frame interval time, and is, for example, 10 milliseconds.
  • control unit 110 determines whether the no signal time has reached the test frame interval time (step S105).
  • the control unit 110 determines with reference to the non-signal time measured by the non-signal time measurement unit 112, that is, the count value of the built-in counter.
  • the control unit 110 repeats the process of step S105 and waits until the non-signal time reaches the test frame interval time. .
  • step S105 when it is determined that the no-signal time has reached the test frame interval time (step S105; YES), the control unit 110 outputs a test frame transmission request to the communication unit 150 (step S106).
  • the communication unit 150 that has received the test frame transmission request transmits the test frame.
  • control unit 110 determines whether a transmission result notification has been input from the communication unit 150 (step S107). When it is determined that the transmission result notification has not been input (step S107; NO), the control unit 110 repeats the processing of step S107 and waits until the transmission result notification is input.
  • step S107 If it is determined that the transmission result notification has been input (step S107; YES), the control unit 110 sets the frame interval time to the control frame interval time (step S108). Then, the control unit 110 sets the transmission state to "non-transmission" (step S109), and ends the test frame transmission process.
  • the communication quality evaluation process is a process of evaluating the communication quality between the control device 100 and the facility device 200 by comparing the measured waveform of the test frame and the theoretical waveform. In response to receiving the test frame from control device 100, control unit 210 executes communication quality evaluation processing.
  • the control unit 210 When the communication quality evaluation process is started, the control unit 210 first acquires the measured waveform of the test frame (step S201). Specifically, the measured waveform acquisition unit 215 of the control unit 210 refers to the measured waveform information stored in the storage unit 220, and acquires the measured waveform of the test frame.
  • control unit 210 acquires a theoretical waveform of a test frame (step S202). Specifically, the theoretical waveform acquisition unit 216 of the control unit 210 reads out and acquires the theoretical waveform of the test frame indicated by the theoretical waveform information stored in the storage unit 220 from the storage unit 220.
  • the communication quality evaluation unit 217 After acquiring the measured waveform and the theoretical waveform of the test frame, the communication quality evaluation unit 217 compares the measured waveform and the theoretical waveform to evaluate the communication quality between itself and the control device 100 (step S203). .
  • the communication quality evaluation unit 217 determines the tolerance range information stored in the storage unit 220 for each difference between the peak value, sag, pulse width, rise time, and fall time of each bit of the measured waveform and the theoretical waveform of the test frame. It is determined whether or not it is within the indicated allowable range. Then, the communication quality evaluation unit 217 evaluates whether the communication quality is appropriate according to, for example, the ratio of the number of bits of which the difference exceeds the allowable range to the total number of bits.
  • control unit 210 controls the communication unit 230 to transmit communication quality evaluation information indicating the evaluation result of communication quality to the control device 100 (step S204), and performs communication quality evaluation processing. finish.
  • the control device 100 transmits the test frame to the facility device 200 within the control frame interval time set as the control frame transmission interval.
  • the facility device 200 transmits the test frame for instructing the execution of the communication quality evaluation to the facility device 200 during the frame transmission standby time of the facility device 200.
  • the facility device 200 receives the voltage waveform of the received test frame.
  • Control device 100 further includes a no-signal time measurement unit 112 that measures a no-signal time when no signal flows through communication line CL, and the timing when the no-signal time reaches a test frame interval time shorter than the control frame interval time. Then, the test frame is transmitted to the equipment 200. As a result, a test frame in which no signal collision has occurred can be reliably transmitted to the facility device 200 during the frame transmission standby time of the facility device 200, and communication quality can be efficiently evaluated.
  • the control apparatus 100 transmits the test frame to the equipment 200 at the timing when the signal collision within the transmission interval of the control frame is less likely to occur in the first embodiment
  • the transmission timing of the test frame is not limited to this.
  • an example will be described in which the accuracy of evaluation of communication quality is enhanced by transmitting a test frame at a timing at which the possibility of a signal collision is low.
  • the second embodiment Since the configuration of the facility management system according to the second embodiment is the same as that of the first embodiment, the second embodiment will be described using the reference numerals used in the first embodiment, and the detailed description thereof will be described. I omit it.
  • the test frame transmission process performed by the control unit 110 of the control device 100 according to the second embodiment is a process of transmitting a dummy frame and a test frame.
  • the dummy frame is a frame storing a dummy command that does not cause the facility device 200 to execute effective processing, and is transmitted to the facility device 200 prior to transmission of a test frame. That is, the control device 100 transmits a test frame to the facility device 200 within this period after securing a standby time for frame transmission of the facility device 200 by transmitting a dummy frame before sending a test frame. Two frames, a dummy frame and a test frame, are transmitted within the control frame interval time.
  • Control unit 110 starts test frame transmission processing in response to, for example, receiving an operation instructing the start of communication evaluation by the user via input unit 140.
  • control unit 110 When the test frame transmission process is started, the control unit 110 first generates a dummy frame and a test frame addressed to the facility device 200 that is the target of communication quality evaluation (step S301).
  • control unit 110 determines whether the transmission state of the communication unit 150 is "non-transmission" (step S302).
  • the control unit 110 refers to the transmission state information stored in the RAM to determine whether or not "non-transmission", and confirms whether or not the transmission of the control frame executed in advance is completed.
  • the control unit 110 repeats the process of step S302 and stands by until the transmission state becomes "non-transmission".
  • step S302 when it is determined that the transmission state is "non-transmission" (step S302; YES), the control unit 110 sets the transmission state of the communication unit 150 to "under test frame transmission” (step S303).
  • the transmission state management unit 113 sets the transmission state information stored in the RAM to “during test frame transmission”.
  • Control unit 110 sets the frame interval time to the dummy frame interval time (step S304).
  • the transmission state management unit 113 sets the frame interval information stored in the RAM as the dummy frame interval time.
  • the dummy frame interval time is sufficiently shorter than the normal control frame interval time, for example, 5 milliseconds.
  • control unit 110 determines whether the non-signal time has reached the dummy frame interval time (step S305). If it is determined that the non-signal time has not reached the dummy frame interval time (step S305; NO), the control unit 110 repeats the process of step S305 and waits until the non-signal time reaches the dummy frame interval time. .
  • the control unit 110 outputs a transmission request for a dummy frame to the communication unit 150 (step S306).
  • the communication unit 150 that has received the dummy frame transmission request transmits the dummy frame.
  • the facility device 200 that has received the dummy frame discards the dummy frame without performing special processing, including the facility device 200 that is the destination of the dummy frame.
  • the control unit 110 After outputting a transmission request for a dummy frame to the communication unit 150, the control unit 110 determines whether a transmission result notification has been input from the communication unit 150 (step S307). If it is determined that the transmission result notification has not been input (step S307; NO), the control unit 110 repeats the process of step S307 and waits until the transmission result notification is input.
  • the control unit 110 sets the frame interval time to the test frame interval time (step S308). Specifically, the frame interval setting unit 111 of the control unit 110 sets the frame interval information stored in the RAM as the test frame interval time. Also, when the communication unit 150 completes the transmission of the dummy frame, the no-signal time measurement unit 112 of the control unit 110 restarts the measurement of the no-signal time.
  • control unit 110 determines whether the no signal time has reached the test frame interval time (step S309).
  • the control unit 110 determines whether the measurement time by the no-signal time measurement unit 112 has reached the test frame interval time set in the frame interval information. If it is determined that the non-signal time has not reached the test frame interval time (step S309; NO), the control unit 110 repeats the process of step S309 and waits until the non-signal time reaches the test frame interval time. .
  • step S309 If it is determined that the no signal time has reached the test frame interval time (step S309; YES), the control unit 110 outputs a test frame transmission request to the communication unit 150 (step S310).
  • the communication unit 150 that has received the test frame transmission request transmits the test frame.
  • the facility apparatus 200 at the test frame destination compares the measured waveform of the test frame with the theoretical waveform to evaluate the communication quality, as in the first embodiment. Then, the facility device 200 transmits communication quality evaluation information to the control device 100.
  • control unit 110 After outputting the test frame transmission request to the communication unit 150, the control unit 110 determines whether a transmission result notification has been input from the communication unit 150 (step S311). If it is determined that the transmission result notification has not been input (step S311; NO), the control unit 110 repeats the process of step S311 and waits until the transmission result notification is input.
  • step S311 If it is determined that the transmission result notification has been input (step S311; YES), the control unit 110 sets the frame interval time to the control frame interval time (step S312), and after setting the transmission state to "non-transmission" (step S312) Step S313) The test frame transmission process ends.
  • the control device 100 sequentially transmits the dummy frame and the test frame to the facility device 200 within the control frame interval time.
  • the test frame can be transmitted at a timing at which the possibility of the signal collision is further reduced, and the communication quality can be evaluated more efficiently. it can.
  • the control device 100 and the control device 200 may evaluate the communication quality with each other.
  • the facility management system 1 may include a facility management device that manages the control device 100 and the facility device 200.
  • the facility management device may manage communication quality evaluation information between the devices in an integrated manner.
  • the function of the signal detection unit 160 of the control device 100 is realized by the communication interface included in the communication unit 150
  • the function of the voltage acquisition unit 240 of the facility device 200 is realized by the communication interface included in the communication unit 230.
  • the signal detection unit 160 and the voltage acquisition unit 240 may be omitted.
  • the operation program executed by the CPU provided in the control device 100 and the facility device 200 is stored in advance in the ROM.
  • the present invention is not limited to this, and the operation program for executing the above-described various processes may be implemented in the above general-purpose computer, a framework, a work station, etc. according to the above embodiment. It may function as a device corresponding to the control device 100 or the facility device 200.
  • a method for providing such a program is arbitrary, and for example, it can be distributed by being stored in a computer readable recording medium (flexible disc, CD (Compact Disc) -ROM, DVD (Digital Versatile Disc), etc.). It may be provided by storing the program in a storage on the network such as the Internet and downloading it.
  • a computer readable recording medium flexible disc, CD (Compact Disc) -ROM, DVD (Digital Versatile Disc), etc.
  • It may be provided by storing the program in a storage on the network such as the Internet and downloading it.
  • the application program When the above process is executed by sharing the OS (Operating System) and the application program, or in cooperation with the OS and the application program, only the application program may be stored in the recording medium or the storage. It is also possible to superimpose a program on a carrier wave and distribute it via a network. For example, the program may be posted on a Bulletin Board System (BBS) on a network, and the program may be distributed via the network. Then, this program may be activated and designed to execute the above-described processing by executing the same as other application programs under the control of the OS.
  • BSS Bulletin Board System
  • the present invention can be suitably adopted in a facility management system that manages a plurality of facility devices.

Abstract

The control device (100) controls equipment interconnected via a communication line and is provided with a communication unit (150) and a transmission control part (114). The communication unit (150) transmits to the equipment via the communication line a control frame for controlling operations of the equipment and a test frame for causing the equipment to evaluate communication quality. The transmission control part (114) controls the communication unit (150) so as to transmit the test frame to the equipment within the duration of a control frame interval, this being an interval of time set as the transmission interval for the control frame.

Description

制御装置、設備機器、設備管理システム、制御方法、及びプログラムCONTROL DEVICE, FACILITY EQUIPMENT, FACILITY MANAGEMENT SYSTEM, CONTROL METHOD, AND PROGRAM
 本発明は、制御装置、設備機器、設備管理システム、制御方法、及びプログラムに関する。 The present invention relates to a control device, equipment equipment, equipment management system, control method, and program.
 複数の設備機器を管理する設備管理システムにおいて通信品質を評価するための技術の開発が進められている。例えば、特許文献1は、伝送路を流れる信号を監視し、通信異常を検出した際に、通信異常検出時の信号の電圧波形の歪みを解析して異常発生の原因を推定する異常検出装置を開示している。 Development of technology for evaluating communication quality in a facility management system that manages a plurality of facility devices is in progress. For example, Patent Document 1 monitors a signal flowing through a transmission path, and when a communication abnormality is detected, analyzes the distortion of the voltage waveform of the signal at the time of the communication abnormality detection to estimate the cause of the abnormality occurrence. It is disclosed.
特開2007-318471号公報Japanese Patent Application Publication No. 2007-318471
 電圧波形の歪みは、通信線、通信回路、コネクタ等の通信系の劣化、接触不良等の不具合によって発生するほか、通信線上の信号の衝突によって発生する場合がある。したがって、特許文献1が開示する技術では、電圧波形の歪みが、通信系の不具合に起因するものか、信号衝突に起因するものかを判別することができず、通信品質を効率的に評価することが困難である。 The distortion of the voltage waveform may occur due to a failure of the communication system such as the communication line, the communication circuit, the connector or the like, a contact failure or the like, and may also occur due to a collision of signals on the communication line. Therefore, with the technology disclosed in Patent Document 1, it is not possible to determine whether distortion of the voltage waveform is caused by a failure in the communication system or caused by a signal collision, and communication quality is evaluated efficiently. It is difficult.
 本発明は、上述のような事情に鑑みてなされたものであり、通信品質を効率的に評価することを目的とする。 The present invention has been made in view of the above-mentioned circumstances, and an object thereof is to efficiently evaluate communication quality.
 上記の目的を達成するため、本発明に係る制御装置は、通信線を介して接続された設備機器を制御する制御装置であって、送信手段、送信制御手段を備える。送信手段は、設備機器の動作を制御するための制御フレームと、設備機器に通信品質評価を実行させるためのテストフレームを、通信線を介して設備機器に送信する。送信制御手段は、テストフレームを、制御フレームの送信間隔時間として設定された制御フレーム間隔時間の期間内に設備機器に送信するべく送信手段を制御する。 In order to achieve the above object, a control device according to the present invention is a control device that controls equipment connected via a communication line, and includes transmission means and transmission control means. The transmitting means transmits a control frame for controlling the operation of the facility device and a test frame for causing the facility device to perform the communication quality evaluation to the facility device via the communication line. The transmission control means controls the transmission means to transmit the test frame to the equipment within the control frame interval time set as the control frame transmission interval time.
 本発明によれば、制御装置は、通信品質評価を実行させるためのテストフレームを制御フレーム間隔時間内に設備機器に送信する。このため、テストフレームを、信号衝突を回避し得るタイミングで設備機器に送信することができ、通信品質を効率的に評価することができる。 According to the present invention, the control device transmits the test frame for performing the communication quality evaluation to the equipment within the control frame interval time. Therefore, the test frame can be transmitted to the facility equipment at a timing at which the signal collision can be avoided, and the communication quality can be efficiently evaluated.
本発明の実施の形態1に係る設備管理システムの構成を示す図The figure which shows the structure of the equipment management system which concerns on Embodiment 1 of this invention. 制御装置の構成を示すブロック図Block diagram showing the configuration of the control device 設備機器の構成を示すブロック図Block diagram showing the configuration of equipment 電圧波形の各パルスの波高値、パルス幅、サグ、立ち上がり時間、立ち下がり時間を説明するための図Diagram for explaining the peak value, pulse width, sag, rise time, and fall time of each pulse of the voltage waveform テストフレーム送信処理の流れを示すフローチャートFlow chart showing the flow of test frame transmission processing 通信品質評価処理の流れを示すフローチャートFlow chart showing the flow of communication quality evaluation processing 実施の形態2に係るテストフレーム送信処理の流れを示すフローチャートFlow chart showing a flow of test frame transmission processing according to the second embodiment 信号衝突が発生した場合の各装置の動作を説明するための図Diagram for explaining the operation of each device when a signal collision occurs
 以下、本発明の実施の形態に係る設備管理システムについて、図面を参照しながら説明する。ここでは、設備機器の設備管理を行う設備管理システムを例に説明する。 Hereinafter, an equipment management system according to an embodiment of the present invention will be described with reference to the drawings. Here, an equipment management system for managing equipment of equipment will be described as an example.
(実施の形態1)
 図1に示すように、本発明の実施の形態1に係る設備管理システム1は、設備機器200と、複数の設備機器200を制御する制御装置100とを備える。制御装置100と設備機器200は、通信線CLを介して相互に通信可能に接続され、イーサネット(登録商標)の通信制御方式である、CSMA/CD(Carrier Sense Multiple Access with Collision Detection)勝ち残り方式を用いてシリアル通信を行う。また、制御装置100と設備機器200の通信に用いられる信号には、NRZ(Non Return to Zero)方式、RZ(Return to Zero)方式、AMI(Alternate Mark Inversion)方式等のバースバンド方式における任意の符号化方式を適用することができる。
Embodiment 1
As shown in FIG. 1, the facility management system 1 according to the first embodiment of the present invention includes a facility device 200 and a control device 100 that controls a plurality of facility devices 200. The control device 100 and the facility device 200 are communicably connected to each other via the communication line CL, and have a carrier sense multiple access with collision detection (CSMA / CD), which is a communication control method of Ethernet (registered trademark). Use serial communication. Further, as signals used for communication between control device 100 and facility equipment 200, any signal in a baseband method such as NRZ (Non Return to Zero) method, RZ (Return to Zero) method, AMI (Alternate Mark Inversion) method, etc. A coding scheme can be applied.
 なお、図1には、設備機器200が3つ示されているが、設備管理システム1が備える設備機器200の個数はこれに限られず、任意の数の設備機器200が適用可能である。また、以下では、複数の設備機器を総称して、または、設備管理システム1に含まれる設備機器の1つを指して、「設備機器200」と示す場合がある。 Although three equipment devices 200 are shown in FIG. 1, the number of equipment devices 200 provided in the equipment management system 1 is not limited to this, and any number of equipment devices 200 can be applied. Also, in the following, a plurality of equipment devices may be generically referred to or referred to as one of the equipment devices included in the equipment management system 1 as “equipment equipment 200”.
 通常のCSMA/CD方式では、通信線上の各装置は、通信線に信号が流れていないかを常に監視し、信号が流れていない無信号状態が予め定められた期間継続したことを確認した後、データの送信を開始する。また、データを送信する装置は、送信データと伝送路上の通信データをビット単位で照合し、照合結果が異なる場合に衝突を検知する。通信線上の信号の衝突を検知した場合には、データの送信を停止し、衝突が発生したことを他の装置に知らせるジャム信号を送信する。これにより、ジャム信号を受信した装置は、衝突が発生したデータを確実に破棄することができる。衝突を検知して送信を停止した装置は、複数の候補からランダムに決定される待機時間の経過後に、データの再送信を開始する。 In the usual CSMA / CD system, each device on the communication line constantly monitors whether a signal is flowing through the communication line, and after confirming that a no signal state where no signal is flowing has continued for a predetermined time period , Start sending data. Further, the device that transmits data collates the transmission data and the communication data on the transmission path in bit units, and detects a collision when the collation results differ. When a collision of signals on the communication line is detected, transmission of data is stopped, and a jam signal is transmitted to notify other devices that a collision has occurred. As a result, the device that has received the jam signal can reliably discard the data in which the collision has occurred. The device that detects the collision and stops transmission starts retransmitting data after a waiting time determined randomly from a plurality of candidates has elapsed.
 勝ち残り方式では、ほぼ同時にデータ送信を開始した複数の装置のうち、衝突を検知した装置はデータ送信を停止する一方、衝突を検知しなかった装置はデータ送信を停止することなく続行し、データを最後まで送信する。 In the winning method, among a plurality of devices which started data transmission almost simultaneously, a device which detects collision stops data transmission, while a device which does not detect collision continues without stopping data transmission, Send to the end.
 図8を参照しながら、通信線上で装置Aと装置Bの送信信号の衝突が発生した場合の各装置の動作について説明する。以下の説明では、NRZ方式を採用し、電位Eの信号が「1」を示し、電位0の信号が「0」を示す。また、通信線上のデータは、1以上の装置が「0」を送信した場合には「0」、全装置が「1」を送信した場合には「1」となって表れる。図8に示すように、装置Aは、5ビット目に「1」を送信したにも関わらず、通信線上では「0」となっているため、衝突を検知して次ビット以降の送信を停止する。一方、装置Bは、送信データと通信線上のデータとが一致しているため、勝ち残ってデータの送信を続行する。 The operation of each device when a collision of the transmission signals of the device A and the device B occurs on the communication line will be described with reference to FIG. In the following description, the NRZ method is adopted, the signal of potential E indicates "1" and the signal of potential 0 indicates "0". Also, the data on the communication line appears as "0" when one or more devices transmit "0" and as "1" when all the devices transmit "1". As shown in FIG. 8, since device A is “0” on the communication line even though “1” is transmitted to the 5th bit, a collision is detected and transmission of the next and subsequent bits is stopped. Do. On the other hand, since the transmission data and the data on the communication line coincide with each other, the device B wins and continues the transmission of the data.
 上記の例では、装置Bは、衝突が発生してもそれを検知することなく、データ送信を続行するが、装置Bが送信したデータの電圧波形には衝突に起因する歪みが生じることがある。そのため、装置Bの送信データを受信した装置A以外の装置は、電圧波形の歪みが、信号の衝突によるものか、通信系の不具合によるものかを切り分けることが困難となる。 In the above example, although device B continues data transmission without detecting even if a collision occurs, distortion due to the collision may occur in the voltage waveform of data transmitted by device B . Therefore, it becomes difficult for devices other than the device A that received the transmission data of the device B to distinguish whether the distortion of the voltage waveform is due to a signal collision or a failure of the communication system.
 次に、設備管理システム1が備える制御装置100、設備機器200の各構成について説明する。 Next, each configuration of the control device 100 and the equipment 200 included in the equipment management system 1 will be described.
 制御装置100は、図2に示すように、制御装置100を統括的に制御する制御部110、各種プログラムおよびデータを記憶する記憶部120、画像を表示する表示部130、ユーザ入力を受け付ける入力部140、設備機器200とデータ通信を行う通信部150、通信線CLを流れる信号を検出する信号検出部160を備える。これらの各部位は、バスラインBLを介して相互に電気的に接続されている。 As shown in FIG. 2, the control device 100 controls the control device 100 in a centralized manner, a storage unit 120 stores various programs and data, a display unit 130 displaying an image, and an input unit for receiving user input. 140, the communication unit 150 that performs data communication with the facility device 200, and the signal detection unit 160 that detects a signal flowing through the communication line CL. Each of these parts is electrically connected to each other via a bus line BL.
 制御部110は、CPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)等を有するコンピュータを備える。制御部110は、CPUがROMに記憶された各種の動作プログラムを読み出してRAM上で実行することにより、制御装置100の各構成部位を制御する。RAMは、例えば、各フレームの送信間隔の最小時間を示すフレーム間隔情報、通信部150の送信処理状態を示す送信状態情報等を一時的に記憶するバッファとして機能する。 The control unit 110 includes a computer having a central processing unit (CPU), a random access memory (RAM), a read only memory (ROM), and the like. The control unit 110 controls each component of the control device 100 by the CPU reading out various operation programs stored in the ROM and executing them on the RAM. The RAM functions as a buffer that temporarily stores, for example, frame interval information indicating the minimum time of the transmission interval of each frame, transmission state information indicating the transmission processing state of the communication unit 150, and the like.
 制御部110は、機能的には、フレーム間隔設定部111、無信号時間計測部112、送信状態管理部113、送信制御部114、表示制御部115を有する。 The control unit 110 functionally includes a frame interval setting unit 111, a non-signal time measurement unit 112, a transmission state management unit 113, a transmission control unit 114, and a display control unit 115.
 フレーム間隔設定部111は、送信するコマンドの種別に応じてフレーム間隔時間を設定し、設定したフレーム間隔時間をフレーム間隔情報としてRAMに記憶する。フレーム間隔設定部111は、通常、フレーム間隔時間を、制御フレームの送信間隔時間である制御フレーム間隔時間に設定する。また、フレーム間隔設定部111は、入力部140を介してユーザから通信品質評価を指示する操作信号を入力した場合、テストフレームを制御フレーム間隔時間よりも短い間隔で送信するべく、フレーム間隔時間を、テストフレームの送信間隔時間であるテストフレーム間隔時間に設定する。本実施の形態において、制御フレーム間隔時間を20ミリ秒、テストフレーム間隔時間を10ミリ秒とする。 The frame interval setting unit 111 sets a frame interval time according to the type of command to be transmitted, and stores the set frame interval in the RAM as frame interval information. The frame interval setting unit 111 normally sets the frame interval to a control frame interval time that is a transmission interval time of a control frame. Further, when the frame interval setting unit 111 receives an operation signal instructing communication quality evaluation from the user via the input unit 140, the frame interval time is set to transmit the test frame at an interval shorter than the control frame interval time. The test frame interval time, which is the test frame transmission interval time, is set. In this embodiment, the control frame interval time is 20 milliseconds, and the test frame interval time is 10 milliseconds.
 ここで、本実施の形態において、制御フレームとは、設備機器200の動作を制御する制御コマンドを格納したフレームである。また、テストフレームとは、設備機器200に通信品質評価の実行を指示するテストコマンドを格納したフレームである。テストフレームは、制御フレームと区別するためのフレームタイプ、フレーム長の情報を含む。テストフレームは、短時間にフレーム全体の送信を完了させるために、そのデータ長が短いことが好ましい。また、テストフレームは、ユーザの操作に応じて送信する以外に、ユーザにより予め設定された送信スケジュールに基づいて、各設備機器200に送信されてもよい。 Here, in the present embodiment, the control frame is a frame in which a control command for controlling the operation of the facility device 200 is stored. The test frame is a frame that stores a test command that instructs the facility device 200 to execute communication quality evaluation. The test frame includes information of a frame type and a frame length to distinguish it from the control frame. The test frame preferably has a short data length in order to complete transmission of the entire frame in a short time. The test frame may be transmitted to each of the facility devices 200 based on a transmission schedule previously set by the user, in addition to transmission according to the operation of the user.
 無信号時間計測部112は、通信線CL上に信号が流れていない無信号状態の継続時間である無信号時間を計測する。無信号時間計測部112は、例えばCPUに内蔵されたカウンタを用いて、信号検出部160から入力した検出信号に基づいて無信号時間を計測する。 The non-signal time measurement unit 112 measures a non-signal time which is a continuation time of the non-signal state where no signal flows on the communication line CL. The no-signal time measurement unit 112 measures the no-signal time based on the detection signal input from the signal detection unit 160 using, for example, a counter built in the CPU.
 送信状態管理部113は、通信部150の送信処理状態を管理する。送信状態管理部113は、例えば、通信部150が、フレームの送信処理を実行していない「非送信」、制御フレームの送信処理を実行中である「制御フレーム送信中」、テストフレームの送信処理を実行中である「テストフレーム送信中」のいずれの状態であるかを送信状態情報としてRAMに記憶する。送信状態管理部113は、送信制御部114から通信部150に出力される送信要求、通信部150から入力した送信結果通知等に基づいて、送信状態情報を適宜更新する。 The transmission state management unit 113 manages the transmission processing state of the communication unit 150. In the transmission state management unit 113, for example, the communication unit 150 is not executing transmission processing of a frame “not transmitted”, transmission processing of a control frame is being performed “control frame transmission in progress”, transmission processing of a test frame Is stored in the RAM as transmission state information, which state is "during test frame transmission". The transmission state management unit 113 appropriately updates the transmission state information based on the transmission request output from the transmission control unit 114 to the communication unit 150, the transmission result notification input from the communication unit 150, and the like.
 送信制御部114は、通信部150を制御して、設備機器200にフレームを送信する。送信制御部114は、送信データを格納したフレームを生成し、無信号時間計測部112が計測する無信号時間がRAMに記憶されたフレーム間隔情報に設定された時間に到達したタイミングで通信部150に対して送信要求を出力することにより、通信部150にフレームの送信を開始させる。 The transmission control unit 114 controls the communication unit 150 to transmit a frame to the facility device 200. The transmission control unit 114 generates a frame storing transmission data, and the communication unit 150 at the timing when the non-signal time measured by the non-signal time measurement unit 112 reaches the time set in the frame interval information stored in the RAM. And causes the communication unit 150 to start frame transmission.
 表示制御部115は、表示部130を制御して、例えば、設備機器200から受信した通信品質評価情報を表示する。 The display control unit 115 controls the display unit 130 to display, for example, communication quality evaluation information received from the facility device 200.
 なお、フレーム間隔設定部111、無信号時間計測部112、送信状態管理部113、送信制御部114、表示制御部115は、1つのコンピュータにより実現されてもよいし、それぞれが別個のコンピュータにより実現されてもよい。 The frame interval setting unit 111, the non-signal time measurement unit 112, the transmission state management unit 113, the transmission control unit 114, and the display control unit 115 may be realized by one computer, or may be realized by separate computers. It may be done.
 記憶部120は、記憶内容が書き換え可能な不揮発性の半導体メモリ、ハードディスクドライブ等を備える。記憶部120は、制御部110の処理に用いられる各種プログラム、入力データおよび送受信データ等の各種データを記憶する。 The storage unit 120 includes a nonvolatile semiconductor memory whose storage content can be rewritten, a hard disk drive, and the like. The storage unit 120 stores various programs used for the processing of the control unit 110, and various data such as input data and transmission / reception data.
 表示部130は、液晶ディスプレイ(LCD:Liquid Crystal Display)や有機EL(Electro-Luminescent)ディスプレイ等の表示装置を備え、制御部110から出力された各種の情報を表示出力する。表示部130は、制御部110の制御のもと、例えば、設備機器200から受信した通信品質評価情報を表示する。 The display unit 130 includes a display device such as a liquid crystal display (LCD) or an organic electro-luminescent (EL) display, and displays and outputs various information output from the control unit 110. Under the control of the control unit 110, the display unit 130 displays, for example, communication quality evaluation information received from the facility device 200.
 入力部140は、タッチパネル、操作ボタン等を備え、ユーザによるデータ入力、操作等を受け付け、受け付けた入力に応じた信号を制御部110に出力する。入力部140は、例えば、ユーザによる通信品質評価を指示する操作を受け付け、その旨を制御部110に出力する。なお、タッチパネルは、表示部130の表示画面と、これに重ねて設けられたタッチセンサとを備えるものでもよい。 The input unit 140 includes a touch panel, operation buttons, and the like, receives data input by the user, an operation, and the like, and outputs a signal corresponding to the received input to the control unit 110. For example, the input unit 140 receives an operation of instructing communication quality evaluation by the user, and outputs that effect to the control unit 110. The touch panel may include the display screen of the display unit 130 and a touch sensor provided so as to overlap with the display screen.
 通信部150は、設備機器200と通信するための通信インタフェースであり、制御部110の制御のもと、設備機器200へのデータの送信、および、設備機器200からのデータの受信を行う。通信部150は、制御部110の送信要求に応じて送信処理を実行した場合、送信完了または送信エラーを示す送信結果通知を制御部110に出力する。また、通信部150は、受信処理を実行した場合、受信完了または受信エラーを示す受信結果通知を制御部110に出力する。なお、受信したフレームが自装置宛てでない場合、通信部150は、制御部110に通知することなくそのフレームを破棄する。 The communication unit 150 is a communication interface for communicating with the facility device 200, and transmits data to the facility device 200 and receives data from the facility device 200 under the control of the control unit 110. When the communication unit 150 executes the transmission process in response to the transmission request of the control unit 110, the communication unit 150 outputs a transmission result notification indicating transmission completion or transmission error to the control unit 110. Further, when the communication unit 150 executes the reception process, the communication unit 150 outputs a reception result notification indicating reception completion or reception error to the control unit 110. If the received frame is not addressed to the own apparatus, the communication unit 150 discards the frame without notifying the control unit 110.
 信号検出部160は、通信線CL上に信号が流れているか否かを検出する。信号検出部160は、例えば電圧センサを備え、通信線CLの電圧を常時監視し、信号の検出の有無を制御部110に出力する。 The signal detection unit 160 detects whether a signal is flowing on the communication line CL. The signal detection unit 160 includes, for example, a voltage sensor, constantly monitors the voltage of the communication line CL, and outputs the presence or absence of detection of a signal to the control unit 110.
 設備機器200は、図3に示すように、設備機器200を統括的に制御する制御部210、各種プログラムおよびデータを記憶する記憶部220、制御装置100および設備機器200とデータ通信を行う通信部230、通信線CLの電圧値を取得する電圧取得部240を備える。これらの各部位は、バスラインBLを介して相互に電気的に接続されている。 The facility device 200, as shown in FIG. 3, includes a control unit 210 that generally controls the facility device 200, a storage unit 220 that stores various programs and data, and a communication unit that performs data communication with the control device 100 and the facility device 200. 230, the voltage acquisition part 240 which acquires the voltage value of the communication line CL is provided. Each of these parts is electrically connected to each other via a bus line BL.
 制御部210は、CPU、RAM、ROM等を有するコンピュータを備える。制御部210は、ROMに記憶された各種の動作プログラムを読み出してRAM上で実行することにより、設備機器200の各構成部位を制御する。 The control unit 210 includes a computer having a CPU, a RAM, a ROM, and the like. The control unit 210 controls each component of the facility device 200 by reading out various operation programs stored in the ROM and executing them on the RAM.
 制御部210は、機能的には、フレーム間隔設定部211、無信号時間計測部212、送信状態管理部213、送信制御部214、実測波形取得部215、理論波形取得部216、通信品質評価部217を有する。 Functionally, the control unit 210 has a frame interval setting unit 211, a non-signal time measurement unit 212, a transmission state management unit 213, a transmission control unit 214, a measured waveform acquisition unit 215, a theoretical waveform acquisition unit 216, and a communication quality evaluation unit It has 217.
 フレーム間隔設定部211は、フレーム間隔時間を設定し、設定したフレーム間隔時間をフレーム間隔情報としてRAMに記憶する。フレーム間隔設定部211は、制御装置100のフレーム間隔設定部111とは異なり、例えば、設備機器200の電源投下に伴う初期設定の際に、一旦、フレーム間隔時間を制御フレーム間隔時間に設定した後は変更することはない。すなわち、設備機器200は、常に制御フレーム間隔時間に基づいて制御フレームを外部に送信する。 The frame interval setting unit 211 sets a frame interval time, and stores the set frame interval time in the RAM as frame interval information. The frame interval setting unit 211 differs from the frame interval setting unit 111 of the control device 100, for example, after setting the frame interval time to the control frame interval time at the time of initial setting according to the powering-down of the facility device 200. There is no change. That is, the equipment 200 always transmits the control frame to the outside based on the control frame interval time.
 無信号時間計測部212は、通信線CL上に信号が流れていない無信号状態の継続時間である無信号時間を計測する。無信号時間計測部212は、例えばCPUに内蔵されたカウンタを用いて、電圧取得部240から入力した電圧検出信号に基づいて無信号時間を計測する。 The non-signal time measurement unit 212 measures a non-signal time which is a continuation time of the non-signal state where no signal flows on the communication line CL. The non-signal time measurement unit 212 measures the non-signal time based on the voltage detection signal input from the voltage acquisition unit 240 using, for example, a counter built in the CPU.
 送信状態管理部213は、通信部230の送信処理状態を管理する。送信状態管理部213は、例えば、通信部230が、フレームの送信処理を実行していない「非送信」、制御フレームの送信処理を実行中である「制御フレーム送信中」、テストフレームの送信処理を実行中である「テストフレーム送信中」のいずれの状態であるかを送信状態情報としてRAMに記憶する。送信状態管理部213は、送信制御部214から通信部230に出力される送信要求、通信部230から入力した送信結果通知等に基づいて、送信状態情報を適宜更新する。 The transmission state management unit 213 manages the transmission processing state of the communication unit 230. In the transmission state management unit 213, for example, the communication unit 230 does not execute transmission processing of a frame “not transmitted”, transmission processing of a control frame is being performed “control frame transmission in progress”, transmission processing of a test frame Is stored in the RAM as transmission state information, which state is "during test frame transmission". The transmission state management unit 213 appropriately updates the transmission state information based on the transmission request output from the transmission control unit 214 to the communication unit 230, the transmission result notification input from the communication unit 230, and the like.
 送信制御部214は、通信部230を制御して、外部にフレームを送信する。送信制御部214は、送信データを格納したフレームを生成し、無信号時間計測部212が計測する無信号時間がRAMに記憶されたフレーム間隔情報に設定された時間に到達したタイミングで通信部230に対して送信要求を出力することにより、通信部230にフレームの送信を開始させる。 The transmission control unit 214 controls the communication unit 230 to transmit a frame to the outside. The transmission control unit 214 generates a frame storing transmission data, and the communication unit 230 at the timing when the non-signal time measured by the non-signal time measurement unit 212 reaches the time set in the frame interval information stored in the RAM. And causes the communication unit 230 to start frame transmission.
 実測波形取得部215は、電圧取得部240から入力した一定期間の通信線CLの電圧値から、通信部230を介して受信したテストフレームに対応する電圧波形を特定し、特定した電圧波形を実測波形情報として記憶部220に記憶する。 The measured waveform acquisition unit 215 specifies the voltage waveform corresponding to the test frame received through the communication unit 230 from the voltage value of the communication line CL for a certain period input from the voltage acquisition unit 240, and measures the specified voltage waveform. It is stored in the storage unit 220 as waveform information.
 理論波形取得部216は、記憶部220に予め記憶された理論波形情報を読み出して、テストフレームの理想的な電圧波形を示す理論波形を取得する。 The theoretical waveform acquisition unit 216 reads theoretical waveform information stored in advance in the storage unit 220, and acquires a theoretical waveform indicating an ideal voltage waveform of the test frame.
 通信品質評価部217は、記憶部220に記憶された実測波形情報が示すテストフレームの実測波形と、理論波形取得部216が取得したテストフレームの理論波形とを比較し、両波形の各パルスにおける波高値、サグ、パルス幅、立ち上がり時間、立ち下がり時間のそれぞれの差分が予め定められた許容範囲内であるか否かを評価する。 The communication quality evaluation unit 217 compares the measured waveform of the test frame indicated by the measured waveform information stored in the storage unit 220 with the theoretical waveform of the test frame acquired by the theoretical waveform acquisition unit 216, and It is evaluated whether the difference between the peak value, the sag, the pulse width, the rise time, and the fall time is within a predetermined allowable range.
 ここで、電圧波形の各パルスの波高値、パルス幅、サグ、立ち上がり時間、立ち下がり時間は、例えば、図4に示すように定義される。波高値は、パルスの電圧の最大値である。パルス幅は、電圧が波高値の50%に上昇した時点から波高値の50%に下降した時点までの時間である。サグは、立ち上がった後から立ち下がる前までのパルスのトップ部分における電圧低下である。サグの大きさは、電圧値の低下分の波高値に対する割合で表される。立ち上がり時間は、電圧が波高値の10%から90%まで増加するまでに要する時間である。立ち下がり時間は、電圧が波高値の90%から10%まで減少するまでに要する時間である。 Here, the peak value, pulse width, sag, rise time, and fall time of each pulse of the voltage waveform are defined, for example, as shown in FIG. The peak value is the maximum value of the voltage of the pulse. The pulse width is the time from when the voltage rises to 50% of the peak value to when it falls to 50% of the peak value. Sag is the voltage drop at the top of the pulse after rising and before falling. The magnitude of the sag is expressed as a ratio of the drop in voltage value to the peak value. The rise time is the time required for the voltage to increase from 10% to 90% of the peak value. Fall time is the time it takes for the voltage to decrease from 90% to 10% of the peak value.
 また、通信品質評価部217は、例えば、差分が許容範囲を超えたビット数の全ビット数に占める割合に応じて、制御装置100と自装置との間の通信系に不具合があるか否かを判定する。そして、判定結果を示す通信品質評価情報を、通信部230を介して制御装置100に送信する。 Also, whether or not the communication quality evaluation unit 217 has a problem in the communication system between the control device 100 and the own device according to, for example, the ratio of the number of bits exceeding the allowable range to the total number of bits. Determine Then, communication quality evaluation information indicating the determination result is transmitted to the control device 100 via the communication unit 230.
 テストフレームの理論波形は、制御装置100がテストフレームを送信する際に各ビットに応じて通信線CLに印加する電圧の理論値から導出される。 The theoretical waveform of the test frame is derived from the theoretical value of the voltage applied to the communication line CL according to each bit when the control device 100 transmits the test frame.
 なお、フレーム間隔設定部211、無信号時間計測部212、送信状態管理部213、送信制御部214、実測波形取得部215、理論波形取得部216、通信品質評価部217は、1つのコンピュータにより実現されてもよいし、それぞれが別個のコンピュータにより実現されてもよい。 The frame interval setting unit 211, the non-signal time measurement unit 212, the transmission state management unit 213, the transmission control unit 214, the measured waveform acquisition unit 215, the theoretical waveform acquisition unit 216, and the communication quality evaluation unit 217 are realized by one computer. Or each may be implemented by a separate computer.
 記憶部220は、記憶内容が書き換え可能な不揮発性の半導体メモリ、ハードディスクドライブ等を備える。記憶部220は、制御部210の処理に用いられる各種プログラム、入力データおよび送受信データ等の各種データを記憶する。 The storage unit 220 includes a nonvolatile semiconductor memory whose storage content can be rewritten, a hard disk drive, and the like. The storage unit 220 stores various programs used for the processing of the control unit 210, various data such as input data and transmission / reception data.
 また、記憶部220は、制御装置100から送信されるテストフレームの理論波形を示す理論波形情報、実測波形と理論波形の評価要素ごとの差分の許容範囲を示す許容範囲情報、テストフレームの実測波形を示す実測波形情報を記憶する。 In addition, the storage unit 220 includes theoretical waveform information indicating a theoretical waveform of a test frame transmitted from the control device 100, tolerance range information indicating an allowable range of a difference between an actually measured waveform and an evaluation element of the theoretical waveform, and an actually measured waveform of a test frame. Stores measured waveform information indicating.
 通信部230は、制御装置100と通信するための通信インタフェースであり、制御部210の制御のもと、制御装置100へのデータの送信、および、制御装置100からのデータの受信を行う。 The communication unit 230 is a communication interface for communicating with the control device 100, and transmits data to the control device 100 and receives data from the control device 100 under the control of the control unit 210.
 電圧取得部240は、通信線CLを介して制御装置100との間で伝送される信号の電圧値を取得する。電圧取得部240は、例えば、電圧センサおよびAD(Analog to Digital)コンバータを備え、通信線CLの電圧値を一定周期毎にサンプリングしてデジタル値に変換し、制御部210に出力する。 The voltage acquisition unit 240 acquires voltage values of signals transmitted to and from the control device 100 via the communication line CL. The voltage acquisition unit 240 includes, for example, a voltage sensor and an AD (Analog to Digital) converter, samples the voltage value of the communication line CL every fixed period, converts it into a digital value, and outputs the digital value.
 次に、図5に示すフローチャートを参照して、制御装置100の制御部110が実行するテストフレーム送信処理について説明する。テストフレーム送信処理は、各フレームを設備機器200に送信する間に信号解析用のテストフレームを送信する処理である。制御部110は、例えば、入力部140を介してユーザによる通信品質評価を指示する操作を受け付けたことに応答して、テストフレーム送信処理を開始する。 Next, test frame transmission processing executed by the control unit 110 of the control device 100 will be described with reference to the flowchart shown in FIG. The test frame transmission process is a process of transmitting a test frame for signal analysis while transmitting each frame to the facility device 200. Control unit 110 starts test frame transmission processing in response to, for example, receiving an operation of instructing communication quality evaluation by the user via input unit 140.
 制御部110は、テストフレーム送信処理を開始すると、まず、通信品質評価の対象である設備機器200宛てのテストフレームを生成する(ステップS101)。 When the test frame transmission process is started, the control unit 110 first generates a test frame addressed to the facility device 200 to be subjected to communication quality evaluation (step S101).
 続いて、制御部110は、通信部150の送信状態が「非送信」であるか否かを判定する(ステップS102)。制御部110は、RAMに記憶された送信状態情報を参照して「非送信」であるか否かを判定し、事前に実行された制御フレームの送信が完了しているか否かを確認する。送信状態が「非送信」ではないと判定した場合(ステップS102;NO)、制御部110は、ステップS102の処理を繰り返し、送信状態が「非送信」となるまで待機する。 Subsequently, the control unit 110 determines whether the transmission state of the communication unit 150 is "non-transmission" (step S102). The control unit 110 refers to the transmission state information stored in the RAM to determine whether or not "non-transmission", and confirms whether or not the transmission of the control frame executed in advance is completed. If it is determined that the transmission state is not "non-transmission" (step S102; NO), the control unit 110 repeats the process of step S102 and stands by until the transmission state becomes "non-transmission".
 一方、送信状態が「非送信」であると判定した場合(ステップS102;YES)、制御部110は、通信部150の送信状態を「テストフレーム送信中」に設定する(ステップS103)。具体的には、制御部110の送信状態管理部113は、RAMに記憶された送信状態情報を「テストフレーム送信中」に変更する。 On the other hand, when it is determined that the transmission state is "non-transmission" (step S102; YES), the control unit 110 sets the transmission state of the communication unit 150 to "under test frame transmission" (step S103). Specifically, the transmission state management unit 113 of the control unit 110 changes the transmission state information stored in the RAM to “during test frame transmission”.
 送信状態が「非送信」になった場合、通信線CL上を流れる信号がない無信号状態となり、通常、制御装置100および設備機器200は、制御フレーム間隔時間が経過するまでフレームの送信を待機する。制御部110は、設備機器200のフレーム送信待機中にテストフレームを送信するために、送信状態を「テストフレーム送信中」に設定し、以下の処理を実行する。 When the transmission state is "non-transmission", there is no signal flow on the communication line CL, and the control device 100 and the facility device 200 normally waits for transmission of a frame until the control frame interval time elapses. Do. The control unit 110 sets the transmission state to “during test frame transmission” to execute the following processing in order to transmit the test frame while the frame device 200 is waiting for frame transmission.
 制御部110は、フレーム間隔時間をテストフレーム間隔時間に設定する(ステップS104)。具体的には、制御部110のフレーム間隔設定部111は、RAMに記憶されたフレーム間隔情報をテストフレーム間隔時間に変更する。テストフレーム間隔時間は、通常の制御フレーム間隔時間よりも短い時間であり、例えば、10ミリ秒である。 Control unit 110 sets the frame interval time to the test frame interval time (step S104). Specifically, the frame interval setting unit 111 of the control unit 110 changes the frame interval information stored in the RAM to the test frame interval time. The test frame interval time is shorter than the normal control frame interval time, and is, for example, 10 milliseconds.
 次に、制御部110は、無信号時間がテストフレーム間隔時間に到達したか否かを判定する(ステップS105)。制御部110は、無信号時間計測部112が計測する無信号時間、すなわち、内蔵カウンタのカウント値を参照して判定する。無信号時間がテストフレーム間隔時間に到達していないと判定した場合(ステップS105;NO)、制御部110は、ステップS105の処理を繰り返し、無信号時間がテストフレーム間隔時間に到達するまで待機する。 Next, the control unit 110 determines whether the no signal time has reached the test frame interval time (step S105). The control unit 110 determines with reference to the non-signal time measured by the non-signal time measurement unit 112, that is, the count value of the built-in counter. When it is determined that the non-signal time has not reached the test frame interval time (step S105; NO), the control unit 110 repeats the process of step S105 and waits until the non-signal time reaches the test frame interval time. .
 一方、無信号時間がテストフレーム間隔時間に到達したと判定した場合(ステップS105;YES)、制御部110は、通信部150に対してテストフレームの送信要求を出力する(ステップS106)。テストフレームの送信要求を入力した通信部150は、テストフレームを送信する。 On the other hand, when it is determined that the no-signal time has reached the test frame interval time (step S105; YES), the control unit 110 outputs a test frame transmission request to the communication unit 150 (step S106). The communication unit 150 that has received the test frame transmission request transmits the test frame.
 通信部150にテストフレームの送信要求を出力した後、制御部110は、通信部150から送信結果通知を入力したか否かを判定する(ステップS107)。送信結果通知を入力していないと判定した場合(ステップS107;NO)、制御部110は、ステップS107の処理を繰り返し、送信結果通知を入力するまで待機する。 After outputting the test frame transmission request to the communication unit 150, the control unit 110 determines whether a transmission result notification has been input from the communication unit 150 (step S107). When it is determined that the transmission result notification has not been input (step S107; NO), the control unit 110 repeats the processing of step S107 and waits until the transmission result notification is input.
 送信結果通知を入力したと判定した場合(ステップS107;YES)、制御部110は、フレーム間隔時間を制御フレーム間隔時間に設定する(ステップS108)。そして、制御部110は、送信状態を「非送信」に設定し(ステップS109)、テストフレーム送信処理を終了する。 If it is determined that the transmission result notification has been input (step S107; YES), the control unit 110 sets the frame interval time to the control frame interval time (step S108). Then, the control unit 110 sets the transmission state to "non-transmission" (step S109), and ends the test frame transmission process.
 次に、図6に示すフローチャートを参照して、設備機器200の制御部210が実行する通信品質評価処理について説明する。通信品質評価処理は、テストフレームの実測波形と理論波形とを比較して制御装置100と設備機器200間の通信品質評価を行う処理である。制御部210は、制御装置100からテストフレームを受信したことに応答して、通信品質評価処理を実行する。 Next, the communication quality evaluation process executed by the control unit 210 of the facility device 200 will be described with reference to the flowchart shown in FIG. The communication quality evaluation process is a process of evaluating the communication quality between the control device 100 and the facility device 200 by comparing the measured waveform of the test frame and the theoretical waveform. In response to receiving the test frame from control device 100, control unit 210 executes communication quality evaluation processing.
 制御部210は、通信品質評価処理を開始すると、まず、テストフレームの実測波形を取得する(ステップS201)。具体的には、制御部210の実測波形取得部215は、記憶部220に記憶された実測波形情報を参照し、テストフレームの実測波形を取得する。 When the communication quality evaluation process is started, the control unit 210 first acquires the measured waveform of the test frame (step S201). Specifically, the measured waveform acquisition unit 215 of the control unit 210 refers to the measured waveform information stored in the storage unit 220, and acquires the measured waveform of the test frame.
 次に、制御部210は、テストフレームの理論波形を取得する(ステップS202)。具体的には、制御部210の理論波形取得部216は、記憶部220に記憶された理論波形情報が示すテストフレームの理論波形を記憶部220から読み出して取得する。 Next, the control unit 210 acquires a theoretical waveform of a test frame (step S202). Specifically, the theoretical waveform acquisition unit 216 of the control unit 210 reads out and acquires the theoretical waveform of the test frame indicated by the theoretical waveform information stored in the storage unit 220 from the storage unit 220.
 テストフレームの実測波形および理論波形を取得した後、通信品質評価部217は、実測波形と理論波形とを比較して、自機と制御装置100との間の通信品質を評価する(ステップS203)。通信品質評価部217は、テストフレームの実測波形と理論波形の各ビットにおける波高値、サグ、パルス幅、立ち上がり時間、立ち下がり時間のそれぞれの差分が、記憶部220に記憶された許容範囲情報が示す許容範囲内であるか否かを判定する。そして、通信品質評価部217は、例えば、差分が許容範囲を超えたビット数の全ビット数に占める割合に応じて、通信品質が適正であるか否かを評価する。 After acquiring the measured waveform and the theoretical waveform of the test frame, the communication quality evaluation unit 217 compares the measured waveform and the theoretical waveform to evaluate the communication quality between itself and the control device 100 (step S203). . The communication quality evaluation unit 217 determines the tolerance range information stored in the storage unit 220 for each difference between the peak value, sag, pulse width, rise time, and fall time of each bit of the measured waveform and the theoretical waveform of the test frame. It is determined whether or not it is within the indicated allowable range. Then, the communication quality evaluation unit 217 evaluates whether the communication quality is appropriate according to, for example, the ratio of the number of bits of which the difference exceeds the allowable range to the total number of bits.
 ステップS203の処理を実行した後、制御部210は、通信部230を制御して、通信品質の評価結果を示す通信品質評価情報を制御装置100に送信し(ステップS204)、通信品質評価処理を終了する。 After executing the processing of step S203, the control unit 210 controls the communication unit 230 to transmit communication quality evaluation information indicating the evaluation result of communication quality to the control device 100 (step S204), and performs communication quality evaluation processing. finish.
 以上説明したように、本実施の形態に係る設備管理システム1において、制御装置100は、制御フレームの送信間隔として設定された制御フレーム間隔時間の期間内にテストフレームを設備機器200に送信する。このように、制御装置100が設備機器200のフレーム送信の待機時間中に通信品質評価の実行を指示するテストフレームを設備機器200に送信するため、設備機器200は、受信したテストフレームの電圧波形に許容範囲を超える歪みが生じている場合には、通信系の不具合が発生していることを容易に判断することができ、通信品質を効率的に評価することができる。 As described above, in the facility management system 1 according to the present embodiment, the control device 100 transmits the test frame to the facility device 200 within the control frame interval time set as the control frame transmission interval. As described above, the facility device 200 transmits the test frame for instructing the execution of the communication quality evaluation to the facility device 200 during the frame transmission standby time of the facility device 200. Thus, the facility device 200 receives the voltage waveform of the received test frame. When distortion exceeding the allowable range is generated, it can be easily determined that a failure in the communication system has occurred, and communication quality can be efficiently evaluated.
 また、制御装置100は、通信線CLに信号が流れていない無信号時間を計測する無信号時間計測部112を備え、無信号時間が制御フレーム間隔時間よりも短いテストフレーム間隔時間に達したタイミングで、テストフレームを設備機器200に送信する。これにより、設備機器200のフレーム送信の待機時間中に確実に信号衝突が生じていないテストフレームを設備機器200に送信することができ、通信品質を効率的に評価することができる。 Control device 100 further includes a no-signal time measurement unit 112 that measures a no-signal time when no signal flows through communication line CL, and the timing when the no-signal time reaches a test frame interval time shorter than the control frame interval time. Then, the test frame is transmitted to the equipment 200. As a result, a test frame in which no signal collision has occurred can be reliably transmitted to the facility device 200 during the frame transmission standby time of the facility device 200, and communication quality can be efficiently evaluated.
(実施の形態2)
 上記の実施の形態1では、制御装置100は、制御フレームの送信間隔内の信号衝突が発生しにくいタイミングでテストフレームを設備機器200に送信したが、テストフレームの送信タイミングはこれに限られない。本実施の形態では、テストフレームを更に信号衝突が発生する可能性が低いタイミングで送信することにより、通信品質の評価の精度を高める例について説明する。
Second Embodiment
Although the control apparatus 100 transmits the test frame to the equipment 200 at the timing when the signal collision within the transmission interval of the control frame is less likely to occur in the first embodiment, the transmission timing of the test frame is not limited to this. . In the present embodiment, an example will be described in which the accuracy of evaluation of communication quality is enhanced by transmitting a test frame at a timing at which the possibility of a signal collision is low.
 なお、実施の形態2に係る設備管理システムの構成は、実施の形態1と同様であるため、実施の形態2では、実施の形態1で用いた符号を用いて説明し、その詳細な説明を省略する。 Since the configuration of the facility management system according to the second embodiment is the same as that of the first embodiment, the second embodiment will be described using the reference numerals used in the first embodiment, and the detailed description thereof will be described. I omit it.
 図7に示すフローチャートを参照して、実施の形態2に係る制御装置100の制御部110が実行するテストフレーム送信処理について説明する。実施の形態2に係るテストフレーム送信処理は、ダミーフレームおよびテストフレームを送信する処理である。ダミーフレームは、設備機器200に実効的な処理を実行させることのないダミーコマンドを格納したフレームであり、テストフレームの送信に先立ち、設備機器200に送信される。すなわち、制御装置100は、テストフレームの送信前にダミーフレームを送信することにより、設備機器200のフレーム送信の待機時間を確保した上で、この期間内にテストフレームを設備機器200に送信する。制御フレーム間隔時間の期間内にダミーフレームとテストフレームの2つのフレームが送信される。制御部110は、例えば、入力部140を介してユーザによる通信評価の開始を指示する操作を受け付けたことに応答して、テストフレーム送信処理を開始する。 The test frame transmission process performed by the control unit 110 of the control device 100 according to the second embodiment will be described with reference to the flowchart shown in FIG. The test frame transmission process according to the second embodiment is a process of transmitting a dummy frame and a test frame. The dummy frame is a frame storing a dummy command that does not cause the facility device 200 to execute effective processing, and is transmitted to the facility device 200 prior to transmission of a test frame. That is, the control device 100 transmits a test frame to the facility device 200 within this period after securing a standby time for frame transmission of the facility device 200 by transmitting a dummy frame before sending a test frame. Two frames, a dummy frame and a test frame, are transmitted within the control frame interval time. Control unit 110 starts test frame transmission processing in response to, for example, receiving an operation instructing the start of communication evaluation by the user via input unit 140.
 制御部110は、テストフレーム送信処理を開始すると、まず、通信品質評価の対象である設備機器200宛てのダミーフレームおよびテストフレームを生成する(ステップS301)。 When the test frame transmission process is started, the control unit 110 first generates a dummy frame and a test frame addressed to the facility device 200 that is the target of communication quality evaluation (step S301).
 続いて、制御部110は、通信部150の送信状態が「非送信」であるか否かを判定する(ステップS302)。制御部110は、RAMに記憶された送信状態情報を参照して「非送信」であるか否かを判定し、事前に実行された制御フレームの送信が完了しているか否かを確認する。送信状態が「非送信」ではないと判定した場合(ステップS302;NO)、制御部110は、ステップS302の処理を繰り返し、送信状態が「非送信」となるまで待機する。 Subsequently, the control unit 110 determines whether the transmission state of the communication unit 150 is "non-transmission" (step S302). The control unit 110 refers to the transmission state information stored in the RAM to determine whether or not "non-transmission", and confirms whether or not the transmission of the control frame executed in advance is completed. When it is determined that the transmission state is not "non-transmission" (step S302; NO), the control unit 110 repeats the process of step S302 and stands by until the transmission state becomes "non-transmission".
 一方、送信状態が「非送信」であると判定した場合(ステップS302;YES)、制御部110は、通信部150の送信状態を「テストフレーム送信中」に設定する(ステップS303)。送信状態管理部113は、RAMに記憶された送信状態情報を「テストフレーム送信中」に設定する。 On the other hand, when it is determined that the transmission state is "non-transmission" (step S302; YES), the control unit 110 sets the transmission state of the communication unit 150 to "under test frame transmission" (step S303). The transmission state management unit 113 sets the transmission state information stored in the RAM to “during test frame transmission”.
 制御部110は、フレーム間隔時間をダミーフレーム間隔時間に設定する(ステップS304)。送信状態管理部113は、RAMに記憶されたフレーム間隔情報をダミーフレーム間隔時間に設定する。ダミーフレーム間隔時間は、通常の制御フレーム間隔時間よりも十分に短い時間であり、例えば、5ミリ秒である。 Control unit 110 sets the frame interval time to the dummy frame interval time (step S304). The transmission state management unit 113 sets the frame interval information stored in the RAM as the dummy frame interval time. The dummy frame interval time is sufficiently shorter than the normal control frame interval time, for example, 5 milliseconds.
 次に、制御部110は、無信号時間がダミーフレーム間隔時間に到達したか否かを判定する(ステップS305)。無信号時間がダミーフレーム間隔時間に到達していないと判定した場合(ステップS305;NO)、制御部110は、ステップS305の処理を繰り返し、無信号時間がダミーフレーム間隔時間に到達するまで待機する。 Next, the control unit 110 determines whether the non-signal time has reached the dummy frame interval time (step S305). If it is determined that the non-signal time has not reached the dummy frame interval time (step S305; NO), the control unit 110 repeats the process of step S305 and waits until the non-signal time reaches the dummy frame interval time. .
 一方、無信号時間がダミーフレーム間隔時間に到達したと判定した場合(ステップS305;YES)、制御部110は、通信部150に対してダミーフレームの送信要求を出力する(ステップS306)。ダミーフレームの送信要求を入力した通信部150は、ダミーフレームを送信する。ダミーフレームを受信した設備機器200は、ダミーフレームの宛先である設備機器200を含め、特段の処理を実行することなくダミーフレームを破棄する。 On the other hand, when it is determined that the no signal time has reached the dummy frame interval time (step S305; YES), the control unit 110 outputs a transmission request for a dummy frame to the communication unit 150 (step S306). The communication unit 150 that has received the dummy frame transmission request transmits the dummy frame. The facility device 200 that has received the dummy frame discards the dummy frame without performing special processing, including the facility device 200 that is the destination of the dummy frame.
 通信部150にダミーフレームの送信要求を出力した後、制御部110は、通信部150から送信結果通知を入力したか否かを判定する(ステップS307)。送信結果通知を入力していないと判定した場合(ステップS307;NO)、制御部110は、ステップS307の処理を繰り返し、送信結果通知を入力するまで待機する。 After outputting a transmission request for a dummy frame to the communication unit 150, the control unit 110 determines whether a transmission result notification has been input from the communication unit 150 (step S307). If it is determined that the transmission result notification has not been input (step S307; NO), the control unit 110 repeats the process of step S307 and waits until the transmission result notification is input.
 送信結果通知を入力したと判定した場合(ステップS307;YES)、制御部110は、フレーム間隔時間をテストフレーム間隔時間に設定する(ステップS308)。具体的には、制御部110のフレーム間隔設定部111は、RAMに記憶されたフレーム間隔情報をテストフレーム間隔時間に設定する。また、制御部110の無信号時間計測部112は、通信部150がダミーフレームの送信が完了すると、無信号時間の計測を再び開始する。 When it is determined that the transmission result notification has been input (step S307; YES), the control unit 110 sets the frame interval time to the test frame interval time (step S308). Specifically, the frame interval setting unit 111 of the control unit 110 sets the frame interval information stored in the RAM as the test frame interval time. Also, when the communication unit 150 completes the transmission of the dummy frame, the no-signal time measurement unit 112 of the control unit 110 restarts the measurement of the no-signal time.
 次に、制御部110は、無信号時間がテストフレーム間隔時間に到達したか否かを判定する(ステップS309)。制御部110は、無信号時間計測部112による計測時間がフレーム間隔情報に設定されたテストフレーム間隔時間に到達したか否かに応じて判定する。無信号時間がテストフレーム間隔時間に到達していないと判定した場合(ステップS309;NO)、制御部110は、ステップS309の処理を繰り返し、無信号時間がテストフレーム間隔時間に到達するまで待機する。 Next, the control unit 110 determines whether the no signal time has reached the test frame interval time (step S309). The control unit 110 determines whether the measurement time by the no-signal time measurement unit 112 has reached the test frame interval time set in the frame interval information. If it is determined that the non-signal time has not reached the test frame interval time (step S309; NO), the control unit 110 repeats the process of step S309 and waits until the non-signal time reaches the test frame interval time. .
 無信号時間がテストフレーム間隔時間に到達したと判定した場合(ステップS309;YES)、制御部110は、通信部150に対してテストフレームの送信要求を出力する(ステップS310)。テストフレームの送信要求を入力した通信部150は、テストフレームを送信する。 If it is determined that the no signal time has reached the test frame interval time (step S309; YES), the control unit 110 outputs a test frame transmission request to the communication unit 150 (step S310). The communication unit 150 that has received the test frame transmission request transmits the test frame.
 テストフレームの宛先の設備機器200は、テストフレームを受信すると、実施の形態1と同様、テストフレームの実測波形と理論波形とを比較し、通信品質を評価する。そして、設備機器200は、通信品質評価情報を制御装置100に送信する。 When receiving the test frame, the facility apparatus 200 at the test frame destination compares the measured waveform of the test frame with the theoretical waveform to evaluate the communication quality, as in the first embodiment. Then, the facility device 200 transmits communication quality evaluation information to the control device 100.
 通信部150にテストフレームの送信要求を出力した後、制御部110は、通信部150から送信結果通知を入力したか否かを判定する(ステップS311)。送信結果通知を入力していないと判定した場合(ステップS311;NO)、制御部110は、ステップS311の処理を繰り返し、送信結果通知を入力するまで待機する。 After outputting the test frame transmission request to the communication unit 150, the control unit 110 determines whether a transmission result notification has been input from the communication unit 150 (step S311). If it is determined that the transmission result notification has not been input (step S311; NO), the control unit 110 repeats the process of step S311 and waits until the transmission result notification is input.
 送信結果通知を入力したと判定した場合(ステップS311;YES)、制御部110は、フレーム間隔時間を制御フレーム間隔時間に設定し(ステップS312)、送信状態を「非送信」に設定した後(ステップS313)、テストフレーム送信処理を終了する。 If it is determined that the transmission result notification has been input (step S311; YES), the control unit 110 sets the frame interval time to the control frame interval time (step S312), and after setting the transmission state to "non-transmission" (step S312) Step S313) The test frame transmission process ends.
 以上説明したように、本実施の形態に係る設備管理システム1では、制御装置100は、制御フレーム間隔時間内にダミーフレームとテストフレームを順次設備機器200に送信する。このように、テストフレームの送信前にダミーフレームを送信することにより、テストフレームを信号衝突が発生する可能性が更に低いタイミングで送信することができ、通信品質をより効率的に評価することができる。 As described above, in the facility management system 1 according to the present embodiment, the control device 100 sequentially transmits the dummy frame and the test frame to the facility device 200 within the control frame interval time. As described above, by transmitting the dummy frame before transmitting the test frame, the test frame can be transmitted at a timing at which the possibility of the signal collision is further reduced, and the communication quality can be evaluated more efficiently. it can.
 なお、本発明は、上記の実施の形態に限定されず、本発明の要旨を逸脱しない範囲での種々の変形および応用が可能である。 The present invention is not limited to the above embodiment, and various modifications and applications can be made without departing from the scope of the present invention.
 例えば、制御装置100が備える機能を設備機器200が備え、また、設備機器200が備える機能を制御装置100が備えることにより、制御装置100および設備機器200が互いに通信品質の評価を実行してもよい。また、設備管理システム1が、制御装置100および設備機器200を管理する設備管理装置を備え、例えば、設備管理装置が各装置間の通信品質評価情報を統合的に管理してもよい。 For example, even if the control device 100 includes the function of the control device 100 and the control device 100 includes the function of the control device 100, the control device 100 and the control device 200 may evaluate the communication quality with each other. Good. In addition, the facility management system 1 may include a facility management device that manages the control device 100 and the facility device 200. For example, the facility management device may manage communication quality evaluation information between the devices in an integrated manner.
 例えば、制御装置100の信号検出部160の機能を、通信部150が備える通信インタフェースにより実現させ、また、設備機器200の電圧取得部240の機能を、通信部230が備える通信インタフェースにより実現させることにより、信号検出部160および電圧取得部240を省略してもよい。 For example, the function of the signal detection unit 160 of the control device 100 is realized by the communication interface included in the communication unit 150, and the function of the voltage acquisition unit 240 of the facility device 200 is realized by the communication interface included in the communication unit 230. Thus, the signal detection unit 160 and the voltage acquisition unit 240 may be omitted.
 上記の実施の形態において、制御装置100および設備機器200が備えるCPUが実行する動作プログラムは、あらかじめROMに記憶されていた。しかしながら、本発明は、これに限定されず、上記の各種処理を実行させるための動作プログラムを、既存の汎用コンピュータや、フレームワーク、ワークステーション等に実装することにより、上記の実施の形態に係る制御装置100または設備機器200に相当する装置として機能させてもよい。 In the above embodiment, the operation program executed by the CPU provided in the control device 100 and the facility device 200 is stored in advance in the ROM. However, the present invention is not limited to this, and the operation program for executing the above-described various processes may be implemented in the above general-purpose computer, a framework, a work station, etc. according to the above embodiment. It may function as a device corresponding to the control device 100 or the facility device 200.
 このようなプログラムの提供方法は任意であり、例えば、コンピュータが読取可能な記録媒体(フレキシブルディスク、CD(Compact Disc)-ROM、DVD(Digital Versatile Disc)-ROM)等に格納して配布してもよいし、インターネットをはじめとするネットワーク上のストレージにプログラムを格納しておき、これをダウンロードさせることにより提供してもよい。 A method for providing such a program is arbitrary, and for example, it can be distributed by being stored in a computer readable recording medium (flexible disc, CD (Compact Disc) -ROM, DVD (Digital Versatile Disc), etc.). It may be provided by storing the program in a storage on the network such as the Internet and downloading it.
 また、上記の処理をOS(Operating System)とアプリケーションプログラムとの分担、または、OSとアプリケーションプログラムとの協働によって実行する場合には、アプリケーションプログラムのみを記録媒体やストレージに格納してもよい。また、搬送波にプログラムを重畳し、ネットワークを介して配信することも可能である。例えば、ネットワーク上の掲示板(Bulletin Board System:BBS)に上記プログラムを掲示し、ネットワークを介してプログラムを配信してもよい。そして、このプログラムを起動し、OSの制御下で、他のアプリケーションプログラムと同様に実行することにより、上記の処理を実行するべく設計してもよい。 When the above process is executed by sharing the OS (Operating System) and the application program, or in cooperation with the OS and the application program, only the application program may be stored in the recording medium or the storage. It is also possible to superimpose a program on a carrier wave and distribute it via a network. For example, the program may be posted on a Bulletin Board System (BBS) on a network, and the program may be distributed via the network. Then, this program may be activated and designed to execute the above-described processing by executing the same as other application programs under the control of the OS.
 本発明は、広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能である。また、上述した実施の形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施の形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。 The present invention is capable of various embodiments and modifications without departing from the broad spirit and scope. In addition, the embodiment described above is for describing the present invention, and does not limit the scope of the present invention. That is, the scope of the present invention is indicated not by the embodiments but by the claims. And, various modifications applied within the scope of the claims and the meaning of the invention are considered to be within the scope of the present invention.
 本発明は、複数の設備機器を管理する設備管理システムに好適に採用され得る。 The present invention can be suitably adopted in a facility management system that manages a plurality of facility devices.
1…設備管理システム、100…制御装置、110…制御部、111…フレーム間隔設定部、112…無信号時間計測部、113…送信状態管理部、114…送信制御部、115…表示制御部、120…記憶部、130…表示部、140…入力部、150…通信部、160…信号検出部、200…設備機器、210…制御部、211…フレーム間隔設定部、212…無信号時間計測部、213…送信状態管理部、214…送信制御部、215…実測波形取得部、216…理論波形取得部、217…通信品質評価部、220…記憶部、230…通信部、240…電圧取得部、BL…バスライン、CL…通信線 DESCRIPTION OF SYMBOLS 1 ... Facility management system, 100 ... Control apparatus, 110 ... Control part, 111 ... Frame interval setting part, 112 ... Non-signal time measurement part, 113 ... Transmission state management part, 114 ... Transmission control part, 115 ... Display control part, 120: storage unit 130: display unit 140: input unit 150: communication unit 160: signal detection unit 200: facility device 210: control unit 211: frame interval setting unit 212: non-signal time measurement unit , 213: transmission state management unit, 214: transmission control unit, 215: measured waveform acquisition unit, 216: theoretical waveform acquisition unit, 217: communication quality evaluation unit, 220: storage unit, 230: communication unit, 240: voltage acquisition unit , BL ... bus line, CL ... communication line

Claims (7)

  1.  通信線を介して接続された設備機器を制御する制御装置であって、
     前記設備機器の動作を制御するための制御フレームと、前記設備機器に通信品質評価を実行させるためのテストフレームを、前記通信線を介して前記設備機器に送信する送信手段と、
     前記テストフレームを、前記制御フレームの送信間隔時間として設定された制御フレーム間隔時間の期間内に前記設備機器に送信するべく前記送信手段を制御する送信制御手段と、を備える、
     制御装置。
    A control device for controlling equipment connected via a communication line, the control device comprising:
    A control frame for controlling the operation of the facility device, and a transmitting means for transmitting a test frame for causing the facility device to perform communication quality evaluation to the facility device via the communication line;
    Transmission control means for controlling the transmission means to transmit the test frame to the equipment within a control frame interval time set as the control frame transmission interval time;
    Control device.
  2.  前記通信線を信号が流れていない無信号状態の継続時間を計測する無信号時間計測手段、を更に備え、
     前記送信制御手段は、前記無信号時間計測手段が計測する前記無信号状態の継続時間が前記制御フレーム間隔時間よりも短いテストフレーム間隔時間に達したことを契機に、前記テストフレームを前記設備機器に送信させる、
     請求項1に記載の制御装置。
    A signal-free time measuring means for measuring a duration of a signal-less state in which no signal flows through the communication line;
    The transmission control means receives the test frame as the equipment when the duration of the no signal state measured by the no signal time measuring means reaches a test frame interval time shorter than the control frame interval time. Send to
    The control device according to claim 1.
  3.  前記送信制御手段は、前記制御フレーム間隔時間の期間内に、前記テストフレームの送信に先立ち、ダミーフレームを前記設備機器に送信するべく前記送信手段を制御する、
     請求項1または2に記載の制御装置。
    The transmission control means controls the transmission means to transmit a dummy frame to the facility device prior to transmission of the test frame within the control frame interval time period.
    The control device according to claim 1.
  4.  通信線を介して接続された制御装置によって制御される設備機器であって、
     通信品質評価の実行を指示するテストフレームを、前記通信線を介して前記制御装置から受信する受信手段と、
     前記テストフレームの実測波形を取得する実測波形取得手段と、
     前記テストフレームの理論波形を取得する理論波形取得手段と、
     前記実測波形と前記理論波形との比較に基づき、通信品質を評価する通信品質評価手段と、を備える、
     設備機器。
    An equipment controlled by a controller connected via a communication line,
    Receiving means for receiving a test frame instructing execution of communication quality evaluation from the control device via the communication line;
    Measured waveform acquisition means for acquiring a measured waveform of the test frame;
    Theoretical waveform acquisition means for acquiring a theoretical waveform of the test frame;
    Communication quality evaluation means for evaluating communication quality based on comparison between the measured waveform and the theoretical waveform;
    Equipment equipment.
  5.  通信線を介して接続された、制御装置と設備機器とを有する設備管理システムであって、
     前記制御装置は、
     前記設備機器の動作を制御するための制御フレームと、前記設備機器に通信品質評価を実行させるためのテストフレームを、前記通信線を介して前記設備機器に送信する送信手段と、
     前記テストフレームを、前記制御フレームの送信間隔時間として設定された制御フレーム間隔時間の期間内に前記設備機器に送信するべく前記送信手段を制御する送信制御手段と、を備え、
     前記設備機器は、
     前記制御フレームと前記テストフレームを、前記通信線を介して前記制御装置から受信する受信手段と、
     前記テストフレームの実測波形を取得する実測波形取得手段と、
     前記テストフレームの理論波形を取得する理論波形取得手段と、
     前記実測波形と前記理論波形との比較に基づき、通信品質を評価する通信品質評価手段と、を備える、
     設備管理システム。
    An equipment management system comprising a controller and equipment equipment connected via a communication line, the equipment management system comprising:
    The controller is
    A control frame for controlling the operation of the facility device, and a transmitting means for transmitting a test frame for causing the facility device to perform communication quality evaluation to the facility device via the communication line;
    Transmission control means for controlling the transmission means to transmit the test frame to the equipment within a control frame interval time set as the control frame transmission interval time;
    The equipment is
    Receiving means for receiving the control frame and the test frame from the control device via the communication line;
    Measured waveform acquisition means for acquiring a measured waveform of the test frame;
    Theoretical waveform acquisition means for acquiring a theoretical waveform of the test frame;
    Communication quality evaluation means for evaluating communication quality based on comparison between the measured waveform and the theoretical waveform;
    Equipment management system.
  6.  通信線を介して接続された設備機器を制御する制御装置の制御方法であって、
     前記設備機器の動作を制御するための制御フレームと、前記設備機器に通信品質評価を実行させるためのテストフレームを、前記通信線を介して前記設備機器に送信する送信ステップと、
     前記テストフレームを、前記制御フレームの送信間隔時間として設定された制御フレーム間隔時間の期間内に前記設備機器に送信するべく前記送信ステップを制御する送信制御ステップと、を備える、
     制御方法。
    A control method of a control device for controlling equipment connected via a communication line, the control method comprising:
    A control frame for controlling the operation of the equipment, and a transmitting step of transmitting a test frame for causing the equipment to perform communication quality evaluation to the equipment via the communication line;
    Controlling the transmitting step to transmit the test frame to the equipment within a control frame interval time set as the control frame transmission interval time;
    Control method.
  7.  通信線を介して接続された設備機器を制御する制御装置のコンピュータを、
     前記設備機器の動作を制御するための制御フレームと、前記設備機器に通信品質評価を実行させるためのテストフレームを、前記通信線を介して送信する送信手段、
     前記テストフレームを、前記制御フレームの送信間隔時間として設定された制御フレーム間隔時間の期間内に前記設備機器に送信するべく前記送信手段を制御する送信制御手段、
     として機能させるプログラム。
    A control computer that controls equipment connected via a communication line,
    A control frame for controlling the operation of the facility device, and a transmitting means for transmitting a test frame for causing the facility device to perform communication quality evaluation via the communication line,
    Transmission control means for controlling the transmission means to transmit the test frame to the equipment within a control frame interval time set as the control frame transmission interval time,
    A program to function as
PCT/JP2017/028305 2017-08-03 2017-08-03 Control device, equipment, facility management system, control method, and program WO2019026254A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019533838A JP6833043B2 (en) 2017-08-03 2017-08-03 Control devices, equipment, equipment management systems, control methods, and programs
PCT/JP2017/028305 WO2019026254A1 (en) 2017-08-03 2017-08-03 Control device, equipment, facility management system, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/028305 WO2019026254A1 (en) 2017-08-03 2017-08-03 Control device, equipment, facility management system, control method, and program

Publications (1)

Publication Number Publication Date
WO2019026254A1 true WO2019026254A1 (en) 2019-02-07

Family

ID=65233367

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/028305 WO2019026254A1 (en) 2017-08-03 2017-08-03 Control device, equipment, facility management system, control method, and program

Country Status (2)

Country Link
JP (1) JP6833043B2 (en)
WO (1) WO2019026254A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004362068A (en) * 2003-06-02 2004-12-24 Denso Corp Method for inspecting bus communication system, and communication device
JP2006148265A (en) * 2004-11-16 2006-06-08 Nec Commun Syst Ltd Communication system
JP2012142902A (en) * 2011-01-06 2012-07-26 Anritsu Corp Pulse pattern generating device, error ratio measuring system using the same, and pulse pattern generating method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004362068A (en) * 2003-06-02 2004-12-24 Denso Corp Method for inspecting bus communication system, and communication device
JP2006148265A (en) * 2004-11-16 2006-06-08 Nec Commun Syst Ltd Communication system
JP2012142902A (en) * 2011-01-06 2012-07-26 Anritsu Corp Pulse pattern generating device, error ratio measuring system using the same, and pulse pattern generating method

Also Published As

Publication number Publication date
JPWO2019026254A1 (en) 2019-11-21
JP6833043B2 (en) 2021-02-24

Similar Documents

Publication Publication Date Title
TWI730993B (en) First communication device, communication method, and communication system
CN109558282B (en) PCIE link detection method, system, electronic equipment and storage medium
TWI507000B (en) Interface method for data tx/rx system using data stream
KR100778114B1 (en) Communication method to improve communication error and electron device to be applied the method
JP5191934B2 (en) Status monitoring system and status monitoring method
US8994445B2 (en) Electronic device
WO2019026254A1 (en) Control device, equipment, facility management system, control method, and program
US20130031426A1 (en) Communication apparatus
KR102168688B1 (en) Driver integrated circuit chip and display device having the same
US9619310B2 (en) High speed data transmission methods and systems upon error detection
JP5286814B2 (en) Semiconductor device, portable electronic device, self-diagnosis method, self-diagnosis program
JP2012103027A (en) Disconnection sign detection system
JP2012182732A (en) Differential signal transmission circuit, disk array controller, and differential signal transmission cable
US10824582B2 (en) Communication apparatus, communication method, program, and communication system
TWI423638B (en) Communication system, test device, communication device, communication method, and test method
JP5669419B2 (en) Image forming apparatus
KR101886270B1 (en) Self driving roller control method using can communication
JP4591660B2 (en) Infrared communication control device and watt-hour meter
TWI381174B (en) A testing system and method of the peripheral component interconnect express
WO2010061482A1 (en) Testing apparatus, serial transmission system, program, and recording medium
CN102479136A (en) Test system for high-speed peripheral component extensible interfaces
JP5858471B2 (en) Bus monitoring device, bus monitoring method, bus monitoring program
JP6648682B2 (en) Image forming apparatus and image forming system
JP2013256874A (en) In-vehicle electronic control device
JP2000259974A (en) Test system, tester and testing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17920334

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019533838

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17920334

Country of ref document: EP

Kind code of ref document: A1