Faults Detector For A Wiring System - Arduino-: University Politehnica of Bucharest
Faults Detector For A Wiring System - Arduino-: University Politehnica of Bucharest
Faults Detector For A Wiring System - Arduino-: University Politehnica of Bucharest
ION-PETRUȚ SIMA
ISEIA
Contents
1.Introduction ................................................................................................................................................ 3
2. Main Components of the project ............................................................................................................... 4
2.1 Arduino MEGA 2560 (ATmega 2560+ CH340) ................................................................................ 4
2.2. LCD MODULE 1602 ........................................................................................................................ 5
2.3. Current sensor Hall ACS712 (20A) ................................................................................................... 6
3. Annex ....................................................................................................................................................... 8
4. Conclusions ......................................................................................................................................... 10
5. Bibliography ........................................................................................................................................ 11
1.Introduction
Time Domain Reflectometry (TDR) technique has, for many years been used to
find faults in electrical wiring. Faults in electrical wires can arise in many
environments including residential and corporate structures, road vehicles, surface
and underground trains, ships, power plants and mines. Although TDR is well
known, and is frequently used in many fields, ranging from ecology to detection of
faults in microelectronic circuits, the systems developed so far are incapable of
detecting minor faults resulting from insulation damage and partial degradation of
electrical wires. In aircraft, insulation damage may be caused, for example, by
over-tightened fasteners and clips holding aircraft wire harnesses in place against
the airframe, or to the rubbing of harnesses against sharp metal edges.
Fig.1 Model of the 10-metre twin cable showing the meshed geometry, the boundary of the solution
domain
As we all know, though LCD and some other displays greatly enrich the man-
machine interaction, they share a common weakness. When they are connected to a
controller, multiple IOs will be occupied of the controller which has no so many
outer ports. Also it restricts other functions of the controller. Therefore, LCD1602
with an I2C bus is developed to solve the problem.
I2C bus is a type of serial bus invented by PHLIPS. It is a high performance serial
bus which has bus ruling and high or low speed device synchronization function
required by multiple-host system. The blue potentiometer on the I2C LCD1602
(see the figure below) is used to adjust the backlight for better display. I²C uses
only two bidirectional open-drain lines, Serial Data Line (SDA) and Serial Clock
Line (SCL), pulled up with resistors. Typical voltages used are +5 V or +3.3 V
although systems with other voltages are permitted.
Fig.3. LCD MODULE 1602 fron and back
Components:
- 1 * SunFounder Uno board
- 1 * I2C LCD1602 module
- 1 * USB cable
- Several jump wires
ACS712 Current Sensor Module - 20A can sense upto 20A of current flow.
Sensing and controlling the current flow is a fundamental requirement in wide
variety of applications, which includes over-current protection circuits, battery
chargers, switching mode power supplies, digital watt meters, programmable
current sources, etc.
ACS712 Current Sensor Module - 20A is based on ACS712 sensor, which can
accurately detect AC or DC current. The maximum AC or DC that can be detected
can reach 20A, and the present current signal can be read via analog I / O port of a
microcontroller or an Arduino.
ACS712 Current Sensor Module - 20A Technical Specifications:
*Output Voltage: Analog output 66mV / A
*Operating Voltage Range: 4.5V ~ 5.5V
*No Current Output voltage is: VCC / 2
*PCB board size: 31 (mm) x14 (mm)
*5 μs output rise time in response to step input current
*80 kHz bandwidth
*Total output error 1.5% at TA = 25°C
*1.2 mΩ internal conductor resistance
*2.1 kVRMS minimum isolation voltage from pins 1-4 to pins 5-8
*66 to 185 mV/A output sensitivity
Arduino code
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// -----------------------------------
// -----------------------------------
// Hall initialization area
// -----------------------------------
float cutOffLimit = 0.5;// set the current which below that value, doesn't matter. Or
set 0.5
float sensitivity[] ={
0.185,// for ACS712ELCTR-05B-T
0.100,// for ACS712ELCTR-20A-T
0.066// for ACS712ELCTR-30A-T
};
const float QOV = 0.5 * VCC;// set quiescent Output voltage of 0.5V
float voltage;// internal variable for voltage
void setup()
{
// initialize the LCD,
lcd.begin();
void loop()
{
// -----------------------------------
// Hall sensor current calculation area
// -----------------------------------
lcd.clear();
if(abs(current) > cutOffLimit ){
lcd.clear();
lcd.print("Wire system OK");
}else{
lcd.clear();
lcd.print(" Wire error");
lcd.setCursor (0,1); // go to start of 2nd line
lcd.print(" No current");
}
delay(500);
}
4. Conclusions
Models of electrical wires with insulation flaws were constructed, and were
subjected to simulated TDR(Time Domain Reflectometry) tests in the QuickWave
FDTD solver. The outcome of the simulations shows significant similarity in the
comparative results, even though the TDR pulse width was much larger than the
size of the flaw, and the modelled flaw was much smaller. The paper shows that
modelling results obtained can be used in order to develop more elaborate
experimental techniques (in this case based on TDR method), in order to detect
small faults in wire insulation.
5. Bibliography
[1] Furse, C., Chung, Y.C., Dangol, R., Nielsen, M., Mabey, G., and Woodward,
R., "Frequency-Domain Reflectometry for on-Board Testing of Aging Aircraft
Wiring," IEEE Transactions on Electromagnetic Compatibility, Vol. 45, No.2, pp.
306-315, May 2003.
[2] Dodds, D.E., "Single-Ended FDR to Locate and Specifically Identify DSL
Loop Impairments", IEEE International Conference on Communications 2007
(ICC '07), pp. 6413 - 6418, June 2007.
[3] Navaneethan, S., Soraghan, J.J., Siew, W.H., McPherson, F., and Gale, P.F.
"Automatic fault location for underground low voltage distribution networks,"
IEEE Trans. Power Del., vol. 16, no. 2, pp. 346–351, Apr. 2001. [4] CONCERTO
7 Reference Manual, Vector Fields Ltd, Oxford, 2008. [5] Shirkoohi, G.H., Hasan,
K., "Enhanced TDR Technique for Fault Detection in Electrical Wires and
Cables," 2nd Interational Symposium on NDT in Aerospace, Hamburg, Germany,
Nov. 2010.