[go: up one dir, main page]

WO2017195362A1 - Testing apparatus - Google Patents

Testing apparatus Download PDF

Info

Publication number
WO2017195362A1
WO2017195362A1 PCT/JP2016/064350 JP2016064350W WO2017195362A1 WO 2017195362 A1 WO2017195362 A1 WO 2017195362A1 JP 2016064350 W JP2016064350 W JP 2016064350W WO 2017195362 A1 WO2017195362 A1 WO 2017195362A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
pulse generator
pulse
pulses
virtual manual
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/JP2016/064350
Other languages
French (fr)
Japanese (ja)
Inventor
将伍 森田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to CN201680085512.XA priority Critical patent/CN109154835B/en
Priority to PCT/JP2016/064350 priority patent/WO2017195362A1/en
Priority to JP2016562036A priority patent/JP6261763B1/en
Publication of WO2017195362A1 publication Critical patent/WO2017195362A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/409Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by using manual data input [MDI] or by using control panel, e.g. controlling functions with the panel; characterised by control panel details or by setting parameters
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • G05D3/10Control of position or direction without using feedback

Definitions

  • the present invention relates to a test device for a drive device that is an external device.
  • a drive unit including a movable part, a motor that drives the movable part, a driver that supplies electric power to the motor, and a controller that outputs a command pulse to the driver
  • the motor is driven by the command pulse output from the controller, and the amount of rotation of the motor
  • the moving amount of the movable part is determined according to the above.
  • the number of command pulses output from the controller is calculated by executing a program recorded in the controller, and is calculated so that the movable part is at a target position or speed during normal operation.
  • a manual pulse generator that generates a pulse corresponding to the command pulse is used. May be.
  • a manual pulse generator connect the manual pulse generator to the controller and manually operate the dial-type rotary part provided in the manual pulse generator, so that the pulse of the pulse signal according to the amount of rotation of the rotary part The number is sent to the driver or controller. Thereby, the rotation amount of the motor is determined in accordance with the number of pulses of the pulse signal, and the movement amount of the movable part can be finely adjusted.
  • the amount of movement of the movable part can be fine-tuned by using the manual pulse generator, but with a drive device that is not equipped with a manual pulse generator, a person cannot fine-tune the amount of movement of the movable part.
  • the movable part can be moved by using the operation test function of the engineering tool of the drive device.
  • the drive device engineering tool can be exemplified by a computer with software installed, and the operation test function includes a jog (jogging) operation in which the movable part of the drive device is moved at a constant speed, or a positioning operation in which the drive device is moved by a specified amount of movement. Can be exemplified.
  • the driving test of the driving device can be performed without using a manual pulse generator.
  • Patent Document 1 shows an example of an engineering tool for a driving device.
  • the technique disclosed in Patent Literature 1 displays a virtual operation panel on a display unit connected to an operation target apparatus body, and performs operations similar to operations performed on an actual operation panel on the virtual operation panel. It is configured to be able to.
  • a conventional engineering tool for a driving device represented by Patent Document 1 is connected to the driving device by a wired or wireless communication line.
  • the data transmission cycle of the communication line connected to the engineering tool is longer than the transmission cycle of the pulse transmitted from the actual manual pulse generator to the controller.
  • the number of pulses of the pulse signal corresponding to the amount of rotation of the rotating unit is transmitted to the driving device regardless of whether the rotating unit has a high or low rotational speed.
  • the engineering tool of the prior art drive device represented by Patent Document 1 since the data transmission cycle of the communication line is long, an operation in which the number of pulses is generated a plurality of times in a cycle shorter than the data transmission cycle of the communication line is performed.
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a test apparatus capable of efficiently adjusting a movable part in a drive device.
  • the test apparatus of the present invention is operated by a display control unit that displays a virtual manual pulse generator that generates a pulse signal according to an operation amount on a screen.
  • the number of pulses of the pulse signal corresponding to the operation amount of the virtual manual pulse generator is calculated every first time, and the pulse number data obtained by adding time information to the number of pulses calculated every first time,
  • a data transmission unit that accumulates a second time longer than the first time, and transmits a plurality of pulse number data accumulated for the second time as one combined pulse number data to an external device every second time. It is characterized by that.
  • the test apparatus according to the present invention has an effect that the movable part in the driving apparatus can be adjusted efficiently.
  • the figure which shows the test device which concerns on embodiment, and the drive device connected to a test device Functional block diagram provided in the terminal of the test apparatus according to the embodiment The figure for demonstrating a state when rotating the virtual manual pulse generator shown in FIG. 1 by operation of a mouse
  • the figure which shows the drive amount when driving a motor using a real manual pulse generator The figure which shows the drive amount when driving a motor by 2nd communication using a virtual manual pulse generator.
  • the figure for demonstrating the pulse number data group contained in the coupling pulse number data transmitted to a controller The figure which shows the relationship between the drive amount corresponding to the pulse number shown in FIG. 7, and the pulse number Enlarged view of the operation test screen shown in FIG.
  • test equipment will be described in detail below based on the drawings. Note that the present invention is not limited to the embodiments.
  • FIG. 1 is a diagram illustrating a test apparatus according to an embodiment and a driving apparatus connected to the test apparatus.
  • FIG. 2 is a functional block diagram provided in the terminal of the test apparatus according to the embodiment.
  • the test apparatus 100 according to the embodiment is an apparatus for performing an operation test by transmitting a pulse or a signal corresponding thereto to the drive apparatus 200 that is an external apparatus.
  • the test apparatus 100 includes a terminal 101 represented by a personal computer or a tablet, a mouse 102 connected to the terminal 101, and an engineering tool 103 installed in the terminal 101.
  • FIG. 1 shows an example in which a notebook personal computer is used as the test apparatus 100.
  • the mouse 102 is a man-machine interface for operating the terminal 101, and is used for operating a pointer or an icon displayed on the screen 10 of the terminal 101.
  • the engineering tool 103 has an operation test screen 103a, and a virtual manual pulse generator 103b for generating a pulse signal corresponding to the operation amount is displayed in the operation test screen 103a.
  • the virtual manual pulse generator 103b shown in FIG. 1 corresponds to a rotating unit included in a real manual pulse generator.
  • the number of pulses generated when the rotating unit is rotated once is determined for each product. Examples of the number of pulses generated when one rotation is made include 100 pulses and 200 pulses.
  • the number of pulses generated when the virtual manual pulse generator 103b is rotated once is set in advance, as in the actual manual pulse generator.
  • the test apparatus 100 is connected to the driving apparatus 200 via the communication line 11.
  • the driving device 200 includes a movable unit 204, a motor 203 that drives the movable unit 204, a driver 202 that supplies power to the motor 203, and a controller 201 that transmits a command pulse to the driver 202.
  • the terminal 101 is connected to the controller 201.
  • the driver 202 has a control function similar to that of the controller 201, the driving test can be performed by connecting the terminal 101 to the driver 202.
  • the terminal 101 includes a display control unit 20 that displays a virtual manual pulse generator 103 b on the screen 10.
  • the test apparatus 100 includes a data transmission unit 30.
  • the data transmission unit 30 performs a pulse signal pulse corresponding to the operation amount of the virtual manual pulse generator 103b. Equation 32a is calculated for each first time. Further, the data transmission unit 30 accumulates the pulse number data obtained by adding time information to the pulse number 32a calculated every first time for a second time longer than the first time, and the plurality of times accumulated for the second time. Is transmitted to the driving device 200 every second time as one combined pulse number data 33a.
  • the time information is information indicating a time corresponding to the first time.
  • the data transmission unit 30 includes a rotation amount calculation unit 31, a pulse number calculation unit 32, a data storage unit 33, and a communication unit 34.
  • the rotation amount calculation unit 31 acquires the coordinate movement amount of the mouse 102, detects a difference in the displacement amount of the coordinate movement amount, and calculates the rotation amount and the rotation direction as the operation amount based on the detected value. calculate.
  • the rotation amount calculation unit 31 assigns the fixed coordinates [x1, y1] of the virtual manual pulse generator 103b shown in FIG. 1 as the rotation center position. In addition, the rotation amount calculation unit 31 assigns the positive and negative values of the change amount in the X direction and the change amount in the Y direction as the rotation direction in the two-dimensional space.
  • the reason why the positive and negative values are assigned as the rotation direction is that the rotation direction of the virtual manual pulse generator 103b and the movable portion 204 of the drive device 200 shown in FIG. As an example, when the virtual manual pulse generator 103b is operated in the clockwise direction, the movable portion 204 moves to the right in the drawing of FIG. 1, and the virtual manual pulse generator 103b is rotated in the counterclockwise direction. When operated, the movable unit 204 moves leftward in FIG.
  • the rotation amount calculation unit 31 obtains a line segment R1 connecting the fixed coordinate and the operation start coordinate based on the fixed coordinate [x1, y1] and the operation start coordinate [x1a, y1a]. Similarly, the rotation amount calculation unit 31 is based on the fixed coordinates [x1, y1] and the operation end coordinates [x1b, y1b] and connects the fixed coordinates [x1, y1] and the operation end coordinates [x1b, y1b]. Find R2. The rotation amount calculation unit 31 calculates the angle formed by the obtained line segments R1 and R2 as a rotation angle with the fixed coordinate as the center, and the operation amount of the virtual manual pulse generator 103b corresponding to the calculated rotation angle. A certain amount of rotation is calculated.
  • the pulse number calculation unit 32 calculates the pulse number 32a of the pulse signal corresponding to the rotation amount calculated by the rotation amount calculation unit 31 every first time.
  • the first time can be exemplified as 50 ms.
  • the data storage unit 33 accumulates pulse number data obtained by adding time information to the pulse number 32a calculated for each first time by the pulse number calculation unit 32 for a second time longer than the first time.
  • the second time can be exemplified by 250 ms described later.
  • the communication unit 34 transmits the plurality of pulse number data accumulated in the data storage unit 33 for the second time as one combined pulse number data 33a to the driving device 200 every second time.
  • the communication unit 34 incorporates the combined pulse number data 33 a in a frame conforming to the protocol of the communication line 11 and outputs the transmission destination as the driving device 200.
  • the communication unit 34 transmits one combined pulse number data 33a, the combined pulse number data 33a accumulated in the data storage unit 33 is deleted, and the second time elapses from that point.
  • a plurality of pulse number data is accumulated in the data storage unit 33. This process is repeated during the driving test.
  • the display control unit 20 updates the screen display according to the rotation amount calculated by the rotation amount calculation unit 31, and rotates the virtual manual pulse generator 103b displayed on the screen 10.
  • the controller 201 receives the combined pulse number data 33a transmitted from the communication unit 34 every second time, and based on the time information added to each of the plurality of pulse number data included in the combined pulse number data 33a.
  • the total number of pulses included in the combined pulse number data 33a is decomposed into the number of pulses for each first time. Then, the controller 201 drives the motor 203 with the number of pulses for each decomposed first time.
  • FIG. 3 is a view for explaining a state when the virtual manual pulse generator shown in FIG. 1 is rotated by operating the mouse.
  • FIGS. 3A and 3B show a virtual manual pulse generator 103 b and a pointer 12 displayed on the screen 10 of the terminal 101.
  • FIG. 3A shows a virtual manual pulse generator 103b before being operated with the mouse 102, that is, before being rotated.
  • FIG. 3B shows the virtual manual pulse generator 103b after being operated with the mouse 102, that is, after being rotated.
  • P shown in FIG. 3A is a mouse drag start position
  • P ′ shown in FIG. 3B is a mouse drag end position.
  • the virtual manual pulse generator 103b displayed on the screen 10 of the terminal 101 changes its rotation direction and rotation amount in accordance with the movement amount of the pointer 12 or icon.
  • the direction and amount of rotation of the virtual manual pulse generator 103b are controlled by the display control unit 20 shown in FIG.
  • the pointer 12 is moved to the mouse drag end position P '.
  • the virtual manual pulse generator 103b is operated so as to rotate in the clockwise direction.
  • the test apparatus 100 calculates the rotation angle of the virtual manual pulse generator 103b displayed on the screen 10, and calculates the number of pulses corresponding to the rotation angle.
  • the rotation operation of the virtual manual pulse generator 103b is not limited to the drag operation by the mouse 102.
  • the rotation operation can be performed by touching the tablet terminal or the touch panel screen.
  • the rotation amount calculation unit 31 illustrated in FIG. 2 acquires the coordinate movement amount obtained by the touch operation, detects a difference in the displacement amount of the coordinate movement amount, and the rotation amount based on the detected value. Is calculated.
  • the operation by the mouse 102 may be realized by using the rotation amount when the mouse wheel is rotated.
  • the rotation amount calculation unit 31 converts the rotation amount of the mouse wheel into the rotation amount of the manual pulse generator 103b.
  • the rotation amount of the mouse wheel is converted into the rotation amount of the virtual manual pulse generator 103b at a magnification desired by the user.
  • the number of pulses corresponding to the rotation amount of the virtual manual pulse generator 103b is transmitted to the controller 201 of the drive device 200.
  • the transmission cycle of pulses transmitted from the real manual pulse generator to the controller 201 is short, so that the controller 201 rotates the real manual pulse generator.
  • a process for driving the motor 203 can be performed for each individual pulse generated at times. Therefore, the motor 203 can be continuously and smoothly driven. Therefore, the user of the actual manual pulse generator can intuitively and efficiently perform fine adjustment of the movable portion 204.
  • the controller 201 drives the motor 203 for each individual pulse generated by the rotation of the virtual manual pulse generator 103b. Can be processed. That is, when the data transmission cycle in the communication line 11 is equal to the transmission cycle of the pulse transmitted from the actual manual pulse generator to the controller 201, the pulse information is transmitted to the controller 201 every time one pulse is generated. Therefore, the motor 203 can be continuously and smoothly driven.
  • the data transmission cycle of the communication line 11 between the test apparatus 100 and the controller 201 is a time of 250 ms, which is compared with the transmission cycle of pulses transmitted from the actual manual pulse generator to the controller. long.
  • the number of pulses generated when the virtual manual pulse generator 103b is rotated 360 ° is 100
  • the number of pulses generated when the virtual manual pulse generator 103b is rotated 120 ° is 33. It is.
  • the test apparatus 100 transmits pulse number data to the driving apparatus 200 by the first communication or the second communication described below. Think about the case.
  • the data transmission cycle is 250 ms, and pulse number data for one pulse is transmitted every 250 ms.
  • 8250 ms is required to drive the motor 203 by 33 pulses. Therefore, when the virtual manual pulse generator 103b is rotated 120 ° in a time shorter than 8250 ms, the drive amount of the motor 203 does not coincide with the rotation amount of the virtual manual pulse generator 103b. Cannot follow the rotation of a typical manual pulse generator 103b.
  • the motor 203 is driven only for two pulses in 500 ms.
  • the data transmission cycle is 250 ms and the pulse number data of all the pulses generated every 250 ms is transmitted.
  • the virtual manual pulse generator 103b is rotated 120 ° at a constant speed for 500 ms, 16 pulses are generated from 0 ms to 250 ms, and 17 pulses are generated from 250 ms to 500 ms. It is assumed that an integrated pulse of less than 1 pulse is added to 17 pulses. Therefore, in the second communication, communication between the test apparatus 100 and the driving apparatus 200 is performed twice, that is, communication that transmits 16 pulses and communication that transmits 17 pulses.
  • the drive amount of the motor 203 matches the rotation amount of the virtual manual pulse generator 103b. However, since the motor 203 in this case performs driving for 16 pulses and driving for 17 pulses every 250 ms, the motor 203 cannot be continuously and smoothly driven.
  • FIG. 4 is a diagram showing the drive amount when the motor is driven using a real manual pulse generator.
  • FIG. 5 is a diagram showing the drive amount when the motor is driven by the second communication using the virtual manual pulse generator.
  • the vertical axis in FIGS. 4 and 5 represents the drive amount of the motor 203, and the drive amount is represented by the number of pulses.
  • the horizontal axis in FIGS. 4 and 5 represents time.
  • the motor 203 is driven for 16 pulses when 250 ms elapses, and the motor 203 is driven for 17 pulses when 500 ms elapses.
  • the drive amount changes more rapidly than when the motor is driven using the manual pulse generator.
  • the unit 204 operates largely every 250 ms.
  • the test apparatus 100 transmits one combined pulse number data obtained by accumulating the pulse number data to which the time information is added for the second time to the driving apparatus 200 by one communication.
  • the motor 203 can follow the rotation of the virtual manual pulse generator 103b and can be continuously driven smoothly.
  • FIG. 6 is a diagram showing a position every 50 ms and the number of generated pulses every 50 ms when the virtual manual pulse generator according to the embodiment is rotated 120 ° from 0 ms to 500 ms.
  • the time of 50 ms is a value determined as a short time for driving the motor 203 smoothly, and corresponds to the first time described above.
  • the first time is set according to the characteristics of the movable part 204 to be driven, and is assumed to be 50 ms. The user of the test apparatus 100 may actually be determined for the first time.
  • the virtual manual pulse generator 103b is shown on the upper side of the drawing in FIG.
  • the table shown on the lower side of FIG. 6 shows a position every 50 ms, a rotation angle every 50 ms, and every 50 ms when the virtual manual pulse generator 103b is operated in the clockwise direction. The number of pulses is associated.
  • the position P0 indicated in the virtual manual pulse generator 103b corresponds to the mouse drag start position P described above, and the position P10 indicated in the virtual manual pulse generator 103b is the mouse drag end position P ′ described above. Correspond.
  • the position P1 indicated in the virtual manual pulse generator 103b is a position when 50 ms has elapsed from the position P0.
  • the position P2 to the position P10 are positions when 50 ms have elapsed from each of the position P1 to the position P9.
  • the rotation angle corresponding to the position P1 corresponds to an angle formed by a line segment connecting the rotation center of the virtual manual pulse generator 103b and the position P0 and a line segment connecting the rotation center and the position P1.
  • the rotation angle corresponding to the position P1 is 10 °.
  • the rotation angle corresponding to each of the positions P2 to P10 is a line connecting the rotation center and each of the positions P1 to P9 and a line connecting the rotation center and each of the positions P2 to P10. Corresponds to the angle between minutes.
  • the number of pulses corresponding to the position P1 is the number of generated pulses calculated from the rotation amount corresponding to the rotation angle corresponding to the position P1. In the illustrated example, the number of pulses corresponding to the position P1 is two. Similarly, the number of pulses corresponding to each of the positions P2 to P10 is the number of generated pulses calculated from the rotation amount corresponding to the rotation angle corresponding to each of the positions P2 to P10.
  • FIG. 7 is a diagram for explaining a pulse number data group included in the combined pulse number data transmitted to the controller.
  • FIG. 8 is a diagram showing the relationship between the number of pulses shown in FIG. 7 and the driving amount corresponding to the number of pulses.
  • FIG. 7 shows an example of the first pulse number data group accumulated until 250 ms elapses after the operation is started.
  • an example of the second pulse number data group accumulated from the time when 250 ms elapses until 500 ms elapses is shown.
  • the first pulse number data group the number of pulses calculated every 50 ms from 0 ms to 250 ms is associated with time information added to the number of pulses. 250 ms corresponds to the second time described above.
  • the plurality of pulse numbers shown in the first pulse number data group are the pulse numbers calculated every 50 ms from the time point when the operation is started at the position P0 shown in FIG. 6 to the position P5.
  • the number of pulses calculated every 50 ms between 250 ms and 500 ms is associated with time information added to the number of pulses.
  • the time from 250 ms to 500 ms corresponds to the second time described above.
  • the plurality of pulse numbers shown in the second pulse number data group are the pulse numbers calculated every 50 ms from the position P6 to the position P10 shown in FIG.
  • the time when the operation is started at the position P0 is set to time “0”, and the combined pulse number data is not transmitted to the controller 201 until 250 ms elapses from the time “0”.
  • the combined pulse number data including the first pulse number data group shown in FIG.
  • 500 ms elapses from the time when the operation is started at the position P0 the combined pulse number data including the second pulse number data group shown in FIG.
  • the controller 201 that has received the combined pulse number data including the first pulse number data group, for each first time based on the time information added to each of the plurality of pulse number data included in the combined pulse number data.
  • the number of pulses is extracted, and the motor 203 is driven every first time.
  • the controller 201 extracts the number of pulses “+2” corresponding to the time information “50 ms” and drives the motor 203.
  • the controller 201 has a pulse number “+3” corresponding to the time information “100 ms”, a pulse number “+2” corresponding to the time information “150 ms”, and a pulse number “+3” corresponding to the time information “200 ms”.
  • the controller 201 when receiving the combined pulse number data including the second pulse number data group is the same.
  • the controller 201 cannot calculate the drive amount corresponding to the number of pulses due to the data transmission delay time of the communication line 11 until 250 ms elapses after the operation is started at the position P0. However, after 250 ms has elapsed since the operation was started at the position P0, the driving amount corresponding to the number of pulses every 50 ms can be calculated. Therefore, the motor 203 can be continuously and smoothly driven as compared with the case where the motor 203 is driven by the second communication shown in FIG.
  • FIG. 9 is an enlarged view of the operation test screen shown in FIG.
  • the operation test screen 103a illustrated in FIG. 9 is realized by the display control unit 20 illustrated in FIG. 2 executing a program for the engineering tool 103 installed in the terminal 101.
  • the operation test screen 103a displays a virtual manual pulse generator 103b and a pulse number input unit 103c for inputting the number of pulses generated when the virtual manual pulse generator 103b rotates once.
  • the operation test screen 103a includes a magnification input unit 103d for inputting a pulse number magnification and an upper limit input unit 103e for inputting an upper limit value of the number of pulses output per second from the virtual manual pulse generator 103b. Is displayed.
  • the number of pulses generated when the virtual manual pulse generator 103b is rotated once by the mouse 102 is transmitted to the controller 201 via the communication line 11, thereby driving the motor 203.
  • the pulse number input unit 103c allows the user to set the number of pulses generated when the virtual manual pulse generator 103b is rotated once.
  • the number of pulses generated during one rotation is determined depending on the hardware configuration of the product. Therefore, when it is desired to change the number of pulses generated during one rotation, it is necessary to prepare another manual pulse generator in which the number of pulses generated during one rotation is set to a different value.
  • the test apparatus 100 can change the number of pulses generated when the virtual manual pulse generator 103b is rotated once by the pulse number input unit 103c shown in FIG. Therefore, it is not necessary to prepare a plurality of actual manual pulse generators, and the cost of the operation test can be reduced.
  • the pulse number input unit 103c may be configured to be able to input a numerical value desired by the user by using an input device typified by a keyboard, or displays a pull-down menu and displays a plurality of displayed pulse numbers.
  • the mouse 102 may be selectable.
  • the magnification input unit 103d allows the user to set the magnification of the number of pulses generated when the virtual manual pulse generator 103b is rotated.
  • the motor 203 is driven by increasing the pulse number magnification as compared with the case where the pulse number magnification is 1. You can increase the amount. Therefore, the movable unit 204 can be adjusted more efficiently than when the test is performed with the pulse number magnification set to 1.
  • the magnification input unit 103d may be configured to be able to input a magnification desired by the user using an input device, or may display a pull-down menu and display a plurality of displayed magnifications. It may be configured to be selectable with the mouse 102 from the inside.
  • the upper limit value input unit 103e is for preventing a sudden movement of the movable unit 204 due to an erroneous operation.
  • the number of pulses calculated during the first time described above is limited. The Therefore, each value of the plurality of pulse numbers included in the combined pulse number data received by the controller 201 is less than the value set in the upper limit value input unit 103e.
  • the unit time described above may be a time other than the first time, a time shorter than the first time, or a second time.
  • the maximum value of the number of pulses output per second from the virtual manual pulse generator 103b can be changed by the upper limit value input unit 103e shown in FIG. Therefore, compared with a real manual pulse generator, the burden on the user is reduced and the risk of the movable part 204 being damaged can be reduced.
  • the upper limit input unit 103e may be configured to be able to input an upper limit desired by the user using an input device, like the pulse number input unit 103c, or may display a pull-down menu and display a plurality of displayed values.
  • the upper limit value may be selected with the mouse 102.
  • test apparatus 100 it is possible to efficiently solve an abnormality that has occurred when the drive apparatus 200 represented by the servo control apparatus is started up or when the drive apparatus 200 deteriorates over time. Therefore, it is possible to reduce the work man-hours when starting up the drive device 200 and the maintenance man-hours when operating the drive device 200.
  • FIG. 10 is a diagram illustrating a configuration example of hardware for realizing the virtual manual pulse generation device according to the embodiment.
  • the apparatus shown in FIG. 10 includes a processor 61, a memory 62, an input / output unit 63, and a display 64.
  • the processor 61 performs computation and control by software using the received data
  • the memory 62 stores received data or data and software necessary for the processor 61 to perform computation and control.
  • a coordinate movement amount is input to the input / output unit 63, and the input / output unit 63 outputs pulse number data to the communication line 11.
  • the display 64 corresponds to the screen 10 shown in FIG.
  • a program for the data transmission unit 30 and the display control unit 20 is stored in the memory 62, and the processor 61 executes this program,
  • the data transmission unit 30 and the display control unit 20 are realized.
  • a pointing device such as a trackball or a touch pen may be used instead of the mouse 102.
  • the configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Control Of Stepping Motors (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

A testing apparatus (100) that tests the operation of a driving apparatus (200), the driving apparatus being an external apparatus, is provided with: a display control unit that displays, on a screen (10), a virtual manual pulse generation device (103b) that generates a pulse signal according to a rotational amount; and a data transmission unit that calculates the number of pulses of the pulse signal based on the rotational amount of the operated virtual manual pulse generation device (103b) every first period of time, that accumulates pulse-number data, which is obtained by adding time information to the number of pulses calculated every first period of time, for a second period of time longer than the first period of time, and that transmits a plurality of sets of pulse-number data accumulated for the second period of time, as one combined pulse-number data set, to the driving apparatus (200) every second period of time.

Description

テスト装置Test equipment

 本発明は、外部装置である駆動装置のテスト装置に関する。 The present invention relates to a test device for a drive device that is an external device.

 可動部と可動部を駆動するモータとモータに電力を供給するドライバとドライバに指令パルスを出力するコントローラとを備える駆動装置では、コントローラから出力される指令パルスによってモータが駆動され、モータの回転量に応じて可動部の移動量が決定される。コントローラから出力される指令パルスのパルス数は、コントローラに記録されたプログラムを実行することにより計算され、通常の運転時には可動部が目的の位置または速度になるように計算される。 In a drive unit including a movable part, a motor that drives the movable part, a driver that supplies electric power to the motor, and a controller that outputs a command pulse to the driver, the motor is driven by the command pulse output from the controller, and the amount of rotation of the motor The moving amount of the movable part is determined according to the above. The number of command pulses output from the controller is calculated by executing a program recorded in the controller, and is calculated so that the movable part is at a target position or speed during normal operation.

 駆動装置では、駆動装置の出荷前の調整時または駆動装置の異常発生時において、可動部の移動量を微調整する必要があるため、指令パルスに相当するパルスを発生させる手動パルス発生装置が使用される場合がある。手動パルス発生装置を使用する場合、手動パルス発生装置をコントローラに接続し、手動パルス発生装置が備えるダイヤル式の回転部を人が操作することにより、回転部の回転量に応じたパルス信号のパルス数がドライバまたはコントローラに送信される。これにより、パルス信号のパルス数に対応してモータの回転量が決定され、可動部の移動量を微調整できる。 In the drive unit, it is necessary to finely adjust the amount of movement of the movable part when adjusting the drive unit before shipment or when an abnormality occurs in the drive unit, so a manual pulse generator that generates a pulse corresponding to the command pulse is used. May be. When using a manual pulse generator, connect the manual pulse generator to the controller and manually operate the dial-type rotary part provided in the manual pulse generator, so that the pulse of the pulse signal according to the amount of rotation of the rotary part The number is sent to the driver or controller. Thereby, the rotation amount of the motor is determined in accordance with the number of pulses of the pulse signal, and the movement amount of the movable part can be finely adjusted.

 手動パルス発生装置を使用することで可動部の移動量を微調整できるが、手動パルス発生装置が取り付けられていない駆動装置では、人が可動部の移動量を微調整できない。この場合、駆動装置のエンジニアリングツールの運転テスト機能を使うことで可動部を動かすことができる。駆動装置のエンジニアリングツールには、ソフトウェアがインストールされたコンピュータを例示でき、運転テスト機能には、駆動装置の可動部を一定速度で動かすJOG(Jogging)運転、または指定の移動量だけ移動させる位置決め運転といったものを例示できる。駆動装置のエンジニアリングツールにより、手動パルス発生装置を用いることなく駆動装置の運転テストを行うことができる。 ¡The amount of movement of the movable part can be fine-tuned by using the manual pulse generator, but with a drive device that is not equipped with a manual pulse generator, a person cannot fine-tune the amount of movement of the movable part. In this case, the movable part can be moved by using the operation test function of the engineering tool of the drive device. The drive device engineering tool can be exemplified by a computer with software installed, and the operation test function includes a jog (jogging) operation in which the movable part of the drive device is moved at a constant speed, or a positioning operation in which the drive device is moved by a specified amount of movement. Can be exemplified. With the driving tool engineering tool, the driving test of the driving device can be performed without using a manual pulse generator.

 特許文献1には駆動装置のエンジニアリングツールの一例が示される。特許文献1に開示される技術は、操作対象の装置本体に接続された表示手段に仮想操作盤を表示させ、実際の操作盤で行われる操作と同様の操作を、仮想操作盤上で行うことができるように構成されている。 Patent Document 1 shows an example of an engineering tool for a driving device. The technique disclosed in Patent Literature 1 displays a virtual operation panel on a display unit connected to an operation target apparatus body, and performs operations similar to operations performed on an actual operation panel on the virtual operation panel. It is configured to be able to.

特開平10-116110号公報JP 10-116110 A

 特許文献1に代表される従来技術の駆動装置のエンジニアリングツールは、駆動装置に有線または無線の通信回線で接続される。ここでエンジニアリングツールに接続される通信回線のデータ伝送周期は、実物の手動パルス発生装置からコントローラへ送信されるパルスの伝送周期に比べて長い。一方、実物の手動パルス発生装置が用いられている場合、回転部の回転量に応じたパルス信号のパルス数は、回転部が回転速度の高低に関わりなく駆動装置へ伝達される。特許文献1に代表される従来技術の駆動装置のエンジニアリングツールでは、通信回線のデータ伝送周期が長いため、通信回線のデータ伝送周期よりも短い周期において、パルス数が複数回発生するような操作が回転部で行われたとき、回転部の回転量に応じたパルス信号のパルス数の一部のみが駆動装置に伝達される場合がある。従って、従来技術の駆動装置のエンジニアリングツールでは、通信回線のデータ伝送周期を短くするといった措置を講じなければ、仮想的な回転部の操作に追従させて駆動装置内のモータを滑らかに駆動させることができず、可動部の微調整を効率的に行うことができない場合があるという課題があった。 A conventional engineering tool for a driving device represented by Patent Document 1 is connected to the driving device by a wired or wireless communication line. Here, the data transmission cycle of the communication line connected to the engineering tool is longer than the transmission cycle of the pulse transmitted from the actual manual pulse generator to the controller. On the other hand, when an actual manual pulse generator is used, the number of pulses of the pulse signal corresponding to the amount of rotation of the rotating unit is transmitted to the driving device regardless of whether the rotating unit has a high or low rotational speed. In the engineering tool of the prior art drive device represented by Patent Document 1, since the data transmission cycle of the communication line is long, an operation in which the number of pulses is generated a plurality of times in a cycle shorter than the data transmission cycle of the communication line is performed. When performed in the rotating unit, only a part of the number of pulses of the pulse signal corresponding to the amount of rotation of the rotating unit may be transmitted to the driving device. Therefore, in the conventional driving device engineering tool, unless measures such as shortening the data transmission cycle of the communication line are taken, the motor in the driving device is smoothly driven by following the operation of the virtual rotating unit. There is a problem in that fine adjustment of the movable part may not be performed efficiently.

 本発明は、上記に鑑みてなされたものであって、駆動装置内の可動部の調整を効率的に行うことができるテスト装置を得ることを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to obtain a test apparatus capable of efficiently adjusting a movable part in a drive device.

 上述した課題を解決し、目的を達成するために、本発明のテスト装置は、操作量に応じたパルス信号を発生する仮想的な手動パルス発生装置を画面に表示させる表示制御部と、操作された仮想的な手動パルス発生装置の操作量に応じたパルス信号のパルス数を第1の時間毎に算出し、第1の時間毎に算出したパルス数に時間情報を付加したパルス数データを、第1の時間よりも長い第2の時間蓄積し、第2の時間蓄積した複数のパルス数データを1つの結合パルス数データとして第2の時間毎に外部装置へ送信するデータ送信部とを備えたことを特徴とする。 In order to solve the above-described problems and achieve the object, the test apparatus of the present invention is operated by a display control unit that displays a virtual manual pulse generator that generates a pulse signal according to an operation amount on a screen. The number of pulses of the pulse signal corresponding to the operation amount of the virtual manual pulse generator is calculated every first time, and the pulse number data obtained by adding time information to the number of pulses calculated every first time, A data transmission unit that accumulates a second time longer than the first time, and transmits a plurality of pulse number data accumulated for the second time as one combined pulse number data to an external device every second time. It is characterized by that.

 本発明に係るテスト装置は、駆動装置内の可動部の調整を効率的に行うことができる、という効果を奏する。 The test apparatus according to the present invention has an effect that the movable part in the driving apparatus can be adjusted efficiently.

実施の形態に係るテスト装置とテスト装置に接続される駆動装置とを示す図The figure which shows the test device which concerns on embodiment, and the drive device connected to a test device 実施の形態に係るテスト装置の端末が備える機能ブロック図Functional block diagram provided in the terminal of the test apparatus according to the embodiment 図1に示す仮想的な手動パルス発生装置をマウスの操作によって回転させたときの状態を説明するための図The figure for demonstrating a state when rotating the virtual manual pulse generator shown in FIG. 1 by operation of a mouse | mouth. 実物の手動パルス発生装置を用いてモータを駆動するときの駆動量を示す図The figure which shows the drive amount when driving a motor using a real manual pulse generator 仮想的な手動パルス発生装置を用いて第2の通信でモータを駆動するときの駆動量を示す図The figure which shows the drive amount when driving a motor by 2nd communication using a virtual manual pulse generator. 実施の形態に係る仮想的な手動パルス発生装置を0msから500msまでの間に120°回転させたときの50ms毎の位置および50ms毎の発生パルス数を示す図The figure which shows the position for every 50 ms when the virtual manual pulse generator which concerns on embodiment rotates 120 degrees between 0 ms and 500 ms, and the number of generated pulses for every 50 ms コントローラへ送信される結合パルス数データに含まれるパルス数データ群を説明するための図The figure for demonstrating the pulse number data group contained in the coupling pulse number data transmitted to a controller 図7に示すパルス数とパルス数に対応した駆動量との関係を示す図The figure which shows the relationship between the drive amount corresponding to the pulse number shown in FIG. 7, and the pulse number 図1に示す運転テスト画面の拡大図Enlarged view of the operation test screen shown in FIG. 実施の形態に係る仮想的な手動パルス発生装置を実現するハードウェアの構成例を示す図The figure which shows the structural example of the hardware which implement | achieves the virtual manual pulse generator which concerns on embodiment

 以下に、テスト装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 The test equipment will be described in detail below based on the drawings. Note that the present invention is not limited to the embodiments.

実施の形態.
 図1は実施の形態に係るテスト装置とテスト装置に接続される駆動装置とを示す図である。図2は実施の形態に係るテスト装置の端末が備える機能ブロック図である。実施の形態に係るテスト装置100は、外部装置である駆動装置200に対してパルスまたはそれに相当する信号を送信することで運転テストを実施するための装置である。
Embodiment.
FIG. 1 is a diagram illustrating a test apparatus according to an embodiment and a driving apparatus connected to the test apparatus. FIG. 2 is a functional block diagram provided in the terminal of the test apparatus according to the embodiment. The test apparatus 100 according to the embodiment is an apparatus for performing an operation test by transmitting a pulse or a signal corresponding thereto to the drive apparatus 200 that is an external apparatus.

 図1においてテスト装置100は、パソコンまたはタブレットに代表される端末101と、端末101に接続されたマウス102と、端末101にインストールされたエンジニアリングツール103とを備える。図1ではテスト装置100としてノート型パソコンを用いた例を示す。 1, the test apparatus 100 includes a terminal 101 represented by a personal computer or a tablet, a mouse 102 connected to the terminal 101, and an engineering tool 103 installed in the terminal 101. FIG. 1 shows an example in which a notebook personal computer is used as the test apparatus 100.

 マウス102は、端末101を操作するマンマシンインタフェースであり、端末101の画面10上に表示されるポインタまたはアイコンを操作するために用いる。エンジニアリングツール103は運転テスト画面103aを有し、運転テスト画面103aの中には、操作量に応じたパルス信号を発生するための仮想的な手動パルス発生装置103bが表示される。 The mouse 102 is a man-machine interface for operating the terminal 101, and is used for operating a pointer or an icon displayed on the screen 10 of the terminal 101. The engineering tool 103 has an operation test screen 103a, and a virtual manual pulse generator 103b for generating a pulse signal corresponding to the operation amount is displayed in the operation test screen 103a.

 図1に示す仮想的な手動パルス発生装置103bは、実物の手動パルス発生装置が備える回転部に相当する。実物の手動パルス発生装置では、回転部を1回転させたときに発生するパルス数が製品ごとに決められている。1回転させたときに発生するパルス数は100パルス、200パルスといったパルス数を例示できる。実施の形態に係るテスト装置100には、実物の手動パルス発生装置と同様に、仮想的な手動パルス発生装置103bを1回転させたときに発生するパルス数が予め設定されている。 The virtual manual pulse generator 103b shown in FIG. 1 corresponds to a rotating unit included in a real manual pulse generator. In the actual manual pulse generator, the number of pulses generated when the rotating unit is rotated once is determined for each product. Examples of the number of pulses generated when one rotation is made include 100 pulses and 200 pulses. In the test apparatus 100 according to the embodiment, the number of pulses generated when the virtual manual pulse generator 103b is rotated once is set in advance, as in the actual manual pulse generator.

 テスト装置100は、通信回線11を介して駆動装置200に接続される。駆動装置200は、可動部204と、可動部204を駆動するモータ203と、モータ203に電力を供給するドライバ202と、ドライバ202に指令パルスを送信するコントローラ201とを備える。図1では端末101がコントローラ201に接続されているが、ドライバ202にコントローラ201と同様の制御機能が備わっている場合、端末101をドライバ202に接続して運転テストを実施することもできる。 The test apparatus 100 is connected to the driving apparatus 200 via the communication line 11. The driving device 200 includes a movable unit 204, a motor 203 that drives the movable unit 204, a driver 202 that supplies power to the motor 203, and a controller 201 that transmits a command pulse to the driver 202. In FIG. 1, the terminal 101 is connected to the controller 201. However, when the driver 202 has a control function similar to that of the controller 201, the driving test can be performed by connecting the terminal 101 to the driver 202.

 図2において端末101は、仮想的な手動パルス発生装置103bを画面10に表示させる表示制御部20を備える。またテスト装置100はデータ送信部30を備える。データ送信部30は、図1に示す画面10に表示された仮想的な手動パルス発生装置103bの操作が行われたとき、仮想的な手動パルス発生装置103bの操作量に応じたパルス信号のパルス数32aを第1の時間毎に算出する。またデータ送信部30は、第1の時間毎に算出したパルス数32aに時間情報を付加したパルス数データを、第1の時間よりも長い第2の時間蓄積し、第2の時間蓄積した複数のパルス数データを1つの結合パルス数データ33aとして第2の時間毎に駆動装置200へ送信する。本実施の形態では、時間情報は第1の時間に相当する時間を示す情報である。 2, the terminal 101 includes a display control unit 20 that displays a virtual manual pulse generator 103 b on the screen 10. The test apparatus 100 includes a data transmission unit 30. When the operation of the virtual manual pulse generator 103b displayed on the screen 10 shown in FIG. 1 is performed, the data transmission unit 30 performs a pulse signal pulse corresponding to the operation amount of the virtual manual pulse generator 103b. Equation 32a is calculated for each first time. Further, the data transmission unit 30 accumulates the pulse number data obtained by adding time information to the pulse number 32a calculated every first time for a second time longer than the first time, and the plurality of times accumulated for the second time. Is transmitted to the driving device 200 every second time as one combined pulse number data 33a. In the present embodiment, the time information is information indicating a time corresponding to the first time.

 データ送信部30は、回転量算出部31、パルス数算出部32、データ保存部33および通信部34を有する。回転量算出部31は、マウス102の座標移動量を取得し、座標移動量の変位量の差を検出して、この検出された値に基づいて、操作量である回転量と回転方向とを算出する。 The data transmission unit 30 includes a rotation amount calculation unit 31, a pulse number calculation unit 32, a data storage unit 33, and a communication unit 34. The rotation amount calculation unit 31 acquires the coordinate movement amount of the mouse 102, detects a difference in the displacement amount of the coordinate movement amount, and calculates the rotation amount and the rotation direction as the operation amount based on the detected value. calculate.

 具体的には、回転量算出部31では、図1に示す仮想的な手動パルス発生装置103bの固定座標[x1,y1]が回転の中心位置として割り当てられる。また、回転量算出部31では、X方向の変化量およびY方向の変化量の正負値が、二次元空間における回転方向として割り当てられる。正負値を回転方向として割り当てる理由は、仮想的な手動パルス発生装置103bの回転方向と図1に示す駆動装置200の可動部204とが連動するためである。一例としては、仮想的な手動パルス発生装置103bが時計周りの方向に操作されたときには可動部204が図1の紙面右方向に移動し、仮想的な手動パルス発生装置103bが反時計周りの方向に操作されたときには、可動部204は図1の紙面左方向に移動する。 Specifically, the rotation amount calculation unit 31 assigns the fixed coordinates [x1, y1] of the virtual manual pulse generator 103b shown in FIG. 1 as the rotation center position. In addition, the rotation amount calculation unit 31 assigns the positive and negative values of the change amount in the X direction and the change amount in the Y direction as the rotation direction in the two-dimensional space. The reason why the positive and negative values are assigned as the rotation direction is that the rotation direction of the virtual manual pulse generator 103b and the movable portion 204 of the drive device 200 shown in FIG. As an example, when the virtual manual pulse generator 103b is operated in the clockwise direction, the movable portion 204 moves to the right in the drawing of FIG. 1, and the virtual manual pulse generator 103b is rotated in the counterclockwise direction. When operated, the movable unit 204 moves leftward in FIG.

 回転量算出部31は、固定座標[x1,y1]と操作開始座標[x1a,y1a]とに基づき、固定座標と操作開始座標とを結ぶ線分R1を求める。同様に回転量算出部31は、固定座標[x1,y1]と操作終了座標[x1b,y1b]とに基づき、固定座標[x1,y1]と操作終了座標[x1b,y1b]とを結ぶ線分R2を求める。回転量算出部31は、求めた線分R1,R2の成す角度を、固定座標を中心とした回転角度として算出し、算出した回転角度に対応する仮想的な手動パルス発生装置103bの操作量である回転量を算出する。 The rotation amount calculation unit 31 obtains a line segment R1 connecting the fixed coordinate and the operation start coordinate based on the fixed coordinate [x1, y1] and the operation start coordinate [x1a, y1a]. Similarly, the rotation amount calculation unit 31 is based on the fixed coordinates [x1, y1] and the operation end coordinates [x1b, y1b] and connects the fixed coordinates [x1, y1] and the operation end coordinates [x1b, y1b]. Find R2. The rotation amount calculation unit 31 calculates the angle formed by the obtained line segments R1 and R2 as a rotation angle with the fixed coordinate as the center, and the operation amount of the virtual manual pulse generator 103b corresponding to the calculated rotation angle. A certain amount of rotation is calculated.

 パルス数算出部32は、回転量算出部31で算出された回転量に応じたパルス信号のパルス数32aを第1の時間毎に算出する。第1の時間は50msを例示できる。 The pulse number calculation unit 32 calculates the pulse number 32a of the pulse signal corresponding to the rotation amount calculated by the rotation amount calculation unit 31 every first time. The first time can be exemplified as 50 ms.

 データ保存部33は、パルス数算出部32で第1の時間毎に算出されたパルス数32aに時間情報を付加したパルス数データを、第1の時間よりも長い第2の時間蓄積する。第2の時間は後述する250msを例示できる。 The data storage unit 33 accumulates pulse number data obtained by adding time information to the pulse number 32a calculated for each first time by the pulse number calculation unit 32 for a second time longer than the first time. The second time can be exemplified by 250 ms described later.

 通信部34は、データ保存部33で第2の時間蓄積された複数のパルス数データを1つの結合パルス数データ33aとして第2の時間毎に駆動装置200へ送信する。通信部34は、結合パルス数データ33aを送信する際、通信回線11のプロトコルに準拠したフレームに結合パルス数データ33aを組み込み、送信先を駆動装置200として出力する。通信部34が1つの結合パルス数データ33aを送信した時点で、データ保存部33に蓄積された当該結合パルス数データ33aは削除され、その時点から第2の時間が経過するまでの間に、複数のパルス数データがデータ保存部33に蓄積される。運転テスト中はこの処理が繰り返される。 The communication unit 34 transmits the plurality of pulse number data accumulated in the data storage unit 33 for the second time as one combined pulse number data 33a to the driving device 200 every second time. When transmitting the combined pulse number data 33 a, the communication unit 34 incorporates the combined pulse number data 33 a in a frame conforming to the protocol of the communication line 11 and outputs the transmission destination as the driving device 200. When the communication unit 34 transmits one combined pulse number data 33a, the combined pulse number data 33a accumulated in the data storage unit 33 is deleted, and the second time elapses from that point. A plurality of pulse number data is accumulated in the data storage unit 33. This process is repeated during the driving test.

 表示制御部20は、回転量算出部31で算出された回転量に従い画面表示を更新し、画面10に表示される仮想的な手動パルス発生装置103bを回転させる。 The display control unit 20 updates the screen display according to the rotation amount calculated by the rotation amount calculation unit 31, and rotates the virtual manual pulse generator 103b displayed on the screen 10.

 コントローラ201は、通信部34から第2の時間毎に送信された結合パルス数データ33aを受信し、結合パルス数データ33aに含まれる複数のパルス数データの各々に付加された時間情報に基づいて、結合パルス数データ33aに含まれるパルス数の総数を、第1の時間毎のパルス数に分解する。そしてコントローラ201は、分解された第1の時間毎のパルス数によってモータ203を駆動する。 The controller 201 receives the combined pulse number data 33a transmitted from the communication unit 34 every second time, and based on the time information added to each of the plurality of pulse number data included in the combined pulse number data 33a. The total number of pulses included in the combined pulse number data 33a is decomposed into the number of pulses for each first time. Then, the controller 201 drives the motor 203 with the number of pulses for each decomposed first time.

 以下、図3から図8を用いてテスト装置100の動作を説明する。図3は図1に示す仮想的な手動パルス発生装置をマウスの操作によって回転させたときの状態を説明するための図である。図3(A)および図3(B)には、端末101の画面10上に表示される仮想的な手動パルス発生装置103bおよびポインタ12が示される。図3(A)には、マウス102で操作される前、すなわち回転前の仮想的な手動パルス発生装置103bが示される。図3(B)には、マウス102で操作された後、すなわち回転後の仮想的な手動パルス発生装置103bが示される。図3(A)に示すPはマウスドラッグ開始位置であり、図3(B)に示すP’はマウスドラッグ終了位置である。 Hereinafter, the operation of the test apparatus 100 will be described with reference to FIGS. FIG. 3 is a view for explaining a state when the virtual manual pulse generator shown in FIG. 1 is rotated by operating the mouse. FIGS. 3A and 3B show a virtual manual pulse generator 103 b and a pointer 12 displayed on the screen 10 of the terminal 101. FIG. 3A shows a virtual manual pulse generator 103b before being operated with the mouse 102, that is, before being rotated. FIG. 3B shows the virtual manual pulse generator 103b after being operated with the mouse 102, that is, after being rotated. P shown in FIG. 3A is a mouse drag start position, and P ′ shown in FIG. 3B is a mouse drag end position.

 端末101の画面10上に表示される仮想的な手動パルス発生装置103bは、ポインタ12またはアイコンの移動量に対応して、その回転方向および回転量が変化する。仮想的な手動パルス発生装置103bの回転方向および回転量は図2に示す表示制御部20により制御される。まずマウス102が操作されることにより、ポインタ12がマウスドラッグ開始位置Pに移動される。次にマウス102のドラッグ操作により、ポインタ12がマウスドラッグ終了位置P’まで移動される。図示例では、仮想的な手動パルス発生装置103bが時計周りの方向に回転するように操作される。このときテスト装置100は、画面10に表示される仮想的な手動パルス発生装置103bの回転角度を算出し、その回転角度に対応したパルス数を算出する。 The virtual manual pulse generator 103b displayed on the screen 10 of the terminal 101 changes its rotation direction and rotation amount in accordance with the movement amount of the pointer 12 or icon. The direction and amount of rotation of the virtual manual pulse generator 103b are controlled by the display control unit 20 shown in FIG. First, when the mouse 102 is operated, the pointer 12 is moved to the mouse drag start position P. Next, by the drag operation of the mouse 102, the pointer 12 is moved to the mouse drag end position P '. In the illustrated example, the virtual manual pulse generator 103b is operated so as to rotate in the clockwise direction. At this time, the test apparatus 100 calculates the rotation angle of the virtual manual pulse generator 103b displayed on the screen 10, and calculates the number of pulses corresponding to the rotation angle.

 なお仮想的な手動パルス発生装置103bの回転操作は、マウス102によるドラッグ操作に限定されるものではない。テスト装置100がタブレット端末である場合、またはテスト装置100がタッチパネル式の画面を備えている場合、タブレット端末またはタッチパネル式の画面がタッチ操作されることでも、回転操作が可能である。この場合、図2に示す回転量算出部31は、タッチ操作で得られた座標移動量を取得し、座標移動量の変位量の差を検出して、この検出された値に基づいて回転量を算出する。 Note that the rotation operation of the virtual manual pulse generator 103b is not limited to the drag operation by the mouse 102. When the test apparatus 100 is a tablet terminal, or when the test apparatus 100 includes a touch panel screen, the rotation operation can be performed by touching the tablet terminal or the touch panel screen. In this case, the rotation amount calculation unit 31 illustrated in FIG. 2 acquires the coordinate movement amount obtained by the touch operation, detects a difference in the displacement amount of the coordinate movement amount, and the rotation amount based on the detected value. Is calculated.

 またマウス102による操作は、マウスホイールを回転させたときの回転量を用いて実現してもよい。この場合、ポインタ12がマウスドラッグ開始位置Pに移動され、その後マウスホイールが回転されることで、回転量算出部31は、マウスホイールの回転量を手動パルス発生装置103bの回転量に変換し、またはマウスホイールの回転量を使用者が望む倍率で仮想的な手動パルス発生装置103bの回転量に変換する。 Further, the operation by the mouse 102 may be realized by using the rotation amount when the mouse wheel is rotated. In this case, when the pointer 12 is moved to the mouse drag start position P and then the mouse wheel is rotated, the rotation amount calculation unit 31 converts the rotation amount of the mouse wheel into the rotation amount of the manual pulse generator 103b. Alternatively, the rotation amount of the mouse wheel is converted into the rotation amount of the virtual manual pulse generator 103b at a magnification desired by the user.

 ここで、仮想的な手動パルス発生装置103bの回転量に対応したパルス数を、駆動装置200のコントローラ201に送信することを考える。実物の手動パルス発生装置がコントローラ201に接続されている場合、実物の手動パルス発生装置からコントローラ201へ送信されるパルスの伝送周期は短いため、コントローラ201は、実物の手動パルス発生装置が回転したときに発生する個々のパルス毎にモータ203を駆動するための処理を行うことができる。従ってモータ203を連続的に滑らかに駆動させることができる。従って、実物の手動パルス発生装置の使用者は、可動部204の微調整を直観的かつ効率的に行うことができる。 Here, it is considered that the number of pulses corresponding to the rotation amount of the virtual manual pulse generator 103b is transmitted to the controller 201 of the drive device 200. When a real manual pulse generator is connected to the controller 201, the transmission cycle of pulses transmitted from the real manual pulse generator to the controller 201 is short, so that the controller 201 rotates the real manual pulse generator. A process for driving the motor 203 can be performed for each individual pulse generated at times. Therefore, the motor 203 can be continuously and smoothly driven. Therefore, the user of the actual manual pulse generator can intuitively and efficiently perform fine adjustment of the movable portion 204.

 なお、仮想的な手動パルス発生装置103bとコントローラ201とが高速で通信可能な場合、コントローラ201は、仮想的な手動パルス発生装置103bの回転により発生した個々のパルス毎にモータ203を駆動するための処理を行うことができる。すなわち、通信回線11におけるデータ伝送周期が、実物の手動パルス発生装置からコントローラ201へ送信されるパルスの伝送周期と同等である場合、パルスが1つ発生する毎にパルス情報がコントローラ201へ送信されるため、モータ203を連続的に滑らかに駆動させることができる。 When the virtual manual pulse generator 103b and the controller 201 can communicate at high speed, the controller 201 drives the motor 203 for each individual pulse generated by the rotation of the virtual manual pulse generator 103b. Can be processed. That is, when the data transmission cycle in the communication line 11 is equal to the transmission cycle of the pulse transmitted from the actual manual pulse generator to the controller 201, the pulse information is transmitted to the controller 201 every time one pulse is generated. Therefore, the motor 203 can be continuously and smoothly driven.

 しかしながら現実には、テスト装置100とコントローラ201との間の通信回線11のデータ伝送周期は250msといった時間であり、これは実物の手動パルス発生装置からコントローラへ送信されるパルスの伝送周期に比べて長い。ここで仮想的な手動パルス発生装置103bを360°回転させたときに発生するパルス数を100としたとき、仮想的な手動パルス発生装置103bを120°回転されたときに発生するパルス数は33である。また仮想的な手動パルス発生装置103bを500msの間に120°回転させたと仮定したとき、テスト装置100が以下に示す第1の通信または第2の通信でパルス数データを駆動装置200へ送信する場合を考える。 However, in reality, the data transmission cycle of the communication line 11 between the test apparatus 100 and the controller 201 is a time of 250 ms, which is compared with the transmission cycle of pulses transmitted from the actual manual pulse generator to the controller. long. Here, assuming that the number of pulses generated when the virtual manual pulse generator 103b is rotated 360 ° is 100, the number of pulses generated when the virtual manual pulse generator 103b is rotated 120 ° is 33. It is. When it is assumed that the virtual manual pulse generator 103b is rotated by 120 ° for 500 ms, the test apparatus 100 transmits pulse number data to the driving apparatus 200 by the first communication or the second communication described below. Think about the case.

 第1の通信では、データ伝送周期が250msであり、250ms毎に1パルス分のパルス数データが送信されると仮定する。第1の通信では、モータ203を33パルス駆動させるために、8250msが必要となる。そのため8250msより短い時間で仮想的な手動パルス発生装置103bを120°回転させた場合、モータ203の駆動量は、仮想的な手動パルス発生装置103bの回転量と一致せず、モータ203は、仮想的な手動パルス発生装置103bの回転に追従できない。モータ203は、500msの間に、2パルス分の駆動しか行われないことになる。 In the first communication, it is assumed that the data transmission cycle is 250 ms, and pulse number data for one pulse is transmitted every 250 ms. In the first communication, 8250 ms is required to drive the motor 203 by 33 pulses. Therefore, when the virtual manual pulse generator 103b is rotated 120 ° in a time shorter than 8250 ms, the drive amount of the motor 203 does not coincide with the rotation amount of the virtual manual pulse generator 103b. Cannot follow the rotation of a typical manual pulse generator 103b. The motor 203 is driven only for two pulses in 500 ms.

 第2の通信では、データ伝送周期が250msであり、250ms毎に発生した全てのパルスのパルス数データが送信されると仮定する。仮想的な手動パルス発生装置103bを500msの間に一定速度で120°回転させた場合、0msから250msまでの間に16パルスが発生し、250msから500msまでの間に17パルスが発生する。なお17パルスには1パルス未満の積算分の1パルスも加えられているものとする。そのため第2の通信においては、テスト装置100と駆動装置200との間では、16パルスを送信する通信と、17パルスを送信する通信との計2回の通信が行われる。この場合、モータ203の駆動量は、仮想的な手動パルス発生装置103bの回転量と一致する。ところがこの場合のモータ203は、16パルス分の駆動と17パルス分の駆動とを250ms毎に行うため、モータ203を連続的に滑らかに駆動させることができない。 In the second communication, it is assumed that the data transmission cycle is 250 ms and the pulse number data of all the pulses generated every 250 ms is transmitted. When the virtual manual pulse generator 103b is rotated 120 ° at a constant speed for 500 ms, 16 pulses are generated from 0 ms to 250 ms, and 17 pulses are generated from 250 ms to 500 ms. It is assumed that an integrated pulse of less than 1 pulse is added to 17 pulses. Therefore, in the second communication, communication between the test apparatus 100 and the driving apparatus 200 is performed twice, that is, communication that transmits 16 pulses and communication that transmits 17 pulses. In this case, the drive amount of the motor 203 matches the rotation amount of the virtual manual pulse generator 103b. However, since the motor 203 in this case performs driving for 16 pulses and driving for 17 pulses every 250 ms, the motor 203 cannot be continuously and smoothly driven.

 図4は実物の手動パルス発生装置を用いてモータを駆動するときの駆動量を示す図である。図5は仮想的な手動パルス発生装置を用いて第2の通信でモータを駆動するときの駆動量を示す図である。図4および図5の縦軸はモータ203の駆動量を表し、駆動量はパルス数で表されている。図4および図5の横軸は時間を表す。 FIG. 4 is a diagram showing the drive amount when the motor is driven using a real manual pulse generator. FIG. 5 is a diagram showing the drive amount when the motor is driven by the second communication using the virtual manual pulse generator. The vertical axis in FIGS. 4 and 5 represents the drive amount of the motor 203, and the drive amount is represented by the number of pulses. The horizontal axis in FIGS. 4 and 5 represents time.

 図5では、250ms経過したときにモータ203が16パルス分駆動し、500ms経過したときにモータ203が17パルス分駆動する。このように仮想的な手動パルス発生装置を用いて第2の通信でモータを駆動する場合、手動パルス発生装置を用いてモータを駆動するときに比べて、駆動量が急激に変化するため、可動部204は250ms毎に大きく動作する。 In FIG. 5, the motor 203 is driven for 16 pulses when 250 ms elapses, and the motor 203 is driven for 17 pulses when 500 ms elapses. In this way, when the motor is driven by the second communication using the virtual manual pulse generator, the drive amount changes more rapidly than when the motor is driven using the manual pulse generator. The unit 204 operates largely every 250 ms.

 テスト装置100とコントローラ201との間の通信回線11のデータ伝送周期を短くするためには技術的課題があり、当該データ伝送周期を短くすることは困難である。そこで本実施の形態に係るテスト装置100は、時間情報を付加したパルス数データを第2の時間蓄積して得られた1つの結合パルス数データを1回の通信で駆動装置200へ送信する。これにより、通信回線11のデータ伝送周期が短くない場合でも、モータ203を、仮想的な手動パルス発生装置103bの回転に追従でき、連続的に滑らかに駆動させることができる。 There is a technical problem to shorten the data transmission cycle of the communication line 11 between the test apparatus 100 and the controller 201, and it is difficult to shorten the data transmission cycle. Therefore, the test apparatus 100 according to the present embodiment transmits one combined pulse number data obtained by accumulating the pulse number data to which the time information is added for the second time to the driving apparatus 200 by one communication. Thus, even when the data transmission cycle of the communication line 11 is not short, the motor 203 can follow the rotation of the virtual manual pulse generator 103b and can be continuously driven smoothly.

 図6は実施の形態に係る仮想的な手動パルス発生装置を0msから500msまでの間に120°回転させたときの50ms毎の位置および50ms毎の発生パルス数を示す図である。50msという時間は、モータ203を滑らかに駆動させるために短い時間として定めた値であり、前述した第1の時間に相当する。第1の時間は、駆動対象となる可動部204の特性に合わせて設定するものであり、50msであると仮定する。第1の時間は、実際にはテスト装置100の使用者が決められるようにしてもよい。 FIG. 6 is a diagram showing a position every 50 ms and the number of generated pulses every 50 ms when the virtual manual pulse generator according to the embodiment is rotated 120 ° from 0 ms to 500 ms. The time of 50 ms is a value determined as a short time for driving the motor 203 smoothly, and corresponds to the first time described above. The first time is set according to the characteristics of the movable part 204 to be driven, and is assumed to be 50 ms. The user of the test apparatus 100 may actually be determined for the first time.

 図6の紙面上側には仮想的な手動パルス発生装置103bが示される。図6の紙面下側に示す表には、当該仮想的な手動パルス発生装置103bが時計周りの方向に操作されたときにおける50ms毎の位置と、50ms毎の回転角度と、50ms毎に発生するパルス数とが対応付けられている。仮想的な手動パルス発生装置103bに示される位置P0は、前述したマウスドラッグ開始位置Pに対応し、仮想的な手動パルス発生装置103bに示される位置P10は、前述したマウスドラッグ終了位置P’に対応する。 The virtual manual pulse generator 103b is shown on the upper side of the drawing in FIG. The table shown on the lower side of FIG. 6 shows a position every 50 ms, a rotation angle every 50 ms, and every 50 ms when the virtual manual pulse generator 103b is operated in the clockwise direction. The number of pulses is associated. The position P0 indicated in the virtual manual pulse generator 103b corresponds to the mouse drag start position P described above, and the position P10 indicated in the virtual manual pulse generator 103b is the mouse drag end position P ′ described above. Correspond.

 仮想的な手動パルス発生装置103bに示される位置P1は、位置P0から50ms経過した時点の位置である。同様に、位置P2から位置P10は、位置P1から位置P9の各々から50ms経過した時点の位置である。 The position P1 indicated in the virtual manual pulse generator 103b is a position when 50 ms has elapsed from the position P0. Similarly, the position P2 to the position P10 are positions when 50 ms have elapsed from each of the position P1 to the position P9.

 位置P1に対応する回転角度は、仮想的な手動パルス発生装置103bの回転中心と位置P0とを結ぶ線分と、当該回転中心と位置P1とを結ぶ線分とが成す角度に相当する。図示例では位置P1に対応する回転角度が10°である。同様に、位置P2から位置P10の各々に対応する回転角度は、当該回転中心と位置P1から位置P9の各々とを結ぶ線分と、当該回転中心と位置P2から位置P10の各々とを結ぶ線分とが成す角度に相当する。 The rotation angle corresponding to the position P1 corresponds to an angle formed by a line segment connecting the rotation center of the virtual manual pulse generator 103b and the position P0 and a line segment connecting the rotation center and the position P1. In the illustrated example, the rotation angle corresponding to the position P1 is 10 °. Similarly, the rotation angle corresponding to each of the positions P2 to P10 is a line connecting the rotation center and each of the positions P1 to P9 and a line connecting the rotation center and each of the positions P2 to P10. Corresponds to the angle between minutes.

 位置P1に対応するパルス数は、位置P1に対応する回転角度に相当する回転量から算出される発生パルス数である。図示例では位置P1に対応するパルス数が2である。同様に位置P2から位置P10の各々に対応するパルス数は、位置P2から位置P10の各々に対応する回転角度に相当する回転量から算出される発生パルス数である。 The number of pulses corresponding to the position P1 is the number of generated pulses calculated from the rotation amount corresponding to the rotation angle corresponding to the position P1. In the illustrated example, the number of pulses corresponding to the position P1 is two. Similarly, the number of pulses corresponding to each of the positions P2 to P10 is the number of generated pulses calculated from the rotation amount corresponding to the rotation angle corresponding to each of the positions P2 to P10.

 図7はコントローラへ送信される結合パルス数データに含まれるパルス数データ群を説明するための図である。図8は図7に示すパルス数とパルス数に対応した駆動量との関係を示す図である。 FIG. 7 is a diagram for explaining a pulse number data group included in the combined pulse number data transmitted to the controller. FIG. 8 is a diagram showing the relationship between the number of pulses shown in FIG. 7 and the driving amount corresponding to the number of pulses.

 図7に左側には、操作が開始されてから250msが経過するまでに蓄積された1回目のパルス数データ群の一例が示される。図7に右側には、250msが経過した時点から500msが経過するまでに蓄積された2回目のパルス数データ群の一例が示される。1回目のパルス数データ群には、0msから250msまでの間に50ms毎に算出されるパルス数と、当該パルス数に付加された時間情報とが対応付けられている。250msは前述した第2の時間に相当する。1回目のパルス数データ群に示される複数のパルス数は、図6に示す位置P0で操作が開始された時点から位置P5に至るまでに50ms毎に算出されたパルス数である。2回目のパルス数データ群には、250msから500msまでの間に50ms毎に算出されるパルス数と、当該パルス数に付加された時間情報とが対応付けられている。250msから500msまでの時間は、前述した第2の時間に相当する。2回目のパルス数データ群に示される複数のパルス数は、図6に示す位置P6から位置P10に至るまでに50ms毎に算出されたパルス数である。 FIG. 7 shows an example of the first pulse number data group accumulated until 250 ms elapses after the operation is started. On the right side of FIG. 7, an example of the second pulse number data group accumulated from the time when 250 ms elapses until 500 ms elapses is shown. In the first pulse number data group, the number of pulses calculated every 50 ms from 0 ms to 250 ms is associated with time information added to the number of pulses. 250 ms corresponds to the second time described above. The plurality of pulse numbers shown in the first pulse number data group are the pulse numbers calculated every 50 ms from the time point when the operation is started at the position P0 shown in FIG. 6 to the position P5. In the second pulse number data group, the number of pulses calculated every 50 ms between 250 ms and 500 ms is associated with time information added to the number of pulses. The time from 250 ms to 500 ms corresponds to the second time described above. The plurality of pulse numbers shown in the second pulse number data group are the pulse numbers calculated every 50 ms from the position P6 to the position P10 shown in FIG.

 図8において、位置P0で操作が開始された時点を時間「0」としており、時間「0」から250msが経過するまでの間は、コントローラ201には結合パルス数データが伝送されない。位置P0で操作が開始された時点から250msが経過したとき、図7に示す1回目のパルス数データ群を含む結合パルス数データがコントローラ201に受信される。また、位置P0で操作が開始された時点から500msが経過したとき、図7に示す2回目のパルス数データ群を含む結合パルス数データがコントローラ201に受信される。 In FIG. 8, the time when the operation is started at the position P0 is set to time “0”, and the combined pulse number data is not transmitted to the controller 201 until 250 ms elapses from the time “0”. When 250 ms elapses from when the operation is started at the position P0, the combined pulse number data including the first pulse number data group shown in FIG. Further, when 500 ms elapses from the time when the operation is started at the position P0, the combined pulse number data including the second pulse number data group shown in FIG.

 1回目のパルス数データ群を含む結合パルス数データを受信したコントローラ201は、結合パルス数データに含まれる複数のパルス数データの各々に付加された時間情報に基づいて、第1の時間毎のパルス数を抽出して、第1の時間毎にモータ203を駆動する。具体的には、コントローラ201は、時間情報「50ms」に対応するパルス数「+2」を抽出してモータ203を駆動する。同様にコントローラ201は、時間情報「100ms」に対応するパルス数「+3」と、時間情報「150ms」に対応するパルス数「+2」と、時間情報「200ms」に対応するパルス数「+3」と、時間情報「250ms」に対応するパルス数「+4」とを抽出して、各々のパルス数でモータ203を駆動する。2回目のパルス数データ群を含む結合パルス数データを受信したときのコントローラ201の動作も同様である。 The controller 201 that has received the combined pulse number data including the first pulse number data group, for each first time based on the time information added to each of the plurality of pulse number data included in the combined pulse number data. The number of pulses is extracted, and the motor 203 is driven every first time. Specifically, the controller 201 extracts the number of pulses “+2” corresponding to the time information “50 ms” and drives the motor 203. Similarly, the controller 201 has a pulse number “+3” corresponding to the time information “100 ms”, a pulse number “+2” corresponding to the time information “150 ms”, and a pulse number “+3” corresponding to the time information “200 ms”. Then, the number of pulses “+4” corresponding to the time information “250 ms” is extracted, and the motor 203 is driven with each number of pulses. The operation of the controller 201 when receiving the combined pulse number data including the second pulse number data group is the same.

 コントローラ201では、位置P0で操作が開始された時点から250msが経過するまで、通信回線11のデータ伝送遅延時間により、パルス数に対応する駆動量を算出できない。しかしながら、位置P0で操作が開始された時点から250msが経過した後では、50ms毎のパルス数に対応する駆動量を算出できる。そのため、図5に示す第2の通信でモータ203を駆動する場合に比べて、モータ203を連続的に滑らかに駆動できる。 The controller 201 cannot calculate the drive amount corresponding to the number of pulses due to the data transmission delay time of the communication line 11 until 250 ms elapses after the operation is started at the position P0. However, after 250 ms has elapsed since the operation was started at the position P0, the driving amount corresponding to the number of pulses every 50 ms can be calculated. Therefore, the motor 203 can be continuously and smoothly driven as compared with the case where the motor 203 is driven by the second communication shown in FIG.

 図9は図1に示す運転テスト画面の拡大図である。図9に示す運転テスト画面103aは、端末101にインストールされたエンジニアリングツール103用のプログラムを、図2に示す表示制御部20が実行することにより実現される。 FIG. 9 is an enlarged view of the operation test screen shown in FIG. The operation test screen 103a illustrated in FIG. 9 is realized by the display control unit 20 illustrated in FIG. 2 executing a program for the engineering tool 103 installed in the terminal 101.

 運転テスト画面103aには、仮想的な手動パルス発生装置103bと、仮想的な手動パルス発生装置103bが1回転するときに発生するパルス数を入力するパルス数入力部103cとが表示される。また運転テスト画面103aには、パルス数の倍率を入力する倍率入力部103dと、仮想的な手動パルス発生装置103bから1秒間に出力されるパルス数の上限値を入力する上限値入力部103eが表示される。 The operation test screen 103a displays a virtual manual pulse generator 103b and a pulse number input unit 103c for inputting the number of pulses generated when the virtual manual pulse generator 103b rotates once. The operation test screen 103a includes a magnification input unit 103d for inputting a pulse number magnification and an upper limit input unit 103e for inputting an upper limit value of the number of pulses output per second from the virtual manual pulse generator 103b. Is displayed.

 これまでに説明した通り、マウス102によって仮想的な手動パルス発生装置103bを1回転させたときに発生するパルス数が、通信回線11でコントローラ201へ送信されることにより、モータ203が駆動する。 As described above, the number of pulses generated when the virtual manual pulse generator 103b is rotated once by the mouse 102 is transmitted to the controller 201 via the communication line 11, thereby driving the motor 203.

 パルス数入力部103cは、仮想的な手動パルス発生装置103bを1回転させたときに発生するパルス数を、使用者が設定可能にするものである。実物の手動パルス発生装置の場合、製品のハードウェア構成によっては、1回転中に発生するパルス数が決まっている。そのため1回転中に発生するパルス数を変更したい場合、1回転中に発生するパルス数が異なる値に設定されている別の手動パルス発生装置を用意する必要がある。 The pulse number input unit 103c allows the user to set the number of pulses generated when the virtual manual pulse generator 103b is rotated once. In the case of an actual manual pulse generator, the number of pulses generated during one rotation is determined depending on the hardware configuration of the product. Therefore, when it is desired to change the number of pulses generated during one rotation, it is necessary to prepare another manual pulse generator in which the number of pulses generated during one rotation is set to a different value.

 本実施の形態に係るテスト装置100によれば、図9に示すパルス数入力部103cによって、仮想的な手動パルス発生装置103bを1回転させたときに発生するパルス数を変更できる。従って、実物の手動パルス発生装置を複数台用意する必要がなく、運転テストのコストを低減できる。 The test apparatus 100 according to the present embodiment can change the number of pulses generated when the virtual manual pulse generator 103b is rotated once by the pulse number input unit 103c shown in FIG. Therefore, it is not necessary to prepare a plurality of actual manual pulse generators, and the cost of the operation test can be reduced.

 なおパルス数入力部103cは、キーボードを代表とする入力装置を用いて、使用者が望む数値を入力可能に構成してもよいし、プルダウンメニューを表示し、表示される複数のパルス数の中から、マウス102で選択可能に構成してもよい。 The pulse number input unit 103c may be configured to be able to input a numerical value desired by the user by using an input device typified by a keyboard, or displays a pull-down menu and displays a plurality of displayed pulse numbers. In addition, the mouse 102 may be selectable.

 倍率入力部103dは、仮想的な手動パルス発生装置103bを回転させたときに発生するパルス数の倍率を、使用者が設定可能にするものである。仮想的な手動パルス発生装置103bの回転量に対してモータ203を素早く駆動させる必要がある場合、パルス数の倍率を高めることにより、パルス数の倍率が1の場合に比べて、モータ203の駆動量を多くできる。従ってパルス数の倍率を1としてテストを行う場合に比べて、可動部204の調整を効率的に行うことができる。 The magnification input unit 103d allows the user to set the magnification of the number of pulses generated when the virtual manual pulse generator 103b is rotated. When it is necessary to drive the motor 203 quickly with respect to the rotation amount of the virtual manual pulse generator 103b, the motor 203 is driven by increasing the pulse number magnification as compared with the case where the pulse number magnification is 1. You can increase the amount. Therefore, the movable unit 204 can be adjusted more efficiently than when the test is performed with the pulse number magnification set to 1.

 なお倍率入力部103dは、パルス数入力部103cと同様に、入力装置を用いて使用者が望む倍率を入力可能に構成してもよいし、プルダウンメニューを表示し、表示される複数の倍率の中から、マウス102で選択可能に構成してもよい。 Similarly to the pulse number input unit 103c, the magnification input unit 103d may be configured to be able to input a magnification desired by the user using an input device, or may display a pull-down menu and display a plurality of displayed magnifications. It may be configured to be selectable with the mouse 102 from the inside.

 上限値入力部103eは、誤操作による可動部204の急激な移動を防止するためのものである。仮想的な手動パルス発生装置103bから単位時間当たりに算出されるパルス数の上限値を、上限値入力部103eに設定することにより、前述した第1の時間中に算出されるパルス数が制限される。そのため、コントローラ201で受信される結合パルス数データに含まれる複数のパルス数の各々の値は、上限値入力部103eに設定された値未満となる。実物の手動パルス発生装置の場合、使用者の誤操作により、意図しない角度まで手動パルス発生装置が回転された場合、可動部204が急激に移動してしまい、可動部204が過剰に移動し破損するといったリスクを伴うため、使用者には慎重な操作が求められる。なお前述した単位時間は、第1の時間以外の時間でもよく、第1の時間よりも短い時間、または第2の時間でもよい。 The upper limit value input unit 103e is for preventing a sudden movement of the movable unit 204 due to an erroneous operation. By setting the upper limit value of the number of pulses calculated per unit time from the virtual manual pulse generator 103b in the upper limit value input unit 103e, the number of pulses calculated during the first time described above is limited. The Therefore, each value of the plurality of pulse numbers included in the combined pulse number data received by the controller 201 is less than the value set in the upper limit value input unit 103e. In the case of an actual manual pulse generator, if the manual pulse generator is rotated to an unintended angle due to an erroneous operation by the user, the movable part 204 moves suddenly, and the movable part 204 moves excessively and is damaged. Therefore, the user is required to be careful. The unit time described above may be a time other than the first time, a time shorter than the first time, or a second time.

 本実施の形態に係るテスト装置100によれば、図9に示す上限値入力部103eによって、仮想的な手動パルス発生装置103bから1秒間に出力されるパルス数の最大値を変更できる。従って、実物の手動パルス発生装置に比べて、使用者の負担が軽減され、また可動部204が破損するといったリスクを軽減できる According to the test apparatus 100 according to the present embodiment, the maximum value of the number of pulses output per second from the virtual manual pulse generator 103b can be changed by the upper limit value input unit 103e shown in FIG. Therefore, compared with a real manual pulse generator, the burden on the user is reduced and the risk of the movable part 204 being damaged can be reduced.

 なお上限値入力部103eは、パルス数入力部103cと同様に、入力装置を用いて使用者が望む上限値を入力可能に構成してもよいし、プルダウンメニューを表示し、表示される複数の上限値の中から、マウス102で選択可能に構成してもよい。 The upper limit input unit 103e may be configured to be able to input an upper limit desired by the user using an input device, like the pulse number input unit 103c, or may display a pull-down menu and display a plurality of displayed values. The upper limit value may be selected with the mouse 102.

 以上に説明したように、本実施の形態に係るテスト装置100によれば、サーボ制御装置を代表とする駆動装置200の立上げ時、または駆動装置200の経年劣化時に発生した異常の解決を効率的に行うことができ、駆動装置200の立上げ時における作業工数の低減と、駆動装置200の運用時における保守工数の低減とを実現できる。 As described above, according to the test apparatus 100 according to the present embodiment, it is possible to efficiently solve an abnormality that has occurred when the drive apparatus 200 represented by the servo control apparatus is started up or when the drive apparatus 200 deteriorates over time. Therefore, it is possible to reduce the work man-hours when starting up the drive device 200 and the maintenance man-hours when operating the drive device 200.

 図10は実施の形態に係る仮想的な手動パルス発生装置を実現するハードウェアの構成例を示す図である。図10に示す装置は、プロセッサ61、メモリ62、入出力部63および表示器64を備える。プロセッサ61は受信したデータを用いてソフトウェアによる演算および制御を行い、メモリ62は受信したデータ又はプロセッサ61が演算および制御を行うに際して必要なデータおよびソフトウェアの記憶を行う。入出力部63には座標移動量が入力され、また入出力部63は通信回線11へパルス数データを出力する。表示器64は図1に示す画面10に相当する。図2に示すデータ送信部30および表示制御部20を実現する場合、データ送信部30および表示制御部20用のプログラムをメモリ62に格納しておき、このプログラムをプロセッサ61が実行することにより、データ送信部30および表示制御部20が実現される。 FIG. 10 is a diagram illustrating a configuration example of hardware for realizing the virtual manual pulse generation device according to the embodiment. The apparatus shown in FIG. 10 includes a processor 61, a memory 62, an input / output unit 63, and a display 64. The processor 61 performs computation and control by software using the received data, and the memory 62 stores received data or data and software necessary for the processor 61 to perform computation and control. A coordinate movement amount is input to the input / output unit 63, and the input / output unit 63 outputs pulse number data to the communication line 11. The display 64 corresponds to the screen 10 shown in FIG. When realizing the data transmission unit 30 and the display control unit 20 shown in FIG. 2, a program for the data transmission unit 30 and the display control unit 20 is stored in the memory 62, and the processor 61 executes this program, The data transmission unit 30 and the display control unit 20 are realized.

 なお本実施の形態では、仮想的な手動パルス発生装置103bの操作をマウス102で行う例を説明したが、マウス102の代わりにトラックボールまたはタッチペンといったポインティングデバイスを用いてもよい。 In this embodiment, an example in which the operation of the virtual manual pulse generator 103b is performed with the mouse 102 has been described. However, a pointing device such as a trackball or a touch pen may be used instead of the mouse 102.

 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

 10 画面、11 通信回線、12 ポインタ、20 表示制御部、30 データ送信部、31 回転量算出部、32 パルス数算出部、32a パルス数、33 データ保存部、33a 結合パルス数データ、34 通信部、100 テスト装置、101 端末、102 ポインティングデバイス、103 エンジニアリングツール、103a 運転テスト画面、103b 手動パルス発生装置、103c パルス数入力部、103d 倍率入力部、103e 上限値入力部、200 駆動装置、201 コントローラ、202 ドライバ、203 モータ、204 可動部。 10 screens, 11 communication lines, 12 pointers, 20 display control units, 30 data transmission units, 31 rotation amount calculation units, 32 pulse number calculation units, 32a pulse numbers, 33 data storage units, 33a combined pulse number data, 34 communication units , 100 test device, 101 terminal, 102 pointing device, 103 engineering tool, 103a operation test screen, 103b manual pulse generator, 103c pulse number input unit, 103d magnification input unit, 103e upper limit value input unit, 200 drive device, 201 controller 202 driver, 203 motor, 204 movable part.

Claims (5)

 外部装置の運転テストを行うテスト装置であって、
 操作量に応じたパルス信号を発生する仮想的な手動パルス発生装置を画面に表示させる表示制御部と、
 操作された前記仮想的な手動パルス発生装置の操作量に応じた前記パルス信号のパルス数を第1の時間毎に算出し、前記第1の時間毎に算出した前記パルス数に時間情報を付加したパルス数データを、前記第1の時間よりも長い第2の時間蓄積し、前記第2の時間蓄積した複数のパルス数データを1つの結合パルス数データとして前記第2の時間毎に前記外部装置へ送信するデータ送信部と
 を備えたことを特徴とするテスト装置。
A test device for performing an operation test of an external device,
A display control unit that displays a virtual manual pulse generator that generates a pulse signal according to an operation amount on a screen;
The number of pulses of the pulse signal corresponding to the amount of operation of the operated virtual manual pulse generator is calculated for each first time, and time information is added to the number of pulses calculated for each first time. The pulse number data is accumulated for a second time longer than the first time, and the plurality of pulse number data accumulated for the second time is used as one combined pulse number data for each of the second times. A test apparatus comprising: a data transmission unit that transmits data to the apparatus.
 前記表示制御部は、前記仮想的な手動パルス発生装置が1回転するときに発生する前記パルス数を入力するパルス数入力部を、前記画面に表示させることを特徴とする請求項1に記載のテスト装置。 The said display control part displays the pulse number input part which inputs the said pulse number which generate | occur | produces when the said virtual manual pulse generator rotates 1 time on the said screen. Test equipment.  前記表示制御部は、前記仮想的な手動パルス発生装置を回転させたときに発生する前記パルス数の倍率を入力する倍率入力部を、前記画面に表示させることを特徴とする請求項1または請求項2に記載のテスト装置。 The display control unit displays a magnification input unit for inputting a magnification of the number of pulses generated when the virtual manual pulse generator is rotated on the screen. Item 3. The test apparatus according to Item 2.  前記表示制御部は、前記仮想的な手動パルス発生装置から単位時間当たりに生成される前記パルス数の上限値を入力する上限値入力部を、前記画面に表示させることを特徴とする請求項1から請求項3の何れか一項に記載のテスト装置。 The display control unit displays an upper limit value input unit for inputting an upper limit value of the number of pulses generated per unit time from the virtual manual pulse generator on the screen. The test apparatus according to claim 3.  外部装置の運転テストを行うテスト装置であって、
 操作量に応じたパルス信号を発生する仮想的な手動パルス発生装置を画面に表示させる表示制御部と、
 前記画面上に表示されるポインタを操作するマウスが操作されることにより、前記仮想的な手動パルス発生装置を回転させて、前記仮想的な手動パルス発生装置の操作量に応じた前記パルス信号のパルス数を算出し、前記パルス数に時間情報を付加したパルス数データを前記外部装置へ送信するデータ送信部と
 を備えたことを特徴とするテスト装置。
A test device for performing an operation test of an external device,
A display control unit that displays a virtual manual pulse generator that generates a pulse signal according to an operation amount on a screen;
When the mouse that operates the pointer displayed on the screen is operated, the virtual manual pulse generator is rotated, and the pulse signal corresponding to the operation amount of the virtual manual pulse generator is changed. A test apparatus comprising: a data transmission unit that calculates the number of pulses and transmits pulse number data obtained by adding time information to the number of pulses to the external device.
PCT/JP2016/064350 2016-05-13 2016-05-13 Testing apparatus Ceased WO2017195362A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201680085512.XA CN109154835B (en) 2016-05-13 2016-05-13 Testing device
PCT/JP2016/064350 WO2017195362A1 (en) 2016-05-13 2016-05-13 Testing apparatus
JP2016562036A JP6261763B1 (en) 2016-05-13 2016-05-13 Test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/064350 WO2017195362A1 (en) 2016-05-13 2016-05-13 Testing apparatus

Publications (1)

Publication Number Publication Date
WO2017195362A1 true WO2017195362A1 (en) 2017-11-16

Family

ID=60267093

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/064350 Ceased WO2017195362A1 (en) 2016-05-13 2016-05-13 Testing apparatus

Country Status (3)

Country Link
JP (1) JP6261763B1 (en)
CN (1) CN109154835B (en)
WO (1) WO2017195362A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021045819A (en) * 2019-09-18 2021-03-25 ファナック株式会社 Robot control device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102013223040A1 (en) 2013-11-12 2015-05-13 Sms Siemag Ag Process for processing heated material

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03166606A (en) * 1989-11-27 1991-07-18 Fanuc Ltd Pulse transfer system for manual pulse generator
JP2003202908A (en) * 2001-11-15 2003-07-18 Heidelberger Druckmas Ag Device and method for synchronizing a plurality of electric driving units
JP2010176241A (en) * 2009-01-28 2010-08-12 Digital Electronics Corp Programmable indicator, apparatus monitoring system, and control program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10116110A (en) * 1996-10-09 1998-05-06 Toshiba Mach Co Ltd Numerical controller
DE69942673D1 (en) * 1999-10-20 2010-09-23 Mitsubishi Electric Corp COMMANDS

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03166606A (en) * 1989-11-27 1991-07-18 Fanuc Ltd Pulse transfer system for manual pulse generator
JP2003202908A (en) * 2001-11-15 2003-07-18 Heidelberger Druckmas Ag Device and method for synchronizing a plurality of electric driving units
JP2010176241A (en) * 2009-01-28 2010-08-12 Digital Electronics Corp Programmable indicator, apparatus monitoring system, and control program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021045819A (en) * 2019-09-18 2021-03-25 ファナック株式会社 Robot control device
JP7497966B2 (en) 2019-09-18 2024-06-11 ファナック株式会社 Robot system and robot control device

Also Published As

Publication number Publication date
CN109154835A (en) 2019-01-04
CN109154835B (en) 2020-01-03
JP6261763B1 (en) 2018-01-17
JPWO2017195362A1 (en) 2018-05-24

Similar Documents

Publication Publication Date Title
JP6642054B2 (en) Robot operation device and robot operation program
US9897991B2 (en) Machine tool
JP2019188530A (en) Simulation device of robot
US20170120449A1 (en) Simulation apparatus of robot, simulation method of robot, control unit and robot system
JP6288104B2 (en) Trace data collection system, operation terminal, and trace data collection method
JPWO2014013605A1 (en) Robot simulator, robot teaching apparatus, and robot teaching method
CN104159016A (en) Cradle head control system, method and device
JP6464204B2 (en) Offline programming apparatus and position parameter correction method
US20160091988A1 (en) System and method for controlling a virtual input interface
JP2016175178A (en) Robot operation device and robot operation program
CN110609639A (en) System and method for controlling actuator drive signal to improve transient response characteristics
CN107329690A (en) Virtual object control method and device, storage medium, electronic equipment
JP6261763B1 (en) Test equipment
CN107562017A (en) Parameter edit methods, computer-readable medium and the computer of control parts of motion
WO2013161561A1 (en) Time chart creation device, controller, machine element control system, time chart creation method, program and information storage medium
CN109324748B (en) Equipment control method, electronic equipment and storage medium
JP5931638B2 (en) Numerical control system and numerical control data generation method
US10303155B2 (en) Numerical controller having manual handle feed function
JP6601201B2 (en) Robot operation device and robot operation program
JP2016175143A (en) Robot operation device, and robot operation program
JP6841805B2 (en) Robot teaching device, robot teaching method, and method of storing operation commands
JP6573750B1 (en) Control data creation device, control data creation method, and control data creation program
EP3984708A1 (en) Techniques for robot control based on generated robot simulations
US20240198527A1 (en) Programming device and program
JP7398686B1 (en) Robot control device, robot control method, and program

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016562036

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16901710

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16901710

Country of ref document: EP

Kind code of ref document: A1