Electronic Components Datasheet Search
  English  ▼

X  

MX844 Datasheet(PDF) 12 Page - IXYS Corporation

Part # MX844
Description  12 BIT, MULTI-CHANNEL POWER & TEMP SENSOR FOR MONITOR & CONTROL SYSTEMS
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  IXYS [IXYS Corporation]
Direct Link  http://www.ixys.com
Logo IXYS - IXYS Corporation

MX844 Datasheet(HTML) 12 Page - IXYS Corporation

Back Button MX844 Datasheet HTML 8Page - IXYS Corporation MX844 Datasheet HTML 9Page - IXYS Corporation MX844 Datasheet HTML 10Page - IXYS Corporation MX844 Datasheet HTML 11Page - IXYS Corporation MX844 Datasheet HTML 12Page - IXYS Corporation MX844 Datasheet HTML 13Page - IXYS Corporation MX844 Datasheet HTML 14Page - IXYS Corporation MX844 Datasheet HTML 15Page - IXYS Corporation MX844 Datasheet HTML 16Page - IXYS Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 21 page
background image
MX844
12
08/25/06
Drawing No. 084423
www.claremicronix.com
MX844
IXYS
The software performs the following tasks:
1) Synchronize to the EEPROM address.
2) Acquire 256 samples.
3) Separate into 128 voltage readings and 128 current readings.
4) Calculate the RMS value of the voltage and the current (standard deviation of the 128 data set).
Apparent power is Vrms * Irms.
5) Perform "flat top" windowing and then FFT on the voltage to determine the whether the frequency is
60Hz or 50Hz.
The FFT also gives an RMS amplitude value for the voltage.
6) Determine the voltage at the time of the current measurements by sine wave interpolation between
each pair of voltage readings.
7) Calculate the real power using the 128 measured current values and the 128 interpolated voltage
values. Also calculate the power factor.
Program listing:
/* This program reads alternating samples of voltage and current from
*/
/* the MX844 AOUT terminal which is connected to a PC com1 port with
*/
/* the demo board circuitry.
*/
/* This demo program directly accesses the PC's 16550 UART using inp()
*/
/* and outp() functions and therefore must be compiled and run in
*/
/* real mode (DOS box) under win98.
*/
#include <stdio.h>
#include <conio.h>
#include <math.h>
void frier(double *, double *, int);
int round(double);
#define NMAX 256
double xd[NMAX+2];
double yd[NMAX+2];
double pd[NMAX+2];
FILE *inf;
int lost, m, onez, twoz, rdata, i, j, w, d[4*NMAX];
int ad[NMAX], ad2[NMAX], n[NMAX], n2[NMAX];
long t;
int np,imax;
double rt2,ln10,min,max,fmax,k,pi,nbw,resHz,samHz;
double wt, b, a, vrms, irms, pf, rp, cv;
double ivsum, sum, ss, sumi, ssi, aw, av;
float vscale, iscale;
main(argc,argv)
int argc;
char *argv[];
{
rt2 = sqrt(2);
ln10 = log(10);
pi = 4 * atan(1);
np = 128;
/* number of points in FFT time series */
/* use the following line for 12MHz clock with a divider of 8
or 6MHz clock with a divider of 4 */
/* samHz = 12e6/8/4096/2;*/
/* use the following line for 8MHz clock with a divider of 4 */
samHz = 8e6/4/4096/2;
vscale = (0.250 / 2048) * 1629 ; /* 440K & 270 resistor divider */
iscale = (0.050 / 2048) / 0.002; /* 0.002 ohm shunt */



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com