Phonergy
Senior Design Project - Group 20
“The smart-smart energy meter”
Phonergy �The Smart Meter
To create a safe, secure, smart meter that is easy to install and use. Putting an emphasis on data security, long-range communication, and real-time accurate readings that allows consumers to easily trim wasteful energy consumption.
Alexander Kusy
Estefania Aguilar
Electrical Engineer
(Power Track)
Electrical Engineer
(Comprehensive Track)
Electrical Engineer
(Power Track)
Electrical Engineer
(Power Track)
Kenneth Thompson
Nabeel Khan
Our Team
Design Goal
Project Motivation
Project Features
Real-time
Accurate Measurements
Measurement Storage
Long-Distance
Communication &
Data Security
Notifications
Mobile/Web Application
Goals and Objectives�
Requirements �& Specifications
Engineering Requirements Description | Value | Units |
1. Accuracy�(a) The current transformer used to measure�the current from each circuit breaker in the central circuit breaker panel must be able�to measure current up to:�(b) The current measured by the current trans-�former sensor must be measured at a frequency of:�(c) The current transformer must measure cur-�rent with an accuracy of | 100� 60� ≤ 2 | Amps� Hz� % |
2. Power-Backup�(a) The implementation of a back-up power�supply shall be included with a capacity of: | 5 | W-Hr |
3. Data Relay�(a) Data collected shall be transmitted over LoRaWAN�(b) In between packet transmission, the device�should enter sleep mode for: | 30� 5 | seconds� seconds |
4. Data Display Configuration�(a) The organized custom display webapp for�data analysis (Grafana), should be updated�to every: | 60 | seconds |
5. Protection Circuitry�(a) The voltage sensor circuitry shall implement a voltage divider to reduce voltage to�ADC range:�(b) The voltage divider circuit must include a�voltage-dependent resistor for spike protection. | �220/110� | VAC |
5. Microcontroller�(a) The microcontroller shall support multiple�I/O ports for up to 10 compact CT sensors.�(b) The microcontroller shall not consume�power greater than: | 500 | mA |
9. Environmental Specifications�(a) Working temperature:�(b) Storage temperature:�(c) Relative humidity (non-condensing): | 40 to�125 �-40 to�150 | C� ◦C� |
Overall Block Diagram
Hardware Design- Block Diagram ��
PCB Schematic -Subsystems
PCB Layout
�
First Subsystem-Voltage Sensor
Second Subsystem – Current Sensing
| Pros | Cons |
Low Resistance Current Shunt |
|
|
Hall Effect sensor |
|
|
Current Transformer |
|
|
Current Sensor Schematic
Testing
Third Subsystem – Power Supply
Original system:
Third Subsystem – Power Supply
Fourth System Back-up Battery Switch-Over System
Microcontroller
| ESP32-PICO-D4 | ESP32-WROOM-32D | MSP430FR6989 |
Cost | $4.95 | $4.09 | $11.88 |
ADC pins | 18 | 18 | 16 |
ADC Resolution | 12-bit | 12-bit | 12-bit |
Operating Voltage | 3.0V ~ 6.0V | 3.0V ~ 6.0V | 1.8 V ~ 3.6 V |
UART | Yes | Yes | Yes |
Architecture | 32-bit | 32-bit | 16-bit |
IDE | ESP/Arduino | ESP/Arduino | CCS |
Package | SIP | SIP | LWFP-80 |
Availability | Available | Available | Unavailable |
Transmitter
RYLR896
NUCLEO-WL55JC
RYLR896 | Specs | NUCLEO-WL55JC |
$19.50 | Cost | $42.00 |
No | Device-EUI | Yes |
862 MHz ~ 1020 MHz | RF Transceiver | 150 MHz ~ 960 MHz |
-4 dBm ~ 15 dBm | RF Output Power | -80 ~ 24 dBm |
15.0 km | Communication Range | 8.0 km |
Transceiver | Classification | MCU + Transceiver |
Yes | UART | Yes |
AT Commands | Programming | AT / STM / MBEDOS |
2.0 V ~ 3.6 V | Operating Voltage | 4.75 V ~ 12.0 V |
65mm
70mm
17mm
30mm
Raspberry Pi Gateway
Rak2245
LoRa Transceiver (SPI)
Raspberry Pi 8GB
LoRaWAN Antenna
Selection of components:
Inside The RAK2245
Raspberry PI 40 Pin connection
UART and I2C Pin connections for GPS, IPEX antenna output
RAK2245 uses the Semtech Concentrator SX1301 chip. Dual Sx125's can receive/transmit up to 8 uplink/1 downlink channel.
The 1PPS line routes the signal to the GPS module SPI is used to route the signal to the raspberry PI.
Note: not pictured here is the PI connection and operation, the raspberry pi processes the RF messages, while preforming protocol related tasks. It then forwards the processed data to a LoRaWAN server.
Formatting of packets
Enclosure
210mm
90mm
LoRaWAN Network Protocol
Why we chose to use LoRaWAN:
Cons:
On-Board Software
The software implemented on the ESP32 is responsible for sampling the various current and voltage sensors, filtering those signals, and performing the necesarry calculations to determine various key data points, before packaging this information to be sent to the LoRaWAN Transciever over a UART connection.
Mobile Application �
Logs Account to Product Code and Phone Number
Store Login information
Login/Signup Page:
Landing Page:
Graphic display:
Notification System
Phonergy
Edge Gateway
AWS
Influx dB
Node Red
Twilio
SMS notification
Grafana
Main Page Grafana Dashboard
Full Stack Development
Node-Red:
InfluxDB:
Android Studio is a framework that allows users to test flutter applications
Application Development Framework
We used flutter to build mobile application:
Phonergy Webapp
Phonergy webapp features:
Home page has the following options:
�Design Constraints�
Identification and review of related standards�
Bill of Materials
Website | Cost | Shipping | Tax | Total | Notes |
JLCPCB | $15.80 | $22.97 | $0.00 | $38.77 | Final Board |
Mouser | $36.54 | $7.99 | $2.38 | $46.91 | Final Board Components |
Digi-Key | $1.58 | $4.99 | $0.10 | $6.67 | Final Board Antenna |
Mouser | $11.90 | $7.99 | $0.00 | $19.89 | Initial parts order in November (order history 0) |
Miscellaneous | $195.55 | $84.82 | $4.53 | $283.36 | Testing First Round SD1 |
Miscellaneous | $106.13 | $27.01 | $3.84 | $136.98 | Testing Second Round SD2 |
Aliexpress (CT sensor x9) | $73.74 | $8.32 | $1.37 | $70.62 | CT Sensors |
Edge Device | $217.05 | $0.00 | $0.00 | $217.05 | Edge Device |
Twilio | $20.00 | $0.00 | $0.00 | $20.00 | SMS server |
Total: | $840.25 |
BUDGET: | $1000.00 |
Project Management Tools
Text Messaging
GitHub
Overleaf
Google Drive
Discord
Work Distribution
Kenneth Thompson
Alex Kusy
Nabeel Khan
Estefania Aguilar
Future Milestones
Turn on & turn off the device from the cellphone.
Suggestions bot regarding energy saving.
Thank you!
Are there any questions?