Calculate the number of steps per second required

Assignment Help Other Engineering
Reference no: EM13161362

A medical infusion pump operates in the following manner:

The user selects the infusion rate between 00.0 and 99.9 ml per hour by acting on buttons on a key pad. The selected rate is displayed on a connected LCD Display. There is a button to allow adjustment of 10's of ml, a button for 1's of ml and a button for 1/10 ml.

Only one button is pressed at a time and the corresponding displayed digit is incremented on each button press, or, if the button is held down will increment with a rate of change each half second.

The selected rate is stored within the pump. When a START button is pressed, the system generates drive impulses to a uni-polar stepper motor where each step is 7.5° of shaft movement i.e. 48 drive impulses to the stepper will create 360° of output angular movement from the stepper motor. When the STOP button is pressed the drive and hence actuator stops movement.

The stepper motor is connected via a 64:1 gear reduction to an M6 drive shaft with a 1mm pitch. This means that one rotation of the gearbox output will cause a captive nut mechanism attached to the drive shaft to advance by 1mm.

The captive nut mechanism holds the plunger of a 50ml capacity medical syringe which is dimensioned such that 1.8mm of plunger travel will cause 1ml of fluid to be exited from the syringe. The following FIGURE ONE details the arrangement:

237_Medical infusion pump.png

THE EMBEDDED SYSTEM

TASKS:

1. Calculate the number of steps per second required to deliver fluid at the commanded rate taking into account the step angle of the motor, the gear reduction, the pitch of the drive screw moving the captive nut and finally the syringe calibration detail.

2. Design an embedded solution using 5 pushbutton switches, an LCD Display Module, a ULN2003 Darlington driver and stepper motor. The stepper motor will rotate by one angular increment at each change of the digital code applied to its coils (phases). As an example a project called PROJECT_STEPPER is supplied for your reference to give you the idea of how to drive the stepper. This folder contains a schematic and shows the use of PORTC to drive the stepper through the ULN2003 as shown below:

1867_Medical infusion pump1.png

3. Your design solution should be capable of simulation using the Proteus ISIS tools. Create the project schematic as PROJECT_SOLUTION.dsn. You should use the supplied LCD library LCD.c and LCD.h. All necessary switches should be de-bounced. The STOP switch should be immediate in operation so taken to an external interrupt input RB0.

4. Carefully design an embedded solution based on the 18F25K22 microcontroller and using a state machine method to allow the user to set and display a rate and, when the START button is pressed, cause the stepper and hence the fluid delivery to commence. The stepping rate should be LINEAR throughout the range 00.0 to 99.9 ml/h! You must devise a suitable method to minimise any step error.

5. Fully utilize MPLAB and Proteus ISIS to simulate your design.

6. Whilst you should work in your group to produce a working design you must submit a full and INDIVIDUAL report of your work.

Reference no: EM13161362

Questions Cloud

What is the genotype associated with each flower color : A cross between two plants that both have yellow flowers produces 80 offspring plants, of which 38 have yellow flowers, 22 have red flowers, and 20 have white flowers.
Program that stores a series of numbers in a binary tree : Write a program that stores a series of numbers in a binary tree
Which cross will produce all male-sterile progeny : which cross will produce all male-sterile progeny?
Explain the total pressure at equilibrium : He finds that the total pressure at equilibrium is 40% greater than it was originally. What is Kc for this reaction?
Calculate the number of steps per second required : Calculate the number of steps per second required to deliver fluid at the commanded rate taking into account the step angle of the motor, the gear reduction, the pitch of the drive screw moving the captive nut and finally the syringe calibration
Draws a pyramid consisting of bricks : Write a C program that draws a pyramid consisting of bricks arranged in horizontal rows, so that the number of bricks in each row decreases by one as you move up the pyramid.
What is the role of hydroxylation : What is the role of hydroxylation within collagen triple helices and how does a dietary vitamin C deficiency leads to a breakdown of supporting tissues?
What is the synaptonermal complex : Briefly, describe the events of interphase.
What is the ag concentration : What is the Ag+ concentration when BaCrO4 just starts to precipitate? The Ksp for Ag2CrO4 and BaCrO4 are 1.1 x 10-12 and respectively.

Reviews

Write a Review

Other Engineering Questions & Answers

  What would the partial pressure

CEE 357 Win 2014 HW#4, What is the concentration of HCN(aq) in the solution? What would the partial pressure of HCN(g) be in the gas phase, if the gas equilibrated with the solution?

  Discuss ramifications of opposing objectives on the project

Critically outline the pros and cons of both strategies described above. Which strategy do you favour?Justify your answer with relevant theory.

  Thin, thick and combined cylinder theory

Strength of Materials: Advanced DV01 35, LO2 Thin, Thick and Combined Cylinder Theory:  This outcome is assessed using all three of the assignments detailed below.   For each assignment you are required to write a report.

  Design project

Specify a fire wall of appropriate resistance which utilizes masonry. Provide a construction detail of how it is to be constructed. Please note this is a load bearing wall - FSE 445 Design Project

  Prepare a research strategy

A research strategy is a plan of action that gives direction to your efforts enabling you to conduct your research systemically rather than haphazardly.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  Determine the volume of seawater

CEE 357 Win 2014 HW#1:  What volume of seawater would have to be processed to recover one kilogram of silver, assuming an extraction process with 100% efficiency?

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  What will the maximum concentration of pesticide

CEE 357 Win 2014 HW#2: What will the maximum concentration of pesticide be in the pond, and how long after the spill will that concentration occur?

  The principle of operation of residual current devices

A worker has received an electric shock from a 240 volt portable drill whilst installing a set of wooden shelves State the principle of operation of each of the following protective devices 1) Residual current devices 2) Fuses

  Analysis of occupancy through prescriptive code analysis

The project will consist of a written paper and a presentation - Egress and Life Safety Analysis - FIRE 4500 (FIRE 2225)

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd