WO2016051557A1 - Controller - Google Patents

Controller Download PDF

Info

Publication number
WO2016051557A1
WO2016051557A1 PCT/JP2014/076277 JP2014076277W WO2016051557A1 WO 2016051557 A1 WO2016051557 A1 WO 2016051557A1 JP 2014076277 W JP2014076277 W JP 2014076277W WO 2016051557 A1 WO2016051557 A1 WO 2016051557A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
compressed
processing
stored
volatile memory
Prior art date
Application number
PCT/JP2014/076277
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 PCT/JP2014/076277 priority Critical patent/WO2016051557A1/en
Priority to JP2016551426A priority patent/JP6386575B2/en
Publication of WO2016051557A1 publication Critical patent/WO2016051557A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/16Protection against loss of memory contents

Definitions

  • the technology disclosed in this specification relates to a controller, and more particularly, to a technology for saving data stored in a volatile memory of a controller to a nonvolatile memory when the power is turned off.
  • Patent Document 1 when data stored in a volatile memory is written into a nonvolatile memory, first, the data stored in the volatile memory is converted into compressed data. Thereafter, only the converted compressed data is written in the nonvolatile memory. By compressing the data, the amount of data is reduced and the writing time to the volatile memory is reduced. This shortens the time required to save data.
  • This specification discloses a controller that can perform processing for saving data stored in a volatile memory in a nonvolatile memory in a short time when the power is turned off.
  • the controller disclosed in this specification includes a control device, a nonvolatile memory, and a volatile memory.
  • the control device compresses the non-compressed data stored in the volatile memory by executing processing set in advance in the processing cycle and processing execution means that executes a preset process for each processing cycle. Data compression means.
  • the control device detects the power-off notice signal input from the outside, the control device stores the uncompressed data stored in the volatile memory and not compressed by the data compression unit, and the compressed data compressed by the data compression unit. Are stored in the nonvolatile memory.
  • uncompressed data stored in the volatile memory is compressed into compressed data in the processing cycle of the control device. Therefore, the control device does not need to compress the non-compressed data into the compressed data by the data saving unit after detecting the power-off notice signal input from the outside.
  • the data saving means only saves the compressed data not compressed by the data compressing means and the data compressed by the data compressing means, and the time required for data saving can be shortened.
  • the data compression means may compress the non-compressed data stored in the volatile memory in the idle time in which the process execution means does not execute the processing in the processing cycle. According to such a configuration, it is possible to suppress an increase in the processing cycle (one cycle time interval) only for the data compression processing of uncompressed data.
  • the process execution means may execute a regular process that is periodically performed and an irregular process that is performed when a specific condition is satisfied in the process cycle.
  • the data compressing means may compress the non-compressed data by using the free time due to the fact that the irregular processing is not executed.
  • the irregular process is executed only when a specific condition is satisfied, and is not a process that is always executed.
  • the processing cycle (one cycle time) of the control device is set so that the regular processing and the irregular processing can be executed within one cycle. Therefore, when the irregular processing is not executed in a certain processing cycle, the control device can execute the data compression processing instead of the irregular processing in the processing cycle. For this reason, it is suppressed that a processing period becomes long for the data compression process by a data compression means.
  • the control device calculates a power-off time until the power is turned off when the power-off notice signal is detected, and a data saving unit according to the power-off time calculated by the calculation unit
  • an adjustment unit that adjusts the data amount of the uncompressed data and the compressed data saved in the nonvolatile memory may be provided.
  • the amount of data saved in the non-volatile memory is adjusted according to the time until the power is turned off (estimated time), so that the situation where the power supply is stopped during the data saving process is prevented. Can do.
  • the volatile memory stores a plurality of compressed data storage areas for storing the compressed data compressed by the data compression means, and management information for specifying where the compressed data is stored in the plurality of compressed data storage areas
  • the management information storage area may be provided.
  • the data compression means stores the compressed data in one of a plurality of data storage areas, and stores the management information of the compressed data in the management information storage area May be.
  • the capacity of the compressed data generated by the data compression means is not constant. According to the above configuration, even if the capacity of the compressed data changes, the management information is stored accordingly, so that the created compressed data can be processed as continuous data.
  • the servo controller 10 is provided in a mounting machine that mounts electronic components on a board, and controls a servo motor (not shown) provided in the mounting machine. As shown in FIG. 1, the servo controller 10 is connected to the host controller 2. The servo controller 10 controls the operation of the mounting machine by controlling the servo motor based on an instruction from the host controller 2.
  • the servo controller 10 includes a power supply monitoring circuit 12, a CPU (Central Processing Unit) 14, a RAM (Random Access Memory) 16, a CF (Compact Flash) 18, and an ICH (I / O Controller Hub) 20. ing.
  • a CPU Central Processing Unit
  • RAM Random Access Memory
  • CF Compact Flash
  • ICH I / O Controller Hub
  • the power supply monitoring circuit 12 is connected to the CPU 14.
  • the power supply monitoring circuit 12 is a known circuit and monitors the power supply voltage supplied to the servo controller 10.
  • the power monitoring circuit 12 outputs a power OFF notice signal to the CPU 14 when the power voltage supplied to the servo controller 10 falls below a predetermined value.
  • the power supply monitoring circuit 12 is provided in the servo controller 10, but the configuration is not limited thereto.
  • a power supply monitoring circuit may be provided in the host controller 2 so that a power OFF notice signal is output from the host controller 2 to the servo controller.
  • the CPU 14 is a processor that controls the operation of the servo controller 10.
  • the CPU 14 is connected to the RAM 16 and is also connected to the CF 18 via the ICH 20.
  • the CPU 14 executes a program stored in advance and controls the servo motor based on an instruction from the host control device 2.
  • the CPU 14 When the CPU 14 executes the program, the CPU 14 functions as a process execution unit, a data compression unit, a data saving unit, a calculation unit, and an adjustment unit. The processing by the CPU 14 will be described in detail later.
  • the RAM 16 is a volatile memory and is connected to the CPU 14.
  • the RAM 16 stores various data generated by the CPU 14 executing the program. Since the RAM 16 is a volatile memory, the stored data is held only while power is supplied from the outside. For this reason, when the external power supply is stopped, the stored data is lost.
  • the data stored in the RAM 16 includes log information indicating a history of processing executed by the CPU 14, compressed log information obtained by compressing the log information, and management information for managing the compressed log information. It is. Specifically, as shown in FIG. 2, the RAM 16 is provided with a data area 202, a compressed data area 204, and a management information storage area 206.
  • the data area 202 is configured as a ring buffer, and includes four data storage areas 202a to 202d.
  • Log information (uncompressed data) is stored in each of the data storage areas 202a to 202d.
  • the data storage areas 202a to 202d have the same capacity. Therefore, the capacity of log information stored in each of the data storage areas 202a to 202d is also the same.
  • the log information is stored in order from the data storage area 202a to the data storage area 202d. When log information is stored in the data storage area 202d, the log information is stored again in order from the data storage area 202a.
  • the compressed data area 204 a compressed log information file obtained by compressing the log information stored in the data area 202 is stored.
  • the log information stored in the data area 202 is compressed for each of the data storage areas 202a to 202d and stored in the compressed data area 204. That is, the compressed data area 204 stores compressed log information files 204a to 204d corresponding to the four data storage areas 202a to 202d of the data area 202, respectively.
  • the compressed log information file 204a is stored in the data storage area 202a
  • the compressed log information file 204b is stored in the data storage area 202b
  • the compressed log information file 204c is stored in the data storage area 202c
  • the compressed log information file 204d is stored in the data storage area. 202d.
  • the capacity of each compressed log information file 204a to 204d varies depending on the contents of the compressed log information (uncompressed data). Therefore, as shown in FIG. 2, the capacities of the compressed log information files 204a, 204b, and 204d are different from each other.
  • the management information storage area 206 stores the current data write destination (log information write destination) of the data area 202 and the write destinations and capacities of the compressed log information files 204a to 204d stored in the compressed data area 204.
  • log information is sequentially generated by the processing performed by the CPU 14, and the log information is sequentially stored in the data area 202. Therefore, the log information to be generated is stored at the correct address in the data area 202 by storing and updating the writing destination of the generated log information in the management information storage area 206.
  • the capacity of the compressed log information files 204a to 204d stored in the compressed data area 204 differs depending on the contents of the compressed log information.
  • the CF 18 is a non-volatile memory, and is connected to the CPU 14 via the ICH 20. As will be described later, the CF 18 stores log information (uncompressed data) stored in the data area 202 of the RAM 16 and compressed log information (compressed data) stored in the compressed data area 204 when the power is shut off. Management information stored in the management information storage area 206 is stored. Since the CF 18 is a non-volatile memory, the stored data can be retained even after the external power supply is shut off. For this reason, an abnormality analysis or the like can be performed after the power is restored by using the log information saved in the CF 18 when the power is shut off.
  • the CPU 14 first performs regular processing (S10).
  • the periodic processing is processing for driving the servo motor (processing for servo control), and is always executed in each processing cycle.
  • the CPU 14 calculates a torque command value of the servo motor from the deviation between the current value of the servo motor and the target value, and performs a process of outputting the torque command value to the servo motor.
  • the target value (for example, target position) of the servo motor is input from the host controller 2 to the servo controller 10.
  • the CPU 14 stores log information (uncompressed data) generated by performing the regular processing in the data area 202 of the RAM 14. Specifically, the generated log information (uncompressed data) is stored in the current write destination stored in the management information storage area 206. When the log information is stored, the current write destination stored in the management information storage area 206 is updated.
  • the CPU 14 determines whether or not it is necessary to perform irregular processing (S12). Specifically, the CPU 14 determines whether or not irregular processing is necessary depending on whether or not it is necessary to communicate with the host control device 2. For example, when an instruction (target value or the like) is input from the host controller 2 or when the state (event) of the servo controller 10 is notified to the host controller 2, it is determined that it is necessary to perform irregular processing. To do. If it is not necessary to perform irregular processing (NO in S12), the process proceeds to S16. On the other hand, if it is necessary to perform irregular processing (YES in S12), the CPU 14 proceeds to S14 and performs irregular processing.
  • the irregular process of S14 is performed only when the specific condition of S12 is satisfied, and is not a process that is always executed.
  • the CPU 14 receives an instruction (target value or the like) from the host controller 2 or transmits an event occurring in the servo controller 10 to the host controller 2.
  • log information generated by performing irregular processing is also stored in the data area 202 of the RAM 14. Further, when the log information is stored in the data area 202, the information (current write destination) stored in the management information storage area 206 is also updated accordingly.
  • the CPU 14 determines whether or not there is a time for performing processing for compressing log information stored in the data area 202 (processing of S20 to S24 described later) in the processing cycle (S16). . That is, in the servo controller 10 of the present embodiment, the processing cycle is set short in order to increase the accuracy of the servo control, and the CPU 14 is allowed to perform only the regular processing (S10) and the irregular processing (S14). It is said. On the other hand, as described above, the irregular process is a process that is performed only under a specific condition, and is not a process that is always performed every processing cycle.
  • processing for compressing log information stored in the data area 202 is performed in a processing cycle in which irregular processing is not performed. For this reason, in S16, the CPU 14 determines whether or not there is time to perform processing for compressing the log information (that is, whether or not irregular processing is being performed). If there is no time for performing processing for compressing the log information (NO in S16), S18 to S24 are skipped, and the processing in the processing cycle ends.
  • the CPU 14 determines whether or not the log information stored in the data area 202 has reached the specified capacity (S18). ).
  • the log information stored in the data area 202 is compressed for each of the data storage areas 202a to 202d and stored in the compressed data area 204 as compressed log information files 204a to 204d. That is, when log information is stored in the entire data storage area 202a to 202d, the log information in that area is compressed. Therefore, the CPU 14 determines whether or not log information is stored in the entire data storage area (any one of 202a to 202d) that is currently being written.
  • the CPU 14 determines whether or not the log information has reached a specified capacity from the information of “current data write destination” stored in the management information storage area 206. For example, in the state shown in FIG. 2, the CPU 14 has written the log information in the data storage area 202c, and can determine from the current write destination information that the log information is not stored in the entire data storage area 202c. . For this reason, the CPU 14 determines that the log information has not reached the specified capacity. If the log information subject to compression processing has not reached the specified capacity (NO in S18), S20 to S24 are skipped, and the processing in the processing cycle ends.
  • the CPU 14 compresses the log information (non-compressed data) to be compressed (S20).
  • a known data compression method can be used.
  • the log information (uncompressed data) stored in any of the data storage areas 202a to 202d is compressed into a compressed log information file.
  • the CPU 14 stores the compressed log information file (any one of 204a to 204d) obtained by the compression process of S20 in the compressed data area 204 of the RAM 16 (S22).
  • the CPU 14 stores the write destination and capacity of the compressed log information file stored in S22 in the management information storage area 206 (S24). When S24 ends, the processing in the processing cycle ends.
  • the power off notice process is started with the power-off notice signal from the power monitoring circuit 12 as a trigger. Specifically, when the power OFF notice signal output from the power monitoring circuit 12 is input to the CPU 14, the CPU 14 first stops the normal processing shown in FIG. 3, and then the power OFF shown in FIG. Execute the notice process.
  • the CPU 14 calculates a power OFF time until the power is turned OFF (S30).
  • the power supply OFF time can be calculated from, for example, a change in the voltage value of the external power supply detected by the power supply monitoring circuit 12.
  • the CPU 14 calculates the power OFF time.
  • the host control device 2 may calculate the power OFF time and input the calculated power OFF time to the servo controller 10.
  • the CPU 14 uses the power-off time calculated in S30 and the writing speed to the CF 18 to calculate the data capacity in which writing to the CF 18 is completed before the power is turned off (S32). Then, the CPU 14 selects data to be saved from the RAM 16 to the CF 18 so that the calculated data capacity is obtained. Specifically, among the data storage areas 202a to 202d of the data area 202, log information (uncompressed data) of the data storage area into which log information was written when the power-off notice process was started, and the compressed data area The compressed log information files 204a to 204d (compressed data) stored in 204 and the data stored in the management information storage area 206 (information on the write destination and capacity of the compressed log information file) are selected.
  • the CPU 14 selects the latest compressed log information file saved in the CF 18 based on the power OFF time and the writing speed to the CF 18. Select in order. If it is determined that there is sufficient time from the power OFF time and the writing speed to the CF 18, the CPU 14 selects all the compressed log information files 204a to 204d stored in the compressed data area 204. For example, when the power off notice process is started in the state shown in FIG. 2, the CPU 14 stores the uncompressed data 3 (hatched portion) stored in the data storage area 202 c and the compressed log of the compressed data area 204.
  • Information files 204a, 204b, 204d (hatched portions) and data in the management information storage area 206 are selected. As a result, it is possible to prevent the unauthorized process from remaining in the CF 18 by interrupting the power-off notice process during saving of data to the CF 18.
  • the CPU 14 reads the data selected in S32 among the data stored in the RAM 16 (that is, the data saved in the CF 18) (S34). Then, the CPU 14 saves the data read in S34 to the CF 18 via the ICH 20 (S36). There is a limit to the amount of data that can be read from the RAM 16 and written to the CF 18 at a time. Therefore, the CPU 14 determines whether all of the data selected in S32 (data saved in the CF 18) has been saved in the CF 18 (S38). If all the data selected in S32 has not been saved to the CF 18 (NO in S38), the CPU 14 returns to S34 and executes the processing from S34.
  • the log information stored in the RAM 16 is compressed to store the compressed log information files 204a to 204d. Creating. For this reason, in the power-off notification process, the latest log information (uncompressed data) stored in the data storage area, the compressed log information file stored in the compressed data area 204, and the management information storage area 206 You only need to save the data. Since the volume of data to be saved is reduced, the power-off notification process can be performed in a short time. In addition, since a part of the data saved in the CF 18 is encrypted by compression, the security can be improved.
  • the CF 18 that is a low access speed can be used for the nonvolatile memory for saving data.
  • the manufacturing cost of the servo controller 10 can be reduced.
  • the data is saved by the CF 18 of the non-volatile memory, a backup power source becomes unnecessary, and the substrate size of the servo controller 10 can be reduced.
  • the amount of data saved in the CF 18 is adjusted according to the predicted time until the power is turned off. If the power to the servo controller 10 is cut off during the power-off notice process, an illegal file is created in the CF 18 and the illegal file remains. On the other hand, in the present embodiment, the amount of data to be saved is adjusted according to the predicted time until the power is turned off, so that it is possible to prevent an illegal file from occurring.
  • a process of compressing log information stored in the data area 202 of the RAM 16 is performed by using the idle time due to not performing the irregular process (S14 in FIG. 3). . For this reason, even if the process of compressing the log information is executed in a regular processing cycle, the compression process does not affect the control of the servo motor.
  • the combination of the data area and the compressed data area is a plurality of sets, a plurality of compression ratios are set, the uncompressed data (log information) is classified for each compression reduction ratio, and the data area and the A combination of compressed data areas can be assigned. Thereby, the compression rate of uncompressed data (log information) can be increased, and the data saving time can be further reduced.
  • the CF 18 is used as the nonvolatile memory for saving the log information.
  • the log information may be saved by using an HDD instead of the CF 18.
  • the HDD may have a data save dedicated area.
  • an illegal file may be generated if the power is turned off during the data saving process to the HDD.
  • an illegal file may remain in the HDD, and the capacity of the HDD may be compressed. Therefore, when data is saved using the HDD, it is preferable to determine whether an illegal file exists in the HDD and to delete the illegal file from the HDD. For example, it is possible to determine the presence of an illegal file by the method described below, and to delete the illegal file if it exists.
  • the used capacity of the HDD before and after data saving is compared. If the difference in the used capacity of the HDD exceeds the capacity of the data before compression, it is determined that an invalid file is stored in the data saving dedicated area. If it is determined that an illegal file is stored in the data save dedicated area, the HDD data save dedicated area is formatted and the illegal file is deleted from the HDD.
  • the regular processing, irregular processing, and compression processing are performed by a single program, but may be performed independently by different programs.
  • the CPU includes a periodic processing program for executing periodic processing, an irregular processing program for executing irregular processing, a compression processing program for executing compression processing, a program manager for assigning processing time to each processing program, Is provided.
  • the priority of the processing time assigned by the program manager is set in the order of the periodic processing program, the irregular processing program, and the compression processing program.
  • the program manager assigns processing time to the periodic processing program with the highest priority. For this reason, the periodic processing program is guaranteed to complete processing every processing cycle.
  • the irregular processing program is executed when a specific condition is satisfied (irregular).
  • the program manager When the specific condition is satisfied, the program manager gives priority to the allocation of the processing time to the irregular processing program, and therefore does not allocate the processing time to the compression processing program. On the other hand, when the specific condition is not satisfied, the program manager does not allocate processing time to the irregular processing program. For this reason, there is a vacancy in the processing time of the CPU. Therefore, the program manager assigns a processing time to the compression processing program, and the compression processing program is executed. Even with such a configuration, processing equivalent to that in the above embodiment can be realized.
  • High-level control device 10 Servo controller 12 Power supply monitoring circuit 14 CPU 16.

Abstract

A controller 10 is provided with a control device 14, a non-volatile memory 18, and a volatile memory 16. The control device 10 includes: a process execution means that executes pre-set processing in each processing period; a data compression means that compresses non-compressed data stored in the volatile memory 16 as a result of the execution of the processing by the process execution means in the processing period; and a data saving means that, upon detection of a power supply OFF notice signal input from the outside, stores non-compressed data stored in the volatile memory 16 and not compressed by the data compression means, and the compressed data compressed by the data compression means in the non-volatile memory 18.

Description

コントローラcontroller
 本明細書に開示する技術は、コントローラに関し、詳しくは、電源OFF時にコントローラの揮発性メモリに記憶されているデータを不揮発性メモリに退避する技術に関する。 The technology disclosed in this specification relates to a controller, and more particularly, to a technology for saving data stored in a volatile memory of a controller to a nonvolatile memory when the power is turned off.
 RAM(Random-Access Memory)等の揮発性メモリを備えるコントローラでは、電源ON中に揮発性メモリに格納されたデータが、停電や異常等による電源OFF時に不揮発性メモリに書き込まれ、退避されることがある。電源OFF時にはコントローラへの電源供給もOFFされるため、コントローラは、限られた時間の中で不揮発性メモリへのデータ退避を行う必要がある。このため、不揮発性メモリへのデータ退避を短時間で行うための方法が提案されている(例えば、特許文献1)。 In a controller with volatile memory such as RAM (Random-Access Memory), data stored in the volatile memory while the power is on is written and saved to the non-volatile memory when the power is turned off due to a power failure or abnormality. There is. Since the power supply to the controller is also turned off when the power is turned off, the controller needs to save data to the nonvolatile memory within a limited time. For this reason, a method for saving data in a non-volatile memory in a short time has been proposed (for example, Patent Document 1).
 特許文献1では、揮発性メモリに格納されているデータを不揮発性メモリへ書き込む際に、まず、揮発性メモリに格納されているデータを圧縮データに変換する。その後、変換した圧縮データのみを不揮発性メモリに書き込んでいる。データを圧縮することによって、データ量を小さくし、揮発性メモリへの書き込み時間を低減している。これによって、データ退避に要する時間を短くしている。 In Patent Document 1, when data stored in a volatile memory is written into a nonvolatile memory, first, the data stored in the volatile memory is converted into compressed data. Thereafter, only the converted compressed data is written in the nonvolatile memory. By compressing the data, the amount of data is reduced and the writing time to the volatile memory is reduced. This shortens the time required to save data.
特開2000-194607号公報JP 2000-194607 A
 特許文献1の技術では、電源OFF時に、揮発性メモリに格納されているデータを圧縮データへ変換し、その変換した圧縮データを不揮発性メモリに格納する。そのため、不揮発性メモリに退避するデータ量が減ることでデータ書き込み時間は減少できるものの、揮発性メモリに記憶されているデータを圧縮データへ変換するための処理が必要となる。その結果、電源OFF時の処理の短時間化が十分ではないという問題がある。 In the technique of Patent Document 1, when the power is turned off, data stored in the volatile memory is converted into compressed data, and the converted compressed data is stored in the nonvolatile memory. Therefore, although the data write time can be reduced by reducing the amount of data saved in the non-volatile memory, a process for converting the data stored in the volatile memory into compressed data is required. As a result, there is a problem that the processing time when the power is turned off is not sufficient.
 本明細書は、電源OFF時に揮発性メモリに記憶されているデータを不揮発性メモリに退避する処理を短時間で行うことができるコントローラを開示する。 This specification discloses a controller that can perform processing for saving data stored in a volatile memory in a nonvolatile memory in a short time when the power is turned off.
 本明細書に開示するコントローラは、制御装置と、不揮発性メモリと、揮発性メモリと、を備えている。制御装置は、処理周期毎に、予め設定された処理を実行する処理実行手段と、処理周期において、処理実行手段が処理を実行することで前記揮発性メモリに格納されている非圧縮データを圧縮するデータ圧縮手段を有している。また、制御装置は、外部から入力される電源OFF予告信号を検出すると、揮発性メモリに格納され、かつ、データ圧縮手段により圧縮されていない非圧縮データと、データ圧縮手段により圧縮された圧縮データとを不揮発性メモリに格納するデータ退避手段を有している。 The controller disclosed in this specification includes a control device, a nonvolatile memory, and a volatile memory. The control device compresses the non-compressed data stored in the volatile memory by executing processing set in advance in the processing cycle and processing execution means that executes a preset process for each processing cycle. Data compression means. In addition, when the control device detects the power-off notice signal input from the outside, the control device stores the uncompressed data stored in the volatile memory and not compressed by the data compression unit, and the compressed data compressed by the data compression unit. Are stored in the nonvolatile memory.
 上記のコントローラでは、制御装置の処理周期において、揮発性メモリに格納されている非圧縮データを圧縮データに圧縮している。そのため、制御装置は、外部から入力される電源OFF予告信号検出後に、データ退避手段により、非圧縮データを圧縮データに圧縮する必要がない。データ退避手段では、データ圧縮手段により圧縮されていない圧縮データと、データ圧縮手段により圧縮されたデータを退避するだけとなり、データ退避に要する時間を短くすることができる。 In the above controller, uncompressed data stored in the volatile memory is compressed into compressed data in the processing cycle of the control device. Therefore, the control device does not need to compress the non-compressed data into the compressed data by the data saving unit after detecting the power-off notice signal input from the outside. The data saving means only saves the compressed data not compressed by the data compressing means and the data compressed by the data compressing means, and the time required for data saving can be shortened.
本実施例に係るサーボコントローラのブロック図である。It is a block diagram of the servo controller which concerns on a present Example. 図1のRAMのメモリ領域を説明する概念図である。It is a conceptual diagram explaining the memory area of RAM of FIG. サーボコントローラの通常時の処理を説明するフローチャートである。It is a flowchart explaining the normal process of a servo controller. サーボコントローラの電源OFF予告時の処理を説明するフローチャートである。It is a flowchart explaining the process at the time of power-off notice of a servo controller.
 以下に説明する実施例の主要な特徴を列記しておく。なお、以下に記載する技術要素は、それぞれ独立した技術要素であって、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。 The main features of the embodiment described below are listed. The technical elements described below are independent technical elements and exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. Absent.
(特徴1)データ圧縮手段は、処理周期のうち処理実行手段が処理を実行していない空き時間において、揮発性メモリに格納されている非圧縮データを圧縮してもよい。このような構成によると、非圧縮データのデータ圧縮処理のためだけに、処理周期(1周期の時間間隔)が長くなることを抑制することができる。 (Feature 1) The data compression means may compress the non-compressed data stored in the volatile memory in the idle time in which the process execution means does not execute the processing in the processing cycle. According to such a configuration, it is possible to suppress an increase in the processing cycle (one cycle time interval) only for the data compression processing of uncompressed data.
(特徴2)処理実行手段は、処理周期において、定期的に行われる定期処理と、特定条件が成立した時に行われる不定期処理とを実行してもよい。データ圧縮手段は、不定期処理が実行されないことによる空き時間を利用して、非圧縮データを圧縮してもよい。不定期処理は、特定条件が成立したときにのみ実行され、常時実行される処理ではない。上記の構成では、制御装置の処理周期(1周期の時間)は、定期処理と不定期処理とを1周期内で実行できるように設定される。そのため、ある処理周期において不定期処理が実行されないときは、その処理周期において制御装置は不定期処理の代わりにデータ圧縮処理を実行することが可能となる。このため、データ圧縮手段によるデータ圧縮処理のために、処理周期が長くなることが抑制される。 (Characteristic 2) The process execution means may execute a regular process that is periodically performed and an irregular process that is performed when a specific condition is satisfied in the process cycle. The data compressing means may compress the non-compressed data by using the free time due to the fact that the irregular processing is not executed. The irregular process is executed only when a specific condition is satisfied, and is not a process that is always executed. In the above configuration, the processing cycle (one cycle time) of the control device is set so that the regular processing and the irregular processing can be executed within one cycle. Therefore, when the irregular processing is not executed in a certain processing cycle, the control device can execute the data compression processing instead of the irregular processing in the processing cycle. For this reason, it is suppressed that a processing period becomes long for the data compression process by a data compression means.
(特徴3)制御装置は、電源OFF予告信号を検出したときに、電源がOFFするまでの電源OFF時間を算出する算出手段と、算出手段により算出された電源OFF時間に応じて、データ退避手段により不揮発性メモリに退避される非圧縮データと圧縮データのデータ量を調整する調整手段を有していてもよい。上記の構成によると、電源OFFするまでの時間(予測時間)に応じて不揮発性メモリに退避されるデータ量を調整するため、データ退避処理の途中で電源供給が停止するという事態を防止することができる。 (Characteristic 3) The control device calculates a power-off time until the power is turned off when the power-off notice signal is detected, and a data saving unit according to the power-off time calculated by the calculation unit Thus, an adjustment unit that adjusts the data amount of the uncompressed data and the compressed data saved in the nonvolatile memory may be provided. According to the above configuration, the amount of data saved in the non-volatile memory is adjusted according to the time until the power is turned off (estimated time), so that the situation where the power supply is stopped during the data saving process is prevented. Can do.
(特徴4)揮発性メモリは、データ圧縮手段により圧縮された圧縮データを記憶する複数の圧縮データ記憶領域と、圧縮データが複数の圧縮データ記憶領域のどこに記憶されたかを特定する管理情報を記憶する管理情報記憶領域を有していてもよい。データ圧縮手段は、揮発性メモリに格納されている非圧縮データを格納すると、その圧縮データを複数のデータ記憶領域のいずれかに記憶するとともに、その圧縮データの管理情報を管理情報記憶領域に記憶してもよい。処理周期のうち空き時間を利用してデータ圧縮を行うと、データ圧縮手段によって生成される圧縮データの容量が一定とはならない。上記の構成によると、圧縮データの容量が変化しても、それに応じて管理情報を記憶するため、作成される圧縮データを連続データとして処理することができる。 (Feature 4) The volatile memory stores a plurality of compressed data storage areas for storing the compressed data compressed by the data compression means, and management information for specifying where the compressed data is stored in the plurality of compressed data storage areas The management information storage area may be provided. When storing the non-compressed data stored in the volatile memory, the data compression means stores the compressed data in one of a plurality of data storage areas, and stores the management information of the compressed data in the management information storage area May be. When data compression is performed using the free time in the processing cycle, the capacity of the compressed data generated by the data compression means is not constant. According to the above configuration, even if the capacity of the compressed data changes, the management information is stored accordingly, so that the created compressed data can be processed as continuous data.
(実施例) 以下、本実施例に係るサーボコントローラ10について説明する。サーボコントローラ10は、電子部品を基板に実装する実装機に装備され、当該実装機に装備されるサーボモータ(図示しない)を制御する。図1に示すように、サーボコントローラ10は、上位制御装置2に接続されている。サーボコントローラ10は、上位制御装置2の指示に基づいてサーボモータを制御することで、実装機の動作を制御する。 (Example) The servo controller 10 according to this example will be described below. The servo controller 10 is provided in a mounting machine that mounts electronic components on a board, and controls a servo motor (not shown) provided in the mounting machine. As shown in FIG. 1, the servo controller 10 is connected to the host controller 2. The servo controller 10 controls the operation of the mounting machine by controlling the servo motor based on an instruction from the host controller 2.
 サーボコントローラ10は、電源監視回路12と、CPU(Central Processing Unit)14と、RAM(Random Access Memory)16と、CF(Compact Flash)18と、ICH(I/O Controller Hub)20と、を備えている。 The servo controller 10 includes a power supply monitoring circuit 12, a CPU (Central Processing Unit) 14, a RAM (Random Access Memory) 16, a CF (Compact Flash) 18, and an ICH (I / O Controller Hub) 20. ing.
 電源監視回路12は、CPU14に接続されている。電源監視回路12は、公知の回路であり、サーボコントローラ10に供給される電源電圧を監視する。電源監視回路12は、サーボコントローラ10に供給される電源電圧が所定値を下回ったときに、電源OFF予告信号をCPU14に出力する。なお、本実施例では、サーボコントローラ10に電源監視回路12を設けたが、このような構成には限られない。例えば、電源監視回路を上位制御装置2に設け、上位制御装置2からサーボコントローラに電源OFF予告信号を出力するようにしてもよい。 The power supply monitoring circuit 12 is connected to the CPU 14. The power supply monitoring circuit 12 is a known circuit and monitors the power supply voltage supplied to the servo controller 10. The power monitoring circuit 12 outputs a power OFF notice signal to the CPU 14 when the power voltage supplied to the servo controller 10 falls below a predetermined value. In the present embodiment, the power supply monitoring circuit 12 is provided in the servo controller 10, but the configuration is not limited thereto. For example, a power supply monitoring circuit may be provided in the host controller 2 so that a power OFF notice signal is output from the host controller 2 to the servo controller.
 CPU14は、サーボコントローラ10の動作を制御するプロセッサである。CPU14は、RAM16に接続されると共に、ICH20を介してCF18に接続されている。CPU14は、予め記憶されたプログラムを実行し、上位制御装置2からの指示に基づいてサーボモータを制御する。CPU14がプログラムを実行することで、CPU14は、処理実行手段、データ圧縮手段、データ退避手段、算出手段、調整手段として機能する。CPU14による処理については、後で詳述する。 The CPU 14 is a processor that controls the operation of the servo controller 10. The CPU 14 is connected to the RAM 16 and is also connected to the CF 18 via the ICH 20. The CPU 14 executes a program stored in advance and controls the servo motor based on an instruction from the host control device 2. When the CPU 14 executes the program, the CPU 14 functions as a process execution unit, a data compression unit, a data saving unit, a calculation unit, and an adjustment unit. The processing by the CPU 14 will be described in detail later.
 RAM16は、揮発性メモリであり、CPU14に接続されている。RAM16は、CPU14がプログラムを実行することで生成される各種データを格納する。RAM16は揮発性メモリであるため、外部から電源が供給されている間だけ、格納されているデータを保持する。このため、外部からの電源供給が停止すると、格納されているデータは消失する。RAM16に格納されるデータには、CPU14が実行する処理の履歴を示すログ情報と、そのログ情報を圧縮処理することで得られる圧縮ログ情報と、圧縮ログ情報を管理するための管理情報が含まれる。具体的には、図2に示すようにRAM16には、データ領域202と、圧縮データ領域204と、管理情報記憶領域206が設けられる。 The RAM 16 is a volatile memory and is connected to the CPU 14. The RAM 16 stores various data generated by the CPU 14 executing the program. Since the RAM 16 is a volatile memory, the stored data is held only while power is supplied from the outside. For this reason, when the external power supply is stopped, the stored data is lost. The data stored in the RAM 16 includes log information indicating a history of processing executed by the CPU 14, compressed log information obtained by compressing the log information, and management information for managing the compressed log information. It is. Specifically, as shown in FIG. 2, the RAM 16 is provided with a data area 202, a compressed data area 204, and a management information storage area 206.
 データ領域202は、リングバッファとして構成されており、4個のデータ記憶領域202a~202dで構成されている。各データ記憶領域202a~202dには、ログ情報(非圧縮データ)が記憶される。各データ記憶領域202a~202dの容量は同一に設定されている。このため、各データ記憶領域202a~202dに記憶されるログ情報の容量も同一となる。ログ情報が格納される順番は、データ記憶領域202aからデータ記憶領域202dに順に格納され、データ記憶領域202dにログ情報が格納されると、再度、データ記憶領域202aから順に格納される。 The data area 202 is configured as a ring buffer, and includes four data storage areas 202a to 202d. Log information (uncompressed data) is stored in each of the data storage areas 202a to 202d. The data storage areas 202a to 202d have the same capacity. Therefore, the capacity of log information stored in each of the data storage areas 202a to 202d is also the same. The log information is stored in order from the data storage area 202a to the data storage area 202d. When log information is stored in the data storage area 202d, the log information is stored again in order from the data storage area 202a.
 圧縮データ領域204は、データ領域202に格納されたログ情報を圧縮して得られる圧縮ログ情報ファイルが格納される。後で詳述するように、データ領域202に格納されるログ情報は、データ記憶領域202a~202d毎に圧縮されて圧縮データ領域204に格納される。すなわち、圧縮データ領域204は、データ領域202の4個のデータ記憶領域202a~202dのそれぞれに対応した圧縮ログ情報ファイル204a~204dを記憶する。具体的には、圧縮ログ情報ファイル204aはデータ記憶領域202aに、圧縮ログ情報ファイル204bはデータ記憶領域202bに、圧縮ログ情報ファイル204cはデータ記憶領域202cに、圧縮ログ情報ファイル204dはデータ記憶領域202dに対応している。各圧縮ログ情報ファイル204a~204dの容量は、圧縮したログ情報(非圧縮データ)の内容によって異なる。このため、図2に示すように、圧縮ログ情報ファイル204a,204b,204dの容量は、それぞれ相違している。 In the compressed data area 204, a compressed log information file obtained by compressing the log information stored in the data area 202 is stored. As will be described in detail later, the log information stored in the data area 202 is compressed for each of the data storage areas 202a to 202d and stored in the compressed data area 204. That is, the compressed data area 204 stores compressed log information files 204a to 204d corresponding to the four data storage areas 202a to 202d of the data area 202, respectively. Specifically, the compressed log information file 204a is stored in the data storage area 202a, the compressed log information file 204b is stored in the data storage area 202b, the compressed log information file 204c is stored in the data storage area 202c, and the compressed log information file 204d is stored in the data storage area. 202d. The capacity of each compressed log information file 204a to 204d varies depending on the contents of the compressed log information (uncompressed data). Therefore, as shown in FIG. 2, the capacities of the compressed log information files 204a, 204b, and 204d are different from each other.
 管理情報記憶領域206は、データ領域202の現在のデータ書き込み先(ログ情報の書き込み先)と、圧縮データ領域204に格納される圧縮ログ情報ファイル204a~204dのそれぞれの書き込み先と容量が格納される。すなわち、CPU14が処理を行うことでログ情報は順次生成され、そのログ情報はデータ領域202に順次格納される。このため、生成されるログ情報の書き込み先を管理情報記憶領域206に記憶・更新することで、生成されるログ情報がデータ領域202の正しいアドレスに格納される。また、上述したように、圧縮データ領域204に格納される圧縮ログ情報ファイル204a~204dの容量は、圧縮したログ情報の内容によって相違する。このため、複数の圧縮ログ情報ファイル204a~204dを圧縮データ領域204に連続データとして区別することなく格納すると、圧縮ログ情報ファイル204a~204d毎の境界が分からなくなってしまう。圧縮ログ情報ファイル204a~204d毎の境界が分からないと、圧縮ログ情報ファイル204a~204dを解凍することができず、ログ情報の復元ができない。そのため、管理情報記憶領域206に各圧縮ログ情報ファイル204a~204dの書き込み先と容量を記憶することで、各圧縮ログ情報ファイル204a~204dの境界を特定可能としている。 The management information storage area 206 stores the current data write destination (log information write destination) of the data area 202 and the write destinations and capacities of the compressed log information files 204a to 204d stored in the compressed data area 204. The That is, log information is sequentially generated by the processing performed by the CPU 14, and the log information is sequentially stored in the data area 202. Therefore, the log information to be generated is stored at the correct address in the data area 202 by storing and updating the writing destination of the generated log information in the management information storage area 206. Further, as described above, the capacity of the compressed log information files 204a to 204d stored in the compressed data area 204 differs depending on the contents of the compressed log information. For this reason, if a plurality of compressed log information files 204a to 204d are stored in the compressed data area 204 without being distinguished as continuous data, the boundaries between the compressed log information files 204a to 204d are not known. If the boundaries of the compressed log information files 204a to 204d are not known, the compressed log information files 204a to 204d cannot be decompressed and the log information cannot be restored. Therefore, by storing the write destination and capacity of each compressed log information file 204a to 204d in the management information storage area 206, the boundary between each compressed log information file 204a to 204d can be specified.
 CF18は、不揮発性メモリであり、ICH20を介してCPU14に接続されている。後述するように、CF18には、電源遮断時に、RAM16のデータ領域202に格納されているログ情報(非圧縮データ)と、圧縮データ領域204に格納されている圧縮ログ情報(圧縮データ)と、管理情報記憶領域206に格納されている管理情報が格納される。CF18は不揮発性メモリであるため、外部からの電源が遮断された後も、格納されているデータを保持することができる。このため、電源遮断時にCF18に退避したログ情報を用いて、電源回復後に異常解析等が可能となる。 CF 18 is a non-volatile memory, and is connected to the CPU 14 via the ICH 20. As will be described later, the CF 18 stores log information (uncompressed data) stored in the data area 202 of the RAM 16 and compressed log information (compressed data) stored in the compressed data area 204 when the power is shut off. Management information stored in the management information storage area 206 is stored. Since the CF 18 is a non-volatile memory, the stored data can be retained even after the external power supply is shut off. For this reason, an abnormality analysis or the like can be performed after the power is restored by using the log information saved in the CF 18 when the power is shut off.
 次に、図3,4を参照して、CPU14が行う処理について説明する。CPU14は、サーボコントローラ10への電源供給が正常に行われている間は、予め定められた処理周期(例えば、250μs)で、図3に示す通常時処理を実行する。一方、電源監視回路12から電源OFF予告信号が入力されると、CPU14は、図4に示す電源OFF予告時処理(電源OFF予告信号をトリガーとする割り込み処理)を実行する。以下、図3に示す通常時処理より説明する。 Next, processing performed by the CPU 14 will be described with reference to FIGS. While the power supply to the servo controller 10 is normally performed, the CPU 14 executes the normal process shown in FIG. 3 at a predetermined processing cycle (for example, 250 μs). On the other hand, when a power OFF notice signal is input from the power monitoring circuit 12, the CPU 14 executes a power OFF notice process (interrupt process triggered by the power OFF notice signal) shown in FIG. Hereinafter, the normal process shown in FIG. 3 will be described.
 図3に示すように、CPU14は、まず、定期処理を行う(S10)。定期処理は、サーボモータを駆動するための処理(サーボ制御のための処理)であり、各処理周期において必ず実行される。定期処理においてCPU14は、サーボモータの現在値と目標値との偏差からサーボモータのトルク指令値を算出し、そのトルク指令値をサーボモータに出力する処理を行う。なお、サーボモータの目標値(例えば、目標位置)は、上位制御装置2よりサーボコントローラ10に入力される。また、CPU14は、定期処理を行うことで生成されるログ情報(非圧縮データ)を、RAM14のデータ領域202に格納する。具体的には、管理情報記憶領域206に記憶されている現在の書き込み先に、生成したログ情報(非圧縮データ)を格納する。また、ログ情報を格納すると、管理情報記憶領域206に記憶されている現在の書き込み先を更新する。 As shown in FIG. 3, the CPU 14 first performs regular processing (S10). The periodic processing is processing for driving the servo motor (processing for servo control), and is always executed in each processing cycle. In the periodic process, the CPU 14 calculates a torque command value of the servo motor from the deviation between the current value of the servo motor and the target value, and performs a process of outputting the torque command value to the servo motor. The target value (for example, target position) of the servo motor is input from the host controller 2 to the servo controller 10. Further, the CPU 14 stores log information (uncompressed data) generated by performing the regular processing in the data area 202 of the RAM 14. Specifically, the generated log information (uncompressed data) is stored in the current write destination stored in the management information storage area 206. When the log information is stored, the current write destination stored in the management information storage area 206 is updated.
 次に、CPU14は、不定期処理を行う必要があるか否かを判断する(S12)。具体的には、CPU14は上位制御装置2と通信を行う必要があるか否かにより、不定期処理の要否を判断する。例えば、上位制御装置2より指示(目標値等)が入力される場合や、上位制御装置2にサーボコントローラ10の状態(事象)を通知する場合には、不定期処理を行う必要があると判断する。不定期処理を行う必要がない場合(S12でNO)は、S16に進む。一方、不定期処理を行う必要がある場合(S12でYES)は、CPU14は、S14に進んで不定期処理を行う。したがって、S14の不定期処理は、S12の特定の条件が成立した時にのみ行われ、常時実行される処理ではない。不定期処理においてCPU14は、上位制御装置2からの指示(目標値等)を受信し、あるいは、サーボコントローラ10で生じた事象を上位制御装置2に送信する。なお、不定期処理を行うことで生じるログ情報もRAM14のデータ領域202に格納される。また、ログ情報がデータ領域202に格納されると、それに応じて管理情報記憶領域206に記憶されている情報(現在の書き込み先)も更新される。 Next, the CPU 14 determines whether or not it is necessary to perform irregular processing (S12). Specifically, the CPU 14 determines whether or not irregular processing is necessary depending on whether or not it is necessary to communicate with the host control device 2. For example, when an instruction (target value or the like) is input from the host controller 2 or when the state (event) of the servo controller 10 is notified to the host controller 2, it is determined that it is necessary to perform irregular processing. To do. If it is not necessary to perform irregular processing (NO in S12), the process proceeds to S16. On the other hand, if it is necessary to perform irregular processing (YES in S12), the CPU 14 proceeds to S14 and performs irregular processing. Therefore, the irregular process of S14 is performed only when the specific condition of S12 is satisfied, and is not a process that is always executed. In the irregular processing, the CPU 14 receives an instruction (target value or the like) from the host controller 2 or transmits an event occurring in the servo controller 10 to the host controller 2. Note that log information generated by performing irregular processing is also stored in the data area 202 of the RAM 14. Further, when the log information is stored in the data area 202, the information (current write destination) stored in the management information storage area 206 is also updated accordingly.
 次に、CPU14は、当該処理周期において、データ領域202に格納されているログ情報を圧縮するための処理(後述するS20~S24の処理)を行う時間があるか否かを判断する(S16)。すなわち、本実施例のサーボコントローラ10では、サーボ制御の精度を高めるために処理周期が短く設定され、CPU14が定期処理(S10)と不定期処理(S14)のみを実施できる程度の時間を処理周期としている。一方、上述したように不定期処理は特定条件下でのみ行われる処理であり、処理周期毎に常に行われる処理ではない。そこで、本実施例では、不定期処理が行われない処理周期において、データ領域202に格納されているログ情報を圧縮するための処理(後述するS20~S24の処理)を行うこととしている。このため、S16でCPU14は、ログ情報を圧縮するための処理を行う時間があるか否か(すなわち、不定期処理を実行しているか否か)を判断する。ログ情報を圧縮するための処理を行う時間がない場合(S16でNO)は、S18~24をスキップして、当該処理周期における処理を終了する。 Next, the CPU 14 determines whether or not there is a time for performing processing for compressing log information stored in the data area 202 (processing of S20 to S24 described later) in the processing cycle (S16). . That is, in the servo controller 10 of the present embodiment, the processing cycle is set short in order to increase the accuracy of the servo control, and the CPU 14 is allowed to perform only the regular processing (S10) and the irregular processing (S14). It is said. On the other hand, as described above, the irregular process is a process that is performed only under a specific condition, and is not a process that is always performed every processing cycle. Therefore, in this embodiment, processing for compressing log information stored in the data area 202 (processing of S20 to S24 described later) is performed in a processing cycle in which irregular processing is not performed. For this reason, in S16, the CPU 14 determines whether or not there is time to perform processing for compressing the log information (that is, whether or not irregular processing is being performed). If there is no time for performing processing for compressing the log information (NO in S16), S18 to S24 are skipped, and the processing in the processing cycle ends.
 一方、ログ情報を圧縮するための処理を行う時間がある場合(S16でYES)は、CPU14は、データ領域202に記憶されているログ情報が指定容量に達しているか否かを判断する(S18)。上述したように、本実施例では、データ領域202に格納されるログ情報は、データ記憶領域202a~202d毎に圧縮され、圧縮ログ情報ファイル204a~204dとして圧縮データ領域204に格納される。すなわち、データ記憶領域202a~202dのいずれかの領域の全体にログ情報が格納されると、その領域のログ情報が圧縮される。したがって、CPU14は、現在書き込み中のデータ記憶領域(202a~202dのいずれかの領域)の全体にログ情報が格納されているか否かを判断する。具体的には、管理情報記憶領域206に記憶されている「現在のデータ書き込み先」の情報から、CPU14はログ情報が指定容量に達したか否かを判断する。例えば、図2に示す状態では、CPU14はデータ記憶領域202cにログ情報を書き込んでおり、現在の書き込み先の情報よりデータ記憶領域202cの全体にログ情報が格納されていないと判断することができる。このため、CPU14は、ログ情報が指定容量に達していないと判断する。圧縮処理の対象となるログ情報が指定容量に達していない場合(S18でNO)は、S20~24をスキップして、当該処理周期における処理を終了する。 On the other hand, when there is time to perform processing for compressing the log information (YES in S16), the CPU 14 determines whether or not the log information stored in the data area 202 has reached the specified capacity (S18). ). As described above, in this embodiment, the log information stored in the data area 202 is compressed for each of the data storage areas 202a to 202d and stored in the compressed data area 204 as compressed log information files 204a to 204d. That is, when log information is stored in the entire data storage area 202a to 202d, the log information in that area is compressed. Therefore, the CPU 14 determines whether or not log information is stored in the entire data storage area (any one of 202a to 202d) that is currently being written. Specifically, the CPU 14 determines whether or not the log information has reached a specified capacity from the information of “current data write destination” stored in the management information storage area 206. For example, in the state shown in FIG. 2, the CPU 14 has written the log information in the data storage area 202c, and can determine from the current write destination information that the log information is not stored in the entire data storage area 202c. . For this reason, the CPU 14 determines that the log information has not reached the specified capacity. If the log information subject to compression processing has not reached the specified capacity (NO in S18), S20 to S24 are skipped, and the processing in the processing cycle ends.
 一方、圧縮処理の対象となるログ情報が指定容量に達している場合(S18でYES)は、CPU14は、圧縮対象となるログ情報(非圧縮データ)を圧縮する(S20)。ログ情報を圧縮する方法としては、公知のデータ圧縮方法を用いることができる。これによって、データ記憶領域202a~202dのいずれかに格納されているログ情報(非圧縮データ)が圧縮されて、圧縮ログ情報ファイルとなる。 On the other hand, when the log information to be compressed reaches the specified capacity (YES in S18), the CPU 14 compresses the log information (non-compressed data) to be compressed (S20). As a method for compressing log information, a known data compression method can be used. As a result, the log information (uncompressed data) stored in any of the data storage areas 202a to 202d is compressed into a compressed log information file.
 次に、CPU14は、S20の圧縮処理によって得られた圧縮ログ情報ファイル(204a~204dのいずれか)を、RAM16の圧縮データ領域204に格納する(S22)。次いで、CPU14は、S22で格納した圧縮ログ情報ファイルの書き込み先と容量を管理情報記憶領域206に格納する(S24)。S24が終了すると、当該処理周期における処理を終了する。 Next, the CPU 14 stores the compressed log information file (any one of 204a to 204d) obtained by the compression process of S20 in the compressed data area 204 of the RAM 16 (S22). Next, the CPU 14 stores the write destination and capacity of the compressed log information file stored in S22 in the management information storage area 206 (S24). When S24 ends, the processing in the processing cycle ends.
 次に、図4を参照して電源OFF予告時処理を説明する。上述したように、電源OFF予告時処理は、電源監視回路12からの電源OFF予告信号をトリガーとして開始される。具体的には、電源監視回路12から出力される電源OFF予告信号がCPU14に入力されると、CPU14は、まず、図3に示す通常時処理を停止し、その後に、図4に示す電源OFF予告時処理を実行する。 Next, the power off notice process will be described with reference to FIG. As described above, the power-off notice process is started with the power-off notice signal from the power monitoring circuit 12 as a trigger. Specifically, when the power OFF notice signal output from the power monitoring circuit 12 is input to the CPU 14, the CPU 14 first stops the normal processing shown in FIG. 3, and then the power OFF shown in FIG. Execute the notice process.
 図4に示す電源OFF予告時処理では、まず、CPU14は、電源がOFFするまでの電源OFF時間を算出する(S30)。電源OFF時間は、例えば、電源監視回路12で検出される外部電源の電圧値の変化から算出することができる。なお、本実施例では、CPU14が電源OFF時間を算出したが、上位制御装置2が電源OFF時間を算出し、その算出した電源OFF時間をサーボコントローラ10に入力するようにしてもよい。 In the power OFF notice process shown in FIG. 4, first, the CPU 14 calculates a power OFF time until the power is turned OFF (S30). The power supply OFF time can be calculated from, for example, a change in the voltage value of the external power supply detected by the power supply monitoring circuit 12. In this embodiment, the CPU 14 calculates the power OFF time. However, the host control device 2 may calculate the power OFF time and input the calculated power OFF time to the servo controller 10.
 次に、CPU14は、S30で算出された電源OFF時間とCF18への書き込み速度を用いて、電源がOFFするまでにCF18への書き込みが完了するデータ容量を算出する(S32)。そして、CPU14は、算出したデータ容量となるように、RAM16からCF18へ退避するデータを選定する。具体的には、データ領域202のデータ記憶領域202a~202dのうち、電源OFF予告時処理を開始したときにログ情報を書き込んでいたデータ記憶領域のログ情報(非圧縮データ)と、圧縮データ領域204に格納されている圧縮ログ情報ファイル204a~204d(圧縮データ)と、管理情報記憶領域206に格納されているデータ(圧縮ログ情報ファイルの書き込み先と容量に関する情報)を選択する。ここで、データ領域202のログ情報と管理情報記憶領域206のデータは必ず選択されるため、CPU14は、電源OFF時間とCF18への書き込み速度から、CF18に退避する圧縮ログ情報ファイルを直近のものより順に選択する。なお、電源OFF時間とCF18への書き込み速度から十分な時間があると判断される場合は、CPU14は、圧縮データ領域204に格納されている全ての圧縮ログ情報ファイル204a~204dを選択する。例えば、図2に示す状態で電源OFF予告時処理が開始された場合、CPU14は、データ記憶領域202cに記憶されている非圧縮データ3(ハッチングされた部分)と、圧縮データ領域204の圧縮ログ情報ファイル204a,204b,204d(ハッチングされた部分)と、管理情報記憶領域206のデータを選択する。これによって、CF18へのデータ退避中に電源OFF予告時処理が中断して、CF18に不正ファイルが残存してしまうことが抑制される。 Next, the CPU 14 uses the power-off time calculated in S30 and the writing speed to the CF 18 to calculate the data capacity in which writing to the CF 18 is completed before the power is turned off (S32). Then, the CPU 14 selects data to be saved from the RAM 16 to the CF 18 so that the calculated data capacity is obtained. Specifically, among the data storage areas 202a to 202d of the data area 202, log information (uncompressed data) of the data storage area into which log information was written when the power-off notice process was started, and the compressed data area The compressed log information files 204a to 204d (compressed data) stored in 204 and the data stored in the management information storage area 206 (information on the write destination and capacity of the compressed log information file) are selected. Here, since the log information in the data area 202 and the data in the management information storage area 206 are always selected, the CPU 14 selects the latest compressed log information file saved in the CF 18 based on the power OFF time and the writing speed to the CF 18. Select in order. If it is determined that there is sufficient time from the power OFF time and the writing speed to the CF 18, the CPU 14 selects all the compressed log information files 204a to 204d stored in the compressed data area 204. For example, when the power off notice process is started in the state shown in FIG. 2, the CPU 14 stores the uncompressed data 3 (hatched portion) stored in the data storage area 202 c and the compressed log of the compressed data area 204. Information files 204a, 204b, 204d (hatched portions) and data in the management information storage area 206 are selected. As a result, it is possible to prevent the unauthorized process from remaining in the CF 18 by interrupting the power-off notice process during saving of data to the CF 18.
 次に、CPU14は、RAM16に格納されているデータのうち、S32で選択したデータ(すなわち、CF18へ退避するデータ)を読み込む(S34)。そして、CPU14は、S34で読み込んだデータを、ICH20を介してCF18に退避する(S36)。RAM16からのデータの読み込みと、CF18へのデータの書き込みと、を一度にできるデータ量には制限がある。このため、CPU14は、S32で選択したデータ(CF18に退避するデータ)の全てを、CF18へ退避したか否かを判断する(S38)。S32で選択したデータの全てをCF18へ退避していない場合(S38でNO)は、CPU14は、S34に戻って、S34からの処理を実行する。一方、S32で選択したデータの全てがCF18へ退避している場合(S38でYES)は、CPU14は、電源OFF予告時処理を終了する。これによって、S32で選択したデータの全てがCF18へ退避される。CF18は不揮発性メモリであるため、CF18へ退避されたデータは、サーボコントローラ10への電源供給が遮断されている間も保持される。このため、CF18へ退避したログ情報を解析することで、電源遮断時の状況等を解析することができる。 Next, the CPU 14 reads the data selected in S32 among the data stored in the RAM 16 (that is, the data saved in the CF 18) (S34). Then, the CPU 14 saves the data read in S34 to the CF 18 via the ICH 20 (S36). There is a limit to the amount of data that can be read from the RAM 16 and written to the CF 18 at a time. Therefore, the CPU 14 determines whether all of the data selected in S32 (data saved in the CF 18) has been saved in the CF 18 (S38). If all the data selected in S32 has not been saved to the CF 18 (NO in S38), the CPU 14 returns to S34 and executes the processing from S34. On the other hand, if all the data selected in S32 has been saved to the CF 18 (YES in S38), the CPU 14 ends the power-off notice process. As a result, all of the data selected in S32 is saved in the CF18. Since the CF 18 is a non-volatile memory, the data saved in the CF 18 is retained even while the power supply to the servo controller 10 is shut off. For this reason, by analyzing the log information saved in the CF 18, it is possible to analyze the situation when the power is shut off.
 上述の説明から明らかなように、本実施例のサーボコントローラ10では、通常時処理(図3)において、RAM16に格納されたログ情報を圧縮する処理を行って、圧縮ログ情報ファイル204a~204dを作成している。このため、電源OFF予告時処理では、データ記憶領域に格納されている直近のログ情報(非圧縮データ)と、圧縮データ領域204に格納されている圧縮ログ情報ファイルと、管理情報記憶領域206のデータを退避するだけでよい。退避するデータの容量が少なくされているため、電源OFF予告時処理を短時間で行うことができる。また、CF18に退避されたデータの一部は圧縮により暗号化されているため、セキュリティ性を向上することができる。 As is apparent from the above description, in the servo controller 10 of this embodiment, in the normal process (FIG. 3), the log information stored in the RAM 16 is compressed to store the compressed log information files 204a to 204d. Creating. For this reason, in the power-off notification process, the latest log information (uncompressed data) stored in the data storage area, the compressed log information file stored in the compressed data area 204, and the management information storage area 206 You only need to save the data. Since the volume of data to be saved is reduced, the power-off notification process can be performed in a short time. In addition, since a part of the data saved in the CF 18 is encrypted by compression, the security can be improved.
 また、電源OFF予告時処理を短時間で行うことができるため、データの退避を行う不揮発性メモリに、低速なアクセス速度であるCF18を用いることができる。CF18を用いることで、サーボコントローラ10の製造コストを低減することができる。また、不揮発性メモリのCF18でデータ退避を行うことから、バックアップ電源が不要となり、サーボコントローラ10の基板サイズを小さくすることができる。 In addition, since the power off notice process can be performed in a short time, the CF 18 that is a low access speed can be used for the nonvolatile memory for saving data. By using CF18, the manufacturing cost of the servo controller 10 can be reduced. Further, since the data is saved by the CF 18 of the non-volatile memory, a backup power source becomes unnecessary, and the substrate size of the servo controller 10 can be reduced.
 また、本実施例のサーボコントローラ10では、予測される電源OFFまでの時間に応じて、CF18へ退避するデータ量が調整される。仮に、電源OFF予告時処理の実行中にサーボコントローラ10への電源が遮断されると、CF18に不正ファイルが作成され、その不正ファイルが残存するという問題が生じる。一方、本実施例では、予測される電源OFFまでの時間に応じて退避するデータ量が調整されるため、不正ファイルが発生することを未然に防止することができる。 Further, in the servo controller 10 of the present embodiment, the amount of data saved in the CF 18 is adjusted according to the predicted time until the power is turned off. If the power to the servo controller 10 is cut off during the power-off notice process, an illegal file is created in the CF 18 and the illegal file remains. On the other hand, in the present embodiment, the amount of data to be saved is adjusted according to the predicted time until the power is turned off, so that it is possible to prevent an illegal file from occurring.
 さらに、本実施例のサーボコントローラ10では、不定期処理(図3のS14)を行わないことによる空き時間を利用して、RAM16のデータ領域202に格納されているログ情報を圧縮する処理を行う。このため、ログ情報を圧縮する処理を定常の処理周期に実行する構成としても、圧縮処理を行うことがサーボモータの制御へ影響することはない。 Further, in the servo controller 10 according to the present embodiment, a process of compressing log information stored in the data area 202 of the RAM 16 is performed by using the idle time due to not performing the irregular process (S14 in FIG. 3). . For this reason, even if the process of compressing the log information is executed in a regular processing cycle, the compression process does not affect the control of the servo motor.
 以上、本明細書に開示の技術に係る実施例について詳細に説明したが、これらは例示に過ぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。 As mentioned above, although the Example which concerns on the technique disclosed by this specification was described in detail, these are only illustrations and do not limit a claim. The technology described in the claims includes various modifications and changes of the specific examples illustrated above.
(1)例えば、上記の実施例では、データ領域と、そのデータ領域に対応する圧縮データ領域の組み合わせが1組であったが、データ領域と、そのデータ領域に対応する圧縮データ領域との組合せを複数組としてもよい。すなわち、RAMに複数のデータ領域(各データ領域が複数のデータ記憶領域を有するリングバッファとして構成される)と、それら複数のデータ領域に対応する複数の圧縮データ領域とを設けてもよい。圧縮処理においては、通常、非圧縮データ(ログ情報)の内容によって適切な圧縮率は異なる。データ領域とそれに対応する圧縮データ領域の組合せが1つの場合は、一番圧縮率の低い非圧縮データ(ログ情報)に合わせて、全データを圧縮しなければならない。一方、データ領域と圧縮データ領域の組合せを複数組とすると、複数の圧縮率を設定し、圧縮縮率毎に非圧縮データ(ログ情報)を分類し、分類した非圧縮データ毎にデータ領域と圧縮データ領域の組合せを割り当てることができる。これにより、非圧縮データ(ログ情報)の圧縮率を高くすることができ、データ退避時間をさらに低減することができる。 (1) For example, in the above embodiment, there is one combination of the data area and the compressed data area corresponding to the data area, but the combination of the data area and the compressed data area corresponding to the data area It is good also as multiple sets. That is, a plurality of data areas (each data area is configured as a ring buffer having a plurality of data storage areas) and a plurality of compressed data areas corresponding to the plurality of data areas may be provided in the RAM. In compression processing, an appropriate compression rate usually varies depending on the contents of uncompressed data (log information). When there is one combination of the data area and the corresponding compressed data area, all data must be compressed in accordance with the uncompressed data (log information) having the lowest compression rate. On the other hand, if the combination of the data area and the compressed data area is a plurality of sets, a plurality of compression ratios are set, the uncompressed data (log information) is classified for each compression reduction ratio, and the data area and the A combination of compressed data areas can be assigned. Thereby, the compression rate of uncompressed data (log information) can be increased, and the data saving time can be further reduced.
(2)上記の実施例では、ログ情報を退避する不揮発性メモリにCF18を用いたが、CF18の代わりに、HDDを用いてログ情報を退避してもよい。このような構成を採用する場合、HDDはデータ退避専用領域を有していてもよい。なお、HDDを用いてデータ退避を行う場合、HDDへのデータ退避処理中に電源がOFFすると、不正ファイルが生成されることがある。その結果、HDDに不正ファイルが残存し、HDDの容量を圧迫してしまう可能性がある。したがって、HDDを用いてデータ退避を行う場合は、HDDに不正ファイルが存在するか否かを判断し、HDDから不正ファイルを削除するように構成しておくことが好ましい。例えば、次に説明する方法で不正ファイルの存在を判定し、不正ファイルが存在する場合はその不正ファイルを削除することができる。すなわち、サーボコントローラ10の立ち上げ時などに、データ退避前後のHDDの使用容量を比較する。HDDの使用容量の差分が、圧縮前のデータの容量を超えている場合は、不正なファイルがデータ退避専用領域に保存されていると判断する。不正なファイルがデータ退避専用領域に保存されていると判断する場合、HDDのデータ退避専用領域をフォーマットして、HDDより不正ファイルを削除する。 (2) In the above embodiment, the CF 18 is used as the nonvolatile memory for saving the log information. However, the log information may be saved by using an HDD instead of the CF 18. When adopting such a configuration, the HDD may have a data save dedicated area. When data is saved using the HDD, an illegal file may be generated if the power is turned off during the data saving process to the HDD. As a result, an illegal file may remain in the HDD, and the capacity of the HDD may be compressed. Therefore, when data is saved using the HDD, it is preferable to determine whether an illegal file exists in the HDD and to delete the illegal file from the HDD. For example, it is possible to determine the presence of an illegal file by the method described below, and to delete the illegal file if it exists. That is, when the servo controller 10 is started up, the used capacity of the HDD before and after data saving is compared. If the difference in the used capacity of the HDD exceeds the capacity of the data before compression, it is determined that an invalid file is stored in the data saving dedicated area. If it is determined that an illegal file is stored in the data save dedicated area, the HDD data save dedicated area is formatted and the illegal file is deleted from the HDD.
(3)さらに、上記の実施例では、通常時処理においてはログ情報の圧縮のみを行っていたが、処理時間に余裕がある場合には、通常処理において圧縮したログ情報を不揮発性メモリに格納する処理を行ってもよい。 (3) Further, in the above embodiment, only the log information is compressed in the normal processing. However, if there is a margin in the processing time, the log information compressed in the normal processing is stored in the nonvolatile memory. You may perform the process to do.
(4)上記の実施例では、定期処理、不定期処理、圧縮処理を単一のプログラムで実施していたが、それぞれ異なるプログラムで独立して実施してもよい。その場合、CPUは、定期処理を実行する定期処理プログラム、不定期処理を実行する不定期処理プログラムと、圧縮処理を実行する圧縮処理プログラムと、それぞれの処理プログラムに処理時間を割り当てるプログラムマネージャと、を備える。プログラムマネージャの割り当てる処理時間の優先度を、定期処理プログラム、不定期処理プログラム、圧縮処理プログラムの順に設定する。このような構成にすることで、プログラムマネージャは、定期処理プログラムに最優先に処理時間を割り当てる。そのため、定期処理プログラムは、必ず処理周期毎に処理が完了することが保証される。不定期処理プログラムは、特定条件が成立しているとき(不定期)に実行される。特定条件が成立しているとき、プログラムマネージャは、不定期処理プログラムへの処理時間の割り当てを優先するため、圧縮処理プログラムに処理時間は割り当てない。一方、特定条件が成立していないとき、プログラムマネージャは、不定期処理プログラムに処理時間は割り当てない。そのため、CPUの処理時間に空きが発生する。そこで、プログラムマネージャは、圧縮処理プログラムに処理時間を割り当て、圧縮処理プログラムは実施される。このような構成であっても、上記実施例と同等の処理が実現できる。 (4) In the above embodiment, the regular processing, irregular processing, and compression processing are performed by a single program, but may be performed independently by different programs. In that case, the CPU includes a periodic processing program for executing periodic processing, an irregular processing program for executing irregular processing, a compression processing program for executing compression processing, a program manager for assigning processing time to each processing program, Is provided. The priority of the processing time assigned by the program manager is set in the order of the periodic processing program, the irregular processing program, and the compression processing program. With this configuration, the program manager assigns processing time to the periodic processing program with the highest priority. For this reason, the periodic processing program is guaranteed to complete processing every processing cycle. The irregular processing program is executed when a specific condition is satisfied (irregular). When the specific condition is satisfied, the program manager gives priority to the allocation of the processing time to the irregular processing program, and therefore does not allocate the processing time to the compression processing program. On the other hand, when the specific condition is not satisfied, the program manager does not allocate processing time to the irregular processing program. For this reason, there is a vacancy in the processing time of the CPU. Therefore, the program manager assigns a processing time to the compression processing program, and the compression processing program is executed. Even with such a configuration, processing equivalent to that in the above embodiment can be realized.
 本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成し得るものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 The technical elements described in the present specification or drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology exemplified in this specification or the drawings can achieve a plurality of objects at the same time, and has technical usefulness by achieving one of the objects.
2・・上位制御装置
10・・サーボコントローラ
12・・電源監視回路
14・・CPU
16・・RAM
18・・CF
20・・ICH
202・・データ領域
202a-d・・データ記憶領域
204・・圧縮データ領域
204a-d・・圧縮データ記憶領域
206・・管理情報記憶領域
2. High-level control device 10 Servo controller 12 Power supply monitoring circuit 14 CPU
16. RAM
18. CF
20 ・ ・ ICH
202 Data area 202a-d Data storage area 204 Compression data area 204a-d Compression data storage area 206 Management information storage area

Claims (5)

  1.  制御装置と、
     不揮発性メモリと、
     揮発性メモリと、を備えており、
     前記制御装置は、
     処理周期毎に、予め設定された処理を実行する処理実行手段と、
     前記処理周期において、前記処理実行手段が処理を実行することで前記揮発性メモリに格納されている非圧縮データを圧縮するデータ圧縮手段と、
     外部から入力される電源OFF予告信号を検出すると、前記揮発性メモリに格納され、かつ、前記データ圧縮手段により圧縮されていない非圧縮データと、前記データ圧縮手段により圧縮された圧縮データとを前記不揮発性メモリに格納するデータ退避手段と、を有している、コントローラ。
    A control device;
    Non-volatile memory;
    Volatile memory, and
    The controller is
    Processing execution means for executing a preset process for each processing cycle;
    Data compression means for compressing uncompressed data stored in the volatile memory by executing processing by the processing execution means in the processing cycle;
    When detecting a power OFF notice signal input from the outside, the uncompressed data stored in the volatile memory and not compressed by the data compression means and the compressed data compressed by the data compression means are A controller for storing data in the nonvolatile memory.
  2.  前記データ圧縮手段は、前記処理周期のうち前記処理実行手段が処理を実行していない空き時間において、前記揮発性メモリに格納されている非圧縮データを圧縮する、請求項1に記載のコントローラ。 The controller according to claim 1, wherein the data compression means compresses the uncompressed data stored in the volatile memory in a free time during which the process execution means does not execute the process in the processing cycle.
  3.  前記処理実行手段は、前記処理周期において、定期的に行われる定期処理と、特定条件が成立したときに行われる不定期処理と、を実行し、
     前記データ圧縮手段は、前記不定期処理が実行されないことによる空き時間を利用して非圧縮データを圧縮する、請求項2に記載のコントローラ。
    The process execution means executes a periodic process periodically performed in the process cycle and an irregular process performed when a specific condition is satisfied,
    The controller according to claim 2, wherein the data compression unit compresses uncompressed data by using a free time due to the irregular processing not being executed.
  4.  前記制御装置は、
     前記電源OFF予告信号を検出したときに、電源がOFFするまでの電源OFF時間を算出する算出手段と、
     前記算出手段により算出された電源OFF時間に応じて、前記データ退避手段により前記不揮発性メモリに退避される前記圧縮データのデータ量を調整する調整手段を有している、請求項1~3のいずれか一項に記載のコントローラ。
    The controller is
    A calculation means for calculating a power-off time until the power is turned off when the power-off notice signal is detected;
    The adjusting unit according to claim 1, further comprising an adjusting unit that adjusts a data amount of the compressed data saved in the nonvolatile memory by the data saving unit according to a power OFF time calculated by the calculating unit. The controller according to any one of the above.
  5.  前記揮発性メモリは、前記データ圧縮手段により圧縮された圧縮データを記憶する複数の圧縮データ記憶領域と、前記圧縮データが前記複数の圧縮データ記憶領域のどこに記憶されたかを特定する管理情報を記憶する管理情報記憶領域を有しており、
     前記データ圧縮手段は、前記揮発性メモリに格納されている非圧縮データを圧縮すると、その圧縮データを前記複数の圧縮データ記憶領域のいずれかに記憶すると共に、その圧縮データの管理情報を前記管理情報記憶領域に記憶する、請求項1~4のいずれかに記載したコントローラ。
    The volatile memory stores a plurality of compressed data storage areas for storing compressed data compressed by the data compression means, and management information for specifying where in the plurality of compressed data storage areas the compressed data is stored. Management information storage area,
    When the non-compressed data stored in the volatile memory is compressed, the data compression means stores the compressed data in any one of the plurality of compressed data storage areas, and manages management information of the compressed data. The controller according to any one of claims 1 to 4, which is stored in an information storage area.
PCT/JP2014/076277 2014-10-01 2014-10-01 Controller WO2016051557A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2014/076277 WO2016051557A1 (en) 2014-10-01 2014-10-01 Controller
JP2016551426A JP6386575B2 (en) 2014-10-01 2014-10-01 controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/076277 WO2016051557A1 (en) 2014-10-01 2014-10-01 Controller

Publications (1)

Publication Number Publication Date
WO2016051557A1 true WO2016051557A1 (en) 2016-04-07

Family

ID=55629647

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/076277 WO2016051557A1 (en) 2014-10-01 2014-10-01 Controller

Country Status (2)

Country Link
JP (1) JP6386575B2 (en)
WO (1) WO2016051557A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019003336A1 (en) * 2017-06-28 2019-01-03 株式会社Fuji Component mounting machine head
JP2020154741A (en) * 2019-03-20 2020-09-24 株式会社リコー Electronic apparatus, data saving control method, and data saving control program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000194607A (en) * 1998-12-24 2000-07-14 Yamatake Corp Memory backup method
JP2004199339A (en) * 2002-12-18 2004-07-15 Sony Corp Portable device and power source control method for control part
WO2010055937A1 (en) * 2008-11-17 2010-05-20 日本電気株式会社 Computer system, data storage method, and program
JP2011175379A (en) * 2010-02-23 2011-09-08 Toshiba Corp Microcomputer and vehicle

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092627A (en) * 1999-09-20 2001-04-06 Toshiba Tec Corp Method for compressing data
JP2005102027A (en) * 2003-09-26 2005-04-14 Kyocera Corp Radio communication apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000194607A (en) * 1998-12-24 2000-07-14 Yamatake Corp Memory backup method
JP2004199339A (en) * 2002-12-18 2004-07-15 Sony Corp Portable device and power source control method for control part
WO2010055937A1 (en) * 2008-11-17 2010-05-20 日本電気株式会社 Computer system, data storage method, and program
JP2011175379A (en) * 2010-02-23 2011-09-08 Toshiba Corp Microcomputer and vehicle

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019003336A1 (en) * 2017-06-28 2019-01-03 株式会社Fuji Component mounting machine head
JPWO2019003336A1 (en) * 2017-06-28 2020-02-27 株式会社Fuji Head for component mounting machine
JP2020154741A (en) * 2019-03-20 2020-09-24 株式会社リコー Electronic apparatus, data saving control method, and data saving control program

Also Published As

Publication number Publication date
JPWO2016051557A1 (en) 2017-07-20
JP6386575B2 (en) 2018-09-05

Similar Documents

Publication Publication Date Title
US20100138677A1 (en) Optimization of data distribution and power consumption in a data center
US9152329B2 (en) Information processing device, storage processing method, and computer readable recording medium having program stored therein
US10198198B2 (en) Storage device that stores setting values for operation thereof
WO2006050145A3 (en) Methods and apparatus for parallel execution of a process
JP6386575B2 (en) controller
US9948809B2 (en) Image forming apparatus, memory management method for image forming apparatus, and program, using discretely arranged blocks in prioritizing information
US20160078051A1 (en) Data pattern detecting device, semiconductor device including the same, and operating method thereof
US9841963B2 (en) Method and apparatus for managing application
KR101502725B1 (en) Apparatus and method for using buffer to manage files in storage of video event data recorder
JP2018022440A5 (en)
JP6189267B2 (en) Information processing apparatus, method, and program
US20120215993A1 (en) Information processing apparatus and method of controlling the same
JP2012173814A5 (en) Information processing apparatus and control method and program for controlling information processing apparatus
KR102338028B1 (en) Robot control apparatus, and method and program for preserving backup file
JP2008003940A (en) Protection control device, protection control method, and protection control program
JP6991404B2 (en) Multitasking device and multitasking method
JP2018156582A5 (en)
JP6853044B2 (en) Power control monitoring device and computer using it, and power control monitoring method and program
JP2014186600A (en) Storage device
JP2019007669A (en) Controller, air conditioner, and method for setting update period of operational data
TW201335754A (en) Electronic device with data synchronously storing function and method thereof
US10705149B2 (en) Voltage drop detection through data corruption detection
JP2022019083A (en) Information processing device and information processing system for managing storage destination for files stored in nonvolatile memory
JP2011159184A (en) Information processing system and program
KR20170133116A (en) Electronic device and operating method thereof

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016551426

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

Country of ref document: EP

Kind code of ref document: A1