/pz

Arduino Power meter system with Internal PLC

Primary LanguageC++

Arduino Power meter system with Internal PLC

project-image

Features

  • Instant display (voltage, power factor, current, power, frequency)
  • Ability to set automation in 12 modes and 4 relays (Internal PLC)
  • Ability to connect to MATLAB software
  • Ability to connect to the battery
  • Maximum measurable voltage: 280 volts (two-phase, single-phase)
  • The maximum measurable current is 100 amperes (using CT 100:1)
  • The maximum measurable frequency is 60 Hz
  • Voltage measurement accuracy 0.1 v
  • Current measurement accuracy 0.2 A
  • The accuracy of power measurement is 0.4 W
  • Frequency measurement accuracy of 0.1 Hz
  • The accuracy of power factor measurement is 0.01%

point:By changing the resistances of R17 and R16 in PZEM, it is possible to measure the voltage of more than 280 volts (This is a voltage divider circuit).

For example, if R17 is equal to 2 megaohms and R16 is equal to 750 ohms, the voltage can be measured up to 500 volts.

It is also necessary to make changes in the Arduino codes, Additional information in the folder 500 volts

*point 2:This system also supports Modbus protocol. You can add this potkal to it. And it was in contact with other industrial equipment such as HME and PLCs

required pieces ::

Electronic Components

Number
Arduino Nano 1
PZEM004t 1
Liquid Crystal Displays (Character LCD) 1
4-channel relay module 1
push button 5
switch 1
Potentiometer 10 kilo ohms 1
10 kilo ohm resistance 5
n-channel MOSFET 1

Test video 

Connecting power meter to MATLAB and view the data on the chart https://youtu.be/Np4y_KRA4oQ

voltage measurement test https://youtu.be/dCQaTeNKbkk

current measurement test https://youtu.be/r_vkd0LcIXw

Relay function test https://youtu.be/pQEmvJ6B6WI

 

 


Internal PLC settings :

To access the settings menu, we must first turn the MODE key on and set the required parameters with the arrow keys.

parameter in the settings menu use
OVER Voltage Maximum voltage limit
LOW Voltage Minimum voltage 
OVER Current maximum current limit
LOW Frequency minimum frequency
OVER Frequency Maximum frequency limit
LOW POWER FACTOR 1 steps, one power factors
LOW POWER FACTOR 2 steps, two power factors
LOW POWER FACTOR 3 steps, three power factors
TMS 1 SET timer relay one
TMS 2 SET timer relay two
TMS 3 SET timer relay three
TMS 4 SET timer relay four
R1 set the operation mode of relay one
R2 set the operation mode of relay two
R3 set the operation mode of relay three
R4 set the operation mode of relay four

After making the settings, turn the MODE key to the off position so that the data is stored in the permanent memory of the controller

* Each relay timer unit is 100 milliseconds

____________________________________________________________________________________________

A variety of performance modes (R1,R2,R3,R4):

1- reverse time overcurrent function

2- Additional constant time flow function
3-Overvoltage function
4- voltage reduction function
5- frequency reduction function
6- frequency increase function
7- Function of the function of going out of normal mode (frequency, voltage, current)
8-Function of power factor steps of one
9-Function of power factor steps of two
10- Function of power factor steps of three
11-The operation of voltage out of normal mode
12- Function of frequency out of normal mode