EPC-1000 Embedded PC Controller

Similar documents
Industrial PC for real-time rapid prototyping KEY FEATURES

Chapter 6 Cubix SP1 Blade Server

ZCRMZNICE01ZEMG Crimzon In-Circuit Emulator

ARL 945/ ARL945-B User Reference Manual

BIPAC-6500 / 6500W (Wireless) Broadband VPN Firewall Router with 4-port 10/100M Switch Quick Start Guide

BiPAC 6404VP/VGP. VoIP/(802.11g) Broadband Firewall Router. Quick Start Guide

BIPAC Broadband Firewall Router. Quick Start Guide

ARL992/ ARL992-B User Reference Manual

ARL 970/ ARL970-B User Reference Manual

BiPAC 8501/8521. SHDSL.bis (VPN) Firewall Bridge/Router. Quick Start Guide

CPC501. Best solutions to fit your demands! 6U CompactPCI Pentium M SBC.

Access Control System

ez80190 Development Kit Quick Start Guide

BiPAC 5200 Series. (802.11g) ADSL2+ Modem/Router. Quick Start Guide

TRENDnet TU-ET10. Universal Serial Bus. Ethernet Adapter

BiPAC 7402R2. ADSL2+ VPN Firewall Router. Quick Start Guide

Celeron EPIC Computer with GUI and Dual Ethernet SBC4685

ARP 945 User Reference Manual

BIPAC-5100 / 5100W (Wireless) ADSL Router

ipanel CONTROL TECHNOLOGY CORPORATION ipanel Installation Guide and Specifications ipanel Installation Guide

LPC-08 Series. Quick Reference Guide. 8 Multi-functional Touch Panel PC. Copyright Notice. 2 nd Ed May 2010

PCM-4153-A2 PC/104+ SBC w/amd LX800, VGA, LCD, Dual LAN, USB 2.0, On-board Flash and Memory Startup Manual

PCM-9342 EVA-X SBC with PC/104, VGA/ TTL/LVDS Ethernet/USB 2.0 and SSD Startup Manual

ARP992/ ARP992-B User Reference Manual

Specifications for the Gateway 400SD4 Notebook

First Steps. DNP/SK18 Embedded Linux Starter Kit

User's Manual. Version 1.0

BiPAC 7300(G) (802.11g) ADSL2+ Router. Quick Start Guide

8806 Series. 15 Multi-functional Touch Panel PC. Quick Reference Guide

General Embedded Machine Engine (GEME)

About the Presentations

The ROBO-8710VLA package should cover the following basic items

Prime News. Product News. Anouncement

ROBO-603. User's Manual

Bose ControlSpace Designer Software. User Guide

PB600/H1 BASIC SYSTEM

User s Manual ADSL Router Modem DB Ethernet Ports

0B specifications 1B

CISCO MEDIA CONVERGENCE SERVER 7815-I1

Computers Are Your Future

PCM-4381 Intel Pentium M EPIC SBC with VGA/2 LVDS/ 2 Ethernet/ 4 COM/ 2 SATA/6 USB 2.0/ 16 bit GPIO

LV-651 Test Report. Edition /09/26

Specifications for the Gateway M350 Notebook

BiPAC 7300VP/ 7300VGP

Quick Start Guide. Cole-Parmer USB-based Data Acquisition Software

Conettix ITS-D6686-INTL

MMX Enhanced. 586 GXM-AV Main Board. Trademarks and / or Registered trademarks are the properties of their respective owners.

MB/ Starter Kit: First Steps

Conettix ITS-D6686-UL PRELIMINARY. Installation Guide. Ethernet Network Adapter

Conettix ITS-D6686-UL

Installation and Configuration Guide

Installation Manual of DS-9600NI-H8 DS-9600NI-H8. Installation Manual UD.7L0202A1730B01

Technical Specifications: Dell OptiPlex GX150 System

BiPAC 8200M. BiPAC 8200N

FPC 08W Series. 8 Widescreen Multi-functional Touch Panel PC. Quick Reference Guide. 2 nd Ed 28 June, 2010

Part # Quick-Start Guide. SpeedStream 4200 Modem PPPoE Modem Router

PXA270 EPIC Computer with Power Over Ethernet & Six Serial Protocols SBC4670

Diamond Systems Hercules II Single Board Computer FastStart Guide

WS600/H1 BASIC SYSTEM

READ ME FIRST Windows 95/98/Me/2000

USER S MANUAL. PH232Ex1. #1 RS-232 Serial Port to Ethernet, Terminal Server/Client. Doc No: PH232Ex1-UM-001 IPEX. (IP Electronix)

PRODUCT SPECIFICATION

PFM-LNP. PC/104 Modules. Features. Specifications. Packing List. PC/104 Module With Intel Atom N450 Processor Intel Atom N450 1.

Cisco MCS 7825-I1 Unified CallManager Appliance

VocalLink is a trademark of Tektronix, Inc

CISCO MEDIA CONVERGENCE SERVER 7825-I1

USB-L111. USB-L111 User Manual TPM. Version: V M05. To properly use the product, read this manual thoroughly is necessary.

EPIC board ensures reliability in the toughest environment

PCM-9584 Onboard Intel Pentium M EBX SBC with Audio, VGA 2LVDS and LAN

INDUSTRIAL PC MOUNTED IN PANEL

Conettix ITS-D6682-INTL

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6EX 1.1. PREFACE KEY FEATURES PERFORMANCE LIST...

Index. 1. Function test Compatibility test Environmental test Reliability Test Index...1

3.1 I-7560 Pin Assignment and Specifications: Introduction

Computer Specifications. Controllers. Interfaces. CPU and Memory. Epson EL 486UC. Diskette

Neighborhood HiSpeed Quick Start Guide

BiPAC 7404V Series. VoIP/ (802.11g) ADSL2+ (VPN) Firewall Router. Quick Start Guide

fit-pc Intense 2 Overview

RS-200-RPS-E 2U Rackmount System with Dual Intel

READ ME FIRST. Windows NT. *DSL Equipment Installation Guide: Efficient Networks 5260

Windows-Based Terminal. TK-3550 H.W. Manual

Gigabit Network Card user manual Model

Sauter Systems

PowerBrick-CV User s Manual Edition 2.0

Lab Determining Data Storage Capacity

High performance ISA solution with new AMD Geode GX2 processor, on board DDR memory and SATA RAID turn key solution.

2 Mega-Pixel H.264 Box IP Camera ICA-HM125. Quick Installation Guide. Version 1.0

Orbit USB Interface Module. User Manual

Hi-Phone DeskTop H/W User Manual

XE 900: Fastest EPIC board now available with Windows XPe

PANEL-MOUNTED INDUSTRIAL PC. ports (Ethernet, USB, serials, parallel, peripherals commonly utilized in the industrial

PCM-9588 Intel Celeron M EBX SBC with DVI/ TTL/ VGA/ LVDS/ LAN/ 6 COM/ 2 SATA/ 6 USB2.0/16-bit GPIO Startup Manual

D E C E M B E R

Pre-Installation Information--S8700 IP Connect

Intel Server RAID Controller U2-1 Integration Guide For Microsoft* Windows NT* 4.0

GS-SR104 Rack Mount Server System Installation Guide

1. Jumpers Location Diagram for "A47 ver 3.X" Main Board

Installation Manual of DS-7600NI-H2/P Series. DS-7600NI-H2/P Series. Installation Manual UD.7L0202D1761B01

Cisco MCS 7815-I2. Serviceable SATA Disk Drives

STOP! Read these instructions before connecting the PR3 to your Computer

Transcription:

EPC-1000 Embedded PC Controller User Manual Servo Tech Inc 1747 W. Roosevelt Rd. Suite 110 Ph: (312) 355-4853 Fax: (312) 355-2021 Chicago, IL 60608 www.servotechinc.com

TABLE OF CONTENTS 1. About Your EPC-1000....3 1.1. Equipment.3 1.2. Technical Specifications...4 1.3. Connection Ports and Cables 5 2. Installing Your EPC-1000......6 2.1. Introduction..6 2.2. Hardware Requirements...7 2.3 Software Requirements.7 3. Using Your EPC-1000....8 3.1. Communication with Host PC.8 3.2. Setup...8 3.3. System Test..9 3.4. Creating an Executable Target/EPC Application...10 4. Examples....12 4.1. Application Using Two EPC-1000s with CAN Bus Card...12 4.2. Application Using EPC-1000 with CAN Bus Card and Cat ABL Box..13 4.3. Analog and Digital I/O Application Using Diamond (DMM 32 AT) Card.15 5. Contact Information...17 2

1. ABOUT YOUR EPC-1000 1.1. Included Equipment -EPC Main Unit -Cigarette Lighter Plug for 12VDC -AC Adapter for 110VAC 3

1.2. Technical Specifications Power Input Dimensions CPU Solid State Disk RAM BIOS Serial Port Ethernet Interface CAN Bus *Digital I/O Option OS Operating Temperature Operating Humidity 12VDC (110VAC Adapter included) 2.0/5.5 mm Circular power jack 5.5 X 5.5 X 6.25 inches On-board NS GX1-300 processor / Embedded low power NS Geode GX1-300 MHz processor (Different cpu boards available.) 64 MB Compact Flash (Different sizes available) 64 Mbytes SDRAM (Upgradeable to 128 MB) AWARD 256 KB Flash memory One RS-232 Intel 82559 chipset 10/100 Mbps RJ45 standard connector CAN-AC2-104 from Softing Two D-Sub 9 pin connectors 10.1000 kbit/s transfer rate Diamond DMM-32-AT PC Dos 7 (Different OS Available) -40 to 85 Celsius 0% to 90% relative humidity, noncondensing *Additional PC/104 cards including Analog and Digital I/O can be added into EPC- 1000. Please contact us for your requests and available options. Different connector options are available. Ask us about rugged military version. 4

1.3. Connection Ports and Cables Industrial Connectors Military Connector Options Power Connector: Cable: 2.0/5.5mm jack, Military Bayonet 3p Cigarette Lighter Plug for 12VDC (incl.) AC Adapter for 110VAC (incl.) Ethernet Connector: Cable: RJ45 Crossover between 2 PCs UTP Network between PC and LAN RS232 1 2 3 4 5 6 7 8 9 Connector: D-Sub 9p, Military Bayonet 10p Pin Lay Out: 1 Data Carrier Detect -A 2 Receive Data -B 3 Transmit Data -C 4 Data Terminal Ready -D 5 Ground -E 6 Data Set Ready -F 7 Request To Send -G 8 Clear To Send -H 9 Ring Indicator -J 1 2 3 4 5 CAN Connector: D-Sub 9p, Military Bayonet 10p 6 7 8 9 Pin Lay Out: 2 CAN_Low -B 5 CAN_Shield -E 7 CAN_High -G

2. INSTALLING YOUR EPC-1000 2.1. Introduction EPC is a convenient device for Embedded Control Development System. It has GX1-300 MHz onboard processor with low power, fanless performance. The stable Geode processor with onchip PCI VGA and Intel I82559ER high performance Ethernet chip provide power and functionality. EPC also has a stacked CAN bus board with two CAN cards. It has the provision for stacking additional I/O boards, which greatly enhances the range of real-time applications. The EPC is a solution for prototyping, testing, and deploying real-time systems using standard PC hardware. It is an environment that uses an EPC, a host PC and a CAN bus for running real-time applications. A Typical fully operational EPC set up looks like below. It has an EPC with or without a Host computer and a CAN Bus. Additional I/O boards can be stacked for customizing the EPC for your local needs. EPC is compatible with XPC Target software from Matlab. Matlab requires a valid user license. Figure shows a Hardware setup for Embedded Control Development System Laptop PC Embedded PC +Control Logic Software download, monitor, debug. RS-232/USB/Ethernet (Development ECM Programming Cable ECM I/O Mapping CAN Bus (Real time control)

In this configuration, Electronic Control Module (ECM) acts as I/O mapping device between I/O signals and CAN bus. EPC reads input signals from CAN bus, executes the control logic and writes the output onto the CAN bus. 2.2. Hardware Requirements Host PC can be a notebook or desktop computer. The following table lists the minimum resources required on the host PC: Hardware CPU Peripherals RAM Description Pentium, Athlon or later Hard disk drive with 60 Mbytes of free space One 3.5-inch floppy disk drive CD-ROM drive 128 Mbytes or more Communication One free serial port (COM1 or COM2) with a 9-pin serial cable or an Ethernet card with a cross over cable 2.3. Software Requirements The following table lists the minimum software required on your host PC : Software Description Operating system Microsoft Windows XP (SP1) or Windows 2000 MATLAB Simulink Real-Time Workshop Stateflow (optional) State Flow Coder (optional) xpc Target xpc Target Embedded (optional) C language compiler Version 6.5.1.199709 (R13) Service Pack 1 Version 5.1(R13SP1) Version 5.1(R13SP1) Version 5.1.1(R13SP1) Version 5.1.1(R13SP1) Version 2.0.1(R13SP1) Version 2.0.1(R13SP1) Microsoft Visual C/C++ version 5.0 or higher 7

3. USING YOUR EPC-1000 3.1. Host PC Communication RS-232 communication uses a null modem cable and COM ports of the host and target PCs. For TCP/IP communication, you must have a network adapter card correctly installed on the host PC (EPC already has an onboard Ethernet adapter). Connect the host and target computers with an unshielded twisted pair (UTP) cable to your local area network (LAN). You can directly connect host and target PCs with a crossover cable. 3.2. Setup EPC is set up for Dosloader mode by default. At the Matlab command prompt, type >> xpcsetup Then in EPC setup window as shown below, make the following selection: CCompiler: VisualC CompilerPath: C:\Program Files\Microsoft Visual Studio CANLibrary: PC104 Target scope: Enabled xpc target embedded option: Dosloader For RS232, Select: HostTarget com: RS232 RS232HostPort: COM1/COM2 (Pick default values) RS232Baudrate: 115200 (Pick default values) The recommended I/O base address for the CAN bus is 0X240. For RS232 only For TCP/IP communication only 8

Then, click the Update button to update system environment and the boot floppy button in order to create the appropriate boot floppy disk. 3.3. System Test In the MATLAB command prompt, type >> xpctest MATLAB runs the test script and displays messages indicating the success or failure of a test. If you use RS232 communication, the first test is skipped. >>### xpc Target Test Suite 2.0.1 >>### Host-Target interface is: TCP/IP (Ethernet) >>### Test 1, Ping target system using standard ping:... OK >>### Test 2, Ping target system using xpctargetping:... OK >>### Test 3, Reboot target using direct call:... OK >>### Test 4, Build and download xpc Target application:... OK >>### Test 5, Check host-target communication for commands:.. OK >>### Test 6, Download xpc Target application using OOP:... OK >>### Test 7, Execute xpc Target application for 0.2s:... OK >>### Test 8, Upload logged data and compare with simulation:. OK >>### Test Suite successfully finished Ping Target System xpc Target Ping test: This test is an xpc Target ping to your target computer. If this test fails, try troubleshooting with the following procedure: At the MATLAB Command prompt, type: >>tg = xpc Check the messages in the MATLAB window. MATLAB should respond with the following message. xpc Object Connected Application Mode Status CPUoverload = Yes = xpcosc = Real-Time Single-Tasking = stopped = none At the Matlab command prompt, type: >> Xpctargetping Matlab displays the following message ans = success If the connection is resumed (Connected = Yes), then the connection is all right. If the connection is timing out consistently for a particular model, then the time out needs to be increased. If all of the tests were successful, you are ready to build and download a target application to the EPC. 3.4. Creating an Executable Target/EPC Application 9

Host-Target Communication: Typical steps involved in developing xpc code are as follows: 1. Download a target application from the host PC to the EPC computer. 2. Control -- Change properties and control the target application. This includes starting and stopping the target application, changing sample and stop times, and getting information about the performance of the target application through the communication link between host PC and EPC. 3. Parameter values -- Download parameter values to the EPC computer between runs or during a run. 4. Signal data Save real time signal data and upload signal data from EPC to host PC for analysis after the target application is finished running, or view signal data during the run. Creating a real time target application for a loopback or signal acquisition test: 1. Before starting any model, in xpcsetup window, select the appropriate mode for the xpc target embedded option, the type of host target connection and its related properties. Click the update and boot floppy buttons. 2. Create a simple model in Simulink, like a second order system with a Sin wave input. Add blocks like gain and Mux from Simulink, and CAN bus blocks (setup, send and receiver) from xpc Target. Then set the properties for these selected blocks. 3. Enter and select parameters in the Simulation Parameters dialog box. 4. Add an xpc Target Scope block to visualize signals while running the target application, you can add as many target scopes as you want in order to monitor various signals on your target PC. 5. Enter scope parameters in the Block Parameters dialog box before building the target application. 6. At this stage, you can include any custom C code files and any xpc target drivers for your PC/104 interfaces into your model. 7. From Real Time workshop tab, pick xpc target for target configuration and select all necessary options. Click the Build button. This will create and download the target application on to your EPC. Figure shows a Simulink model for a loopback test on EPC with CAN bus After the compiling, linking, and downloading process, a target object is created in your MATLAB workspace. Now you can start, running and controlling the model to check Signal Acquisition. 10

11

4. EXAMPLES 4.1. Can Bus Application Using Two EPC-1000s Software and Hardware: The same hardware and software as in chapter 3 is used in this section. 1. Connect the hardware between the host PC and the two EPC s using TCP/IP or RS232 communication. 2. Now connect the CAN ports/cards using a gender changer or null modem cable accordingly as shown below. 3. Use two different base addresses for each of the CAN buses (pick values of 0X240 and 0X300 ). 4. Build and download a target application model1 on EPC1 and model2 on EPC2. 5. Using the host PC, run the target application on each EPC and then monitor the output. 6. Time lag or synchronization is not an issue between the two EPC s, when dealing with the CAN signals. The following is the hardware setup for a loop back test. Host Computer EPC1 RS232 / TCP/IP EPC2 CAN BUS (CAN-AC2-104) CAN-1 CAN-2 CAN-1 CAN-2 CAN BUS (CAN-AC2-104) Figure 1 shows CAN Bus application using Two EPC s with CAN Bus card 12

model1 model2 Figure 2 shows Simulink model1 and model2 for a loopback test using two xpc s with CAN bus 4.2. Can Bus Application Using EPC-1000 and CAT ABL Box Software: In addition to the above-mentioned software tools, we also need Cat_utilites toolboxes in order to run the ABL Box. RPAC (Rapid Prototyping for Automatic Controls) is a Matlab / Simulink library to support ABL2CS in this configuration. The following table lists the I/O hardware boards : Hardware CAN BUS ABL Box Description CAN AC2 104 from Softing ABL2CS V3 from Caterpillar PIN selection on ABL Box : 1. CAN_L(J1-6) 2. CAN_H(J1-18) 3. CAN_S(J1-19) 4. INPUT TO ABL/SWITCH6(J1-45) 5. INPUT TO ABL/SWITCH6(J2-56) 8. OUTPUT FROM ABL to bulb connector(+)(j2-64) 9. OUTPUT FROM ABL to bulb connector(-)(j2-52) 10. POWER TO ABL(+)(J2-70) 11. POWER TO ABL(-)(J2-69) 12. key switch for ABL Box (JI-58) 13

EPC Power Converter Switch RS232 Host Computer CAN-2 CAN BUS CAN-AC2-104 CAN-1 Multimeter ABL Box Testing Lamp Figure 1 shows the hardware setup for ABL2CS V3 I/O s Figure 2 shows pin and circuit connections of ABL Box PWM driver outputs 1. This test model has an on/off switch, multimeter and a lamp to test the various I/O s. Complete the hardware setup and pin/circuit connections as shown above. 14

2. Set the I/O base address for the CAN bus as 0X240, when using EPC with ABL box and never change it. 3. Using RPAC toolbox, select RPAC_Config and RPAC_ReadWrite_IO blocks then complete I/O connections as shown below. 4. Add a gain block and a program with stateflow logic to turn switch on/off. 5. Build and download the target application on to your EPC using Real Time Workshop. 6. Run the target application by using host PC and monitor the outputs. Figure 3 shows Simulink model using EPC with CAN bus and ABL2CS V3 I/O s 4.3. Analog and Digital I/O Application 3. Analog and Digital I/O application using Diamond (DMM 32 AT) card : Software: Here we use the same software tools. Use the following paths to get into the Diamond board blocks, Matlab / Simulink / xpc Target / A/D / Diamond / MM-32 // Analog Input Matlab / Simulink / xpc Target / D/A / Diamond / MM-32 // Analog Output Matlab / Simulink / xpc Target / Digital Input / Diamond / MM-32 // Digital Input Matlab / Simulink / xpc Target / Digital Output / Diamond / MM-32 // Digital Output The following table lists the additional hardware required for this application: Hardware Analog I/O Digital I/O Oscilloscope Description DMM 32 AT from Diamond systems (Optional on EPC- 1000) 2201 Analog / Digital storage oscilloscope from Tektronix 15

Oscilloscope EPC Digital I/O RS232 DMM-32-AT Host Computer Analog I/O Oscilloscope Figure 1 shows hardware setup for Diamond(DMM-32-AT) board I/O s 1. Connect the Laptop to the EPC using RS232 / TCP/IP communication and hook up the Diamond board with the Oscilloscopes in order to complete hardware setup. 2. For real time implementations, remove all input and output components(function generator, Display, Scope, etc.) for the purpose of debug and analysis. 3. Provide I/O to Simulink blocks using Input and Output which will be connected to Diamond (DMM-AT-32) board. 4. Build and download the target application using the above Diamond blocks. 5. Run and monitor the model. 16

5. CONTACT INFORMATION For any questions, please contact us. Address: Servo Tech Inc 1747 W. Roosevelt Rd, Suite # 110 Chicago, IL, 60608 Phone: (312) 355-4853 Fax: (312) 355-2021 Web: www.servotechinc.com 17