[AKD5602A] AKD5602A Evaluation board for AK5602A 1. General Description This manual explains that the function and the way of operating AK5602A evaluation board. This board enables writing and reading of AK5602A’s registers and displaying of the result of measurement and calculation. 2. System configuration PC OUTPUT POWER2 OUTPUT POWER1 V1INP Sig(V1) VINN VOLTAGE IF Power Supply for AK5602A Power Supply for controllers USB Connector USB Controller I1INP Sig(I1) I1INN CURRENT IF V2INP Sig(V2) VINN VOLTAGE IF AK5602A I2INP Sig(I2) I2INN CURRENT IF Photo coupler IF Controller Block for PC V3INP Sig(V3) VINN VOLTAGE IF I3INP Sig(I3) <KM105100> I3INN CURRENT IF AK5602A evaluation board Block Diagram -1- 2010/10 [AKD5602A] < Hardware operating conditions > (1) Power supply to the evaluation board There need two powers in the evaluation board. The one is for measuring block, AK5602A and the other is for IF block to a PC. The power plane and ground plane of measuring block and IF block to PC are separated by photo couplers on the evaluation board. This separation is needed to prevent from causing possible damage to PC. Output power1 (DC: 3V or 5V) for AK5602A and output power2 (DC: 3V or 5V) for IF block to the PC should be connected to the power supply block of AK5602A evaluation board respectively. When AC signal more than 100V is used as the voltage inputs to the evaluation board, AC source of output power1 and output power2 may be separated to prevent from causing possible damage to the PC. (2) The interface to voltage signal input and current signal input Voltage signal input: direct input intended for AC voltage such as 115 V power line or BNC input for signal oscillator. Current signal input: direct input intended for AC current signal at secondary side of Current Transformer or BNC input for signal oscillator. Load resistors of CT on the board should be selected in the direct input connection. The electrical interface of voltage input and current input of AK5602A is differential. < Software operating conditions > OS: Windows 2000 or XP Screen size: 1024 X 768 USB port: 1 channel 3. Installation of software drivers, the system startup and the exit 3 - 1. Installation of USB drivers (needed to execute only once) (1) Connect a USB cable between a PC and the evaluation board after DC power being applied to the evaluation board. (2) If a message, “new hardware is detected” appears on the screen, install AK5602USB.inf file. (3) If the USB driver will have been installed successfully, the assigned communication port number will be displayed at AK5602 EVABOARD Serial Port Driver of COM and LPT of Device Manager. This port number must be selected when the software of the AK5602A system is started. 3 - 2.Start up (Normal operation) (1) Feed the power (+3V or +5V) the AK5602A evaluation board. (2) Connect a USB cable between the evaluation board and the PC. (3) Boot the software of AK_EvaTool_Eng.exe 3 - 3.Exit (1) Exit the program of the evaluation board system. (2) Pull out the USB cable from the evaluation board. (3) Pull out the power cables from the evaluation board. 3 - 4.Others Countermeasures against abnormal conditions When the evaluation board enters in a halt state, try the start up sequence again after conducting the exit sequence written above. <KM105100> -2- 2010/10 [AKD5602A] 4. Function summary Software processes running on PC are divided into three software processes, which are initial mode setting process, measuring process, calculating and drawing process. 4 - 1.Initial mode setting process (1) Set the communication port address of USB for the evaluation board and the rated values of current and voltages to be measured. (2) Set the initial value of registers of AK5602A and display the registers. When setting values into registers, set a writing address and data in a hexadecimal format and press the “Writing” button. When reading values from registers, set a reading address in a hexadecimal format and press the “Reading” button. The modes of RESET, STBY and DISABLE at AK5602A can be controlled by pressing corresponding buttons. These buttons are toggle mode buttons. (3) Set the addresses of displaying data 4 - 2. Measuring process There are an instantaneous process and time interval process in measuring processes. The instantaneous process measures the input signal of current and voltage with 62 samples per one cycle at 50Hz or 52 samples per one cycle at 60Hz. Time interval process measures the active and reactive power for every one second. The instantaneous process measures the instantaneous current, instantaneous voltage, RMS current, RMS voltage, input voltage frequency, instantaneous active power, instantaneous reactive power and instantaneous apparent power every one second for 10 seconds (Maximum is 30 seconds) (Graph1). And the values of registers being appointed are read out and displayed in the measured data screen. Time interval process measures total active power and total reactive power by counting the number of RPO (TPO) or RQO (TQO). It also measures the input voltage frequency, F1, F2 and F3 every one second for 10 seconds (Maximum is 30 seconds). Furthermore, the value of power factor of each input, the phase between input voltage and input current being derived from the power factor and temperature are measured every one second and displayed (Graph2). <KM105100> -3- 2010/10 [AKD5602A] 4 - 3. Calculation and drawing process Based on data acquired by measuring process, the result of calculation is displayed in a hexadecimal format at a table and is displayed in a graph format. (1) Measured data displaying screen V1RMS V2RMS - - - - TEMP S1 S2 - S80 1S 2S 3S 4S 5S 6S 7S 8S 9S 10S F1_CNT F2_CNT F3_CNT RPO RQO TPO TQO <KM105100> -4- 2010/10 [AKD5602A] (2) Graph display on each input (Graph1) The waveform of an instantaneous voltage, instantaneous current, RMS voltage, RMS current, instantaneous active power and instantaneous reactive power and voltage input (Fn) judged by the threshold value are displayed for one cycle. Inst. reactive power Inst. active power Input 1 RMS voltage & current Inst. voltage & current F1 waveform Inst. reactive power Inst. active power Input 2 RMS voltage & current Inst. voltage & current F2 waveform Inst. reactive power Inst. active power Input 3 RMS voltage & current Inst. voltage & current F3 waveform <KM105100> -5- 2010/10 [AKD5602A] (3) Energy graph display The value of total active receiving or transmitting energy and total reactive receiving or transmitting energy which are calculated from the counting number of RPO (TPO) and RQO (TQO) as well as power factor, angle between voltage and current on each input, and the temperature of the LSI are plotted in a same graph. Reactive energy Energy Active energy (KW) 1.5 1.0 0.5 1S 2S 1S 3S 2S 4S 3S 5S 4S 6S 5S 7S 6S 8S 7S 8S 9S 9S 10S 10S Active power [RPO] Active power [TPO] Reactive power[RQO] Reactive power[TQO] Power factor 1 θ1 Power factor 2 θ2 Power factor 3 θ3 Temperature <KM105100> -6- 2010/10 [AKD5602A] 5 – 0. Screen format Program boot Start up screen set up button Main menu screen "Register reading / writing" button Register reading / writing screen "To set up displaying address" button "Return" button "Return" button Display data setting up screen "Measuring / Graph drawing" button "To measure" button "Return" button Measuring screen "To display measured data" button Measured data displaying screen "To display enegy graph" button Energy graphs screen "Return" button "Return" button "To display graphs in each phase" button Graphs in each phase screen "End" button End screen "Return" button "No" button "Yes" button Program terminated <KM105100> -7- 2010/10 [AKD5602A] 5 - 1. Start up screen (1) Communication port assignment USB_I/F, which is used for the evaluation board should be assigned to one of communication ports. Assignment of communication port should be matched to one being assigned by the device driver. (2) Rated voltage and rated current Set the value of rated voltage and rated current, which are used for the calculation of active energy and reactive energy. (3) The screen will jump to “Main menu screen” after storing values being set by (1) & (2) when “To set up” button is pressed. z Stored values will be displayed when the program is booted next time. z Error message will be displayed when wrong setting is executed. z The communication port of PC for using USB port is initialized when “To set up” button is pressed. <KM105100> -8- 2010/10 [AKD5602A] 5 - 2. Main menu screen (1) The screen will jump to the “Register reading / writing screen” when “Register reading / writing” button is pressed. (2) The screen will jump to the “Measuring / Graph drawing screen”, where measuring of such routines as active power, reactive power, instantaneous active power, instantaneous reactive power, RMS voltage and RMS current are executed when “Measuring / Graph drawing” button is pressed. (3) The AK5602A evaluation board program will be terminated when “END” button is pressed. <KM105100> -9- 2010/10 [AKD5602A] 5 - 3 Register reading / writing screen Before reading and writing AK5602A’s registers properly, it is requested to change the state of RESET, STANDBY and DISABLE into “release” mode. (1) Register reading It is possible to read values from registers of AK5602A by writing a reading start address and reading end address in a hexadecimal format and pressing “Reading” button. The maximum number of reading addresses successively is eight. If the input end address is larger than (starting address + 8), the contents of addresses to be read are displayed from the starting address to (starting address + 8). (2) Register writing It is possible to write a value into registers of AK5602A by writing a writing address and pressing “Writing” button. (3) Reading history It is possible to display the history of data strings which have been read by “Register reading”. The reading history can be cleared by pressing “To clear history” button. (4) RESET block “To change” button is a toggle mode button. Whenever the button is pressed, the mode of RESET is changed. For example, if the button is pressed in a RESET mode, the mode of RESET is changed into a RESET release mode. (5) STBY block “To change” button is a toggle mode button. Whenever “To change” button is pressed, the mode of STBY is changed. For example, when the button is pressed in a STBY mode, the mode of STBY is changed into a STBY release mode. (6) DISABLE block “To change” button is a toggle mode button. Whenever “To change” button is pressed, the mode of DISABLE is changed. For example, when the button is pressed in a DISABLE mode, the mode of DISABLE is changed into a DISABLE release mode. (7) Setting the addresses of displaying data The screen will jump to “Measured data displaying screen” when “To set up displaying address” button is pressed. (8) The screen will jump to “Main menu screen” when “Return” button is pressed. <KM105100> - 10 - 2010/10 [AKD5602A] 5 - 4. Display data setting up screen (1) In this display data setting up screen, symbols of displaying 16bit data or 32bit data must be entered .The maximum number of symbols to be displayed is 16. (2) Initial data display symbols are VIRMS (16BIT), V2RMS (16BIT), V3RMS (16BIT), I1RMS (16BIT), I2RMS (16BIT), I3RMS (16BIT), PSUM (32BIT), QSUM (32BIT), SSUM (32BIT), PF1 (16BIT), PF2 (16BIT), PF3 (16BIT), TEMP (16BIT). (3) Regarding measuring period, an integer number between 10 and 30 must be entered. Initial number is 10. (4) Symbols of display data and measuring period are fixed after pressing “To set up” button. (5) The screen will jump to “Measuring screen” when “To measure” button is pressed. (6) The screen will jump to “Main menu screen” when “Return” button is pressed. <KM105100> - 11 - 2010/10 [AKD5602A] 5 - 5. Measuring screen (1) Measurement will be started when “To start measuring” button is pressed. It measures each parameter for every one second from 10 to 30 seconds. Measurement won’t be started under the condition that all of RESET, STBY and DISABLE mode are released. (2) The screen will jump to “Measured data displaying screen” when “To display measured data” button is pressed. (3) The screen will jump to “Active energy and reactive energy display screen” when “To display energy graph” button is pressed. (4) The screen will jump to “Instantaneous waveforms of voltage, current and power display screen” when “To display graphs in each phase” button is pressed. (5) The screen will jump to “Main menu screen” when “Return” button is pressed. <KM105100> - 12 - 2010/10 [AKD5602A] 5 - 6. Measured data displaying screen (1) Displaying data for one second to be selected from entered period can be specified by manipulating UP/DOWN button. 80 samples of data will be displayed for every measurement. (2) Specified data will be displayed on the screen when “To display” button is pressed. (3) Measured data which are specified by symbols are represented in either 16 bit hexadecimal data format or 32 bit hexadecimal data format. (4) F1_CNT, F2_CONT, and F3_CNT display the number of pulses for one second in hexadecimal format at F1, F2, and F3 pin of the AK5602A respectively. Each number represents the digitized frequency of each voltage input. (5) RPO, TPO, RQO, and TQO display the number of pulses for one second in hexadecimal format at the respective pin of the AK5602A. RPO and TPO represent the number of pulses for one second of active energy. On the other hand, RQO and TQO represent the number of pulses for one second of reactive energy. (6) Display period (seconds) of data will be a period set by “Display data setting up screen”. The initial value of the period is 10 seconds. (7) The screen will jump to “Measuring screen” when “Return” button is pressed. <KM105100> - 13 - 2010/10 [AKD5602A] 5 – 7. Energy graph screen Based on the acquired data by the measurement, the numerical value and the graph of active energy and reactive energy are plotted. Furthermore, the numerical value of power factor, the phase angle between each current input and voltage input and the temperature of the LSI are also displayed. Here, power factor1 is PF1, power factor2 is PF2, and power factor3 is PF3. <Calculation method of each parameter> (1) Active energy Active energy = the counting number of pulses for one second of RPO or TPO / 1000 * the rated current * the rated voltage / 1000 [Unit: KW] The value of the rated voltage and current used in this equation is set at “Start up screen”. (2) Reactive energy Reactive energy = the counting number of pulses for one second of RQO or TQO / 1000 * the rated current * the rated voltage / 1000 [Unit: KW] (3) Phase angle between each voltage input and each current input Phase angle n = COS-1 PFn (Arc-cosine PFn) Here, if the polarity of reactive power (Most Significant Bit of Q1 value or Q2 value or Q3 value equals “1”) is negative, the phase angle n is represented in the negative value. (4) The screen will jump to the “Measuring screen” when “Return” button is pressed. <KM105100> - 14 - 2010/10 [AKD5602A] 5 – 8. Instantaneous waveforms of voltage, current and power display screen Based on the acquired data by the “Measuring screen”, the instantaneous value of each parameter per sample is plotted. The value to be plotted is the instantaneous voltage, instantaneous current, RMS voltage, RMS current, instantaneous active power, instantaneous reactive power, instantaneous apparent power, and Fn. (1) Displaying data for one second to be selected from entered period can be specified by manipulating “UP/DOWN” button. (2) Specified graph will be displayed on the screen when “To display graph” button is pressed. (3) Graphs to be displayed are selected by checking the checking box of each graph. The following graphs can be selected. z Instantaneous voltage graph z Instantaneous current graph z RMS voltage graph z RMS current graph z Instantaneous active power graph z Instantaneous reactive power graph z Instantaneous apparent power graph z F1,F2,F3 frequency graph (4) Instantaneous values of input1, input2, input3 are plotted on the screen. (5) The screen will jump to the “Measuring screen” when “Return” button is pressed. (6) Displaying graph of each parameter: z Input1 instantaneous voltage value : 16 bit AD conversion value of V1AD z Input1 instantaneous current value : 18 bit AD conversion value of I1AD z Input1 RMS voltage value : 14 bit value of V1RMS z Input1 RMS current value : 16 bit value of I1RMS z Input1 instantaneous active power value : 20 bit value of P1 active power z Input1 instantaneous reactive power value : 20 bit value of Q1 reactive power z Input1 instantaneous apparent power value : 20 bit value of P1 RMS power <KM105100> - 15 - 2010/10 [AKD5602A] z z z z z z z z z z z z z z z z z Input1 F1 frequency : Digital waveform at F1 pin of the LSI Input2 instantaneous voltage value : 16 bit AD conversion value of V2AD Input2 instantaneous current value : 18 bit AD conversion value of I2AD Input2 RMS voltage value : 14 bit value of V2RMS Input2 RMS current value : 16 bit value of I2RMS Input2 instantaneous active power value : 20 bit value of P2 active power Input2 instantaneous reactive power value : 20 bit value of Q2 reactive power Input2 instantaneous apparent power value : 20 bit value of P2 RMS power Input2 F2 frequency : Digital waveform at F2 pin of the LSI Input3 instantaneous voltage value : 16 bit AD conversion value of V3AD Input3 instantaneous current value : 18 bit AD conversion value of I3AD Input3 RMS voltage value : 14 bit value of V3RMS Input3 RMS current value : 16 bit value of I3RMS Input3 instantaneous active power value : 20 bit value of P3 active power Input3 instantaneous reactive power value : 20 bit value of Q3 reactive power Input3 instantaneous apparent power value : 20 bit value of P3 RMS power Input1 F3 frequency : Digital waveform at F3 pin of the LSI <KM105100> - 16 - 2010/10 [AKD5602A] 6. Jumper Pins Function Table JP# Function 1 Voltage Input 1 resistor selection (inline 400kΩ) 2 Voltage Input 1 resistor selection (pull down 1kΩ) 3 DVSS-AVSS connection 4 Voltage Input 2 resistor selection (inline 400kΩ) 5 Voltage Input 2 resistor selection (pull down 1kΩ) 6 Voltage Input 3 resistor selection (inline 400kΩ) 7 Voltage Input 3 resistor selection (pull down 1kΩ) 8 Current positive input 1 resistor selection (75Ω) 9 Current positive input 1 resistor selection (22Ω) 10 Current negative input 1 resistor selection (75Ω) 11 Current negative input 1 resistor selection (22Ω) 12 VREFI selection 13 Current positive input 2 resistor selection (75Ω) 14 Current positive input 2 resistor selection (22Ω) 15 Current negative input 2 resistor selection (75Ω) 16 Current negative input 2 resistor selection (22Ω) 17 Current positive input 3 resistor selection (75Ω) 18 Current positive input 3 resistor selection (22Ω) 19 Current negative input 3 resistor selection (75Ω) 20 Current negative input 3 resistor selection (22Ω) 21 PWR1-PWR2(+5V) connection 22 DGND(PC)-DVSS(AK5602A) connection 23 DGND(PC)-DVSS(AK5602A) connection 24 For debugging use 25 Operation by USB Vbus power <KM105100> Reference Open when connected to the high voltage power line directly. Short when connected to the high voltage power line directly. Normally open Open when connected to the high voltage power line directly. Short when connected to the high voltage power line directly. Open when connected to the high voltage power line directly. Short when connected to the high voltage power line directly. Short when CT load is 150Ω. Short when CT load is 44Ω. Short when CT load is 150Ω. Short when CT load is 44Ω. Normally internal VREF. Short when CT load is 150Ω. Short when CT load is 44Ω. Short when CT load is 150Ω. Short when CT load is 44Ω. Short when CT load is 150Ω. Short when CT load is 44Ω. Short when CT load is 150Ω. Short when CT load is 44Ω. Normally open. Normally open. Normally open. Normally open. Normally open. - 17 - 2010/10 [AKD5602A] IMPORTANT NOTICE z These products and their specifications are subject to change without notice. When you consider any use or application of these products, please make inquiries the sales office of Asahi Kasei Microdevices Corporation (AKM) or authorized distributors as to current status of the products. z Descriptions of external circuits, application circuits, software and other related information contained in this document are provided only to illustrate the operation and application examples of the semiconductor products. You are fully responsible for the incorporation of these external circuits, application circuits, software and other related information in the design of your equipments. AKM assumes no responsibility for any losses incurred by you or third parties arising from the use of these information herein. AKM assumes no liability for infringement of any patent, intellectual property, or other rights in the application or use of such information contained herein. z Any export of these products, or devices or systems containing them, may require an export license or other official approval under the law and regulations of the country of export pertaining to customs and tariffs, currency exchange, or strategic materials. z AKM products are neither intended nor authorized for use as critical componentsNote1) in any safety, life support, or other hazard related device or systemNote2), and AKM assumes no responsibility for such use, except for the use approved with the express written consent by Representative Director of AKM. As used here: Note1) A critical component is one whose failure to function or perform may reasonably be expected to result, whether directly or indirectly, in the loss of the safety or effectiveness of the device or system containing it, and which must therefore meet very high standards of performance and reliability. Note2) A hazard related device or system is one designed or intended for life support or maintenance of safety or for applications in medicine, aerospace, nuclear energy, or other fields, in which its failure to function or perform may reasonably be expected to result in loss of life or in significant injury or damage to person or property. z It is the responsibility of the buyer or distributor of AKM products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third party in advance of the above content and conditions, and the buyer or distributor agrees to assume any and all responsibility and liability for and hold AKM harmless from any and all claims arising from the use of said product in the absence of such notification. <KM105100> - 18 - 2010/10 望 言 後 憲 :!こ 宝:§ 鍵怒 !::::ラ 。 。 専 こ 襲 襲 醤箋奎 ご 建 著 ぞ と ロ ヨ g!:箋::三 ξ ζ 攀 諄言 i官 Itt 斐 ]を ξ ョ ζ ttd ヨ ヨ ヒヨ ヨ ヨヨ 三 tヨ B 壼差 重旨 歯eptte::gg〔 ド と B6言 と こ ぢ B5旨 む 歯里 ヨ E鬱 置 諺 ど :g骨 言 こ ヨ ヨこ ご :I:こ 盈徹 鳳脇 lel V ∞働帥. 岱一 Э R [閾[中[囮的ゅ“一中雨 程呻燦 XI寸 鯉鰤 削 削 劇期 ぃ 枷 Ⅳ ギ 6 曲 :VREF0 iη 旨鷺宮ッ旨 :息 三 vャ Power 5v 山 珈 陣祥Lドξ 心 謀す鳩鵜 。 堕O C ︲ ︲ ︲ 涅こ 詳・ ュビ . 一 ︲ ︲ 学 F J E ・ と ^ じ ・・ 違学 聰 協岳 0 侵 盆司 日あ 足 六 鋲 目 一 一 室主 詐・ 一 朝ュ 期ュ 鵡乱憾二 :ミ 売:豊聴 ぱ 0 8 0 おα 0 瑶為ド :三 !三 0 「 ミ! C 特雨 苺・ 嵯g: 4_ヽ lt 憂 筆 露唇妻露受受葺毒受母軍≡営受髯巽毒隻≡民霊穏 彙輩 kミ マq簑 翌驚景fヨ 冨 望 こ 擬 ::目 目 言 息 言 三 百 魯 自 言 言 三 言 !撃 │こ IB18彗 目曇雲 目通遺ヨ 麓目蔵目ξ言言言置 :3,経 131讐 ::著 音 麹等 車 ミ 0り∽∽<∝ :Sヨ 鐵 尊 ヨ薔 壼 車 33 5:ョ 三:: 欺 欺 欺 欺 欺 転 呻 呻 呻 [ 呻 呻 呻 [ 呻 [ [ 蝉 蝉 蝉 ﹄ 蝉 蝉 蝉 呻 [ 櫛” い ・い い い´ 軍 1番 ヨ 攣拍車 あ ” お 解引畔 :│ヨ 韓欝 一一 噛 れ 挙 一 ・ :3ヨ 装監沖章亜一 郵漁 謹 ヨ :£ 島 :与 望 芹 略 中 一 中 呻 ぃ ︻ れ 螂 呻 蝉 蝉 呻 蝉 蝉 蝉 蝉 蝉 呻 呻 呻 呻 剪 ] 呻 ] ] ”呻 称 瓢 鶴 もΞ USB 1/F 呻 Vで Power Sv R莉 瀞 艦 │ 夢 Of・ υ S8F=VB∝ く コ ー v 0 8 駕ど 蓮 R幾 ユ===武 短ク = 引 醸﹃ 閣 鋼 I 餓辟 姉 蜘 ] . ① 呻 H 研姫 E ② W P 円 19 」 Power 3.3v l.5v 鞍鞄 RS232C(fclr Debug) 匙 拭0 ρ SSC9/V