Disclaimer: This is an example of a student written essay.
Click here for sample essays written by our professional writers.

Any scientific information contained within this essay should not be treated as fact, this content is to be used for educational purposes only and may contain factual inaccuracies or be out of date.

Testing of Pharmaceutical Tablet Strip

Paper Type: Free Essay Subject: Engineering
Wordcount: 1743 words Published: 9th Aug 2017

Reference this



I completed my Bachelor’s degree in electronics and communication engineering in the year 2011. I pursed my engineering from Vyas Institute of Engineering and Technology, Jodhpur, India. During my final semester of engineering I had to make a working model in the field of electronics. I came up with a project called ‘Testing of Pharmaceutical Tablet strip’. The project was performed in group of three. It was completed under the direction and support of Er. Yogesh Chaudhary. In my first career episode, I have described the work done by me in this project in detail.


Requirement of medicines and its production is increasing rapidly. There are possible occurrences of breakage, cracks in the capsule or table while its production. And when these damaged tablets are consumed, it may cause irritation or side effects to other body parts. To inspect the production, it becomes very tough manually but the same task can be achieved with the help of image processing through automation of visual inspection. My project deals with the identification of the damaged products after its manufacturing. It involves series of task like segmentation, image processing, filtration, subtraction, pixel-calculation, de-noising, thresholding, and region based statics to identify the damaged and broken tablets.


The basic moto behind my project is to identify and filter out the damaged and defective capsule strips. Missing tablet, color, or shape/size difference between a set of tablets, or any crack or breakage in the tablets will be identified and marked as defect through my project. The idea was to reduce the manual work for identification of the damaged tablets as the job can be tedious. And to introduce a new procedure that would contribute in digital technology and for the welfare of the society. Identification of defective tablets is done with the help of image processing that uses various techniques of algorithm for processing all the digital images.


Image processing works on the technique that uses features like extraction, pattern recognition, edge detection and template matching. This process manipulates the data faster to achieve the desired result. For quality assurance of the products that are being manufactured majorly require automation of visual inspection. In this technique, a morphological operation such as opening operation is used for finding defects. The image is made fit for the further processing by performing image segmentation on the input image and then it is filtered to remove any noise. By inscribing rectangles subtraction is performed on the image with the help of morphological operations and it is also subtracted from original gray image which shows the broken tablets.

Get Help With Your Essay

If you need assistance with writing your essay, our professional essay writing service is here to help!

Essay Writing Service

For calculating the exact location of the broken tablet, pseudo coloring method is used and the pixel of the broken capsule is calculated. Correct size or color and any cracks are detected by performing corner detection and Harris algorithm technique on the tablets. Which is then followed by some pre-processing. After detecting the corners, they are compared with the template image and if there is any mismatch in the feature with the original template and the test image, the tablet gets rejected otherwise it is accept and given for use.


Me being the team leader, had to work out the flow and plan on how to proceed with the implementation process. I divided the project into small tasks and gave priority to each of them. Then they were assigned the duration in which that task had to be completed. My major task was designing the circuit diagram and block diagram on which the components could be decided. And the other crucial task was software coding. Regular meetings were kept with my team mates and the project guide to get any suggestions for any improvement in the project. Meetings were either through email or small presentations had to be made.


I started off with surveying the market so that the project I make would be useful. I read papers and articles relating the new upcoming technology and tried to do research on image processing methods and its technical specifications. This helped me to learn and build new technical skills. By applying my engineering knowledge and through technical reading I plotted a block diagram and decided upon the main hardware components that could be used for this project.

It involved:

  • Electrical components like Power supply of 230V, contractor 220-240V 1.47A, conveyor belt, step down transformer and DC motor.
  • Electronics components such as a microcontroller, LCD, Regulator IC, relay.
  • And a basic camera of 1.3MP/VGA

With the help of the hardware components and block diagram I used a PCB designing tool for designing and structuring my circuit diagram.


After deciding and finalizing of the components, I wrote down the procedure in which the tracking of the missing tablet or damaged table would be done. The camera was used basically to get the complete image of the production. After getting the image, it is converted to monochrome image from RGB one. This results in the display of the tablet strips in black and white form, where the strips will be seen in grey color and the tablets would be in black. A predefined number is assigned and kept for the tablets in a strip to keep the track of it. If the tablets are found to be lower than the defined number after image processing takes place, the microcontroller will signal the second motor to discard the strip detected. This was the logical that was used for finding the tablet strip with missing tablet.


In the similar fashion a procedure was implied for detecting and finding cracks in the tablets. For that, firstly all other components are removed from the image and only the tablet is seen. This is done through filtration technique of image processing.  After this the image is converted to black and white from the original RGB image.  Because of such design and method, only cracks could be seen in the image if there are any. They would differ in color from the black tablet. They would appear to be white thin or thick lines. So, by applying such functioning technique, the presence of any crack in the tablet could be traced.


The working of my model is very simple. Above two logics are converted into a programming code through two software’ Bascom AVR and MATLAB 2013, and then the code is installed in the microcontroller ATmega16. Working with MATLAB software was not difficult and coding was not an issue because of having a subject of image processing in my curriculum. When the system is powered on with the help of power supply section, the conveyor belt starts to move. When the camera lens attached to the system senses the tablet strip that is passed through the conveyor belt, it would signal the microcontroller to stop the belt that runs with the help of motor 1. This is done for analyzing the tablet strip. ADC is used for converting the analog power signal from sensors to digital form for signaling the microcontroller.

Find Out How UKEssays.com Can Help You!

Our academic experts are ready and waiting to assist with any writing project you may have. From simple essay plans, through to full dissertations, you can guarantee we have a service perfectly matched to your needs.

View our services

The image taken of the tablet strip is scanned and analyzed according[S1] to the functions as designed in MATLAB code. It will check for any defects or cracks or any missing tablet from the strip with the help of the image that was taken through camera. Based on the quality check performed using image enhancement and by carrying out morphological operations in MATLAB, it would signal the microcontroller to start the conveyor belt if no defect is found and in situations of faulty tablet motor 2 is signal to run a rejecting mechanism. A LCD is connected to get the count of number of strips checked, rejected or for the ones that are found defective. USART is used for communicating with the PC through microcontroller and vice-versa.


In the end, I could complete the project on time. The most difficult part of my project was to design and propose the circuit diagram. As working with PCB designing software was completely new for me. It took several trials before coming on the final figure. And implementation of the hardware was tough. Few minor mistakes created led into a big problem in my end mistake. I de-soldered the wrongly connected component part and connected it in the proper way to get the desired output and the circuit running. At the last stage, a test run was performed before submitted to check the working of each component and to see that the expected output is achieved. Working in teams was a challenging task as coming on one mutually agreed statement and solution is quite difficult. Though I managed my team well and never made any unfair decisions.


Thus, for companies manufacturing number of tablets in a day, inspecting the final product manually can be tiresome and a tedious job. The company need the help of automated systems. So, my project is an economical and efficient way to solve this problem. They only problem with this system is that it cannot be used for transparent tablet strips and is made to use for single colored tablets. This problem can be solved by performing further expansion on my project.

By performing this project, I learnt a way in which the image processing technique is applied. It was a great learning experience. I could use my engineering knowledge and use it to apply theoretical knowledge into practical grounds. While conducting surveys, I could understand the market position and market value of new technologies. It gave me a good exposure.


Cite This Work

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.

Related Services

View all

DMCA / Removal Request

If you are the original writer of this essay and no longer wish to have your work published on UKEssays.com then please:

Related Services

Our academic writing and marking services can help you!

Prices from


Approximate costs for:

  • Undergraduate 2:2
  • 1000 words
  • 7 day delivery

Order an Essay

Related Lectures

Study for free with our range of university lectures!

Academic Knowledge Logo

Freelance Writing Jobs

Looking for a flexible role?
Do you have a 2:1 degree or higher?

Apply Today!