Upload
gabriel-green
View
212
Download
0
Tags:
Embed Size (px)
Citation preview
Retele de sensori
1. Freescale_Zigbee
2. Sensor acc. Freescale
3. Intelligent DC Control
The 802.15.4 / ZigbeeThe 802.15.4 / Zigbee
Range
Pea
k D
ata
Rat
e
Closer Farther
Slo
wer
Fas
ter
UWB
HomeRF
Wireless Data Applications
Wireless Video Applications
IrDA
802.11g
802.11b
802.11a
2.5G/3G
ZigBee
802.15.4
Bluetooth
ISM Link
WiFi
Wireless TechnologiesWireless Technologies
Common NameCommon Name "Zigbee""Zigbee" BluetoothBluetooth WiFiWiFi UWBUWB
IEEE standardIEEE standard 802.15.4802.15.4 802.15.1802.15.1 802.11802.11 802.15.3802.15.3
Max Data RateMax Data Rate 250Kbps250Kbps 750Kbps750Kbps 54Mbps54Mbps 1000+ Mbps1000+ Mbps
TX powerTX power 30+ ma30+ ma 40+ ma40+ ma 400+ ma400+ ma
Standby IddStandby Idd 3ua3ua 200ua200ua 20ma20ma
Stack SizeStack Size 8-60KB8-60KB 100+ KB100+ KB 100+ KB100+ KB
Network TypeNetwork Type Star, Cluster, MeshStar, Cluster, Mesh Star ( 8 nodes max )Star ( 8 nodes max ) StarStar
Network Join/FormationNetwork Join/Formation msms secondsseconds secondsseconds
Max Packet Size(bytes)Max Packet Size(bytes) 132132 359359 40954095
RangeRange Over 1200 metersOver 1200 meters 100 meters100 meters 100 meters*100 meters* 10 meters10 meters
DevicesDevices 2^162^16 88
802.15.4 has 16 channels in 802.15.4 has 16 channels in the 2.4Ghz bandthe 2.4Ghz band
The 2.4Ghz ISM bandThe 2.4Ghz ISM band
802.11 DSSS
2.40 2.41 2.482.472.462.452.442.432.42
2.4622.4372.412 2.4835 (end of ISM Band)
Possible 802.11 Channel (North America)802.11 Spectrum Occupancy (Typical)
Freescale MC1319x Family Freescale MC1319x Family OverviewOverview• Key FeaturesKey Features
– IEEE® 802.15.4 CompliantIEEE® 802.15.4 Compliant• 2.4GHz2.4GHz• 16 selectable channels16 selectable channels• 250Kbps 0-QPSK DSSS250Kbps 0-QPSK DSSS
– Multiple Power Saving ModesMultiple Power Saving Modes– Reduces MCU resourcesReduces MCU resources
• Data Mode and Internal TimersData Mode and Internal Timers– Flexible Micro SupportFlexible Micro Support– -16.6dBm to +3.6dBm output power-16.6dBm to +3.6dBm output power
• Software selectableSoftware selectable– Low Component countLow Component count
• On-chip regulatorOn-chip regulator• Requires single 16Mhz Xtal (Auto Trim)Requires single 16Mhz Xtal (Auto Trim)
– Up to -92 Rx sensitivity at 1% PERUp to -92 Rx sensitivity at 1% PER– 2V to 3.4 operating voltage2V to 3.4 operating voltage– -40˚C to +85˚C operating temperature-40˚C to +85˚C operating temperature– 5mmx5mm QFN-325mmx5mm QFN-32
• RoHSRoHS– Reduced design timeReduced design time
• Flexible network supportFlexible network support• Complete set of design tools and Complete set of design tools and
reference designsreference designs
PowerManagement
MC13191/2/3
Analog Receiver
Internal Clock
Generator
8-ch 10-BitADC
BDMHCS08 CPU
2xSCI
4-ch 16-bitTimer
FlashMemory
RAM
COP
IIC
Up to36 GPIO
SPI
LVI
MC9S08GT Family
Sensors
MMA Series Accelerometers
MPX Series Pressure Sensors
MC Series Ion and
Smoke PhotoSensors
Voltage Regulators
FrequencyGenerator
AnalogTransmitter
Dig
ital
Tra
nsc
eive
r GPIO
SPI
Timers
IRQ Arbiter
RAM Arbiter
Buffer RAM
ControlLogic
MC1320X FeaturesMC1320X Features• Key FeaturesKey Features
– IEEE® 802.15.4 CompliantIEEE® 802.15.4 Compliant• 2.4 GHz2.4 GHz• 16 selectable channels16 selectable channels
– Multiple Power Saving ModesMultiple Power Saving Modes– Up to 7 GPIOUp to 7 GPIO– 2.0 to 3.4V operating voltage2.0 to 3.4V operating voltage
• On-chip regulatorOn-chip regulator– -40˚ to +85˚C Operating Temperature-40˚ to +85˚C Operating Temperature– Integrated Tx/Rx switchIntegrated Tx/Rx switch– Up to -94 dBm Rx Sensitivity at 1% PERUp to -94 dBm Rx Sensitivity at 1% PER– -27 dBm to +4 dBm Programmable Output Power-27 dBm to +4 dBm Programmable Output Power– Low External Component CountLow External Component Count
• Requires a single 16Mhz crystalRequires a single 16Mhz crystal– Software Crystal TrimmingSoftware Crystal Trimming– 5x5x1 mm 32-pin QFN5x5x1 mm 32-pin QFN
• Software Software – SMACSMAC
• Small memory footprint (< 3 KB)Small memory footprint (< 3 KB)• Supports point-to-point and star networksSupports point-to-point and star networks
– MACMAC• IEEE 802.15.4 Standard CompliantIEEE 802.15.4 Standard Compliant
– ZigBeeZigBee• Supports ZigBee Alliance 1.0 SpecificationSupports ZigBee Alliance 1.0 Specification
RFIC Timers
Digital ControlLogic
AnalogReceiver
FrequencyGenerator
AnalogTransmitter
Buffer RAM
RAMArbiter
VoltageRegulators
IRQArbiter
PowerManagement
Digital Transceiver
Tx/Rx Switch
MC1320X
MC1320X Transceiver MC1320X Transceiver FamilyFamily
MC13201MC13201 MC13202MC13202 MC13203MC13203
OverviewOverview
Low cost 2.4 GHz Low cost 2.4 GHz
transceiver for transceiver for
proprietary applicationsproprietary applications
IEEE 802.15.4 IEEE 802.15.4
Compliant 2.4 GHz Compliant 2.4 GHz
transceivertransceiver
ZigBee-Ready 2.4 GHz ZigBee-Ready 2.4 GHz
transceivertransceiver
Buffered transmit and receive data packets for use with low cost MCUsBuffered transmit and receive data packets for use with low cost MCUsLow component count reduces complexity and costLow component count reduces complexity and cost
Programmable clock output available to MCUProgrammable clock output available to MCUNetwork TopologyNetwork Topology Point-to-Point and StarPoint-to-Point and Star Peer-to-Peer, Star and MeshPeer-to-Peer, Star and MeshSoftwareSoftware Simple MAC (SMAC)Simple MAC (SMAC) IEEE 802.15.4 MACIEEE 802.15.4 MAC ZigBee StackZigBee StackTransfer ModeTransfer Mode PacketPacket Packet and StreamingPacket and StreamingThroughputThroughput 250 Kbps, O-QPSK Modulation, DSSS Energy Spreading Scheme250 Kbps, O-QPSK Modulation, DSSS Energy Spreading SchemeTx/Rx SwitchTx/Rx Switch Integrated on-chipIntegrated on-chipLow Power ModesLow Power Modes Off, Hibernate, Doze and IdleOff, Hibernate, Doze and IdleSensitivitySensitivity -91 dBm-91 dBm -94 dBm-94 dBmPower SupplyPower Supply 2.0 to 3.4 V2.0 to 3.4 VMCU SupportMCU Support 8-bit MCU, ColdFire, S12, 8-bit MCU, ColdFire, S12,
DSCDSCOptimized for 8-bit HCS08 FamilyOptimized for 8-bit HCS08 Family
MCU InterfaceMCU Interface SPI Interface to MCUSPI Interface to MCUPower OutputPower Output -27 dBm to +4 dBm (software selectable)-27 dBm to +4 dBm (software selectable)Operating TempOperating Temp -40-40ºº to +85 to +85ºCºC Operating Temperature Operating TemperaturePackagePackage 5x5x1 mm 32-pin QFN (Meets RoHS requirements)5x5x1 mm 32-pin QFN (Meets RoHS requirements)10K SRP10K SRP $2.35$2.35 $2.75$2.75 $3.28$3.28
802.15.4- Aplicatii 802.15.4- Aplicatii • Wire replacement Wire replacement
– Serial streamSerial stream
• Remote ControlRemote Control– Half duplexHalf duplex– Full duplexFull duplex
• Remote MonitorRemote Monitor– Analog informationAnalog information– Digital informationDigital information
• AudioAudio– Half duplexHalf duplex– Full duplexFull duplex– Half duplex controlHalf duplex control– Full duplex controlFull duplex control
802.15.4 Networks802.15.4 Networks
IEEE 802.15.4 TopologiesIEEE 802.15.4 Topologies
Mesh
Cluster Tree
Star
PAN Coordinator
Full Function Device (FFD)•Any topology•Network coordinator capable•Talks to any other device
Reduced Function Device (RFD)•Limited to being leaf devices•Cannot become a network coordinator•Talks only to a network coordinator•Very simple implementation
Network Pieces –PAN Network Pieces –PAN CoordinatorCoordinator•PAN CoordinatorPAN Coordinator
–““owns” the networkowns” the network•Starts itStarts it
•Allows other devices to join itAllows other devices to join it
•Provides binding and Provides binding and address-table servicesaddress-table services
•Saves messages until they Saves messages until they can be deliveredcan be delivered
•And more… And more… could also have could also have i/o capabilityi/o capability
–A “full-function device” – A “full-function device” – FFDFFD
–Mains poweredMains powered
Network Pieces - RouterNetwork Pieces - Router
•RoutersRouters– Routes messagesRoutes messages– Does not own or start Does not own or start
networknetwork
• Scans to find a network Scans to find a network to jointo join
– Given a block of Given a block of addresses to assignaddresses to assign
– A “full-function device” – FFDA “full-function device” – FFD– Mains powered depending on Mains powered depending on
topologytopology– Could also have i/o capabilityCould also have i/o capability
Network Pieces – End Network Pieces – End DeviceDevice•End DeviceEnd Device– Communicates with a single Communicates with a single
devicedevice
– Does not own or start Does not own or start networknetwork
• Scans to find a network Scans to find a network to jointo join
– Can be an FFD or RFD Can be an FFD or RFD (reduced function device)(reduced function device)
– Usually battery poweredUsually battery powered
Identificator miscareIdentificator miscare
Sensor acceleratieSensor acceleratie
Fully Embedded ZigBeeFully Embedded ZigBee•
APS
P31 … ZDOP1
ZigBee
HCS08 MC13193
802.15.4 PHY
802.15.4 MAC
ZigBee NWK
• Features HighlightsFeatures Highlights• ZigBee Compliant PlatformZigBee Compliant Platform• Complete Wireless Complete Wireless
Networking Standard – Networking Standard – from Antenna to APIfrom Antenna to API
• Wireless Embedded or Wireless Embedded or Dongle OptionsDongle Options
• Target ApplicationsTarget Applications• Mesh & Clustertree NWKsMesh & Clustertree NWKs• Established Routing AlgorithmEstablished Routing Algorithm• Network Recovery and HealingNetwork Recovery and Healing• Device Interoperability Device Interoperability
Freescales IEEE 802.15.4 MAC Freescales IEEE 802.15.4 MAC Standards-Compliant & CertifiedStandards-Compliant & Certified
HCS08 MC13192
802.15.4 PHY
802.15.4 MAC
802.15.4 Solution
• Hardware FeaturesHardware Features• 802.15.4 PHY Compliant802.15.4 PHY Compliant
– MC13192/3 TransceiverMC13192/3 Transceiver– Supports Packet and Supports Packet and
Streaming ModeStreaming Mode– Compliant to all RF SpecsCompliant to all RF Specs
• Targets the HCS08GT60Targets the HCS08GT60
• Software FeaturesSoftware Features
• 802.15.4 MAC Compliant 802.15.4 MAC Compliant
– Standardized Standardized Communication Communication ProtocolProtocol
– Supports Beaconed and Supports Beaconed and Non-Beaconed NWKsNon-Beaconed NWKs
– GTS, 128 AES GTS, 128 AES EncryptionEncryption
– Co-existence Mitigation Co-existence Mitigation Algorithm CSMA-CAAlgorithm CSMA-CA
– Star & Clustertree Star & Clustertree NWKsNWKs
• Option to Remove Option to Remove Unnecessary Features to Unnecessary Features to reduce code sizereduce code size
• Provided in Object CodeProvided in Object Code
Target Applications•Star/Clustertree NWKs•Robust Communication and Timing Critical Protocol•NWK Standard not needed•Interoperability not needed
• Free when you use it on a 13192 partFree when you use it on a 13192 part– The Full MAC requires the streaming mode in The Full MAC requires the streaming mode in
the 13192 part.the 13192 part.• Certified to the 802.15.3 standardCertified to the 802.15.3 standard• Supports Beacon and non-beacon networksSupports Beacon and non-beacon networks• Supports GTS ( Guaranteed Time Slots )Supports GTS ( Guaranteed Time Slots )• Fully handshaked protocol ( ACK’s )Fully handshaked protocol ( ACK’s )• Supports long ( 64 bit ) and short ( 16 bit ) addressingSupports long ( 64 bit ) and short ( 16 bit ) addressing• Supports dynamic device addressingSupports dynamic device addressing• Supports active and Passive scansSupports active and Passive scans• Supports 8 different encryption standards including AES Supports 8 different encryption standards including AES
128128• Defines 3 types of network nodesDefines 3 types of network nodes
– PAN coordinatorPAN coordinator– CoordinatorCoordinator– devicedevice
SBC 16/18FSBC 16/18F
Mobil Robot as PC Expander
WEB SERVER