1 INTRODUCTION 2 TESTING HARDWARE



Podobné dokumenty
USER'S MANUAL FAN MOTOR DRIVER FMD-02

Automatika na dávkování chemie automatic dosing

DC circuits with a single source

Introduction to MS Dynamics NAV


Přípravek pro demonstraci řízení pohonu MAXON prostřednictvím

The Over-Head Cam (OHC) Valve Train Computer Model

SenseLab. z / from CeMaS. Otevřené sledování senzorů, ovládání zařízení, nahrávání a přehrávání ve Vaší laboratoři

UPM3 Hybrid Návod na ovládání Čerpadlo UPM3 Hybrid 2-5 Instruction Manual UPM3 Hybrid Circulation Pump 6-9

Standard VGA (Video Graphics Array)

2N LiftIP. IO Extender. Communicator for Lifts. Version

USING VIDEO IN PRE-SET AND IN-SET TEACHER TRAINING

Co je uvnitř - senzory a přístrojová technika v NXT robotech. Pavel Ripka katedra měření ČVUT

2N Voice Alarm Station

Gymnázium, Brno, Slovanské nám. 7 WORKBOOK. Mathematics. Teacher: Student:

Obrábění robotem se zpětnovazební tuhostí

Tento materiál byl vytvořen v rámci projektu Operačního programu Vzdělávání pro konkurenceschopnost.

CCD 90 MV Cameras (Firewire) CCD 90 MV Cameras (GigE) CCD 90 MV Cameras (USB 2.0)

Radiova meteoricka detekc nı stanice RMDS01A

GUIDELINES FOR CONNECTION TO FTP SERVER TO TRANSFER PRINTING DATA

USER'S MANUAL FAN MOTOR DRIVER FMD-01, FMD-03

Vliv metody vyšetřování tvaru brusného kotouče na výslednou přesnost obrobku

VYSOKÁ ŠKOLA HOTELOVÁ V PRAZE 8, SPOL. S R. O.

Střední průmyslová škola strojnická Olomouc, tř.17. listopadu 49

Uživatelská příručka. Xperia P TV Dock DK21

PC/104, PC/104-Plus. 196 ept GmbH I Tel. +49 (0) / I Fax +49 (0) / I I

User manual SŘHV Online WEB interface for CUSTOMERS June 2017 version 14 VÍTKOVICE STEEL, a.s. vitkovicesteel.com

Czech Republic. EDUCAnet. Střední odborná škola Pardubice, s.r.o.

Gymnázium a Střední odborná škola, Rokycany, Mládežníků 1115

Střední průmyslová škola strojnická Olomouc, tř.17. listopadu 49

Výuka odborného předmětu z elektrotechniky na SPŠ Strojní a Elektrotechnické

VY_32_INOVACE_06_Předpřítomný čas_03. Škola: Základní škola Slušovice, okres Zlín, příspěvková organizace

TELEGYNEKOLOGIE TELEGYNECOLOGY

TechoLED H A N D B O O K

Project Life-Cycle Data Management

Biosensors and Medical Devices Development at VSB Technical University of Ostrava

Transportation Problem

obal manuálu, asi něco podobného jako u LC 100 asi by to chtělo lepší obrázek!!! FYTOSCOPE FS130 Instruction Guide

POPIS TUN TAP. Vysvetlivky: Modre - překlad Cervene - nejasnosti Zelene -poznamky. (Chci si ujasnit o kterem bloku z toho schematu se mluvi.

Tabulka 1 Stav členské základny SK Praga Vysočany k roku 2015 Tabulka 2 Výše členských příspěvků v SK Praga Vysočany Tabulka 3 Přehled finanční

ATS01N232QN softstartér pro asynchonní motor - ATS01-32 A V - 15 kw

GENERAL INFORMATION RUČNÍ POHON MANUAL DRIVE MECHANISM

Připojení internetového modulu econet300 Do regulátoru ecomax 810P3-L TOUCH.

CHAPTER 5 MODIFIED MINKOWSKI FRACTAL ANTENNA

2. Entity, Architecture, Process

UŽIVATELSKÁ PŘÍRUČKA

Využití stavebnice Lego při výuce

DATA SHEET. BC516 PNP Darlington transistor. technický list DISCRETE SEMICONDUCTORS Apr 23. Product specification Supersedes data of 1997 Apr 16

Klepnutím lze upravit styl předlohy. Klepnutím lze upravit styl předlohy. nadpisů. nadpisů. Aleš Křupka.

Friction drives have constant or variable drives (it means variators). Friction drives are used for the transfer of smaller outputs.

2N LiftIP. Voice Alarm Station. Communicator for Lifts. Version

By David Cameron VE7LTD

SPECIFICATION FOR ALDER LED

Měřič výkonu 1μW - 1kW. Power Meter 1μW - 1kW

POLOHOVÁNÍ ULTRAZVUKOVÉHO SENZORU

ELEKTROMOTORY SÉRIE CHT CHT ELECTRIC MOTORS

Compression of a Dictionary

External ROM 128KB For Sinclair ZX Spectrum

CHAIN TRANSMISSIONS AND WHEELS

WYSIWYG EDITOR PRO XML FORM

Témata pro zpracování školních zkušebních úloh

Instalace Pokyny pro instalaci v operačním systému Windows XP / Vista / Win7 / Win8

Převod prostorových dat katastru nemovitostí do formátu shapefile

ŘÍZENÍ FYZIKÁLNÍHO PROCESU POČÍTAČEM

Next line show use of paragraf symbol. It should be kept with the following number. Jak může státní zástupce věc odložit zmiňuje 159a.

AS-i ifm electronic Radovan Řeháček AS-Interface

Úvod do datového a procesního modelování pomocí CASE Erwin a BPwin

Využití hybridní metody vícekriteriálního rozhodování za nejistoty. Michal Koláček, Markéta Matulová

Pokyny k použití. Model-300. Napájecí zdroj. Návod na obsluhu Operating Instructions. se systémem Aquacontrol Napájací zdroj

Hi-Res Audio/DNC Headset MDR-NC750

SIMATIC S7-1500(T) SIMOTION konfigurace systému Motion Control. Engineered with TIA Portal. Unrestricted Siemens AG 2017

WORKSHEET 1: LINEAR EQUATION 1

Seznam změn v manuálu

Návrh a implementace algoritmů pro adaptivní řízení průmyslových robotů

Comparation of mobile

Vzdálené řízení modelu připojeného k programovatelnému automatu

Litosil - application

PAINTING SCHEMES CATALOGUE 2012

II/2 Inovace a zkvalitnění výuky cizích jazyků na středních školách

ACOUSTIC EMISSION SIGNAL USED FOR EVALUATION OF FAILURES FROM SCRATCH INDENTATION

Uživatelská příručka. USB Charger UCH20

SIMULACE JEDNOFÁZOVÉHO MATICOVÉHO MĚNIČE

Moderní technologie dokončování velmi přesných děr vystržováním a její vliv na užitné vlastnosti výrobků


Právní formy podnikání v ČR

LOGBOOK. Blahopřejeme, našli jste to! Nezapomeňte. Prosím vyvarujte se downtrade

DC MOTOR Measurement Speed Control of Pulse Width Modulation (PWM)

Izolační manipulační tyče typ IMT IMT Type Insulated Handling Rod

NOVINKA. [Řada System 2] Dynamic Electronic Control

1, Žáci dostanou 5 klíčových slov a snaží se na jejich základě odhadnout, o čem bude následující cvičení.

Koncept stroje. Jak rozhýbat náčrtek stroje. unrestricted Siemens AG 2018

Klepnutím lze upravit styl předlohy. nadpisů. nadpisů.

topter AKTIVNÍ OCHRANA Leading Electrotechnology

Počítačová Podpora Studia. Přednáška 4. Nástroje pro vědecko-technické výpočty a zpracování dat. (v rámci PPS) PPS 2014

Výukový materiál v rámci projektu OPVK 1.5 Peníze středním školám

PRAVIDLA ZPRACOVÁNÍ STANDARDNÍCH ELEKTRONICKÝCH ZAHRANIČNÍCH PLATEBNÍCH PŘÍKAZŮ STANDARD ELECTRONIC FOREIGN PAYMENT ORDERS PROCESSING RULES

KUZMA. Zákaznický ceník platný od května 2014 včetně DPH 21% I.Tonearms

INFLUENCE OF CONSTRUCTION OF TRANSMISSION ON ECONOMIC PARAMETERS OF TRACTOR SET TRANSPORT

Číslo projektu: CZ.1.07/1.5.00/ Název projektu: Inovace a individualizace výuky

Fytomineral. Inovace Innovations. Energy News 04/2008

Transkript:

Sborník vědeckých prací Vysoké školy báňské - Technické univerzity Ostrava číslo 1, rok 2008, ročník LIV, řada strojní článek č. 1577 Jan BABJAK *, Petr NOVÁK ** MAXON DC MOTOR CONTROL BY MF624 I/O CARD ŘÍZENÍ DC MAXON MOTORU V/V KARTOU MF624 Abstract The article describes principles and shows examples of driving small Maxon DC motors using the multifunction I/O card MF624 from Humusoft. For speed control, one of Pulse-Width Modulation (PWM) unit installed on this card is used. Analog input and encoder input are used for measuring of motor speed and motor position. For educational and test purpose a small board connecting all parts (driving and measure motor, user inputs and outputs) to I/O card was developed and realized. For card control we use programming tools Visual Basic.NET and the Matlab software. Examples demonstrating the basic electric motor control and regulation task were developed for both of these software environments. Abstrakt Článek popisuje principy a příklady řízení malého stejnosměrného motoru Maxon za použití multifunkční vstupně výstupní (V/V) karty MF624 od společnosti Humusoft. Pro řízení rychlosti motoru je použit jedna z jednotek generující pulzně-šířkovou modulaci (PŠM), které jsou na kartě přítomny. Pro měření rychlosti je možno použít analogový signál generovaný druhým motorem ve funkci tachodynama ( měřicí motor ), nebo klasického enkodéru. Pro polohové řízení je dispozici již zmiňovaný rotační enkodéru. Pro výukové a testovací účely byl navržen a realizován malý modul, který spojuje všechny komponenty (hnací a měřící motor, uživatelské vstupy a výstupy) s V/V kartou. Pro ovládání karty používáme programovacího nástroje Visual Basic.NET a software Matlab. Pro ty to softwarová prostředí byly vytvořeny příklady demonstrující základní úlohy řízení a regulace elektromotorů. 1 INTRODUCTION Research on the Department of robotics at VŠB-TU Ostrava is focused on mobile robots. Basic elements of locomotion subsystem of any mobile robots are motors, especially DC electric motors. For correct work of mobile robots we must know how to control the speed and position of these motors. For driving of DC motors, PWM signals magnified by H-Bridge device are used. Speed of this motor can be measured by Incremental Rotary encoder (IRC) or by analog value of induced voltage. To compare differences between this ways of speed measure principles, we used pair of DC motors. One of these motors is powered and the other one serves only as a measuring device. To connect all of these signals to PC, we use a multifunction I/O card which offers an easy way to create programs to motor control and regulation. 2 TESTING HARDWARE For testing and measuring of DC motor characteristics we must be able to connect all the electronics signals to the control system for further processing. For these reasons we developed a small unit which allows to connect these signals to the multifunction I/O card for standard PC with PCI bus. To drive this measuring set, we use one DC motor connected by a clutch to another DC motor which serves as a measure. This measuring motor is equipped by an encoder whit 64 Counts-Per- * Ing. BABJAK Ján, Department of Robotics, Faculty of Mechanical Engineering, VŠB-Technical University of Ostrava, 17.listopadu 15, Ostrava-Poruba, tel. (+420) 59 6995757, jan@babjak.cz ** doc. Dr. Ing. NOVÁK Petr, Department of Robotics, Faculty of Mechanical Engineering, VŠB-Technical University of Ostrava, 17.listopadu 15, Ostrava-Poruba, tel. (+420) 59 6993595, petr.novak@vsb.cz 7

Revolution (CPR) used to exact position and speed measuring. In principle, every DC motor can by used as DC Tachometer which can provide analog information of its speed. This property is used to measure motor speed in another way which allows us to compare results of both of these measurement methods. Fig. 1 Block layout of the motor control testing device This configuration of testing hardware allows to realize various motor speed and position control task. The driving motor is powered by 12V power output directly from the I/O card. This is the reason why we need no external power source. The testing hardware is equipped with a simple user interface for basic motor control it provides two digital inputs (red and green button), two digital outputs (red and green LED) and one analog input (potentiometer) Fig. 2 Image of the measuring board 3 MEASURED TASKS The goal of this measuring is to get a comparison between the exact digital value of speed of the driven motor taken from IRC encoder and induced analog value from the DC tachometer. The result of this measuring is described on the following graph. The blue line represents the duty factor 8

of Pulse-Width Modulation. At the beginning of the measuring, it is set to zero and then it is increasing to 100% and back to zero again. Value from the encoder is shown as a red line and the analog value as a green line. 9000 8000 7000 6000 5000 4000 3000 2000 1000 0 0 500 1000 1500 2000 2500 Fig. 3 Comparison between IRC (red) and DC Tacho analog value (green), duty factor of PWM is blue (0 100%) From this measuring we can say that the information about speed of a DC motor taken from IRC is almost equivalent to the information taken from a DC tachometer. The reason of the difference between the red and green lines shown on the graph is only the different scale of the data. Another task which can be done with this hardware is measuring of electrical characteristics of any electric signal on board. For this task we need two-channel oscilloscope to show all the important signals. Typical signals are shown at the followed images. Fig. 4 PWM waveform 9

Fig. 5 IRC waveforms (channel A, channel B) Fig. 6 Waveform of a motor power feed We can see a waveform of PWM signal used to control speed motor (Fig. 4), two waveforms from channel A and channel B from incremental rotary encoder (Fig. 5) and a waveform directly from the power feed of the driving motor (Fig. 6). With the digital oscilloscope s measure function, we can verify all parameters of these signals. We can check frequency, duty of PWM and other electric parameters. Another example of use of this testing module is to realize a simple Device in the Loop architecture with Matlab Simulink environment and DC motors. Model of a regulator is realizing the P- Regulation function. Output of the regulator is connected to the driving DC motor and input of the regulator is acquired from DC tacho analog value. Matlab Simulink has no direct support for this multifunction I/O board so we have to use MATLAB function blockset to get direct access to the I/O ports of this card. On the next figure, we can see a simple DC motor speed regulation loop. The desired value of speed is taken from the analog value from a potentiometer installed on the user interface on this testing board. 10

Potentiometer (Desired value) Analog input (Actual Value) DC motor -> DC Tacho (Device In the Loop) Fig. 7 Model of the P-Regulator in Matlab Simulink environment Using Matlab or Matlab Simuling we can realize any type of regulator to control DC motor (for example motors on mobile robot). We can verify the behaviour of our regulator in a real case before we use this particular algorithm to make a program for microprocessor which can control DC motors without the PC and Matlab. We can also control this multifunctional I/O card and testing motors from Visual Basic.NET. A screenshot from the testing application developed at this environment is at fig. 8. Fig. 8 Control application written in Visual Basic.NET With this example application we can control speed of motors. We have the information about speed of a motor from the analog input (DC Tacho) and encoder. This information is presented on the analog panel meter. We also have access to the I/O user interface (LEDs and buttons). PI regulation was implemented in this application, too. We can switch modes of operation by radiobuttons at the Speed Control mode section. The application is designed for testing and educational purposes. 11

4 CONCLUSION With this testing board we can verify any small DC electromotor speed and position controlling algorithm before it will be implemented to an embedded control system (for example to microcontroller). This device is also useful to demonstrate the principles of DC motors control to students at laboratory lessons. REFERENCES [1] NOVÁK, P.: Mobilní roboty pohony, senzory, řízení. Nakladatelství BEN - technická literatura Praha, 250s, 2005. ISBN: 80-7300-141-1. [2] NOVÁK, P.: Mikropočítačové řídicí systémy. 1. vyd. Ostrava: VŠB, 2002. ISBN: 80-248- 0291-8. [3] BABJAK, J.: Řízení mobilního robotu neuronovou sítí, (Diploma thesis), Ostrava: katedra robototechniky, VŠB-TU Ostrava, 2006, 76 s. [4] ATMEL: Procesor ATMega8 Datasheet. Available: http://www.atmel.com/dyn/resources/prod_documents/doc2486.pdf [5] MAXON: On-line catalogue A-Max. Available: http://www.maxonmotor.com/a-max.asp [6] ST MICROELECTRONICS: L298 Dual Full-Bridge Driver Datasheet. Available: http://www.st.com/stonline/products/literature/ds/1773.pdf [7] manual MatLab-Simulink, [8] BALÁTĚ, J. Automatické řízení. Praha : Nakladatelství BEN, 2003, 663 s. ISBN 80-7300- 020-2. Reviewers: ing. Roman Dudek, ESP, Insisa, a.s., Ostrava ing. Marcel Boščík, ABB, Robotics Division, Ostrabva-Hrabová 12