KM35Z512 Three-Phase Power Meter

cancel
Showing results for 
Search instead for 
Did you mean: 

KM35Z512 Three-Phase Power Meter

358 Views
mehmetkırgözoğl
Contributor I

I am using TWR-KM35Z75M and working on building a 3-Phase Power Meter. 

When I looked all  Application Notes I just found AN12837 (KM35Z512 based One-Phase Smart Power Meter Reference Design) as an example for KM35 series but I couldn't find 3-Phase Application Note.Also, I couldn't find the application software based on AN12837, which mentions about using MKM35Z512 bare-metal software drivers but it seems MKM34Z256 bare metal software drivers (5. Referance of AN12837). The MKM34Z256 bare metal software drivers is too old, is there any new bare metal software drivers?

Moreover, I couldn't understand that voltage signals are connected to 3 comparator channels (0, 2 and 5) but in their application software just 1 comparator channel is initialized in the DRM162 and DRM147. And application softwares are using Filter-Based Algorithm, is there any 3-Phase power meter application software using FFT-Based Algorithm?

Thanks in advance.

Regards,

Mehmet.

 

 

0 Kudos
3 Replies

339 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

 

I suggest you use for reference the SDK examples. Here you can download the SDK for the TWR-KM35Z75M https://mcuxpresso.nxp.com/en/welcome.

There you can find examples of the use of the power metering library in different use cases that can be useful.

 

Let me know if this is helpful, if you have more questions do not hesitate to ask me.

Best regards,

Omar

0 Kudos

317 Views
mehmetkırgözoğl
Contributor I

Hello Omar, 

Thank you getting back to me. Well, there are useful metering library examples.

But, for the 3-Phase meter design, I couldn't see 3 comparator channels in application software where the 3 comparator channels connected to CMP0_IN0, CMP0_IN2 and CMP0_IN5 (DRM162). Also in my application I couldn't get any interrupt from comparator channels.

How should I use comparator channels (for the zero cross measurement) ? 

0 Kudos

306 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

 

CMP1 and CMP2 are used for zero-crossing detection. I suggest you refer to the cmp_interrupt example to integrate it into the 3-phase design.

For more detailed information about the comparator, I suggest you check chapter 33 of the reference manual.

 

Let me know if this is helpful, if you have more questions do not hesitate to ask me.

Best regards,

Omar

0 Kudos