Synchronization control method and synchronization control system

The synchronous control method synchronizes camera and servo motor operations to address alignment issues in robot control systems, enhancing tracking accuracy by aligning imaging and encoder readout timings, thereby improving positional precision and efficiency.

WO2024202491A1PCT designated stage expired Publication Date: 2024-10-03PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/002665
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-29
Filing Date
2024-01-29
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Conventional robot control systems face challenges in aligning imaging timing with encoder readout timing, leading to potential positional deviations during movement control, which affects tracking accuracy of objects by robots.

Method used

A synchronous control method and system that synchronizes a camera and a servo motor by determining a central exposure time for image capture and position acquisition, allowing for precise alignment and communication between image processing devices and servo controllers to improve tracking accuracy.

Benefits of technology

The synchronization of camera and servo motor operations enhances the accuracy of object tracking by ensuring precise alignment and position detection, reducing positional deviations and improving the efficiency of image processing and motor control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024002665_03102024_PF_FP_ABST
    Figure JP2024002665_03102024_PF_FP_ABST
Patent Text Reader

Abstract

In this synchronization control method, time matching is executed using a reference time, a first process is executed in which a central time of an exposure period during which a camera performs exposure is determined on the basis of the reference time, and an image of a subject exposed on the basis of the determined central time is captured, a second process is executed in which the position of a servo motor at the central time is acquired on the basis of the reference time, the subject is detected from a frame on the basis of the position of the servo motor at the central time and the frame in which the subject was captured, and the servo motor is driven on the basis of the position of the detected subject.
Need to check novelty before this filing date? Find Prior Art

Description

Synchronous control method and synchronous control system

[0001] The present disclosure relates to a synchronization control method and a synchronization control system.

[0002] Patent Literature 1 discloses a robot control device that controls a moving part of the robot using a second command value obtained by adding up first command values ​​that move an end point of the moving part of the robot. The robot control device tracks a target based on an image acquired by an imaging device.

[0003] Japanese Patent Application Publication No. 2015-074063

[0004] However, in the configuration of Patent Document 1, control is not performed to align the imaging timing (imaging time) of a frame captured by the imaging device with the readout timing (time) of the encoder value, so the position of the robot arm at the imaging time is unknown, and there is a possibility of positional deviation occurring in movement control that moves the current position to a target position. Similarly, when tracking a target based on the position of an endpoint captured in a frame and the position of the target, conventional robot control devices do not perform control to align the imaging timing (imaging time) of a frame with the readout timing (time) of the encoder value, so there is a possibility that the position of the endpoint captured in the frame will differ from the position of the endpoint indicated by the readout encoder value.

[0005] The present disclosure has been devised in view of the above-described conventional circumstances, and aims to provide a synchronization control method and a synchronization control system that synchronize a camera and a servo motor to improve tracking accuracy for an object.

[0006] The present disclosure provides a synchronization control method performed by a synchronization control system including at least one image processing device capable of acquiring frames in which a subject is captured from at least a camera that captures the subject, and at least one controller capable of communicating with the image processing device and controlling a servo motor that moves the position of the camera, the synchronization control method comprising: performing a first process of performing time alignment based on a reference time, determining a median time of an exposure period in which the camera will be exposed based on the reference time, and capturing an image of the subject by exposing based on the determined median time; and performing a second process of acquiring a position of the servo motor at the median time based on the reference time; detecting the subject from the frame based on the position of the servo motor at the median time and the frame in which the subject was captured; and driving the servo motor based on the detected position of the subject.

[0007] The present disclosure also provides a synchronous control system comprising at least one image processing device capable of acquiring frames in which an object is captured from at least a camera that captures the object, and at least one controller capable of communicating with the image processing device and controlling a servo motor that moves the position of the camera, wherein the image processing device and the controller perform time adjustment based on a reference time, the image processing device determines a median time of an exposure period in which the camera exposes based on the reference time, acquires frames from the camera that have been exposed and captured based on the determined median time, and performs a first process of detecting the object from at least some of the detection pixels of the frames, the controller performs a second process of acquiring a position of the servo motor at the median time based on the reference time and transmitting the position to the image processing device, the image processing device detects the position of the object from the frames based on the position of the servo motor at the median time and the frames in which the object is captured and transmits the position to the controller, and the controller drives the servo motor based on the transmitted position of the object.

[0008] According to the present disclosure, the camera and the servo motor can be synchronized to improve the tracking accuracy of the target object.

[0009] FIG. 1 is a block diagram showing an example of the overall configuration of a motor control system according to a first embodiment; FIG. 2 is a block diagram showing an example of the internal configuration of an image processing device and a servo controller according to the first embodiment; FIG. 3 is a sequence diagram showing an example of the operation procedure of the motor control system according to the first embodiment; FIG. 4 is a sequence diagram showing an example of the operation procedure of the image processing device and the servo controller according to the first embodiment; FIG. 5 is a time chart showing the operation procedure of the image processing device and the servo controller according to the first embodiment; FIG. 6 is a comparison diagram illustrating an example of the operation process between a conventional image processing device and a servo motor; and FIG. 7 is a comparison diagram illustrating an example of the operation process between an image processing device and a servo motor according to the present disclosure;

[0010] (Background to the present disclosure) In recent years, there has been a control system that uses an image processing device that captures an image of an object with a camera and measures the position of the object in the captured frame, and a motor control device that drives a servo motor to cause a robot arm or the like to perform a predetermined task on the object. Such a control system calculates the amount of movement of the servo motor to correct the position of the robot arm relative to the object, based on the position of the object measured by the image processing device and the encoder position information read by an encoder. The control system performs drive control of the servo motor using the motor control device based on the calculated amount of movement of the servo motor, thereby enabling the predetermined task to be performed on the object.

[0011] However, conventional motor control devices are configured using a servo motor and a dedicated controller (control device) for controlling this servo motor. The servo motor is driven by specifying position information from the controller. Since a servo motor movement completion notification is output only after movement to the specified position information is completed, it is difficult to obtain the servo motor's position (encoder value) at a predetermined time. Furthermore, conventional image processing devices perform image processing without using servo motor parameters output from the motor control device, which is an external device. As a result, conventional motor control devices do not know the actual time information when the encoder position information was obtained, and do not know the time information corresponding to the target position obtained by image processing, resulting in issues such as reduced accuracy and delays in tracking the target by the motor control device.

[0012] Therefore, in the following embodiments, examples of a synchronization control method and a synchronization control system that synchronize a camera and a servo motor to improve the tracking accuracy of an object will be described.

[0013] Hereinafter, with reference to the accompanying drawings, detailed descriptions of embodiments that specifically disclose the configuration and operation of a synchronization control method and a synchronization control system according to the present disclosure will be provided. However, unnecessary detailed descriptions may be omitted. For example, detailed descriptions of well-known matters or redundant descriptions of substantially identical configurations may be omitted. This is to avoid unnecessary redundancy in the following description and to facilitate understanding by those skilled in the art. Note that the accompanying drawings and the following description are provided to enable those skilled in the art to fully understand the present disclosure and are not intended to limit the subject matter recited in the claims.

[0014] In the following description, the term "image processing device" may refer to a device including a camera and lighting that are connected to each image processing device so as to be able to send and receive data.

[0015] (First embodiment) An example of the overall configuration of a motor control system 100 according to a first embodiment will be described with reference to Fig. 1. Fig. 1 is a block diagram showing an example of the internal configuration of the motor control system 100 according to the first embodiment.

[0016] A motor control system 100, which is an example of a system, an image processing system, or a synchronous control system, is configured to include N (N: an integer of 1 or more) servo controllers (specifically, a first servo controller S1 to an Nth servo controller SN) and K (K: an integer of 1 or more) image processing devices (specifically, a first image processing device Im1 to a Kth image processing device ImK). Note that the number N of servo controllers and the number K of image processing devices may be the same value or may be different values.

[0017] The motor control system 100 performs time synchronization using either one of the first servo controller S1 to the Nth servo controller SN and either one of the first image processing devices Im1 to the Kth image processing device ImK (i.e., a servo controller or an image processing device). The motor control system 100 synchronizes and links the first servo controller S1 to the Nth servo controller SN with the first image processing devices Im1 to the Kth image processing device ImK at synchronized times, and causes each of the first servo controller S1 to the Nth servo controller SN to track the object based on the image processing results (i.e., the position of the object) of each of the first image processing devices Im1 to the Kth image processing device ImK.

[0018] Each of the first servo controller S1 to the Nth servo controller SN, which are examples of controllers, is connected to other servo controllers other than the controller itself and each of the first image processing device Im1 to the Kth image processing device ImK so that data can be transmitted and received.

[0019] Each servo motor includes an encoder, a motor driver, and a servo motor. That is, motor control system 100 includes N encoders (first encoder En1 to Nth encoder EnN), N motor drivers (first motor driver Md1 to Nth motor driver MdN), and N servo motors (first servo motor Sm1 to Nth servo motor SmN).

[0020] Each of the first image processing device Im1 to the K-th image processing device ImK is connected to other image processing devices other than the image processing device itself and each of the first servo controller S1 to the N-th servo controller SN so as to be able to transmit and receive data therebetween.

[0021] Each image processing device includes a camera and a light. That is, motor control system 100 includes K cameras (first camera C1 to K-th camera CK) and K lights (first light L1 to K-th light LK).

[0022] Next, the internal configurations of the image processing device and the servo controller in embodiment 1 will be described with reference to Fig. 2. Fig. 2 is a block diagram showing an example of the internal configuration of the image processing device and the servo controller in embodiment 1. For simplicity of explanation, Fig. 2 describes an example of the internal configuration of the first image processing device Im1 and the first servo controller S1, which are the minimum components of the motor control system 100.

[0023] The first image processing device Im1 includes a communication unit 10 , a processor 11 , and a memory 12 .

[0024] The communication unit 10 is connected to the first camera C1, the first light L1, and the first servo controller S1 so that data can be transmitted and received between them. The communication unit 10 is configured using a communication interface circuit for transmitting and receiving data. The communication unit 10 connects the first camera C1, the first light L1, and the first servo controller S1 so that wired communication is possible using a CameraLink (registered trademark) cable, an Ethernet cable, EtherCAT (registered trademark), or the like, thereby realizing data transmission and reception.

[0025] The processor 11 is configured using a real-time operating system (hereinafter referred to as "OS") such as a field programmable gate array (hereinafter referred to as "FPGA"), and performs various processes and controls in cooperation with the memory 12. Specifically, the processor 11 references the programs and data stored in the memory 12 and executes the programs to realize the functions of each unit.

[0026] The processor 11 determines the timings of exposure start and end for the first camera C1 and the timings of turning on and off the first light, and controls each of the first camera C1 and the first light. Specifically, the processor 11 determines the timings of exposure start and end for the first camera C1 and the timings of turning on and off the first light so that, during the exposure period from the exposure start to the exposure end of the first camera C1, an exposure time (hereinafter referred to as the "median exposure time") corresponding to half of the exposure period coincides with the timing of reading out the servo motor position information transmitted from the first servo controller S1.

[0027] The processor 11 acquires encoder position information of the first encoder En1 and drive current value information of the first servo motor Sm1, both of which are transmitted from the first servo controller S1. The processor 11 estimates (predicts) the position of an object captured in a frame using a Kalman filter that uses the encoder position information of the first encoder En1, and acquires pixel data corresponding to the estimated position from the first camera C1. The processor 11 performs image processing on the acquired pixel data using a hill climbing method to detect the position of the object.

[0028] The processor 11 transmits information about the determined pixel data readout area to the first camera C1. The processor 11 performs image processing on the pixel data transmitted from the first camera C1 directly without storing it in the memory 12, and measures the position of the object. The processor 11 transmits the position information of the object, which is the result of the image processing, to the first servo controller S1. This enables the processor 11 to shorten the time required for image processing and achieve high-speed image processing.

[0029] The memory 12 includes, for example, a random access memory (hereinafter referred to as "RAM") that serves as a work memory used when executing each process of the processor 11, and a read only memory (hereinafter referred to as "ROM") that stores programs and data that define the operation of the processor 11. The RAM temporarily stores data or information generated or acquired by the processor 11. The ROM stores programs that define the operation of the processor 11.

[0030] The first camera C1 is configured to have at least a lens (not shown) and an image sensor (not shown). The image sensor is, for example, a charged-coupled device (hereinafter referred to as "CCD") or a complementary metal oxide semiconductor (hereinafter referred to as "CMOS") solid-state image sensor, and converts an optical image formed on the imaging surface into an electrical signal. The first camera C1 captures an image of an object at a high frame rate of, for example, 960 fps or more.

[0031] The first camera C1 executes exposure control based on the shutter timing (exposure start command and exposure end command) sent from the processor 11. After the image sensor converts the image data into an electrical signal, the first camera C1 sequentially reads pixel data included in a readout area requested by the processor 11 (e.g., readout areas AR1, AR2, AR3, AR4, etc. shown in FIG. 5 ) and transmits the read pixel data.

[0032] The first illuminator L1 is realized by at least one light-emitting diode (hereinafter referred to as "LED"). The first illuminator L1 controls the start and end of light emission of the illuminator based on a light emission start command and a light emission end command, respectively, transmitted from the processor 11, to illuminate the target object.

[0033] The first servo controller S1 includes a communication unit 20, a processor 21, a memory 22, a first motor driver Md1, a first servo motor Sm1, and a first encoder En1.

[0034] The communication unit 20 is connected to the first image processing device Im1 so as to be able to send and receive data therebetween. The communication unit 20 is configured using a communication interface circuit for sending and receiving data. The communication unit 20 is connected to the first image processing device Im1 so as to be able to communicate via wire using an HDMI (registered trademark) cable or the like, thereby realizing data transmission and reception.

[0035] The processor 21 is configured using, for example, a Central Processing Unit (CPU), FPGA, etc., and performs various processes and controls in cooperation with the memory 22. Specifically, the processor 21 references a program stored in the memory 22 and executes the program to realize the functions of the first motor driver Md1, the first servo motor Sm1, the first encoder En1, etc.

[0036] The processor 21 acquires encoder feedback information from the first encoder En1 at the center time of exposure of the first camera C1. Note that the encoder feedback information here is the rotation angle of the first servo motor Sm1. The processor 21 measures the position of the first servo motor Sm1 based on the rotation angle of the first servo motor Sm1.

[0037] The processor 21 calculates a correction amount for the position of the first servo motor Sm1 based on the position information of the object, which is the image processing result transmitted from the first image processing device Im1, and the current position information of the first servo motor Sm1. Based on the calculated correction amount, the processor 21 generates a current control command for driving the first servo motor Sm1 and outputs it to the first motor driver Md1.

[0038] The memory 22 includes, for example, a RAM as a work memory used when the processor 21 executes each process, and a ROM for storing programs and data that define the operation of the processor 21. The RAM temporarily stores data or information generated or acquired by the processor 21. The ROM stores programs that define the operation of the processor 21.

[0039] The first motor driver Md1 drives (rotates) the first servo motor Sm1 based on a current control command output from the processor 21. The first motor driver Md1 obtains, through feedback control, current feedback information indicating the difference between a target movement value of the first servo motor Sm1 corresponding to the current control command and the actual control amount of the first motor driver Md1. The first motor driver Md1 outputs the obtained current feedback information to the processor 21.

[0040] The first encoder En1 is capable of detecting the rotation angle of the first servo motor Sm1, and outputs (feeds back) information on the rotation angle of the first servo motor Sm1 (encoder feedback information) to the processor 21.

[0041] Next, an example of an operation procedure of the motor control system 100 according to the first embodiment will be described with reference to Fig. 3. Fig. 3 is a sequence diagram showing an example of an operation procedure of the motor control system 100 according to the first embodiment.

[0042] In the example shown in Figure 3, the first image processing device Im1 is set as a master that synchronizes the time information of the other image processing devices (the second image processing device Im2 to the Kth image processing device ImK) and the first servo controller S1 to the Nth servo controller SN to the synchronized time (i.e., performs clock adjustment), but the device set as the master may be any one of the other devices.

[0043] The motor control system 100 executes the process of step St11 and a first loop process Lp11. The number of loops of the first loop process Lp11 may be set to any number depending on the interval at which the time adjustment process of step St11 is executed.

[0044] The first image processing device Im1 transmits synchronized time information to each of the other image processing devices (the second image processing device Im2 to the K-th image processing device ImK) and the first servo controller S1 to the N-th servo controller SN, and repeatedly synchronizes the time of each device at predetermined intervals (St11). If the time information in step St11 cannot be simultaneously received by each device, the motor control system 100 determines that the time synchronization (synchronization) process has failed, proceeds to a first loop process Lp11, and may postpone the time synchronization process until the next step St11.

[0045] Also, as shown by the dashed line, when the first servo controller S1 is set as the master, the first servo controller S1 transmits synchronized time information to each of the first image processing device Im1 to the Kth image processing device ImK and the second servo controller (not shown) to the Nth servo controller SN, and performs time synchronization for each device (St11A).

[0046] The first to K-th image processing devices Im1 to ImK respectively perform imaging processing of the object using the first to K-th cameras C1 to CK and the first to K-th lights L1 to LK (St100).

[0047] Each of the first servo controller S1 to the Nth servo controller SN executes a servo motor position acquisition process to acquire the position information of each of the first servo motor Sm1 to the Nth servo motor SmN at the central exposure time T0 of the first camera C1 to the Kth camera CK (St200).

[0048] Each of the first servo controller S1 to the N-th servo controller SN transmits the acquired servo motor position information to the other servo controllers and the first image processing device Im1 to the K-th image processing device ImK (St12, St13).

[0049] For example, the first servo controller S1 transmits position information of the first servo motor Sm1 to the second servo controller (not shown) to the N-th servo controller SN and the first to K-th image processing devices Im1 to ImK (St12).

[0050] Also, for example, the Nth servo controller SN transmits position information of the Nth servo motor SmN to each of the first servo controller S1 to the (N-1)th servo controller (not shown) and the first image processing device Im1 to the Kth image processing device ImK (St13).

[0051] In the sequence shown in FIG. 3, for ease of explanation, step St12 shows the process in which the first servo controller S1 transmits the position information of the first servo motor Sm1, and step St13 shows the process in which the Nth servo controller SN transmits the position information of the Nth servo motor SmN, but the processes in steps St12 and St13 may be executed at approximately the same time.

[0052] The motor control system 100 executes, in parallel, a second loop process Lp21 by each of the first image processing device Im1 to the K-th image processing device ImK, and a third loop process Lp22 by each of the first servo controller S1 to the N-th servo controller SN.

[0053] In the second loop processing Lp21, each of the first image processing device Im1 to the Kth image processing device ImK performs image processing approximately simultaneously based on the frame captured in the processing of step St100 and the position information of each of the first servo motor Sm1 to the Nth servo motor SmN obtained in steps St12 and St13 (St300).

[0054] In the third loop process Lp22, each of the first servo controller S1 to the Nth servo controller SN executes a process of driving each of the first servo motors Sm1 to SmN and a process of acquiring position information of each of the first servo motors Sm1 to SmN (St400). Each of the first servo controller S1 to the Nth servo controller SN transmits the acquired servo motor position information to each of the other servo controllers (St14).

[0055] Each of the first image processing device Im1 to the Kth image processing device ImK transmits the position information of the object, which is the image processing result obtained by the image processing of step St300, to the other image processing devices and each of the first servo controller S1 to the Nth servo controller SN (St15, St16).

[0056] For example, the first image processing device Im1 performs image processing on the frame (pixel data) captured by the first camera C1, and transmits the position information of the object, which is the result of the image processing, to the second image processing device (not shown) to the Kth image processing device ImK and the first servo controller S1 to the Nth servo controller SN (St15).

[0057] Furthermore, for example, the Kth image processing device ImK performs image processing on the frame (pixel data) captured by the Kth camera CK, and transmits the position information of the object, which is the result of the image processing, to the first image processing device Im1 to the (K-1)th image processing device (not shown) and the first servo controller S1 to the Nth servo controller SN (St16).

[0058] Next, an example of the operation procedure of the image processing devices and the servo controllers will be described with reference to Fig. 4. Fig. 4 is a sequence diagram showing an example of the operation procedure of the image processing devices (specifically, the first image processing device Im1 to the K-th image processing device ImK) and the servo controllers (specifically, the first servo controller S1 to the N-th servo controller SN) in embodiment 1.

[0059] In the example shown in Fig. 4, the operational procedure executed in the first loop process Lp11 shown in Fig. 3 will be described in detail. For simplicity of explanation, Fig. 4 omits the processing of steps St13 and St16 in order to describe an example of the operational procedure executed between the first image processing device Im1, which is the minimum configuration of the motor control system 100, and the first servo controller S1.

[0060] First, the imaging process of step St100 will be described. The imaging process of step St100 is executed at a cycle of, for example, 1 kHz.

[0061] The first image processing device Im1 determines the timings for starting and ending exposure of the first camera C1 and the timings for starting and ending light emission of the first light L1 (St101).

[0062] The first image processing device Im1 determines the exposure central time T0 and the timings for starting and ending light emission based on the synchronized time. For example, the exposure central time T0 may be determined at a predetermined cycle (e.g., 1 kHz).

[0063] This allows each of the first to Kth image processing devices Im1 to ImK to prevent deviations in image capturing time due to shutter opening and closing times, etc. Therefore, each of the first to Kth image processing devices Im1 to ImK can synchronize the exposure median time T0 of all cameras (first camera C1 to Kth camera CK).

[0064] The first image processing device Im1 generates an exposure start command for the first camera C1 based on the determined exposure median time T0 and transmits the generated exposure start command to the first camera C1 based on the timing of the exposure start of the first camera C1 (St102). The first image processing device Im1 also generates a light emission start command for the first illuminator L1 based on the determined exposure median time T0 and transmits the generated light emission start command to the first illuminator L1 based on the timing of the light emission start of the first illuminator L1 (St103). Note that the processing order of steps St102 and St103 may be reversed.

[0065] The first light L1 starts emitting light based on the light emission start command transmitted from the first image processing device Im1 (St104).

[0066] The first camera C1 starts exposure based on the exposure start command transmitted from the first image processing device Im1 (St105).

[0067] The first image processing device Im1 generates an exposure end command for the first camera C1 and transmits the generated exposure end command to the first camera C1 based on the timing of the exposure end of the first camera C1 (St106). The first camera C1 ends exposure based on the exposure end command transmitted from the first image processing device Im1.

[0068] The first image processing device Im1 also generates a light emission end command for the first light L1 and transmits the generated light emission end command to the first light L1 based on the timing of the light emission end of the first light L1 (St107). The first light L1 terminates light emission based on the light emission end command transmitted from the first image processing device Im1.

[0069] 4 is an example, and is not limited to the order of steps St102 and St103 and the order of steps St106 and St107. The light emission period during which the first light source L1 emits light may be approximately the same as the exposure period of the first camera C1, or may be longer.

[0070] Next, the servo motor position acquisition process of step St200 will be described. The servo motor position acquisition process of step St200 is executed at a cycle corresponding to the imaging process of step St100, for example, at a cycle of 1 kHz.

[0071] The first servo controller S1 generates an A / D conversion start command that requests the first encoder En1 to obtain position information of the first servo motor Sm1, and outputs the command to the first encoder En1 (St201).

[0072] The first encoder En1 acquires an electronic signal (analog signal) indicating the position information of the first servo motor Sm1 at the timing of the exposure center time T0 of the first image processing device Im1, converts it into a digital signal (St202), and outputs the position information of the first servo motor Sm1 to the first servo controller S1 (St203).

[0073] As a result, each of the first servo controller S1 to the Nth servo controller SN can similarly acquire position information of each of the servo motors (first servo motor Sm1 to Nth servo motor SmN) at the same time as the exposure median time T0, based on the synchronized time. In other words, the motor control system 100 can synchronize the image capture times of all cameras and the acquisition times of position information of all servo motors to the same time (= exposure median time T0).

[0074] The first servo controller S1 transmits the position information of the first servo motor Sm1 acquired by the first encoder En1 to the first image processing device Im1 (St12).

[0075] Next, the image processing of step St300 will be described. The image processing of step St300 is executed at a cycle of, for example, 1 kHz.

[0076] The first image processing device Im1 estimates the position of the object in the frame captured next to the previous frame using a Kalman filter based on the frame rate of the first camera C1, position information of the first servo motor Sm1 transmitted from the first servo controller S1, and the position of the object detected in the previous frame. The first image processing device Im1 requests the first camera C1 to read and transmit pixel data including at least one pixel corresponding to the estimated position of the object.

[0077] The first camera C1 converts the light incident from the lens during exposure into an electrical signal (analog signal) and performs A / D conversion to convert it into a digital signal. The first camera C1 reads pixel data and transmits it to the first image processing device Im1 (St301).

[0078] The first image processing device Im1 performs image processing on the pixel data transmitted from the first camera C1 before recording it in the memory 12 (St302). The first image processing device Im1 sequentially performs object detection processing using a hill-climbing method on the pixel data transmitted from the first camera C1. The first image processing device Im1 calculates an evaluation value indicating the likelihood that a detected detection portion from the pixel data is an object. The first image processing device Im1 requests the first camera C1 to read pixel data including at least one pixel located near a pixel with a higher calculated evaluation value using the hill-climbing method.

[0079] The first camera C1 reads pixel data based on the request sent from the first image processing device Im1 and sends it to the first image processing device Im1 (St301).

[0080] The first image processing device Im1 performs image processing on the pixel data transmitted from the first camera C1 before recording it in the memory 12 (St302). The first image processing device Im1 repeatedly performs the pixel data reading process by the first camera C1 in step St301 and the object detection process by the first image processing device Im1 in step St302 until the evaluation value by the hill-climbing method no longer improves, that is, until it is determined that the object has been detected.

[0081] The first image processing device Im1 transmits the position information of the detected object, which is the image processing result, to the first servo controller S1 (St15). The first image processing device Im1 also records in the memory 12 the frames acquired from the first camera C1, the address numbers indicating the order in which the frames were captured by the first camera C1, the position information of the detected object, and the position information of the servo motor, in association with each other.

[0082] This allows the first image processing device Im1 to calculate the amount of movement of the servo motor between two frames based on position information of the object captured in the previous frame, position information of the first servo motor Sm1 at the imaging time of the previously captured frame (= central exposure time T0), and position information of the first servo motor Sm1 at the imaging time of the next captured frame (= central exposure time T0).The first image processing device Im1 can estimate the position of the object captured in the next frame with higher accuracy based on the amount of movement of the servo motor between the two frames.

[0083] Therefore, the first image processing device Im1 can estimate the position of the object that will appear in the next frame with even greater accuracy than before, thereby effectively selecting the pixels to be image processed, reducing the number of pixels to be image processed using the hill-climbing method, and further shortening the time required to detect the object.

[0084] Furthermore, the first image processing device Im1 can treat two consecutive frames captured by the first camera C1, which captures images at a high frame rate, as frames captured by a stereo camera, based on the amount of movement of the servo motor between the two frames. Therefore, the first image processing device Im1 can measure the position of an object in a direction substantially perpendicular to the image sensor of the first camera C1 (i.e., the distance from the image sensor, i.e., the depth). This allows the first image processing device Im1 to measure the distance between the first camera C1 and the object.

[0085] Furthermore, when the object is moving, the first image processing device Im1 can measure the moving speed and moving distance of the object based on two consecutive frames captured by the first camera C1, which captures images at a high frame rate, and the amount of movement of the servo motor between the two frames. When the object is not moving, the first image processing device Im1 can measure (identify) the amount of movement, moving speed, etc. of the object as a disturbance acting on the object based on two consecutive frames captured and the amount of movement of the servo motor between the two frames. The identification of disturbances will be described in detail later with reference to FIGS. 6 and 7.

[0086] Furthermore, if the object is not moving at a constant speed in a straight line, the first image processing device Im1 can measure the changes in the object's movement amount, acceleration, etc. based on two consecutively captured frames and the movement amount of the servo motor between the two frames.

[0087] Next, a description will be given of the motor drive process and servo motor position acquisition process in step St 400. The motor drive process and servo motor position acquisition process in step St 400 are executed at a cycle of, for example, several tens of kHz.

[0088] The first servo controller S1 generates a current control command and outputs it to the first motor driver Md1 (St401). The first motor driver Md1 drives the first servo motor Sm1 based on the current control command output from the first servo controller S1 (St402).

[0089] The first servo controller S1 generates an A / D conversion start command and outputs it to the first encoder En1 (St403). The first encoder En1 acquires an electronic signal (analog signal) indicating the position information of the first servo motor Sm1 based on the A / D conversion start command output from the first servo controller S1 and converts it into a digital signal (St404). The first encoder En1 outputs the position information of the first servo motor Sm1 to the first servo controller S1 (St405).

[0090] 3 is repeatedly executed at a faster cycle than the other processes. In step St400, motor control system 100 corrects the current position of first servo motor Sm1 based on the position information of the object obtained in steps St100 to St300, and moves (follows) the position of first servo motor Sm1 to match the position of the object.

[0091] Next, the operation procedures of the image processing device and the servo controller will be described using a time chart with reference to Fig. 5. Fig. 5 is a time chart showing the operation procedures of the image processing device and the servo controller in embodiment 1. Note that the read cycle and number of times of the encoder shown in Fig. 5 are merely examples and are not limiting.

[0092] In the example shown in FIG. 5, for simplicity of explanation, an example of an operational procedure executed between the first image processing device Im1, which is the minimum configuration of the motor control system 100, and the first servo controller S1 will be described.

[0093] The first camera C1 captures an image of the object by exposing the object so that the exposure central time t=0 (zero), and sequentially reads pixel data included in the readout area AR1 of the first frame Img1 from time t=t1. The first image processing device Im1 acquires the pixel data read from the first camera C1 and sequentially processes the image. The first image processing device Im1 transmits position information of the detected object to the first servo controller S1.

[0094] The first servo controller S1 drives the first motor driver Md1 and repeatedly executes the acquisition (reading) of position information of the first servo motor Sm1 by the first encoder En1 at a cycle of several tens of kHz while the first camera C1 is capturing an image of the object and the first image processing device Im1 is detecting the object. Note that the image Ps1 shows the state of the first motor driver Md1 at time t=0 (zero).

[0095] The first servo controller S1 acquires position information of the first servo motor Sm1 at the timing of the exposure central time t=1, and transmits it to the first image processing device Im1.

[0096] The first camera C1 captures an image of the object by exposing the object so that the exposure median time t = 1. The first image processing device Im1 estimates the position of the object in the second frame Img2 based on position information of the object detected in the first frame Img1 and position information of the first servo motor Sm1 transmitted from the first servo controller S1, and determines a readout area AR2 from which pixel data is read out from the second frame Img2. The first image processing device Im1 requests the first camera C1 to read out the readout area AR2.

[0097] The first camera C1 sequentially reads pixel data included in the readout area AR2 of the second frame Img2 starting at time t=t2. The first image processing device Im1 acquires the pixel data read from the first camera C1 and sequentially processes the data. The first image processing device Im1 transmits position information of the detected object to the first servo controller S1.

[0098] While the first camera C1 is capturing an image of the object and the first image processing device Im1 is detecting the object, the first servo controller S1 drives the first motor driver Md1 based on the position information of the object detected from the first frame Img1, and repeatedly acquires (reads) the position information of the first servo motor Sm1 using the first encoder En1 at a cycle of several tens of kHz. Note that image Ps2 shows the state of the first motor driver Md1 at time t=1.

[0099] The first servo controller S1 acquires position information of the first servo motor Sm1 at the timing of the exposure central time t=2, and transmits it to the first image processing device Im1.

[0100] The first camera C1 captures an image of the object by exposing so that the exposure median time is t = 2. The first image processing device Im1 measures the movement amount and movement speed of the object and the movement amount and movement speed of the first servo motor Sm1 between exposure median times t = 1 and t = 2, based on position information of the object detected in the first frame Img1 and the second frame Img2, and position information of the first servo motor Sm1 corresponding to each frame transmitted from the first servo controller S1.

[0101] The first image processing device Im1 estimates the position of the object captured in the third frame Img3 using the calculated movement amount and movement speed of the object between exposure center times t=1 and t=2, and the movement amount and movement speed of the first servo motor Sm1, etc. The first image processing device Im1 determines a readout area AR3 from which pixel data is read out from the third frame Img3. The first image processing device Im1 requests the first camera C1 to read out the readout area AR3.

[0102] The first camera C1 sequentially reads pixel data included in the readout area AR3 of the third frame Img3 from time t=t3. The first image processing device Im1 acquires the pixel data read from the first camera C1 and sequentially processes the data. The first image processing device Im1 transmits position information of the detected object to the first servo controller S1.

[0103] While the first camera C1 is capturing an image of the object and the first image processing device Im1 is detecting the object, the first servo controller S1 drives the first motor driver Md1 based on the position information of the object corresponding to the second frame Img2, and repeatedly acquires (reads) the position information of the first servo motor Sm1 using the first encoder En1 at a frequency of several tens of kHz. Note that image Ps3 shows the state of the first motor driver Md1 at time t=2. Image Ps4 shows the state of the first motor driver Md1 at time t=3.

[0104] The first servo controller S1 acquires position information of the first servo motor Sm1 at the timing of the exposure central time t=3, and transmits it to the first image processing device Im1.

[0105] The first camera C1 captures an image of the object by exposing so that the central exposure time is t = 4. The first image processing device Im1 calculates the movement amount and movement speed of the object and the movement amount and movement speed of the first servo motor Sm1 between central exposure times t = 2 and t = 3, based on the position information of the object detected in the second frame Img2 and the third frame Img3 and the position information of the first servo motor Sm1 corresponding to each frame transmitted from the first servo controller S1.

[0106] The first image processing device Im1 estimates the position of the object captured in the fourth frame Img4 using the calculated movement amount and movement speed of the object and the movement amount and movement speed of the first servo motor Sm1 between the exposure central times t=2 and t=3. The first image processing device Im1 determines a readout area AR4 from which pixel data is to be read out from the fourth frame Img4. The first image processing device Im1 requests the first camera C1 to read out the readout area AR4.

[0107] As described above, the motor control system 100 according to the first embodiment can follow an object in real time using each of the first servo motor Sm1 to the N-th servo motor SmN.

[0108] Next, the process of identifying a disturbance will be described with reference to Fig. 6 and Fig. 7. Fig. 6 is a comparative diagram illustrating an example of operation processing between a conventional image processing device and a servo motor. Fig. 7 is a comparative diagram illustrating an example of operation processing between an image processing device and a servo motor according to the present disclosure.

[0109] 6 and 7, one camera is mounted on a carriage Tr driven by one servo motor. The servo motor moves the carriage Tr to follow the position of the object Tg imaged and measured by the camera, and an example is described in which the globe Gr captures the approaching object Tg. Also, in the examples shown in FIGS. 6 and 7, illustrations of an image processing device, lighting, a servo controller, an encoder, a servo motor, etc. are omitted.

[0110] 6 and 7, the disturbance is wind blowing toward the right side of the paper, and moves the object Tg 20 cm to the right side of the paper between the exposure central time t = 11 and the exposure central time t = 12. For simplicity of explanation, an example will be described in which the disturbance acts only on the object Tg and not on the cart Tr.

[0111] First, referring to Figure 6, we will explain the operation processing of the image processing device and the servo motor when the imaging time (exposure center time t = 11, 12, 13) at which the object is imaged is not synchronized with the time at which the servo motor position information is obtained.

[0112] The camera captures an image of the object Tg so that the exposure central time t=11. The image processing device detects the object Tg from the frame Img11 captured by the camera. In the frame Img11 shown in FIG. 6 , the image processing device detects the object Tg at a position that is shifted 1 m to the right of the paper surface from the center of the camera's angle of view, that is, the estimated position Tg11 of the object Tg, which is the center position of the frame Img11 captured by the camera. The image processing device transmits position information of the object Tg to the servo controller.

[0113] The servo controller generates a current control command for moving the position of the cart Tr 1 m to the right on the paper surface based on the position information of the target object Tg transmitted from the image processing device. The servo controller outputs the generated current control command to the motor driver. The motor driver drives the servo motor based on the current control command so that the cart Tr moves 1 m to the right on the paper surface.

[0114] The object Tg moves 20 cm to the right side of the paper surface due to disturbance between the exposure central time t=11 and the exposure central time t=12.

[0115] The camera captures an image of the object Tg so that the exposure central time t=12. The image processing device detects the object Tg from frame Img12 captured by the camera. In frame Img12 shown in Figure 6, the image processing device detects the object Tg at a position shifted 70 cm to the right of the estimated position Tg12 of the object Tg.

[0116] However, the image processing device does not know how far the cart Tr has moved at the camera's exposure center time t = 12. Therefore, the conventional image processing device cannot transmit accurate information to the servo controller of the cart Tr as to how far it should be moved.

[0117] At the exposure midpoint time t=12, the servo motor continues to move the carriage Tr based on the position of the object Tg detected at the exposure midpoint time t=11, that is, to a position 1 m to the right of the paper surface.

[0118] The camera captures an image of the object Tg so that the exposure central time t=13. The image processing device detects the object Tg from frame Img13 captured by the camera. In frame Img13 shown in Figure 6, the image processing device detects the object Tg at a position that is shifted 20 cm to the right of the estimated position Tg13 of the object Tg.

[0119] The servo motor at the exposure midpoint time t=13 stops when the movement of the carriage Tr based on the position of the object Tg detected at the exposure midpoint time t=11, that is, the movement to a position 1 m to the right of the page, is completed. The servo controller generates a notification that the movement of the carriage Tr by the servo motor to a position 1 m to the right of the page has been completed, and sends it to the image processing device.

[0120] As described above, if the imaging time (median exposure times t=11, 12, 13) and the time at which the servo motor position information is acquired are not synchronized, once the servo controller acquires the position information of the object Tg from the image processing device, it continues to execute drive control of the servo motor based on this position information of the object Tg until the movement of the carriage Tr is completed. However, if a disturbance acts on the object Tg, the object Tg will move 20 cm to the right side of the page due to the disturbance during the period from median exposure time t=11 to median exposure time t=13 while the carriage Tr is moving.

[0121] Therefore, at the exposure midpoint time t=13, the object Tg has moved 20 cm to the right of the page due to a disturbance, making it difficult for the servo controller to cause the positions of the cart Tr and globe Gr to track the object Tg. Furthermore, the image processing device does not receive feedback from the servo controller on the position of the servo motor until the servo motor has completed its movement of 1 meter to the right of the page at exposure midpoint time t=13. Therefore, the image processing device experiences a decrease in estimation accuracy when estimating the position of the object Tg in the next frame. As a result of the decrease in estimation accuracy of the position of the object Tg, the image processing device experiences an increase in the amount of image processing required to detect the object Tg in the next frame, resulting in a longer image processing time.

[0122] Next, referring to Figure 7, we will explain the operation processing of the image processing device and the servo motor when the imaging time (exposure center time t = 11, 12, 13) for imaging the object and the time when the servo motor position information is acquired are synchronized.

[0123] The camera captures an image of the object Tg at the exposure median time t=11. The image processing device detects the object Tg from frame Img21 captured by the camera. In frame Img21 shown in FIG. 7 , the image processing device detects the object Tg at a position that is shifted 1 m to the right of the paper surface from the center of the camera's angle of view, that is, the estimated position Tg21 of the object Tg, which is the center position of frame Img21 captured by the camera. The image processing device transmits position information of the object Tg to the servo controller.

[0124] The servo controller generates a current control command for moving the position of the cart Tr 1 m to the right on the paper surface based on the position information of the target object Tg transmitted from the image processing device. The servo controller outputs the generated current control command to the motor driver. The motor driver drives the servo motor based on the current control command so that the cart Tr moves 1 m to the right on the paper surface.

[0125] The object Tg moves 20 cm to the right side of the paper surface due to disturbance between the exposure central time t=11 and the exposure central time t=12.

[0126] The camera captures an image of the object Tg at the exposure median time t=12. The image processing device detects the object Tg from frame Img22 captured by the camera. In frame Img22 shown in FIG. 7 , the image processing device detects the object Tg at a position shifted 70 cm to the right of the estimated position Tg22 of the object Tg. The image processing device transmits position information of the object Tg to the servo controller.

[0127] The servo controller reads the encoder value from the encoder at the exposure central time t = 12. The servo controller notifies the image processing device that the carriage Tr has advanced 50 cm to the right of the page at the exposure central time t = 12.

[0128] Furthermore, based on the position information of the object Tg transmitted from the image processing device, the servo controller performs a correction to move the position of the cart Tr (i.e., the target position) at the next exposure midpoint time t=13 by an additional 20 cm to the right of the page. The servo controller generates a current control command to move the position of the cart Tr by 70 cm to the right of the page. The servo controller outputs the generated current control command to the motor driver. Based on the current control command, the motor driver drives the servo motor so that the cart Tr moves 70 cm to the right of the page.

[0129] The camera captures an image of the object Tg at time t=13. The image processing device detects the object Tg from frame Img23 captured by the camera. In frame Img23 shown in Fig. 7, the image processing device detects the object Tg at an estimated position Tg23 of the object Tg.

[0130] The servo motor at time t=13 stops when the movement of the cart Tr based on the position of the object Tg detected at time t=11, i.e., the movement to a position 1.2 m to the right on the page, is completed. The servo controller generates a notification that the movement of the cart Tr by the servo motor to a position 1.2 m to the right on the page has been completed, and sends it to the image processing device.

[0131] As described above, when the image capture time (median exposure time t=11, 12, 13) and the time when the servo motor position information is acquired are synchronized, the servo controller transmits (notifies) the position of the cart Tr to the image processing device at each median exposure time, and acquires position information of the object Tg from the image processing device. This allows the servo controller to correct the target position of the cart Tr based on the latest position of the object Tg. The servo controller can drive and control the servo motor based on the corrected target position of the cart Tr.

[0132] Therefore, even if an external disturbance acts on the object Tg, the servo controller can drive the servo motor in accordance with the positional shift of the object Tg caused by the disturbance (a movement of 20 cm to the right of the page), and can make the cart Tr and the globe Gr follow the movement of the object Tg, allowing the globe Gr to catch the object Tg.

[0133] Furthermore, the image processing device can calculate the amount of movement of the carriage Tr between two consecutive exposure center times using the encoder value feedback from the servo controller, thereby identifying the effect of a disturbance on the object Tg (for example, the amount of movement, movement speed, acceleration, etc. of the object Tg due to the disturbance).By identifying the effect of the disturbance on the object Tg, the image processing device can improve the estimation accuracy of the estimated position of the object Tg that will appear in the next frame.By improving the estimation accuracy of the estimated position, the image processing device can further reduce the image processing range for detecting the object Tg in the next frame, thereby further shortening the time required for image processing.

[0134] (Variation of First Embodiment) In the motor control system 100 according to the first embodiment, one of the first servo controller S1 to the Nth servo controller SN or the first image processing device Im1 to the Kth image processing device ImK is set as a master and performs time synchronization for the first servo controller S1 to the Nth servo controller SN and the first image processing device Im1 to the Kth image processing device ImK. In the motor control system 200 according to a variation of the first embodiment, an external master M1 connected to each of the first servo controller S1 to the Nth servo controller SN and the first image processing device Im1 to the Kth image processing device ImK so as to be able to communicate with them is set as a master and performs time synchronization for the first servo controller S1 to the Nth servo controller SN and the first image processing device Im1 to the Kth image processing device ImK.

[0135] Motor control system 200 according to the modified example of embodiment 1 has substantially the same configuration as motor control system 100 according to embodiment 1. Therefore, in the following description of motor control system 200 according to the modified example of embodiment 1, the same components as those in motor control system 100 according to embodiment 1 are assigned the same reference numerals, and description thereof will be omitted.

[0136] An example of the overall configuration of a motor control system 200 according to a modification of embodiment 1 will be described with reference to Fig. 8. Fig. 8 is a block diagram showing an example of the internal configuration of motor control system 200 according to a modification of embodiment 1.

[0137] The motor control system 200 is composed of an external master M1, N servo controllers (specifically, the first servo controller S1 to the Nth servo controller SN), and K image processing devices (specifically, the first image processing device Im1 to the Kth image processing device ImK).

[0138] The motor control system 200 performs time adjustment using the external master M1. The motor control system 200 synchronizes and links each of the first servo controller S1 to the Nth servo controller SN with each of the first image processing devices Im1 to Kth image processing devices ImK by using the time adjustment by the external master M1, and causes each of the first servo controller S1 to the Nth servo controller SN to track the object based on the image processing results (i.e., the position of the object) of each of the first image processing devices Im1 to Kth image processing devices ImK.

[0139] Each of the first servo controller S1 to the Nth servo controller SN is connected to the external master M1 to enable data transmission and reception between the external master M1 and the other servo controllers other than the first servo controller S1 to the Kth image processing device Im1 to the Kth image processing device ImK.

[0140] Each of the first image processing device Im1 to the K-th image processing device ImK is connected to an external master M1 to enable data transmission and reception between the external master M1 and other image processing devices other than the image processing device itself and each of the first servo controller S1 to the N-th servo controller SN.

[0141] An external master M1, as an example of an external device, is connected to each of the first servo controller S1 to the Nth servo controller SN and the first image processing device Im1 to the Kth image processing device ImK so that data can be sent and received therebetween, and simultaneously sends synchronized time information to each of the first servo controller S1 to the Nth servo controller SN and the first image processing device Im1 to the Kth image processing device ImK to perform time adjustment.

[0142] Next, an example of the operation procedure of motor control system 200 according to a modification of embodiment 1 will be described with reference to Fig. 9. Fig. 9 is a sequence diagram showing an example of the operation procedure of motor control system 200 according to a modification of embodiment 1. Note that the operation procedure of motor control system 200 shown in Fig. 9 is substantially similar to the operation procedure of motor control system 100 shown in Fig. 3, and therefore only the different process (step St21) will be described.

[0143] The motor control system 200 executes the process of step St21 and a first loop process Lp11. The number of loops of the first loop process Lp11 may be set arbitrarily depending on the interval at which the time adjustment process of step St21 is executed.

[0144] The external master M1 transmits the synchronized time information to each of the other image processing devices (first image processing device Im1 to K-th image processing device ImK) and the first servo controller S1 to N-th servo controller SN, and repeatedly synchronizes the time of each device at predetermined intervals (St21). If the synchronized time information cannot be simultaneously received by each device in step St21, the motor control system 200 determines that the time synchronization process has failed, proceeds to a first loop process Lp11, and may postpone the time synchronization process until the next step, St21.

[0145] As described above, the motor control system 200 according to the modification of the first embodiment can follow an object in real time using each of the first servo motor Sm1 to the N-th servo motor SmN.

[0146] As described above, the motor control systems 100, 200 (an example of a synchronous control system) according to the first embodiment and the modified example of the first embodiment include at least one image processing device (first image processing device Im1 to K-th image processing device ImK) that can acquire frames in which an object (an example of a subject) is captured from at least a camera (first camera C1 to K-th camera CK) that captures the object, and at least one servo controller that can communicate with the image processing device and controls a servo motor (first servo motor Sm1 to N-th servo motor SmN) that moves the position of the camera. The motor control systems 100, 200 perform a first process of adjusting time based on a synchronized time, determining a median exposure time (an example of a median time) of an exposure period in which the camera is exposed based on the synchronized time, and capturing an image of the object based on the determined median exposure time. The motor control systems 100, 200 perform a second process of acquiring the position of the servo motor at the median time based on the synchronized time, detecting the object from the frame based on the position of the servo motor at the median time and the frame in which the object is captured, and driving the servo motor based on the position of the detected object.

[0147] As a result, motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment can obtain the image capture time of an object captured at the center of a frame and the position of the servo motor at the image capture time of the object, even in a frame in which blurring occurs, thereby enabling more accurate measurement of the object position.Moreover, motor control systems 100 and 200 can control the servo motor to track the object based on the measured object position.

[0148] Furthermore, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment calculate a correction amount for the servo motor position based on the difference between the position of the object at the median time and the position of the servo motor. This allows the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment to control the servo motor so that it can track the object based on the correction amount for the servo motor position relative to the position of the servo motor at the time the object is imaged.

[0149] Furthermore, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment measure the movement speed of the object based on the difference between the position of the object and the position of the servo motor at the median time. As a result, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment capture images and acquire the position of the servo motor at the exposure median time, thereby obtaining information such as the movement speed, movement amount, and acceleration of the object. Therefore, the motor control systems 100 and 200 can control the servo motor to track the position of the moving object.

[0150] Furthermore, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment measure disturbances acting on an object based on the difference between the position of the object and the position of the servo motor at the median time. As a result, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment capture images and acquire the position of the servo motor at the median exposure time, thereby obtaining information such as the movement speed, movement amount, and acceleration of the object due to disturbances acting on the object. Therefore, the motor control systems 100 and 200 can control the servo motor to track the position of the object even when a disturbance acts on the object.

[0151] Furthermore, in the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment, either the image processing device or the servo controller transmits a synchronization time to the image processing device or servo controller other than the own device. This allows the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment to execute time synchronization between the first image processing device Im1 to the Kth image processing device ImK and the first servo motor Sm1 to the Nth servo motor SmN.

[0152] The motor control system 100 according to the first embodiment also includes an external master M1 (an example of an external device) communicatively connected to the image processing devices and the servo controller. The external master M1 transmits a synchronization time to each of the image processing devices and the servo controller. This allows the motor control system 100 according to the first embodiment to synchronize the time between the first image processing device Im1 through the Kth image processing device ImK and the first servo motor Sm1 through the Nth servo motor SmN.

[0153] Furthermore, the camera frame rate of motor control system 200 according to the modification of embodiment 1 is 960 fps or higher. As a result, motor control system 200 according to the modification of embodiment 1 can adjust the position of the servo motor at a cycle of 1 kHz based on the detected position of the object, and can therefore adjust the servo motor to track the position of the object.

[0154] As described above, the motor control systems 100 and 200 (an example of a synchronous control system) according to the first embodiment and the modified example of the first embodiment include at least one image processing device (first image processing device Im1 to K-th image processing device ImK) capable of acquiring frames of images of an object (an example of a subject) from at least cameras (first camera C1 to K-th camera CK) that capture the object, and at least one servo controller (an example of a controller, first servo controller S1 to N-th servo controller SN) that can communicate with the image processing device and controls servo motors (first servo motor Sm1 to N-th servo motor SmN) that move the camera position. The image processing device and the servo controller perform time adjustment based on the synchronized time. The image processing device determines a center time of an exposure period for the camera based on the synchronized time, acquires frames captured by exposure based on the determined center time from the camera, and performs a first process of detecting the object from at least some of the detection pixels in the frame. The servo controller performs a second process of acquiring the position of the servo motor at the center time based on the synchronized time and transmitting the acquired position to the image processing device. The image processing device detects the position of the object from the frame based on the position of the servo motor at the center time and the frame in which the object is imaged, and transmits the detected position to the servo controller. The servo controller drives the servo motor based on the transmitted position of the object.

[0155] As a result, motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment can obtain the image capture time of an object captured at the center of a frame and the position of the servo motor at the image capture time of the object, even in a frame in which blurring occurs, thereby enabling more accurate measurement of the object position.Moreover, motor control systems 100 and 200 can control the servo motor to track the object based on the measured object position.

[0156] As described above, the motor control systems 100, 200 (an example of a system) according to the first embodiment and the modified example of the first embodiment include at least one image processing device (first image processing device Im1 to K-th image processing device ImK) that can acquire frames of images of an object (an example of a subject) from at least cameras (first camera C1 to K-th camera CK) that capture images of the object, and at least one servo controller (an example of a controller, first servo controller S1 to N-th servo controller SN) that can communicate with the image processing device and controls servo motors (first servo motor Sm1 to N-th servo motor SmN) that move the position of the camera, and perform time adjustment using a synchronized time (an example of a reference time), capture an image of the object at a midpoint of exposure (an example of a predetermined time) based on the synchronized time, acquire positional information of the servo motor at the midpoint of exposure based on the synchronized time, and detect the object from at least some of the pixels in the frame based on the frame of the captured object and the positional information of the servo motors.

[0157] As a result, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment can control the servo motor to follow the object based on the position of the object detected from the frame captured by the camera and the position of the servo motor at the time the frame was captured.

[0158] Furthermore, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment execute the readout of at least some pixels based on servo motor position information and the detection of an object based on the readout of at least some pixels in parallel. As a result, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment can, for example, execute the readout of pixels for which object detection is to be performed next while detecting an object from at least some pixels. This allows object detection to be performed without waiting for the readout of pixels for the entire frame, thereby shortening the time required for object detection (image processing). Furthermore, because the motor control systems 100 and 200 execute the pixel readout and object detection based on servo motor position information, the total number of pixels that undergo image processing before the object is detected can be reduced, thereby shortening the time required for object detection (image processing) and reducing the processing load due to image processing.

[0159] Furthermore, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment estimate the position of an object captured in a frame based on the difference between the position of the servo motor corresponding to the frame and the position of the servo motor corresponding to the previous frame captured consecutively to the frame, and determine a portion of pixels for detecting the object based on the estimated position of the object. As a result, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment can more accurately estimate the position of the object captured in the latest of two consecutively captured frames based on the amount of movement of the servo motor between the two consecutively captured frames. The motor control systems 100 and 200 select pixels for which object detection (image processing) is performed based on the estimated position of the object, thereby reducing the total number of pixels that undergo image processing before the object is detected, thereby shortening the time required for object detection (image processing) and reducing the processing load due to image processing.

[0160] Furthermore, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment perform image processing on pixels using a hill-climbing method, and if it is determined that no object is detected from the pixels, they repeatedly determine at least a portion of the pixels to be read next using the hill-climbing method and detect the object based on the portion of the pixels that are read next, until the object is detected. As a result, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment select, as pixels on which object detection (image processing) is performed, pixels that are located near pixels that have been image-processed and have a higher evaluation of the likelihood that the detected object is the object, thereby reducing the total number of pixels that are image-processed before the object is detected, thereby shortening the time required for object detection (image processing) and reducing the processing load due to image processing.

[0161] Furthermore, motor control systems 100 and 200 according to the first embodiment and the modification of the first embodiment measure the distance between the image sensor of the camera and the object based on the position of the servo motor corresponding to a frame and the position of the servo motor corresponding to the previous frame captured consecutively to the frame. As a result, motor control systems 100 and 200 according to the first embodiment and the modification of the first embodiment can measure the position of the object in the direction perpendicular to the image sensor of the camera based on the positions of the servo motors in each of the two frames captured consecutively, using the two frames captured instead of the two frames captured by the stereo camera.

[0162] Furthermore, in the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment, either the image processing device or the servo controller transmits a synchronization time to the image processing device or servo controller other than the own device. This allows the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment to execute time synchronization between the first image processing device Im1 to the Kth image processing device ImK and the first servo motor Sm1 to the Nth servo motor SmN.

[0163] The motor control system 100 according to the first embodiment also includes an external master M1 (an example of an external device) communicatively connected to the image processing devices and the servo controller. The external master M1 transmits a synchronization time to each of the image processing devices and the servo controller. This allows the motor control system 100 according to the first embodiment to synchronize the time between the first image processing device Im1 through the Kth image processing device ImK and the first servo motor Sm1 through the Nth servo motor SmN.

[0164] Furthermore, the camera frame rate of motor control system 200 according to the modification of embodiment 1 is 960 fps or higher. As a result, motor control system 200 according to the modification of embodiment 1 can adjust the position of the servo motor at a cycle of 1 kHz based on the detected position of the object, and can therefore adjust the servo motor to track the position of the object.

[0165] As described above, the motor control systems 100, 200 (an example of an image processing system) according to the first embodiment and the modified example of the first embodiment include at least one image processing device (first image processing device Im1 to K-th image processing device ImK) capable of acquiring frames of an object (an example of a subject) from at least cameras (first camera C1 to K-th camera CK) that capture the object, and at least one servo controller (an example of a controller, first servo controller S1 to N-th servo controller SN) that can communicate with the image processing device and controls servo motors (first servo motor Sm1 to N-th servo motor SmN) that move the camera position. The image processing device and the servo controller perform time synchronization based on a synchronized time (an example of a reference time). The image processing device captures an image of the object at a median exposure time (an example of a predetermined time) based on the synchronized time. The servo controller acquires position information of the servo motor at the median exposure time based on the synchronized time and transmits the information to the image processing device. The image processing device detects the position of the object from at least some of the pixels in the frame based on the captured frame of the subject and the position information of the servo motor, and transmits the position information to the servo controller. The servo controller drives the servo motor based on the transmitted position of the object.

[0166] As a result, the motor control systems 100 and 200 according to the first embodiment and the modified example of the first embodiment can control the servo motor to follow the object based on the position of the object detected from the frame captured by the camera and the position of the servo motor at the time the frame was captured.

[0167] Although various embodiments have been described above with reference to the accompanying drawings, the present disclosure is not limited to such examples. It is clear that those skilled in the art can conceive of various modifications, alterations, substitutions, additions, deletions, and equivalents within the scope of the claims, and it is understood that these also fall within the technical scope of the present disclosure. Furthermore, the components of the various embodiments described above may be combined in any manner without departing from the spirit of the invention.

[0168] This application is based on Japanese patent applications filed on March 29, 2023 (Patent Application Nos. 2023-054259 and 2023-054260), the contents of which are incorporated by reference into this application.

[0169] The present disclosure is useful as a proposal for a synchronization control method and a synchronization control system that synchronizes a camera and a servo motor to improve the tracking accuracy of an object.

[0170] 10, 20 Communication unit 11, 21 Processor 12, 22 Memory 100, 200 Motor control system C1 First camera CK Kth camera En1 First encoder EnN Nth encoder Im1 First image processing device ImK Kth image processing device L1 First lighting LK Kth lighting M1 External master Md1 First motor driver MdN Nth motor driver S1 First servo controller SN Nth servo controller Sm1 First servo motor SmN Nth servo motor

Claims

1. A synchronous control method performed by a synchronous control system comprising at least one image processing device capable of acquiring frames in which an object is captured from at least a camera that captures the object, and at least one controller capable of communicating with the image processing device and controlling a servo motor that moves the position of the camera, the synchronous control method comprising the steps of: performing time alignment based on a reference time; performing a first process of determining a median time of an exposure period in which the camera is exposed based on the reference time, and capturing an image of the object by exposing based on the determined median time; and performing a second process of obtaining a position of the servo motor at the median time based on the reference time; detecting the object from the frame based on the position of the servo motor at the median time and the frame in which the object is captured; and driving the servo motor based on the detected position of the object.

2. The synchronization control method according to claim 1, further comprising the step of calculating a correction amount for the position of the servo motor based on a difference between the position of the subject at the central time and a position of the servo motor.

3. The synchronization control method according to claim 1, further comprising the step of measuring a moving speed of the subject based on a difference between a position of the subject at the central time and a position of the servo motor.

4. The synchronization control method according to claim 1, further comprising the step of measuring a disturbance acting on the object based on a difference between a position of the object at the central time and a position of the servo motor.

5. The synchronization control method according to claim 1, wherein either one of the image processing device or the controller transmits the reference time to an image processing device or a controller other than the image processing device itself.

6. The synchronization control method according to claim 1, wherein the synchronization control system further comprises an external device communicatively connected to the image processing device and the controller, and the external device transmits the reference time to each of the image processing device and the controller.

7. The synchronization control method according to claim 1, wherein the frame rate of the camera is 960 fps or higher.

8. A synchronous control system comprising at least one image processing device capable of acquiring frames in which an object is captured from at least a camera that captures an image of the object, and at least one controller capable of communicating with the image processing device and controlling a servo motor that moves a position of the camera, wherein the image processing device and the controller perform time alignment based on a reference time, the image processing device performs a first process of determining a median time of an exposure period in which the camera is exposed based on the reference time, acquiring a frame from the camera that has been exposed and captured based on the determined median time, and detecting the object from at least some of the detection pixels of the frame, the controller performs a second process of acquiring a position of the servo motor at the median time based on the reference time and transmitting the position to the image processing device, the image processing device detects the position of the object from the frame based on the position of the servo motor at the median time and the frame in which the object is captured, and transmits the position to the controller, and the controller drives the servo motor based on the transmitted position of the object.

Citation Information

Patent Citations

  • Workpiece carrier

    JP2004249391A

  • Positional data correcting device for robot

    JP2005138223A

  • Anti-shake device, image processing apparatus, and detection method

    JP2020056953A

  • Image processing device and image processing method

    WO2021006227A1