Numerically-controlled machine tool system of processing based on cloud platform
Technical field
The present invention relates to a kind of numerically-controlled machine tool system of processing and the numerically-controlled machine tool system of processing based on cloud platform.
Background technique
Existing lathe is essentially all that off line uses, and can not be emulated, and real time data when lathe work can not be grasped, can not
Remotely operated, can not also carry out remote batch operation, also can not remote batch operate during account real time data.
In addition, scene needs personnel to process, process real time inspection can not be carried out outside processing environment;Personnel in remote operation
Operation bench can not be directly operated, it can not real simulation work on the spot environment;Existing emulation platform reply numerically-controlled machine tool is single, no
Has generality, it is even more impossible to realize the verifying of cloud processing program correctness;Available data lathe has data external interface, but
It is not have data encryption ability.It is all the important main cause for restricting numerically-controlled machine tool and realizing remote control processing above.
Numerically-controlled machine tool control panel is the important composition component of numerically-controlled machine tool, is that operator interacts with numerically-controlled machine tool
Tool.Operator may be implemented by operation control panel to set the operation of numerically-controlled machine tool, programming, debugging and parameter
Fixed and modification etc., existing Digital machine simulation software are mostly for the purpose of imparting knowledge to students and training, to process for analog simulation numerically-controlled machine tool
Process can cooperate simulated panel to carry out more true emulation simultaneously;It can however not realizing that analogue system is led to numerically-controlled machine tool
Letter.Therefore a kind of Novel numerical control machine system of processing urgent need is developed.
Summary of the invention
The present invention cannot achieve long-range monitoring numerically-controlled machine tool processing and process monitoring for of the existing technology, in turn
The problem of cannot achieve cloud control numerically-controlled machine tool processing, and develop a kind of numerically-controlled machine tool system of processing based on cloud platform.Tool
Body technique scheme is as follows:
A kind of numerically-controlled machine tool system of processing, comprising: numerically-controlled machine tool;Characterized by further comprising:
With numerically-controlled machine tool data connection, and the machine simulation platform of data communication can be carried out with numerically-controlled machine tool;
The machine simulation platform can carry out analog simulation to work pieces process program, and work pieces process program is sent to
Numerically-controlled machine tool, numerically-controlled machine tool carries out work pieces process, while various status informations in numerical-controlled machine tool machining process and parameter can
It is shown by machine simulation platform;Or work pieces process program is sent to numerically-controlled machine tool, numerically-controlled machine tool by machine simulation platform
Work pieces process is carried out, while various status informations in numerical-controlled machine tool machining process and parameter can be aobvious by machine simulation platform
It shows and.
The machine simulation platform includes: analogue system and simulated panel;
The analogue system is used to carry out analog simulation to work pieces process program, is also used to be led to numerically-controlled machine tool in real time
Letter receives various status informations and parameter information that numerically-controlled machine tool is fed back while sending control command to numerically-controlled machine tool;
The simulated panel is connected with simulation system data, can be grasped to the workpiece process in analogue system
Make;
Analogue system can operate simulation process by simulated panel in analog simulation workpiece process,
Simulate the various working conditions of true lathe;
Analogue system can add numerically-controlled machine tool by simulated panel when controlling numerically-controlled machine tool progress workpiece process
Work process is operated.
A kind of numerically-controlled machine tool system of processing based on cloud platform, comprising: numerically-controlled machine tool;Characterized by further comprising:
Analog simulation can be carried out to work pieces process program, and the work pieces process program that analog simulation is proved to be successful is sent
It sends work pieces process program in cloud platform onto cloud platform, or directly, while to various during numerical control machine tooling
The machine simulation platform that status information and parameter are shown;
It is connected respectively with machine simulation platform with numerical control machine tool data, the work sended over for receiving lathe emulation platform
Part processing program sends the various status informations and parameter in numerical-controlled machine tool machining process to machine simulation platform, for receiving
Various status informations and parameter in the process that numerically-controlled machine tool sends over send work pieces process program to numerically-controlled machine tool
Cloud platform.
The machine simulation platform includes: analogue system and simulated panel;
The analogue system is used to carry out analog simulation to work pieces process program, is also used to be led to cloud platform in real time
Letter receives the various status informations and ginseng of the numerically-controlled machine tool that cloud platform is fed back while sending work pieces process program to cloud platform
Number information;
The simulated panel is connected with simulation system data, can be grasped to the workpiece process in analogue system
Make.
After work pieces process program is sent cloud platform by machine simulation platform, whether cloud platform can inquire has the free time can
The numerically-controlled machine tool of processing, if there is work pieces process program is sent to the idle numerically-controlled machine tool that can be processed.
The cloud platform when work pieces process program is sent to numerically-controlled machine tool, can numerically-controlled machine tool can be worked normally into
Row judgement, detailed process is as follows:
After cloud platform receives the work pieces process program and task that machine simulation platform sends over, by work pieces process program
It is sent to the selected numerically-controlled machine tool A of cloud platform and carries out verifying processing, cloud platform real-time monitoring and whether judge this numerically-controlled machine tool A
Abnormal in the presence of processing, if numerically-controlled machine tool A is processed successfully, numerically-controlled machine tool A processing tasks are sent to numerically-controlled machine tool by cloud platform
A, numerically-controlled machine tool A carry out work pieces process according to distribution task;If numerically-controlled machine tool A processing is unsuccessful, cloud platform selects numerical control
Lathe B carries out verifying processing, cloud platform real-time monitoring and judge numerically-controlled machine tool B with the presence or absence of processing extremely, if numerically-controlled machine tool B
It processes successfully, then numerically-controlled machine tool B processing tasks are sent to numerically-controlled machine tool B by cloud platform, and numerically-controlled machine tool B is carried out according to distribution task
Work pieces process, while numerically-controlled machine tool A is added in maintenance machine tool archives cloud platform, new processing tasks of not reallocating, and sends dimension
It repairs notice and gives the numerically-controlled machine tool A owner;If numerically-controlled machine tool B processing is unsuccessful, cloud platform generates processing program error reporting, in
Break this processing tasks, while error reporting being sent to the machine simulation platform of the work pieces process program.
The cloud platform, can be processed to real-time reception numerically-controlled machine tool after work pieces process program is sent to numerically-controlled machine tool
Various status informations and parameter information in journey, and various status informations and parameter information are fed back into machine simulation platform in real time
Carry out real-time display, to guarantee that display process is synchronous with actual machining process, cloud platform, machine simulation platform and numerically-controlled machine tool it
Between also proceed as follows:
After numerically-controlled machine tool often processes a step, send data to cloud platform, numerically-controlled machine tool simultaneously to data send when
Between be monitored, whether judge sending time more than T1, if sending time is less than T1, numerically-controlled machine tool continues to process;If
Sending time be more than or equal to T1, then numerically-controlled machine tool stop processing, to cloud platform feed back continue Machining Instruction after, numerically-controlled machine tool after
Continuous processing;
Cloud platform also supervises the time for being successfully received each step process data of machine simulation platform feedback simultaneously
Control, i.e. cloud platform receive the time of the step process data of numerically-controlled machine tool transmission and the success of machine simulation platform feedback to it
The time difference for receiving the step process data is monitored, if the time difference is greater than T2, cloud platform notifies numerically-controlled machine tool to stop
Processing waits servers to receive machine simulation platform and feed back and successfully receives the data that numerically-controlled machine tool issues cloud platform final step
Afterwards, cloud platform notice numerically-controlled machine tool continues to process.
After cloud platform receives the work pieces process program that machine simulation platform sends over, additionally it is possible in conjunction with lathe emulation platform
The sets requirement information sended over recommends numerically-controlled machine tool to machine simulation platform user, and detailed process is as follows:
The sets requirement information includes: precision, away from discrete time;
Cloud platform recommends numerically-controlled machine tool to machine simulation platform user according to the size of K value;
K=a* (a2-A)/(a2-a1) * 100%+b* (b2-B)/(b2-b1) * 100%+c* (c2-C)/(c2-c1) *
100%
K is that cloud platform recommends reference value;
A is that precision is shared in specific gravity in evaluation, and A is user's actual need precision, the accuracy rating of lathe be a1 extremely
a2;
B is that transportation range is shared in specific gravity in evaluation, and B is user's actual need transportation range, the transportation range of lathe
Range is b1 to b2;
C is that precision is shared in specific gravity in evaluation, and C is user's actual need precision, lathe unit work pieces process time model
It encloses for c1 to c2.
The machine simulation platform is encrypted with data communication between cloud platform;Cloud platform is the same as between numerically-controlled machine tool
Data communication is encrypted.
The cloud platform between numerically-controlled machine tool be equipped with encryption and decryption equipment.
The present invention is compared with the existing technology its advantage is that it will be apparent that system analog lathe use process, makes to learn
It is convenient, reduce the risk that beginner operates lathe, due to analog so reducing in processing due to damaging caused by fault
Consumption, can direct real-time monitoring lathe operational process, make lathe work in it is more controllable, can remotely connect one or more lathe simultaneously
Processing on real-time and real-time monitoring operational process, to realize cloud processing and cloud manufacture.
Detailed description of the invention
Fig. 1 is numerically-controlled machine tool system of processing block diagram of the present invention;
Fig. 2 is the numerically-controlled machine tool system of processing block diagram of the present invention based on cloud platform;
Fig. 3 is that the more emulation platforms of the present invention construct the system block diagram that numerically-controlled machine tool processes cloud platform;
Fig. 4 is the structural block diagram of simulated panel;
Fig. 5 is the verification method that cloud platform carries out whether lathe is in normal process state;
Specific embodiment
Embodiment 1: as shown in Figure 1, a kind of numerically-controlled machine tool system of processing, comprising: numerically-controlled machine tool;Connect with numerically-controlled machine tool data
It connects, and the machine simulation platform of data communication can be carried out with numerically-controlled machine tool;The machine simulation platform can be to work pieces process
Program carries out analog simulation, and work pieces process program is sent to numerically-controlled machine tool, and numerically-controlled machine tool carries out work pieces process, while numerical control
Various status informations and parameter during machine tooling can be shown by machine simulation platform;Or machine simulation platform
Work pieces process program is sent to numerically-controlled machine tool, numerically-controlled machine tool carries out work pieces process, while each in numerical-controlled machine tool machining process
Kind status information and parameter can be shown by machine simulation platform.The machine simulation platform include: analogue system A and
Simulated panel B;
The analogue system A is used to carry out analog simulation to work pieces process program, is also used to carry out with numerically-controlled machine tool in real time
Communication receives various status informations and parameter information that numerically-controlled machine tool is fed back while sending control command to numerically-controlled machine tool;
The simulated panel B can operate the workpiece process in analogue system A with analogue system A data connection;
Analogue system A can grasp simulation process by simulated panel B in analog simulation workpiece process
Make, simulates the various working conditions of true lathe;Analogue system A is when controlling numerically-controlled machine tool progress workpiece process, energy
Enough numerical-controlled machine tool machining process is operated by simulated panel B;I.e. simulated panel B is to the process in analogue system A
It being operated, the simulated panel B operational order issued is transferred to numerically-controlled machine tool by analogue system A same CNC Machine Tools Communication in real time,
To realize manipulation of the simulated panel B to numerically-controlled machine tool.Wherein numerically-controlled machine tool is the same as machine simulation platform serial ports, USB interface or network interface
Communication connection.
Embodiment 2: as shown in Figures 2 and 3, a kind of numerically-controlled machine tool system of processing based on cloud platform, comprising: numerical control machine
Bed;Analog simulation can be carried out to work pieces process program, and send cloud for the work pieces process program that analog simulation is proved to be successful
On platform, the processing program by verifying is more stable, safer;Or it directly sends work pieces process program in cloud platform and (has
A little processing programs are by verifying, it is not necessary to be verified one time again again, it can be ensured that efficiency), while numerically-controlled machine tool is added
The machine simulation platform that various status informations and parameter during work are shown;Respectively with machine simulation platform and numerical control machine
Bed data connection, the work pieces process program sended over for receiving lathe emulation platform send numerical control to machine simulation platform
Various status informations and parameter during machine tooling, it is various in the process that numerically-controlled machine tool sends over for receiving
Status information and parameter send the cloud platform of work pieces process program to numerically-controlled machine tool.The machine simulation platform includes: emulation system
Unite A and simulated panel B;
The analogue system A is used to carry out analog simulation to work pieces process program, is also used to be led to cloud platform in real time
Letter receives the various status informations and ginseng of the numerically-controlled machine tool that cloud platform is fed back while sending work pieces process program to cloud platform
Number information;The simulated panel B can grasp the workpiece process in analogue system A with analogue system A data connection
Make;Analogue system A can operate simulation process by simulated panel B in analog simulation workpiece process, simulation
The various working conditions of true lathe out.Machine simulation platform can by the network interface connection to cloud platform on analogue system APC,
It can also be by the network interface connection to cloud platform on simulated panel B.Machine simulation platform sends cloud for work pieces process program and puts down
After platform, whether cloud platform can inquire has the idle numerically-controlled machine tool that can be processed, if there is work pieces process program is sent to sky
The numerically-controlled machine tool that spare time can process.Not idle numerically-controlled machine tool, is waited in line in cloud platform, waits available free number
After controlling lathe, then it is allocated.
Simulated panel B as shown in Figure 4 includes panel body, panel control circuit plate and main control board;The master control electricity
Main control module is included on the plate of road;It is connected with numerically-controlled machine tool monitoring center by Ethernet, and be connected with main control module
Network communication module;The handwheel control module being connected with main control module and handwheel;It is connected with main control module and key, is used for
Realize the serial communication modular that key is communicated with main control module;It is connected with multiple band lamp key switches, it is each for controlling
The switch control module of switch state with lamp key switch;And the USB interface communication module being connected with main control module;Institute
State the keyboard scan module for including on panel control circuit plate and being connected with main control module and keyboard;And with main control module and
The LED drive module that LED array is connected;Further, also have on the main control board and be connected with main control module
AD acquisition module;Further, also there is the parallel serial conversion module being connected with toggle switch on the panel control circuit plate;
The parallel serial conversion module be used for by the multi-way switching values parallel signal that each toggle switch generates be converted to serial signal transfer to
Main control module.
Embodiment 3: system other parts are with embodiment 2, and which is not described herein again, and only difference is described.Such as Fig. 5 institute
Show, can cloud platform can work normally numerically-controlled machine tool and judge when work pieces process program is sent to numerically-controlled machine tool, tool
Body process is as follows:
After cloud platform receives the work pieces process program and task that machine simulation platform sends over, by work pieces process program
It is sent to the selected numerically-controlled machine tool A of cloud platform and carries out verifying processing, cloud platform real-time monitoring and whether judge this numerically-controlled machine tool A
Abnormal in the presence of processing, if numerically-controlled machine tool A is processed successfully, numerically-controlled machine tool A processing tasks are sent to numerically-controlled machine tool by cloud platform
A, numerically-controlled machine tool A carry out work pieces process according to distribution task;If numerically-controlled machine tool A processing is unsuccessful, cloud platform selects numerical control
Lathe B carries out verifying processing, cloud platform real-time monitoring and judge numerically-controlled machine tool B with the presence or absence of processing extremely, if numerically-controlled machine tool B
It processes successfully, then numerically-controlled machine tool B processing tasks are sent to numerically-controlled machine tool B by cloud platform, and numerically-controlled machine tool B is carried out according to distribution task
Work pieces process, while numerically-controlled machine tool A is added in maintenance machine tool archives cloud platform, new processing tasks of not reallocating, and sends dimension
It repairs notice and gives the numerically-controlled machine tool A owner;If numerically-controlled machine tool B processing is unsuccessful, cloud platform generates processing program error reporting, in
Break this processing tasks, while error reporting being sent to the machine simulation platform of the work pieces process program.Machine simulation platform
Then error correction continues to complete processing tasks as procedure described above.The machine simulation platform with data communication between cloud platform into
Row encryption;Cloud platform is encrypted with data communication between numerically-controlled machine tool;The cloud platform is the same as between numerically-controlled machine tool
Equipped with encryption and decryption equipment.
The cloud platform, can be processed to real-time reception numerically-controlled machine tool after work pieces process program is sent to numerically-controlled machine tool
Various status informations and parameter information in journey, and various status informations and parameter information are fed back into machine simulation platform in real time
Carry out real-time display, to guarantee that display process is synchronous with actual machining process, cloud platform, machine simulation platform and numerically-controlled machine tool it
Between also proceed as follows (to guarantee that data publisher can observe the process of processing in real time): numerically-controlled machine tool often processes one
After step, cloud platform is sent data to, the time that numerically-controlled machine tool simultaneously sends data is monitored, and whether judges sending time
More than T1, if sending time is less than T1, numerically-controlled machine tool continues to process;If sending time is more than or equal to T1, numerical control machine
Bed stops processing, and (cloud platform receives the various status informations that numerically-controlled machine tool sends over and parameter information by network delay
Influence, can relatively slowly, numerically-controlled machine tool stop next step while, cloud platform inform machine simulation platform, numerically-controlled machine tool
Part receives the influence of network delay, cannot upload process data in real time) etc. after cloud platforms feedback continues Machining Instruction, number
Control lathe continues to process;
Cloud platform also supervises the time for being successfully received each step process data of machine simulation platform feedback simultaneously
Control, i.e. cloud platform receive the time of the step process data of numerically-controlled machine tool transmission and the success of machine simulation platform feedback to it
The time difference for receiving the step process data is monitored, if the time difference is greater than T2, cloud platform notifies numerically-controlled machine tool to stop
Processing waits servers to receive machine simulation platform and feed back and successfully receives the data that numerically-controlled machine tool issues cloud platform final step
Afterwards, cloud platform notice numerically-controlled machine tool continues to process.
Embodiment 4: system other parts are with embodiment 2, and which is not described herein again, and only difference is described.
After cloud platform receives the work pieces process program that machine simulation platform sends over, additionally it is possible in conjunction with lathe emulation platform
The sets requirement information sended over recommends numerically-controlled machine tool to machine simulation platform user, and detailed process is as follows: the setting is wanted
Seeking information includes: precision, away from discrete time;
Cloud platform recommends numerically-controlled machine tool to machine simulation platform user according to the size of K value;
K=a* (a2-A)/(a2-a1) * 100%+b* (b2-B)/(b2-b1) * 100%+c* (c2-C)/(c2-c1) *
100%
K is that cloud platform recommends reference value;That is K value is bigger, and cloud platform recommendation is higher.
A is that precision is shared in specific gravity in evaluation, and A is user's actual need precision, the accuracy rating of lathe be a1 extremely
a2;
B is that transportation range is shared in specific gravity in evaluation, and B is user's actual need transportation range, the transportation range of lathe
Range is b1 to b2;
C is that precision is shared in specific gravity in evaluation, and C is user's actual need precision, lathe unit work pieces process time model
It encloses for c1 to c2.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its
Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.