WO2016181504A1 - 数値制御装置 - Google Patents

数値制御装置 Download PDF

Info

Publication number
WO2016181504A1
WO2016181504A1 PCT/JP2015/063653 JP2015063653W WO2016181504A1 WO 2016181504 A1 WO2016181504 A1 WO 2016181504A1 JP 2015063653 W JP2015063653 W JP 2015063653W WO 2016181504 A1 WO2016181504 A1 WO 2016181504A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
data
control unit
signal
drive
Prior art date
Application number
PCT/JP2015/063653
Other languages
English (en)
French (fr)
Inventor
正行 植松
智哉 藤田
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to CN201580079911.0A priority Critical patent/CN107615197B/zh
Priority to US15/565,519 priority patent/US10732602B2/en
Priority to DE112015006524.5T priority patent/DE112015006524B4/de
Priority to PCT/JP2015/063653 priority patent/WO2016181504A1/ja
Priority to JP2017517523A priority patent/JP6362773B2/ja
Publication of WO2016181504A1 publication Critical patent/WO2016181504A1/ja

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/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/19Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33274Integrated communication and control, transmission delay, sampling rate effect
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35579Store motion parameters as function of encoder position

Definitions

  • the present invention relates to a numerical controller that controls a machine having a servo motor as a drive source.
  • a numerical control device performs control so that the position of a drive shaft follows a command, but the position detected by the position detector is different from the position of the part that is originally desired to be controlled.
  • the parameter acquired by the position detector of the machine tool is a parameter of a rotation angle of a motor or a position of a table or spindle head mechanically connected to the motor.
  • the machine end which is the part that is originally desired to be controlled, is the workpiece fixed to the table or the tip of a tool attached to the spindle.
  • the control device described in Embodiment 1 of Patent Document 1 uses an unused analog signal input unit included in a servo amplifier to transmit a signal via a communication unit that connects the servo amplifier and the numerical control device. By acquiring, the signal obtained from the position detector or speed detector of the servo motor and the signal obtained from the external measuring instrument are acquired in synchronization.
  • the control device described in Embodiment 2 of Patent Document 1 solves this problem by providing an interface circuit unit for acquiring a signal from an external measuring instrument.
  • the signal from the external measuring instrument is communicated to the control unit via the communication means that connects between the servo amplifier and the numerical control device.
  • the communication means that increases the communication load is originally for the control unit to communicate the command position for controlling the drive of the servo motor to the servo amplifier, and to feed back the signal of the position detector or speed detector of the servo motor.
  • the servo amplifier is a communication means for communicating this signal to the control unit, and this communication means transmits and receives data in a short communication cycle in order to control the servo motor at high speed.
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a numerical control device that does not hinder communication for controlling the drive of a controlled object and suppresses the influence on the original operation of the controlled object.
  • the present invention includes a numerical control unit that generates a command position to be controlled, a drive control unit that is connected to the numerical control unit and a first communication unit, A signal measurement unit connected to the numerical control unit by a second communication unit and connected by the drive control unit and a third communication unit, the drive control unit including the control target at the command position.
  • a command for controlling the drive unit connected to the control target to follow is generated, and index signal data is generated and output to the numerical control unit via the first communication unit, and at the same time, the index signal data To the signal measuring unit via the third communication means, the numerical control unit acquires the index signal data as the first index signal data via the first communication means, The signal measuring unit and the first The second index signal data is obtained as the second index signal data via the communication means, and the first index signal data is compared with the second index signal data to compare the first index signal data with the second index signal data.
  • It is a numerical controller characterized by having a calculating part which calculates the delay of communication of signal data, and performs processing which calculates the input time of the measurement signal.
  • FIG. 1 is a block diagram showing a configuration of a numerical control device according to a first embodiment and its periphery.
  • FIG. 5 is a diagram illustrating detection position data and two index signal data with time on the horizontal axis in the first embodiment.
  • the block diagram which shows the structure of the numerical control apparatus concerning Embodiment 2, and its periphery.
  • Embodiment 2 the figure which shows two detection position data which make time abscissa
  • time is plotted on the horizontal axis, the measurement signal data and the detected position data are plotted, and an enlarged view showing before and after the time t n in the time data associated with the detected position data
  • FIG. 1 is a block diagram showing a configuration of a numerical control device according to a first embodiment of the present invention and its periphery.
  • a numerical control device 100 illustrated in FIG. 1 includes a numerical control unit 10 that generates a command position of a control target 40, a drive control unit 20 that is connected to the numerical control unit 10 through a communication line L1 that is a first communication unit, A numerical control unit 10 and a signal measurement unit 50 connected by a communication line L2 as a second communication means are provided, and the drive control unit 20 is connected to the control target 40 so that the control target 40 follows the command position.
  • a command for controlling the drive unit 31 is generated and the measurement signal acquired by the signal measurement unit 50 is output to the numerical control unit 10, and the numerical control unit 10 generates the index signal data D2 generated and output by the drive control unit 20.
  • the first indicator signal data D21 via the communication line L1 as the first communication means
  • the second indicator signal is obtained via the signal measurement unit 50 and the communication line L2 as the second communication means.
  • the first index signal data D21 and the second index signal data D22 are compared, the communication delay of the second index signal data D22 with respect to the first index signal data D21 is calculated, and the measurement signal It has the calculating part 11 which performs the process which calculates
  • the drive control unit 20 is connected to the signal measuring unit 50 through the communication line L3 as the third communication unit, and the first index signal data D21 is sent to the numerical control unit 10 through the communication line L1 as the first communication unit.
  • a second input / output unit 23 for outputting the second indicator signal data D22 to the signal measuring unit 50 via the communication line L3 which is a third communication means.
  • the second input / output unit 23 includes a digital-analog converter that outputs the second index signal data D22 as an analog value. According to such a configuration, it is possible to output an index signal used for time synchronization by different communication means.
  • the drive device 30 includes a drive unit 31 and a detector 32 that detects at least one state quantity of the position, speed, and current of the drive unit 31 and outputs the detected state quantity to the drive control unit 20.
  • the detector 32 is described as a position detector, but the present invention is not limited to this.
  • the numerical control unit 10 includes a calculation unit 11, a first input / output unit 12, a second input / output unit 13, a storage unit 14, and a timer 15.
  • the drive control unit 20 includes a calculation unit 21, a first input / output unit 22 connected to the first input / output unit 12 of the numerical control unit 10 via the communication line L1, a second input / output unit 23,
  • the detection value input unit 24 and the inverter circuit 25 are provided.
  • the drive device 30 includes a drive unit 31 and a detector 32 connected to the detection value input unit 24 of the drive control unit 20 via a communication line L5.
  • the drive unit 31 is connected to the inverter circuit 25 via the power line P, and is connected to the controlled object 40 via the drive shaft Q.
  • the signal measurement unit 50 includes a calculation unit 51, a signal input unit 52 connected to the second input / output unit 23 of the drive control unit 20 via the communication line L3, and a second input / output unit of the numerical control unit 10. 13 includes a signal output unit 53 and a storage unit 54 connected to each other via a communication line L2.
  • the measuring instrument 60 connected to the signal input unit 52 of the signal measuring unit 50 via the communication line L4 is attached to the control target 40.
  • communication lines L1, L2, and L5 that are digital signal communication means are indicated by solid arrows
  • communication lines L3 and L4 that are analog signal communication means are indicated by dashed arrows.
  • the calculation unit 11 of the numerical control unit 10 generates a position command for the drive unit 31 using a program for controlling the movement of the control target 40 stored in the storage unit 14, and the first input / output unit 12 and the communication line L1.
  • the position command is output to the first input / output unit 22 of the drive control unit 20 via
  • the drive control unit 20 uses the position command acquired by the first input / output unit 22 and the detected position data D1 of the drive unit 31 acquired by the detection value input unit 24 to calculate the motion of the control target 40 from the calculation unit 11.
  • the inverter circuit 25 is controlled so as to follow the position command generated in step (b), and drive power is supplied to the drive unit 31 via the power line P connected to the inverter circuit 25.
  • the drive device 30 drives the drive unit 31 with drive power supplied from the drive control unit 20 through the power line P, and moves the control target 40 through the drive shaft Q mechanically connected to the drive unit 31.
  • the drive shaft Q may directly transmit the drive of the drive unit 31 to the control target 40 or may convert the drive of the drive unit 31 and transmit it.
  • the drive unit 31 is a servomotor and the drive shaft Q is a ball screw
  • the drive of the drive unit 31 is a rotational motion, but the rotational motion is converted into a linear translational motion by the drive shaft Q. Then, the translational motion in the linear direction is transmitted to the controlled object 40.
  • the detector 32 detects the position of the drive unit 31, and outputs the detected position value as detection position data D1 to the drive control unit 20 via the communication line L5 which is the fifth communication means.
  • the detector 32 detects the position as the state quantity of the drive unit 31.
  • the detector 32 may detect the speed of the drive unit 31 or the current value of the drive power supplied to the drive unit 31.
  • the detector 32 may be configured to detect a plurality of these positions, velocities, and current values.
  • the numerical control unit 10 and the drive control unit 20 operate at a constant time cycle, and synchronize their operation cycles via the communication line L1.
  • the operation of the inverter circuit 25 and the detected value input unit 24 follows the operation cycle of the numerical control unit 10 and the drive control unit 20. Therefore, this operation cycle is a control cycle in which the numerical control device 100 controls the movement of the control target 40.
  • the communication between the numerical control unit 10 and the drive control unit 20 performed via the communication line L1 may be performed in a cycle synchronized with the control cycle or in a cycle that is an integral multiple of the control cycle. desirable.
  • the timer 15 starts timing at the timing when the control by the program for controlling the movement of the controlled object 40 is started.
  • the computing unit 11 causes the storage unit 14 to store the time counted by the timer 15 for each control cycle. The operation of the timer 15 and the storage of the time in the storage unit 14 are stopped simultaneously with the end of the program for controlling the movement of the control target 40.
  • FIG. 1 shows a configuration having one drive control unit 20 and one drive device 30 for one numerical control unit 10, and the control target 40 is one drive axis Q.
  • the control target has two or more drive shafts, and has the same number of drive devices and drive control units as the number of drive shafts, and the first input / output unit of each drive control unit has the numerical control unit
  • the configuration may be such that the plurality of first input / output units are connected in parallel via a communication line.
  • the calculation unit 21 monitors the time change of the detection position data D1 acquired by the detector 32, determines the change of the detection position data D1 that is characteristic in the operation of the drive unit 31, and uses this as a trigger for the data of the pulse signal. Is generated.
  • the characteristic change in the detected position data D1 is that the drive unit 31 starts driving from the stopped state
  • the value of the detected position data D1 is a value set in advance from the value at the time of the stopped state.
  • An operation that is updated to a value separated by d can be exemplified.
  • the pulse signal data generated by the calculation unit 21 is output as first index signal data D21 to the numerical control unit 10 via the first input / output unit 22 of the drive control unit 20 and the communication line L1. In this manner, the time synchronization process can be facilitated by outputting the index signal exclusively in the form of a pulse.
  • the drive control unit 20 converts the data processed inside the drive control unit 20 represented by the detected position data D1 and the command position data acquired from the numerical control unit 10 from digital to analog and outputs the second data.
  • An input / output unit 23 is included.
  • the drive control unit 20 outputs the second index signal data D22 to the signal measurement unit 50 via the second input / output unit 23 and the communication line L3.
  • the signal input unit 52 included in the signal measuring unit 50 includes an analog-to-digital conversion circuit that converts a plurality of analog signals acquired at a constant sampling period into digital signals and outputs the digital signals.
  • the signal input unit 52 includes at least a signal obtained by converting the second index signal data D22 acquired from the drive control unit 20 via the communication line L3 into an analog signal and an analog signal acquired from the measuring instrument 60 via the communication line L4.
  • the measurement signal S is digitally converted.
  • the signals digitally converted by the signal input unit 52 are grouped for each sampling period and stored in the storage unit 54.
  • the sampling cycle of the signal input unit 52 is preferably shorter than the data update cycle of the signal output from the second input / output unit 23 of the drive control unit 20 and shorter than 1/2 of the data update cycle.
  • communication performed between the signal output unit 53 of the signal measuring unit 50 and the second input / output unit 13 of the numerical control unit 10 via the communication line L2 operates the numerical control unit 10 and the drive control unit 20.
  • the cycle is equal to the control cycle or a cycle that is a power of 2 with respect to the control cycle.
  • examples of the power of 2 include 2 times, 4 times, and 8 times.
  • the communication via the communication line L2 is performed at the timing when the control by the program for controlling the movement of the control target 40 is started, and the communication at the timing closest to the timing at which the control by the program is finished is the last communication. As described above, communication is not performed after the control by the program ends.
  • FIG. 1 only one measuring instrument 60 is shown, but the present invention is not limited to this.
  • a configuration may be adopted in which the state of the control target 40 is measured by a plurality of measuring devices, each of the plurality of measuring devices and the signal input unit 52 are individually connected by a communication line, and a plurality of measurement signals S are simultaneously sampled.
  • the signal output unit 53 stores the sampling data stored in the storage unit 54 from the previous communication via the communication line L2. 10 is output.
  • the sampling data that has been output is erased to secure the storage area of the storage unit 54 or is overwritten with newly sampled data.
  • the signal input unit 52 continues to sample the second index signal data D22 and the measurement signal S that have been analog-converted while the data is being output from the signal output unit 53 to the numerical control unit 10.
  • the storage unit 54 is sampled for one cycle of the communication cycle between the signal output unit 53 and the second input / output unit 13 of the numerical control unit 10 in order to store the sampled signal without time loss. It is assumed that a storage area larger than the total number of signal data is provided. The storage area of the storage unit 54 should be at least twice the total number of signal data sampled in one communication cycle between the signal output unit 53 and the second input / output unit 13 of the numerical control unit 10. Is desirable.
  • the numerical control unit 10 acquires the first index signal data D21 from the first input / output unit 12, and receives the measurement signal S and the analog-converted second index signal data D22 from the second input / output unit 13. Data sampled by the signal measuring unit 50 is acquired and stored in the storage unit 14.
  • the data acquired from the first input / output unit 12 to the numerical control unit 10 via the communication line L1 is stored in the storage unit 14 in association with the time counted by the timer 15 at the time of acquisition.
  • the data acquired from the first input / output unit 12 to the numerical control unit 10 via the communication line L1 is typically the detected position data D1 and the first index signal data D21. In this way, each data acquired via the communication line L1 is treated as a time-synchronized data string.
  • the second index signal data D22 and the measurement signal S are acquired as a data string for each communication cycle of communication via the second input / output unit 13 and the communication line L2.
  • These two data strings acquired via the communication lines L1 and L2 are analog signals acquired for each sampling period of the analog-digital conversion circuit included in the signal input unit 52 of the signal measuring unit 50.
  • each adjacent data has a time interval equal to the sampling period of the signal input unit 52.
  • the head data in the data string acquired in the first communication via the communication line L2 performed at the timing when the control by the program for controlling the movement of the control target 40 is started is associated with the time counted by the timer 15 during the communication. And stored in the storage unit 14.
  • the storage unit 14 stores in advance the sampling cycle of the signal input unit 52 of the signal measuring unit 50 as a parameter, and in the top data, the time of the sampling cycle at the time associated with the data immediately before each data. Is stored in the storage unit 14 in association with each other.
  • FIG. 2 is a diagram showing detection position data and two index signal data with time as the horizontal axis.
  • the horizontal axis is the time counted by the timer 15, and the detection position data D 1 and the first index signal data D 21 acquired from the first input / output unit 12 and the second input / output unit 13 are acquired.
  • the detection position data detected by the detector 32 when the drive unit 31 is a servo motor, the drive shaft Q is a ball screw, and the control target 40 is smoothly driven three reciprocally is illustrated.
  • time T 0 is the time when the program for controlling the movement of the controlled object 40 is started
  • time T 1 is the time when the pulse waveform of the first index signal data D21 rises
  • time T 2 is the second time.
  • a time at which the pulse waveform rises indicator signal data D22 of the time T 3 is the time when the program for controlling the movement of the controlled object 40 is finished.
  • the waveform of the first index signal data D21 and the waveform of the second index signal data D22 are originally the waveform of the same index signal data D2, the waveforms obtained by plotting the data strings of both are congruent.
  • the time required for the digital / analog conversion in the second input / output unit 23 of the drive control unit 20 and the data acquired by the initial communication of the communication performed via the communication line L2 are included.
  • the time delay associated with the time data associated with the first data of the column and the time at which the data is actually sampled is not necessarily included, thereby causing a signal delay by time ⁇ T.
  • the computing unit 11 evaluates the first index signal data D21 stored in the storage unit 14, performs a process of determining the rising time of the first index signal data D21, and sets the time data associated with the data to the time the storage unit 14 as T 1. Similarly, the calculation unit 11 evaluates the second index signal data D22 stored in the storage unit 14, performs a process of determining the rising time of the second index signal data D22, and the time associated with the data It is stored in the storage unit 14 the data as the time T 2.
  • the delay time of a signal data string of the second index signal data D22 includes is calculated.
  • a value obtained by subtracting the delay time from each value of the time data string associated with the second index signal data D22 is updated as the value of the time data associated with the second index signal data D22.
  • the time delay included in the second index signal data D22 and the data of the measurement signal S is corrected, and the time data associated with the measurement signal S is the time when the measurement signal S is measured by the measuring instrument 60. That is, the time does not include a delay, and the values of data communicated between the numerical control unit 10 and the drive control unit 20 such as the first detection position data D1 and the command position can be compared. .
  • the present embodiment it is possible to correct the delay of the data of the measurement signal and acquire it in synchronization with the correct time. Further, according to the present embodiment, even when a plurality of different measurement signals are simultaneously measured using a plurality of measuring instruments, measurement can be performed without increasing the communication load of the communication line. It becomes possible.
  • FIG. FIG. 3 is a block diagram showing the configuration of the numerical control device according to the second embodiment of the present invention and its periphery.
  • the numerical control device 100a shown in FIG. 3 is different from the numerical control device shown in FIG. 1 in that a drive control unit 20a is provided instead of the drive control unit 20, and the other configuration is the same as that of the numerical control device shown in FIG. .
  • the calculation unit 21a does not generate the index signal data D2 from the value of the detection position data D1 acquired from the detection value input unit 24a, but uses the detection position data D1.
  • the first input / output unit 22 a communicates with the numerical control unit 10, and the detected position data D 1 is converted from digital to analog by the second input / output unit 23 a and output to the signal measuring unit 50.
  • the signal measurement unit 50 analog-digital converts and samples the measurement signal S measured by the measuring instrument 60 and the analog-converted detection position data D1, and communicates the sampled signal data to the numerical control unit 10. Therefore, the numerical control unit 10 acquires the measurement signal S sampled from the second input / output unit 13 and the data D12 obtained by sampling the detection position data D1 subjected to analog conversion, and detects from the first input / output unit 12. The position data D1 is acquired, and these data are stored in the storage unit 14.
  • FIG. 4 is a diagram showing two detection position data with time as the horizontal axis. Specifically, the horizontal axis represents the time counted by the timer 15 and the detected position data D1 acquired from the first input / output unit 12 and the detected position data D12 acquired from the second input / output unit 13 are shown. It is.
  • the detection position data detected by the detector 32 when the drive unit 31 is a servo motor, the drive shaft Q is a ball screw, and the control target 40 is smoothly driven three reciprocally is illustrated.
  • time T 0 is the time when the program for controlling the movement of the controlled object 40 is started
  • time T 1 is the time when the value of the detected position data D 1 is increased from the initial value by a value d
  • time T 2 is the time when the value of the detected position data D12 has a value which is increased from the initial value by a value d
  • the time T 3 is the time when the program for controlling the movement of the controlled object 40 is finished.
  • the value d is a threshold value relating to the values of the detected position data D1 and D12, is an arbitrary value set in advance, and is stored in the storage unit 14 included in the numerical control unit 10.
  • the detection position data D12 Since the waveform of the detection position data D12 is originally the detection position data D1, the waveforms obtained by plotting both data strings are congruent. However, the detection position data D12 includes the time required for the digital / analog conversion in the second input / output unit 23a of the drive control unit 20a and the head of the data string acquired in the initial communication performed via the communication line L2. Since the time data associated with the data and the time lag caused by the time when the data is actually sampled are not necessarily included, the signal is delayed by the time ⁇ T.
  • the calculation unit 11 evaluates the detection position data D1 stored in the storage unit 14, performs a process of determining data where the value of the detection position data D1 has increased by a value d from the initial value, and is associated with the data. It is stored in the storage unit 14 the time data as the time T 1. Similarly, the calculation unit 11 evaluates the detection position data D12 stored in the storage unit 14, and performs a process of determining data where the value of the detection position data D12 has increased by a value d from the initial value. It is stored as time T 2, the storage unit 14 the time data associated with the.
  • the delay time of a signal data string of detected position data D12 contains is calculated.
  • a value obtained by subtracting the delay time from each value of the time data string associated with the detected position data D12 is updated as the value of the time data associated with the detected position data D12.
  • the present embodiment it is possible to correct the delay of the data of the measurement signal and acquire it in synchronization with the correct time. Further, according to the present embodiment, even when a plurality of different measurement signals are simultaneously measured using a plurality of measuring instruments, measurement can be performed without increasing the communication load of the communication line. It becomes possible.
  • the calculation unit 21 of the drive control unit 20 generates the index signal data D2 and communicates with the numerical control unit 10 and the signal measurement unit 50, whereas in the present embodiment, the detection position data D1 is a numerical value.
  • the control unit 10 communicates with the signal measurement unit 50.
  • the state quantity is obtained from the detector 32, and the detection position data D1 that is the value of the state quantity is used in place of the index signal data of the first embodiment, whereby the numerical control device according to the present embodiment.
  • the processing for generating and communicating the index signal data D2 is unnecessary, and the number of data to be stored in the storage unit 14 of the numerical control unit 10 is reduced. There is an effect that it is possible.
  • the measurement signal data stored in the storage unit of the numerical control unit is associated with time data indicating the correct time when the measurement signal is measured.
  • time data indicating the correct time when the measurement signal is measured.
  • the data related to the command position and the detected position data D1 can be exemplified in the other data string. Therefore, in order to use the data of the measurement signal S to calculate a correction parameter for the numerical control unit to more accurately control the movement of the control target, the data of the measurement signal S is associated with the detected position data D1. It is desirable to be associated with the time data.
  • points (t n , D1 n ) indicated by black circles are points where the values of the detection position data D1 at time t n are plotted, and points (t m ⁇ , S m ⁇ ), ( t m +, S m +), the measurement signal of the time data associated with the data of the S, m-closest time t earlier and the time t n from time t n, the time t n from the slow and the time t n
  • the values of the data of the measurement signal S at time t m + closest to are plotted.
  • a point (t n , S1 n ) indicated by a white square is a point at time t n on a line segment connecting the point (t m ⁇ , S m ⁇ ) and the point (t m + , S m + ). It is. From the geometrical relationship in FIG. 5, S1 n is expressed by the following equation (1).
  • the data string of the measurement signal S1 obtained by performing the calculation of the above equation (1) shares the detection position data D1 and the time data.
  • the data of the measurement signal S is resampled.
  • the numerical control unit 10 uses the data of the measurement signal S1 to control the control target 40. It is possible to calculate a correction parameter for controlling the movement of the camera more accurately.
  • the numerical control unit in the present embodiment has a configuration in which a display unit not shown in FIGS. 1 and 3 is added, and this display unit combines one or more data strings stored in the storage unit. To display.
  • FIG. 6 is a diagram showing table data obtained by combining the time data stored in the storage unit 14, the detected position data D1, and the data of the resampled measurement signal S1. In addition, as shown in FIGS. 2 and 4, these data may be displayed as a graph by plotting each data with respect to the associated time data.
  • the numerical control unit in the present embodiment has a configuration in which a third input / output unit (not shown in FIGS. 1 and 3) is added, and the third input / output unit includes a plurality of the above-described combined units. Are converted into one data file and output to an external storage medium.
  • a flash memory can be exemplified as the external storage medium.
  • the numerical control apparatus of the present embodiment it becomes easy to perform calculation processing using the data of the measurement signal S for correction of the control parameter. Further, by displaying the data of the synchronized measurement signal S1 together with other data, it becomes easy for a maintenance and adjustment operator to evaluate the acquired data of the measurement signal S on the spot. Furthermore, by outputting the data as a data file, analysis work using a personal computer can be performed offline.
  • Embodiment 1-3 has illustrated the structure by which communication between each structure is performed via a communication line, this invention is limited to this. Instead, the communication between the components may be wireless communication.
  • 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.

Abstract

数値制御装置(100)は、指令位置を生成する数値制御部(10)と、数値制御部(10)と通信線(L1)で接続された駆動制御部(20)と、数値制御部(10)と通信線(L2)で、駆動制御部(20)と通信線(L3)で接続された信号計測部(50)と、を備え、駆動制御部(20)は、制御対象(40)が指令位置に追従するように制御対象(40)に接続された駆動部(31)を制御する指令を生成すると共に、指標信号データ(D2)を生成して通信線(L1)から数値制御部(10)に出力すると同時に指標信号データ(D2)を通信線(L3)から信号計測部(50)へ出力し、数値制御部(10)は、指標信号データ(D2)を、通信線(L1)から第1の指標信号データ(D21)として取得すると共に、通信線(L2)から第2の指標信号データ(D22)として取得し、これら2つの指標信号データを比較して、第1の指標信号データ(D21)に対する第2の指標信号データ(D22)の通信の遅延を算出し、計測信号の入力時刻を求める処理を行う演算部(11)を有する。

Description

数値制御装置
 本発明は、駆動源としてサーボモータを有する機械を制御する数値制御装置に関する。
 従来、工作機械及びロボット装置では、駆動軸の位置が指令に追従するように数値制御装置が制御を行うが、位置検出器が検出する位置は本来制御したい部分の位置とは異なる。一例として、工作機械の位置検出器が取得するパラメータは、モータの回転角又はモータに機械的に接続されるテーブル又は主軸ヘッドの位置のパラメータである。しかしながら、本来制御したい部分である機械端は、テーブルに固定された被加工物又は主軸に取り付けられた工具の先端である。そのため、位置検出器が取得する値をフィードバックしつつ指令位置に追従するように制御を行っても、本来制御したい部分である機械端の追従は完全ではなく、結果として望ましい加工結果が得られない場合がある。
 また、別の例として、被加工物と工具が接触する加工点又はモータ自体が発熱して熱源となり、この熱が装置に伝わることで装置の微小な変形を引き起こし、望ましい加工結果が得られない場合がある。そのため、装置の調整及び保守の際には、機械端に計測用の機器を取り付けて試験動作を行い、試験動作における計測結果をもとに位置検出器から得られる検出位置と、実際の機械端位置の誤差及び装置の変形による機械端位置のずれとを補正する補正処理を数値制御装置に行わせることで対応している。上記の補正処理を精度よく行うためには、外部の計測機器から得られる情報は、数値制御装置内で通信される位置検出器の情報と時間的に同期して得られることが望ましく、その手法の一例が特許文献1に開示されている。
 特許文献1の実施の形態1に記載された制御装置は、サーボアンプが有する未使用のアナログ信号入力部を用いて、サーボアンプと数値制御装置との間を接続する通信手段を介して信号を取得することで、サーボモータの位置検出器又は速度検出器から得られる信号と外部計測器から得られる信号とを同期して取得する。しかしながら、このような制御装置では、同時に計測可能な外部計測器の数が、サーボアンプが有する未使用のアナログ信号入力部の数に制限されるという問題がある。特許文献1の実施の形態2に記載された制御装置は、外部計測器からの信号を取得するためのインターフェース回路ユニットを設けることで、この課題を解決している。しかしながら、このような制御装置では、サーボアンプと数値制御装置との間を接続する通信手段を介して外部計測器からの信号を制御部に通信しているため、一例として、複数の外部計測器を用いる場合のように、同時に多数の信号を取得しようとすると、通信負荷が増大する。この通信負荷が増大する通信手段は、本来、制御部がサーボモータの駆動を制御するための指令位置をサーボアンプに通信し、またサーボモータの位置検出器又は速度検出器の信号をフィードバックするために、サーボアンプがこの信号を制御部に通信するための通信手段であり、この通信手段は、サーボモータを高速に制御するために短い通信周期でデータを送受信する。
特開2001-22419号公報
 しかしながら、上記従来の技術である特許文献1の実施の形態2に記載された技術によれば、複数の外部計測器を用いる場合のように、同時に多数の信号を取得しようとすると、制御対象の駆動を制御するために必要な通信を行うための通信手段における通信負荷が増大する。そのため、制御対象の駆動を制御するための通信が阻害され、制御対象の本来の動作に支障を来すおそれがある、という問題があった。
 本発明は、上記に鑑みてなされたものであって、制御対象の駆動を制御するための通信が阻害されず、制御対象の本来の動作への影響を抑えた数値制御装置を得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明は、制御対象の指令位置を生成する数値制御部と、前記数値制御部と第1の通信手段で接続された駆動制御部と、前記数値制御部と第2の通信手段で接続され、前記駆動制御部と第3の通信手段で接続された信号計測部と、を備え、前記駆動制御部は、前記制御対象が前記指令位置に追従するように前記制御対象に接続された駆動部を制御する指令を生成すると共に、指標信号データを生成して前記第1の通信手段を介して前記数値制御部に出力すると同時に前記指標信号データを前記第3の通信手段を介して前記信号計測部へ出力し、前記数値制御部は、前記指標信号データを、前記第1の通信手段を介して第1の指標信号データとして取得すると共に、前記信号計測部及び前記第2の通信手段を介して第2の指標信号データとして取得し、前記第1の指標信号データと前記第2の指標信号データとを比較して、前記第1の指標信号データに対する前記第2の指標信号データの通信の遅延を算出し、前記計測信号の入力時刻を求める処理を行う演算部を有することを特徴とする数値制御装置である。
 本発明によれば、制御対象の駆動を制御するための通信が阻害されず、制御対象の本来の動作への影響を抑えた数値制御装置を得ることができるという効果を奏する。
実施の形態1にかかる数値制御装置とその周辺の構成を示すブロック図 実施の形態1において、時刻を横軸とし、検出位置データ及び2つの指標信号データを示す図 実施の形態2にかかる数値制御装置とその周辺の構成を示すブロック図 実施の形態2において、時刻を横軸とする2つの検出位置データを示す図 実施の形態3において、時刻を横軸とし、計測信号のデータと検出位置データとをプロットし、検出位置データに関連付けられた時刻データのうち時刻tの前後を示す拡大図 実施の形態3において、記憶部に記憶された時刻データと、検出位置データと、リサンプリングされた計測信号のデータとを組み合わせたテーブルデータを示す図
 以下に、本発明の実施の形態にかかる数値制御装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
実施の形態1.
 図1は、本発明の実施の形態1にかかる数値制御装置とその周辺の構成を示すブロック図である。図1に示す数値制御装置100は、制御対象40の指令位置を生成する数値制御部10と、数値制御部10と第1の通信手段である通信線L1で接続された駆動制御部20と、数値制御部10と第2の通信手段である通信線L2で接続された信号計測部50とを備え、駆動制御部20は、制御対象40が指令位置に追従するように制御対象40に接続された駆動部31を制御する指令を生成すると共に信号計測部50が取得した計測信号を数値制御部10に出力させ、数値制御部10は、駆動制御部20が生成して出力する指標信号データD2を、第1の通信手段である通信線L1を介して第1の指標信号データD21として取得すると共に、信号計測部50及び第2の通信手段である通信線L2を介して第2の指標信号データD22として取得し、第1の指標信号データD21と第2の指標信号データD22とを比較して、第1の指標信号データD21に対する第2の指標信号データD22の通信の遅延を算出し、計測信号の入力時刻を求める処理を行う演算部11を有する。
 駆動制御部20は、第3の通信手段である通信線L3で信号計測部50と接続され、第1の通信手段である通信線L1を介して数値制御部10に第1の指標信号データD21を出力する第1の入出力部22と、第3の通信手段である通信線L3を介して信号計測部50に第2の指標信号データD22を出力する第2の入出力部23とを備え、第2の入出力部23は、第2の指標信号データD22をアナログ値として出力するデジタルアナログ変換器を含む。このような構成によれば、時刻の同期に用いる指標信号を異なる通信手段で出力することが可能になる。
 なお、駆動装置30は、駆動部31と、駆動部31の位置、速度及び電流の少なくともいずれか1つの状態量を検出して、検出した状態量を駆動制御部20に出力する検出器32とを備える。また、以下の説明では、検出器32は位置検出器であるとして説明するがこれに限定されるものではない。
 数値制御部10は、演算部11と、第1の入出力部12と、第2の入出力部13と、記憶部14と、タイマ15とを備える。駆動制御部20は、演算部21と、数値制御部10の第1の入出力部12に通信線L1を介して接続された第1の入出力部22と、第2の入出力部23と、検出値入力部24と、インバータ回路25とを備える。駆動装置30は、駆動部31と、駆動制御部20の検出値入力部24に通信線L5を介して接続された検出器32とを備える。駆動部31は、動力線Pを介してインバータ回路25に接続され、駆動軸Qを介して制御対象40に接続されている。信号計測部50は、演算部51と、駆動制御部20の第2の入出力部23に通信線L3を介して接続された信号入力部52と、数値制御部10の第2の入出力部13に通信線L2を介して接続された信号出力部53と、記憶部54とを備える。信号計測部50の信号入力部52に通信線L4を介して接続された計測器60は、制御対象40に取り付けられている。
 なお、図1において、デジタル信号の通信手段である通信線L1,L2,L5は実線矢印で表し、アナログ信号の通信手段である通信線L3,L4は破線矢印で表している。
 次に、図1に示す数値制御装置の動作について説明する。数値制御部10の演算部11は、記憶部14に記憶された制御対象40の運動を制御するプログラムを用いて駆動部31の位置指令を生成し、第1の入出力部12及び通信線L1を介して駆動制御部20の第1の入出力部22へ位置指令を出力する。
 駆動制御部20は、第1の入出力部22が取得した位置指令と、検出値入力部24が取得した駆動部31の検出位置データD1とを用いて、制御対象40の運動が演算部11で生成された位置指令に追従するようにインバータ回路25を制御して、インバータ回路25に接続された動力線Pを介して駆動部31に駆動電力を供給する。
 駆動装置30は、駆動制御部20から動力線Pを介して供給される駆動電力によって駆動部31を駆動し、駆動部31に機械的に接続された駆動軸Qを介して制御対象40を運動させる。ここで、駆動軸Qは、駆動部31の駆動を制御対象40に直接伝達しても良いし、駆動部31の駆動を変換して伝達しても良い。一例として、駆動部31がサーボモータであり、駆動軸Qがボールねじである場合には、駆動部31の駆動は回転運動であるが、駆動軸Qによって回転運動が直線方向の並進運動に変換され、制御対象40には直線方向の並進運動が伝達される。
 検出器32は、駆動部31の位置を検出し、検出した位置の値を検出位置データD1として、第5の通信手段である通信線L5を介して駆動制御部20へ出力する。ここで、検出器32は、駆動部31の状態量として位置を検出するものとしたが、駆動部31の速度又は駆動部31に供給される駆動電力の電流値を検出するものとしてもよい。又は、検出器32は、これらの位置、速度及び電流値のうち複数を検出する構成であってもよい。
 数値制御部10及び駆動制御部20は、一定の時間周期で動作し、通信線L1を介して互いの動作周期を同期させる。インバータ回路25及び検出値入力部24の動作は数値制御部10及び駆動制御部20の動作周期に従う。そのため、この動作周期は、数値制御装置100が制御対象40の運動を制御する制御周期となる。また、通信線L1を介して行う数値制御部10と駆動制御部20との間の通信は、制御周期に同期した周期又は制御周期に同期し且つ制御周期の整数倍の周期で行われることが望ましい。
 タイマ15は、制御対象40の運動を制御するプログラムによる制御が開始されたタイミングで計時を開始する。演算部11は、制御周期毎にタイマ15のカウントする時刻を記憶部14に記憶させる。タイマ15の動作及び記憶部14への時刻の記憶は、制御対象40の運動を制御するプログラムの終了と同時に停止させる。
 ここで、簡単のため、図1においては、1つの数値制御部10に対し、1つの駆動制御部20と、1つの駆動装置30とを有する構成を示し、制御対象40は1つの駆動軸Qを有するものとして説明しているが、本発明はこれに限定されるものではない。制御対象が2つ以上の駆動軸を有し、この駆動軸の数と同数の駆動装置及び駆動制御部を有し、各駆動制御部の有する第1の入出力部が、数値制御部の有する複数の第1の入出力部に通信線を介して並列に接続される構成であっても良い。
 演算部21は、検出器32が取得した検出位置データD1の時間変化を監視し、駆動部31の動作において特徴的となる検出位置データD1の変化を判定し、これをトリガとしてパルス信号のデータを生成する。ここで、特徴的な検出位置データD1の変化には、駆動部31が停止状態から駆動を開始して、検出位置データD1の値が、停止状態にあった時の値から予め設定された値dだけ離れた値に更新される動作を例示することができる。演算部21が生成するパルス信号データは、第1の指標信号データD21として、駆動制御部20の第1の入出力部22及び通信線L1を介して数値制御部10へ出力される。このように、指標信号をパルスの形で専用に出力することで、時刻同期の処理を容易にすることができる。
 また、駆動制御部20は、検出位置データD1及び数値制御部10から取得した指令位置データに代表される、駆動制御部20の内部で処理されるデータをデジタルアナログ変換して出力する第2の入出力部23を有する。駆動制御部20は、第2の入出力部23及び通信線L3を介して、信号計測部50へ第2の指標信号データD22を出力する。
 信号計測部50が有する信号入力部52は、一定のサンプリング周期で取得した複数のアナログ信号をデジタル信号に変換して出力するアナログデジタル変換回路を含む。信号入力部52は、少なくとも、通信線L3を介して駆動制御部20から取得した第2の指標信号データD22がアナログ変換された信号と、通信線L4を介して計測器60から取得したアナログ信号である計測信号Sとをデジタル変換する。信号入力部52においてデジタル変換された信号は、サンプリング周期の1周期毎に組とされて記憶部54に記憶される。信号入力部52のサンプリング周期は、駆動制御部20の第2の入出力部23が出力する信号のデータ更新周期よりも短く、データ更新周期の1/2よりも短いことが望ましい。
 また、信号計測部50の信号出力部53と数値制御部10の第2の入出力部13との間で通信線L2を介して行われる通信は、数値制御部10及び駆動制御部20を動作させる制御周期に同期し、この制御周期に等しい周期で、又は制御周期に対して2の累乗倍の周期で行われる。ここで、2の累乗倍としては、2倍、4倍又は8倍を例示することができる。また、通信線L2を介する通信は、制御対象40の運動を制御するプログラムによる制御が開始されたタイミングで初回の通信を行い、プログラムによる制御が終了したタイミングに最も近いタイミングの通信を最後の通信として、プログラムによる制御が終了した後は通信を行わない。
 なお、図1には、計測器60が1つのみ図示されているが、本発明はこれに限定されるものではない。複数の計測器によって制御対象40の状態を計測し、複数の計測器の各々と信号入力部52とを各々個別に通信線で接続し、複数の計測信号Sを同時にサンプリングする構成としても良い。
 信号出力部53は、数値制御部10の第2の入出力部13の通信周期毎に、前回の通信時から記憶部54に記憶していたサンプリングデータを、通信線L2を介して数値制御部10に出力する。出力を完了したサンプリングデータは記憶部54の記憶領域を確保するために消去され、又は新たにサンプリングされるデータで上書きされる。信号入力部52は、信号出力部53から数値制御部10にデータを出力している間にも、アナログ変換された第2の指標信号データD22及び計測信号Sをサンプリングし続ける。
 記憶部54は、サンプリングした信号を時間的に欠けることなく記憶するために、信号出力部53と数値制御部10の第2の入出力部13との間の通信周期の1周期分でサンプリングされる信号のデータ総数よりも大きい記憶領域を備えるものとする。記憶部54の記憶領域は、信号出力部53と数値制御部10の第2の入出力部13との間の通信周期の1周期分でサンプリングされる信号のデータ総数の2倍以上とすることが望ましい。
 数値制御部10は、第1の入出力部12から第1の指標信号データD21を取得すると共に、第2の入出力部13から計測信号S及びアナログ変換された第2の指標信号データD22を信号計測部50にてサンプリングしたデータを取得して記憶部14に記憶する。
 第1の入出力部12から通信線L1を介して数値制御部10に取得されるデータは、取得された時点で、タイマ15がカウントする時刻に関連付けられて記憶部14に記憶される。ここで、第1の入出力部12から通信線L1を介して数値制御部10に取得されるデータは、代表的には、検出位置データD1及び第1の指標信号データD21である。このようにして、通信線L1を介して取得された各データは、時間的に同期したデータ列として扱われる。
 数値制御部10において、第2の指標信号データD22及び計測信号Sは、第2の入出力部13及び通信線L2を介する通信の通信周期毎にデータ列として取得される。通信線L1,L2を介して取得されるこれら2つのデータ列は、信号計測部50の信号入力部52が備えるアナログデジタル変換回路のサンプリング周期毎に取得されたアナログ信号である。複数のデータ列の各々において、個々の隣接するデータは、信号入力部52のサンプリング周期に等しい時間間隔である。制御対象40の運動を制御するプログラムによる制御が開始されたタイミングで行われる、通信線L2を介する初回の通信で取得されるデータ列における先頭データは、前記通信時にタイマ15がカウントする時刻に関連付けて記憶部14に記憶される。記憶部14には、信号計測部50の信号入力部52のサンプリング周期がパラメータとして予め記憶されており、先頭データにおいては、各データの1つ手前のデータに関連付けられた時刻にサンプリング周期の時間を加えた値を関連付けて記憶部14に記憶する。
 図2は、時刻を横軸とし、検出位置データ及び2つの指標信号データを示す図である。具体的には、タイマ15がカウントした時刻を横軸とし、第1の入出力部12から取得された検出位置データD1及び第1の指標信号データD21と、第2の入出力部13から取得された第2の指標信号データD22とを示す図である。ここでは、駆動部31がサーボモータであり、駆動軸Qがボールねじであり、制御対象40を滑らかに3往復駆動させた場合に、検出器32が検出した検出位置データを例示している。
 図2において、時刻Tは制御対象40の運動を制御するプログラムを開始した時刻であり、時刻Tは第1の指標信号データD21のパルス波形が立ちあがる時刻であり、時刻Tは第2の指標信号データD22のパルス波形が立ちあがる時刻であり、時刻Tは制御対象40の運動を制御するプログラムが終了する時刻である。
 第1の指標信号データD21の波形と第2の指標信号データD22の波形は、もとは同一の指標信号データD2の波形であるので、両者のデータ列をプロットした波形は合同になる。しかしながら、第2の指標信号データD22には、駆動制御部20の第2の入出力部23におけるデジタルアナログ変換に要する時間と、通信線L2を介して行われる通信の初回通信で取得されるデータ列の先頭データが関連付けられる時刻データと該データが実際にサンプリングされた時刻とが必ずしも一致しないことにより生じる時間のずれとが含まれることで、時間ΔTだけ信号の遅延が発生する。
 演算部11は、記憶部14に記憶された第1の指標信号データD21を評価し、第1の指標信号データD21の立ち上がり時刻を判定する処理を行い、該データに関連付けられた時刻データを時刻Tとして記憶部14に記憶する。同様に、演算部11は、記憶部14に記憶された第2の指標信号データD22を評価し、第2の指標信号データD22の立ちあがり時刻を判定する処理を行い、該データに関連付けられた時刻データを時刻Tとして記憶部14に記憶する。
 時刻Tと時刻Tの差分である時間ΔTから、第2の指標信号データD22のデータ列が含む信号の遅延時間が算出される。第2の指標信号データD22に関連付けられた時刻データ列の各々の値から前記遅延時間を差し引いた値が、第2の指標信号データD22に関連付けられた時刻データの値として更新される。これにより、第2の指標信号データD22と計測信号Sのデータが含む時間の遅延が補正されて、計測信号Sに関連付けられた時刻データは、計測信号Sが計測器60にて計測された時刻、すなわち遅延を含まない時刻となり、第1の検出位置データD1及び指令位置のように、数値制御部10と駆動制御部20の間で通信されるデータの値とを比較することが可能になる。
 以上説明したように、本実施の形態によれば、計測信号のデータの遅延を補正し、正しい時刻に同期して取得することが可能になる。また、本実施の形態によれば、複数の計測器を用いて、複数の異なる計測信号を同時に計測するような場合であっても、通信線の通信負荷を増大させることなく、計測することが可能となる。
実施の形態2.
 図3は、本発明の実施の形態2にかかる数値制御装置とその周辺の構成を示すブロック図である。図3に示す数値制御装置100aは、図1に示す数値制御装置の駆動制御部20に代えて駆動制御部20aを備える点が異なり、その他の構成は図1に示す数値制御装置と同じである。
 図3に示す数値制御装置100aの駆動制御部20aでは、演算部21aは、検出値入力部24aから取得される検出位置データD1の値から指標信号データD2を生成せず、検出位置データD1を第1の入出力部22aから数値制御部10に通信すると共に、検出位置データD1を第2の入出力部23aにてデジタルアナログ変換し、信号計測部50に出力する。
 信号計測部50は、計測器60が計測する計測信号Sと、アナログ変換された検出位置データD1をアナログデジタル変換してサンプリングし、サンプリングした信号データを数値制御部10に通信する。したがって、数値制御部10は、第2の入出力部13からサンプリングされた計測信号Sとアナログ変換された検出位置データD1をサンプリングしたデータD12とを取得し、第1の入出力部12から検出位置データD1を取得し、これらのデータを記憶部14に記憶する。
 図4は、時刻を横軸とする2つの検出位置データを示す図である。具体的には、タイマ15がカウントした時刻を横軸とし、第1の入出力部12から取得された検出位置データD1及び第2の入出力部13から取得された検出位置データD12を示す図である。ここでは、駆動部31がサーボモータであり、駆動軸Qがボールねじであり、制御対象40を滑らかに3往復駆動させた場合に、検出器32が検出した検出位置データを例示している。
 図4において、時刻Tは制御対象40の運動を制御するプログラムを開始した時刻であり、時刻Tは検出位置データD1の値が初期値から値dだけ増加した値となる時刻であり、時刻Tは検出位置データD12の値が初期値から値dだけ増加した値となる時刻であり、時刻Tは制御対象40の運動を制御するプログラムが終了する時刻である。ここで、値dは、検出位置データD1,D12の値に関するしきい値であって、予め設定された任意の値であり、数値制御部10が有する記憶部14に記憶される。
 検出位置データD12の波形は、もとは検出位置データD1であるので、両者のデータ列をプロットした波形は合同になる。しかしながら、検出位置データD12には、駆動制御部20aの第2の入出力部23aにおけるデジタルアナログ変換に要する時間と、通信線L2を介して行われる通信の初回通信で取得されるデータ列の先頭データが関連付けられる時刻データと該データが実際にサンプリングされた時刻とが必ずしも一致しないことにより生じる時間のずれとが含まれることで、時間ΔTだけ信号の遅延が発生する。
 演算部11は、記憶部14に記憶された検出位置データD1を評価し、検出位置データD1の値が初期値から値dだけ増加したところのデータを判定する処理を行い、該データに関連付けられた時刻データを時刻Tとして記憶部14に記憶する。同様に、演算部11は、記憶部14に記憶された検出位置データD12を評価し、検出位置データD12の値が初期値から値dだけ増加したところのデータを判定する処理を行い、該データに関連付けられた時刻データを時刻Tとして記憶部14に記憶する。
 時刻Tと時刻Tの値の差分である時間ΔTから、検出位置データD12のデータ列が含む信号の遅延時間が算出される。検出位置データD12に関連付けられた時刻データ列の各々の値から、この遅延時間を差し引いた値が、検出位置データD12に関連付けられた時刻データの値として更新される。これにより、指標信号データD12と計測信号Sのデータが含む時間の遅延が補正されて、計測信号Sに関連付けられた時刻データは、計測信号Sが計測器60にて計測された正しい時刻、すなわち遅延を含まない時刻となり、検出位置データD1及び指令位置のように、数値制御部10と駆動制御部20aの間で通信されるデータの値とを比較することが可能になる。
 以上説明したように、本実施の形態によれば、計測信号のデータの遅延を補正し、正しい時刻に同期して取得することが可能になる。また、本実施の形態によれば、複数の計測器を用いて、複数の異なる計測信号を同時に計測するような場合であっても、通信線の通信負荷を増大させることなく、計測することが可能となる。
 実施の形態1では駆動制御部20の演算部21が指標信号データD2を生成し、数値制御部10と信号計測部50に通信するのに対し、本実施の形態では、検出位置データD1を数値制御部10と信号計測部50に通信する。このように、検出器32から状態量を取得し、実施の形態1の指標信号データに代えて状態量の値である検出位置データD1を使用することで、本実施の形態に係る数値制御装置は、駆動制御部20aの演算部21aを動作させるプログラムにおいて、指標信号データD2を生成して通信するための処理が不要であり且つ数値制御部10の記憶部14に記憶させるデータ数を削減することができる、という効果を奏する。
実施の形態3.
 実施の形態1,2においては、数値制御部の記憶部に記憶された計測信号のデータは、計測信号が計測された正しい時刻を示す時刻データと関連付けられているが、計測信号Sのデータ列は数値制御部が記憶する他のデータ列に対して、異なる時間間隔で記憶される。ここで、他のデータ列には、指令位置に関するデータ及び検出位置データD1を例示することができる。そこで、計測信号Sのデータを利用して、数値制御部が制御対象の運動をより正確に制御するための補正パラメータを算出するためには、計測信号Sのデータが検出位置データD1に関連付けられた時刻データに関連付けられていることが望ましい。
 図5は、時刻を横軸とし、計測信号Sのデータと検出位置データD1とをプロットし、検出位置データD1に関連付けられた時刻データの1つである時刻tの前後を示す拡大図である。図5を用いて、計測信号Sのデータから、検出位置データD1と時刻データを共有する計測信号S1のデータを算出する方法を示す。
 図5において、黒丸で示す点(t,D1)は、時刻tにおける検出位置データD1の値をプロットした点であり、黒四角で示す点(tm-,Sm-),(tm+,Sm+)は、計測信号Sのデータに関連付けられた時刻データのうちで、時刻tより早く且つ時刻tに最も近い時刻tm-と、時刻tより遅く且つ時刻tに最も近い時刻tm+における、計測信号Sのデータの値を各々プロットしたものである。図5において、白四角で示す点(t,S1)は、点(tm-,Sm-)と点(tm+,Sm+)を結んだ線分上の、時刻tにおける点である。図5における幾何学的な関係より、S1は下記の式(1)によって表される。
Figure JPOXMLDOC01-appb-M000001
 検出位置データD1と検出位置データD1に関連付けられたすべての時刻データに関して、上記の式(1)の計算を行って得られる計測信号S1のデータ列は、検出位置データD1と時刻データを共有するよう、計測信号Sのデータをリサンプリングしたものであり、計測信号S1のデータ列を記憶部14に記憶させることで、計測信号S1のデータを利用して、数値制御部10が、制御対象40の運動をより正確に制御するための補正パラメータを算出することが可能となる。
 また、本実施の形態における数値制御部は、図1,3に図示していない表示部が追加された構成であり、この表示部は、記憶部に記憶された1つ以上のデータ列を組み合わせて表示する。
 図6は、記憶部14に記憶された時刻データと、検出位置データD1と、リサンプリングされた計測信号S1のデータとを組み合わせたテーブルデータを示す図である。なお、これらのデータは、図2,4に示すように、関連付けられた時刻データに対して各データをプロットし、グラフとして表示されていてもよい。
 また、本実施の形態における数値制御部は、図1,3に図示していない第3の入出力部が追加された構成であり、この第3の入出力部は、上述の組み合わされた複数のデータ列をまとめてひとつのデータファイルとして変換し、外部の記憶媒体へ出力する。ここで、外部の記憶媒体には、フラッシュメモリを例示することができる。
 以上説明したように、本実施の形態の数値制御装置によれば、計測信号Sのデータを制御パラメータの補正に用いて計算処理を行うことが容易になる。また、同期した計測信号S1のデータを他のデータと共に表示することで、取得した計測信号Sのデータを保守及び調整の作業者がその場で評価することが容易となる。さらには、前記データをデータファイルとして出力することで、パーソナルコンピュータを用いた解析作業をオフラインでも行うことができる。
 なお、以上説明した実施の形態1から3において説明した数値制御装置には、各構成間の通信が通信線を介して行われる構成を例示しているが、本発明はこれに限定されるものではなく、各構成間の通信が無線通信であってもよい。
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。
 10 数値制御部、11,21,21a,51 演算部、12,22,22a 第1の入出力部、13,23,23a 第2の入出力部、14,54 記憶部、15 タイマ、20,20a 駆動制御部、24,24a 検出値入力部、25,25a インバータ回路、30 駆動装置、31 駆動部、32 検出器、40 制御対象、50 信号計測部、52 信号入力部、53 信号出力部、60 計測器、100,100a 数値制御装置。

Claims (7)

  1.  制御対象の指令位置を生成する数値制御部と、
     前記数値制御部と第1の通信手段で接続された駆動制御部と、
     前記数値制御部と第2の通信手段で接続され、前記駆動制御部と第3の通信手段で接続された信号計測部と、を備え、
     前記駆動制御部は、前記制御対象が前記指令位置に追従するように前記制御対象に接続された駆動部を制御する指令を生成すると共に、指標信号データを生成して前記第1の通信手段を介して前記数値制御部に出力すると同時に前記指標信号データを前記第3の通信手段を介して前記信号計測部へ出力し、
     前記数値制御部は、前記指標信号データを、前記第1の通信手段を介して第1の指標信号データとして取得すると共に、前記信号計測部及び前記第2の通信手段を介して第2の指標信号データとして取得し、前記第1の指標信号データと前記第2の指標信号データとを比較して、前記第1の指標信号データに対する前記第2の指標信号データの通信の遅延を算出し、前記計測信号の入力時刻を求める処理を行う演算部を有することを特徴とする数値制御装置。
  2.  前記駆動制御部は、
     前記第1の通信手段を介して前記数値制御部に前記第1の指標信号データを出力する第1の入出力部と、
     前記第3の通信手段を介して前記信号計測部に前記第2の指標信号データを出力する第2の入出力部とを備え、
     前記第2の入出力部は、前記第2の指標信号データをアナログ値として出力するデジタルアナログ変換器を含むことを特徴とする請求項1に記載の数値制御装置。
  3.  前記信号計測部は、
     一定のサンプリング周期で複数のアナログ信号を取得して、前記複数のアナログ信号を変換してデジタル信号を出力するアナログデジタル変換器を含む信号入力部と、
     前記デジタル信号を前記サンプリング周期の1周期毎に組として記憶する記憶部と、
     前記記憶部に記憶された前記デジタル信号を前記第2の通信手段の通信周期毎に前記数値制御部に出力する信号出力部とを備え、
     前記複数のアナログ信号には、前記駆動制御部の前記第2の入出力部からアナログ出力される前記第2の指標信号データが含まれることを特徴とする請求項1に記載の数値制御装置。
  4.  前記駆動部と、前記駆動部の位置、速度及び電流の少なくともいずれか1つの状態量を検出して前記状態量を前記駆動制御部に出力する検出器とを含む駆動装置に接続され、
     前記駆動制御部は、前記検出器から前記状態量を取得し、前記状態量の変化又は前記数値制御部から取得する前記指令位置の変化をトリガとして前記指標信号データをパルス出力することを特徴とする請求項1又は請求項2に記載の数値制御装置。
  5.  前記駆動部と、前記駆動部の位置、速度及び電流の少なくともいずれか1つの状態量を検出して前記状態量を前記駆動制御部に出力する検出器とを含む駆動装置に接続され、
     前記駆動制御部は、前記検出器から前記状態量を取得し、前記指標信号データに代えて前記状態量の値である検出位置データを使用することを特徴とする請求項1又は請求項2に記載の数値制御装置。
  6.  前記数値制御部が取得した前記計測信号のデータから、関連付けられた時刻データを前記検出位置データと共有する計測信号のデータの値を算出することを特徴とする請求項5に記載の数値制御装置。
  7.  前記時刻データに同期された前記計測信号のデータと、前記指標信号データ、前記検出位置データ及び前記指令位置のデータの少なくとも1つ以上のデータとを組み合わせて表示し、又はデータファイルとして出力することを特徴とする請求項6に記載の数値制御装置。
PCT/JP2015/063653 2015-05-12 2015-05-12 数値制御装置 WO2016181504A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN201580079911.0A CN107615197B (zh) 2015-05-12 2015-05-12 数控装置
US15/565,519 US10732602B2 (en) 2015-05-12 2015-05-12 Numerical control apparatus
DE112015006524.5T DE112015006524B4 (de) 2015-05-12 2015-05-12 Numerische Steuerungseinrichtung
PCT/JP2015/063653 WO2016181504A1 (ja) 2015-05-12 2015-05-12 数値制御装置
JP2017517523A JP6362773B2 (ja) 2015-05-12 2015-05-12 数値制御装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/063653 WO2016181504A1 (ja) 2015-05-12 2015-05-12 数値制御装置

Publications (1)

Publication Number Publication Date
WO2016181504A1 true WO2016181504A1 (ja) 2016-11-17

Family

ID=57247851

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/063653 WO2016181504A1 (ja) 2015-05-12 2015-05-12 数値制御装置

Country Status (5)

Country Link
US (1) US10732602B2 (ja)
JP (1) JP6362773B2 (ja)
CN (1) CN107615197B (ja)
DE (1) DE112015006524B4 (ja)
WO (1) WO2016181504A1 (ja)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170115696A (ko) * 2016-04-08 2017-10-18 엘에스산전 주식회사 인버터 시스템
DE102017222474A1 (de) * 2016-12-12 2018-06-14 Fanuc Corporation Numeriksteuerung und datenstruktur

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04135210A (ja) * 1990-09-27 1992-05-08 Fanuc Ltd 同期信号発生装置
JP2002312011A (ja) * 2001-04-10 2002-10-25 Enshu Ltd 工作機械のための情報通信システム
JP2013051605A (ja) * 2011-08-31 2013-03-14 Toshiba Corp 送信装置および伝送システム
JP2013084111A (ja) * 2011-10-07 2013-05-09 Canon Inc 通信システム、制御装置、通信装置、制御方法、通信方法、及びプログラム
US20140371877A1 (en) * 2011-04-11 2014-12-18 Rockwell Automation Technologies, Inc. Event generation in an input module for an industrial controller
JP2015035158A (ja) * 2013-08-09 2015-02-19 ルネサスエレクトロニクス株式会社 データ処理システム

Family Cites Families (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4879644A (en) * 1987-12-30 1989-11-07 The Boeing Company Object positioning apparatus and method
JP2636534B2 (ja) 1991-03-22 1997-07-30 三菱電機株式会社 通信システム
JPH0969004A (ja) * 1995-06-19 1997-03-11 Fanuc Ltd 数値制御装置
JPH10124118A (ja) 1996-10-18 1998-05-15 Meidensha Corp シーケンサ
EP1052560B1 (en) * 1999-05-11 2004-08-11 Fanuc Ltd Numerical control system
JP3772052B2 (ja) 1999-07-09 2006-05-10 ファナック株式会社 制御装置
DE10059135B4 (de) * 2000-11-29 2005-07-14 Infineon Technologies Ag Transceiver
US6792118B2 (en) * 2001-11-14 2004-09-14 Applied Neurosystems Corporation Computation of multi-sensor time delays
JP3671020B2 (ja) * 2002-04-09 2005-07-13 ファナック株式会社 数値制御装置
JP4118695B2 (ja) * 2003-01-22 2008-07-16 三菱電機株式会社 数値制御システム
JP4112433B2 (ja) * 2003-05-22 2008-07-02 スター精密株式会社 工作機械の数値制御装置と工作機械の数値制御方法
GB0400144D0 (en) * 2004-01-06 2004-02-11 Renishaw Plc Inspection system
JP2005229668A (ja) 2004-02-10 2005-08-25 Fanuc Ltd 機械制御装置
GB0411991D0 (en) * 2004-05-28 2004-06-30 New Transducers Ltd Communication network for servo systems and the like
JP4290639B2 (ja) * 2004-12-01 2009-07-08 三菱電機株式会社 数値制御装置及び数値制御工作機械
US20070047687A1 (en) * 2005-08-25 2007-03-01 Tse-Hsiang Hsu Phase detector and related phase detecting method thereof
JP4182132B2 (ja) * 2007-03-27 2008-11-19 ファナック株式会社 モータ制御システム
JP4291382B2 (ja) * 2007-07-31 2009-07-08 ファナック株式会社 接触検知による取り付け誤差の自動補正機能を有する工作機械
JP2009060480A (ja) * 2007-09-03 2009-03-19 Yokogawa Electric Corp フィールド制御システム
US7859778B1 (en) * 2008-02-21 2010-12-28 Seagate Technology Llc Deterministic phase mismatch correction in servo position estimation systems
JP4532577B2 (ja) * 2008-05-23 2010-08-25 ファナック株式会社 数値制御装置と機上計測装置を有する工作機械
JP4653824B2 (ja) * 2008-07-29 2011-03-16 ファナック株式会社 機上計測装置にて計測対象物の形状を計測する工作機械システム
JP4620148B2 (ja) * 2008-10-15 2011-01-26 ファナック株式会社 サーボモータ制御装置
JP2010105063A (ja) * 2008-10-28 2010-05-13 Fanuc Ltd 温度ドリフト補正を行う機上計測装置を用いるワークの形状計測方法および機上計測装置を備えた工作機械
US8094407B2 (en) * 2009-08-18 2012-01-10 International Business Machines Corporation Servomechanism with adjustable predictor filter
JP5473665B2 (ja) * 2010-02-17 2014-04-16 Dmg森精機株式会社 工作機械における工作物測定装置およびその方法
JP2011217530A (ja) * 2010-03-31 2011-10-27 Toshiba Mach Co Ltd サーボ制御方法及びサーボ制御装置
JP4847613B2 (ja) * 2010-05-10 2011-12-28 ファナック株式会社 多軸加工機用数値制御装置
JP5689704B2 (ja) * 2010-08-08 2015-03-25 日本電産サンキョー株式会社 モータ制御装置およびモータ制御方法
CN103380595B (zh) * 2011-02-21 2016-09-07 三菱电机株式会社 通信装置及通信方法
JP5741224B2 (ja) * 2011-05-31 2015-07-01 富士通株式会社 通信制御方法及び中継装置
CN102354155B (zh) * 2011-07-22 2013-05-01 江俊逢 开放式数控系统的实时内核及刀路曲线的实时控制方法
JP5173016B1 (ja) * 2011-12-22 2013-03-27 ファナック株式会社 機上計測装置を有する工作機械
JP5249452B1 (ja) * 2011-12-28 2013-07-31 ファナック株式会社 補正データを考慮した軌跡表示装置
JP5416238B2 (ja) 2012-02-27 2014-02-12 ファナック株式会社 データ管理機能を備えた波形表示装置
JP5351301B2 (ja) * 2012-03-19 2013-11-27 ファナック株式会社 Ioユニットにより時間計測を行う数値制御システム
DE112012006076T5 (de) * 2012-05-09 2014-12-04 Mitsubishi Electric Corporation Nummeriksteuervorrichtung
JP5661832B2 (ja) * 2013-02-26 2015-01-28 ファナック株式会社 設定条件に応じた検索機能を備える波形表示装置
US9405286B2 (en) * 2013-03-01 2016-08-02 Fisher-Rosemount Systems, Inc. Use of predictors in process control systems with wireless or intermittent process measurements
US9921568B2 (en) * 2013-12-05 2018-03-20 Mitsubishi Electric Corporation Trajectory measuring device, numerical control device, and trajectory measuring method
JP5877826B2 (ja) * 2013-12-16 2016-03-08 ファナック株式会社 サーボ出力遅延手段を備えた数値制御装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04135210A (ja) * 1990-09-27 1992-05-08 Fanuc Ltd 同期信号発生装置
JP2002312011A (ja) * 2001-04-10 2002-10-25 Enshu Ltd 工作機械のための情報通信システム
US20140371877A1 (en) * 2011-04-11 2014-12-18 Rockwell Automation Technologies, Inc. Event generation in an input module for an industrial controller
JP2013051605A (ja) * 2011-08-31 2013-03-14 Toshiba Corp 送信装置および伝送システム
JP2013084111A (ja) * 2011-10-07 2013-05-09 Canon Inc 通信システム、制御装置、通信装置、制御方法、通信方法、及びプログラム
JP2015035158A (ja) * 2013-08-09 2015-02-19 ルネサスエレクトロニクス株式会社 データ処理システム

Also Published As

Publication number Publication date
DE112015006524T5 (de) 2018-02-15
CN107615197B (zh) 2020-07-14
JP6362773B2 (ja) 2018-07-25
US20180074476A1 (en) 2018-03-15
US10732602B2 (en) 2020-08-04
DE112015006524B4 (de) 2022-08-11
CN107615197A (zh) 2018-01-19
JPWO2016181504A1 (ja) 2017-09-07

Similar Documents

Publication Publication Date Title
JP6469065B2 (ja) 機械学習装置及び加工時間予測装置
EP1967924A1 (en) Apparatus for synchronously controlling a plurality of servomotors
JP2005216135A (ja) ねじ切り・ねじ立て加工用制御装置
US20140039666A1 (en) Apparatus and method for automatically detecting and compensating for a backlash of a machine tool
JP5249452B1 (ja) 補正データを考慮した軌跡表示装置
US10031507B2 (en) Servo control device
JP6362773B2 (ja) 数値制御装置
JP5622125B2 (ja) 多軸モータ駆動システム及び多軸モータ駆動装置
JP2005313280A (ja) 数値制御装置
JP5738490B1 (ja) 軌跡測定装置、数値制御装置および軌跡測定方法
JP6377506B2 (ja) モータ制御装置および同装置における補正データ作成方法
JP7140033B2 (ja) 材料試験機、及び材料試験機の制御方法
JP2016081298A (ja) 点列データを駆動軸の時系列データに変換して表示する時系列データ表示装置
JP2003330510A (ja) 数値制御装置の同期制御方法
JP2017068391A (ja) 数値制御装置と数値制御装置のロストモーション補償方法
JP6038063B2 (ja) 軌跡誤差表示装置
JP6349093B2 (ja) モータ制御装置および同装置における補正データ作成方法
JP2009106986A (ja) スポット溶接ガン制御装置
JP2012146006A (ja) 位置決め制御装置
JP2017516454A (ja) 逆起電力を使用したリニアアクチュエータ力のマッチング
JP2012093231A (ja) 疲労試験装置
JPH05169351A (ja) 工作機械の熱変位補正方法
JP7172801B2 (ja) 材料試験機、及び、材料試験機の制御方法
JP3841711B2 (ja) トランスファ装置の制御装置
KR20130107743A (ko) 정밀 트리거 신호를 이용한 로봇 비젼 검사 시스템 및 그 방법

Legal Events

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

Ref document number: 15891828

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017517523

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15565519

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 112015006524

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15891828

Country of ref document: EP

Kind code of ref document: A1