WO2013031569A1 - フィールド機器 - Google Patents

フィールド機器 Download PDF

Info

Publication number
WO2013031569A1
WO2013031569A1 PCT/JP2012/070989 JP2012070989W WO2013031569A1 WO 2013031569 A1 WO2013031569 A1 WO 2013031569A1 JP 2012070989 W JP2012070989 W JP 2012070989W WO 2013031569 A1 WO2013031569 A1 WO 2013031569A1
Authority
WO
WIPO (PCT)
Prior art keywords
field device
log
memory
storage area
event
Prior art date
Application number
PCT/JP2012/070989
Other languages
English (en)
French (fr)
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 EP12828799.2A priority Critical patent/EP2752723B1/en
Priority to US14/241,011 priority patent/US9389996B2/en
Priority to CN201280036984.8A priority patent/CN103718122B/zh
Publication of WO2013031569A1 publication Critical patent/WO2013031569A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0264Control of logging system, e.g. decision on which data to store; time-stamping measurements
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/14Plc safety
    • G05B2219/14055Make log, journal, history file of state changes
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25428Field device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/25Using a specific main memory architecture
    • G06F2212/251Local memory within processor subsystem

Definitions

  • the present invention relates to a field device installed in a plant or factory.
  • This application claims priority based on Japanese Patent Application No. 2011-191564 filed on September 2, 2011, the contents of which are incorporated herein by reference.
  • DCS Distributed Control System
  • field devices measuring instruments, operation devices
  • control device for controlling them
  • Most of the communication systems that form the basis of such a distributed control system are those that communicate by wire, but in recent years, those that communicate by radio in compliance with wireless communication standards such as ISA100.11a have also been realized. Has been.
  • the self-diagnosis performed in the field device is a self-diagnosis for diagnosing whether the result of the measurement and calculation performed periodically is abnormal, and whether the setting value of the parameter or the like is abnormal. It is roughly divided into self-diagnosis.
  • diagnosis for example, a process value abnormality indicating that the process value has exceeded a preset threshold value or a sensor abnormality indicating that the signal from the sensor is an abnormal value is diagnosed.
  • an adjustment abnormality indicating that the adjustment amount set by the user for adjusting the field device is an abnormal value is diagnosed.
  • Conventional field devices process abnormalities detected by self-diagnosis as alarms, and store four alarms that occurred in the past as alarm history.
  • the conventional field device does not update the alarm history when the same alarm is continuously generated, and updates the alarm history only when the generated alarm is changed. Further, when a new alarm is generated in a state where the four alarms are already stored as the alarm history, the oldest alarm is overwritten on the newly generated alarm.
  • Patent Document 1 discloses a technique for recording an execution command history of a CPU (Central Processing Unit), although it is not related to a field device. Specifically, in an information processing apparatus equipped with a pipeline control CPU, instructions executed by the CPU and their addresses and write data are used to facilitate analysis in the event of an abnormality that cannot be continued. Is recorded as a history in an instruction history buffer.
  • a CPU Central Processing Unit
  • the conventional field device can only store the past four alarms as an alarm history, and must have a poor alarm history function.
  • the alarm history function of field devices can be strengthened by newly installing a large-capacity memory as a memory for storing the alarm history.
  • the field device is restricted by the installation space as described above and needs to avoid an increase in cost, it cannot be scaled up unlike the technique disclosed in Patent Document 1 described above. For this reason, it is difficult to enhance the alarm history function by installing a new large-capacity memory in the field device.
  • the present invention provides a field device capable of accurately grasping events that have occurred in the past without significantly increasing the scale and cost.
  • a field device occurs in a first memory that stores a program that defines the operation of the field device, a second memory that stores a parameter used in the field device, and the field device.
  • a log generation unit that generates an operation log in which first information indicating a type of an event, second information indicating a time when the event occurs, and third information related to the event, and the log generation unit
  • a control unit that stores the operation log in a log storage area secured in one of the free areas of the first and second memories.
  • the third information includes information indicating a state of the field device before and after the time when the event occurs, information indicating a state of the field device when the event occurs, and the event occurs.
  • the log generation unit generates the operation log every time an event occurs in the field device, and the control unit stores the operation log in the log storage area every time the operation log is generated by the log generation unit. May be stored in time series.
  • the field device includes a log analysis unit that is included in the control unit and performs a predetermined analysis process using the operation log stored in the log storage area, and a result of the analysis process performed by the log analysis unit. And an output unit for outputting.
  • the log storage area is secured in a free area of the second memory, and the control unit secures an update program in the second memory for updating a program stored in the first memory.
  • the update control unit overwrites the operation log stored in the log storage area secured in the second memory with the update program, thereby writing the log storage area secured in the second memory to the log storage area.
  • the update program may be temporarily stored.
  • Each function of the control unit may be realized by the control unit reading and executing the program stored in the first memory.
  • the first memory is a nonvolatile semiconductor memory, and the program stored in the first memory is updated to an update program distributed from a host device via a wireless communication network under the control of the control unit. May be.
  • the second memory is a FeRAM (Ferroelectric Random Access Memory), which is a non-volatile semiconductor memory that uses the hysteresis of a ferroelectric substance and associates positive and negative spontaneous polarizations with values “1” and “0”, respectively.
  • the second memory may store the operation log of the field device generated by the control unit or an update program distributed from a host device via a wireless communication network.
  • a first area and a second area are secured by the control unit, and the first area is a parameter storage area secured for storing the parameter,
  • the second area may be a log storage area secured in a free area of the second memory for storing the operation log or the update program.
  • the free area of the second memory is secured in advance as a log storage area for storing the operation log, and when the program stored in the first memory is updated, the update program is stored in the log storage area. May be.
  • the event includes state transition of the field device, occurrence of an external alarm or internal alarm due to an external error or an internal error of the field device, an abnormality of a process value or a measured value, an abnormality of an installation value set by a user But you can.
  • the log generation unit Returning to the top of the log storage area, the already stored operation log may be overwritten with a new operation log.
  • the first information is a number uniquely assigned to each of the events occurring in the field device
  • the second information is a count value of a 32-bit counter used in the control unit.
  • Reference time information indicating a time at which counting by the counter is started is stored in the parameter storage area
  • the third information is information related to the event that has occurred in the field device.
  • the information may be different in content and data length.
  • a method of operating a field device that stores a program that defines the operation of the field device in a first memory of the field device and sets parameters used in the field device. A pair of the first information indicating the type of the event that occurred in the field device, the second information indicating the time when the event occurred, and the third information related to the event. Generating the action log, and storing the action log in a log storage area secured in one of the first and second memory free areas.
  • the log generation unit pairs the first information indicating the type of the event occurring in the device, the second information indicating the time when the event occurred, and the third information related to the event.
  • the operation log is generated and stored in a log storage area secured in one of the first and second memory free areas. Therefore, it is possible to accurately grasp events that have occurred in the past without significantly increasing the scale and cost.
  • FIG. 1 is a block diagram showing an overall configuration of a wireless communication system in which a field device according to an embodiment of the present invention is used.
  • the wireless communication system CS includes wireless field devices 1a and 1b, a wireless gateway 2, and a host device 3, and can communicate via the wireless communication network N1 and the backbone network N2.
  • the wireless communication network N1 and the backbone network N2 In FIG. 1, two field wireless devices 1a and 1b are shown, but the number of field wireless devices is arbitrary.
  • the wireless field devices 1a and 1b are, for example, sensor devices such as flow meters and temperature sensors, valve devices such as flow control valves and on-off valves, actuator devices such as fans and motors, and other devices installed in plants and factories.
  • the wireless communication conforming to ISA100.11a which is a wireless communication standard for industrial automation is performed.
  • These wireless field devices 1a and 1b have a self-diagnosis function for automatically diagnosing their own state in order to improve safety and reliability. The details of the internal configuration of the field wireless devices 1a and 1b will be described later.
  • the wireless gateway 2 connects the wireless communication network N1 to which the field wireless devices 1a and 1b are connected and the backbone network N2 to which the host device 3 is connected, and between the field wireless devices 1a and 1b and the host device 3. Relays various data sent and received.
  • the wireless gateway 2 is capable of wireless communication compliant with the wireless communication standard ISA100.11a, and controls wireless communication performed through the wireless communication network N1 and enters field wireless devices into the wireless communication network N1. Entry processing for determining whether or not to make it happen.
  • the host device 3 is connected to a backbone network N2 that is a wired network, and is a device that is operated by an administrator of the wireless communication system CS, for example.
  • the host device 3 communicates with, for example, the wireless gateway 2 according to the operation of the administrator, and acquires information (measurement data, information indicating an abnormality (alarm), etc.) regarding the wireless field devices 1a and 1b. Thus, it is used to manage the field wireless devices 1a and 1b.
  • the host device 3 distributes a program (update program) for updating a program used in the wireless field devices 1 a and 1 b to the wireless field devices 1 a and 1 b via the wireless gateway 2.
  • FIG. 2 is a block diagram showing a main configuration of a field device according to an embodiment of the present invention. Since the wireless field devices 1a and 1b have the same configuration, only the wireless field device 1a will be described below, and description of the wireless field device 1b will be omitted. Further, FIG. 2 illustrates only a configuration necessary for explaining the present invention among the configurations provided in the wireless field device 1a.
  • the wireless field device 1a includes a wireless communication unit 11 (output unit), a device specific processing unit 12, a display unit 13 (output unit), a flash memory 14 (first memory), and a ferroelectric memory 15 ( A second memory) and a control unit 16, and performs predetermined processing while monitoring the state of the device in accordance with a program PG stored in the flash memory 14.
  • the predetermined processing performed in the wireless field device 1a is, for example, temperature measurement processing, valve opening / closing processing, actuator operation processing, and the like.
  • a temperature measurement process is performed as the predetermined process.
  • the wireless communication unit 11 performs wireless communication with the wireless gateway 2 via the wireless communication network N1 under the control of the control unit 16.
  • the wireless communication performed by the wireless communication unit 11 is based on the above-described wireless communication standard ISA100.11a.
  • the device specific processing unit 12 performs processing specific to the field wireless device 1 a under the control of the control unit 16.
  • the device specific processing unit 12 includes a temperature sensor, and performs a temperature measurement process as the specific process.
  • the display unit 13 includes a display device such as a liquid crystal display device. Under the control of the control unit 16, for example, various messages for the operator who performs maintenance work of the wireless field device 1a, the state of the device, and the like are displayed on the display device. indicate.
  • the flash memory 14 is a nonvolatile semiconductor memory, and stores a program PG that defines the operation of the wireless field device 1a.
  • the program PG can be updated to an update program distributed from the host device 3 via the wireless communication network N1 or the like under the control of the control unit 16.
  • the capacity of the flash memory 14 provided in the wireless field device 1a is, for example, about 256 kilobytes.
  • the ferroelectric memory 15 is a non-volatile semiconductor memory that uses a hysteresis phenomenon (hysteresis) of a ferroelectric substance to associate positive and negative spontaneous polarizations with values “1” and “0”, respectively.
  • FerroelectricroRandom AccessandMemory The ferroelectric memory 15 stores various parameters PM used in the wireless field device 1a, and is distributed from the device operation log LG generated by the control unit 16 or the host device 3 via the wireless communication network N1 or the like. Store the update program that will be used.
  • the capacity of the ferroelectric memory 15 provided in the wireless field device 1a is also about 256 kilobytes, for example.
  • FIG. 3 is a diagram showing a memory map of the ferroelectric memory provided in the field device according to the embodiment of the present invention.
  • An area R1 shown in FIG. 3 is a parameter storage area reserved for storing the parameter PM, and has a capacity of, for example, 64 kilobytes.
  • the area R2 shown in FIG. 3 is a log storage secured in an empty area (an area other than the parameter storage area R1) of the ferroelectric memory 15 in order to store the operation log LG or the update program.
  • the free space in the ferroelectric memory 15 temporarily stores an update program distributed from the host device 3 via the wireless communication network N1 or the like when the program PG stored in the flash memory 14 is updated. It is only used for that purpose.
  • an empty area of the ferroelectric memory 15 is secured in advance as a log storage area R2 for storing the operation log LG, and the program PG stored in the flash memory 14 is updated when the update is performed.
  • the program is stored in the log storage area R2. This is because the free area of the ferroelectric memory 15 is effectively used for storing the operation log LG to prevent a significant increase in scale and cost.
  • the control unit 16 includes a log generation unit 16a, a log analysis unit 16b, and an update control unit 16c, and controls the overall operation of the wireless field device 1a.
  • Each function of the log generation unit 16a, the log analysis unit 16b, and the update control unit 16c provided in the control unit 16 is realized by the control unit 16 reading and executing the program PG stored in the flash memory 14. .
  • the log generation unit 16a generates an operation log LG when a predetermined event occurs in the wireless field device 1a.
  • the generated operation log LG is stored in the log storage area R2 secured in the ferroelectric memory 15 under the control of the control unit 16.
  • the events that the log generation unit 16a needs to generate the operation log LG include device state transition, occurrence of an external alarm or internal alarm due to an external error or internal error of the device, abnormal process value or measurement value, An example is an abnormality in an installation value set by a user.
  • the log generation unit 16a generates an operation log LG every time the above event occurs.
  • the generated operation log LG is stored in time series in the log storage area R2 secured in the ferroelectric memory 15 like the operation logs LG1, LG2, LG3 shown in FIG. Is done.
  • Information indicating a head address where a new operation log should be stored in the log storage area R2 is stored in an area R11 in the parameter storage area R1 shown in FIG. Therefore, if the control unit 16 sequentially stores the operation logs LG1, LG2, LG3 in the log storage region R2 while referring to the address stored in the region R11, these operation logs LG1, LG2, LG3 are time-sequential. Will be stored. When there is no remaining capacity in the log storage area R2, the control unit 16 returns to the top of the log storage area R2 and overwrites the already stored operation log with a new operation log.
  • FIG. 4 is a diagram showing an example of an operation log generated by the field device according to the embodiment of the present invention.
  • the operation log LG generated in the present embodiment is a pair of a count value (second information), an event number (first information), and related information (third information).
  • the count value is information indicating the occurrence time of an event occurring in the wireless field device 1a.
  • the event number is information indicating the type of event that has occurred.
  • the related information is information related to the event that has occurred.
  • the count value is a count value of a 32-bit counter (for example, a counter that increments the count value every second) used in the control unit 16, for example.
  • the reference time information indicating the time when the counting by the counter is started is stored in the region R12 in the parameter storage region R1 shown in FIG. For this reason, when the time indicated by the count value is added to the time indicated by the reference item information stored in the region R12, the time when the event occurs can be obtained. The reason why the count value is used instead of the time itself is to reduce the amount of data.
  • the event number is a number uniquely assigned to each event occurring in the field wireless device 1a. For this reason, the event which occurred in the field wireless device 1a can be specified from the event number.
  • the related information is information related to an event that has occurred in the field wireless device 1a, and is different in content and data length for each event. Specifically, the related information is information indicating the state of the device before and after the event occurs, information indicating the state of the device at the time of occurrence of the event, or the device specific processing unit 12 at the time of occurrence of the event. Information used.
  • FIG. 5 is a diagram showing a specific example of related information included in the operation log according to the embodiment of the present invention.
  • related information regarding events to which event numbers “0001”, “0002”, “0020”, “0021”, “0250”, and “0251” are assigned is shown.
  • the events to which event numbers “0001” and “0002” are assigned are the state transition of the calculation unit (not shown) and the state transition of the display unit 13, respectively.
  • Information indicating the state and the state after transition that is, information indicating the state of the device before and after the occurrence of the event.
  • the events assigned event numbers “0020” and “0021” are the occurrences of external alarms and internal alarms, respectively, and the related information of these events includes the contents of all bits of the generated external alarms and internal alarms. Information indicating the state of the device at the time when the event occurs.
  • the events to which the event numbers “0250” and “0251” are assigned are abnormal process values and sensor input values, respectively, and the related information of these events indicates the status of those values and the values themselves.
  • Information that is, information used by the device specific processing unit 12 or the like when an event occurs.
  • the operation log LG1 shown in FIG. 4 has a count value of “00000100” and an event number of “0001”, and thus occurred 256 seconds after the counter of the control unit 16 started counting. It can be seen that it is generated by the state transition of the calculation unit. Further, since the related information is “00020001”, it can be seen that the state of the computing unit before the transition is “0002” and the state of the computing unit after the transition is “0001”.
  • the operation log LG3 shown in FIG. 4 has a count value of “00000C00” and an event number of “0250”, the process value generated 3072 seconds after the count is started by the counter of the control unit 16 It can be seen that it was generated by the abnormality. Further, the status of the process value and the process value can be known from the related information “80445000000”.
  • the log analysis unit 16b performs life diagnosis and preventive maintenance by reading the operation log LG stored in the ferroelectric memory 15 at a constant cycle and performing self-analysis.
  • the change time of the battery provided in the wireless field device 1a is predicted by analyzing the fluctuation of the power supply voltage and noise, or the lifetime (replacement time) of the temperature sensor is predicted by analyzing the measured value of the temperature sensor.
  • the preventive maintenance can be performed by transmitting the analysis result of the log analysis unit 16b from the wireless communication unit 11 to the host device 3 or displaying the analysis result on the display unit 13 to notify the administrator or worker.
  • the update control unit 16c performs control to update the program PG stored in the flash memory 14 when an update program is distributed from the host device 3 via the wireless communication network N1 or the like. Specifically, the update program distributed by the host device 3 is temporarily stored in the log storage area R2 of the ferroelectric memory 15, and the program PG stored in the flash memory 14 is stored in the log of the ferroelectric memory 15. Rewrite (update) the update program temporarily stored in the region R2.
  • the update control unit 16c updates the operation log LG stored in the log storage area R2. Overwrite with program.
  • the operation log LG generated by the log generation unit 16a realized by executing the program PG that is, the log storage of the ferroelectric memory 15 is stored.
  • the operation log LG stored in the region R2 has no meaning and needs to be deleted.
  • the update control unit 16c updates the program PG stored in the flash memory 14
  • the operation log LG stored in the log storage area R2 of the ferroelectric memory 15 is overwritten with the update program. is doing. This is to save the trouble of deleting the operation log LG that has no meaning and to prevent the operation log LG that has no meaning from being used accidentally without being deleted.
  • FIG. 6 is a flowchart showing the operation of the field device according to the embodiment of the present invention. Note that the flowchart shown in FIG. 6 is a flowchart showing an operation related to generation of an operation log among various operations performed in the wireless field device 1a, and is started after the power of the wireless field device 1a is turned on.
  • step S11 the state of the wireless field device 1a is monitored according to the program PG stored in the flash memory 14, and in step S12, an event occurs in the wireless field device 1a. It is judged by the control unit 16 whether or not it has been done. When it is determined that no event has occurred in the wireless field device 1a (when the determination result in step S12 is “NO”), the process returns to step S11 and the state monitoring of the wireless field device 1a is continued.
  • the generated event needs to generate an operation log LG in step S13.
  • the control unit 16 determines whether the event is a certain event. Specifically, the event that has occurred is set by the state transition of the wireless field device 1a, the occurrence of an external alarm or an internal alarm due to an external error or internal error of the wireless field device 1a, an abnormal process value or measurement value, and the user. It is determined whether the installation value is abnormal.
  • control unit 16 determines that the generated event is not an event that needs to generate the operation log LG (when the determination result of step S13 is “NO”), the process returns to step S11, and the wireless field device 1a Status monitoring continues.
  • the control unit 16 determines that the generated event is an event that needs to generate the operation log LG (when the determination result of step S13 is “YES”), the process of creating the operation log LG is performed. This is performed by the log generation unit 16a.
  • step S14 the event number is specified from the event that has occurred, and then in step S15, processing for collecting related information related to the event is performed by the control unit 16.
  • step S ⁇ b> 16 processing for obtaining the current time (count value of the counter of the control unit 16) is performed by the control unit 16.
  • step S17 the log generation unit 16a generates an action log LG in which the count value acquired in step S16, the event number specified in step S14, and the related information collected in step S15 are paired. It is generated and stored in the log storage area R2 of the ferroelectric memory 15.
  • step S18 the control unit 16 performs a process of updating the head address stored in the region R11 (see FIG. 3) of the ferroelectric memory 15 according to the length of the operation log LG stored in step S17. Is called. Note that when the process of step S18 ends, the process returns to step S11. When the process described above is repeated and an event that requires generation of the operation log LG occurs in the wireless field device 1a, the operation log LG is sequentially stored in the log storage region R2 of the ferroelectric memory 15 in time series. Is done.
  • the operation log LG stored in the log storage region R2 of the ferroelectric memory 15 is read at a constant cycle by the log analysis unit 16b provided in the control unit 16 and analyzed for life diagnosis and the like.
  • the analysis result of the log analysis unit 16b is transmitted from the wireless communication unit 11 to the host device 3 or displayed on the display unit 13 for the administrator of the wireless communication system CS and the operator who performs maintenance work of the wireless field device 1a. Informed.
  • the state of the wireless field device 1a is monitored, and when an event that needs to generate the operation log LG occurs in the wireless field device 1a, the count value (in the wireless field device 1a)
  • An operation log LG which is a pair of information indicating the occurrence time of the event that has occurred), event number (information indicating the type of event that has occurred), and related information (information relating to the event that has occurred) is stored in the ferroelectric memory 15
  • the log storage area R2 is stored. Therefore, compared to the conventional case where only alarms are stored as alarm history, it is possible to grasp the time when an event occurred and information related to the event, and accurately grasp the events that occurred in the past. can do.
  • the operation log LG is sequentially stored in the log storage area R2 of the ferroelectric memory 15 in time series, it is possible to trace the transition of events occurring in the field wireless device 1a. It is possible to more accurately grasp events that have occurred in the past.
  • an area other than the parameter storage area R1 of the ferroelectric memory 15 is secured as the log storage area R2, and an update program (update program for updating the program PG stored in the flash memory 14) is stored. Since the area used for storage is also used for storing the operation log LG, the scale and cost are not significantly increased.
  • the operation log LG is read in the log storage region R2 of the ferroelectric memory 15 at a constant cycle, and analysis for life diagnosis is performed, and the analysis result is transmitted to the host device 3 or displayed. It is displayed on the part 13.
  • the field device has been described above, but the present invention is not limited to the above-described embodiment, and can be freely changed within the scope of the present invention.
  • the log storage area R2 is secured in the ferroelectric memory 15 and the operation log LG is stored has been described.
  • an area similar to the log storage area R2 is secured in the flash memory 14.
  • the operation log LG may be stored.
  • the example in which the ferroelectric memory 15 is used as the memory for storing the parameter PM and the operation log LG has been described.
  • an EEPROM or a flash memory may be used instead of the ferroelectric memory 15.
  • the field wireless devices 1 a and 1 b analyze the operation log LG and transmit the analysis result to the host device 3.
  • the host device 3 may acquire and analyze the operation log LG stored in the wireless field devices 1a and 1b.
  • the wireless field devices 1a and 1b capable of wireless communication based on the wireless communication standard ISA100.11a have been described as an example.
  • the present invention is applied to field devices that perform communication via a wired network. Can also be applied.
  • the present invention can be widely applied to field devices installed in plants, factories, and the like, and can realize field devices that can accurately grasp events that occurred in the past without significantly increasing the scale and cost.
  • Wireless field device 1a, 1b Wireless field device 2 Wireless gateway 3 Host device 11 Wireless communication part (output part) 12 device-specific processing unit 13 display unit (output unit) 14 Flash memory (first memory) 15 Ferroelectric memory (second memory) 16 control unit 16a log generation unit 16b log analysis unit 16c update control unit CS wireless communication system LG, LG1, LG2, LG3 operation log N1 wireless communication network N2 backbone network PG program PM parameter R1 parameter storage region R11, R12 parameter storage region R1 Area R2 Log storage area

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

 フィールド機器の動作を規定するプログラムを格納する第1メモリと、前記フィールド機器で用いられるパラメータを格納する第2メモリと、前記フィールド機器内で生じた事象の種類を示す第1情報、前記事象が生じた時刻を示す第2情報、及び前記事象に関連する第3情報を対にした動作ログを生成するログ生成部と、前記ログ生成部を含み、前記動作ログを、前記第1,第2メモリの何れか一方の空き領域に確保されたログ格納領域に格納する制御部と、を備える、フィールド機器。

Description

フィールド機器
 本発明は、プラントや工場等に設置されるフィールド機器に関する。
 本願は、2011年9月2日に出願された日本国特許出願第2011-191564号に基づき優先権を主張し、その内容をここに援用する。
 従来から、プラントや工場等においては、高度な自動操業を実現すべく、分散制御システム(DCS:Distributed Control System)が構築されている。分散制御システムでは、フィールド機器と呼ばれる現場機器(測定器、操作器)と、これらを制御する制御装置とが通信手段を介して接続されている。このような分散制御システムの基礎をなす通信システムは、有線によって通信を行うものが殆どであったが、近年においては、ISA100.11a等の無線通信規格に準拠した無線によって通信を行うものも実現されている。
 プラント等においては、安全性及び信頼性が最優先される。したがって、分散制御システムを構築するフィールド機器は、自己の状態を自動的に診断する自己診断機能を備えるものが多い。ここで、フィールド機器で行われる自己診断は、定期的に行われる測定及び演算の結果が異常である否かを診断する自己診断と、パラメータ等の設定値が異常であるか否かを診断する自己診断とに大別される。前者の診断では、例えばプロセス値が予め設定された閾値を超えたことを示すプロセス値異常や、センサからの信号が異常な値であることを示すセンサ異常が診断される。後者の診断では、例えばフィールド機器の調整のためにユーザによって設定された調整量が異常な値であることを示す調整異常が診断される。
 従来のフィールド機器は、自己診断によって検出した異常をアラームとして処理しており、過去に生じたアラームを4つ分だけアラーム履歴として保存している。ここで、従来のフィールド機器は、同一のアラームが連続して発生している場合にはアラーム履歴を更新せず、発生するアラームが変化した場合にのみアラーム履歴を更新するようにしている。また、4つのアラームがアラーム履歴として既に保存されている状態で新たなアラームが発生した場合には、最も古いアラームを新たに発生したアラームに上書きするようにしている。
 尚、以下の特許文献1には、フィールド機器に関するものではないが、CPU(中央処理装置)の実行命令履歴を記録する技術が開示されている。具体的には、パイプライン制御方式のCPUを備えた情報処理装置において、処理続行が不可能な異常が生じた場合における解析を容易にするために、CPUが実行した命令及びそのアドレスや書込みデータを履歴として命令履歴バッファに記録する技術が開示されている。
特開平5-158754号公報
 ところで、上述のフィールド機器は、プラント等に設置される組み込み機器であるため、設置スペースの制約を受ける関係から外形形状や大きさが先に規定されてしまい、要求される機能を必要最低限の部品によって実現しているのが現状である。このため、従来のフィールド機器は、上述の通り、過去4つ分のアラームをアラーム履歴として保存することができるに留まり、アラームの履歴機能が貧弱であると言わざるを得ない。
 従来のフィールド機器は、アラームの履歴機能が貧弱ではあるものの、保存されたアラーム履歴からフィールド機器に生じた異常を全く把握することができないという訳ではなく、ある程度は異常を把握することが可能である。しかしながら、従来のフィールド機器はアラームの履歴機能が貧弱であるが故に、フィールド機器においてどのような異常がいつ発生したのかを正確に把握することは困難である。
 ここで、アラーム履歴を記憶するメモリとして大容量のメモリを新たに搭載すれば、フィールド機器のアラームの履歴機能を強化することができるとも考えられる。しかしながら、フィールド機器は、前述した通り設置スペースの制約を受けるとともにコストの上昇も避ける必要があることから、上述した特許文献1に開示された技術とは異なり大規模化することはできない。このため、新たな大容量のメモリをフィールド機器に搭載することによって、アラームの履歴機能の強化を図ることは難しい。
 本発明は、規模及びコストを大幅に上昇させることなく過去に生じた事象を正確に把握することができるフィールド機器を提供する。
 本発明の一実施形態に係るフィールド機器は、フィールド機器の動作を規定するプログラムを格納する第1メモリと、前記フィールド機器で用いられるパラメータを格納する第2メモリと、前記フィールド機器内で生じた事象の種類を示す第1情報、前記事象が生じた時刻を示す第2情報、及び前記事象に関連する第3情報を対にした動作ログを生成するログ生成部と、前記ログ生成部を含み、前記動作ログを、前記第1,第2メモリの何れか一方の空き領域に確保されたログ格納領域に格納する制御部と、を備える。
 前記第3情報は、前記事象が生じた時点の前と後における前記フィールド機器の状態を示す情報、前記事象が生じた時点における前記フィールド機器の状態を示す情報、および前記事象が生じた時点において前記フィールド機器で行われる所定の処理で用いられる情報の何れかであってもよい。
 前記ログ生成部は、前記フィールド機器内で事象が生ずる度に前記動作ログを生成し、前記制御部は、前記ログ生成部で前記動作ログが生成される度に前記動作ログを前記ログ格納領域に時系列的に格納してもよい。
 前記フィールド機器は、前記制御部に含まれ、前記ログ格納領域に格納された前記動作ログを用いて所定の解析処理を行うログ解析部と、前記ログ解析部で行われた解析処理の結果を出力する出力部と、を更に備えてもよい。
 前記ログ格納領域は、前記第2メモリの空き領域に確保されており、前記制御部は、前記第1メモリに格納されるプログラムを更新するための更新プログラムを前記第2メモリに確保された前記ログ格納領域に一時的に格納し、該更新プログラムを用いて前記第1メモリに格納されるプログラムの更新を行う更新制御部を更に備えてもよい。
 前記更新制御部は、前記第2メモリに確保された前記ログ格納領域に格納されている前記動作ログを前記更新プログラムで上書きすることによって、前記第2メモリに確保された前記ログ格納領域に前記更新プログラムを一時的に格納してもよい。
 前記制御部の各機能は、前記制御部が前記第1メモリに格納された前記プログラムを読み出して実行することにより実現されてもよい。
 前記第1メモリは、不揮発性の半導体メモリであり、前記第1メモリに格納された前記プログラムは、前記制御部の制御によって、ホスト装置から無線通信ネットワークを介して配布される更新プログラムに更新されてもよい。
 前記第2メモリは、強誘電体のヒステリシスを利用し、正負の自発分極を値「1」及び値「0」にそれぞれ対応させた不揮発性の半導体メモリである、FeRAM(Ferroelectric Random Access Memory)であり、前記第2メモリは、前記制御部で生成された前記フィールド機器の前記動作ログ或いはホスト装置から無線通信ネットワークを介して配布される更新プログラムを格納してもよい。
 前記第2メモリには、前記制御部によって、第1の領域および第2の領域が確保され、前記第1の領域は、前記パラメータを格納するために確保されるパラメータ格納領域であって、前記第2の領域は、前記動作ログ或いは更新プログラムを格納するために、前記第2のメモリの空き領域に確保されるログ格納領域であってもよい。
 前記第2メモリの空き領域は、前記動作ログを格納するログ格納領域として予め確保され、前記第1メモリに格納された前記プログラムの更新が行われる場合には更新プログラムを前記ログ格納領域に格納してもよい。
 前記事象は、前記フィールド機器の状態遷移、前記フィールド機器の外部エラー又は内部エラーによる外部アラーム又は内部アラームの発生、プロセス値や測定値の異常、ユーザによって設定された設置値の異常、を含んでもよい。
 前記ログ格納領域において新たに前記動作ログを格納すべき先頭アドレスを示す情報が、前記パラメータ格納領域内に格納され、前記ログ格納領域の残りの容量が無くなった場合には、前記ログ生成部は、前記ログ格納領域の先頭に戻って、既に格納されている前記動作ログを新たな動作ログで上書きしてもよい。
 前記第1情報は、前記フィールド機器内で生ずる前記事象の各々に対して一意に割り当てられた番号であり、前記第2情報は、前記制御部で用いられる32ビットのカウンタのカウント値であり、前記カウンタによるカウントが開始された時刻を示す基準時刻情報が、前記パラメータ格納領域内に格納され、前記第3情報は、前記フィールド機器内で生じた前記事象に関連する情報であって事象毎に内容及びデータ長が異なる情報であってもよい。
 本発明の一実施形態に係るフィールド機器の動作方法は、フィールド機器の動作を規定するプログラムを前記フィールド機器の第1メモリに格納することと、前記フィールド機器で用いられるパラメータを前記フィールド機器の第2メモリに格納することと、前記フィールド機器内で生じた事象の種類を示す第1情報、前記事象が生じた時刻を示す第2情報、及び前記事象に関連する第3情報を対にした動作ログを生成することと、前記動作ログを、前記第1,第2メモリの何れか一方の空き領域に確保されたログ格納領域に格納することと、を含む。
 本発明の実施形態によれば、ログ生成部が、機器内で生じた事象の種類を示す第1情報、事象が生じた時刻を示す第2情報、及び事象に関連する第3情報を対にした動作ログを生成して、第1,第2メモリの何れか一方の空き領域に確保されたログ格納領域に格納する。したがって、規模及びコストを大幅に上昇させることなく過去に生じた事象を正確に把握することが可能である。
本発明の一実施形態によるフィールド機器が用いられる無線通信システムの全体構成を示すブロック図である。 本発明の一実施形態によるフィールド機器の要部構成を示すブロック図である。 本発明の一実施形態によるフィールド機器に設けられる強誘電体メモリのメモリマップを示す図である。 本発明の一実施形態によるフィールド機器で生成される動作ログの一例を示す図である。 本発明の一実施形態において動作ログに含まれる関連情報の具体例を示す図である。 本発明の一実施形態によるフィールド機器の動作を示すフローチャートである。
 以下、図面を参照して本発明の一実施形態によるフィールド機器について詳細に説明する。図1は、本発明の一実施形態によるフィールド機器が用いられる無線通信システムの全体構成を示すブロック図である。図1に示す通り、無線通信システムCSは、無線フィールド機器1a,1b、無線ゲートウェイ2、及びホスト装置3を備えており、無線通信ネットワークN1及びバックボーンネットワークN2を介した通信が可能である。尚、図1では2つの無線フィールド機器1a,1bを示しているが、無線フィールド機器の数は任意である。
 無線フィールド機器1a,1bは、例えば流量計や温度センサ等のセンサ機器、流量制御弁や開閉弁等のバルブ機器、ファンやモータ等のアクチュエータ機器、その他のプラントや工場に設置される機器であり、インダストリアル・オートメーション用無線通信規格であるISA100.11aに準拠した無線通信を行う。これら無線フィールド機器1a,1bは、安全性及び信頼性を高めるべく、自己の状態を自動的に診断する自己診断機能を備える。尚、無線フィールド機器1a,1bの内部構成の詳細については後述する。
 無線ゲートウェイ2は、無線フィールド機器1a,1bが接続される無線通信ネットワークN1と、ホスト装置3が接続されるバックボーンネットワークN2とを接続し、無線フィールド機器1a,1bとホスト装置3との間で送受信される各種データの中継を行う。この、無線ゲートウェイ2は、上記の無線通信規格ISA100.11aに準拠した無線通信が可能であり、無線通信ネットワークN1を介して行われる無線通信の制御や、無線フィールド機器を無線通信ネットワークN1に参入させるか否かの参入処理等も行う。
 ホスト装置3は、有線ネットワークであるバックボーンネットワークN2に接続されており、例えば無線通信システムCSの管理者に操作される装置である。このホスト装置3は、管理者の操作に応じて、例えば無線ゲートウェイ2との間で通信を行って、無線フィールド機器1a,1bに関する情報(測定データ、異常を示す情報(アラーム)等)を取得して無線フィールド機器1a,1bの管理に用いる。また、ホスト装置3は、無線フィールド機器1a,1bで用いられているプログラムを更新するためのプログラム(更新プログラム)を、無線ゲートウェイ2を介して無線フィールド機器1a,1bに配布する。
 次に、無線フィールド機器1a,1bの内部構成について詳細に説明する。図2は、本発明の一実施形態によるフィールド機器の要部構成を示すブロック図である。尚、無線フィールド機器1a,1bは同様の構成であるため、以下では無線フィールド機器1aのみについて説明し、無線フィールド機器1bについての説明は省略する。また、図2では、無線フィールド機器1aに設けられた構成のうち、本発明の説明を行う上で必要な構成のみを図示している。
 図2に示す通り、無線フィールド機器1aは、無線通信部11(出力部)、機器固有処理部12、表示部13(出力部)、フラッシュメモリ14(第1メモリ)、強誘電体メモリ15(第2メモリ)、及び制御部16を備えており、フラッシュメモリ14に格納されるプログラムPGに従って機器の状態を監視しつつ所定の処理を行う。ここで、無線フィールド機器1aで行われる所定の処理は、例えば温度の測定処理、バルブの開閉処理、アクチュエータの操作処理等である。本実施形態では、上記の所定の処理として、温度の測定処理が行われるものとする。
 無線通信部11は、制御部16の制御の下で、無線通信ネットワークN1を介した無線ゲートウェイ2との無線通信を行う。尚、無線通信部11で行われる無線通信は、上述した無線通信規格ISA100.11aに準拠したものである。機器固有処理部12は、制御部16の制御の下で無線フィールド機器1aに固有の処理を行う。具体的に、本実施形態においては、機器固有処理部12は温度センサを備えており、上記の固有の処理として温度の測定処理を行う。表示部13は、液晶表示装置等の表示装置を備えており、制御部16の制御の下で、例えば無線フィールド機器1aの保守作業を行う作業者に対する各種メッセージや機器の状態等を表示装置に表示する。
 フラッシュメモリ14は、不揮発性の半導体メモリであって、無線フィールド機器1aの動作を規定するプログラムPGを格納する。このプログラムPGは、制御部16の制御によって、ホスト装置3から無線通信ネットワークN1等を介して配布される更新プログラムに更新することが可能である。尚、無線フィールド機器1aに設けられるフラッシュメモリ14の容量は、例えば256キロバイト程度である。
 強誘電体メモリ15は、強誘電体の履歴現象(ヒステリシス)を利用し、正負の自発分極を値「1」及び値「0」にそれぞれ対応させた不揮発性の半導体メモリであって、FeRAM(Ferroelectric Random Access Memory)とも呼ばれる。この強誘電体メモリ15は、無線フィールド機器1aで用いられる各種のパラメータPMを格納するとともに、制御部16で生成された機器の動作ログLG或いはホスト装置3から無線通信ネットワークN1等を介して配布される更新プログラムを格納する。尚、無線フィールド機器1aに設けられる強誘電体メモリ15の容量も、例えば256キロバイト程度である。
 ここで、強誘電体メモリ15には、制御部16によって、図3に示す2つの領域R1,R2が確保される。図3は、本発明の一実施形態によるフィールド機器に設けられる強誘電体メモリのメモリマップを示す図である。図3に示す領域R1は、上記のパラメータPMを格納するために確保されるパラメータ格納領域であって、例えば容量が64キロバイトの領域である。これに対し、図3に示す領域R2は、上記の動作ログLG或いは上記の更新プログラムを格納するために強誘電体メモリ15の空き領域(パラメータ格納領域R1以外の領域)に確保されるログ格納領域であって、例えば容量が192キロバイトの領域である。
 強誘電体メモリ15の空き領域は、フラッシュメモリ14に格納されたプログラムPGの更新が行われる場合に、ホスト装置3から無線通信ネットワークN1等を介して配布される更新プログラムを一時的に格納するために用いられるだけである。本実施形態では、強誘電体メモリ15の空き領域を、動作ログLGを格納するログ格納領域R2として予め確保しておき、フラッシュメモリ14に格納されたプログラムPGの更新が行われる場合には更新プログラムをログ格納領域R2に格納するようにしている。これは、強誘電体メモリ15の空き領域を動作ログLGの格納のために有効活用して、規模及びコストの大幅な増大を防止するためである。
 制御部16は、ログ生成部16a、ログ解析部16b、及び更新制御部16cを備えており、無線フィールド機器1aの動作を統括して制御する。これら制御部16に設けられるログ生成部16a、ログ解析部16b、及び更新制御部16cの各機能は、制御部16がフラッシュメモリ14に格納されたプログラムPGを読み出して実行することにより実現される。
 ログ生成部16aは、無線フィールド機器1aで所定の事象が生じた場合に、動作ログLGを生成する。生成された動作ログLGは、制御部16の制御により、強誘電体メモリ15に確保されたログ格納領域R2に格納される。ここで、ログ生成部16aが動作ログLGを生成する必要のある事象としては、機器の状態遷移、機器の外部エラー又は内部エラーによる外部アラーム又は内部アラームの発生、プロセス値や測定値の異常、ユーザによって設定された設置値の異常等が挙げられる。
 このログ生成部16aは、上記の事象が生ずる度に動作ログLGを生成する。生成された動作ログLGは、制御部16の制御により、例えば図3に示す動作ログLG1,LG2,LG3のように、強誘電体メモリ15に確保されたログ格納領域R2に時系列的に格納される。ログ格納領域R2において新たに動作ログを格納すべき先頭アドレスを示す情報が、図3に示すパラメータ格納領域R1内における領域R11に格納される。このため、制御部16が、領域R11に格納されたアドレスを参照しつつ動作ログLG1,LG2,LG3をログ格納領域R2に順次格納すれば、これらの動作ログLG1,LG2,LG3は時系列的に格納されることになる。尚、ログ格納領域R2の残りの容量が無くなった場合には、制御部16は、ログ格納領域R2の先頭に戻って、既に格納されている動作ログを新たな動作ログで上書きする。
 図4は、本発明の一実施形態によるフィールド機器で生成される動作ログの一例を示す図である。図4に示す通り、本実施形態において生成される動作ログLGは、カウント値(第2情報)、事象番号(第1情報)、及び関連情報(第3情報)を対にしたものである。カウント値は無線フィールド機器1a内で生じた事象の発生時刻を示す情報である。事象番号は生じた事象の種類を示す情報である。関連情報は生じた事象に関連する情報である。
 カウント値は、例えば制御部16で用いられる32ビットのカウンタ(例えば、1秒毎にカウント値をインクリメントするカウンタ)のカウント値である。このカウンタによるカウントが開始された時刻を示す基準時刻情報が、図3に示すパラメータ格納領域R1内における領域R12に格納されている。このため、領域R12に格納された基準事項情報で示される時刻に対してカウント値で示される時間を加算すれば、事象が発生した時刻を得ることができる。尚、時刻そのものではなくカウント値を用いるのは、データ量を削減するためである。
 事象番号は、無線フィールド機器1a内で生ずる事象の各々に対して一意に割り当てられた番号である。このため、事象番号から無線フィールド機器1a内で生じた事象を特定することができる。関連情報は、無線フィールド機器1a内で生じた事象に関連する情報であって事象毎に内容及びデータ長が異なる情報である。具体的に、関連情報は、事象が生じた時点の前後における機器の状態を示す情報、事象が生じた時点における機器の状態を示す情報、又は事象が生じた時点において機器固有処理部12等で用いられる情報等である。
 図5は、本発明の一実施形態において動作ログに含まれる関連情報の具体例を示す図である。図5に示す例では、事象番号「0001」,「0002」,「0020」,「0021」,「0250」,「0251」が割り当てられた事象についての関連情報が示されている。ここで、事象番号「0001」,「0002」が割り当てられた事象は、それぞれ演算部(図示省略)の状態遷移及び表示部13の状態遷移であり、これらの事象の関連情報は、遷移前の状態と遷移後の状態を示す情報、すなわち事象が生じた時点の前後における機器の状態を示す情報である。
 また、事象番号「0020」,「0021」が割り当てられた事象は、それぞれ外部アラーム及び内部アラームの発生であり、これらの事象の関連情報は、発生した外部アラーム及び内部アラームの全ビットの内容を示す情報、すなわち事象が生じた時点における機器の状態を示す情報である。また、事象番号「0250」,「0251」が割り当てられた事象は、それぞれプロセス値及びセンサ入力値の異常であり、これらの事象の関連情報は、それらの値のステータスとそれらの値そのものを示す情報、すなわち事象が生じた時点において機器固有処理部12等で用いられる情報である。
 具体的に、図4に示す動作ログLG1は、カウント値が「00000100」であって事象番号が「0001」であることから、制御部16のカウンタでカウントが開始されてから256秒後に生じた演算部の状態遷移によって生成されたものであることが分かる。また、関連情報が「00020001」であることから、遷移前の演算部の状態が「0002」であり、遷移後の演算部の状態が「0001」であることが分かる。
 また、図4に示す動作ログLG2は、カウント値が「00000500」であって事象番号が「0020」であることから、制御部16のカウンタでカウントが開始されてから1280秒後に発生した外部アラームによって生成されたものであることが分かる。また、関連情報から外部アラームの全ビットの内容が「000100FF00000044」であることが分かる。
 更に、図4に示す動作ログLG3は、カウント値が「00000C00」であって事象番号が「0250」であることから、制御部16のカウンタでカウントが開始されてから3072秒後に生じたプロセス値の異常によって生成されたものであることが分かる。また、関連情報「8045000000」からプロセス値のステータスとプロセス値とが分かる。
 ログ解析部16bは、強誘電体メモリ15に格納された動作ログLGを一定周期で読み出して自己解析することにより寿命診断や予防保全を行う。例えば、電源電圧やノイズの変動を解析して無線フィールド機器1aに設けられるバッテリの交換時期を予測したり、温度センサの測定値を解析して温度センサの寿命(交換時期)を予測する。ログ解析部16bの解析結果を、無線通信部11からホスト装置3に送信し或いは表示部13に表示して管理者や作業者に報知することによって予防保全が可能になる。
 更新制御部16cは、ホスト装置3から無線通信ネットワークN1等を介して更新プログラムが配布された場合に、フラッシュメモリ14に格納されたプログラムPGを更新する制御を行う。具体的には、ホスト装置3によって配布された更新プログラムを強誘電体メモリ15のログ格納領域R2に一時的に格納し、フラッシュメモリ14に格納されたプログラムPGを強誘電体メモリ15のログ格納領域R2に一時的に格納した更新プログラムに書き換える(更新する)。
 ここで、更新制御部16cは、ホスト装置3によって配布された更新プログラムを強誘電体メモリ15のログ格納領域R2に格納する場合には、ログ格納領域R2に格納されている動作ログLGを更新プログラムで上書きする。フラッシュメモリ14に格納されたプログラムPGが更新されてしまうと、そのプログラムPGが実行されることによって実現されていたログ生成部16aで生成された動作ログLG、すなわち強誘電体メモリ15のログ格納領域R2に格納されていた動作ログLGは意味を持たなくなり消去する必要がある。
 本実施形態では、更新制御部16cが、フラッシュメモリ14に格納されたプログラムPGの更新を行うときに、強誘電体メモリ15のログ格納領域R2に格納されていた動作ログLGを更新プログラムで上書きしている。これは、意味を持たなくなった動作ログLGを消去する手間を省くとともに、意味を持たなくなった動作ログLGが消去されずに誤って使用されるといった事態を防止するためである。
 次に、上記構成における無線フィールド機器1aの動作について説明する。図6は、本発明の一実施形態によるフィールド機器の動作を示すフローチャートである。尚、図6に示すフローチャートは、無線フィールド機器1aにおいて行われる各種動作のうちの動作ログの生成に係る動作を示すフローチャートであり、無線フィールド機器1aの電源が投入された後に開始される。
 図6に示す処理が開始されると、まず、ステップS11で、フラッシュメモリ14に格納されたプログラムPGに従って無線フィールド機器1aの状態が監視され、ステップS12で、無線フィールド機器1a内において事象が発生したか否かが制御部16によって判断される。無線フィールド機器1a内で事象が発生していないと判断した場合(ステップS12の判断結果が「NO」の場合)には、ステップS11に戻り、無線フィールド機器1aの状態監視が継続される。
 これに対し、無線フィールド機器1a内で事象が発生したと判断した場合(ステップS12の判断結果が「YES」の場合)には、ステップS13で、発生した事象が動作ログLGを生成する必要のある事象であるか否かが制御部16によって判断される。具体的には、発生した事象が、無線フィールド機器1aの状態遷移、無線フィールド機器1aの外部エラー又は内部エラーによる外部アラーム又は内部アラームの発生、プロセス値や測定値の異常、及びユーザによって設定された設置値の異常の何れかであるか否かが判断される。
 発生した事象が動作ログLGを生成する必要のある事象ではないと制御部16が判断した場合(ステップS13の判断結果が「NO」の場合)には、ステップS11に戻り、無線フィールド機器1aの状態監視が継続される。これに対し、発生した事象が動作ログLGを生成する必要のある事象と制御部16が判断した場合(ステップS13の判断結果が「YES」の場合)には、動作ログLGを作成する処理がログ生成部16aによって行われる。
 具体的には、まず、ステップS14で、発生した事象からその事象番号を特定し、次いで、ステップS15で、その事象に関連する関連情報を収集する処理が制御部16によって行われる。次に、ステップS16で、現在時刻(制御部16のカウンタのカウント値)を取得する処理が制御部16によって行われる。そして、ステップS17で、ステップS16の処理で取得したカウント値、ステップS14の処理で特定した事象番号、及びステップS15の処理で収集した関連情報が対とされた動作ログLGがログ生成部16aで生成されて強誘電体メモリ15のログ格納領域R2に格納される。
 最後に、ステップS18で、ステップS17で格納した動作ログLGの長さに応じて強誘電体メモリ15の領域R11(図3参照)に格納される先頭アドレスを更新する処理が制御部16によって行われる。尚、ステップS18の処理が終了すると、処理はステップS11に戻る。以上説明した処理が繰り返され、動作ログLGを生成する必要のある事象が無線フィールド機器1a内で生ずる度に、強誘電体メモリ15のログ格納領域R2に動作ログLGが時系列的に順次格納される。
 強誘電体メモリ15のログ格納領域R2に格納された動作ログLGは、制御部16に設けられたログ解析部16bによって一定周期で読み出され、寿命診断等のために解析される。ログ解析部16bの解析結果は、無線通信部11からホスト装置3に送信され、或いは表示部13に表示されて、無線通信システムCSの管理者や無線フィールド機器1aの保守作業を行う作業者に報知される。
 以上の通り、本実施形態では、無線フィールド機器1aの状態を監視し、動作ログLGを生成する必要のある事象が無線フィールド機器1a内で生じた場合に、カウント値(無線フィールド機器1a内で生じた事象の発生時刻を示す情報)、事象番号(生じた事象の種類を示す情報)、及び関連情報(生じた事象に関連する情報)を対にした動作ログLGを強誘電体メモリ15のログ格納領域R2格納するようにしている。このため、従来のように単にアラームのみをアラーム履歴として保存する場合に比べて、事象の発生した時刻や発生した事象に関連する情報を把握することができ、過去に生じた事象を正確に把握することができる。
 また、本実施形態では、強誘電体メモリ15のログ格納領域R2に動作ログLGを時系列的に順次格納しているため、無線フィールド機器1aで生じた事象の変遷を辿ることができ、これによって過去に生じた事象をより正確に把握することができる。また、本実施形態では、強誘電体メモリ15のパラメータ格納領域R1以外の領域をログ格納領域R2として確保し、更新プログラム(フラッシュメモリ14に格納されるプログラムPGを更新するための更新プログラム)の格納に用いられていた領域を動作ログLGの格納にも用いているため規模及びコストの大幅な上昇を招くこともない。
 更に、本実施形態では、強誘電体メモリ15のログ格納領域R2に動作ログLGを一定周期で読み出して寿命診断等のための解析を行い、その解析結果をホスト装置3に送信し、或いは表示部13に表示している。これにより、無線フィールド機器1aに設けられるバッテリの交換時期や、温度センサの寿命(交換時期)を前もって知ることができるため予防保全が可能になる。
 以上、本発明の一実施形態によるフィールド機器について説明したが、本発明は上述した実施形態に制限されることなく、本発明の範囲内で自由に変更が可能である。例えば、上記実施形態では、強誘電体メモリ15にログ格納領域R2を確保して動作ログLGを格納する例について説明したが、このログ格納領域R2と同様の領域をフラッシュメモリ14に確保して動作ログLGを格納しても良い。また、上記実施形態では、パラメータPM及び動作ログLGを格納するメモリとして強誘電性メモリ15を用いる例について説明したが、強誘電性メモリ15に代えてEEEPROMやフラッシュメモリを用いても良い。
 また、上記実施形態では無線フィールド機器1a,1bが動作ログLGを解析し、その解析結果をホスト装置3に送信する例について説明した。しかしながら、ホスト装置3が無線フィールド機器1a,1bに格納された動作ログLGを取得して解析するようにしても良い。更に、上記実施形態では、無線通信規格ISA100.11aに準拠した無線通信が可能な無線フィールド機器1a,1bを例に挙げて説明したが、本発明は、有線ネットワーク介して通信を行うフィールド機器にも適用することが可能である。
 本発明は、プラントや工場等に設置されるフィールド機器に広く適用でき、規模及びコストを大幅に上昇させることなく過去に生じた事象を正確に把握することができるフィールド機器を実現できる。
 1a,1b 無線フィールド機器
 2 無線ゲートウェイ
 3 ホスト装置
 11 無線通信部(出力部)
 12 機器固有処理部
 13 表示部(出力部)
 14 フラッシュメモリ(第1メモリ)
 15 強誘電体メモリ(第2メモリ)
 16 制御部
 16a ログ生成部
 16b ログ解析部
 16c 更新制御部
 CS 無線通信システム
 LG,LG1,LG2,LG3 動作ログ
 N1 無線通信ネットワーク
 N2 バックボーンネットワーク
 PG プログラム
 PM パラメータ
 R1 パラメータ格納領域
 R11,R12 パラメータ格納領域R1内における領域
 R2 ログ格納領域
 

Claims (15)

  1.  フィールド機器の動作を規定するプログラムを格納する第1メモリと、
     前記フィールド機器で用いられるパラメータを格納する第2メモリと、
     前記フィールド機器内で生じた事象の種類を示す第1情報、前記事象が生じた時刻を示す第2情報、及び前記事象に関連する第3情報を対にした動作ログを生成するログ生成部と、
     前記ログ生成部を含み、前記動作ログを、前記第1,第2メモリの何れか一方の空き領域に確保されたログ格納領域に格納する制御部と、
     を備える、フィールド機器。
  2.  前記第3情報は、前記事象が生じた時点の前と後における前記フィールド機器の状態を示す情報、前記事象が生じた時点における前記フィールド機器の状態を示す情報、および前記事象が生じた時点において前記フィールド機器で行われる所定の処理で用いられる情報の何れかである、請求項1に記載のフィールド機器。
  3.  前記ログ生成部は、前記フィールド機器内で事象が生ずる度に前記動作ログを生成し、
     前記制御部は、前記ログ生成部で前記動作ログが生成される度に前記動作ログを前記ログ格納領域に時系列的に格納する、
     請求項1に記載のフィールド機器。
  4.  前記制御部に含まれ、前記ログ格納領域に格納された前記動作ログを用いて所定の解析処理を行うログ解析部と、
     前記ログ解析部で行われた解析処理の結果を出力する出力部と、
     を更に備える、請求項1に記載のフィールド機器。
  5.  前記ログ格納領域は、前記第2メモリの空き領域に確保されており、
     前記制御部は、前記第1メモリに格納されるプログラムを更新するための更新プログラムを前記第2メモリに確保された前記ログ格納領域に一時的に格納し、該更新プログラムを用いて前記第1メモリに格納されるプログラムの更新を行う更新制御部を更に備える、
     請求項1に記載のフィールド機器。
  6.  前記更新制御部は、前記第2メモリに確保された前記ログ格納領域に格納されている前記動作ログを前記更新プログラムで上書きすることによって、前記第2メモリに確保された前記ログ格納領域に前記更新プログラムを一時的に格納する、請求項5に記載のフィールド機器。
  7.  前記制御部の各機能は、前記制御部が前記第1メモリに格納された前記プログラムを読み出して実行することにより実現される、
     請求項1に記載のフィールド機器。
  8.  前記第1メモリは、不揮発性の半導体メモリであり、
     前記第1メモリに格納された前記プログラムは、前記制御部の制御によって、ホスト装置から無線通信ネットワークを介して配布される更新プログラムに更新される、
     請求項1に記載のフィールド機器。
  9.  前記第2メモリは、強誘電体のヒステリシスを利用し、正負の自発分極を値「1」及び値「0」にそれぞれ対応させた不揮発性の半導体メモリである、FeRAM(Ferroelectric Random Access Memory)であり、
     前記第2メモリは、前記制御部で生成された前記フィールド機器の前記動作ログ或いはホスト装置から無線通信ネットワークを介して配布される更新プログラムを格納する、
     請求項1に記載のフィールド機器。
  10.  前記第2メモリには、前記制御部によって、第1の領域および第2の領域が確保され、
     前記第1の領域は、前記パラメータを格納するために確保されるパラメータ格納領域であって、
     前記第2の領域は、前記動作ログ或いは更新プログラムを格納するために、前記第2のメモリの空き領域に確保されるログ格納領域である、
     請求項1に記載のフィールド機器。
  11.  前記第2メモリの空き領域は、前記動作ログを格納するログ格納領域として予め確保され、
     前記第1メモリに格納された前記プログラムの更新が行われる場合には更新プログラムを前記ログ格納領域に格納する、
     請求項1に記載のフィールド機器。
  12.  前記事象は、前記フィールド機器の状態遷移、前記フィールド機器の外部エラー又は内部エラーによる外部アラーム又は内部アラームの発生、プロセス値や測定値の異常、ユーザによって設定された設置値の異常、を含む、
     請求項1に記載のフィールド機器。
  13.  前記ログ格納領域において新たに前記動作ログを格納すべき先頭アドレスを示す情報が、前記パラメータ格納領域内に格納され、
     前記ログ格納領域の残りの容量が無くなった場合には、前記ログ生成部は、前記ログ格納領域の先頭に戻って、既に格納されている前記動作ログを新たな動作ログで上書きする、
     請求項10に記載のフィールド機器。
  14.  前記第1情報は、前記フィールド機器内で生ずる前記事象の各々に対して一意に割り当てられた番号であり、
     前記第2情報は、前記制御部で用いられる32ビットのカウンタのカウント値であり、
     前記カウンタによるカウントが開始された時刻を示す基準時刻情報が、前記パラメータ格納領域内に格納され、
     前記第3情報は、前記フィールド機器内で生じた前記事象に関連する情報であって事象毎に内容及びデータ長が異なる情報である、
     請求項10に記載のフィールド機器。
  15.  フィールド機器の動作を規定するプログラムを前記フィールド機器の第1メモリに格納することと、
     前記フィールド機器で用いられるパラメータを前記フィールド機器の第2メモリに格納することと、
     前記フィールド機器内で生じた事象の種類を示す第1情報、前記事象が生じた時刻を示す第2情報、及び前記事象に関連する第3情報を対にした動作ログを生成することと、
     前記動作ログを、前記第1,第2メモリの何れか一方の空き領域に確保されたログ格納領域に格納することと、
     を含む、フィールド機器の動作方法。
     
     
PCT/JP2012/070989 2011-09-02 2012-08-20 フィールド機器 WO2013031569A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP12828799.2A EP2752723B1 (en) 2011-09-02 2012-08-20 Field apparatus
US14/241,011 US9389996B2 (en) 2011-09-02 2012-08-20 Field apparatus
CN201280036984.8A CN103718122B (zh) 2011-09-02 2012-08-20 现场仪器以及现场仪器的动作方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011191564A JP5418560B2 (ja) 2011-09-02 2011-09-02 フィールド機器
JP2011-191564 2011-09-02

Publications (1)

Publication Number Publication Date
WO2013031569A1 true WO2013031569A1 (ja) 2013-03-07

Family

ID=47756063

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/070989 WO2013031569A1 (ja) 2011-09-02 2012-08-20 フィールド機器

Country Status (5)

Country Link
US (1) US9389996B2 (ja)
EP (1) EP2752723B1 (ja)
JP (1) JP5418560B2 (ja)
CN (1) CN103718122B (ja)
WO (1) WO2013031569A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810122A (zh) * 2018-06-01 2018-11-13 中冶南方工程技术有限公司 用于轧钢二级的日志系统及其使用方法

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015035169A (ja) 2013-08-09 2015-02-19 ソニー株式会社 電子機器、サーバ、電子機器の制御方法、情報処理方法および記録媒体
JP2015219616A (ja) * 2014-05-15 2015-12-07 富士電機株式会社 監視制御システム
CN105629862B (zh) * 2014-11-05 2020-03-17 同方威视技术股份有限公司 基于plc的控制设备的实时日志记录方法
US10649425B2 (en) * 2015-07-14 2020-05-12 Honeywell International Inc. Smart integral field upgrade module
KR102502982B1 (ko) 2016-03-03 2023-02-22 엘에스일렉트릭(주) 데이터 기록 장치
DE102016111509B4 (de) * 2016-06-23 2022-05-25 Krohne Messtechnik Gmbh Verfahren zum Betreiben eines Durchflussmessgeräts und Durchflussmessgerät
WO2018020632A1 (ja) * 2016-07-28 2018-02-01 富士機械製造株式会社 作業装置および作業装置の時刻計測方法
JP6504190B2 (ja) * 2017-03-14 2019-04-24 オムロン株式会社 制御装置および情報処理方法
JP6794919B2 (ja) * 2017-04-28 2020-12-02 横河電機株式会社 プロセス制御システム及びデータ処理方法
CN111380651A (zh) * 2018-12-29 2020-07-07 株式会社岛津制作所 检测仪器的状态指示方法及其装置、介质和系统
CN111025971A (zh) * 2019-12-11 2020-04-17 上海上药神象健康药业有限公司 中草药种植过程电子履历记录仪及其数据生成方法
JP7400690B2 (ja) * 2020-10-22 2023-12-19 横河電機株式会社 診断装置及び診断方法、並びにフィールド機器
JP7294361B2 (ja) * 2021-03-23 2023-06-20 横河電機株式会社 フィールド機器、測定方法、及びプログラム

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05158754A (ja) * 1991-12-09 1993-06-25 Toshiba Corp Cpu実行命令履歴の記録方式
JP2005182106A (ja) * 2003-12-16 2005-07-07 Yokogawa Electric Corp Cpuメモリ装置及び配置プログラム配置変更方法
JP2011118658A (ja) * 2009-12-03 2011-06-16 Yamatake Corp フィールドバスシステム

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000052627A1 (en) * 1999-03-01 2000-09-08 North Carolina State University Crane monitoring and data retrieval system and method
US7263546B1 (en) * 1999-05-27 2007-08-28 Invensys Systems, Inc. Fieldbus upgradable apparatus and method
GB2363879B (en) 1999-05-27 2004-03-10 Invensys Plc Fieldbus upgradable apparatus and method
US6850973B1 (en) * 1999-09-29 2005-02-01 Fisher-Rosemount Systems, Inc. Downloadable code in a distributed process control system
DE10344088B4 (de) * 2003-09-23 2012-08-02 Samson Aktiengesellschaft Funktionsprüfvorrichtung für ein Feldgerät und Verfahren zur Funktionsprüfung eines Feldgeräts und Feldgerät
US20080079596A1 (en) * 2006-09-29 2008-04-03 Rockwell Automation Technologies, Inc. Buffering alarms
US8570922B2 (en) * 2007-04-13 2013-10-29 Hart Communication Foundation Efficient addressing in wireless hart protocol
CN201345041Y (zh) * 2008-09-11 2009-11-11 周庆民 可远程程序升级的现场数据采集终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05158754A (ja) * 1991-12-09 1993-06-25 Toshiba Corp Cpu実行命令履歴の記録方式
JP2005182106A (ja) * 2003-12-16 2005-07-07 Yokogawa Electric Corp Cpuメモリ装置及び配置プログラム配置変更方法
JP2011118658A (ja) * 2009-12-03 2011-06-16 Yamatake Corp フィールドバスシステム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2752723A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810122A (zh) * 2018-06-01 2018-11-13 中冶南方工程技术有限公司 用于轧钢二级的日志系统及其使用方法

Also Published As

Publication number Publication date
JP5418560B2 (ja) 2014-02-19
US9389996B2 (en) 2016-07-12
EP2752723A4 (en) 2015-08-12
EP2752723A1 (en) 2014-07-09
EP2752723B1 (en) 2019-01-23
CN103718122A (zh) 2014-04-09
US20140215167A1 (en) 2014-07-31
JP2013054497A (ja) 2013-03-21
CN103718122B (zh) 2016-02-10

Similar Documents

Publication Publication Date Title
JP5418560B2 (ja) フィールド機器
US7945340B2 (en) Programmable controller system
JP2714091B2 (ja) フィールド計器
JP4290190B2 (ja) 群管理システム、サーバ装置、およびプログラム
CN104541215A (zh) 对用于生产产品的技术设备的第一装备的监控
US6141628A (en) Programmable logic controller software with embedded class logic and alarm/shutdown functionality
US20200004220A1 (en) Method and apparatus for performing an automatic health checkup for a cnc turning center
JP5088479B2 (ja) データ記録装置
JP5472732B2 (ja) 外部指示計
CN116521210B (zh) 一种物联网水表固件差量升级的方法
JP5740332B2 (ja) 伝送システム及びログデータ収集装置
JPWO2016157477A1 (ja) 管理システム
US11221616B2 (en) Sensor service prediction
JP5089716B2 (ja) データ収集装置、空気調和装置、データ収集システム、データ収集方法及びプログラム
JP2004348315A (ja) 通信インタフェースを備えた制御装置
EP3461102B1 (en) Notification control device, notification control system, notification control method, and storage medium
CN103365237A (zh) Plc系统中的元件和变量的监控记录方法及装置
JP5569491B2 (ja) フィールド機器及び通信システム
KR20160141971A (ko) Plc 장치
JP2015197833A (ja) 不揮発性メモリ監視装置
US20170371387A1 (en) Method for operating a flowmeter and flowmeter
JP4953024B2 (ja) パラメータ保存装置およびパラメータ保存方法
US11681597B2 (en) Anomaly detection method and system for process instrument, and storage medium
JP2001166821A (ja) 寿命劣化監視装置
JP2005122411A (ja) シーケンサ監視装置

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: 12828799

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14241011

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE