Delta Electronics orporated PH8 P User Manual

DNI Smart Grid Data Collector
SGDC-D22 User Manual
Rev. 1.9 2017/01/19
Notice:
1. Delta Networks Inc. reserves the right to change specifications detailed in this document at any time without notice, and assumes no
responsibility for any errors within this document.
2. This document contains proprietary technical information in which is the property of the Delta Networks Inc. and shall not be disclosed
to others in whole or in part, reproduced, copied, or used as the basis for design, manufacturing, or sale of apparatus without written permission of Delta Networks Inc.
Doc #: 1ANSU-160004
Table of Contents
1. Introduction ............................................................................................................................................................ 1
1.1. GENERAL DESCRIPTION ................................................................................................................................................... 1
1.2. TARGET APPLICATIONS .................................................................................................................................................... 1
1.3. PRODUCT INFORMATION .................................................................................................................................................. 1
1.4. REGULATION DECLARATION ............................................................................................................................................. 2
2. Platform Description ............................................................................................................................................... 3
2.1. HARDWARE INFORMATION ............................................................................................................................................... 3
2.2. SOFTWARE INFORMATION ................................................................................................................................................ 5
3. Tool Chain Installation ............................................................................................................................................ 7
3.1. ENVIRONMENT................................................................................................................................................................. 7
3.2. INSTALLING STLINUX ON UBUNTU .................................................................................................................................. 7
3.3. ADD TOOL CHAIN PATH ................................................................................................................................................... 8
4. Getting Started ........................................................................................................................................................ 9
4.1. CONNECT TO PC .............................................................................................................................................................. 9
4.2. SIM CARD AND SD CARD INSTALLATION .......................................................................................................................11
4.3. LOGIN DATA COLLECTOR ............................................................................................................................................... 12
5. The First Program ................................................................................................................................................. 14
5.1. COMPILE HELLOWORLD.C .............................................................................................................................................. 14
5.2. SEND FILES TO DATA COLLECTOR .................................................................................................................................. 14
5.3. EXECUTE PROGRAM AT DATA COLLECTOR ..................................................................................................................... 14
6. Communication Settings ........................................................................................................................................ 15
6.1. STATIC IP ON ETH0 ......................................................................................................................................................... 15
6.2. DHCPD AND DHCP CLIENT ......................................................................................................................................... 15
6.3. 3G ................................................................................................................................................................................. 16
6.4. PPPOE OVER ETH0 ......................................................................................................................................................... 17
7. Daemons & Utilities............................................................................................................................................... 20
7.1. RAMDISK ....................................................................................................................................................................... 20
7.2. NFS (NETWORK FILE SYSTEM) ..................................................................................................................................... 21
7.3. TELNET & SSH SERVICE ................................................................................................................................................ 22
DNI SGDC-D22 User Manual
Doc #: 1ANSU-160004
7.4. FTP & SCP .................................................................................................................................................................... 24
7.5. HTTP ............................................................................................................................................................................ 25
7.6. NTP & RTC ................................................................................................................................................................... 27
7.7. SSL ............................................................................................................................................................................... 28
7.8. SENDMAIL VIA SMTP .................................................................................................................................................... 29
8. I/O Control ............................................................................................................................................................ 30
8.1. DATA COLLECTOR ID ................................ ................................................................................................ ..................... 30
8.2. SYSTEM READY LED ..................................................................................................................................................... 30
8.3. BUZZER ......................................................................................................................................................................... 30
8.4. RESET BUTTON .............................................................................................................................................................. 30
8.5. RS-232 & RS-485 ......................................................................................................................................................... 30
8.6. SD CARD ....................................................................................................................................................................... 31
8.7. COMBINE WDT INTO YOUR PROGRAM .......................................................................................................................... 31
9. Linux Kernel Upgrade & Backup .......................................................................................................................... 33
10. Reference .............................................................................................................................................................. 35
DNI SGDC-D22 User Manual
Revision History
Version
Date
Author
Description
1.0
2012/5/9
DNI SG Team
Initial Release.
1.1
2012/5/23
DNI SG Team
Add Linux Kernel Upgrade & Backup section.
1.2
2012/6/4
DNI SG Team
Add & modify sections below
- Communication Settings
- Daemons & Utilities
- I/O Control
1.3
2012/10/12
DNI SG Team
Modify some configurations.
1.4
2013/11/29
DNI SG Team
Add SIM & SD card installation.
1.5
2014/4/29
DNI SG Team
Add ZigBee feature for SGDC-D23.
1.6
2014/11/4
DNI SG Team
Add SGDC-D24.
1.7
2016/9/2
Jacky Lai
Update to standard format Remove 2G(GPRS) for certification
1.8
2017/1/5
Jacky Lai
Added FCC description in 1.4
1.9
2017/1/19
Jacky Lai
Added RF Exposure, 2.1091description in 1.4
Doc #: 1ANSU-160004
DNI SGDC-D22 User Manual
Doc #: 1ANSU-160004
Model Name
Description
SGDC-D22
Data collector with 3G communication board.
1. Introduction
1.1. General Description
DNI data collector SGDC-D22 is a 3G version ARM9 based embedded system with 3G for WAN communication and Ethernet port, RS-232 and RS-422/485 interfaces for LAN communication as well to collect data from devices via LAN communication and forward to data center via WAN communication. The communication capability can fulfill the requirements in smart metering and distributed energy monitoring applications as well as the sensor network and internet of things applications.
1.2. Target Applications
DNI data collector is an embedded system designed for smart grid applications as well as the IoT related applications.
1.3. Product Information
Figure 1, DNI data collector applications.
DNI SGDC-D22 User Manual
Doc #: 1ANSU-160004
1.4. Regulation declaration
The changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment. To comply with the FCC RF exposure compliance requirements, this device and its antenna must not be co-located or operating to conjunction with any other antenna or transmitter.
Note: This equipment has been tested and found to comply with the limits for a Class B Digital Device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instruction, may cause harmful interference to radio communication. However, there is no grantee that interference will not occur in a particular installation. If this equipment dose cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
--Reorient or relocate the receiving antenna.
--Increase the separation between the equipment and receiver.
--Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
--Consult the dealer or an experienced radio/TV technician for help.
This device should have at least 20 cm separation distance to persons.
DNI SGDC-D22 User Manual
2. Platform Description
Feature
Description
Main Board
With CPU, memory and major interfaces of data collector.
3G Daughter Board
With 3G module and LED indicators.
CPU
ST SPEAr 320S
Flash
32MB (16MB 2)
DDR-II
64MB
3G Module1
3G: (model name: SGDC-D22)
Five band: UMTS/HSPA+ 1900MHz HSPA 3GPP Release 6, 7 UMTS 3GPP release 4 Output power:
- Class 3 (+24dBm +1/-3dB) for UMTS 1900,WCDMA FDD BdII
2.1. Hardware Information
DNI data collector incorporates the following hardware components as shown in Figure 2.
Doc #: 1ANSU-160004
Figure 2, DNI data collector hardware components.
DNI SGDC-D22 User Manual
The interfaces of data collector are illustrated as following table.
Interface
Description
Note
Power
A 3-pin terminal block to connect 12-48VDC V+, V and GND.
Reset Button
Hardware reset button. Support back to factory default setting function.
Ethernet Port
RJ45 port for Ethernet connection.
Antenna
External antenna with SMA connector.
Console Port
Local port for direct connecting to concentrator (RJ45 connector).
Wall Mount
2 L shape parts for wall mount installation.
RS-232
Male DB9 connector for RS-232 connection.
PIN 2: RXD PIN 3: TXD PIN 5: GND
RS-422/485
Female DB9 connector for RS-422/485 connection. Support switching RS-485 or RS-422 modes by software.
Please find the pin define in separate table.
GPIO
2x5-pin digital I/O for applications.
PIN 1: GND PIN 2: GND PIN 3: DI3 PIN 4: DO3 PIN 5: DI2 PIN 6: DO2 PIN 7: DI1 PIN 8: DO1 PIN 9: DI0 PIN 10: DO0
Doc #: 1ANSU-160004
DNI SGDC-D22 User Manual
Interface
Description
Note
SIM Card &
SD Card Slots1
Serial Port
Device Name
Software
Switch Command
Hardware
PIN Definition
RS-485
(2-wire)
/dev/ttyM1
setport 1
PIN 1: GND PIN 2: DATA(A) PIN 3: DATA(B)+
RS-422
(4-wire)
/dev/ttyM1
setport 0
PIN 1: GND PIN 2: RX PIN 3: RX+ PIN 4: TX+ PIN 5: TX
Feature
Description
Note
Power
Power indicator
Turn on when power on.
Ready
Get the system ready information and turn on the ready LED when data collector connect to data center and get response from communication server.
Turn on when connect to data center.
RS-232
TxD × 1, RxD × 1
Blink when communication.
RS-485
TxD × 1, RxD × 1
Blink when communication.
3G
3G connection indicator.
Turn on when 3G connected.
3G
Signal Strength1
5 levels for ZigBee signal strength indicators.
LAN10 / LAN100
2 for 10/100Mbps speed indicators
Blink when communication.
Software Package
STLinux 2.3 or above
Operation System
Linux kernel 2.6.37 or above
RS-485 pin define:
Doc #: 1ANSU-160004
LED display:
2.2. Software Information
DNI SGDC-D22 User Manual
Doc #: 1ANSU-160004
Utilities
Busybox 1.19.3
File System type
Jffs2
Toolchain
Gcc v4.2.4, Glibc v2.6.1, GDB v6.3
DNI SGDC-D22 User Manual
3. Tool Chain Installation
3.1. Environment
Host OS: Ubuntu 10.04 STLinux image file: STLinux-2.3-spear-20091209.iso
http://ftp.stlinux.com/pub/stlinux/2.3/iso/
3.2. Installing STLinux on Ubuntu
Please refer to the installation guide at http://www.stlinux.com/faq?q=node/361.
Installation steps:
Make /bin/sh bash
Doc #: 1ANSU-160004
Installing RPM on Ubuntu
Populating the RPM databases with "Provides"
Download “STLinux_deps” rpm file at
http://www.stlinux.com/sites/default/files/stlinux23-host-STLinux_deps-0.1-5.i386.rpm then install it.
DNI SGDC-D22 User Manual
Install STLinux
Mount image file “STLinux-2.3-spear-20091209.iso” then install it.
After installation completed, STLinux package would be place at /opt/STM/STLinux-2.3/.
3.3. Add Tool Chain Path
Add tool chain path at ~/.bashrc then re-login.
Test tool chain
Doc #: 1ANSU-160004
DNI SGDC-D22 User Manual
Loading...
+ 27 hidden pages