1 of 27

MACHINE LEARNING APPLICATIONS IN�POWER SYSTEM FAULT LOCATION WITH ADMS AND AMI

GROUP 11

2 of 27

THE TEAM

Michael Mederos

CpE

Yuejun (Pearl) Guan

EE

Julio Barreto

EE

David Silvieus

EE

3 of 27

MOTIVATIONS

  • Increasing stability of the distribution system
  • Better communication between grid equipment and operators
  • Reduce the duration of outages

David Silvieus, EE

4 of 27

GOALS AND OBJECTIVES

Create a fault locator that is applicable to various feeder systems

Use ADMS and AMI data to assist in determining fault status & location

Measure and compare impedance values along the feeder to determine location of the fault

Verify fault status and location with machine learning algorithms

David Silvieus, EE

5 of 27

TABLE OF ENGINEERING SPECIFICATIONS

Pearl Guan

EE

6 of 27

GENERAL PCB BLOCK DIAGRAM

Julio Barreto - EE

7 of 27

POWER SUPPLY SYSTEM

Julio Barreto - EE

8 of 27

CURRENT SENSOR

Julio Barreto - EE

9 of 27

VOLTAGE SENSOR

Julio Barreto - EE

10 of 27

COMPARISON AND SELECTION OF HARDWARE (POWER SUPPLY)

Application

Characteristic 

Advantages

Disadvantages

chroma programmable ac source 61704 

0-300V 3 phase programmable AC sources

  1. Synchronized 3-phase low voltage output

2) Uses SCPI, which is commonly use most research and industry grade signal generator

3) Allow current cap relay

More Complicate than the regular signal generator

Tektronix AFG3022C Arbitrary/Function Generator 

a single-phase 12V sine wave input couple with a 0.125A fuse

Easy access in the lab

No three-phase option

California Instruments MX22.5 amplifier

120V three phase sine wave signals

A good three-phase power supply with built-in protection and a user-friendly interface

1) Too many moving parts

2) Extremely expensive

12V three phase AC delta configuration

Pearl Guan

EE

11 of 27

MICROCONTROLLER SELECTION

Microcontroller

Reason

Cost

STM32F103C8T6

(+) 2x 8-channel 12-bit ADC

(+) Powerful IDE

(+) Availability of reference material

$6.42

ATMEGA328P

(-) 1x 8-channel 10-bit ADC

(+) Simple to use IDE

(-) Expensive for performance

(-) IDE can be limiting

$2.89

MSP430FR6989IPZ

(+) 1x 16-channel 12-bit ADC

(+) Powerful IDE

(-) Not as much reference material

(-) Expensive for similar performance to

STM32

$10.77

Michael Mederos

CpE

12 of 27

POWER RESISTOR SELECTION

Power resistor

Application

Cost

HS100 4R7 J and HS 5R7 J

Load with high wattage

$10.57 (free for us)

AVT10006E1R000KE

Potential meter with high wattage for fault

$17.17 (free for us)

HS100 1K J and HSC1001R5J

Line resistance to simulate distance on the mini grid

$24.4 

Pearl Guan

EE

13 of 27

3.3 POWER REGULATOR SELECTION

Microcontroller

Reason

Size

Delivery time

Cost

TPSM82902SISR

(+) Small footprint

(+) Efficient switching regulator

(-) Complex soldering

(-) Expensive

3.0 mm × 2.8 mm

1-week shipping

$6.42

LM317

(+) Simple

(+) Fast delivery

(-) Less efficient linear regulator

(-) Junction-to-ambient coefficient 37.9*C/W, requires heatsink

14.48mm x 10.16mm

2-day shipping

$2.89

MIC29300

(+) Simple

(+) Fixed 3.3V out

(-) Heatsink required

15.11mm x 10.66 mm

1-week shipping

$4.65

Julio Barreto - EE

14 of 27

COMPARISON AND SELECTION OF SOFTWARE (SYSTEM MODELING)

Application

Advantages

Disadvantages

MATLAB and Simulink

Professional level software that’s very user-friendly. Combining graphical power system case editor and power system analysis

It's different from traditional one line diagram simulation

PowerWorld

Block based diagram works best for dynamic systems. It can be used for system simulation as well as coding, especially for machine learning. 

Unable to preform unbalanced load study

OpenDSS

Recommended for 3-phase unbalanced load modeling.

Would be great for scalability down the road

Steeper learning curve

Pearl Guan

EE

15 of 27

COMPARISON AND SELECTION OF SOFTWARE (SYSTEM MODELING)

Pearl Guan

EE

16 of 27

MACHINE LEARNING SOFTWARE COMPARISON

Tensor Flow

Multinomial Logistic Regression

  • Scalable
  • Uses static values as inputs 
  • Gives a binary result 
  • Much more complex

  • Scalable number of output classifications
  • Uses logarithmic expressions to determine classification
  • Static values as inputs
  • Easier to use 

David Silvieus, EE

17 of 27

CHOICE OF CAD: EAGLE VS KICAD

  • Original design called for an ATMega328p-based PCB.
    • Reference Arduino material available already in EAGLE, as well as Junior Design material.
  • For the updated design using the STM32F103C8T6, KiCad was chosen due to it’s user-friendliness.
    • KiCad also has a stronger userbase, which can be helpful when asking for guidance or referencing material on the internet.

Michael Mederos

CpE

18 of 27

Michael Mederos

CpE

19 of 27

PCB DESIGN

20 of 27

PCB - PERIPHERALS

VOLTMETER

POWER

CURRENT METER

MCU

Julio Barreto - EE

Components:

  • (11) OPA277
  • (1) LM7812 (12V Reg)
  • (1) LM7912 (-12V Reg)
  • (1) LM317 (3.3V Reg)
  • (2) CD4051BM
  • (3) 2n2222

21 of 27

MINI GRID FOR DEMO

Pearl Guan

EE

22 of 27

SOFTWARE DESIGN OF MCU

  • MCU software will be an interrupt-based approach
    • Every 5 seconds, interrupt is triggered
    • Both ADC are polled to grab voltage sensor and current sensor values
    • Impedance is calculated and stored as an array of n size, where n is number of nodes (6 for our project)
    • Impedance array sent to ML model through serial communication

Michael Mederos

CpE

23 of 27

SOFTWARE DESIGN (FAULT DETECTION AND LOCATION)

  • Data acquisition
  • Estimating the faulted section
  • Modified radical system
  • Modeling of loads 
  • Estimating sequence voltages and currents at the fault and at the remote node

Pearl Guan

EE

24 of 27

IMPLEMENTATION OF MULTINOMIAL LOGISTIC REGRESSION

  • Training the Machine Learning Model using data acquired from grid simulation
  • Import the model into our active program and use it to make real-time predictions
  • Ability to differentiate between ground and high-impedance faults
  • One model for high-impedance faults and one model for ground faults

David Silvieus, EE

25 of 27

BUDGET

  • BOM shows all purchases made to assemble grid
  • Purchased 5 PCBs
  • Total cost came out to ~$350 after tax.

David Silvieus, EE

Item

Quantity Purchased

Total Price

8:1 MUX

10

$4.30

IC Regulators

4

$3.44

Fixed IND 12UH

4

$3.44

Zener Diodes 5.1V

10

$2.21

Current Sense XFMR

3

$26.50

Adjustable Inductors

10

$5.17

IC MCU

2

$5.78

Crystal 16MHZ Clock

2

$1.00

Capacitors

10

$1.54

STD Diode 1000V 1A

10

$.86

ADJ PWR RES 5OHM

1

$9.36

IC REG Linear -12V

2

$6.26

Zener Diodes 3.3V

10

$1.35

PCB Parts & Assembly

5

$217.43

Current Sensor

2

$15.99

Current Sensor

1

$12.99

Screws

106pc

$17.72

Grand Total

$335.34

26 of 27

WORK DISTRIBUTION

Michael

Julio

Pearl

David

Primary Role: Designer of MCU and software associated with MCU. 

Secondary Role:

PCB Design, voltmeter and current meter design

Primary Role:

PCB Design and building in KICAD. Voltmeter and current meter design

Secondary Role:

Designer of MCU and software associated with MCU. 

Primary Role:

Designing and building the feeder and lateral grid simulation and physical representation

Primary Role: Implementation of Machine Learning into the fault detection system

David Silvieus, EE

27 of 27

ACKNOWLEDGEMENT

Thank you,

  • Dr. Deepal Rodrigo 
  • Dr. Qu Zhihua
  • Dr. Dimitrovski 
  • Kwasi Opoku
  • Dr.  Weeks
  • Kenneth McDonald

David Silvieus, EE