Ellips BV, Eindhoven, the Netherlands Coach : Ir

Total Page:16

File Type:pdf, Size:1020Kb

Ellips BV, Eindhoven, the Netherlands Coach : Ir Eindhoven University of Technology MASTER An intelligent sensor controller using Profibus Zinken, P.J.H. Award date: 1998 Link to publication Disclaimer This document contains a student thesis (bachelor's or master's), as authored by a student at Eindhoven University of Technology. Student theses are made available in the TU/e repository upon obtaining the required degree. The grade received is not published on the document as presented in the repository. The required complexity or quality of research of student theses may vary by program, and the required minimum study period may vary in duration. General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain ~ ICSlEB691 Technische UniversiteittUJ Eindhoven Faculty ofElectrical Engineering ICS (EB) Section of Information and Communication Systems Master's Thesis: An intelligent sensor controller using Profibus P.l.H. Zinken Id.nr.403715 Location : Ellips BV, Eindhoven, The Netherlands Coach : Ir. H.P.E. Stox Supervisor : Prof. Ir. M.PJ. Stevens ~ Period : August 1997 - July 1998 ELLIPS The Faculty of Electrical Engineering of Eindhoven University of Technology does not accept any responsibility regarding the contents of Master's Theses. An intelligent sensor controller using Profibus E~ SUMMARY The new fruit grading system that is currently developed by Ellips B.V. is based on a Profibus DP (PROcess FIeldBUS Decentralised Peripheral) environment. The system consists of one master computer and several intelligent slaves; an I/O controller, a weight controller, a sensor controller and a diameter- and color measurement system. In this document the design of the sensor controller card will be discussed. The sensor controller board is a multifunctional board for the decentralised handling of position measurement, static/dynamic weight measurement, input/output control and fruit roll measurement. It features two high-resolution rotary encoders, a 24-bit sigma delta analog/digital converter, 8 isolated analog inputs and 4 isolated digital outputs. The sensor controller board is an embedded system based on an 80C310 micro controller, it interfaces to the Profibus by a SPC4 Profibus controller. A Quicklogic FPGA is used to implement most of the Memory Management, the position decoding and to glue all other parts together. In this design the position measurement must be as accurate as 1I20th cup. The static weight measurement is performed with a peak-peak resolution of 16 bits, so accuracy is better than 0.2 gram. Dynamic operation can be performed at 14 bits and an accuracy of better than 1 gram. (Based on a 10 kg bridge.) The input circuitry can handle most industrial encoders, proximity sensors and photo switches. The output circuitry is designed for the switching of relays up to 1.8 Ampere. 2 ~ An intelligent sensor controller using Profibus ELLIPS TABLE OF CONTENTS 1. INTRODUCTION 6 2. CONTROLLER CONCEPT 7 2.1 OVERVIEW 7 2.2 THE FRUIT GRADING SYSTEM 9 2.2.1 Mechanical structure 9 2.2.2 Communication model 12 2.2.3 Profibus 14 2.2.4 Profibus-DP 15 2.2.5 Timing Specifications 19 3. EMBEDDED SYSTEM DESIGN 23 3.1 SPECIFICATIONS 23 3.2 DESIGN 24 3.2.1 Profibus 1nterface 24 3.2.2 Microcontroller 25 3.2.3 Memory Management 30 3.2.4 Glue 34 3.2.5 Power-supply & watchdog 37 3.3 TEST RESULTS 38 4. POSITION MEASUREMENT 39 4.1 SPECIFICATIONS 39 4.2 ROTARY ENCODERS 40 4.3 DESIGN 43 4.4 METASTABILITY 48 4.5 TEST RESULTS 49 5. WEIGHT MEASUREMENT 50 5.1 SPECIFICATIONS 50 5.1.1 STATIC 51 5.1.2 SEMI-DYNAMIC 51 5.2 STRAIN GAUGE TRANSDUCER 52 5.3 DATA ACQUISITION 53 5.3.1 Sigma delta ADC's 54 5.3.2 Analog Devices compared to Burr Brown 55 5.4 ANALOG DEVICES AD7730 59 5.4.1 1nterfacing the weight-bridge 60 5.4.2 Configuration ofthe AD7730 62 5.5 DESIGN 67 5.5.1 Static 67 5.5.2 Semi-dynamic 68 5.5.3 Converter settings 69 5.6 TEST RESULTS 71 6. I/O CONTROL 75 6.1 SPECIFICATIONS 75 6.2 DESIGN 77 6.3 TEST RESULTS 79 3 An intelligent sensor controller using Profibus E~ 7. SOFTWARE 80 7.1 PROFIBUS PROTOCOL SOFIWARE 80 7.2 SENSOR CONTROLLER SOFIWARE 82 7.2.1 Sensor Input Handling 82 7.2.2 Decoder software 83 7.2.3 Data Acquisition Software 84 8. CONCLUSIONS & RECOMMENDATIONS 87 8.1 CONCLUSIONS 87 8.2 RECOMMENDATIONS 87 9. BIBLIOGRAPHY 88 10. ACKNOWLEDGEMENT 90 APPENDIX A: NOMENCLATURE 91 APPENDIX B: PROFIBUS PERFORMANCE 92 APPENDIX C: ENCODER CALCULATIONS 94 APPENDIX D: ADC CALCULATIONS 95 APPENDIX E: SIGMA DELTA AID CONVERTERS 96 APPENDIX F: ADC COMMUNICATION 100 APPENDIX G: MMU TIMING REQUIREMENTS I04 APPENDIX H: VHDL DECODER PACKAGE 107 APPENDIX I: VHDL SOURCE GLUE 112 LIST OF TABLES TABLE 3.1: GLUE MEMORY CONFIGURATION 35 TABLE 3.2: MMU SIGNALS OF THE GLUE 35 TABLE 3.3: I/O SIGNALS OF THE GLUE 36 TABLE 3.4: ADDITIONAL SIGNALS OF THE GLUE 36 TABLE 4.1: ELECTRICAL ENCODER SPECIFICATIONS 40 TABLE 4.2: MECHANICAL ENCODER SPECIFICATIONS 40 TABLE 4.3 : ENVIRONMENTAL ENCODER SPECIFICATIONS 41 TABLE 4.4: VENDOR SPECIFIC ENCODER SPECIFICATIONS 43 TABLE 4.5: ENCODER STATE TRANSITIONS 44 TABLE 5.1: ADC TYPE COMPARISON 54 TABLE 5.2: ANALOG DEVICES VERSUS BURR BROWN 58 TABLE 5.3: FILTER REGISTER SETTINGS 69 TABLE 5.4: MODE REGISTER SETTINGS 69 TABLE 5.5: CALIBRATION DURATIONS 70 TABLE 6.1: SENSOR INPUT CONFIGURATIONS 75 TABLE 7.1: CONTROL SIGNALS FOR THE WEIGHT STATE MACHINE 85 4 E~ An intelligent sensor controller using Profibus LIST OF FIGURES FiGURE 2.1: SENSOR CONTROlLER CORE 8 FIGURE 2.2: LINE SYSTEM 9 FIGURE 2.3: STATIC WEIGHT SYSTEM 10 FIGURE 2.4: ROLL SYSTEM 11 FIGURE 2.5: PROFIBUS COMMUNICATION MODEL 12 FIGURE 2.6: PROFIBUS PRODUCT GRAPH 14 FIGURE 2.7: TELEGRAM-SEQUENCE IN THE PROFIBUS-DP-SYSTEM 16 FIGURE 2.8: PROFIBUS-DP-sLAVE STATE MACHINE 17 FiGURE 2.9: PROFIBUS MESSAGE CYCLE TIME 19 FIGURE 2.10: SYSTEM REACTION TIME VERSUS N 21 FIGURE 2.11: ENCODER RESOLUTION VERSUS N 21 FIGURE 2.12: ENCODER RESOLUTION VERSUS UPDATE RATE 22 FIGURE 3.1: DESCRIPTION PROFIBUS-INTERFACE 24 FIGURE 3.2: DS80C320-MICROCONTROlLER FROM DALLAS 26 FIGURE 3.3: MEMORY-ORGANISATION OF THE MICROCONTROLLER 27 FIGURE 3.4: 80C32 INTERRUPT-MODEL 28 FIGURE 3.5: INTERRUPT-SCHEME 80C320 29 FiGURE 3.6: MEMORY CONFIGURATION OF THE 80C31O/320 32 FiGURE 4.1: ENCODER OUTPUT SIGNALS 42 FIGURE 4.2: STATE DIAGRAM OF THE DECODER 44 FIGURE 4.3: COUNTER HYSTERESIS WINDOW 46 FiGURE 4.4: SNAPSHOT OF POSITION ENCODING SIMULATION 49 FiGURE 5.2: GAUSS DISTRIBUTED P-P NOISE 56 FIGURE 5.3: GAUSSIAN DISTRIBUTION 57 FIGURE 5.4: FUNCTIONAL BLOCK DIAGRAM OF THE AD7730 59 FIGURE 5.5: AC-EXCITED BRIDGE APPLICATION 61 sT FIGURE 5.6, FREQUENCY RESPONSE 1 STAGE FILTER 62 FIGURE 5.7, FIR-FILTER RESPONSE 63 FIGURE 5.8: STEP RESPONSE FOR FASTSTEP AND NORMAL OPERATION 64 FIGURE 5.9: PEAK TO PEAK RESOLUTIONS (CHOPPING MODE) 67 FIGURE 5.10: PEAK TO PEAK RESOLUTIONS (NON-CHOPPING MODE) 68 FIGURE5.11: JAPIE 1,2,3 73 FIGURE 5.12: JAPIE4 ON THE 110 BOARD 73 FIGURE5.13:JAPIE5 74 FIGURE 6.1: IDS-UDS CHARACTERISTIC BF556c 77 FIGURE 6.2: SINGLE INPUT CIRCUIT 78 FIGURE 6.3: DC (UPPER) AND AC (LOWER) OUTPUT CONFIGURATIONS 79 FIGURE 7.1: SENSOR CONTROlLER SOFTWARE 82 FIGURE 7.3: WEIGHT MACHINE 84 FIGURE 7.2: SENSOR STATE MACHINE FOR WEIGHT 86 5 E~ An intelligent sensor controller using Profibus 1. INTRODUCTION With this work the last step is taken for graduation at the faculty Electrical Engineering of the Eindhoven University of Technology. For the five-year curriculum it consists of a nine-month period of work in one out of five sections at either the university itself or, external, in a company. This graduation work is supervised by the section Information and Communication Systems (ICS), it consists of two research chairs: Computer and Communication Systems and Design Technology. This work is done in labour of the section "Computer and Communication Systems", which focuses on analysis and specification methods, design, realisation, and application of digital information and communication systems. These are extremely complex systems with high communication speeds, a large number of operations per time unit, special memory structures, etc. The realisation is based on a (formal) design process, in which an optimal architecture is developed with a proper balance between hardware and software. The choice was made to do this graduation work external, namely at Ellips B.V. Eindhoven. Ellips B.V. is specialised in designing electronic control systems, including all relevant software, for vision applications. In real time images are processed from industrial and natural products such as raw materials, fruit, vegetables, etc. Dimensions, contour characteristics, position, colour and quality are calculated in order to classify these products in terms of control parameters for the production process. One of the systems Ellips B.V. is working on is a machine control unit for the grading of fruit and vegetables on several criteria, e.g., size, shape, weight and colour. Fruit is passing by at speeds of up to 20 pieces a second per line.
Recommended publications
  • Digital and Intelligent Sensors
    8 DIGITAL AND INTELLIGENT SENSORS The overwhelming presence of digital systems for information processing and display in measurement and control systems makes digital sensors very attrac- tive. Because their output is directly in digital form, they require only very simple signal conditioning and are often less susceptible to electromagnetic interference than analog sensors. We distinguish here three classes of digital sensors. The ®rst yields a digital version of the measurand. This group includes position encoders. The second group relies on some physical oscillatory phenomenon that is later sensed by a conventional modulating or generating sensor. Sensors in this group are some- times designated as self-resonant, variable-frequency,orquasi-digital sensors, and they require an electronic circuit (a digital counter) in order to yield the desired digital output signal. The third group of digital sensors use modulating sensors included in variable electronic oscillators. Because we can digitally measure the oscillation frequency, these sensors do not need any ADC either. Digital computation has evolved from large mainframes to personal com- puters and microprocessors that o¨er powerful resources at low cost. Process control has similarly evolved from centralized to distributed control. Silicon technology has achieved circuit densities that permit the fabrication of sensors that integrate computation and communication capabilities, termed intelligent or smart sensors. 8.1 POSITION ENCODERS Linear and angular position sensors are the only type of digital output sensors that are available in several di¨erent commercial models. Incremental encoders 433 434 8 DIGITAL AND INTELLIGENT SENSORS Disk Figure 8.1 Principle of linear and rotary incremental position encoders.
    [Show full text]
  • Introduction to Embedded System Design Using Field Programmable Gate Arrays Rahul Dubey
    Introduction to Embedded System Design Using Field Programmable Gate Arrays Rahul Dubey Introduction to Embedded System Design Using Field Programmable Gate Arrays 123 Rahul Dubey, PhD Dhirubhai Ambani Institute of Information and Communication Technology (DA-IICT) Gandhinagar 382007 Gujarat India ISBN 978-1-84882-015-9 e-ISBN 978-1-84882-016-6 DOI 10.1007/978-1-84882-016-6 A catalogue record for this book is available from the British Library Library of Congress Control Number: 2008939445 © 2009 Springer-Verlag London Limited ChipScope™, MicroBlaze™, PicoBlaze™, ISE™, Spartan™ and the Xilinx logo, are trademarks or registered trademarks of Xilinx, Inc., 2100 Logic Drive, San Jose, CA 95124-3400, USA. http://www.xilinx.com Cyclone®, Nios®, Quartus® and SignalTap® are registered trademarks of Altera Corporation, 101 Innovation Drive, San Jose, CA 95134, USA. http://www.altera.com Modbus® is a registered trademark of Schneider Electric SA, 43-45, boulevard Franklin-Roosevelt, 92505 Rueil-Malmaison Cedex, France. http://www.schneider-electric.com Fusion® is a registered trademark of Actel Corporation, 2061 Stierlin Ct., Mountain View, CA 94043, USA. http://www.actel.com Excel® is a registered trademark of Microsoft Corporation, One Microsoft Way, Redmond, WA 98052- 6399, USA. http://www.microsoft.com MATLAB® and Simulink® are registered trademarks of The MathWorks, Inc., 3 Apple Hill Drive, Natick, MA 01760-2098, USA. http://www.mathworks.com Apart from any fair dealing for the purposes of research or private study, or criticism or review, as permitted under the Copyright, Designs and Patents Act 1988, this publication may only be reproduced, stored or transmitted, in any form or by any means, with the prior permission in writing of the publishers, or in the case of reprographic reproduction in accordance with the terms of licences issued by the Copyright Licensing Agency.
    [Show full text]
  • Transactions Template
    JOURNAL OF ENGINEERING RESEARCH AND TECHNOLOGY, VOLUME 2, ISSUE 4, DECEMBER 2015 Accurate Quadrature Encoder Decoding Using Programmable Logic Yassen Gorbounov Y.Gorbounov is with the Department of Automation of Mining Production, University of Mining and Geology “St. Ivan Rilski”, Sofia, Bulgaria, e-mail: [email protected] Abstract— the quadrature encoder (or incremental detector) is amongst the most widely used positional feedback devices for both rotational and linear motion machines. It is well known that in conventional circuits for quadrature signals decoding, an error emerges during the direction change of the sensor movement. In some situations this error can be accumulative but in any case it provokes a position error, that is equal to the resolution (one pulse) of the sensor. A corrective algorithm is proposed here that fully eliminates this type of error. It is an improvement over a previous research of the author which is much simpler and resource saving without compromising the performance of the device. A Xilinx CPLD platform has been chosen for the experiments. The inherent parallelism of programmable logic devices permits a multi-channel CNC machine to be fully served by a single chip. This approach outperforms the capabilities of any conventional microcontroller available on the market. Index Terms— Quadrature encoder, incremental encoder, angular position measurement, motion control, programmable logic, parallel algorithms. I INTRODUCTION In motion control, the quadrature encoder can be of a ro- tary or linear-type, with an optical or magnetic sensing prin- ciple, which gives information about both the relative posi- tion and the motional direction of a shaft.
    [Show full text]
  • 10.10 a Rotary Encoder Interface
    Interrupts and a First Look at Timers 309 #define DEBOUNCE 5 5 * 6 ms = 24 to 30 ms debounce time volatile unsigned char button, button_debounce; void interrupt pic_isr(void){ if (INT2IF && INT2IE) { Falling edge interrupt, // pushbutton detected set the semaphore and INT2IE = 0; button = 1; button_debounce = 0; } } disable interrupt if (TMR2IF) { // debouncing timer TMR2IF = 0; if (!INT2IE) { if (RB2) { if (button_debounce != DEBOUNCE) If the interrupt is disabled, then button_debounce++; debounce the switch by waiting } for it to become idle high. else button_debounce=0; After the switch is debounced and if (button_debounce == DEBOUNCE && !button){ the semaphore is acknowledged, //button idle high ,re-enable interrupt } then reenable the interrupt. INT2IF=0; INT2IE=1; } } } } main(void){ serial_init(95,1); // 19200 in HSPLL mode, crystal = 7.3728 MHz // configure INT2 for falling edge interrupt input Configure TRISB2 = 1; INT2IF = 0; INTEDG2 = 0; INT2IE = 1; INT2 for RBPU = 0; // enable weak pullup on port B } falling edge // configure timer 2 // post scale of 11, prescale 16, PR=250, FOSC=29.4912 MHz interrupt // gives interrupt interval of ~ 6 ms TOUTPS3 = 1; TOUTPS2 = 0; TOUTPS1 = 1; TOUTPS0 = 0; T2CKPS1 = 1; PR2 = 250; Configure Timer2 // enable TMR2 interrupt for ~6 ms interrupt IPEN = 0; TMR2IF = 0; TMR2IE = 1; PEIE = 1; GIE = 1; } period TMR2ON = 1 ; pcrlf(); printf("Pushbutton with Timer2 Debounce"); pcrlf(); while(1) { if (button) { If pushbutton is activated, button=0; // acknowledge this semaphore then print message and printf("Push Button activated!"); pcrlf(); } } reset the semaphore }// end while }//end main FIGURE 10.24 ON THE CD Switch debounce implementation. This approach sets the button semaphore on each press and release of the push button switch.
    [Show full text]
  • Digital Design: an Embedded Systems Approach Using Verilog
    In Praise of Digital Design: An Embedded Systems Approach Using Verilog “Peter Ashenden is leading the way towards a new curriculum for educating the next generation of digital logic designers. Recognizing that digital design has moved from being gate-centric assembly of custom logic to processor-centric design of embedded systems, Dr. Ashenden has shifted the focus from the gate to the modern design and integration of complex integrated devices that may be physically realized in a variety of forms. Dr. Ashenden does not ignore the fundamentals, but treats them with suitable depth and breadth to provide a basis for the higher-level material. As is the norm in all of Dr. Ashenden’s writing, the text is lucid and a pleasure to read. The book is illustrated with copious examples and the companion Web site offers all that one would expect in a text of such high quality.” —grant martin, Chief Scientist, Tensilica Inc. “Dr. Ashenden has written a textbook that enables students to obtain a much broader and more valuable understanding of modern digital system design. Readers can be sure that the practices described in this book will provide a strong foundation for modern digital system design using hard- ware description languages.” —gary spivey, George Fox University “The convergence of miniaturized, sophisticated electronics into handheld, low-power embedded systems such as cell phones, PDAs, and MP3 players depends on efficient, digital design flows. Starting with an intuitive explo- ration of the basic building blocks, Digital Design: An Embedded Systems Approach introduces digital systems design in the context of embedded systems to provide students with broader perspectives.
    [Show full text]
  • Interfacing Quadrature Encoder Using CCL with TCA and TCB
    AN2434 Interfacing Quadrature Encoder using CCL with TCA and TCB Features • Setup for decoding quadrature encoded incremental position data by utilizing core independent peripherals such as Configurable Custom Logic (CCL), Event System (EVSYS), 16-bit Timer/ Counter Type A (TCA), and 16-bit Timer/Counter Type B (TCB) • Up to 16-bit Resolution • Device Independent • Minimal RAM Usage • Minimal Core Usage Introduction Incremental quadrature encoders are used in a great number of applications across many disciplines as they provide a low-cost way of measuring motion in systems with moving parts. Some typical examples include measuring the position of a physical control wheel or measuring the rotor angle and velocity in an electrical motor. Some AVR® microcontrollers, like the AVR XMEGA®-E5, include dedicated quadrature decoding functionality, but the decoding can also be accomplished by utilizing some of the core independent peripherals available on smaller, less feature rich controllers. This application note describes how to decode and keep track of quadrature encoded signals from an incremental position sensor using an AVR by combining Configurable Custom Logic (CCL), Event System (EVSYS), 16-bit Timer/Counter Type A (TCA), and 16-bit Timer/Counter Type B (TCB). The described setup uses eight I/O pins. If implemented on an ATtiny1617 using the code provided with this application note, the device can decode quadrature pulses with a frequency of up to 2.5 MHz. © 2017 Microchip Technology Inc. Application Note DS00002434A-page 1 AN2434 Table
    [Show full text]
  • Optimization of a Multi-Aixs Electro-Mechanical Scanning System. Raul Urbina
    The University of Maine DigitalCommons@UMaine Electronic Theses and Dissertations Fogler Library 2001 Optimization of a Multi-Aixs Electro-Mechanical Scanning System. Raul Urbina Follow this and additional works at: http://digitalcommons.library.umaine.edu/etd Part of the Mechanical Engineering Commons Recommended Citation Urbina, Raul, "Optimization of a Multi-Aixs Electro-Mechanical Scanning System." (2001). Electronic Theses and Dissertations. 312. http://digitalcommons.library.umaine.edu/etd/312 This Open-Access Thesis is brought to you for free and open access by DigitalCommons@UMaine. It has been accepted for inclusion in Electronic Theses and Dissertations by an authorized administrator of DigitalCommons@UMaine. OPTIMIZATION OF A MULTI-AXIS ELECTRO- MECHANICAL SCANNING SYSTEM BY Raul Urbina B.S. Universidad Panamericana, Mexico, 1997 A THESIS Submitted in Partial Fulfillment of the Requirements for the Degree of Master of Science (in Mechanical Engineering) The Graduate School The University of Maine May, 2001 Advisory Committee: Michael Peterson, Assistant Professor of Mechanical Engineering, Advisor Donald A. Grant, Associate Professor of Mechanical Engineering Vincent Caccese, Associate Professor of Mechanical Engineering LIBRARY RIGHTS STATEMENT In presenting this thesis in partial fblfillment of the requirements for an advanced degree at The University of Maine, I agree that the Library shall make it freely available for inspection. I further agree permission for "fair use" copying of this thesis for scholarly purposes may be granted to the Librarian. It is understood that any copying or publication of this thesis for financial gain shall not be allowed without my written permission. Signatur OPTIMIZATION OF A MULTI-AXIS ELECTRO- MECHANICAL SCANNING SYSTEM By Raul Urbina Thesis Advisor: Dr.
    [Show full text]
  • TI Designs LDC0851 Incremental Rotary Encoder
    TI Designs LDC0851 Incremental Rotary Encoder Design Overview Design Features An inductive sensing based incremental encoder Contactless, high reliability incremental knob design can provide a robust and low-cost position knob using LDC technology interface for control inputs. It can reliably No calibration required operate in environments which have dirt, Power consumption of <6mA (excluding moisture, oil or varying temperatures which MCU & LED indicators) would pose issues for alternate sensing Sensor and knob can be placed remotely with technologies. This solution requires no magnets. respect to LDC0851 device 32 steps/rotation o design can scale to support multiples of 4 positions Design Resources Rotation Speed Measurement of >2000 RPM TIDA-00828 Design Folder External magnets will not affect functionality LDC0851 Product Folder Minimal MCU memory and instructions: MSP430F5500 Product Folder o 1 byte of RAM LP5951 Product Folder o 208 bytes of ROM/Flash TPD2E001 Product Folder s Featured Applications Ask The Analog Experts Automotive Center Control Panels WEBENCH® Design Center Rolling jog wheels Appliance interfaces, including cooktops and cleaning appliances Home audio and consumer electronics Industrial System control Block Diagram µUSB 5V LP5951 5Và3.3V LDO 3.3V Differential LDC Core LDC0851 LSENSE Inductance 3.3V Converter VDD Sensor A + OUT LCOM Ref Sensor A Inductance - LREF Converter MSP430F5500 Differential 3.3V LDC Core LDC0851 MCU LSENSE Inductance Converter Sensor B + OUT LCOM 24MHz 7 Segment 32 Position Ref Sensor B Inductance - Displays Encoder Target LREF Converter TIDUBG5 – January 2016 LDC0851 Incremental Rotary Encoder 1 Copyright © 2016, Texas Instruments Incorporated www.ti.com Table of Contents 1 Key System Specifications ......................................................................................................
    [Show full text]
  • Design and Optimization of a Signal Converter for Incremental Encoders
    DEGREE PROJECT IN MECHANICAL ENGINEERING, SECOND CYCLE, 30 CREDITS STOCKHOLM, SWEDEN 2016 Design and optimization of a signal converter for incremental encoders A study about maximizing the boundary limits of quadrature pulse conversion ANTON DAHLQVIST VICTOR KARLSSON KTH ROYAL INSTITUTE OF TECHNOLOGY SCHOOL OF INDUSTRIAL ENGINEERING AND MANAGEMENT Design and optimization of a signal converter for incremental encoders A study about maximizing the boundary limits of quadrature pulse conversion Anton Dahlqvist Victor Karlsson Master of Science Thesis MMK 2016:95 MDA 554 Supervisor at KTH: Mikael Hellgren Examiner: Hans Johansson KTH Industrial Engineering and Management Department of Machine Design SE-100 44 STOCKHOLM . Examensarbete MMK 2016:95 MDA 554 Design and optimization of a signal converter for incremental encoders Anton Dahlqvist & Victor Karlsson Approved: Examiner: Supervisor: 2016-06-15 Hans Johansson Mikael Hellgren Commisioner: Contact Person: Bosch Rexroth Arne Bystr¨om . Abstract . This project was carried out during spring 2016 in collaboration with BOSCH Rexroth, Mellansel, and aimed to investigate the possibility of implementing a converter with the ability to scale incremental pulse resolution and also convert the velocity to a 4-20mA current loop reference. An investigation on how a fault tolerance mechanism could be implemented to increase the dependability of the encoder was done and the out-coming results were implemented. The software and hardware were revised and optimized to facilitate a future encapsulation, and still keep the converter reprogrammable. A background study was performed during 8 continuous weeks to acquire enough knowledge about possible conversion techniques, to finally derive these down to two for further testing. The final conversion algorithms were multiplication and extrapolation techniques, which would be utilized to scale the pulse signal.
    [Show full text]