PSo C Solution for PLC Powerline Communication Reliable
PSo. C Solution for PLC = Powerline Communication Reliable, Ready-to-Certify, One-Chip PLC Solution Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Presentation: To provide an engineering overview to customers for a Cypress solution. Title slide: To define what the presentation will cover. The subtitle is a one-sentence statement of the key opportunity. 001 -84878 Rev *F
PLC Works When Wireless Doesn’t Companies are adding connectivity to their products Lighting Controls by Wadak Connectivity makes products more manageable and intelligent Wireless is the preferred medium Wireless often doesn’t work When there are physical barriers or long-distance connections When Wi. Fi and microwaves cause interference PLC works when wireless doesn’t Provides reliable communication despite barriers and interference Reuses existing powerline infrastructure – no new wires Companies are already designing PLC in systems Integrate PLC and Cap. Sense® controls on one PSo. C Emergency Airfield Lighting System by Ross Design Solar inverters Energy-management solutions Data center power distribution units Lighting controls Fire safety systems PLC provides reliable communication without the need to add new wires Uses PLC to communicate with multiple lights over 480 V AC power lines Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Market Vision: To define the market opportunity. Presents compelling data and end product photos relevant to the local market. Should use compelling photographs of actual PSo. C products. 2
Terms You Will Hear Today Powerline Communication (PLC) Transmission of data over existing power lines with no added wires Application Firmware Typical PLC System Program code used to control communications and other functions of a system Application Firmware PLC Network Protocol A set of rules that enables systems to transmit and receive PLC data A protocol can be applied by firmware running on a microcontroller Network Protocol FSK Transceiver Frequency Shift Keying (FSK) A method of encoding data using two frequencies to represent ones and zeros FSK Modulator/Demodulator Power line An electronic circuit that encodes/decodes data for FSK transmission/reception FSK Transceiver A combined modulator and a demodulator OSI Model Layers 7. Application 6. Presentation 5. Session 4. Transport 3. Network 2. Data Link 1. Physical The Open Systems Interconnection (OSI) model standardizes the functions of a communication system FSK Modulation/Demodulation UART Serial Data In FSK Modulator FSK Signal FSK Demodulator Serial Data Out UART In this example, a PLC connection is used to extend the range of a UART connection. Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Terms of Art (To. As): To clearly define tor engineers all To. As used in the presentation. To carefully and fully define Cypress-proprietary To. As needed to explain our system solution. 3
Additional Terms Universal Asynchronous Receiver/Transmitter (UART) An electronic circuit that converts parallel bytes of data into serial bits for transmission, and vice versa Transmits and receives data packets, which are formed by the PLC Network Protocol Baud Rate The transmission rate of the data, measured in bits per second (bps) The PLC baud rate ranges between 600 bps and 2, 400 bps for a UART extended over a PLC Network Reliability Measured by the percentage of transmitted data packets that are received error-free (> 90% is acceptable) Reliability is reduced by unpredictable signal loss due to noise and attenuation on the power line Cyclic Redundancy Check (CRC) An algorithm used to detect errors in a received data packet Used to determine when the transmitter needs to retransmit the data Forward Error Correction (FEC) An algorithm used to detect and correct errors by including an error-correction code in a transmitted data packet Encoded by receiver to reduce the need to retransmit data Acknowledgement A packet sent by the receiver to verify the successful receipt of a data packet Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Terms of Art (To. As): To clearly define tor engineers all To. As used in the presentation. To carefully and fully define Cypress-proprietary To. As needed to explain our system solution. 4
Additional Terms Frequency Hopping An algorithm that automatically switches the FSK center frequency between 132 k. Hz and 110 k. Hz Improves reliability in the presence of noise Out-of-Band Noise that falls outside the communication frequency band Half-Duplex Communication Bi-directional transmission of data, but with only one system allowed to transmit at a time Band-In-Use (BIU) A signal that indicates there is data traffic in the communication frequency band Carrier Detection An algorithm used to detect a band-in-use event; also known as band-in-use detection The PLC Network Protocol will wait until the band is not in use before it transmits data to avoid collisions Conducted and Radiated Emissions Unwanted electronic noise conducted on the power line or radiated as Electromagnetic Interference (EMI) The amplitude of a system’s electronic noise in the 3 k. Hz-30 MHz (conducted) and 30 MHz-1, 000 MHz (radiated) bands Regulatory bodies (e. g. , FCC, CENELEC) specify limits for these emissions to minimize interference Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Terms of Art (To. As): To clearly define tor engineers all To. As used in the presentation. To carefully and fully define Cypress-proprietary To. As needed to explain our system solution. 5
PSo. C Terms PSo. C is the world’s only programmable embedded system-on-chip integrating an MCU core, Programmable Analog Blocks, Programmable Digital Blocks, Programmable Interconnect and Routing 1 and Cap. Sense Programmable Analog Block A hardware block that is configured using PSo. C Components 2 to create Analog Front Ends (AFEs), signal conditioning circuits with opamps and filters Includes Switched Capacitor/Continuous Time Blocks, analog-to-digital converters (ADCs) and digital-to-analog converters (DACs) Switched Capacitor/Continuous Time (SC/CT) Block A Programmable Analog Block that is used to implement switched capacitor and continuous time analog circuits such as opamps and programmable gain amplifiers (PGAs) Programmable Digital Block A hardware block that is configured using PSo. C Components 2 to implement custom digital peripherals and glue logic Includes the Digital Filter Block, Universal Digital Blocks and Timer, Counter, PWM Blocks (TCPWMs) Universal Digital Block (UDB) A PSo. C Programmable Digital Block that contains: two programmable logic devices (PLDs), one programmable data path with an arithmetic logic unit (ALU), one status register and one control register Configured in PSo. C Creator 3 using PSo. C Components 2, or with the graphical UDB editor or using Verilog code Digital Filter Block (DFB) A PSo. C Programmable Digital Block that contains a 24 -bit multiplier/accumulator (MAC) and an ALU Configured in PSo. C Creator 3 using PSo. C Components 2 to implement an independent signal Coprocessor 4 1 Connects 3 PSo. C 2 Free the Programmable Analog Blocks, Programmable Digital Blocks and I/Os embedded ICs represented by an icon in PSo. C Creator software 4 A Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Integrated Design Environment (IDE) software that installs on your PC specialized hardware block designed to offload the main processor 6
PSo. C Terms 100+ other Components to complete the system design Timer, Counter, PWM (TCPWM) Block A PSo. C Programmable Digital Block that is configurable as a 16 -bit timer, counter or PWM Cap. Sense® Cypress’s third-generation touch-sensing user interface solution that “just works” in noisy environments and in the presence of water The industry’s No. 1 solution in sales by 4 x over No. 2 Programmable Interconnect and Routing Connects the Programmable Analog Blocks, Programmable Digital Blocks and I/Os Enables flexible connections of internal analog and digital signals to internal buses and external I/Os PSo. C Creator™ PLC Components: FSK Modulator, FSK Demodulator and Network Protocol PSo. C 3, PSo. C 4 and PSo. C 5 LP integrated design environment (IDE) Software that installs on your PC that allows: Concurrent hardware and firmware design of PSo. C systems, or PSo. C hardware design followed by export to popular IDEs FSK Demodulator Component Icon MCU Components Free embedded ICs represented by an icon in PSo. C Creator Used to integrate multiple ICs and system interfaces into one PSo. C Dragged and dropped as icons to design systems in PSo. C Creator Inherent system bus connection FSK Demodulator decodes data from the received FSKmodulated signal on the power line Component Configuration Tools Simple graphical user interfaces in PSo. C Creator embedded in each Component Used to customize Component parameters as shown to the right Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS 7
Design Problems Engineers Face 1. PLC devices are difficult to certify Integration of PLC Solution into one PSo. C Certification standards vary across countries and are not well defined The standards require you to build complicated Network Protocol firmware Certification can take multiple iterations and cost up to $50 K 2. PLC systems require multiple ICs for FSK Transceiver, Network Protocol, and Application Firmware Other system functions, such as power measurement and DC-AC conversion MCU for Network Protocol and Application Firmware 3. PLC reliability is reduced by unpredictable signal loss, due to Powerline loading variations Equipment noise variations from building to building Additional power measurement IC PSo. C solves these problems with a solution that Is pre-tested to FCC and CENELEC standards, making certification easy for you Integrates on one-chip all PLC and other system functions Is field-tested for reliability in residential and commercial environments in eight countries The PSo. C one-chip solution is reliable and ready-to-certify PSo. C one-chip PLC solution Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Traditional Approach and Challenges: To present the traditional approach and the challenges engineers will face when using it to realize the Market Vision. Ends with a one-sentence segue clearly stating the benefit of the Cypress solution. 8
PSo. C Solution: Reliable and Integrated Emergency Airfield Light by Ross Design Contains LED control and PLC A complex PLC design with multiple ICs… Is simplified by using the drag-and-drop PSo. C Creator PLC Components… And integrated with other system functions… To create a reliable, one-chip PLC solution Actual PLC Design by Ross Design To get started, you should: Download the PSo. C 5 LP PLC App Note Install PSo. C Creator IDE Open PLC Example Project to start your design Choose from 100+ PSo. C Components to add other system functions With added options for current sensing and LED control Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Cypress Solution: To introduce CY products and show compellingly how they solve the challenges highlighted on the previous slide. To provide a short, clear list of what to do to get started. 9
System Design in PSo. C Creator IDE PLC Example Project in PSo. C Creator IDE 1. Explore the library of 100+ Components 2. Drag and drop Component icons to complete your hardware system design in the main design workspace 3. Configure Components using the Component Configuration Tools 4. Access Component datasheets directly from the Component Configuration Tool for technical specifications 5. Codesign your application firmware with the PSo. C hardware using the PSo. C Creator IDE C compiler 6. Use the PSo. C PLC App Note for complete system design guidelines Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Cypress Solution: Compelling CY Creator introduction to solve the challenges highlighted on a previous slide. Provides a short, clear list of what to do to get started. 10
PSo. C FSK Modulator Component Create a high-performance, FCC- and CENELEC-compliant FSK Modulator in minutes Drag and drop the FSK Modulator Component into the main design workspace Right-click the Component to customize your parameters with the Component Configuration Tool Choose the FSK signal amplitude for the largest signal (for best reliability) or smallest signal (for lowest power consumption) Choose the FSK signal’s center frequency to 132 k. Hz or 110 k. Hz to avoid noise Choose to transmit a square wave (to save PSo. C resources) or a sine wave (for FCC and CENELEC compliance) Select the polarity for driving the tx_disable pin to match the polarity of the external amplifier FSK Modulator Component Configuration Tool FSK Modulator Component FSK Modulator converts the UART Serial Data In a signal into an FSK signal that is transmitted over the power line The FSK signal is buffered and filtered by two internal op-amps (along with external passives) to comply with FCC and CENELEC standards tx_disable drives the external amplifier to a high impedance mode when the system is receiving fsk_aout connects to the external amplification and coupling circuit, which drives the FSK signal on the power line Use the FSK Modulator Component Configuration Tool to set the FSK frequency, wave type, amplitude, and disable polarity Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Cypress Solution: To introduce CY products and show compellingly how they solve the challenges highlighted on a previous slide. To provide a short, clear list of what to do to get started. 11
PSo. C FSK Demodulator Component Create a high-performance, FCC- and CENELEC-certified FSK Demodulator in minutes Drag and drop the FSK Demodulator Component into the main design workspace Right-click the Component to customize your parameters with the Component Configuration Tool Choose the FSK frequency to match the frequency of the FSK Modulator’s transmitted signal (options: 132 k. Hz, 110 k. Hz) Enable or disable the receive filter, which removes Out-of-Band noise to improve reliability Choose the receive gain to optimize for noise: high gain for low-noise environments and low gain for high-noise environments FSK Demodulator Component Configuration Tool FSK Demodulator converts an FSK signal into the UART Serial Data Out signal For noisy environments, the optional Receive filter removes Out-of-Band noise to improve signal reception Use the FSK Demodulator Component Configuration Tool to set the FSK frequency, enable/disable the Receive Filter, and set the Receive Gain Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Cypress Solution: To introduce CY products and show compellingly how they solve the challenges highlighted on a previous slide. To provide a short, clear list of what to do to get started. 12
PSo. C Network Protocol Component Create an easy-to-use, robust PLC Network Protocol in minutes Drag and drop the Network Protocol Component into the main design workspace Right-click the Component to customize your parameters with the Component Configuration Tool Connect to the FSK Modulator and FSK Demodulator components to form a half-duplex communication system Configure the baud rate of the built-in UART, which transmits and receives packets (range: 600 – 2, 400 bps) Configure the Band-In-Use detector, which performs carrier detection and collision avoidance (for CENELEC compliance) Enable Acknowledgment Expected to verify successful communication Enable FEC encoding to enhance packet integrity Enable Frequency Hopping to automatically switch between 132 k. Hz and 110 k. Hz to improve reliability in the presence of noise Network Protocol Component The built-in UART deserializes the rx signal from the FSK Demodulator, after which the Network Protocol validates the packet for address match and CRC The Network Protocol forms the packet, which is serialized by the built-in UART into the tx signal. The tx signal, in turn, connects to the FSK modulator The Band-In-Use detector tests the power line to prevent packet collisions Engineering Presentation Rev *F Network Protocol Component Configuration Tool Owner: SSHI Tech lead: ROSS Use the Network Protocol Component Configuration Tool to set the packet and signal analysis parameters Cypress Solution: To introduce CY products and show compellingly how they solve the challenges highlighted on a previous slide. To provide a short, clear list of what to do to get started. 13
PLC Example Project in PSo. C Creator IDE with integrated FSK Transceiver and Network Protocol 1. FSK Demodulator to convert the FSK signal from the power line into baseband serial data, received by the Network Protocol 2. Network Protocol to enable devices to send and receive data (via a builtin UART) and prevent collisions on the power line 3. External amplification and coupling circuit to connect the FSK signal to the power line 4. FSK Modulator to convert the baseband serial data from the Network Protocol into an FSK signal that is transmitted over the power line 5. Demo user interface to show data transmission over the power line and display the data on an LCD Watch our demo video: www. cypress. com/? r. ID=40678 Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS 6. Optional external host interface to allow a host to control the PSo. C 5 LP device via I 2 C, UART, or SPI Cypress Solution: To introduce CY products and show compellingly how they solve the challenges highlighted on a previous slide. To provide a short, clear list of what to do to get started. 14
PSo. C PLC – Reliable Performance PSo. C PLC solution provides reliable performance up to 13 kilometers without a repeater The solution has been field-tested under residential and commercial conditions in eight countries: Australia, Germany, Hong Kong, India, Indonesia, Italy, Singapore and the U. S. Example: Field-testing at Magarpatta Township, Pune, India - http: //www. magarpattacity. com/ Magarpatta Township Plan Building w/ Water Meters Meter Room w/ Concentrator PLC-based Water Meters PLC collection point PLC-based Water Meter installations on the 9 th floor of commercial buildings are approximately 700 meters apart. The PLC collection point is where water usage data is collected and transmitted to a central billing system via cellular radio. Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Cypress Solution: To introduce CY products and show compellingly how they solve the challenges highlighted on a previous slide. To provide a short, clear list of what to do to get started. 15
PSo. C PLC – Compliance Tested The PSo. C PLC solution is pretested to meet the CENELEC and FCC regulatory standards CENELEC EN 50065 -1 (European specification for powerline communication) Enforces communication rules within the 3 k. Hz – 148. 5 k. Hz frequency band Defines the timing and thresholds to prevent packet collisions Sets conducted and radiated emission limits FCC Part 15 (North American specification for radiation by generic electronics) Sets conducted and radiated emission limits (subset of EN 50065 -1 limits) PSo. C PLC Conducted Emissions 120 CENELEC Max PLC Signal Limit = 122 d. Bm. V Amplitude (d. Bm. V) Actual PSo. C PLC 132 k. Hz Signal = 118 d. Bm. V CENELEC and FCC Emissions Limit = 45 d. Bm. V 20 0 1 2 Frequency (MHz) Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Cypress Solution: To introduce CY products and show compellingly how they solve the challenges highlighted on a previous slide. To provide a short, clear list of what to do to get started. 16
PSo. C® 5 LP PLC Example – Emergency Airfield Lighting System Block Diagram PSo. C Value Design Challenges Communicate over an AC power line at 480 V AC Support 2000 units on the power line PSo. C 5 LP One-Chip Solution Integrated PLC Components Tx RC Filter Passives PSo. C® Solution Provides PLC system that works on 480 V AC line Supports more than 64, 000 units on a power line FSK Modulator Tx, Rx LEDs Suggested Collateral 3 App Notes: PSo. C 5 LP PLC Solution PLC Repeater Implementation Training: Introduction to PSo. C 5 LP UART GPIO 32 ARM® Cortex. TM-M 3 (32 -bit) MCU 32 Line Driver Network Protocol Coupling Circuit 32 FSK Demodulator Power line 2 LP Notch Filter Passives Rx Emergency Airfield Lighting System by Ross Design PSo. C Creator Components FSK Modulator (encodes data for transmission) FSK Demodulator (decodes received data) Network Protocol (implements communication rules) UART (communicates with other ICs in the system) Uses the PLC subsystem to remotely manage landing lights Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Solution Examples: To give detailed one-page PSo. C Solution Examples from the field in the specified format. 17
PSo. C Solutions vs. Competition’s Feature PSo. C 5 LP PSo. C 1 ST Microelectronics (low cost) Ready-to-certify Yes No Network Protocol Included None Transceiver FSK FSK Max Distance* 13 km 6. 5 km Data rates 2. 4 kbps Error Detection 8 -bit CRC None FEC Yes No Integrated microcontroller 32 -bit ARM Cortex M 3 (100 DMIPS) 8 -bit M 8 C (4 MIPS) None Integrate other system functions Yes (8 - to 20 -bit ADC, 8 -bit DAC, comparators, filters, op-amps) Yes (8 - to 14 -bit ADC, 9 -bit DAC, comparators, filters, op-amps) No * Conditions: 122 -d. Bm. V transmitted signal, 1 -ohm load, and <25 -d. Bm. V noise , without repeater Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Competitive Comparison: To define key features of the Cypress solution and demonstrate its superiority over NBA(s). Must be credible and objective to the salesperson and customer. 18
Powerline Communication Solution Value Competitor Transceiver: FSK Power line transceiver ST Microelectronics ST 7540 Price: $5. 071 BOM Integration MCU: ARM Cortex-M 3 MCU ST Microelectronics STM 32 F 105 VCT 6 Price: $5. 081 PMIC: Single phase dual outlet power management IC Maxim 78 M 6612 -IGT/F Price: $2. 711 1 $5. 07 Competitor MCU PMIC $5. 08 $2. 71 BOM Integration Value $7. 79 Total Value Delivered $12. 86 Target PSo. C Solution: CY 8 C 5868 AXI-LP 032 Total Cost: $11. 231 13% Total Savings: $1. 63 Digikey website 1 ku pricing on 12/14/2014 Engineering Presentation Rev *F EVC Slide: To clearly define the value of the Cypress solution, including BOM integration and unique functionality. Owner: SSHI Tech lead: ROSS 19
Here’s How to Get Started 1. Visit our web page: www. cypress. com/go/plc 2. Download the PSo. C 5 LP PLC App Note: www. cypress. com/? r. ID=64581 3. Install PSo. C Creator software: www. cypress. com/? id=2494 4. Open PLC example project to start your design Solar micro-inverter by m. Power. Solar Uses PLC for monitoring and remote diagnostics Data Center Intelligent Power Distribution Units Lighting Controls by Wadak Use PLC for remote power monitoring and control Integrate PLC and Cap. Sense® controls on one PSo. C Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS Call to Action: To tell customers how to start their design process. 20
References and Links Demo Video: www. cypress. com/? r. ID=40678 To request a live demo: contact powerlinecomm@cypress. com Application page: www. cypress. com/go/plc Contains links to all PLC-related collateral from Cypress App Note (AN 76458) for PSo. C 5 LP PLC Solution: www. cypress. com/? r. ID=64581 App Note (AN 77759) for Getting Started with PSo. C 5 LP: www. cypress. com/? r. ID=60890 App Note (AN 62487) for Repeater Implementation: www. cypress. com/? r. ID=44468 App Note (AN 62769) for Encrypted Data Communication: www. cypress. com/? r. ID=45490 App Note (AN 62792) for Updating Field Firmware: www. cypress. com/? r. ID=46688 Introduction to PSo. C 5 LP: www. cypress. com/? r. ID=37516 Engineering Presentation Rev *F Owner: SSHI Tech lead: ROSS References and Links: Provide comprehensive view of resources to assist in learning about and adopting the solution. 21
- Slides: 21