Elements of CNC System
1 Video View·Sep 22, 2024
This video includes the following topics: Elements of CNC System, Drives
So we know now CNC machines are widely used compared to traditional machines because
so they have many advantages. So traditional machines depend on skill of person who is
operating the machine whereas CNC it depends on program and it depends on the accuracy of the
machine itself. Only thing is you have to maintain the machine properly and you need a programmer
and compared to traditional machines so your continuous involvement is not required.
So once programming is done, if you are manufacturing the same component you can
make use of the same program. Only thing is you have to do some initial settings
so later then so you have to place the work part and you have to remove it if that is done manually
otherwise we have fully automated systems where even this material handling can be done with
the help of robots. So there are elements or components in a CNC system input device so that
means we know CNC systems work based on the program part program. So in order to feed part
program we need input device other than that so we need to give some input commands okay like
on off coolant on off okay manually we can move so like that there are some input devices.
Next machine control unit so already we discussed about machine control unit in
NC systems. So here in CNC you don't find tape okay so only that is the difference. So here also
so there will be data processing unit and control loop unit okay data processing again same function
it will decode the program control loop unit will convert this program into electric signals
then driving system it consists of motors okay again so from the machine control loop control
unit so driving system will receive a input in the form of electric pulses depending on that
so you can drive the motor then that will results in movement along so x y z direction.
Next machine tool so machine tool it may be it may be a turning tool or it may be a milling tool
okay so turning center or milling center that itself is machine tool okay so we consider
traditionally we consider lathe milling machine drilling machine so all these are called as
machine tools okay so here also in case of turning center so that is
for lathe okay so lathe operations you can perform on turning center okay so milling
and drilling operations so you can perform on milling center okay or milling machine.
Next feedback devices so here CNC machines operate on closed loop system so feedback
devices are required both position and velocity feedback is required display unit okay so display
unit is required even you can do programming so there is a conversation programming where
you can enter the program so there itself if they will probe this human machine interface
or that way if that consists of display also okay where you can type the program that will be
displayed or during execution of the program so in the display you can see so what part of program
is currently executing okay you can see the steps okay when a particular step in the program
is being executed so you can see what is happening in the machine okay so where
material is being removed okay all those things you can see that is the display unit.
So this is the general structure of a CNC machine okay input device so in order to
input the part programs input devices are used so there are different ways in which you can
input the program to CNC machine next machine control unit it consists of data processing
unit and control loop unit data process unit will decode the part program okay so
it will be in the form of g codes m codes and incremental values in terms of x plus 500 400 y
z like that okay so this part program in this form will be converted into machine readable
language okay so the language of the machine or the language which machine can understand okay
that is a binary language then control loop unit will convert this decoded information into
the electric signals okay these electric signals will be received by motor okay so input to the
motor is electric signals or electric pulses okay based on the input some motor will drive
the machine tool or the axis of the machine tools will be driven based on the input to the
motor so next there are some miscellaneous functions in the program so like a coolant
on coolant off okay spindle on or their speed spindle speed okay rp depth of cut
so all these things will be you will be inserted in the program okay so these are miscellaneous
functions the coolant on coolant off okay so these are some examples of miscellaneous function
so so that also will be part of cnc programming next feedback devices okay so for that we are
using position feedback and velocity feedback okay so again it is a closed loop okay if there is any
differences in the value okay so the machine has to adjust itself okay so you will give some
specific feed rate okay again so there must be some measurement okay whether so actually
whether the machine tool is operating at that particular feed rate or not okay so that will
be evaluated using the feedback devices next display unit okay you will come to know what
is happening with the help of this display unit or even while inputting program also
if it is a conversational programming so you make use of this unit or else also you will
get some details regarding the position okay so along x y z z axis and also which which part of
the program is being executed right now so all those information you can see or if there is
error even that will be displayed input devices okay floppy disk drive this is an outdated
input device so it is not used at present okay earlier so we used to make use of floppy
disk drive okay for storing information now instead of using this floppy disk so we use
either pen drives okay or external hard disk okay so this is an outdated one earlier so
it was used so now also we make use of usb flash drive like pen drives okay serial
communication ethernet communication conversational programming these four are
relevant even today okay first one is outdated so this is the floppy disk drive okay so it was
used earlier so this is pen drive okay so you can insert program with the help of pen drive
since you can generate program using cad models okay if you prepare a model using cad okay
you can convert that into a program okay so then that can be inserted to
cnc so for that you make use of this next serial communication port okay so even you can
insert the program with the help of serial communication port with the help of a
cable you can connect from a computer to cnc machine using this or any other device
from which you want to insert program okay this is the ethernet port suppose if you are
connecting number of systems using a LAN okay then you can make use of this ethernet port where
so number of cnc systems okay are connected to a host system so from the host programs will be
sent to all these cnc machines so in that case so this is used so this is an example
where we are using this making use of this ethernet port okay where you are going to
prepare or you are going to feed program to host computer it is like a server okay
next from this server program will be sent to all cnc machines okay this type of system
distributed numerical control system conversational programming okay that means
here you are not generating program using cad model instead step by step you are writing the
program okay so from the beginning to end so you are going to write the program and before actual
actual execution you can simulate this program okay there itself and you can check whether
the program you have written whether it is correct or not you can verify there itself
so there will be a simulation mode okay there you can evaluate it so even if you are interested to
learn about programming okay so you can there are two widely used programming by two companies one
is phonook and another will be from siemens okay from siemens there is sinumeric okay so there is
software available even it is available with me so if you are interested you can take that
software you can download in your laptop and you can practice programming okay so then there
itself we can simulate if you want to learn programming you can learn it with the help
of your system you need you it is you need not have a cnc machine to learn programming
okay so you can learn with the help of software and with the help of your laptop you can learn
then for actual execution you need a cnc programming okay there you need to do a lot of
settings okay so that's why usually cnc machines simply no one will give you a machine to operate
okay because it requires a lot of preparation okay so you must be properly trained okay so
then only you will get confidence so you cannot do trial and error and in the machine like so
lathe machines for students also they will allow you to make use of lathe but cnc okay so hardly
you will get an opportunity to work on cnc okay even in training programs also you will get only
demo because if you do a small mistake okay the cost of that mistake will be huge considerable
cost okay so that's why so if you are interested to learn you can learn cnc programming so using
the software okay even you can use other softwares or other approach also okay
so in our college so in turning center we use c numeric that is from seaman's so for milling
we use funnel okay so there are some differences so even one who knows programming using
c memory you will find it difficult to do programming on a funnel okay so that is the
one more problem machine control unit so it is same as most of the functions are same as
nc system so it also consists of data processing unit and control loop unit so interprets and
encodes the path programming to internal machine codes that is into binary language
so interpolator calculate the intermediate positions of the motion in terms of basic
length unit so in previous class also we discussed about interpolator briefly okay
so you are specifying start and end points but so the cutting tool should be moved in a particular
path that path will be decided by interpolator so this interpolator will execute a particular
algorithm that will decide the path in which the tool has to move that is the function of
interpolator so based on initial points and end points okay so it will calculate in between points
where the cutting tool has to move next control loop data from the data processing unit are
converted into electrical signals in the control loop unit to control the driving system to perform
the required motions other functions such as machine spindle on off coolant on off
are also controlled by these units so these are the miscellaneous functions
so for this so you have particular code okay so there are g codes m codes for every code there
is a meaning okay in the machine you will when you go in front of a machine so there will be a
list okay attached to the machine so there you can get this g and m codes okay so the spindle
there will be a particular code so you are when you insert that that code in the program
okay when that particular line is being executed the spindle get on okay similarly if you insert
that code during the execution of that code the spindle get off like that it will work
driving systems so usually electric motors are used to drive
okay so drive are used to drive the axis or movement along to get movement along x y z
so we make use of electric motors so they are the drivers so driving system it converts the
electrical command signals to mechanical motions the accuracy and repeatability depend largely on
the characteristics and performance of the driving system driving system may be hydraulic
electric motor but so electric motors are generally used so hydraulic motors
rare cases so not in cnc but for other applications so we make use of hydraulic system
the motor is coupled either directly or through a gearbox to the machine lead screw to move the
machine slide or spindle okay if you want to increase
the speed or velocity so you you make use of gearbox so otherwise so you can directly
couple it to lead screw next machine tool this can be any type of machine tool or equipment
so like lathe milling machines that means it may be a turning center or
milling or machining center now to obtain high accuracy and repeatability
the make of the machine slide and the driving lead screw of a cnc machine is vital okay in
case of cnc machine the ball screws are used instead of conventional so sliding movement
so that is replaced by ball screw okay so in module 2 we are going to discuss about this in
detail in construction features of cnc we are going to discuss about this ball screw okay
so there are many advantages okay and there are many considerations okay why how we are able to
achieve this accuracy and repeatability in case of cnc where it is not possible in the case of
traditional machines so that we will discuss in module 2 in order to obtain high accuracy
and repeatability the make of the machine slide and the driving lead screw of a cnc machine is
vital so in cnc we make use of ball screw a device in order to have a cnc machine operating
accurately the positional values and speed of the axis need to be constantly updated
so for that we make use of feedback devices example of position feedback device is encoder
velocity feedback device tachometer display unit interactive device between the
machine and the operator it displays the present status such as position of the machine slide
so that means in terms of x value z value y value okay if you look at that value you will get
an idea regarding the position of machine slide then spindle rpm feed rate and then
part program and which part or which line is being executed all those things you can
see in the display okay this is an example of display so here this is a part program
okay so here you can get i can simulate it before execution so these are used to
write the program okay and there are many options so these are the settings okay
next and drives okay so we already this complete the
components or elements of cnc briefly okay so next this is a next topic drives
okay so in order to drive or in order to get movement okay so we can make use of different
types of driving systems okay it can be hydraulic or electric okay in electric so there are three
types of motors direct dc motors ac motors stepping motors okay again ac and dc so you have
in dc motors brushless motor and brush motor so in ac so we have synchronous and
and okay so induction motors
hydraulic systems used for driving high power machine tools and industrial robots okay so in
previous semester we discussed or already you know about hydraulic systems okay so these are
used for driving high power machine tools so that means for high load applications so you make use
of hydraulic system suppose if you want to handle heavy load so then hydraulic systems are suitable
there are disadvantages maintenance problem leakage and also safety
next viscosity variations with oil temperature since we are using fluid so the properties of
the fluid will vary with temperature so these are some of the disadvantage with
hydraulic systems okay next a general structure of a hydraulic system so here so we are using
hydraulic motor to drive a lead screw lead screw is coupled to shaft of the motor okay then with
help of this lead screw you can convert rotary movement into linear movement of the table so in
hydraulic system so you will have a tank for storing oil that is the some tank next this
hydraulic power supply it consists of pump motor filter okay then valves okay so that is it is a
complete hydraulic circuit okay so components of hydraulic circuit are considered as hydraulic
power supply it includes as I told you some motor pump okay then valves filter okay next servo valve
so it is a it is like a direction control valve okay that is the servo valve next so you are going
to supply this pressurized fluid to motor then the motor will rotate and that will result in
rotation of lead screw so actuating signal again if you are using solenoid valve
okay so electric signal will actuate this direction control valve okay that is the
actuating signal next so we are going to discuss about this in detail in upcoming slides
hydraulic power supply okay already it is we are familiar with hydraulic circuits
some motor pump filter so in case of hydraulics so we are going to recirculate the oil okay so
before reusing it so we need to remove impurities for that filter is used next check valves in order
to avoid reverse flow of fluid so check valves are used so pressure valves to regulate the
pressure accumulator suppose so in order to to compensate fluctuation in the demand
of the demand for this fluid in the line so you use accumulator so here
extra fluid will be accumulated when it is required it will be supplied okay to the line
that is function of accumulator then fluid will be supplied to different lines so if there are
you can get both linear movement and rotary movement if you want linear movement you can use
cylinders if you want rotary movement you should use hydraulic motors
source of high pressure oil for the hydraulic motor and the servo valve it consists of
pump for supplying high pressure oil then motor for driving the pump then filter to
remove impurities check valve to avoid reverse flow next pressure regulating valve control
supply pressure to the servo system next accumulator for storing hydraulic energy nothing
but fluid and smoothing the pulsating flow it supplies peak requirements then peak means when
there is more requirement so for in for the line okay depending on the application so
accumulator will supply that extra fluid required to perform a particular operation
next servo valve electro hydraulic servo valve controls the flow of the high pressure oil to
the hydraulic motor so here if you want to do calculation related to flow rate of oil you can
make use of this equation so q is equal to kv into v so kv is the valve current and v is voltage
next sum it is used to store the oil used oil return to sum for a tank and it is fed back to
the hydraulic power supply next hydraulic motor hydraulic motor or actuator is either
a hydraulic cylinder for linear motion or a rotary type motor for angular motion so there is one
more equation if you want to find speed of the motor so you can make use of this equation if
you know constant k so then flow rate of oil through the valve you can find out motor speed
okay these equations are useful when suppose this may be helpful during your project work
okay where for select when you are selecting motors okay you need to make calculations
okay why you have chosen a particular motor what is the criteria for choosing that motor
okay like that you have to justify at that time also you have to make use of these equations
dc motor so the dc motors allow precise control of the speed over a wide operating range by
manipulation of the voltage applied to the motor suited for driving the axis of small to medium
size nc machines and robots okay suppose so dc motors so they so here for dc motors so you are
supplying power from batteries okay for ac motors so they are supplying from the power line
suppose if you want to make a robot okay so which is which is operated using wireless
okay if you are using wireless technology to navigate robot then dc motor is the obvious
where you need not use wires to provide electric power okay so instead you can go for dc motor
there are many other considerations that is one consideration dc motors so this will receive
power from batteries and there are comparatively there are disadvantages with dc motors also
but advantage is so compared to ac motors so controlling speed is easy okay so you can control
speed accurately that is precise control of speed is possible in case of dc motors
used to drive the spindle in lathes and milling machines when a continuous control of speed is
desired modern dc motors use a permanent magnetic field rather than an externally excited field
for the permanent magnet saves the field voltage source and results in higher efficiency and fewer
thermal problems next so here also if you want to find torque torque of the motor you can make
use of this equation the dc servo motor drives a mechanical load consisting of dynamic and
static components okay what do you mean by torque rotating force okay so it is the force required
to rotate an element okay a mechanical element so in order to rotate it so what is the force required
again it depends on movement of inertia okay so what i mean by inertia inertia
okay for this there is a very general example for this inertia okay so suppose if you want to
get out of a moving vehicle okay how we should get out of it even if it's a train any changes
any changes while while leaving the train while it is moving we have to run for some distance and
it will reduce the acceleration
again there also the inertia come into play okay it is a tendency to be in the same state
so we will fall okay so because our body is also want to be in the same state
okay similarly here also if a mechanical element is stationary okay it tends to be in the state
if something is running okay it tends to be in the state so that is called as
inertia okay here in this case so motor wants to rotate a stationary element okay
so there also so it has to break this inertia okay so that is why we are considering this
moment of inertia where t is the torque in newton meter then j is moment of inertia of
in motor and load then w omega is angular velocity then ts is static load due to
friction and cutting forces in nc systems okay this is the equation again these equations are
when you are making a decision regarding which motor should be selected for that you should know
okay what is the torque requirement based on that you can make a decision so there you need to make
this calculation so if you know these things speed equation is given so this is one more equation
where tau m is the mechanical time constant of the loaded motor
so this is z okay next this mechanical time concept is given by this equation
okay so j is moment of inertia r is resistance of the armature so kt is torque constant
kv is voltage constant okay so what what do i mean by this mechanical time constant
okay next problem we are finding this mechanical time constant using this equation
okay tau m is equal to jr by kt kv using this equation okay so here we have all these values
so moment of inertia given 0.19 so lab means so it is pounds okay this unit of pound lb
inches second square okay so this is the moment of inertia then we have resistance value 0.41
ohms mixed so you have kt and kv values so you are substituting and you are getting
this mechanical time constant as 13 milliseconds okay by this what you can understand
why you need to find out this mechanical time constant okay so mechanical time constant it is
an indication or it is the measure of motor responsiveness okay suppose if you vary the
input to the motor okay how quickly it will get adjusted to that change in input okay how quickly
a motor will respond to variation in input okay that you can understand with the help of this
mechanical time constant okay 13 milliseconds means so this is the time motor is going to take
so to respond to the change in input okay so for that we may this is useful.

