Presentation is loading. Please wait.

Presentation is loading. Please wait.

CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER

Similar presentations


Presentation on theme: "CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER"— Presentation transcript:

1 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER STAFF Greg Carlsson, BSEE Rich Dehnel, BSEE Michael Host, BSEE Dave Jasinski, BSEE Kentucky Pommerening, BSEE Jarrod Widmann, BSEE AND BSCS

2 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 2 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Project Abstract Precision AC motor control is currently an expensive option requiring a $200+ encoder and supporting circuitry. This project aims to design a cost effective alternative with a flexible interface which can be implemented in nearly any industrial AC motor application to provide closed-loop control. Cost, reliability, accuracy, and safety are key aspects in the scope of this project.

3 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 3 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Product Description The input to the Closed Loop Motor Speed Sensor and Controller will be generated by an optical interrupting device which detects the shaft speed of a motor. The input signal will be sent to a microprocessor which compares the input signal to a pre-programmed reference value. This value will then be manipulated in the digital domain to provide an analog feedback signal to the motor controller. A user interface is used to enter the reference value to the micro and display the actual motor shaft speed. A power supply is used to supply the various circuits.

4 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 4 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Product Feature Set The desired features for our product included: Accurate control of desired speed level Analog output of 0-10VDC or 4-20mA. This signal will be used as a control signal to an AC motor drive, or as a monitor signal to a chart recorder or data logger. Instantaneous under/over speed indicator Programmable scaling factor for display output Constantly displayed set-point and actual speed values.

5 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 5 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Target Market This product is being developed for use in industrial environments that require precision speed control of an AC induction motor. A variable frequency drive containing an analog input of 0-10 VDC or 4-20 mA should be controlling the motor. An alternative application of this device is for data logging an application containing a rotating machine. The prototype design is geared toward the North American market (120 VAC, 60 Hz), but can easily be adapted to conform to other electrical power systems throughout the world.

6 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 6 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Team Page (1) Greg Carlsson Expertise: Audio Systems, hardware design, audio op-amp implementation Experience: 3 years at Audio Video Specialties Rich Dehnel Expertise: Control & integration, building electrical systems layout Experience: 12 years at Grande Cheese, 2 years at Lang Associates Michael Host Expertise: HW, board layout,VHDL,digital design, product troubleshooting Experience: 1.5 Years at Rockwell Automation, Quality Systems Engineering

7 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 7 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Team Page (2) Dave Jasinski Expertise: Quality control, reliability, product safety & manufacturing processes Experience: 22+ years in electronics manufacturing, currently employed at Rockwell Automation. Kentucky Pommerening Expertise: Hardware design, board layout, compliance testing Experience: 1 year internship at ABB – Research and Development Jarrod Widmann Expertise: Software, embedded systems & digital design Experience: Three co-op sessions at Hamilton Sundstrand Aerospace

8 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 8 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Team Logistics Due to the fact that two members are part-time students, the team met primarily on weekends, mostly Sunday afternoons. Action items were assigned, ideas exchanged, and questions were discussed and resolved. s were constantly being exchanged between members to share information. Each team member dedicated about 8 hours per week to this project. Responsibilities were assigned as follows: Website Manager: Greg Carlsson Project Archiver: Rich Dehnel Presentation Manager: Dave Jasinski Report Managers: Mike Host and Kentucky Pommenering Financial Manager: Jarrod Widmann

9 Product Performance Requirements
Spring 2003, Team #3 Page 9 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Product Performance Requirements 0.4% accuracy – actual versus displayed speed of motor shaft Less than 4.0W power consumption User interface keypad chosen for industrial environment The user display will be viewable from five feet Under-speed and over-speed indicators on user interface Over-current and over-voltage protection on input power Shaft speeds to 1800 RPM Compatibility with AC motor drives and PLCs containing analog inputs. Operable in environments from 0 – 50ºC Mounting by DIN rail or panel screws. Installation with basic hand tools.

10 Product Standard Requirements
Spring 2003, Team #3 Page 10 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Product Standard Requirements

11 Productization Aspects & Requirement
Spring 2003, Team #3 Page 11 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Productization Aspects & Requirement Health & Safety Aspects & Requirement This product is designed for an industrial installation, therefore operational aspects were created for the industrial user. Proper fusing and over-voltage protection are incorporated into the power supply. Components derated for worst-case operation limits. Packaging is user-friendly and free of sharp edges. All components are enclosed and non-accessible by the user. Operates well below 40ºC. Sensor circuit is properly guarded to prevent inadvertent pinch points. User manual contains required warnings and comprehensive installation instructions. Compliant UL508C and CSA 22.2, standards for industrial equipment. Environmental Aspects & Requirement This product does have any adverse affects on the environment when operating. Upon disposal, all required state and local recycling requirements will be adhered to, along with the requirements of European Standard prEN

12 Productization Aspects & Requirement
Spring 2003, Team #3 Page 12 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Productization Aspects & Requirement Legal/Ethical Aspects & Requirement Basic operator’s manual including usage and troubleshooting instructions will be included. Manual printed to be printed in multiple languages per Marketing requirements. Includes UL and warning labeling. Labeling on product in English for all user interfaces. Warranty: one year No known liabilities regarding malfunctions. Societal Aspects & Requirement No known societal aspects Economic Aspects & Requirement Prototype cost came is at $262 (Target $300) Target production cost is $ (Target $100) Provides cost effective alternative for users of motor encoders. Reliability Aspects & Requirement Reliability calculations support a five-year warranty period. Sustaining Aspects & Requirement Product cannot be service in field Long term production support for any circuit design issues will be managed by a Continuation Engineering group. Customer installation issues will be handled by Technical Service Department.

13 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 13 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Design Block Diagram

14 Allocation of Standard Requirements
Spring 2003, Team #3 Page 14 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Allocation of Standard Requirements

15 Association of Performance Requirements
Spring 2003, Team #3 Page 15 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Association of Performance Requirements In order to achieve the level of desired accuracy, greater than 12-bits of precision are required.

16 Functional Block Description Agenda
Spring 2003, Team #3 Page 16 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Functional Block Description Agenda User Interface – Dave Jasinski / Mike Host Sensor Circuit– Rich Dehnel Microprocessor Hardware – Mike Host Microprocessor Software – Jarrod Widmann D to A Conversion and Signal Output – Greg Carlsson Power Supply – Kentucky Pommerening Integration – Dave Jasinski Let’s start out with the user interface . . .

17 USER INTERFACE DETAILS
Spring 2003, Team #3 Page 17 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER USER INTERFACE DETAILS

18 USER INTERFACE BLOCK OVERVIEW
Spring 2003, Team #3 Page 18 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER USER INTERFACE BLOCK OVERVIEW The user interface will contain a 16-key keypad to enter the reference value, up-down arrow, and start/stop command. It will also contain a 4 x 20 LCD display. The outputs include: Connection points to the start/stop inputs of the motor drive Start/Signal also sent to microprocessor 4-bit reference value to micro Comm/Enable signal to micro

19 User Interface Standard Requirements
Spring 2003, Team #3 Page 19 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Standard Requirements

20 User Interface Performance Requirements
Spring 2003, Team #3 Page 20 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Performance Requirements LCD Operating Values: [Crystalfontz CFAH2002A-TMC] Logic Supply Voltage Range: V LCD Supply Voltage Range: V Input High Voltage VIH: 2.2-5V Input Low Voltage VIL: 0.6V Output High Voltage VOH: 2.4V Output Low Voltage VOL: 0.4V Max. Input Current IDD: 1.2mA Temp. (Operating) TOPR: 0°C - 50°C Temp. (Storage) TSTG: -10°C - 60°C Viewable from 5 ft. PLD Values (TA=25°C) : [Mach 4 64/32-15JC (CMOS)] Supply Voltage Range VCC: V Output Voltage Range VOUT: V Latchup Current: 200 mA Temp. (Operating) TOPR: °C (Storage) TSTG: °C °C DC Input voltage: -0.5V to 5.75V Input High Voltage VIH: 2V Input Low Voltage VIL: 0.8V Output High Voltage VOH: V Output Low Voltage VOL: 0.5V Keypad Operating Values: [Grayhill 96-BB2-006-R] Insulation Resistance: > 1012 at 500V Max. Output Current IOUT: 5mA for .5 seconds Temp. (Operating) TOPR: -30°C - 80 °C Temp. (Storage) TSTG: 150°C Contact Bounce: < 12mS Frequency: dB

21 User Interface Block Diagrams
Spring 2003, Team #3 Page 21 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Block Diagrams

22 User Interface Productization Requirements
Spring 2003, Team #3 Page 22 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Productization Requirements User Controls: 16-button keypad: Digits 0-9, enter, backspace, up/down arrows, and Start/Stop. Safety Features: Illuminated display indicates voltage present Temperature range as specified by overall product Components to be chosen to comply with temperature requirements Hand Assembly: Keypad and LCD display manually assembled, all other components can be automatically installed. Societal/legal/Monetary Aspects: Pushbuttons to ergonomically friendly Material Degradation Rust and corrosion Suitable for industrial conditions Disposability/Recycleability: Parts recyclable as PCB assembly Reliability: Prototype: length of project Production: 1 1%, 5 5%

23 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 23 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Keypad Schematic

24 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 24 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Keypad Schematic ENCODES TO BINARY 5 SQ WAVE OUT

25 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 25 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Display Schematic LCD display has an embedded HD44780 compatible controller.

26 Keypad Circuit Prototypes
Spring 2003, Team #3 Page 26 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Keypad Circuit Prototypes The initial prototype unit was built on perf board with individual discrete parts. The output was set-up with an output terminal dedicated to each switch. This idea was scrapped in lieu of a pre-package 4 x 4 keypad. < Original Design _ ___ New Design >

27 User Interface Design Details
Spring 2003, Team #3 Page 27 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Design Details The Lattice ispDesignExpert PLD programming tool was used to develop the program used to encode the keypad data. Due to the matrix design of the keypad, the decoder had to be designed in such a way that each row and column is constantly scanned.

28 State Diagram for PLD Programming
Spring 2003, Team #3 Page 28 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER State Diagram for PLD Programming The state diagram shown here was used to guide the programming of the device.

29 Timing Analysis and Validation of PLD Program
Spring 2003, Team #3 Page 29 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Timing Analysis and Validation of PLD Program

30 Lattice Design Schematic for PLD Program
Spring 2003, Team #3 Page 30 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Lattice Design Schematic for PLD Program

31 User Interface Worst Case Analysis
Spring 2003, Team #3 Page 31 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Worst Case Analysis Worst Case Analysis: Timing analysis for user interface and microprocessor circuit will be detailed in Microprocessor Hardware section. Mass Production Aspects The user interface will consists of three assembly sections: LCD Display: Manually installed on front of enclosure, interconnected with flat cable. Keypad: Manually installed on front of enclosure, interconnected with flat cable. Encoder Circuitry: Located on main PCB. Components to be SMT, automatically installed.

32 User Interface Parts List
Spring 2003, Team #3 Page 32 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Parts List Prototype parts Mass production parts

33 User Interface Validation Plan and Results
Spring 2003, Team #3 Page 33 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Validation Plan and Results Exercise keypad during the validation testing of the product software. Keypad operating as expected during validation testing Attempt to create a system anomaly when multiple keys are pressed simultaneously. Unable to create this scenario Verification that LCD displays proper characters and illuminates properly. Due to programming difficulties, the LCD could not be verified. Verify that maximum allowable debounce time is not exceeded. Problems with the PLD code required entry of each digit individually to alleviate debounce problem. Draws less than 750 mW Not verified Suitable for industrial environments By inspection and material selection

34 User Interface Validation Results
Spring 2003, Team #3 Page 34 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Validation Results Exercise keypad: operating as expected during validation testing Two keys pressed: Unable to create this scenario Due to programming difficulties, the LCD could not be verified. Debounce time verification revealed problems with the PLD code, therefore entry of each digit was required. Draws less than 750 mW: not verified Suitable for industrial environments: by inspection and material selection

35 User Interface Reliability Analysis
Spring 2003, Team #3 Page 35 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Reliability Analysis Reliability (λss = Σ λi x FIT = xFailures/109 Hours) Overall Product Reliability Evaluation:λ = λB * πT * πV * πE * πQ  λB = Total for all blocks according to Chart, Method E πT = Total Temperature Stress Factor: for all blocks Ta = Actual Maximum Operating Temperature: 50ºC Tr = Rated Maximum Operating Temperature Tr > Ta πV = Electrical Stress Factor: for all blocks Va = Actual Maximum Operating Voltage Vr = Rated Maximum Operating Voltage Vr > Va πE = Environmental (Overall) Factor: Outdoor Stationary = 2.0 πQ = Quality (Parts and Assembly) Factor: Hand Assembly Part = 3.0 Block Reliability Values Parts per Billion

36 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 36 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Let’s cover the Sensor Circuit next

37 SENSOR CIRCUIT DETAILS
Spring 2003, Team #3 Page 37 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER SENSOR CIRCUIT DETAILS

38 SENSOR CIRCUIT OVERVIEW
Spring 2003, Team #3 Page 38 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER SENSOR CIRCUIT OVERVIEW Sensor Package  Transmissive type Optical Interrupter rather than reflective:  Reflection scatters signal  Not as fast of a response  Need reflective surface to be constantly clean (can’t guarantee in field)  Square wave signal Mounting System  Largely aluminum – highly corrosion resistant  Designed for this type of motor, but can be made universal  Easily mounted and removed Sensor Disc  Common material – highly corrosion resistant  Can be made with different number of holes up to 100  Easily machined  Guarded – OSHA requirement Circuit Protection  Amperage spike  Properly sized resistors  Protects microprocessor and circuitry downstream Signal Conditioning  Schmitt trigger  Cleans up square waves (smoothes out waveform)  Clarifies signal for microprocessor to read/count  Simple circuitry  Inexpensive component

39 Sensor Circuit Standard Requirements
Spring 2003, Team #3 Page 39 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Standard Requirements

40 Sensor Circuit Performance Requirements
Spring 2003, Team #3 Page 40 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Performance Requirements Schmitt-Trigger Operating Values (TA=25°C) : Supply Voltage Range VCC: 2-6V Output Voltage Range VOUT: VCC +0.5V Input Voltage Range VIN: VCC +1.5V Power Dissipation POUT: 500mW Max. Output Current IOUT: ±25mA Max. Input Current IIN: ±0.1mA Clamp Diode Current IIK, IOK : ±20mA Current Consumption ICC: 2mA Rise and Fall Time: 500nS High Level Output VOH_MIN: 4.4V High Level Output VIH_MIN: 3.15V Low Level Input VIL_MAX: 1.35V Low Level Output VOL_MAX: 0.1V Optical Interrupter Operating Values: Supply Voltage Range VCC: V Output Voltage Range VOUT: V Max. Output Current IOUT: 16mA Temp. (Operating) TOPR: to 75°C (Storage) TSTG: to 85°C Power Dissipation POUT: mW LED Current IF: 15mA Optical Interrupter Characteristics (TA=25°C): Emitter: Value: Condition: Forward Voltage VF: 1.2 to 1.5V IF=20mA Reverse Current IR: .01 to 10μA VR=4V Receiver: Low Level Output VOL: .12 to .4V VCC=5 to 18V, IOL=16mA High Level Output VOH: 15V min. VCC=16V, RL=1KΩ Current Consumption ICC: 3.2 to 10mA VCC=16V Combination: Hysteresis: 15% typ. VCC=5 to 16V Response Frequency: 3000pps/min VCC=5 to 16V Response Delay: 3μS IF=15mA Time: 20μS IOL=16mA

41 Sensor Circuit Productization Requirements
Spring 2003, Team #3 Page 41 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Productization Requirements Safety: - LED Illuminated on Main Module Enclosure to detect Voltage Present - Temperature range: 0ºC - 50ºC - Components to be chosen to comply with temperature requirements - No User Controls – Limited Personal Interaction with this Block - Guarding of Rotating Disc – OSHA Requirement Ethical: - Sensor Housing and Mounting Bracket Largely Aluminum - Recycling - Potentially Dangerous Chemical Compounds: Solder and GaAs - Savings of Energy Utilizing a Drive; Energy Costs/Savings can be Calculated Manufacturing: - Limited Amount of Components – Hand Assembly Possible Assembly in Other Country with lower Labor Costs - Sensor Housing – Due to Numbering Required, May Order Pre-slotted - Relatively Common Part – Low Overhead Storage Costs & Obsolescence Rate Societal/legal/Monetary Aspects: Moving parts and guarding (as required by OSHA) - Material Degradation: - Rust and corrosion - Chemical resistivity/duration of exposure - High pressure wash-down - Suitable for industrial conditions - Disposability/Recycleability: - Sensor contains GaAs and solder contains lead - Remaining parts recyclable as PCB assembly Reliability (General): - Prototype: Length of Project - Production: 1 1%, 5 5% Cost: - Common Components – Can purchase in Large Numbers to save Money Easily Assembled - No Complicated or Specialized Assemblies - Sensor Housing – Easily Assembled, Common Materials - Module Package includes varying Mounting Options Sustaining: - Long Term Production Support for any circuit design issues will be Handled by a Continuation Engineering Group - Short Term Production Support will be handled by Technical Service Department

42 Sensor Circuit Block Diagram
Spring 2003, Team #3 Page 42 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Block Diagram Signal Condition Circuit Protection AC Drive Motor w/Disc Sensor Package Microprocessor Module

43 Square wave output to Microprocessor
Spring 2003, Team #3 Page 43 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Design Details Calculations Calculations: Resistor R1: Perforated Rotating Disc Resistor R2: 100 4.7k Transmissive Optical Interrupter Resistor R3: Square wave output to Microprocessor Schmitt-Trigger These resistor sizes were determined through calculations and used maximum current values for the individual components. No components individual current ratings were exceeded to maintain workability 1k

44 Square wave output to Microprocessor
Spring 2003, Team #3 Page 44 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Worst Case Analysis Calculations: Resistor R1: Perforated Rotating Disc Resistor R2: 105 4.7k Transmissive Optical Interrupter Resistor R3: Square wave output to Microprocessor Schmitt-Trigger These resistor sizes were determined through calculations and used maximum current values for the individual components. No components individual current ratings were exceeded to maintain workability. 1.05k

45 Sensor Circuit Mass Production
Spring 2003, Team #3 Page 45 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Mass Production Final assembly of the sensor circuit will be primarily hand assembly due to the mechanical nature of the design. The discrete components will be mounted on a PC board using surface mount technology. For mass production, the enclosure could be redesigned to eliminate any fasteners, and replace then with a snap-fit configuration.

46 Sensor Circuit Parts List
Spring 2003, Team #3 Page 46 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Parts List Prototype and Production

47 Sensor Circuit Validation Plan & Results (1)
Spring 2003, Team #3 Page 47 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Validation Plan & Results (1) The first validation of this block’s working performance and the type of signal that is required to the other blocks was using Pspice, create the schematic with exact or components with similar ratings to make sure that the schematic is properly designed and therefore able to run simulations to check if the output will be acceptable to the other blocks; a 5V square wave. Pspice does not have a Transmissive Photo-Transistor is its parts library, so an optocoupler as utilized in class Project Design Lab #2 was used, because the output is similar. Below is the simulation schematic:

48 Sensor Circuit Validation Plan & Results (2)
Spring 2003, Team #3 Page 48 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Validation Plan & Results (2) PSPICE simulation: The second validation was to run the simulation with the voltage and current blocks on the schematic in Pspice to determine if any components’ operational limits were exceeded and cause problems. Since the components are similar, a comparable simulation would be attained in the actual schematic.

49 < Through Schmitt Trigger > < Directly off sensor >
Spring 2003, Team #3 Page 49 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Validation Plan & Results (3) The final validation step, after the software portion of schematic building and simulations, was to put the circuit on a breadboard and run it with the motor to be used in the final product, an oscilloscope, and a created sensor disc. A test was run at various frequencies, with the resulting waveforms below. After this test we removed the circuit from the breadboard and placed in on perforated board, wired it, and placed it in the sensor housing. This validation provided the opportunity to not only check the circuit’s stability, but the sensor housing and the method to mount it to the motor as well. < Through Schmitt Trigger > < Directly off sensor > Sensor output at 1800 RPM Sensor output at 300 RPM

50 Sensor Circuit Validation Plan & Results (4)
Spring 2003, Team #3 Page 50 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Validation Plan & Results (4) Pictures of the sensor housing during design stage. Housing is made with enough adjustability to accommodate multiple types of sensors, discs, and additional coupling methods. Achieving a method where the sensor components are attached tightly to the motor being used, easily assembled and removed, adjustable, surrounded by a stable housing that is resistant to numerous environmental factors (light, corrosion, etc), and relatively inexpensive was quite a mechanical challenge.

51 Sensor Circuit Validation Plan & Results (5)
Spring 2003, Team #3 Page 51 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Validation Plan & Results (5) Draws less than 600 mW: not verified Suitable for industrial environments: by inspection and material selection Can be installed with basic hand tools Only tested on one brand of drive, could not attain other drive products for testing.

52 Sensor Circuit Reliability Analysis
Spring 2003, Team #3 Page 52 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Reliability Analysis Reliability (λss = Σ λi x FIT = xFailures/109 Hours) Overall Product Reliability Evaluation:λ = λB * πT * πV * πE * πQ  λB = Total for all blocks according to Chart, Method E πT = Total Temperature Stress Factor: for all blocks Ta = Actual Maximum Operating Temperature: 50ºC Tr = Rated Maximum Operating Temperature Tr > Ta πV = Electrical Stress Factor: for all blocks Va = Actual Maximum Operating Voltage Vr = Rated Maximum Operating Voltage Vr > Va πE = Environmental (Overall) Factor: Outdoor Stationary = 2.0 πQ = Quality (Parts and Assembly) Factor: Hand Assembly Part = 3.0 Block Reliability Values Component λB πT πV πE πQ Total Sensor 12 4.18 1.58 2 3 475.5 100Ω R. 2.6 1.61 1.02 25.62 1kΩ R. 4.7kΩ R. Schmitt-Trigger 6.7 5.31 892.27 Connector 22 2.04 274.83 Total: Parts per Billion

53 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 53 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Next is the Microprocessor Hardware Overview . . .

54 MICROPROCESSOR HARDWARE DETAILS
Spring 2003, Team #3 Page 54 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER MICROPROCESSOR HARDWARE DETAILS

55 MICROPROCESSOR HARDWARE BLOCK OVERVIEW 9S12BADGE
Spring 2003, Team #3 Page 55 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER MICROPROCESSOR HARDWARE BLOCK OVERVIEW 9S12BADGE Interfaces with: Optical Sensor Requires a digital input with Interrupt feature Minimum time between interrupts = 8.33 Ms Maximum time between interrupts = 1.67 S Digital to Analog Converter Communication with DAC will be 15 bit 2’s complement binary number with enable. Liquid Crystal Display LCD driver requires 8 data lines, enable, R/W, RS. User Input Keypad Communication with User input will be 4 digital data lines with 2 Communication Bits.

56 Microprocessor Hardware Standard Requirements
Spring 2003, Team #3 Page 56 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Standard Requirements

57 Microprocessor Hardware Performance Requirements
Spring 2003, Team #3 Page 57 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Performance Requirements Output: Voltage Output: (Micro) Voltage swing = -0.5V to 6.0V Slew rate = 10V/uS (typical) THD + noise = .005% Current Output: Current = 25mA Instantaneous max single pin Microprocessor with: 256k Flash >25 MHz clock (Internal) 25 dedicated I/O pins One input with interrupt feature. Design environment for easy access to pins. Ability to communicate with parallel port of PC. Voltage and current protection to the microprocessor Power Supply Requirements: +VCC min = 4.5V typical = 5.0V max = 6.0V Operating Frequency 25 MHz internal clock Operating Temperature: 0 to +70 (degrees C) Storage Temperature: -65°C to 150 °C Packaging: Surface mount for prototype and production Input: Standard CMOS logic VIH= 3.0V min VIL=0.5V max IIH(VIH=2.7V)= +/- 25mA max IIL(VIH=0.4V)= +/- 25mA max

58 Microprocessor Hardware Productization Requirements
Spring 2003, Team #3 Page 58 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Productization Requirements User Controls: None Safety Features: Micro not accessible to user. Device should remain enclosed at all times. Opening packaging will void warranty. Temperature range as specified by overall product Components to be chosen to comply with temperature requirements Hand Assembly: For prototype only Standard 100 mil headers and wire wrap interfaces. Societal/legal/Monetary Aspects: Moving parts and guarding (as required by OSHA) Material Degradation: Suitable for industrial conditions Disposability/Recycleability: Parts recyclable as PCB assembly Reliability: Prototype: length of project Production: 1 1%, 10 5%

59 Microprocessor Hardware Block Diagrams
Spring 2003, Team #3 Page 59 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Block Diagrams DAC CIRCUIT

60 Microprocessor Hardware Schematic
Spring 2003, Team #3 Page 60 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Schematic

61 Microprocessor Hardware Design Details
Spring 2003, Team #3 Page 61 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Design Details Microprocessor Hardware – Input Voltage Regulation Provides over current and voltage protection to the micro.

62 Microprocessor Hardware Design Details
Spring 2003, Team #3 Page 62 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Design Details Microprocessor Hardware – Programming Port Allows the micro to be upgraded with latest software revisions via a serial port of a PC.

63 Microprocessor Hardware Worst Case –Signal Timing
Spring 2003, Team #3 Page 63 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Worst Case –Signal Timing Microprocessor (CLOCK 25MHz) Tsetup = 13 ns Thold = 2ns Tfloat = N/A Tclk_high_min = 19 ns Tprop_delay = 16 ns PLD (CLOCK 2kHz) Tsetup = 10 ns Thold = 4 ns Tfloat = N/A Tclk_high_min = 6 ns Tprop_delay = 13 ns DAC Tsetup = 50 ns Thold = 10 ns Tfloat = N/A Tclk_high_min = N/A Tprop_delay = 50 ns LCD Tsetup = 40 ns Thold = 230 ns Tfloat = N/A Tclk_high_min = N/A Tprop_delay = 120 ns

64 Microprocessor Hardware Worst Case –Signal Timing
Spring 2003, Team #3 Page 64 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Worst Case –Signal Timing LCD [tc + (tsu1 – tr) = 520 ns This means that a minimum of 14 clock Tclk_high_min = 19 ns cycles are required for the Write Operation

65 Microprocessor Hardware Worst Case Analysis Signal Timing Validation
Spring 2003, Team #3 Page 65 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Worst Case Analysis Signal Timing Validation Microprocessor Code Statement Number of clock cycles required STAA PORTB, Y BCLR CTLR, Y, RW BSET CTRL, Y, ENABLE BCLR CTRL, Y, RS 4 7 Total clock cycles for a write to LCD function = 31 Clock Timemin = 38ns Min time for completion of write to LCD function = 1178ns This time satisfies the amount of time needed by the LCD to perform a write function

66 Microprocessor Hardware Worst Case - DC Driver
Spring 2003, Team #3 Page 66 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Worst Case - DC Driver Microprocessor (CMOS) VIHmin = 3.25 V VILmax = 1.75 V VOHmin = 4.2 V VOLmax = 0.8 V IIHmax = 1 uA IILmax = -1 uA IOHmax = -4 mA IOLmax = 4 mA PLD (CMOS) VIHmin = 3.5 V VILmax = 1 V VOHmin = 4.9 V VOLmax = 0.3 V IIHmax = 1 uA IILmax = -1 uA IOHmax = -4 mA IOLmax = 4 mA DAC (TTL) VIHmin = 2 V VILmax = 0.8 V IIHmax = 40 uA IILmax = -1.6 mA LCD VIHmin = 2.2 V VILmax = 0.6 V IIHmax = 1.2 mA IILmax = 1.2 mA

67 Microprocessor Hardware Worst Case - DC Driver Verification
Spring 2003, Team #3 Page 67 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Worst Case - DC Driver Verification VOHmin > VIHmin IOHmax > IIHmax VOLmax < VILmax IILmax > IOLmax In production Schmitt Triggers will be used to improve DC driver characteristics and ad current buffering to circuit.

68 Microprocessor Hardware Parts List
Spring 2003, Team #3 Page 68 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Parts List Prototype part: Mass production parts Cost of one production unit = $30.71 Cost of 1000 production units = $22.23 9S12BADGE board will not be used on production units.

69 Microprocessor Hardware Validation Plan
Spring 2003, Team #3 Page 69 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Validation Plan Performance Requirements 0.4% Accuracy Less than 750mW total Power consumption Suitable for industrial environment Under-speed and over-speed indicators on user interface Shaft speeds to 1800 RPM Validation Procedure Tachometer will be used to verify shaft speed. Current and voltage meter will be used to measure and calculate power. Enclosure will be inspected to see that it can provide adequate protection. Under-speed and over-speed indicators on user interface.

70 Microprocessor Hardware Reliability Analysis
Spring 2003, Team #3 Page 70 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Reliability Analysis Reliability (λss = Σ λi x FIT = xFailures/109 Hours) Overall Product Reliability Evaluation:λ = λB * πT * πV * πE * πQ  λB = Total for all blocks according to Chart, Method E πT = Total Temperature Stress Factor: for all blocks Ta = Actual Maximum Operating Temperature: 50ºC Tr = Rated Maximum Operating Temperature Tr > Ta πV = Electrical Stress Factor: for all blocks Va = Actual Maximum Operating Voltage Vr = Rated Maximum Operating Voltage Vr > Va πE = Environmental (Overall) Factor: Outdoor Stationary = 2.0 πQ = Quality (Parts and Assembly) Factor: Hand Assembly Part = 3.0 Block Reliability Values Component λB πT πV πE πQ Total MC9S12DG256 55.0 12.18 1.0 2.0 1.25 SPX29150T-5 5.0 152.25 SP23E 50.0 1522.5 10 CAPS 12.0 730.8 1 DIODE 60.9 1 ZENER 70.0 4263 Total: Parts per Billion

71 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 71 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Let’s cover the Microprocessor Software Details next . . .

72 MICROPROCESSOR SOFTWARE DETAILS
Spring 2003, Team #3 Page 72 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER MICROPROCESSOR SOFTWARE DETAILS

73 Input / Output Signals MICROPROCESSOR SOFTWARE BLOCK DIAGRAM
Spring 2003, Team #3 Page 73 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER MICROPROCESSOR SOFTWARE BLOCK DIAGRAM Input / Output Signals

74 Software Functional Overview
Spring 2003, Team #3 Page 74 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software Functional Overview Motor Speed Control Algorithm Matches the reference speed as precisely as possible adjusting the commanded speed due to disturbances such as load changes. Implements a proportional control algorithm, resulting in an intelligent acceleration profile. User Interface Receives data from the keypad CPLD Transmits data to LCD (i.e. menu options, motor speed, reference speed …) Menu system logic Input error checking Speed Sensor and DAC Interfacing Receive data from the speed sensor, convert to speed (RPM) Output commanded scaled speed to the DAC Speed Safeties Safely shuts down the motor when user entered speed limits are exceeded

75 Microprocessor Software Standard Requirements
Spring 2003, Team #3 Page 75 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Software Standard Requirements Requirement Production Unit Prototype Cost / Unit Development Environment: Freeware, Mini IDE Cross Assembler Simulator: Freeware, Sim HC12 PC to Micro Interface: Freeware, Tera Term Pro Parts Count N/A Product Size Product Weight Max Power Consumption Operating Temperature Range Operating Humidity Range Reliability / Life / Maintenance 20+ Years With Proper Software Updates Disposal / Recycle Safety & Regulatory Standards UL508C / CSA22.2

76 Software – Performance Requirements – Speed Sensor
Spring 2003, Team #3 Page 76 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software – Performance Requirements – Speed Sensor Calculated speed must be more than 0.4% accurate. Must provide accurate speed calculations for a speed range of RPM Four pulses per revolution of the disc (four holes cut into the disc). Software – Design – Speed Sensor Speed sensor square wave pulse is connected to one of the Microprocessors rising edge triggered interrupts. Speed (RPM) is derived from the microprocessors 20 – bit timer counter. Result is the current shaft speed (RPM) stored as a 16-bit value. Greater than 0.01% accurate.

77 Software – Performance Requirements – Motor Control Algorithm
Spring 2003, Team #3 Page 77 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software – Performance Requirements – Motor Control Algorithm User can program the acceleration and deceleration of the motor on start-up and power-down. The algorithm must execute at least every 50ms. A proportional steady state algorithm must be implemented during steady state operation. Software – Design – Motor Control Algorithm Four modes of operation: Start Up, Steady State, Shut Down, and Idle. Start Up – performance controlled by the acceleration rate. Steady State – performance controlled by the proportional control algorithm. Shut Down – performance controlled by the deceleration rate. Idle – motor stopped

78 Software – Design – Motor Control Algorithm (Continued)
Spring 2003, Team #3 Page 78 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software – Design – Motor Control Algorithm (Continued) Transition between start up and steady state mode is made when the commanded speed reaches the reference speed. User commanded shut down or exceeded safety limits are the methods by which the mode can transition between steady state and shut down modes. Motor can only be started by the user through the user interface. Mode transitions from idle to start up.

79 Motor control block diagram
Spring 2003, Team #3 Page 79 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software – Design – Motor Control Algorithm (Continued) Steady State Operation FIR type filter filters some transients out of the speed signal (implements last 32 speed samples). User sets the value of the P coefficient through the user interface. Speed Memory Conditioning Motor control block diagram Filtering – Purpose is to filter higher frequency transients out of the speed signal (Like FIR filter) Filter Output = * Current Speed * MR(1-8) * MR(9-16) * MR(17-24) * MR(25-32)/3.75 NOTE: MR <= Most Recent Speed Values

80 Software – Performance Requirements – DAC Interfacing
Spring 2003, Team #3 Page 80 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software – Performance Requirements – DAC Interfacing A 15-bit unsigned scaled value will be output to the DAC. This value will correspond to the value that the motor speed control algorithm is commanding. The value is updated at least every 50ms. Software – Design – DAC Interfacing If in idle mode 0x00 is exerted onto the DAC. If not in idle mode, the most recent commanded speed is multiplied by a scaling factor such that a full scale value corresponds to 0xFFFF and a zero value corresponds to 0x0000.

81 Software – Performance Requirements – Speed Safety
Spring 2003, Team #3 Page 81 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software – Performance Requirements – Speed Safety User can program over and under speeds via the user interface. If the motor exceeds either of the limits, during steady state operation, the motor is safely shutdown. Speed is verified every 20ms. Software – Design – Speed Safety Verifies that the most recently recorded speed value is within the limits. If the value is outside of the limits the Motor Control Mode will be changed to Shut Down and the motor will decelerate at the user entered deceleration rate until it reaches Idle. Only operates when in Steady State mode.

82 Software – Performance Requirements – User Interface
Spring 2003, Team #3 Page 82 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software – Performance Requirements – User Interface Menu – Allows the user to set the reference speed, minimum and maximum speeds, proportional coefficient, and acceleration and deceleration rates. The LCD will display the commanded speed and actual speed updating the LCD every 50ms. Keypad Input – 4 bit data corresponding to user selections and 2 bit communication protocol between the CPLD and microprocessor. Serviced every 50ms.

83 Software – Design – User Interface (1)
Spring 2003, Team #3 Page 83 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software – Design – User Interface (1)

84 Software – Design – User Interface (2)
Spring 2003, Team #3 Page 84 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software – Design – User Interface (2) Main Menu – Allows user to select any of the following Enter reference speed Enter maximum speed Enter minimum speed Enter proportional coefficient Display current and reference speed Software updates LCD using the HD44780 LCD driver instructions set. Both text and LCD instructions are communicated between the LCD driver and the microprocessor. HD44780 driver chip is an industry standard for driving LCD character displays. All numerical input is checked for validity.

85 Ready New Data CPLD Acknowledge Micro Data Accept
Spring 2003, Team #3 Page 85 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software – Design – User Interface (3) Two bits are used for communication between the keypad CPLD and the microprocessor. The MSb controlled by the micro and the LSb controlled by the CPLD. The communication protocol conforms to the following state diagram: X/P /MX M = uP comms bit P = CPLD comms bit XP Ready New Data MX /MX CPLD Acknowledge Micro Data Accept X/P MX XP

86 Microprocessor Software Engineering Issues
Spring 2003, Team #3 Page 86 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Software Engineering Issues Maintainability The software is highly functionalized, modular, and well documented. Each subroutine’s overall function is thoroughly described and an explanation for each line of code is given. This allows future software engineers to easily understand and make fixes or upgrades to the code. Software can be assembled on any 68HC12 compatible cross assembler.

87 Microprocessor Software Validation
Spring 2003, Team #3 Page 87 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Software Validation Each software block is written as a subroutine which makes functional testing of each software block straightforward. Every path in each of the software block flowcharts is exercised and validated at least once. Test scripts were written in assembly language and then verified for correctness using the 68HC12 simulator software. Test scripts consist of the setup of test conditions (set specific condition values in memory) and then the execution of the subroutine. This process is repeated for all required conditions for each subroutine.

88 Microprocessor Software Productization Requirements
Spring 2003, Team #3 Page 88 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Software Productization Requirements The prototype demo board can be used as a production programmer via the BDM port (used for debugging and programming). The demo board functions as the master and the product board functions as the slave. A connection between the demo board and the product board must be made through the BDM. Code is then downloaded from the master to slave. For production an automated mechanism must be developed to connect boards and initiate the code download. Final product should include: Built In Test circuitry for internal testing of the Speed Sensor and DAC circuitry. Programmed gain and offset for the DAC.

89 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 89 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Next we’ll cover the DAC circuit . . .

90 DIGITAL-TO-ANALOG CONVERTER (DAC) DETAILS
Spring 2003, Team #3 Page 90 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DIGITAL-TO-ANALOG CONVERTER (DAC) DETAILS

91 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 91 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC CIRCUIT OVERVIEW Digital to Analog Conversion and Signal Output Output 0-10VDC and 4-20mA to AC drive analog inputs 0-10V output direct from DAC, 4-20mA from separate current source 16-bit 2’s complement input format Enable signal allows flexible control by the microprocessor When not enabled DAC will output last valid value previously held Utilizing both 0-10V and 4-20mA output ensures compatibility with most AC motor drives

92 DAC Circuit Standard Requirements
Spring 2003, Team #3 Page 92 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Standard Requirements

93 DAC Circuit Performance Requirements (1)
Spring 2003, Team #3 Page 93 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Performance Requirements (1) DAC Input: 15-bit binary word Binary 2’s complement (0000H to 7FFFH) Enable signal (standard TTL logic) VIH=2.0V min VIL=0.8V max IIH(VIH=2.7V)= +/- 10uA max IIL(VIH=0.4V)= +/- 10uA max Current Source Input: Input voltage Swing = 0-10V (+ only) Input Z = 27kOhm Current Source Output: Current swing = 4-20mA Slew rate = 1.3mA/uS (typical) Settling time (to 0.1% of span) = 15uS Output Z = 109 Ohm (typical) (from drain of FET) DAC Output: Output form = VDC Voltage swing = 0-10V Current = +/- 5mA min Slew rate = 10V/uS (typical) THD + noise = .005% V swing = +/- 10V Z = 0.1 Ohm (typical) SINAD (Signal to noise + distortion) = 87dB (typical)

94 DAC Circuit Performance Requirements (2)
Spring 2003, Team #3 Page 94 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Performance Requirements (2) Power Supply Requirements: DAC: +VCC min = 11.4V typical = 15V max = 16.5V -VCC min = -11.4V typical = -15V max = -16.5V Power Dissipation = 600mW max Current Source: VCC +13.5V min, +40V max Power Dissipation = 330mW max Packaging: Prototype: DAC712 – DIP XTR110 – DIP MOSFET – TO-92 Production: DAC712 - SOIC XTR110 - SOL MOSFET - SOT Interfacing: Prototype: wire wrap from micro to DAC all other connections on perf board point-to-point solder Production: Surface mount with PCB Output: PCB screw-type terminal block Operating Temperature: Current Source: 0 to +70 (degrees C) DAC: 0 to +70 (degrees C)

95 DAC Circuit Productization Requirements
Spring 2003, Team #3 Page 95 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Productization Requirements User Controls: none Safety Features: DAC not accessible to user Temperature range as specified by overall product (0-70°C) Components chosen to comply with temperature requirements Hand Assembly: Terminal block connections for output terminals Societal/legal/Monetary Aspects: Material Degradation: Suitable for industrial conditions Disposability/Recycleability: Parts recyclable as PCB assembly Reliability: Prototype: length of project Production: 1 1%, 10 5%

96 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 96 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Schematic

97 DAC Circuit Initial Prototype
Spring 2003, Team #3 Page 97 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Initial Prototype

98 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 98 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Details (1) DAC input is 15-Bit 2’s complement from micro DAC output is 0-10VDC +/- 15V power supply required for DAC +15V power supply also used for voltage controlled current source Output is either fed directly to drive or to input of XTR110, which converts the signal to 4-20mA and is then fed to the drive. Output will be available via a terminal block on the rear of the product DAC prototype associated circuitry includes biasing circuits for offset and gain. For production biasing would be done in software, reducing cost, and increasing reliability. Current Source associated circuitry includes a P-Channel MOSFET to supply current capability (bias resistors to drive the MOSFET are included in the XTR110) Both Current and Voltage outputs are always active

99 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 99 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Details (2) The following product features influenced component Selection: Features of the Burr-Brown DAC Bit Digital-To-Analog Converter Binary 2’s Complement Input Format 0-10V Output Via an Internal amplifier Internal precision voltage reference High Accuracy Flexible Integration Features of the Burr-Brown XTR110 Voltage-To-Current Converter Input Compatibility (0-10V) 4-20mA Output Designed for use with 250 Ohm Load Precision Output All other components were selected based on manufacturer’s recommendations   The above features were the major contributors to the choice of components for this design.

100 DAC Worst Case Analysis
Spring 2003, Team #3 Page 100 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Worst Case Analysis DAC712 Transfer Characteristics: Note: LSB = 305uV = -96dB Linearity Error: +/- 4 LSB (max) [4 x 305uV = 1.22mV (max)] Tmin to Tmax : +/- 8 LSB (max) Differential Linearity Error: +/- 4 LSB (max) Monotonicity over Temp: 13 Bits (min) Gain Error: +/- 0.1% (max) Tmin to Tmax : +/- 0.2% (max) Bipolar Zero Error: +/- 0.1% FSR (max) +/- 20 mV (max) Tmin to Tmax : +/- 0.2% FSR (max) Power Supply Sensitivity of Full Scale: +/ %FSR/%Vcc (max) +/- 30 PPM FSR/ %Vcc (max)

101 DAC Circuit Mass Production Aspects
Spring 2003, Team #3 Page 101 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Mass Production Aspects Mass production: DAC712, VP0300L, and XTR110 will be surface mount Manufacturing processes: Re-flow solder for surface mount components Tolerances: No resistors will be used in production Capacitors used are only on power supply inputs Testing: Provide known input to DAC and measure outputs of DAC and current source to confirm calibration Special Considerations: Analog ground plane to be present under and around DAC Components at Risk for Obsolescence: DAC and Current source possible, unlikely within 5 years

102 DAC Circuit Parts Lists
Spring 2003, Team #3 Page 102 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Parts Lists Prototype part: Mass production parts

103 DAC Circuit Validation Plan
Spring 2003, Team #3 Page 103 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Validation Plan Functional Tests performed: DAC output voltage measurement per single bit input DAC input current draw, which was measured in two ways: 1) By inserting a 100kOhm resistor in series 2) By direct measurement Current Source Output measurement per single bit input to DAC Significance of data gathered: Compare current draw of DAC inputs to current sourcing capability of microprocessor to ensure compatibility. Observe accuracy of both voltage and current outputs to ensure compatibility with AC motor drive. If time permitted, special code would have been created to fully test all 64k outputs.

104 DAC Circuit Validation Results (1)
Spring 2003, Team #3 Page 104 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Validation Results (1)

105 DAC Circuit Validation Results (2)
Spring 2003, Team #3 Page 105 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Validation Results (2) Calculations: Draws less than 930 mW Not verified Suitable for industrial environments By inspection and material selection

106 DAC Circuit Validation Results (3)
Spring 2003, Team #3 Page 106 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Validation Results (3) Graphical Verification of data gathered

107 DAC Circuit Validation Results (4)
Spring 2003, Team #3 Page 107 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Validation Results (4) Graphical Verification of data gathered

108 DAC Block Reliability Analysis
Spring 2003, Team #3 Page 108 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Block Reliability Analysis Reliability (λss = Σ λi x FIT = xFailures/109 Hours) Overall Product Reliability Evaluation:λ = λB * πT * πV * πE * πQ  λB = Total for all blocks according to Chart, Method E πT = Total Temperature Stress Factor: for all blocks Ta = Actual Maximum Operating Temperature: 50ºC Tr = Rated Maximum Operating Temperature Tr > Ta πV = Electrical Stress Factor: for all blocks Va = Actual Maximum Operating Voltage Vr = Rated Maximum Operating Voltage Vr > Va πE = Environmental (Overall) Factor: Outdoor Stationary = 2.0 πQ = Quality (Parts and Assembly) Factor: Hand Assembly Part = 3.0 Block Reliability Values Component λB πT πV πE πQ Total DAC712 62 12.18 1 2 3 4530.9 XTR110 1uF cap 1.2 1.55 2.48 27.68 MOSFET 4.0 1.25 74.4 Total: Parts per Billion

109 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 109 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER And for the final functional block, we’ll discuss the power supply . . .

110 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 110 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER POWER SUPPLY DETAILS

111 POWER SUPPLY BLOCK OVERVIEW
Spring 2003, Team #3 Page 111 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER POWER SUPPLY BLOCK OVERVIEW The power supply requirements: Input Power: 98 to 132 VAC, Hz Outputs (Regulated DC Voltages): +15 VDC (14.4 VDC to 15.6 VDC) -15 VDC (–15.6 VDC to –14.4 VDC) +5 VDC (4.75 VDC to 5.25 VDC) Safety features: Over-current and over-voltage protection Molded line cord (UL compliant)

112 Power Supply Standard Requirements
Spring 2003, Team #3 Page 112 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Standard Requirements

113 Power Supply Performance Requirements
Spring 2003, Team #3 Page 113 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Performance Requirements Operation Modes: ON/OFF Working Input Range: VAC, Hz Component Input Tolerance: VAC, Hz Output Voltage: +15 VDC (14.4 VDC to 15.6 VDC) -15 VDC (–15.6 to –14.4 VDC, ) +5 VDC (4.75 VDC to 5.25 VDC) Output Current: mA Input Power Connection: 6.5’ NEMA Plug Displays: Neon Lamp to Indicate power is present. Safety Features: Over-voltage protection with Metal Oxide Varistor (MOV), over-current protection with fuse. Interfaces Electrical: Voltage Output to Other Functional Blocks Mechanical: Power Cord for Input Power Operational: On/Off Over-current with 1.5A Fuse on Primary Over-voltage to 150V with MOV on Power Input

114 Power Supply Design Details
Spring 2003, Team #3 Page 114 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Design Details A linearly regulated power supply operates at about 70% efficiency, so the distributed total power of the power supply is the sum of the powers of each block multiplied by 130%: Total Power = (Sensor+Processor+Interface+DAC)(1.3) Total Power=( )(1.3)= 4.004W Power supply is suitable for industrial environment: Components are sized larger for longer life Common inputs and outputs implemented Made of durable and long lasting materials Enclosed in plastic casing to protect from environmental hazards Over-current protected: 1.5A Fuse on primary Over-voltage protected: MOV’s on transformer primary side Diodes in parallel with regulators

115 Power Supply Productization Requirements
Spring 2003, Team #3 Page 115 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Productization Requirements Safety: - Neon Lamp Illuminated on Main Module Enclosure to detect Voltage Present - Temperature range: 0ºC - 50ºC - Components to be chosen to comply with temperature requirements - No User Controls - Overvoltage and Overcurrent Protection: Varistor and Fuse on Primary Coil Ethical: - Potentially Dangerous Chemical Compounds: Solder Manufacturing: - Hand Assembly: Power Cord connected to appropriate power source PCB Board utilizing Through Hole technology for components - Common Parts – Low Overhead Storage Costs Cost: - Common Components – Can purchase in Large Numbers to save Money Easily Assembled - No Complicated or Specialized Assemblies - Relatively small amount of board space used Societal/legal/Monetary Aspects: - Material Degradation: - Corrosion - Chemical resistivity/duration of exposure Suitable for industrial conditions Disposability/Recycleability: - Parts recyclable as PCB assembly Reliability (General): - Prototype: Length of Project - Production: 1 1%, 5 5% Sustaining: - Long Term Production Support for any circuit design issues will be handled by a Continuation Engineering Group - Short Term Production Support will be handled by Technical Service Department

116 Power Supply Block Diagram
Spring 2003, Team #3 Page 116 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Block Diagram 120VAC INPUT Filtering Capacitors Overvoltage & Overcurrent Protection Step Down Transformer (36 VAC) +15V Linear Regulator Bridge Rectifier Change From AC To DC +15V Filtering Capacitors +5V Linear Regulator +5V Filtering Capacitors -15V Linear Regulator -15V

117 Power Supply Schematic
Spring 2003, Team #3 Page 117 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Schematic + + + + + +

118 Power Supply Component Details
Spring 2003, Team #3 Page 118 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Component Details Component Reasoning for Use Power Cord Ample length, Can easily handle amount of power used by the unit Fuse Provides over-current protection on the primary side Varistor Provides over-voltage protection for the primary side Neon Lamp Simple and cost effective way to indicate unit is powered Transformer Steps down the voltage from input to a more manageable voltage Bridge Rectifier Changes the voltage from AC to DC for use by the Voltage Regulators Capacitors 1-6 These are chosen larger to significantly reduce the voltage ripple left by the bridge rectifier Capacitors 7-12 These protect the circuit from a high-frequency response brought on by the AC to DC rectification Voltage Regulators Each Regulator is chosen to match the required voltage needed by the unit (+/-15V, +5V) Diodes In addition to protecting against current feedback, they protect the power supply from an over-voltage from one of the areas it is supplying power to

119 Power Supply Worst Case Analysis (1)
Spring 2003, Team #3 Page 119 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Worst Case Analysis (1) For the worst case analysis of the power supply block the tolerances of the capacitors, the max/min VM, and the max/min designated frequencies where taken into account. To obtain the highest VRIPPLE possible the lowest frequency, capacitance, and the highest VM where included in the calculations. As expected the worst case voltage ripple is much lower than needed.

120 Power Supply Worst Case Analysis (2)
Spring 2003, Team #3 Page 120 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Worst Case Analysis (2) For the analysis of selected components some simple calculations can be made. The proposed range of the input voltage is 98 – 132VAC, and the proposed input frequency is 58 – 63Hz. To validate these ranges a low-end calculation and a high-end calculation can be made. In addition to this a VRIPPLE < 0.075V is required for all components to work properly. LOW-END VOLTAGE CALCULATION: For all the voltage regulators to work correctly a minimum of 30VDC is needed to be supplied by the bridge rectifier. Where N1 is the step down rating of the transformer winding, and is the AC voltage converted from the DC voltage. It is found that the low-end input VRMS voltage is 70.7VAC.

121 Power Supply Worst Case Analysis (3)
Spring 2003, Team #3 Page 121 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Worst Case Analysis (3) HIGH-END VOLTAGE CALCULATION: The maximum rated voltage for the 15V Regulator is 35VDC so The Bridge Rectifier cannot output more than 70VDC without a possible failure in the regulator and ultimately within the power supply block. Where N1 is the same as in the previous calculation, and the 70 VDC is converted into a 100 VAC voltage. This translates into an input maximum 333 VAC.

122 Power Supply Mass Production
Spring 2003, Team #3 Page 122 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Mass Production All power supply components are suitable for printed circuit board assembly, except for the line cord, fuse holder, and the power indicator lamp. A separate board will be used for the power supply for isolation. This assembly will contain all through hole components for uniform assembly.

123 Power Supply Parts List
Spring 2003, Team #3 Page 123 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Parts List

124 Power Supply Validation Plan
Spring 2003, Team #3 Page 124 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Validation Plan Obtain necessary voltage ripple specifications via datasheet Calculate the resistance of the entire unit Obtain necessary voltage peak Calculate capacitance based on previous values Construct prototype Verify proper voltage ripple of prototype in lab Update if necessary

125 Power Supply Validation Results (1)
Spring 2003, Team #3 Page 125 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Validation Results (1) The following calculations were done by hand to obtain the proper capacitance and tolerances: The value chosen is 2200uF with a tolerance of +/-20%. These values are well above the required capacitance values.

126 Power Supply Validation Results (2)
Spring 2003, Team #3 Page 126 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Validation Results (2) DC Voltage Values Voltage Ripple on each Supply +5V +15V -15V Supply Output

127 Power Supply Block Reliability Analysis
Spring 2003, Team #3 Page 127 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Block Reliability Analysis Reliability (λss = Σ λi x FIT = xFailures/109 Hours) Overall Product Reliability Evaluation:λ = λB * πT * πV * πE * πQ  λB = Total for all blocks according to Chart, Method E πT = Total Temperature Stress Factor: for all blocks Block Reliability Values Component λB πT πV πE πQ Quantity Total 2200uF Cap. 120 3.77 .5124 2.0 1.0 3 691.95 100uF Cap. .432 504.67 1uF Cap. 6 1383.9 Si PN Diode 2.4 1.09 7.39 116.2 Transformer 50 1.47 .368 1 54.1 Fuse 10.0 1.55 .1364 4.22 Bridge Rectifier 9.6 1.25 .1512 3.63 Power Cord 22.0 .1806 29.96 +15V Regulator .289 44.8 -15V Regulator +5V Regulator .174 26.97 Connector 22 2.04 1.02 274.83 Total: Ta = Actual Maximum Operating Temperature: 50ºC Tr = Rated Maximum Operating Temperature Tr > Ta πV = Electrical Stress Factor: for all blocks Va = Actual Maximum Operating Voltage Vr = Rated Maximum Operating Voltage Vr > Va πE = Environmental (Overall) Factor: Outdoor Stationary = 2.0 πQ = Quality (Parts and Assembly) Factor: Hand Assembly Part = 3.0 Parts per Billion

128 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 128 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Prototype integration and validation details next . . .

129 Prototype Integration Details
Spring 2003, Team #3 Page 129 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Prototype Integration Details Prototype consisted of six boards: Main Board containing power supply and DAC CPLD encoder board Microprocessor board LCD display Keypad Sensor circuit All of the circuits discussed, except the sensor circuit, are housed in a plastic enclosure. This enclosure was customized to mount the keypad, display, terminals blocks, fuse holder and power cord. Perf board, with point to point soldering, was used for the power supply and DAC circuits. Wire-wrapping was used to interconnect the microprocessor board, CPLD board, LCD display, keypad, and the terminal blocks. Assembly of the prototype was a team effort, with all members contributing.

130 Prototype Integration Details
Spring 2003, Team #3 Page 130 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Prototype Integration Details LCD Display 4 x 4 Matrix Keypad Sensor Input Terminals Analog Output Terminals

131 Prototype Integration Details
Spring 2003, Team #3 Page 131 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Prototype Integration Details Microprocessor board  Back of keypad with CPLD encoder (LCD behind CPLD board) Sensor Circuit 

132 Prototype Integration Details
Spring 2003, Team #3 Page 132 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Prototype Integration Details Power Supply DAC circuit

133 Integration Standard Requirements
Spring 2003, Team #3 Page 133 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Integration Standard Requirements

134 Overall Prototype Validation Plan
Spring 2003, Team #3 Page 134 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Overall Prototype Validation Plan Motor Control Validation Plan Verify that the motor is accelerated at the programmed rate acceleration rate and decelerated at the programmed deceleration rate. Verify improvement in motor speed control during load change when the motor is controlled with and without the prototype. Manually verify that the menu system operates in accordance with the user interface flow chart (proper data output onto the LCD for given keypad inputs.) Verify over and under speed safety shut down operates correctly User Interface Validation Plan Manually verify that the menu system operates in accordance with the user interface flow chart (proper data output onto the LCD for given keypad inputs). Compliance to Remaining Product Performance Requirements.

135 Prototype Validation Test Results
Spring 2003, Team #3 Page 135 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Prototype Validation Test Results Verified Validation Tests:

136 Prototype Validation Test Results
Spring 2003, Team #3 Page 136 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Prototype Validation Test Results Verified Performance Requirements: 0.4% accuracy – actual versus displayed speed of motor shaft Pending Less than 4.0W power consumption Power consumption measured at 30mA, equating to 3.5W. The user display will be viewable from five feet All team members agreed that display was viewable at five feet. Over-current and over-voltage protection on input power Fuse and MOV in place, but did not deliberately generate trip condition Shaft speeds to 1800 RPM Motor run at full range of speeds up to 1800 RPM with acceptable results. Installation with basic hand tools. Sensor circuit installed multiple times with basic hand tools by two team members.

137 Prototype Validation Test Results
Spring 2003, Team #3 Page 137 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Prototype Validation Test Results Unverified Validation Tests:

138 Prototype Validation Test Results
Spring 2003, Team #3 Page 138 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Prototype Validation Test Results Unverified Performance Requirements: 0.4% accuracy – actual versus displayed speed of motor shaft User interface keypad chosen for industrial environment MINOR: Could not conduct test per UL508C and CSA 22.2 (cost and time) Under-speed and over-speed indicators on user interface MAJOR: Could not get LCD to operate properly (programming) Compatibility with AC motor drives and PLCs containing analog inputs. MINOR: Could only test on one model of AC drive (cost) Operable in environments from 0 – 50ºC MAJOR: Do not have access to thermal chamber (cost and time) Mounting by DIN rail or panel screws. MINOR: Did not have time to implement this feature (time)

139 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 139 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Next is reliability, warranty, and servicing

140 Overall Reliability Calculations & Production Volume
Spring 2003, Team #3 Page 140 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Overall Reliability Calculations & Production Volume Reliability (λss = Σ λi x FIT = xFailures/109 Hours) Overall Product Reliability Evaluation:λ = λB * πT * πV * πE * πQ  λB = Total for all blocks according to Chart, Method E πT = Total Temperature Stress Factor: for all blocks Ta = Actual Maximum Operating Temperature: 50ºC Tr = Rated Maximum Operating Temperature Tr > Ta πV = Electrical Stress Factor: for all blocks Va = Actual Maximum Operating Voltage Vr = Rated Maximum Operating Voltage Vr > Va πE = Environmental (Overall) Factor: Outdoor Stationary = 2.0 πQ = Quality (Parts and Assembly) Factor: Hand Assembly Part = 3.0 Block Reliability Values (1000 Units Produced) Block Total λ Sensor User Interface Microprocessor Hardware DAC Power Supply Total Reliability: Parts per Billion As seen from the chart the total reliability for the overall module is FITs.

141 Spring 2003, Team #3 Page 141 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Overall Module Product Warranty vs. Reliability and Service Strategy and Expected Product Life Warranty Vs. Reliability Calculation The original rate was predicted to be 1% after one year, 5% after 5 years The calculated rate was found to be less that this predicted value The reliability does not take into consideration poor workmanship, which may have a significant impact on this calculation and affect failure rate Expected Product Life From the calculations above, expected product life under normal operating conditions would be 5 years Service Strategy: (for serviceable parts) Fuses in the Power Supply can be changed in case of failure Updated Chips with software updates can be replaced as upgrades are available

142 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 142 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Overall Module Serviceable Parts and Instructions, Disposal of Serviceable Parts and Reclamation Serviceable Parts: Microprocessor chip can be reprogrammed with updated software and replaced PLD chip can be reprogrammed with updated software and replaced All other parts are non-repairable Disposal of Serviceable Parts: All serviceable parts that are passed serviceability that are recyclable will be recycled of per state/federal regulations (refer to disposal/recycling standards of the technical report for more information and requirements) All serviceable parts that are passed serviceability that are not recyclable will be disposed of per state/federal regulations (refer to disposal/recycling standards of the technical report for more information and requirements) Reclamation of Parts for Disposal or Recycling: All returned modules will be tested at bawd’s corporate manufacturing facility to determine if any parts are serviceable and be reclaimed or if the whole module is to be disassembled for further processing All reclamation/disassembly/recycling processes will be done by contract with an external contractor such as Central Metal Fabricators of Waukesha Instructions: Operator instructions and other pertinent specifications can be found in the specification manual distributed to this product presentation’s attendees

143 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 143 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Production aspects, obsolescence, and the closing will wrap it up!

144 Production Flow Diagram
Spring 2003, Team #3 Page 144 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Production Flow Diagram Main PCB Assembly Place SMT components. Hand place other components Run through wave solder PCB Inspection and In-Circuit Test Visually inspect for solder defects; touch-up as needed In-Circuit Test Power Supply PCB Assembly Per test plan Final Functional Test Place all pre-wave power supply component (all through hole). Run through wave solder Hand place and hand solder transformer. Unit Assembly Install PC boards in enclosure Connect cabling Connect power cord and fuse Pack and Ship Enclosure Sub-Assembly Package includes control unit, sensor unit with standard mounting hardware, and user manual. Install keypad, LCD display, terminal blocks, cabling, power cord, fuse holder, and power indicator light.

145 Mass Production Test Strategy (1)
Spring 2003, Team #3 Page 145 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Mass Production Test Strategy (1) Computer automated in-circuit testing for the Speed Sensor, DAC, LCD, and Keypad. DAC – A range of 15 bit values input to the DAC. Corresponding output voltage verified with a DVM. Speed Sensor Photo-Transistor – Mechanical device to trigger sensor at minimum and maximum frequencies. Speed Sensor Conditioning Circuit– Square wave input of varying frequencies input with a function generator. Output circuit frequency and voltage verified with oscilloscope. Keypad – Buttons depressed with a solenoid array. 16 wire output connected to computer parallel port. Proper output signal verified through computer connection. LCD – Text output script input to LCD. Verified optically through image sensors. Test Equipment Required – Personal Computer, DVM, Frequency Generator, Function Generator, Oscilloscope, Solenoid Array, Image Sensors, and Bed of Nails.

146 Mass Production Test Strategy (2)
Spring 2003, Team #3 Page 146 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Mass Production Test Strategy (2) System Functional Testing All system testing automated through test scripts. Simulates a complete motor control cycle including (input parameters set through keypad, motor start, acceleration rate verified, steady state load change analysis, shut down, deceleration rate verified, and optical verification of LCD output. Test equipment is identical to that used for sub – assembly testing. Production Yield Goal of 90% first-pass yield; technician area to be established to handle production repair issues. Long-term goal of 96% to achieve world class manufacturing status. Potential Volume Production line will be design to produce a projected yearly volume of 1000 units.

147 Overall Production Aspects
Spring 2003, Team #3 Page 147 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Overall Production Aspects Integration of blocks to three PCBs assemblies: main board, power supply board, and sensor board. Surface mount technology to be used on main board and sensor board. Thru-hole technology to be used on power supply board Solder reflow and wave solder processes to be used. Hand assembly of product enclosure and packaging. Assembly line setup will emphasize “lean” principals. Process FMEA will be conducted to optimize process flow and other efficiencies.

148 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 148 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Production Costs Tooling ICT fixture: $15,000 Functional Test Stand: $7,500 Fixtures for assembly purposes: $6,500 Infrastructure Building / Overhead: based on region and economy Workbenches, hand tools, etc: $50,000 Other incidentals: based on region and economy

149 Master Parts List for Production (1)
Spring 2003, Team #3 Page 149 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Master Parts List for Production (1)

150 Master Parts List for Production (2)
Spring 2003, Team #3 Page 150 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Master Parts List for Production (2)

151 Product Packaging / Accessories
Spring 2003, Team #3 Page 151 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Product Packaging / Accessories Package includes control unit, sensor unit with standard mounting hardware, and a user manual. Packaging material will include a cardboard carton, appropriate labeling, and paper-matrix inserts to stabilize and protect the contents. Customer will be responsible for providing a three-conductor cable for interconnection between the sensor and the control box. Additional hardware kits will be sold separately for non-standard mounting configurations.

152 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 152 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Overall Module Warnings, Labeling, Use or User Restrictions, Authorized Uses (Legal & Societal Aspects) Warnings, User Restrictions, & Authorized Uses: ATTENTION: The drive (user provided) associated with this product may contain high voltage components after removal of main supply. Before working on the drive or the Accu-Code Module, ensure isolation of main supply from inputs. Wait three minute for components to discharge to safe voltage levels. Failure to do so may result in personal injury or death. Refer to drive manual for further/more precise instructions. Darkened display LED’s on any components used in this system is not an indication that components voltage levels are safe to be worked on. ATTENTION: Equipment damage and/or personal injury may result if this product is used in an inappropriate application. Do not use this product without considering any/all applicable local, national, and international codes, standards, regulations, or industry guidelines. Make sure a proper lockout/tagout procedure is in place anytime when working with power. ATTENTION: Only qualified personnel familiar with drives and Accu-Code and associated machinery should plan or implement the installation, start-up, and following maintenance of the system. Failure to comply may result in personal injury, equipment damage, and warranty disqualification. ATTENTION: Do not duplicate, copy, or revise software/firmware package without written consent of BAWD International. Doing so, may result in product damage, personal injury/death, and/or property loss Use Restrictions: ATTENTION: An incorrectly applied or installed Accu-code encoder module can/may result in component damage or a reduction in product life. Wiring or application errors, such as, utilizing the incorrect voltage levels, very hazardous/corrosive environments, or excessive temperature ranges may result in malfunction of the components and the entire system. Label: Data Nameplate affixed to each unit 

153 Hazardous Materials / Disposal and Recyclability
Spring 2003, Team #3 Page 153 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Hazardous Materials / Disposal and Recyclability Hazardous Materials Present: Lead (in solder), GaAs (in photo-transistor) Disposal of Hazardous Materials: With current manufacturing technology, quantities of lead and GaAs can be minimized These materials do pose an environmental threat, however recycling of failed components is not feasible at this point. Components that have not failed can be extracted from the PCB assembly and recycled. The gold plating on the PCB will also be extracted for reuse. Due to the nature of the design and components used in this product, it is very likely that failures will be isolated in specific circuits. This allows for a high percentage of potential component re-use

154 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 154 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Product Obsolesence HC12 microprocessor technology used for this design is old and has minimum available technical support. To prevent part availability issues, a different microprocessor should be used. All other components used are readily available and should be on the market for greater than five years. In the event that a part becomes unavailable, either an acceptable component must be qualified or a circuit change must be made to accommodate newer technologies.

155 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 155 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Closing This product proved to be more challenging than originally anticipated. The whole design process revealed to all team members the complexity of the complete design, development, and manufacturing processes. We would like to thank the following: Jim Cummins for his help with VHDL programming. Fred Lers for his help with the sensor enclosure and disc. Jeff Kautzer for his design advice. Rockwell Automation for borrowing us the AC drive and motor. Our wives, daughters, girlfriends, and motorcycles for being understanding for all the time away. And, finally, the CEAS faculty and staff at UW-M for all the years of support.

156 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 156 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER

157 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 157 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER

158 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 158 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER

159 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 159 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER

160 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 160 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER

161 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 161 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Appendix

162 User Interface Block Tasks
Spring 2003, Team #3 Page 162 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Block Tasks

163 User Interface Gantt Chart
Spring 2003, Team #3 Page 163 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER User Interface Gantt Chart

164 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 164 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Tasks

165 Sensor Circuit Gantt Chart
Spring 2003, Team #3 Page 165 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Sensor Circuit Gantt Chart

166 Microprocessor Hardware Block Tasks
Spring 2003, Team #3 Page 166 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Block Tasks

167 Microprocessor Hardware Gantt Chart
Spring 2003, Team #3 Page 167 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Hardware Gantt Chart

168 Microprocessor Software Tasks
Spring 2003, Team #3 Page 168 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Microprocessor Software Tasks Block >>> Software Slide Report TASKS JW Est Hrs Prepared Section Define block level std requirements 3 YES Define block level electrical interface requirements 1 Define other block level performance requirements Select key components for prototype Procurement of all remaining prototype components 2 Creation of validation plan to verify ALL Std requirements Creation of validation plan to verify ALL Perf requirements 10 Execution of lab tests in validation plan 20 Documentation of data from validation plan supporting verification of ALL requirements Integration and debug within product system prototype Design and Simulation of Motor Speed PID Control Loop Design and Coding of Motor Speed Control Software Debugging Motor Speed Control Software Design and Coding of User Interface Software Debugging of User Interface Software 7 Design and Coding Safety Software 5 Debugging of Safety Software Design and Coding of Sensor and DAC Software 4 Debugging Sensor and DAC Software TOTALS 131

169 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 169 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Software – Gantt Chart

170 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 170 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Circuit Tasks

171 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
Spring 2003, Team #3 Page 171 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER DAC Block Gantt Chart

172 Power Supply Block Tasks
Spring 2003, Team #3 Page 172 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Block Tasks

173 Power Supply Block Gantt Chart
Spring 2003, Team #3 Page 173 CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER Power Supply Block Gantt Chart


Download ppt "CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER"

Similar presentations


Ads by Google