WO2022168338A1 - Dispositif de commande - Google Patents

Dispositif de commande Download PDF

Info

Publication number
WO2022168338A1
WO2022168338A1 PCT/JP2021/009560 JP2021009560W WO2022168338A1 WO 2022168338 A1 WO2022168338 A1 WO 2022168338A1 JP 2021009560 W JP2021009560 W JP 2021009560W WO 2022168338 A1 WO2022168338 A1 WO 2022168338A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
difference
counter
value
synchronization signal
Prior art date
Application number
PCT/JP2021/009560
Other languages
English (en)
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 オムロン株式会社
Publication of WO2022168338A1 publication Critical patent/WO2022168338A1/fr

Links

Images

Classifications

    • 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/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present disclosure relates to a control device.
  • a PLC generally includes a basic unit (CPU (Central Processing Unit) unit) and an expansion unit.
  • CPU Central Processing Unit
  • a counter (timer) of the CPU unit and a counter of the expansion unit are synchronized so that there is no time lag between the data acquired from the CPU unit and the data acquired from the expansion unit.
  • Patent Document 1 discloses a technique for synchronizing the time of the CPU unit timer and the time of the expansion unit timer. Specifically, a synchronization signal is transmitted from the CPU unit to the expansion unit. The expansion unit synchronizes the time of the expansion unit timer with the time of the CPU unit timer according to the synchronization signal.
  • the CPU of the CPU unit executes the process of transmitting the synchronization signal by executing firmware. Therefore, the CPU unit timer and the expansion unit timer cannot be synchronized until after the firmware has started. Therefore, the CPU unit timer and the expansion unit timer are out of sync before the firmware starts. As a result, if a problem occurs before the firmware is started, it becomes difficult to arrange the order of occurrence of events among a plurality of units, and it takes time to investigate the cause of the problem.
  • the present disclosure has been made in view of the above problems, and its purpose is to provide a control device that can shorten the time required to investigate the cause of a problem that occurred before starting the firmware.
  • the control device includes a first unit and a second unit that exchange data.
  • the first unit includes a first hardware circuit.
  • a second unit includes a second hardware circuit.
  • a first hardware circuit includes a first counter, a signal output section for outputting a synchronization signal to the second unit, and a first value of the first counter when the synchronization signal is output to a second unit. and a time information output unit for outputting to the unit.
  • the second hardware circuit includes: a second counter; a difference calculator that calculates a first difference between a second value and a first value of the second counter when receiving the synchronization signal; and a correction unit that corrects the second counter based on the difference of 1.
  • synchronization processing between the first counter and the second counter is performed by the first hardware circuit of the first unit and the second hardware circuit of the second unit. Therefore, immediately after the control device is powered on, synchronization processing between the first counter and the second counter is started. Therefore, the first and second counters are synchronized before the firmware is activated. Therefore, even before the firmware is activated, it becomes easy to arrange the order of occurrence of events in the first unit and the second unit. As a result, it is possible to shorten the time required to investigate the cause of a problem that occurred before the firmware was started.
  • the first hardware circuit further comprises a third counter.
  • the second hardware circuit further has a fourth counter.
  • the signal output section repeatedly outputs the synchronization signal.
  • the time information output unit further outputs a second difference between the value of the third counter when the previous synchronization signal was output and the value of the third counter when the current synchronization signal was output as a second difference.
  • the difference calculation unit further calculates a third difference between the value of the fourth counter when receiving the previous synchronization signal and the value of the fourth counter when receiving the synchronization signal this time. Compute a fourth difference between the difference of and the third difference.
  • the correction unit corrects the second counter based on the fourth difference.
  • the fourth difference is the count number of the third counter and the count number of the fourth counter in the target period from the output of the previous synchronization signal to the output of the current synchronization signal. Show the difference with the number. Since the first counter and the third counter are included in the same hardware circuit, they count up in the same period according to the clock from the same clock oscillation source. Similarly, since the second counter and the fourth counter are included in the same hardware circuit, they count up in the same cycle according to the clock from the same clock oscillation source. Therefore, the difference between the count number of the first counter and the count number of the second counter in the target period is also the fourth difference.
  • the correction unit corrects the second counter based on the fourth difference, thereby correcting the difference between the values of the first counter and the second counter caused by the oscillation error of the clock source.
  • the first unit further includes a first light emitting element that blinks according to the value of the first counter.
  • the second unit further comprises a second light emitting element that blinks according to the value of the second counter.
  • the blinking cycles of the first light emitting element and the second light emitting element are synchronized, and a sense of unity can be given to the user. Conversely, the user can recognize that some kind of abnormality has occurred by visually confirming that the blinking cycles of the first light emitting element and the second light emitting element are not synchronized.
  • the first unit further comprises a processor executing firmware.
  • the firmware includes instructions for setting the timing of outputting the synchronization signal to the signal output section.
  • the signal output unit outputs a synchronization signal when the value of the first counter reaches the timing.
  • the firmware further includes instructions to calculate a fifth difference between the second value and the timing, and instructions to correct the second counter based on the fifth difference.
  • the processor disables the operation of the time information output section after starting the firmware.
  • the processor can synchronize the first counter and the second counter according to the firmware.
  • the first hardware circuit is an ASIC or FPGA.
  • the second hardware circuit is an ASIC or FPGA.
  • FIG. 3 is a schematic diagram showing a configuration example of a unit of the control device according to the embodiment;
  • FIG. It is a figure which shows the signal waveform using UART.
  • FIG. 4 is a diagram showing a signal waveform corresponding to time information (value X1);
  • FIG. 4 is a diagram showing the flow of data accompanying the waveform of a synchronizing signal;
  • FIG. 5 is a diagram schematically showing the configuration of a control device according to modification 1;
  • FIG. 11 is a diagram schematically showing the configuration of a control device according to modification 2;
  • FIG. 1 is a diagram schematically showing an example of the configuration of a control device 1 according to this embodiment.
  • the control device 1 corresponds to a PLC, for example.
  • a PLC will be described as a specific example as a typical example of a "control device”, but the technical idea disclosed in this specification is not limited to a PLC, and can be applied to any control device. Applicable.
  • control device 1 includes a CPU unit 100 and an expansion unit 200 that exchange data.
  • control device 1 includes one expansion unit 200 in FIG. 1 , it may be provided with a plurality of expansion units 200 .
  • CPU unit 100 is connected to expansion unit 200 via data bus 2 and signal lines 3 and 4 .
  • the CPU unit 100 has a program execution section that executes a program created according to the object to be controlled. More specifically, the CPU unit 100 corresponds to an arithmetic processing section that executes system programs and various user programs.
  • the extension unit 200 can be detachably externally attached to the CPU unit 100 in order to extend the functions of the control device 1 .
  • the expansion unit 200 is arranged to mediate between the network and the control device 1, for example performing communication processing or information processing.
  • the CPU unit 100 includes a CPU 10, a memory 11, a storage 12, and a hardware circuit 13.
  • Expansion unit 200 includes CPU 20 , memory 21 , storage 22 and hardware circuit 23 .
  • the CPU 10 reads the firmware and various user programs stored in the storage 12, develops them in the memory 11, and executes them.
  • the CPU 20 reads various programs stored in the storage 22, develops them in the memory 21, and executes them.
  • the hardware circuit 13 and the hardware circuit 23 are, for example, FPGA (Field-Programmable Gate Array) or ASIC (Application Specific Integrated Circuit).
  • the hardware circuit 13 has a free-running counter (hereinafter referred to as "FRC") 131, a synchronization signal output section 132, and a latch section 133.
  • FRC free-running counter
  • the FRC 131 is a counter that counts up at regular intervals. Various counters may be employed instead of the FRC 131 .
  • the synchronization signal output section 132 uses the signal line 3 to output the synchronization signal to the expansion unit 200 at arbitrary timing.
  • the synchronization signal output unit 132 arbitrarily generates the output timing of the synchronization signal.
  • the synchronization signal output unit 132 may set the timing at which the value of the FRC 131 reaches the set value as the timing for outputting the synchronization signal.
  • the synchronization signal output from the synchronization signal output section 132 is also input to the latch section 133 .
  • the latch section 133 latches the value X1 of the FRC 131 when the synchronization signal is output. Furthermore, the latch section 133 outputs the held value X1 to the expansion unit 200 using the signal line 4 .
  • the value X1 latched by the latch section 133 is time information indicating the time when the synchronization signal was output.
  • the hardware circuit 23 has an FRC 231 , a latch section 232 , a difference calculation section 233 and an FRC correction section 234 .
  • the FRC 231 is a counter that counts up at regular intervals. Various counters may be employed instead of the FRC 231 .
  • the latch section 232 latches the value X2 of the FRC 231 when receiving the synchronization signal from the signal line 3 .
  • the latch section 232 outputs the held value X2 to the difference calculation section 233 .
  • the difference calculator 233 outputs the difference Y1 to the FRC corrector 234 .
  • the FRC correction unit 234 corrects the FRC 231 based on the difference Y1. That is, the FRC correction unit 234 corrects the value of the FRC231 by the difference Y1 so that the FRC131 and the FRC231 are synchronized.
  • the synchronous signal output section 132 of the CPU unit 100 outputs the synchronous signal to the extension unit 200 .
  • the synchronization signal is also output to the latch section 133 (see (1) in the figure).
  • the latch section 133 of the CPU unit 100 latches the value X1 of the FRC 131 when the synchronization signal was output according to the input of the synchronization signal (see (2) in the figure).
  • the latch section 232 of the extension unit 200 latches the value X2 of the FRC 231 when receiving the synchronization signal in response to the input of the synchronization signal (see (3) in the figure).
  • the latch unit 133 outputs the held value X1 (time information indicating the timing at which the synchronization signal was output) to the extension unit 200 (see (4) in the figure). That is, the latch section 133 outputs to the extension unit 200 the value X1 of the FRC 131 when the synchronization signal is output.
  • the latch unit 232 outputs the held value X2 to the difference calculation unit 233 (see (5) in the figure).
  • the difference calculation section 233 calculates the difference Y1 between the value X2 held by the latch section 232 and the value X1 received from the CPU unit 100 (see (6) in the drawing).
  • the difference calculator 233 outputs the calculated difference Y1 to the FRC corrector 234 (see (7) in the figure).
  • the FRC correction unit 234 corrects the FRC 231 based on the difference Y1 (see (8) in the figure). Thereby, FRC231 and FRC131 are synchronized. The processes (1) to (8) are repeatedly executed.
  • the synchronization processing between the FRC231 and the FRC131 is executed by the hardware circuit 13 of the CPU unit 100 and the hardware circuit 23 of the expansion unit 200. Therefore, immediately after the control device 1 is powered on, synchronization processing between the FRC231 and the FRC131 is started. Therefore, the FRC231 and the FRC131 are synchronized before the firmware stored in the storage 12 is activated.
  • FIG. 2 is a diagram schematically showing the configuration of the control device 1Z according to the reference embodiment.
  • the controller 1Z differs from the controller 1 shown in FIG. 1 in that it includes a CPU unit 100Z and an expansion unit 200Z instead of the CPU unit 100 and the expansion unit 200. .
  • the CPU unit 100Z differs from the CPU unit 100 in that it includes a hardware circuit 13Z instead of the hardware circuit 13.
  • the hardware circuit 13Z differs from the hardware circuit 13 in that it does not have the latch section 133.
  • the extension unit 200Z differs from the extension unit 200 in that it includes a hardware circuit 23Z instead of the hardware circuit 23.
  • the hardware circuit 23Z differs from the hardware circuit 23 in that it does not have the difference calculator 233 .
  • the hardware circuits 13Z and 23Z do not include the latch section 133 and the difference calculation section 233, so the FRC 231 and the FRC 131 are not synchronized with the hardware circuits 13Z and 23Z alone. Therefore, the firmware stored in the storage 12 is used to synchronize the FRC231 and the FRC131.
  • the firmware includes an instruction to set the timing X1 for outputting the synchronization signal to the synchronization signal output section 132 of the hardware circuit 13Z and an instruction to read the value X1 held in the latch section 232. Further, the firmware includes an instruction to calculate the difference Y1 between the value X2 and the timing X1, and an instruction to cause the FRC corrector 234 to correct the FRC 231 based on the difference Y1.
  • the CPU 10 executes synchronization processing as follows according to firmware including such instructions.
  • the CPU 10 of the CPU unit 100Z sets the synchronization signal output timing X1 in the synchronization signal output section 132 (see (11) in the figure).
  • the synchronization signal output section 132 outputs the synchronization signal to the expansion unit 200Z (see (12) in the figure).
  • the latch section 232 of the expansion unit 200Z latches the value X2 of the FRC 231 when receiving the synchronization signal in response to the input of the synchronization signal (see (13) in the figure).
  • the CPU 10 reads out the value X2 held in the latch section 232 via the data bus 2 (see (14) in the figure).
  • the FRC correction unit 234 corrects the FRC 231 based on the difference Y1 (see (16) in the figure). Thereby, FRC231 and FRC131 are synchronized. The processes (11) to (16) are repeatedly executed.
  • the CPU 10 performs the processes (11), (14) and (15) in the figure by executing the firmware. That is, after the firmware is activated, the synchronization processing between the FRC231 and the FRC131 is started. Therefore, the FRC131 and the FRC231 are not synchronized from when the control device 1Z is powered on until the firmware is activated. As a result, if a problem occurs during this period, it becomes difficult to arrange the order of occurrence of events in the CPU unit 100Z and the expansion unit 200Z, and it takes time to investigate the cause of the problem.
  • the FRC231 and the FRC131 are synchronized before the firmware is activated. Therefore, it becomes easy to arrange the order of occurrence of events in the CPU unit 100 and the expansion unit 200 even after the power is turned on until the firmware is activated. As a result, it is possible to shorten the time required to investigate the cause of a problem that occurred before the firmware was started.
  • FIG. 3 is a schematic diagram showing a configuration example of units of the control device 1 according to the present embodiment.
  • the control device 1 includes a CPU unit 100 , one or more expansion units 200 and one or more functional units 300 .
  • the CPU unit 100 is connected to one or more expansion units 200 via the data bus 2 and signal lines 3 and 4 .
  • the CPU unit 100 also connects with one or more functional units 300 via the data bus 5 .
  • the functional unit 300 has the function of a so-called I/O unit that exchanges signals between equipment and devices to be controlled and various devices (sensors, actuators, etc.) arranged therein.
  • the data bus 2 is, but not limited to, an I/O serial interface bus conforming to PCIe (PCI Express), for example.
  • the signal line 3 is an optical fiber cable or an electrical signal cable and transmits a synchronous signal.
  • Signal line 3 is connected between signal port 110 P of CPU unit 100 and signal port 210 P of expansion unit 200 .
  • the CPU unit 100 uses the signal line 3 to transmit the synchronization signal to the extension unit 200 .
  • the signal line 4 is an optical fiber cable or an electrical signal cable, and transmits time information (value X1).
  • Signal line 4 is connected between signal port 111P of CPU unit 100 and signal port 211P of expansion unit 200 .
  • the CPU unit 100 uses the signal line 4 to transmit the time information (value X1) to the expansion unit 200 .
  • Hardware circuits 13 and 23 communicate time information (value X1) using, for example, an asynchronous serial communication UART (Universal Asynchronous Receiver Transmitter).
  • UART Universal Asynchronous Receiver Transmitter
  • FIG. 4 is a diagram showing signal waveforms using UART. As shown in FIG. 4, the UART communicates in units of 8-bit data chunks. A Start bit and a Stop bit are respectively communicated before and after the 8-bit data block.
  • FIG. 5 is a diagram showing a signal waveform corresponding to time information (value X1).
  • value X1 of the FRC 131 is represented by 64 bits, eight 8-bit data chunks are transmitted as shown in FIG.
  • FIG. 6 is a diagram showing the flow of data accompanying the waveform of the synchronization signal.
  • the synchronization signal is output at regular intervals.
  • the constant period is, for example, several ms to several tens of ms.
  • the latch section 133 latches the value X1 of the FRC131 and the latch section 232 latches the value X2 of the FRC231.
  • the time information indicating the value X1 held in the latch section 133 is transmitted to the expansion unit 200 using, for example, UART.
  • the value of the FRC 231 is corrected by the FRC corrector 234 using the difference Y1.
  • the FRC correction unit 234 corrects the FRC231 value by subtracting the difference Y1 from the FRC231 value.
  • the FRC correction unit 234 may collectively subtract the difference Y1 from the value of the FRC231. Alternatively, the FRC correction unit 234 may divide the difference Y1 into a plurality of correction units, and subtract the correction units from the value of the FRC 231 multiple times in the correction period. A correction unit and a correction cycle are set in advance. For example, if the difference Y1 is 2 ns, the correction unit is 1 ns, and the correction period is 100 ns, the FRC correction unit 234 subtracts 1 ns from the value of the FRC 231 at time t1 immediately after the difference Y1 is calculated.
  • the FRC corrector 234 subtracts 1 ns from the value of the FRC 231 at time t1+100 ns.
  • FRC231 and FRC131 are gradually synchronized.
  • extreme changes in the value of FRC231 can be suppressed.
  • the FRC 131 included in the hardware circuit 13 counts up according to a clock generated by a clock oscillation source (not shown) outside the hardware circuit 13 .
  • FRC 231 included in hardware circuit 23 counts up according to a clock generated by a clock oscillation source (not shown) outside hardware circuit 23 . Therefore, due to an oscillation error (also referred to as static jitter) between the clock oscillation source of the CPU unit 100 and the clock oscillation source of the expansion unit 200, the period in which the FRC 131 counts up and the period in which the FRC 231 counts up may differ. Slight deviations may occur in between.
  • the control device corrects the difference between the values of FRC131 and FRC231 (hereinafter referred to as "clock deviation") caused by static jitter.
  • FIG. 7 is a diagram schematically showing the configuration of a control device 1A according to Modification 1.
  • the control device 1A includes a CPU unit 100A and an expansion unit 200A.
  • the CPU unit 100A differs from the CPU unit 100 shown in FIG. 1 in that it includes a hardware circuit 13A instead of the hardware circuit 13.
  • FIG. Expansion unit 200A is different from expansion unit 200 shown in FIG. 1 in that it includes hardware circuit 23A instead of hardware circuit 23 . Note that the memories 11 and 21 and the storages 12 and 22 are omitted from FIG.
  • the hardware circuit 13A differs from the hardware circuit 13 in that it has a latch section 133A instead of the latch section 133 and further has an FRC 134. Note that the synchronization signal output unit 132 of the hardware circuit 13A repeatedly outputs the synchronization signal.
  • the FRC 134 is a counter that counts up at regular intervals. Various counters may be employed instead of the FRC 134 .
  • FRCs 131 and 134 count up according to a clock generated by a clock oscillation source (not shown) provided in CPU unit 100A. Therefore, the FRCs 131 and 134 count up in the same cycle.
  • the hardware circuit 23A has a latch unit 232A, a difference calculation unit 233A and an FRC correction unit 234A instead of the latch unit 232, the difference calculation unit 233 and the FRC correction unit 234 compared to the hardware circuit 23. It is different in that it has
  • the FRC 235 is a counter that counts up at regular intervals. Various counters may be employed instead of the FRC 235 .
  • FRCs 231 and 235 count up according to a clock generated by a clock oscillation source (not shown) provided in expansion unit 200A. Therefore, the FRCs 231 and 235 count up in the same cycle.
  • the latch section 232A performs the following operations. That is, the latch section 232A latches the value X4 of the FRC 235 when receiving the synchronization signal from the signal line 3.
  • the FRC correction unit 234A performs the following operations in addition to the operations of the FRC correction unit 234. That is, the FRC corrector 234A corrects the FRC 231 based on the difference Y2.
  • the synchronization signal output section 132 of the CPU unit 100A outputs the synchronization signal to the extension unit 200A.
  • the synchronization signal is also output to the latch section 133A (see (21) in the figure).
  • the latch section 133A of the CPU unit 100A latches the value X3 of the FRC 134 when the synchronization signal was output in response to the synchronization signal input (see (22) in the figure).
  • the latch section 232A of the extension unit 200A latches the value X4 of the FRC 235 when the synchronization signal is received (see (23) in the figure) in response to the synchronization signal input.
  • the latch unit 133A calculates the difference dX3 between the value X3′ of the FRC 134 latched when the synchronization signal was output last time and the value X3 newly latched, and outputs the difference dX3 to the expansion unit 200A ((24 )reference).
  • the latch unit 232A calculates the difference dX4 between the value X4' of the FRC 235 latched when the previous synchronization signal was input and the newly latched value X4, and outputs the difference dX4 to the difference calculation unit 233A (( 25)).
  • the difference calculator 233A calculates the difference Y2 between the difference dX4 and the difference dX3 (see (26) in the figure).
  • the difference calculator 233A outputs the calculated difference Y2 to the FRC corrector 234 (see (27) in the figure).
  • the FRC correction unit 234A corrects the FRC 231 based on the difference Y2 (see (28) in the figure).
  • the difference Y2 indicates the difference between the count number of FRC134 and the count number of FRC235 in the target period from the output of the previous synchronization signal to the output of the current synchronization signal.
  • FRCs 131 and 134 count up in the same period.
  • FRCs 231 and 235 count up in the same period. Therefore, the difference between the FRC131 count number and the FRC231 count number in the target period is also the difference Y2.
  • the FRC corrector 234A corrects the value of the FRC 231 by the difference Y2, thereby correcting the clock deviation caused by the static jitter.
  • the FRC231 is once synchronized with the FRC131 according to the synchronization processes (1) to (7) shown in FIG.
  • clock deviation due to static jitter continues to occur. Therefore, the FRC correction unit 234A continues to periodically correct the FRC 231 based on the difference Y2.
  • the FRC corrector 234 corrects the clock deviation at a predetermined correction cycle. Assuming that the target period from the output of the previous synchronization signal to the output of the current synchronization signal is T1, and the correction period is T2, the FRC correction unit 234 performs (Y2/T1) ⁇ T2 for each correction period. FRC231 should be corrected. This always cancels clock deviations due to static jitter.
  • Dynamic jitter includes, for example, transmission delay of synchronization signals. According to Modification 1, the clock deviation caused by static jitter is always cancelled. Therefore, even if the output cycle of the synchronization signal is lengthened, it is possible to avoid excessive deviation between the values of FRC131 and FRC231 due to dynamic jitter. This reduces the load required for the synchronization processing by the CPU 10 when the synchronization processing according to (11) to (16) shown in FIG. 2 is repeatedly executed after the firmware is activated.
  • the CPU 10 may disable only the output operation of the time information by the latch section 133A and enable the output operation of the difference dX3 by the latch section 133A. This allows the hardware circuits 13A and 23A to continue correcting clock deviations caused by static jitter even after the firmware has started.
  • the CPU 10 may disable the operation of outputting the difference dX3 by the latch section 133A after the firmware is activated.
  • the firmware includes an instruction to calculate the difference Y2 between the difference dX3 calculated by the latch section 133A and the difference dX4 calculated by the latch section 232A, and an instruction to correct the FRC 231 based on the difference Y2.
  • the CPU 10 may correct the FRC 231 based on the difference Y2 according to these commands of the firmware. This allows the CPU 10 to continue correcting the clock deviation caused by static jitter after the firmware is started.
  • modification of the firmware is required.
  • the CPU 10 preferably enables the output operation of the difference dX3 by the latch section 133A after the firmware is started.
  • FIG. 8 is a diagram schematically showing the configuration of a control device 1B according to Modification 2.
  • the control device 1B includes a CPU unit 100B and an expansion unit 200B.
  • the CPU unit 100B differs from the CPU unit 100 shown in FIG. 1 in that it includes a hardware circuit 13B instead of the hardware circuit 13.
  • FIG. Expansion unit 200B is different from expansion unit 200 shown in FIG. 1 in that it includes hardware circuit 23B instead of hardware circuit 23 .
  • the memories 11 and 21 and the storages 12 and 22 are omitted from FIG.
  • Modification 2 may be combined with Modification 1.
  • FIG. 1 the control device 1B includes a CPU unit 100B and an expansion unit 200B.
  • the CPU unit 100B differs from the CPU unit 100 shown in FIG. 1 in that it includes a hardware circuit 13B instead of the hardware circuit 13.
  • FIG. Expansion unit 200B is different from expansion unit 200 shown in FIG. 1 in that it includes hardware circuit 23B instead of hardware circuit 23 .
  • the hardware circuit 13B differs from the hardware circuit 13 in that it includes a light emitting element 135.
  • the hardware circuit 23B differs from the hardware circuit 23 in that it includes a light-emitting element 236 .
  • the light emitting elements 135, 236 are, for example, light emitting diodes. Light-emitting elements 135 and 236 blink according to the values of FRC 131 and 231, respectively. Specifically, the light emitting elements 135 and 236 emit light when the FRCs 131 and 231 reach preset values. Before starting the firmware, the FRCs 131 and 231 are synchronized by the processes (1) to (7) shown in FIG. After starting the firmware, the FRCs 131 and 231 are synchronized by the processes (11) to (15) shown in FIG. Therefore, the light emitting elements 135 and 236 emit light at the same timing.
  • the blinking cycles of the light emitting elements of the units are synchronized, and a sense of unity can be given to the user. Conversely, the user can recognize that some kind of abnormality has occurred by visually confirming that the blinking cycles of the light emitting elements of the units are not synchronized.
  • the first hardware circuit comprises: a first counter (131); a signal output unit (132) that outputs a synchronization signal to the second unit; a time information output unit (133) that outputs a first value of the first counter when the synchronization signal is output to the second unit;
  • the second hardware circuit comprises: a second counter (231); a difference calculator (234) for calculating a first difference between the second value of the second counter and the first value when the synchronization signal is received; and a correction unit (235) that corrects the second counter based on the first difference.
  • said first hardware circuit further comprising a third counter (134); said second hardware circuit further comprising a fourth counter (235);
  • the signal output unit repeatedly outputs the synchronization signal
  • the time information output unit further outputs a second value between the value of the third counter when the previous synchronization signal was output and the value of the third counter when the current synchronization signal was output. outputting the difference of to the second unit;
  • the difference calculation unit further calculating a third difference between the value of the fourth counter when receiving the previous synchronization signal and the value of the fourth counter when receiving the current synchronization signal; calculating a fourth difference between the second difference and the third difference;
  • the control device according to configuration 1, wherein the correction unit corrects the second counter based on the fourth difference.
  • the first unit further comprises a first light emitting element (135) that blinks according to the value of the first counter; 3.
  • the control device of configuration 1 or 2 wherein the second unit further comprises a second light emitting element (236) that blinks according to the value of the second counter.
  • Composition 4 said first unit further comprising a processor (10) executing firmware
  • the firmware includes an instruction for setting the timing for outputting the synchronization signal to the signal output unit, The signal output unit outputs the synchronization signal when the value of the first counter reaches the timing,
  • the firmware further: instructions for calculating a fifth difference between the second value and the timing; an instruction to correct the second counter based on the fifth difference;
  • the control device according to configuration 1, wherein the processor disables the operation of the time information output unit after the firmware is activated.
  • composition 5 the first hardware circuit is an ASIC or FPGA;
  • 1, 1A, 1B, 1Z control device 2, 5 data bus, 3, 4 signal line, 10, 20 CPU, 11, 21 memory, 12, 22 storage, 13, 13A, 13B, 13Z, 23, 23A, 23B , 23Z hardware circuit, 100, 100A, 100B, 100Z CPU unit, 110P, 111P, 210P, 211P signal port, 132 synchronization signal output section, 133, 133A, 232, 232A latch section, 135, 236 light emitting element, 200, 200A, 200B, 200Z expansion units, 233, 233A difference calculation units, 234, 234A correction units, 300 functional units.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

Ce dispositif de commande comprend une première unité et une seconde unité. Un premier circuit matériel de la première unité comprend un premier compteur, une unité de sortie de signal qui délivre un signal de synchronisation à la seconde unité, et une unité de sortie d'informations temporelles qui délivre à la seconde unité une première valeur du premier compteur obtenue lorsque le signal de synchronisation est délivré. Un second circuit matériel de la seconde unité comprend un second compteur, une unité de calcul de différence qui calcule une première différence entre une seconde valeur du second compteur obtenue lors de la réception du signal de synchronisation et la première valeur, et une unité de correction qui corrige le second compteur sur la base de la première différence. Cette configuration réduit le temps nécessaire à l'examen d'une cause d'un dysfonctionnement survenu avant l'activation d'un micrologiciel.
PCT/JP2021/009560 2021-02-04 2021-03-10 Dispositif de commande WO2022168338A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021016473 2021-02-04
JP2021-016473 2021-07-29

Publications (1)

Publication Number Publication Date
WO2022168338A1 true WO2022168338A1 (fr) 2022-08-11

Family

ID=82741025

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/009560 WO2022168338A1 (fr) 2021-02-04 2021-03-10 Dispositif de commande

Country Status (2)

Country Link
JP (1) JP2022119703A (fr)
WO (1) WO2022168338A1 (fr)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03271959A (ja) * 1990-03-22 1991-12-03 Toshiba Corp 分散システムにおける時刻合わせ装置
JP2015526803A (ja) * 2012-07-20 2015-09-10 ピルツ ゲーエムベーハー アンド コー.カーゲー 表示素子の表示を同期させる方法および制御システム
JP2020149402A (ja) * 2019-03-14 2020-09-17 オムロン株式会社 制御システム
WO2021002421A1 (fr) * 2019-07-04 2021-01-07 オムロン株式会社 Système de commande

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03271959A (ja) * 1990-03-22 1991-12-03 Toshiba Corp 分散システムにおける時刻合わせ装置
JP2015526803A (ja) * 2012-07-20 2015-09-10 ピルツ ゲーエムベーハー アンド コー.カーゲー 表示素子の表示を同期させる方法および制御システム
JP2020149402A (ja) * 2019-03-14 2020-09-17 オムロン株式会社 制御システム
WO2021002421A1 (fr) * 2019-07-04 2021-01-07 オムロン株式会社 Système de commande

Also Published As

Publication number Publication date
JP2022119703A (ja) 2022-08-17

Similar Documents

Publication Publication Date Title
US10572420B2 (en) Information processing apparatus, information processing program, and information processing method
JP5794449B2 (ja) プログラマブルコントローラ
EP3309647B1 (fr) Dispositif de commande et dispositif de communication
CN111034128B (zh) 控制系统以及控制装置
JP6465620B2 (ja) 制御システムおよび制御方法
CN111052006B (zh) 控制装置以及控制方法
US10649820B2 (en) Method of managing event generation for an industrial controller
WO2022168475A1 (fr) Dispositif de commande
JP2016110458A (ja) プログラマブル・ロジック・コントローラ、基本ユニット、制御方法およびプログラム
JP2018129923A (ja) 制御システム、およびパルス出力装置
EP3547049A1 (fr) Système de commande de sécurité et unité de commande de sécurité
KR101568955B1 (ko) I/o 디바이스, 프로그래머블 로직 컨트롤러 및 연산 방법
US9081371B2 (en) Method for synchronizing an operating clock with a time clock of an automation network
WO2022168338A1 (fr) Dispositif de commande
JP2018005821A (ja) 光学計測装置
US20170141933A1 (en) Communication system and information generation method for communication network
CN111095138A (zh) 控制装置、控制装置的控制方法、信息处理程序及记录介质
JP2011123688A (ja) 同期プログラマブルコントローラ、同期プログラマブルコントローラシステム
JP2011191874A (ja) データ信号送受信方法
JP6587566B2 (ja) 半導体装置
US11374788B2 (en) Network system having master device carrying out part of a process and slave device carrying out remainder of the process
JP2006340371A (ja) システムバスへのアクセス時間を制御するための方法および通信モジュール
JP6026051B1 (ja) Cpuユニット、ターゲットユニットおよびplcシステム
US20230308514A1 (en) Input unit, control system, communication method, and recording medium
KR101273812B1 (ko) 피엘씨 일체형 제어모듈 및 이를 이용한 피엘씨 제어 시스템

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21924728

Country of ref document: EP

Kind code of ref document: A1