|
|
Número de pieza | PM9603AP | |
Descripción | SINGLE PHASE POWER/ENERGY METERING MODULE SPI INTERFACE | |
Fabricantes | Sames | |
Logotipo | ||
Hay una vista previa y un enlace de descarga de PM9603AP (archivo pdf) en la parte inferior de esta página. Total 18 Páginas | ||
No Preview Available ! sames
SA9603B APPLICATION NOTE
PM9603AP
SINGLE PHASE POWER/ENERGY METERING MODULE
SPI INTERFACE
FEATURES
n Performs both power and energy n Uses a shunt resistor for current sensing
measurement
n Operates over a wide temperature
n Meets the accuracy requirements for
range
Class 1 AC Watt hour meters
n Isolated SPI interface.
n Protected against ESD
n Total power consumption rating below
500mW (excluding current sensing)
DESCRIPTION
The SAMES single phase power/energy metering module, the PM9603AP, provides
energy data via a isolated SPI interface.
Energy consumption is determined by the power measurement being integrated over
time.
The method of calculation takes the power factor into account.
The output of this innovative universal power/energy meter is ideally suited for energy
calculations in applications using a micro-controller.
The application utilises the SAMES SA9603B power metering integrated circuit for power
measurement.
As a safety measure, this application shows the current sensor connected to the neutral
line. In practice, the live line may be used for current sensing, provided that the supply
connections (MAINS) are reversed on the module.
7131
PDS038-SA9603B-001
REV.A
1/16
5-09-97
1 page PM9603AP
The current sense input requires a differential approach to cater for precision across
the dynamic range. It is therefore important that the PC board layout of the branches
to the sensing element, are as symmetrical as possible and the loop area is kept to
a minimum.
The most important external components for the SA9603B integrated circuit are:
R2, R1 and RSH are the resistors defining the current level into the current sense input.
The values should be selected for an input current of 16µARMS into the SA9603B at
rated line current.
Values for RSH of less than 200µΩ should be avoided.
R = R = (I /16µA ) * RSH/2
1 2L
RMS
Where I = Line current
L
RSH = Shunt resistor/termination resistor
R , R and R set the current for the voltage sense input. The values should be
36
4
selected so that the input current into the voltage sense input (virtual ground) is set
to 14µARMS.
R7 defines all on-chip bias and reference currents. With R7 = 24kΩ, optimum
conditions are set.
XTAL is a colour burst TV crystal (f = 3.5795MHz) for the oscillator. The oscillator
frequency is divided down to 1.7897MHz on-chip and supplies the A/D converters
and the digital circuitry.
7. Demonstration Software
Software which runs under Windows 3.1 and Windows 95 is provided with each
evaluation module. See README.TXT on the diskette supplied for the installation
instructions.
8. Sample C source code
The following software demonstrates how to synchronize the reading of the registers
to the SA9603B's internal offset cancellation scheme. The software is also available
on the SAMES Internet web pages.
sames
5/18
5 Page int prt, buffindex = 0;
PM9603AP
double convert_24bits(double value)
// This function will sort out the 24 bits of the register
values
{
if (fabs(value) > 0x7FFFFF)
{
if (value > 0)
value = (16777216-value) * (-1);
else
value = (16777216+value)* (1);
}
return(value);
}
void spi_wait(void)
// This function will wait for the specified period, very
short time
{
int ti;
for (ti = 1; ti < 1 ; ti++);
}
void spi_out(unsigned char value)
// Put value on the parallel port
{
int n;
portval = value;
outport(prt,(~portval));
// Remove the ~ if you dont use opto couplers
for(n=0 ; n< delay_time ; n++); // Specify the pulse
width
}
void spi_clock(void)
// This function will pulse CLK pin of spi port
{
spi_wait();
spi_out(portval | CLK_b); // or
spi_wait();
sames
11/18
11 Page |
Páginas | Total 18 Páginas | |
PDF Descargar | [ Datasheet PM9603AP.PDF ] |
Número de pieza | Descripción | Fabricantes |
PM9603AP | SINGLE PHASE POWER/ENERGY METERING MODULE SPI INTERFACE | Sames |
Número de pieza | Descripción | Fabricantes |
SLA6805M | High Voltage 3 phase Motor Driver IC. |
Sanken |
SDC1742 | 12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters. |
Analog Devices |
DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares, |
DataSheet.es | 2020 | Privacy Policy | Contacto | Buscar |