0115 966 7955 Today's Opening Times 10:30 - 17:00 (BST)

Computer Numerical Control Vertical Milling Machine Engineering Essay


Disclaimer: This essay has been submitted by a student. This is not an example of the work written by our professional essay writers. You can view samples of our professional work here.

Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of UK Essays.

Technology improvement has been rapidly sourced to introduce improvement in industrial and manufacturing sector. This improvement means a lot to those big companies where improvement such as faster producing rate and lower operating cost means profit and loss to the company.

Automations were being introduced to the world to help improve the efficiency and profit of new generation factories. With the help of new technology, operation cost of the industrial can be minimizing.

Automated machine are becoming a necessity in today world where the machines can operate themselves and produce product that are much accurate and faster compare to a manual or hand craft product.

Milling machine is a machining tool that mill or turn a solid block material into components that are then fix into a prototype or a product of machine. In the olden days, milling machine are operate manually where there are crank to determine the position of the milling bit. Technology improvement brings integration of computer into the milling machine where a computer is connected to motors and this controls the position of the mill bits. These integrations of computers bring a new definition of milling machine call Computer numerical control (CNC) milling machine.

There are 2 basic type of milling machine, horizontal and vertical, which refers to the orientation of the main spindle. Unlike drill press which holds the workpiece stationary as the drill moves axially to penetrate the material, milling machines also move the workpiece radially against the rotating milling cutter which cuts on its sides as well as its tip. Workpiece and cutter movement are precisely controlled

Computer numerical control (CNC) milling machine is a common and much needed tool in industrial trade. These machines can operate themselves and produce a product repeatedly with almost perfect precision, compare to olden days where parts are mill manually with bigger range of error. This machine can reduce the operator cost and improve efficiency and also accuracy to product produce.

In today world once much expensive CNC milling are also becoming a much popular in hobbyist community. With technology improvement and wider knowledge of computing technology, CNC machine can be build with a much lower cost and by a wider range of people.


The objective of this project is to build an affordable price table-top CNC vertical milling machine. And to demonstrate the use of Cartesian XY robot motion control concept with stepper motors, threaded rod and nut to perform the machining operation.

Scope of Work

3D CAD software modeling.

CNC movement and mechanism (kinematics calculation)

Fabrication of parts and assembly of the mechanical body.

Problem Statement

Cost of the CNC machine components and controllers are expensive. It has hence increase the cost to build a CNC machine.

Normally the CNC controller that is available comes in package including controller, servo amplifier and motor, etc, and replacement of the parts by third party products (easily obtained in the market) is not possible due to the differences in design and specification.

Besides that, the replacement of the mentioned parts me is very expensive and sometime it is difficult to source.

Propose Solutions

Arduino microcontroller will be used in this project which it is inexpensive, light and easy to use. Arduino is rich in function libraries to perform certain motion control however it would have slower speed in execution relative to industrial CNC controller.

The parts (electronic, electrical, and mechanical) that are to be used in this prototype are off the shelf and easily obtain in the market.

The designed parts will be much easier to be fabricated and replaced. Also, mechanical parts that are commonly used and sourced in the market will be used to reduce the maintenance cost and spare part inventories.

Open source code of the Arduino controller and common components or accessories of the machine will be the essential parts of this prototype.

Chapter 2

What Is CNC?

CNC is short form for Computer Numerical Control and CNC has been around since the early 1970's. before this, it was called NC, for Numerical Control.

While people in most walks of life have never heard of this term, CNC is used in almost every form of manufacturing process in one way or another. If you ever join the manufacturing sector, it's likely that you'll be dealing with CNC on a regular basis.

Before CNC

A drill press can of course be used to machine holes. A person can place a drill in the drill chuck that is secured in the spindle of the drill press. They can then manually select the desired speed for rotation, and activate the spindle. Then they manually pull on the quill lever to drive the drill into the workpiece being machined.

There is a lot of manual intervention required to use a drill press to drill holes. A person is required to do something almost every step along the way. While this manual intervention may be acceptable for manufacturing companies if but a small number of holes or workpieces must be machined, as quantities grow, so does the likelihood for fatigue due to the tediousness of the operation. And do note that we've used one of the simplest machining operations (drilling) for our example. There are more complicated machining operations that would require a much higher skill level (and increase the potential for mistakes resulting in scrap workpieces) of the person running the conventional machine tool.

Machining center

By comparison, the CNC equivalent for a drill press can be programmed to perform this operation in a much more automatic fashion. Everything that the drill press operator was doing manually will now be done by the CNC machine, including: placing the drill in the spindle, activating the spindle, positioning the workpiece under the drill, machining the hole, and turning off the spindle.

How CNC works

As you might already have guessed, everything that an operator would be required to do with conventional machine tools is programmable with CNC machines. Once the machine is setup and running, a CNC machine is quite simple to keep running. In fact CNC operators tend to get quite bored during lengthy production runs because there is so little to do. With some CNC machines, even the workpiece loading process can be automated.

Motion control

All CNC machine types share this commonality: They all have two or more programmable directions of motion called axes. An axis of motion can be linear or rotary. One of the first specifications that implies a CNC machine's complexity is how many axes it has. Generally speaking, the more axes, the more complex the machine.

The axes of any CNC machine are required for the purpose of causing the motions needed for the manufacturing process. In the drilling example, these (3) axis would position the tool over the hole to be machined (in two axes) and machine the hole (with the third axis). Axes are named with letters. Common linear axis names are X, Y, and Z. Common rotary axis names are A, B, and C.

Programmable accessories

A CNC machine wouldn't be very helpful if all it could only move the workpiece in two or more axes. Almost all CNC machines are programmable in several other ways. The specific CNC machine type has a lot to do with its appropriate programmable accessories. Again, any required function will be programmable on full-blown CNC machine tools. Here are some examples for one machine type.

Machining centers

Automatic tool changer

Most machining centers can hold many tools in a tool magazine. When required, the required tool can be automatically placed in the spindle for machining.

Spindle speed and activation

The spindle speed (in revolutions per minute) can be easily specified and the spindle can be turned on in a forward or reverse direction. It can also, of course, be turned off.


Many machining operations require coolant for lubrication and cooling purposes. Coolant can be turned on and off from within the machine cycle.

The CNC program

A CNC program is nothing more than another kind of instruction set. It's written in sentence-like format and the control will execute it in sequential order, step by step.

A special series of CNC words are used to communicate what the machine is intended to do. CNC words begin with letter addresses (like F for feedrate, S for spindle speed, and X, Y & Z for axis motion). When placed together in a logical method, a group of CNC words make up a commandthat resemble a sentence.

For any given CNC machine type, there will only be about 40-50 words used on a regular basis. So if you compare learning to write CNC programs to learning a foreign language having only 50 words, it shouldn't seem overly difficult to learn CNC programming.

The CNC control

The CNC control will interpret a CNC program and activate the series of commands in sequential order. As it reads the program, the CNC control will activate the appropriate machine functions, cause axis motion, and in general, follow the instructions given in the program.

Along with interpreting the CNC program, the CNC control has several other purposes. All current model CNC controls allow programs to be modified if mistakes are found. The CNC control allows special verification functions to confirm the correctness of the CNC program. The CNC control allows certain important operator inputs to be specified separate from the program, like tool length values. In general, the CNC control allows all functions of the machine to be manipulated.

Variant of Milling machine.

Bed mill This refers to any milling machine where the spindle is on a pendant that moves up and down to move the cutter into the work, while the table sits on a stout bed that rests on the floor. These are generally more rigid than a knee mill. Gantry mills can be included in this bed mill category.

Box mill or column mill Very basic hobbyist bench-mounted milling machines that feature a head riding up and down on a column or box way

C-Frame mill These are larger, industrial production mills. They feature a knee and fixed spindle head that is only mobile vertically. They are typically much more powerful than a turret mill, featuring a separate hydraulic motor for integral hydraulic power feeds in all directions, and a twenty to fifty horsepower motor. Backlash eliminators are almost always standard equipment. They use large NMTB 40 or 50 tooling. The tables on C-frame mills are usually 18" by 68" or larger, to allow multiple parts to be machined at the same time.

Floor mill These have a row of rotary tables, and a horizontal pendant spindle mounted on a set of tracks that runs parallel to the table row. These mills have predominantly been converted to CNC, but some can still be found (if one can even find a used machine available) under manual control. The spindle carriage moves to each individual table, performs the machining operations, and moves to the next table while the previous table is being set up for the next operation. Unlike other mills, floor mills have movable floor units. A crane drops massive rotary tables, X-Y tables, etc., into position for machining, allowing large and complex custom milling operations.

Gantry mill The milling head rides over two rails (often steel tubes) which lie at each side of the work surface.

Horizontal boring mill Large, accurate bed horizontal mills that incorporate many features from various machine tools. They are predominantly used to create large manufacturing jigs, or to modify large, high precision parts. They have a spindle stroke of several (usually between four and six) feet, and many are equipped with a tailstock to perform very long boring operations without losing accuracy as the bore increases in depth. A typical bed has X and Y travel, and is between three and four feet square with a rotary table or a larger rectangle without a table. The pendant usually provides between four and eight feet of vertical movement. Some mills have a large (30" or more) integral facing head. Right angle rotary tables and vertical milling attachments are available for further flexibility.

Jig borer Vertical mills that are built to bore holes, and very light slot or face milling. They are typically bed mills with a long spindle throw. The beds are more accurate, and the handwheels are graduated down to .0001" for precise hole placement.

Knee mill or knee-and-column mill refers to any milling machine whose x-y table rides up and down the column on a vertically adjustable knee. This includes Bridgeports.

Planer-style mill Large mills built in the same configuration as planers except with a milling spindle instead of a planing head. This term is growing dated as planers themselves are largely a thing of the past.

Ram-type mill This can refer to any mill that has a cutting head mounted on a sliding ram. The spindle can be oriented either vertically or horizontally. In practice most mills with rams also involve swiveling ability, whether or not it is called "turret" mounting. The Bridgeport configuration can be classified as a vertical-head ram-type mill. Van Norman specialized in ram-type mills through most of the 20th century. Since the wide dissemination of CNC machines, ram-type mills are still made in the Bridgeport configuration (with either manual or CNC control), but the less common variations (such as were built by Van Norman, Index, and others) have died out, their work being done now by either Bridgeport-form mills or machining centers.

Turret mill More commonly referred to as Bridgeport-type milling machines. The spindle can be aligned in many different positions for a very versatile, if somewhat less rigid machine.

Usage of CNC machine

In the metal removal industry:

Machining processes that have traditionally been done on conventional machine tools are now possible with CNC.  This include all kinds of milling face milling, contour milling, slot milling, drilling, tapping, reaming, boring, and counter boring.

In similar fashion, all kinds of turning operations like facing, boring, turning, grooving, knurling, and threading are done on CNC lathe.

Grinding operations of all kinds like outside diameter (OD) grinding and internal diameter (ID) grinding are also being done on CNC grinders. CNC has even opened up a new technology when it comes to grinding. Contour grinding (grinding a contour in a similar fashion to turning), which was previously infeasible due to technology constraints is now possible with CNC grinders.

In the metal fabrication industry:

In manufacturing terms, fabrication commonly refers to operations that are performed on relatively thin plates. Think of a metal filing cabinet. All of the primary components are made of steel sheets. These sheets are sheared to size, holes are punched in appropriate places, and the sheets are bent (formed) to their final shapes. Again, operations commonly described as fabrication operations include shearing, flame or plasma cutting, punching, laser cutting, forming, and welding. Truly, CNC is heavily involved in almost every facet of fabrication.

CNC back gages are commonly used with shearing machines to control the length of the plate being sheared. CNC lasers and CNC plasma cutters are also used to bring plates to their final shapes. CNC turret punch presses can hold a variety of punch-and-die combinations and punch holes in all shapes and sizes through plates. CNC press brakes are used to bend the plates into their final shapes.

In the electrical discharge machining industry:

Electrical discharge machining (EDM) is the process of removing metal through the use of electrical sparks which burn away the metal. CNC EDM comes in two forms, vertical EDM and Wire EDM. Vertical EDM requires the use of an electrode (commonly machined on a CNC machining center) that is of the shape of the cavity to be machined into the workpiece. Picture the shape of a plastic bottle that must be machined into a mold. Wire EDM is commonly used to make punch and die combinations for dies sets used in the fabrication industry. EDM is one of the lesser known CNC operations because it is so closely related to making tooling used with other manufacturing processes.

In the woodworking industry

As in the metal removal industry, CNC machines are heavily used in woodworking shops. Operations include routing (similar to milling) and drilling. Many woodworking machining centers are available that can hold several tools and perform several operations on the workpiece being machined.

CNC milling using industrial mills

Computer Numerical Control (CNC) Milling is the most common form of CNC. CNC mills can perform the functions of drilling and often turning. CNC Mills are classified according to the number of axes that they possess. Axes are labeled as x and y for horizontal movement, and z for vertical movement, as shown in this view of a manual mill table. A standard manual light-duty mill (such as a Bridgeportâ„¢) is typically assumed to have four axes:

Table x.

Table y.

Table z.

Milling Head z.


Components of CNC machine

Linear movement


Ball Bearing Slides

Also called "ball slides", ball bearing slides are the most common type of linear slide. Ball bearing slides offer smooth precision motion along a single-axis linear design, aided by ball bearings housed in the linear base, with self-lubrication properties that increase reliability. Ball bearing slide applications include delicate instrumentation, robotic assembly, cabinetry, high-end appliances and clean room environments, which primarily serve the manufacturing industry but also the furniture, electronics and construction industries. For example, a widely used ball bearing slide in the furniture industry is a ball bearing drawer slide.

Commonly constructed from materials such as aluminum, hardened cold rolled steel and galvanized steel, ball bearing slides consist of two linear rows of ball bearings contained by four rods and located on differing sides of the base, which support the carriage for smooth linear movement along the ball bearings. This low-friction linear movement can be powered by either a drive mechanism, inertia or by hand. Ball bearing slides tend to have a lower load capacity for their size compared to other linear slides because the balls are less resistant to wear and abrasions. In addition, ball bearing slides are limited by the need to fit into housing or drive systems.


Roller Slides

Also known as crossed roller slides, roller slides are non-motorized linear slides that provide low-friction linear movement for equipment powered by inertia or by hand. Roller slides are based on linear roller bearings, which are frequently criss-crossed to provide heavier load capabilities and better movement control. Serving industries such as manufacturing, photonics, medical and telecommunications, roller slides are versatile and can be adjusted to meet numerous applications which typically include clean rooms, vacuum environments, material handling and automation machinery.

Consisting of a stationary linear base and a moving carriage, roller slides work similarly to ball bearing slides, except that the bearings housed within the carriage are cylinder-shaped instead of ball shaped. The rollers crisscross each other at a 90° angle and move between the four semi-flat and parallel rods that surround the rollers. The rollers are between "V" grooved bearing races, one being on the top carriage and the other on the base. The travel of the carriage ends when it meets the end cap, a limiting component. Typically, carriages are constructed from aluminum and the rods and rollers are constructed from steel, while the end caps are constructed from stainless steel.

Although roller slides are not self-cleaning, they are suitable for environments with low levels of airborne contaminants such as dirt and dust. As one of the more expensive types of linear slides, roller slides are capable of providing linear motion on more than one axis through stackable slides and double carriages. Roller slides offers line contact versus point contact as with ball bearings, creating a broader contact surface due to the consistency of contact between the carriage and the base and resulting in less erosion.


Plain bearings

Plain bearings are very similar in design to rolling-element bearings, except they slide without the use of ball bearings.

Plain bearings can run on hardened steel or stainless steel shafting (raceways), or can be run on hard-anodized aluminum or soft steel or aluminum. The specific type of polymer/fluoro-polymer will determine what hardness is allowed.

Plain bearings are less rigid than rolling-element bearings.

Plain bearings handle contamination well and often do not need seals/scrapers.

Plain bearings generally handle a wider temperature range than rolling-element bearings

Plain bearings (plastic versions) do not require oil or lubrication (often it can be used to increase performance characteristics)


Dovetail slides

Dovetail slides, or dovetail way slides are typically constructed from cast iron, but can also be constructed from hard-coat aluminum, acetal or stainless steel. Like any bearing, a dovetail slide is composed of a stationary linear base and a moving carriage. a Dovetail carriage has a v-shaped, or dovetail-shaped protruding channel which locks into the linear base's correspondingly shaped groove. Once the dovetail carriage is fitted into its base's channel, the carriage is locked into the channel's linear axis and allows free linear movement. When a platform is attached to the carriage of a dovetail slide, a dovetail table is created, offering extended load carrying capabilities.

Since dovetail slides have such a large surface contact area, a greater force is required to move the saddle than other linear slides, which results in slower acceleration rates. Additionally, dovetail slides have difficulties with high-friction but are advantageous when it comes to load capacity, affordability and durability. Capable of long travel, dovetail slides are more resistant to shock than other bearings, and they are mostly immune to chemical, dust and dirt contamination. Dovetail slides can be motorized, mechanical or electromechanical. Electric dovetail slides are driven by a number of different devices, such as ball screws, belts and cables, which are powered by functional motors such as stepper motors, linear motors and handwheels. Dovetail slides are direct contact systems, making them fitting for heavy load applications including CNC machines, shuttle devices, special machines and work holding devices. Mainly used in the manufacturing and laboratory science industries, dovetail slides are not ideal for high-precision applications.

Homemade linear slide

http://4130-products.com/cnc/IMG_0710.jpg C:\Users\tjay\Desktop\Pictures\linear-18.jpg

Assembled sliding element Sliding element - bearings and Teflon

http://oneoceankayaks.com/madvac/cnc_images/machine/x_slide_asbly1lg.jpg http://www.cnczone.com/forums/attachment.php?attachmentid=19501&d=1151930380

Stepper motors:


A stepper motor's shaft has permanet magnets attached to it. Around the body of the motor is a series of coils that create a magnetic field that interacts with the permanet magnets. When these coils are turned on and off the magnetic field causes the rotor to move. As the coils are turned on and off in sequence the motor will rotate forward or reverse. This sequence is called the phase pattern and there are several types of patterns that will cause the motor to turn. Common types are full-double phase, full-single phase, and half step.

To make a stepper motor rotate, you must constantly turn on and off the coils. If you simply energize one coil the motor will just jump to that position and stay there resisting change. This energized coil pulls full current even though the motor is not turning. The stepper motor will generate a lot of heat at standstill. The ability to stay put at one position rigidly is often an advantage of stepper motors. The torque at standstill is called the holding torque.

Because steppers can be controlled by turning coils on and off, they are easy to control using digital circuitry and microcontroller chips. The controller simply energizes the coils in a certain pattern and the motor will move accordingly. At any given time the computer will know the position of the motor since the number of steps given can be tracked. This is true only if some outside force of greater strength than the motor has not interfered with the motion.

An optical encoder could be attached to the motor to verify its position but steppers are usually used open-loop (without feedback). Most stepper motor control systems will have a home switch associated with each motor that will allow the software to determine the starting or reference "home" position.

Servo motors:

There are several types of servo motors but I'll just deal with a simple DC type here. If you take a normal DC motor that can be bought at Radio Shack it has one coil (2 wires). If you attach a battery to those wires the motor will spin. See, very different from a stepper already!. Reversing the polarity will reverse the direction. Attach that motor to the wheel of a robot and watch the robot move noting the speed. Now add a heavier payload to the robot, what happens? The robot will slow down due to the increased load. The computer inside of the robot would not know this happened unless there was an encoder on the motor keeping track of its position.

So, in a DC motor, the speed and current draw is a affected by the load. For applications that the exact position of the motor must be known, a feedback device like an encoder MUST be used (not optional like a stepper).

The control circuitry to perform good servoing of a DC motor is MUCH more complex than the circuitry that controls a stepper motor.

Comparison between stepper motor and servo motor


Servo Motor (DC Brushed

Stepper (Hybrid)


The cost for a servo motor and servo motor system is higher than that of a stepper motor system with equal power rating.

This feature would have to go to stepper motors. Steppers are generally cheaper than servo motors that have the same power rating.


Servo motors are very versatile in their use for automation and CNC applications.

Stepper motors are also very versatile in their use for automation and CNC applications. Because of their simplicity stepper motors may be found on anything from printers to clocks.


it depends on the environment and how well the motor is protected.

The stepper takes this category only because it does not require an encoder which may fail.

Frame Sizes

Servo motors are availible in a wide variety of frame sizes, from small to large motors capable of running huge machines. Many of the motors come in NEMA standard sized.

Stepper motors do not have as many size selections as servo motors in the large sizes. However stepper motors may still be found in a variety of NEMA frame sizes.

Setup Complexity

Servo motors require tuning of the (PID) closed loop variable circuit to obtain correct motor function.

Stepper motors are almost plug-and-play. They require only the motor wires to be wired to the stepper motor driver.

Motor Life

The brushes on servo motors must be replaced every 2000 hours of operation. Also encoders may need replacing.

The bearing on stepper motors are the only wearing parts. That gives stepper motors a slight edge on life.

Low Speed High Torque

Servo motors will do fine with low speed applications given low friction and the correct gear ratio

Stepper motors provide most torque at low speed (RPM).

High speed High Torque

Servo motors maintain their rated torque to about 90% of their no load RPM.

Stepper motors lose up to 80% of their maximum torque at 90% of their maximum RPM.


Servo motors can have very good repeatability if setup correctly. The encoder quality can also play into repeatability.

Because of the way stepper motors are constructed and operate they have very good repeatability with little or no tuning required.

Overload Safety

Servo motors may malfunction if overloaded mechanically.

Stepper motors are unlikely to be damages by mechanical overload.

Power to Weight/Size ratio

Servo motors have an excellent power to weight ratio given their efficiency.

Stepper motors are less efficient than servo motors which usually means a smaller power to weight/size ratio.


Servo motors are very efficient. Yielding 80-90% efficiency given light loads.

Stepper motors consume a lot of power given their output, much of which is converted to heat. Stepper motors are usually about 70% efficient but this has some to do with the stepper driver.

Flexibility in motor resolution

Since the encoder on a servo motor determines the motor resolution servos have a wide range of resolutions available.

Stepper motors usually have 1.8 or 0.9 degree resolution. However thanks to micro-stepping steppers can obtain higher resolutions. This is up to the driver and not the motor.

Torque to Inertia Ratio

Servo motors are very capable of accelerating loads.

Stepper motors are also capable of accelerating loads but not as well as servo motors. Stepper motors may stall and skip steps if the motor is not powerful enough.

Least Heat production

Since the current draw of a servo motor is proportional to the load applied, heat production is very low.

Stepper motors draw excess current regardless of load. The excess power is dissipated as heat.

Reserve Power and Torque

A servo motor can supply about 200% of the continuous power for short periods.

Stepper motors do not have reserve power. However stepper motors can brake very well.


Servo motors produce very little noise.

Stepper motors produce a slight hum due to the control process. However a high quality driver will decrease the noise level.

Resonance and Vibration

Servo motors do not vibrate or have resonance issues.

Stepper motors vibrate slightly and have some resonance issues because of how the stepper motor operates.


Servo motors are not as readily available to the masses as are stepper motors.

Stepper motors are far easier to find than quality servo motors.

Motor Simplicity

Servo motors are more mechanically complex due to their internal parts and the external encoders.

Stepper motors are very simple in design with no designed consumable parts.

Direct Drive Capability

Servo motors usually require more gearing ratios due to their high RPM. It is very rare to see a direct drive servo motor setup.

Stepper motors will work fine in direct drive mode. Many people simple use a motor couple and attach the motor shaft directly to the leadscrew or ballscrew.

Power Range

Because servo motors are available in DC and AC servo motors have a very wide power availability range.

The power availability range for stepper motors is not that of servo motors.


Arduino is a popular open-source single-board microcontroller, descendant of the open-source Wiring platform, designed to make the process of using electronics in multidisciplinary projects more accessible. The hardware consists of a simple open hardware design for the Arduino board with an Atmel AVR processor and on-board input/output support. The software consists of a standard programming language compiler and the boot loader that runs on the board.

Arduino hardware is programmed using a Wiring-based language (syntax and libraries), similar to C++ with some slight simplifications and modifications, and a Processing-based integrated development environment.

Power supply unit

A power supply is a device that supplies electric power to an electrical load. The term is most commonly applied to devices that convert one form of electrical energy to another, though it may also refer to devices that convert another form of energy (mechanical, chemical, solar) to electrical energy. A regulated power supply is one that controls the output voltage or current to a specific value; the controlled value is held nearly constant despite variations in either load current or the voltage supplied by the power supply's energy source.

Power supplies for electronic devices can be broadly divided into line-frequency (or "conventional") and switching power supplies. The line-frequency supply is usually a relatively simple design, but it becomes increasingly bulky and heavy for high-current equipment due to the need for large mains-frequency transformers and heat-sinked electronic regulation circuitry. Conventional line-frequency power supplies are sometimes called "linear," but that is a misnomer because the conversion from AC voltage to DC is inherently non-linear when the rectifiers feed into capacitive reservoirs. Linear voltage regulators produce regulated output voltage by means of an active voltage divider that consumes energy, thus making efficiency low. A switched-mode supply of the same rating as a line-frequency supply will be smaller, is usually more efficient, but will be more complex.

A test in 2005 revealed computer power supplies are generally about 70-80% efficient. For a 75% efficient power supply to produce 75 W of DC output it would require 100 W of AC input and dissipate the remaining 25 W in heat. Higher-quality power supplies can be over 80% efficient; energy efficient PSU's waste less energy in heat, and requires less airflow to cool, and as a result will be quieter.

Converting a ATX power supply

Computer power supplies are usually cost cheaper than industrial power supply. ATX power supplies that can be found widely available at computer store at bargain price, with this we can get a phenomenal lab power supply with huge current outputs, short circuit protection, and very tight voltage regulation.



Unplug the power cord from the back of the computer. "Harvest" a power supply from a computer by opening up the case of the computer, locating the gray box that is the power supply unit, tracing the wires from the power supply to the boards and devices and disconnecting all the cables by unplugging them.

Remove the screws (typically 4) that attach the power supply to the computer case and remove the power supply.

Cut off the connectors (leave a few inches of wire on the connectors so that you can use them later on for other projects).

Discharge the power supply by stripping the insulation of the ends of a black and a red wire and connecting them together.

Get all the parts that you need together, such as the following: binding posts (terminals), a LED with a current limiting resistor, a switch, a power resistor (10 ohm, 10W or greater wattage), and heat shrink tubing.


Open up the power supply unit by removing the screws connecting the top and the bottom of the PSU case.

Bundle wires of the same colors together. IMPORTANT: Make sure that the lone brown sense wire is bundled with the orange wire. If the brown wire is tied to 3.3V, the power supply will produce an output.


The color code for the wires is: Red = +5V, Black = 0V, Yellow = +12V, Blue = -12V, Brown = Sense (tie to 3.3V), Orange = +3.3V, Purple = +5V Standby (not used), Gray = power is on, and Green = Turn DC on.

Drill holes in a free area of the power supply case by marking the center of the holes with a nail and a tap from the hammer. Use a dremel to drill the starting holes followed by a hand reamer to enlarge the holes till they are the right size by test fitting the binding posts. Also drill holes for the power ON LED and a Power switch.


Screw the binding posts into their corresponding holes and attach the nut on the back.


Connect all the pieces together.

Connect one of the red wires to the power resistor, all the remaining red wires to the red binding posts;

connect one of the black wires to the other end of the power resistor, one black wire to a resistor (330 ohm) attached anode of the LED, one black wire to the DC-On switch, all the remaining black wires to the black binding post;

connect the white to the -5V binding post, yellow to the +12V binding post, the blue to the -12V binding post, the gray to the cathode of the LED;


connect the green wire to the other terminal on the switch; and hook up the orange wires with the brown.

Make sure that the soldered ends are insulated in heatshrink tubing.

Organize the wires with a lot of electrical tape.


Make sure that all the connections look good. Put a drop of superglue to stick the LED to its hole. Put the cover on.

Plug in the IEC power cord into the back and into an AC socket. Switch on the main switch on the PSU. Check to see if the LED light comes on. If it has not, then power up by flipping the switch that you had placed on the front. Plug in a 12V bulb into the different sockets to see if the PSU worked, also check with a digital voltmeter. It should look good and work like a charm!


Things that are needed

An obsolete computer with an ATX 250W, 300W or 400W power supply.

Wire cutters, needle nose pliers, drill, reamer, soldering wire, soldering iron, electrical tape, heat shrink tubing

Binding posts for output terminals, LED, current limiting resistor for the LED, power resistor to load the power supply, a low wattage switch.

o prevent the inevitable trip over loose wires, it's a good idea to make your wiring more permanent once you have confirmed the power supply (PSU) to work. This is one way of doing so.


Design features.

A big kill switch for easy access.

The fan on this 250w PSU is very quiet, so a LED was added to show power on.

Unused wires are spared and kept in a box on the side, if they are to be used later. If you know you don't want them, you can cut them off to make it even neater, just remember to insulate the ends to avoid short circuits.

Easy connection to the reprap by the original molex connector.

A cable tie holds the molex connector to avoid ripping wires when unplugging.



Power on to ground turns the PSU on, and off.

The cut to the 12v line will turn the power off a few insignificant milliseconds faster as some charge is held in the capacitors of the PSU. But if you don't have a dual / ground switch you really want to use, you can just as well leave the 12v line be.

female molex connector on the PSU can be used directly for easy connection on and off.

Add a trip safe wire connector, so if you do trip you won't destroy the electronics.

Make several switches and connectors so you can connect more machines to one PSU.

Chapter 3


Research is a very important process it must be done before we can proceed to the next process. In this process, what I will do is, I will do a research on the part and material that needed to complete this project and list down all the possible things I needed such as, motors, linear drive, linear movement axis, bearing material used. I tried to do as many research on the topic as I can so in the next step so that I can choose what I really needed to do.

Literature Review

In this section I will do a further research and also the literature review on every materials and parts, and list down the advantages and disadvantages. By that I will understand all the characteristic of the materials and parts, so I can select the most suitable materials and parts for my project, this will help me reduce the cost of the project and produce a good project. Besides that this process did help me design the prototype effectively and making the correct decision. Doing so it help me gain some knowledge on other field that normally lecturer cannot teach in class such as, electric and electronic, PLC control and machining parts.


Planning is a very important process; planning means time management, with a good time management only we can accomplish the project on time. After get all the information and reviews now we can make a plan that are able to complete the project by given time period. Once selected the system and program, must plan ahead such as, time needed to study and understand the system and program.

Conceptual design

After all the process of planning, now is the time to do a conceptual design, this is a sketch and idea of a prototype that draw by not using professional software. The sketch must be draw before the real design of the prototype; this is to minimize failure possibility. This only required a draft sketch of the fundamental shape. Although it is just a sketch but the scale of all the desired parts must be correct, all the parts must be in correct position and it must be clear and easy to understand. When come to the Actual design, conceptual designs help a lot, It give a guide how to make a good actual design, so the design will not be out of shape. There are various types of tools that can draw a better design, AutoCad software and Solidwork.. The advantages of using that software are the design can easily modify, it can test the material stress and strain. This is a major issue on designing. After all the parts are assembled in the software it is clearer and better understands the prototype. In the design the dimension of the prototype must be clearly stated and all the parts must be joined accordingly.

Material selection

Material selection is important when come to fabricating the prototype, in order to get a high reliability of the product the correct material selection is a must. On the other hand choosing the wrong material it will lead to failure of the product. Some material will flex when are due to stress. The materials choose need to be low cost and dose not burden us. Therefore a further research and gather information on material selection before proceed to the fabrication process. Material properties and characteristic must also be considered before choosing it.


Once the material selection is done, it come to the fabrication process, this is the most time consuming process, it require us to go to workshop to do all the machining to all the material we have bought such as, milling, turning, drilling, cutting and grinding. A proper planning must be made before we can fabricate our material, without it we will end up failure, once failed, we need to redo the workpiece and it cost money. It also require some basic knowledge of machining. There must be safety precaution when doing this process such as, wearing a goggle during processing the workpiece.


After all the parts are fabricated and check the parts dimensions. It finally come to the last process which is assembly, in this process we join all the parts together by using bolt and nut, screw, welding and so on. The circuit board is placed on the correct location and all the wiring is connected. All the pneumatic valves are located accordingly to the actual designs that previously draw on the software. Lastly double check all the component locate on the correct location and connect all the parts together and make sure the power supply connected to the prototype.


Ensure all the parts are connected accordingly; the test run must be made for few times. If the prototype does not encounter any errors or problems the project is accomplished. Once it encounters any error or malfunctions troubleshooting are needed.


If the testing shows errors or a bad result that is not our desire results, troubleshooting must be made in order to solve the problems. Troubleshooting method such as checking the connection or wiring if they are fully connected, all the parts are placed on the location accordingly to the design, and lastly check the program if there are any problems. After the checking, the prototype is run again and observe if the outcome is desire then they project is considered completed.

To export a reference to this article please select a referencing stye below:

Reference Copied to Clipboard.
Reference Copied to Clipboard.
Reference Copied to Clipboard.
Reference Copied to Clipboard.
Reference Copied to Clipboard.
Reference Copied to Clipboard.
Reference Copied to Clipboard.

Request Removal

If you are the original writer of this essay and no longer wish to have the essay published on the UK Essays website then please click on the link below to request removal:

More from UK Essays

We can help with your essay
Find out more
Build Time: 0.0050 Seconds