Cam profile data creation apparatus and synchronization controller
10274906 ยท 2019-04-30
Assignee
Inventors
Cpc classification
G05B2219/50234
PHYSICS
G05B19/4097
PHYSICS
G05B19/414
PHYSICS
International classification
Abstract
A cam profile data creation apparatus sets cam profile data in which a phase of a drive shaft is associated with a displacement (set displacement) of a driven shaft, a rotation speed of the drive shaft, and an allowable error for the displacement of the driven shaft. A displacement (predictive displacement) of the driven shaft when the drive shaft rotates at the set rotation speed is found based on the set cam profile data, the set displacement and the predictive displacement are displayed to be comparable, and further a form of the display is changed depending on whether an error between the set displacement and the predictive displacement falls within the range of the allowable error.
Claims
1. A control system for controlling an electronic cam, the control system comprising: a processor configured to: set cam profile data in which a phase of a drive shaft of the electronic cam is associated with a set displacement as displacement of a driven shaft of the electronic cam; set a rotation speed of the drive shaft; set an allowable error for a displacement of the driven shaft; find a predictive displacement as displacement of the driven shaft when the drive shaft rotates at the rotation speed based on the cam profile data; a display configured to display the set displacement and the predictive displacement in a manner such that they can be compared with each other and changes a form of the display depending on whether an error between the set displacement and the predictive displacement falls within the range of the allowable error; and a controller configured to receive the rotation speed from the processor and control the electronic cam by controlling the drive shaft to rotate at the rotation speed when the comparison indicates that error falls within the range of the allowable error.
2. The cam profile data creation system according to claim 1, wherein the processor is further configured to: change the rotation speed of the drive shaft, and change the predictive displacement depending on a change in the rotation speed.
3. The cam profile data creation system according to claim 2, wherein the processor is further configured to autonomously change the rotation speed of the drive shaft and to calculate a maximum value of the rotation speed at which the error falls within the range of the allowable error.
4. The cam profile data creation system according to claim 3, wherein the processor is further configured to gradually decrease the rotation speed set by the drive shaft rotation speed setting unit and calculate a maximum value of the rotation speed at which the error falls within the range of the allowable error.
5. The cam profile data creation system according to claim 3, wherein the processor is further configured to: record the cam profile data; record a maximum value of the rotation speed; and wherein the controller is further configured to: rotate the drive shaft at a maximum value of the rotation speed and control a driven shaft based on the cam profile data.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The forgoing and other objects and feature of the invention will be apparent from the following description of preferred embodiments of the invention with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(12) A cam profile data creation apparatus according to a first embodiment of the present invention will be first described with reference to
(13) A structure of the cam profile data creation apparatus according to the present embodiment will be described with reference to the block diagram of
(14) A cam profile data creation apparatus 100 has a driven shaft displacement prediction unit 101, a drive shaft rotation speed setting unit 103, an allowable error setting unit 105, a display unit 107, a drive shaft rotation speed adjustment unit 109, and a cam profile data setting unit 111.
(15) The cam profile data creation apparatus 100 is typically an information processing apparatus such as personal computer (PC) or microcomputer. A CPU (not illustrated) performs predetermined processings according to programs stored in a storage area so that the cam profile data creation apparatus 100 logically realizes various processing units.
(16) The cam profile data setting unit 111 receives input cam profile data. The cam profile data is data in which a phase of a drive shaft is associated with a displacement of a driven shaft. The cam profile data setting unit 111 typically displays a table as illustrated in
(17) The drive shaft rotation speed setting unit 103 receives an input drive shaft rotation speed. The drive shaft rotation speed is indicated by an angular speed (rad/s) of the drive shaft, a rotation cycle T(s) of the drive shaft, or a revolution N (rpm) of the drive shaft, for example. The drive shaft rotation speed setting unit 103 typically displays a table as illustrated in
(18) The allowable error setting unit 105 receives an input allowable error. The allowable error is a value indicating a difference between a displacement of the driven shaft defined as cam profile data and a predictive displacement of the driven shaft in an actual instruction operation. The allowable error may be defined with a different value for each phase of the drive shaft as illustrated in
(19) The driven shaft displacement prediction unit 101 performs a processing of predicting a displacement of the driven shaft when the drive shaft is rotated at a rotation speed set by the drive shaft rotation speed setting unit 103 based on the cam profile data set by the cam profile data setting unit 111. For example, the driven shaft displacement prediction unit 101 plots the definition points set by the cam profile data setting unit 111 on a two-axis orthogonal coordinate plane in which a phase of the drive shaft is assumed as first axis and a displacement of the driven shaft is assumed as second axis.
(20) The driven shaft displacement prediction unit 101 then extracts a definition point to be actually subjected to an instruction operation by use of a rotation speed set by the drive shaft rotation speed setting unit 103. For example, it is assumed that the cam profile data is defined at an interval of 15, a rotation speed of the drive shaft is 360 per second, and a control cycle of the synchronization controller 200 is second. In this case, a phase interval is assumed at 360/8=45. In other words, the instruction operation is performed each time the displacement of the drive shaft changes by 45. Then, substantially one-third of the definition points originally defined per phase of 15 of the drive shaft are used for the instruction operation. The driven shaft displacement prediction unit 101 extracts definition points usable for the instruction operation and calculates an approximate curve connecting the extracted definition points as the phase interval progresses. The approximate curve indicates a motion of the driven shaft along the actual instruction operation.
(21) The driven shaft displacement prediction unit 101 then superimposes the definition points set by the cam profile data setting unit 111 and the approximate curve on the coordinate plane as illustrated in
(22) Herein, the driven shaft displacement prediction unit 101 calculates an error between each of the displayed definition points and the approximate curve, that is, a difference in the amount of displacement. Then, the driven shaft displacement prediction unit 101 can change a display form of the definition points depending on whether or not the error exceeds the allowable error set by the allowable error setting unit 105. In the example of
(23) The drive shaft rotation speed adjustment unit 109 receives an input to change the rotation speed of the drive shaft set by the drive shaft rotation speed setting unit 103. For example, the drive shaft rotation speed adjustment unit 109 receives an input to vary the interval between the vertical lines or a phase interval as illustrated in
(24) The changes in the approximate curve when the rotation speed of the drive shaft is decreased will be described with reference to
(25) Generally, when the rotation speed of the drive shaft is decreased, the phase interval becomes narrower and the number of definition points used for an instruction operation increases so that an error between a definition point and the approximate curve becomes smaller. Thus, typically, the rotation speed of the drive shaft is gradually decreased in order to find a rotation speed at which the operation of the driven shaft can be realized, where an instruction operation similar to the cam profile data can be achieved or the error of the displacement falls within the range of the allowable error.
(26) When the rotation speed of the drive shaft (cam shaft) is decreased from S1, the difference between any of the definition points and the approximate curve falls within the range of the allowable error at the rotation speed of S2. On the display screen, some definition points are indicated by at the rotation speed S1 as illustrated in
(27) According to the present embodiment, the cam profile data creation apparatus 100 visually displays a profile error between the instruction operation for the driven shaft based on the designated rotation speed of the drive shaft and the displacement of the driven shaft defined by the cam profile data. Thereby, it is possible to adjust a rotation speed of the drive shaft safely in a short time thereby to find an optimum rotation speed without actually operating the machine.
(28) Further, according to the present embodiment, the drive shaft rotation speed adjustment unit 109 provides a unit configured to adjust a rotation speed of the drive shaft on the graph. Further, a unit configured to adjust a rotation speed of the drive shaft by input of numerical values can be provided. Thereby, it is possible to easily find an optimum rotation speed of the drive shaft, preferably a maximum rotation speed at which the error falls within the range of the allowable error. Thus, it is possible to efficiently perform the work of adjusting the instruction operation.
(29) The cam profile data creation apparatus according to a second embodiment of the present invention will be described below with reference to
(30) A structure of the cam profile data creation apparatus according to the present embodiment can be illustrated in the block diagram of
(31) When an error between at least one of definition points of the cam profile data and the approximate curve exceeds the allowable error, the drive shaft rotation speed adjustment unit 109 in the cam profile data creation apparatus according to the present embodiment sequentially decreases the rotation speed of the drive shaft (cam shaft) from the rotation speed S1 (
(32) A flow of the processing of finding a clamp rotation speed by the drive shaft rotation speed adjustment unit 109 in the cam profile data creation apparatus according to the present embodiment will be described with reference to the flowchart of
(33) [Step S101] The drive shaft rotation speed adjustment unit 109 assumes a phase interval 1 corresponding to a rotation speed of the drive shaft set by the drive shaft rotation speed setting unit 103 as buf. Herein, buf is a variable at which the phase interval is temporarily stored.
(34) [Step S102] A determination is made, when the phase interval is buf, as to whether one or more definition points at which an error between the definition point and the approximate curve exceeds the allowable error are caused or not. When such one or more definition points are caused, the processing proceeds to step S103, and when such a definition point is not caused, the processing proceeds to step S106.
(35) [Step S103] Since an error between the approximate curve and a definition point exceeds the allowable error, the phase interval is narrowed. That is, the phase interval buf is replaced with buf-d to updated the phase interval buf. Herein, d is a range of reduction in phase interval.
(36) [Step S104] Herein, a check is made as to whether the phase interval buf is equal to or less than the phase interval .sub.0 of the drive shaft defined in the cam profile data. When the phase interval buf is the interval .sub.0 or less, the processing proceeds to step S105, and otherwise, the processing proceeds to step S102 to evaluate an error again by use of new buf.
(37) [Step S105] Since the phase interval buf is equal to or less than the phase interval .sub.0 of the drive shaft defined in the cam profile data, .sub.0 is set to buf. This is because when buf is equal to .sub.0, all the definition points are to be instructed and the error is made 0.
(38) [Step S106] buf is output as clamp. Herein, clamp is a phase interval corresponding to the clamp rotation speed of the drive shaft.
(39) The cam profile data creation apparatus 100 can calculate and output a clamp rotation speed based on the phase interval clamp. The calculation method is as in the following equations.
Angular speedclamp(rad/s)=clamp/
Cycle Tclamp(s)=2/clamp=2/clamp
Speed of revolution Nclamp(rpm)=1/Tclamp60=clamp/260
(40) With the cam profile data creation apparatus according to the present embodiment, the drive shaft rotation speed adjustment unit 109 calculates a maximum rotation speed of the drive shaft at which an error between an instruction operation for the driven shaft and a displacement of the driven shaft defined in the cam profile data falls within the range of the allowable error. Thereby, the efficiency of the work of adjusting the instruction operation can be remarkably enhanced.
(41) A synchronization controller according to a third embodiment of the present invention will be described below with reference to
(42) The present embodiment is directed to a synchronization controller 200 operating based on cam profile data set by the cam profile data creation apparatus 100 according to the first embodiment and a clamp rotation speed of the drive shaft calculated according to the second embodiment.
(43) As illustrated in
(44) The synchronization controller 200 is typically constituted by a numerical controller. A CPU performs predetermined processings according to programs stored in a storage area so that the synchronization controller 200 logically realizes various processing units.
(45) The cam profile data recording unit 201 acquires and records the cam profile data set by the cam profile data setting unit 111 from the cam profile data creation apparatus 100. The maximum rotation speed recording unit 203 acquires and records the clamp rotation speed calculated by the drive shaft rotation speed adjustment unit 109 from the cam profile data creation apparatus 100.
(46) The drive shaft rotation speed control unit 205 sets the rotation speed of the drive shaft to the clamp rotation speed recorded by the maximum rotation speed recording unit 203, and performs the instruction operation.
(47) According to the present embodiment, the synchronization controller 200 can clamp the instruction rotation speed of the drive shaft of the synchronization controller 200 by use of the maximum rotation speed of the drive shaft calculated by the cam profile data creation apparatus 100. Thereby, the efficiency of the work of adjusting the instruction operation can be remarkably enhanced.
(48) The present invention is not limited to the above embodiments, and can be changed as needed within the scope without departing from the intent and purpose. For example, the first embodiment is configured such that the cam profile data creation apparatus 100 visually displays a profile error between an instruction operation for the driven shaft and a displacement of the driven shaft defined in the cam profile data at a rotation speed in response to designation of the rotation speed of the drive shaft. On the other hand, the second embodiment is configured such that the cam profile data creation apparatus 100 automatically calculates an optimum rotation speed of the drive shaft. Thus, the second embodiment may not be necessarily configured such that a profile error is visually displayed.
(49) The above embodiments describe the example in which the definition points set by the cam profile data setting unit 111 and the approximate curve calculated by the driven shaft displacement prediction unit 101 are displayed on a graph by the display unit 107. However, the displacement, phase or error indicated by the definition points and the approximate curve may be simply displayed in numerical values instead of the graph.