0% found this document useful (0 votes)
7 views10 pages

TechRef Clock

The document provides technical reference information for the Clock model (ElmClock) in DIgSILENT PowerFactory 2018, detailing its function as a pulse generator for digital models requiring clock input. It includes descriptions of clock parameters, signal definitions, and example configurations for dynamic simulations. Additionally, it outlines the necessary conditions for proper clock functionality and includes visual aids such as block diagrams and output signal plots.

Uploaded by

miguelcherop7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views10 pages

TechRef Clock

The document provides technical reference information for the Clock model (ElmClock) in DIgSILENT PowerFactory 2018, detailing its function as a pulse generator for digital models requiring clock input. It includes descriptions of clock parameters, signal definitions, and example configurations for dynamic simulations. Additionally, it outlines the necessary conditions for proper clock functionality and includes visual aids such as block diagrams and output signal plots.

Uploaded by

miguelcherop7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

DIgSILENT

PowerFactory 2018

Technical Reference Documentation


Clock
ElmClock

I N T EG R AT E D P O W E R S Y S T EM A N A LY S I S S O F T WA R E F O R
T R A N S M I S S I O N / D I S T R I BU T I O N / I N D U S T RY / G EN E R AT I O N / I N T EG R AT I O N O F R EN E WA B L E S
Publisher:
DIgSILENT GmbH
Heinrich-Hertz-Straße 9
72810 Gomaringen / Germany
Tel.: +49 (0) 7072-9168-0
Fax: +49 (0) 7072-9168-88
[email protected]

Please visit our homepage at:


http://www.digsilent.de

Copyright © 2017 DIgSILENT GmbH


All rights reserved. No part of this
publication may be reproduced or
distributed in any form without written
permission of DIgSILENT GmbH.

December 4, 2017
PowerFactory 2018
Revision 1
Contents

Contents

1 General Description 1

2 Dynamic Simulation 1

3 Example Configuration 2

A Parameter Definitions 5

B Signal Definitions 5

List of Figures 6

List of Tables 7

DIgSILENT PowerFactory 2018, Technical Reference i


Clock (ElmClock)
2 Dynamic Simulation

1 General Description

The digital models need a clock input to trigger their calculations. The clock is a pulse generator
which provides this signal. The clock model creates a signal with a clock pulse of a given
duration and ratio Ton/Tp. Output signals are clock pulse and clock duration. The output for a
clock signal with Ton/Tp=0.5 looks like:

Ton

0
Tp

Figure 1.1: Clock Output

2 Dynamic Simulation

extfrq output

Figure 2.1: Clock Signals

Used Clock Frequency The extfrq signal input can be used to set the clock frequency. This is
useful if the clock frequency is to be changed during simulation. If a signal is connected to extfrq
the clock frequency is set to extfrq, regardless of the frequency or period set in the dialog box.
If Use measurement Frequency is enabled the clock frequency is set by the Start Measurement
command which is used only for the input of measured signals with a data acquisition board.

In most configurations Use measurement Frequency is disabled, therefore the clock period (Tp)
is required. Both, clock period or clock frequency can be entered, the corresponding quantity is
calculated automatically.

DIgSILENT PowerFactory 2018, Technical Reference 1


Clock (ElmClock)
3 Example Configuration

Table 2.1: Frequency Source

Signal connected to extfrq extfrq not connected


Use measurement Frequency Use measurement Frequency
disabled enabled
clock frequency is extfrq clock frequency is set to the clock frequency is software
parameter frequency of the
clock frequency (cFreq) of the Start Measurement command
element

Note: For proper functionality of the clock it is required that the simulation step size is smaller
than the clock period.

3 Example Configuration

The examples show two small configurations where the Fast Fourier Transformation model is
used to perform a FFT analysis on a signal.The analyzed signal is created with the Fourier
Source model. The clock signal for the FFT is generated by the digital clock.

In the example block diagram on the right the clock frequency is set by an external block.

DIgSILENT
Internal Clock:

Clock Fast Fourier Transformation

output cl
Clock 0
ElmClock

Fourier Source FFT


ElmFft

yo input
Waveform A 1
ElmFsrc

Figure 3.1: Block Diagram with internal clock

DIgSILENT PowerFactory 2018, Technical Reference 2


Clock (ElmClock)
3 Example Configuration

DIgSILENT
External Clock:

External Clock Source Clock Fast Fourier Transformation

extfrq output cl
ExtFrq Clock 0
* ElmClock

Fourier Source FFT


ElmFft

yo input
Waveform A 1
ElmFsrc

Figure 3.2: Block Diagramscwith external clock

Table 3.1: Example settings

Object Variable Value


Simulation ComInc dtemt 5.06e-6 s
dout emt 5.06e-6 s
Clock ElmClock cFreq 12.8 kHz
tonTp 0.5

DIgSILENT PowerFactory 2018, Technical Reference 3


Clock (ElmClock)
3 Example Configuration

DIgSILENT
1.25

1.00

0.75

0.50

0.25

0.00

-0.25
0.00 0.10 0.20 0.30 [ms] 0.40
Clock 1ph: Output

Figure 3.3: Plot clock output signal

DIgSILENT PowerFactory 2018, Technical Reference 4


Clock (ElmClock)
B Signal Definitions

A Parameter Definitions

Table A.1: Clock Parameters

Parameter Description Unit


loc name Name
outserv Out of service
ctrlsim Control simulation step size
iopt meas Use measurement frequency
cFreq Clock frequency kHz
Tp Period ms
tonTp Ratio Ton/Tp

B Signal Definitions

Table B.1: Input/Output signals

Name Description Unit Type Model


extfrq External clock frequency Hz IN RMS, EMT
output Clock Signal OUT RMS, EMT

DIgSILENT PowerFactory 2018, Technical Reference 5


Clock (ElmClock)
List of Figures

List of Figures

1.1 Clock Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

2.1 Clock Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

3.1 Block Diagram with internal clock . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

3.2 Block Diagramscwith external clock . . . . . . . . . . . . . . . . . . . . . . . . . . 3

3.3 Plot clock output signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

DIgSILENT PowerFactory 2018, Technical Reference 6


Clock (ElmClock)
List of Tables

List of Tables

2.1 Frequency Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

3.1 Example settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

A.1 Clock Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

B.1 Input/Output signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

DIgSILENT PowerFactory 2018, Technical Reference 7


Clock (ElmClock)

You might also like