Professional Documents
Culture Documents
ii
iii
iv
1.1
Introduction
Previous descriptions in this manual show that the UPS can broadly be divided
into three major areas, each of which is largely independently controlled i.e:
the rectifier (See section 4)
the inverter (See section 5)
the static switch (See section 6)
However, a study of these sections show that there is also a degree of commonality concerning certain of their control functions; for example, the way in which
their required analogue sense signals are processed and applied, and their operating parameters set from the Operator Control Panel.
The chapters in this section (7) describe those boards concerned with servicing the
control requirements of all three of the major power sections mentioned above,
and as such are the boards that bring together the control functions of the entire
UPS system hence the section title UPS System Control. A block diagram showing the relationship between the System Control boards and the other UPS control
areas is shown in Figure 7-1.
High Voltage Interface Board
These two boards provide the digital interface between the Operator and the UPS
Logic Board and permit two-way data communication i.e. metering data generated on the UPS Logic Board are processed on the Operator Logic Board and then
presented to the Operator Control Panel; conversely, parameter settings and
manual control inputs entered at the Operator Control Panel are passed through
the Operator Logic Board processing circuits to the UPS Logic Board where they
impinge on the microcontrollers decision-making operation.
7-1
Input
Choke
Operator Control
Panel
Q1 Aux
Q2 Aux
Q3 Aux
Input voltage sense
Input current sense
DC Bus voltage sense
Battery current sense
Rectifier Logic
Board
Drive (Trigger)
Interface Bd.
Battery current sense
Bypass Mains
Input mains
Q3 Aux
Phase
Controlled
Rectifier
DC Busbar
filter
capacitors
CBbat Aux
Rectifier Control
High Voltage
Interface Board
Inverter Logic
Board
Inverter Base
Drive Bds.
3 Phase
Power
Inverter
Inverter Control
Bypass
Isolator
Input
Input
Isolator Fuses
Q1 Aux
Q2 Aux
CBbat Aux
Inverter current sense
Inverter voltage sense
Bypass voltage sense
Output voltage sense
Output current sense
Q4 Aux
Battery Breaker Trip
Output
Tfrmr
filter
capacitors
7-2
Output voltage sense
System Control
Parallel Logic
Board (1+1 only)
Static Switch
Driver Board
Drive (Trigger)
Interface Bd.
Inverter-side
Contactor
Static Switch
Control
Bypass-side
Static Switch
Output
Isolator
ON GENERATOR
Remote Alarms
Q4 Aux
Maintenance Bypass
Isolator
Critical Load
Several forms of Alarm Interface Board are available to allow remote indication
of the alarms generated on the UPS Logic Board (refer to the Options Section of
this manual). These boards also permit the connection of certain basic external
controls; such as on-generator, sync inhibit, second stage current limit etc.
UPS Logic Board
As is evident from reading the earlier part of this chapter, the UPS Logic Board
is central to the whole System Control function.
This board, which is micro-controller driven, accepts various analogue and digital
inputs from the High Voltage Interface Board, Operator Control Board and Alarm
Interface Board (optional) and provides the necessary control and alarms signals
used by the remainder of the UPS control areas. It also monitors various alarm and
status signals from the rectifier, inverter and static switch control sections and
produces appropriate alarms and control logic signals.
The board is software-driven and a description of the software functions and flowcharts are provided at the end of this section (see Chapter 7).
In a 1+1 configured system the UPS Logic Board is also fed with various control
and status signals from the Parallel Logic Board pertaining to the parallel-control
functions (See section 8).
7-3
7-4
Section 7:
2.1
Chapter overview
This chapter contains a circuit description of the High Voltage Interface Board
used across the whole model 7200 Series UPS range and should be read in conjunction with circuit diagram SE-4590054-O (2 pages).
Signal annotations shown on the circuit diagrams are shown in italics in the following text e.g. VINV_A.
2.2
General description
The purpose of this board is to provide an interface between the high voltage environments of the UPS power circuitry and the low voltage environment of the
system control boards. The high voltage sense signals taken from various parts of
the power circuitry are therefore attenuated on this board before being applied to
their appropriate control circuits.
In addition to providing signal attenuation the board also contains calibration facilitates for those signals which are power-related. This allows the board to be
used across the entire model range providing the calibration links are set appropriately.
All the low-voltage signals are connected to the UPS Logic Board via socket X1
and ribbon cable W8: the remaining IDC connectors (X2 to X27) carry the high
voltage signals.
Table 7-1on the following page provides an overview of each connectors function and this is followed by a more detailed circuit description.
Power supplies
The 12V control power rails required by the boards op-amps are obtained from
the UPS Logic Board and connected via X1 pins 1-12 as shown on the circuit diagram page 2.
7-5
.
Table 7-1: Connector summary
7-6
X1
X2
X3
X4
X5
X6
X7
X8
X9
X10
X11
X12
X13
X14
Not in use
X15
X16
X17
X18
X19
X20
X21
X22
X23
X24
X25
X26
X27
2.3
Detailed description
The remainder of this chapter contains a detailed description of the circuits associated with each of the above connectors.
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
7-7
Note: the inverter voltage is connected to X5 from the junction of the output transformer and inverter output contactor and is present only when the inverter is operating. When the inverter output contactor is closed (load on inverter) the voltage
applied to X5 is identical to the output voltage sense signals applied to X4 (see
above) these two signal groups can therefore be considered as monitoring either
side of the inverter output contactor.
2.3.6
2.3.7
2.3.8
X8
79
81
82
77
76
1
2
3
4
5
6
7
HVI Board
Customer T.B
A +5V battery circuit breaker enable signal is generated on the UPS Logic
Board and connected to the High Voltage Interface Board X1-54 from where it
passes directly through X8-2 to the customer T.B. X3-6. From here, the signal is
taken via external wiring to the trip circuit on the Battery Circuit Breaker Controller Board. The battery circuit breaker will trip if this enable supply is removed (note that X8-5 provides the enable signal 0V return path).
7-8
Auxiliary contacts of the battery circuit breaker make the circuit between X8
terminals 4 and 5 (0V) when the breaker is closed. This is fed as a logic low circuit breaker closed status signal (SW_BAT) to the UPS Logic Board via X1-53.
When the circuit breaker is open SW_BAT is pulled up to 4.7V due to V11.
Emergency Stop
2.3.10
2.3.11
2.3.12
7-9
2.3.13
2.3.14
2.3.15
2.3.16
2.3.17
2.3.18
2.3.19
2.3.20
7-10
2.3.21
2.3.22
2.3.23
2.3.24
2.3.25
2.3.26
2.3.27
7-11
2.4
Summary information
Table 7-2: High Voltage Interface Board configuration links
7-12
Jumper
Link
Position
0-1
X31
0-2
0-3
0-1
0-2
0-3
0-1
0-2
0-3
Function
3.1
Chapter overview
This chapter contains a circuit description of the current UPS Logic Board used
across the whole 7200 Series UPS model range, and should be read in conjunction
with circuit diagram SE-4550007-H (7 pages).
Part N SE-4550007-H is a direct replacement for Part N SE-4550004-E which
may be fitted to units manufactured prior to February 1997. Though their are only
minor differences in the two PCBs a full explanation of the UPS Logic Board Part
N SE-4550004-E can be found in Section 20 Chapter 4.
Signal annotations shown on the circuit diagrams are shown in italics in the following text e.g. [CLKOUT>.
3.2
3.2.1
General description
Circuit board functions
Figure 7-3: UPS Logic Board connections
Rectifier
Logic Board
X2
Inverter
Logic Board
X4
Static Switch
Driver Board
X13
X1
X3
X5
X7
X8
X1
High Voltage
I/face Board
X1
External
Alarm Options
X6
Parallel X2
Control
Logic
X3
X4
X2
X9
Operator
Logic Board
Operator
Control
Panel
The position of the UPS Logic Board with respect to the other control boards
places it at the heart of the UPS control operation and its functional responsibilities can be broadly summarised as follows:
Motherboard
One of the most basic functions provided by the UPS Logic Board is to act
as a motherboard for signals travelling directly between any of the other
circuit boards connected to it: e.g. the input voltage sense signals passes
directly from the High Voltage Interface Board to the Rectifier Logic
7-13
Board.
System control
The UPS Logic Board contains a microprocessor-based control system
which reads various status signals derived on the other circuit boards and
produces several system control logic signals: e.g. stop/start signals to
the Rectifier/Inverter Logic Boards, and transfer command signals to the
Static Switch Interface Board.
Alarms control
The UPS Logic Board acts as an assembly point for alarm signals generated on the various other boards, together with those generated on the UPS
Logic Board itself, and controls their distribution to the Operator Control
Panel and External Alarms Options under microprocessor supervision.
Operator programming interface
The UPS Logic Board microprocessor enforces the programmable system
operating parameters selected by the operator, via the Operator Logic
Board, onto the system control logic
Static Switch transfer control
The UPS Logic Board contains decision-making logic which controls the
load transfer events between the inverter and static bypass supplies.
3.2.2
Input/Output connections
The UPS Logic Board has eight connectors (See Figure 7-3) whose connections
are summarised below.
X1 System control and monitoring signals to/from the Rectifier Board
4520074-A (See Table 7-3).
X2 System control and monitoring signals to/from the High Voltage
Interface Board 4590054-O (See Table 7-4).
X3 System control and monitoring signals to/from the Inverter Logic
Board 4530025-T (See Table 7-5).
X4 Power supply to Operator Logic Board 4550005-F (see circuit diagram sheet 7).
X5 System control and monitoring signals to/from the Static Switch
Driver Board 4542043-Z (See Table 7-6).
X6 Data/logic to/from Operator Logic Board 4550005-F (see circuit diagram sheet 7).
X7 System control and monitoring signals to/from the Parallel Logic
Board 4520075-B. (See Table 7-1)
X8 Alarm outputs to optional external (remote) alarm display boards
(see relevant external alarm interface board in the Options section of this
manual).
7-14
I/O
1-4
5-8
9-12
13-14
I/O
15
16
17
18
19
20
21-23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Function
7-15
7-16
PIN
I/O
Function
1-4
5-8
9-12
13-14
15-17
18-20
21-23
VO-A, VO-B, VO-C: UPS output sense voltages for U-V-W phases
respectively. Approximately 1% of UPS output L-N voltage (8Vp-p)
24-26
27
28-30
31
I-B: Battery current sense signal (Batt I limit and current display)
32-34
35
36-42
43
44
45
46
47
48
49
50
51
52
53
54
55-56
57-60
I/O
1-4
5-8
9 - 12
13
Common
14
Common
15-17
18-20
21-23
24
25
26
27-30
31
32
33
34
35
36
37
38-39
40
Function
7-17
I/O
Function
1-4
5-8
9 - 12
13
14
15-16
17-18
19
20
I/O
1-4
5-8
9-10
11-13
VO-A, VO-B, VO-C: UPS output sense voltages for U-V-W phases
respectively. Approximately 1% of UPS output L-N voltage (8Vp-p)
14
15-17
18
I_B_P:
19
20-22
COMM_P:
DV-A, DV-B, DV-C:
23
DV-0:
24
IREC-T:
25
DB:
26
DB-0:
27-28
0V ground reference
29-30
+5V Supply to
31
7-18
Function
PAOU10:
I/O
Function
32
INV_DIS:
33
SW-OUT:
34
SWBYP:
35
I_BST_BAT:
36
I_TST_BAT:
37
MNS_DIS:
38
BLK_SEL:
39
OFF_INV:
40
C_L_INV:
41
RES_EXT:
42
V-AUX:
43
O_BLK_SW:
44
O_MNS_L_SS:
45
O_MNS_D_SS:
46
TST_BAT:
47
BST_BAT:
48
MNS_SYN_KO:
49
O_MNS_DIS:
50
SYN_INV_OK:
51
PAR_REC:
52
INV-L:
53
FRQ_SYN:
54
FRQ_PAR:
55
FRQ_MNS:
56
BACK:
57
INV_OK:
58
CON_SEL:
59
I_SW_BYP:
60
XSTAIZ:
7-19
7-20
Output
Display
CAN
Interface
Da
ta
P2
P3
A/D
Converters
P5
P1
P4
P0
20MHz
Clock
Analogue Signal
RAM
MUX
D43
D48
D49
EPROM
Data X
Address X
Reset
Bypass On/Off
Inverter On/Off
Rectifier On/Off
Input
Buffer
CS
S1
S2
S3
S5
On Inverter
Inverter contactor
control
Output
Buffer
OFF
OFF
Analogue
Buffering
D22
ON
D23
X8
X7
X5
X3
X2
X1
ON
ON
Alarm
Board
Parallel
Logic
SBS Board
Inverter
Logic Bd
H.V.I Board
Rectifier
Logic Bd
OFF
Rectifier Run
Inverter Run
OFF
3.2.3
l
ro
nt
Co
Reset
Power
X28
On Bypass
Bypass SCR control
ON
Block Diagram
Figure 7-4: UPS Logic Board basic block diagram
3.2.3.1
System overview
Processor system
The UPS Logic Board control system is based on a type 80C166 microcontroller,
as shown in Figure 7-4. This device contains six ports through which it communicates with peripheral circuits/devices, together with several system control
lines. It also contains an internal A/D converter, four programmable timers and
internal ROM & RAM.
The ports are configured by an initialisation routine performed by the system software on power-up and can be summarised as follows.
Port 0
This port is configured as a 16-bit bi-directional data bus <D0...D15>
Port 1
This port is configured as the first 16-bits of an 18-bit address bus
<A0...A15> the other two address lines are provided by port 4.
Port 2
The lower half of this port <P2-0...P2-7> carries various synchronising/timing signals and the upper half <P2-8...P2-15> comprises the CAN data bus,
which carries the data to/from the Operator Logic Board
Port 3
This 16-bit port is configured as a mixture of inputs and outputs generally
concerned with controlling the CAN Bus data exchange.
Port 4
The lower two lines only are utilised on port 4. These form the upper two
address lines <A16...A17> the lower address lines <A0...A15> are provided
by port 1.
Port 5
The lower ten lines of this port <P5-0...P5-9> are configured to act as inputs
to the internal A/D converter.
System control lines
In addition to the I/O ports the microcontroller also has the general control
I/O lines normally associated with a microprocessor-based system; such
as a system clock, reset, and Read/Write control.
Memory
The microcontroller uses both internal and external memory. 2 X 126k of batterybacked RAM and 2 X 516k of EPROM are fitted to the board as standard which
holds the system operating software. Facilities are included on the board to allow
alternative memory configurations to be used as described later.
Data buffers
The 16-bit data bus is connected to various control circuit boards via input and
output data buffers, as shown in Figure 7-4, which are controlled by individual
chip select enable lines to direct the data flow to/from the appropriate source, as
required by the system control software.
Analogue signal processing
7-21
Although the micro-controller produces numerous control logic signals, its primary outputs can be considered to be:
Inverter Start/Stop
Signal to the Inverter Logic Board which determines whether or not the
inverter section is enabled or inhibited.
Rectifier Start/Stop
Signal to the Rectifier Logic Board which determines whether or not the
rectifier section is enabled or inhibited.
Load on inverter
Signal which controls the inverter-side contactor (K1) and connects the
inverter output to the load.
Load on bypass
Signal which controls the static switch and connects the load to the static
bypass supply.
Note: the load on inverter and load on bypass signals are interlocked
such that they cannot be activated simultaneously.
As shown on the block diagram, these signals are produced by a dedicated logic
block which is controlled by the data bus together with individual switches which
allow each of the above functions to be manually overridden.
Operator Interface
The microcontroller is connected to the Operator Logic Board via the CAN Bus,
which is a bi-directional serial communications link that enables the operator to
program several operational parameters into the micro-controller and also enables
various alarms and indications to be displayed on the Operator Control Panel.
7-22
3.3
3.3.1
7-23
3.3.2
Clock
27
Power
Fail
29
Vref (+5V)
54
XTAL1
READY
96
Ready
CLKOUT
97
Clock out
ALE
25
BHE
92
RSTOUT
96
Reset out
RD
26
Read
WR
95
Write
RSTIN
NMI
VAREF
Control Bus
Reset
20
D42
Caution
When monitoring the signals described in this section it is best done with control
power only i.e. with the UPS power sections shut down and the circuit boards
live via the control power supply. The signals entering the left of the above diagram are constant and can be monitored with a meter/oscilloscope; those shown
on the right of the diagram are not constant and best monitored with a logic probe.
The logic sequence/timing of these signals depend upon various circuit conditions
and cannot therefore be accurately defined; however, for field test purposes, the
presence of a variable switching logic signal at these points would generally indicate that the basic processor control bus is serviceable and the system software
is running.
Power supply
The microcontroller is powered from the general +5V rail which is provided by a
three-terminal 5V regulator (N1) shown on diagram sheet 7.
System clock (XTAL1)
On power-up, a 1 second logic low reset pulse, [RSTIN->, is applied to D42 pin 27
from the reset generator circuit. This can also be manually applied for troubleshooting purposes by temporarily bridging jumper X28 (See paragraph 3.3.5).
The [RSTIN-> pulse forces the processor to restart its operation from the beginning
of its operating program which forces it to run through its initialisation routine.
Non-Maskable Interrupt (NMI)
When the input to D42 pin 29 (NMI) goes low it instructs the system software to
interrupt its present operation and execute a power-down routine to save critical
data.
The source of this input is determined by X17 which is normally made 2-3 and
selects the power failure detection circuit output [PFO> as the controlling signal
this circuit is shown on diagram sheet 5 (See paragraph 3.3.15.4).
7-24
The input to D42 pin 54 (VAREF) is a +5V reference voltage used by the internal
A/D converters to compute the digital values for all analogue signals e.g volts/
current/VA etc. An adjustable reference voltage generator (N45 pin 8) (See paragraph 3.3.15.2), shown on diagram sheet 5, provides this input ([VREF>) via X20
which is normally made 1-2.
Clock out (CLKOUT)
This output is a 20MHz squarewave synchronised to the processor clock input and
is used by the RAM/ROM memory address decoding logic D33 (See paragraph
3.3.6) shown on the diagram sheet 3. This is to ensure that when the processor
wishes to read from/write to memory the memory access is synchronised to the
internal microprocessor action i.e. it ensures that the accessed memory address
is relevant to the current processors requirements.
Address latch enable (ALE)
This output goes high to enable the address bus to be latched into the RAM/ROM
memory address decoding logic D33 shown on the diagram sheet 3 (See paragraph 3.3.6).
Bus high enable (BHE)
The logic state of this output indicates whether the processor is internally enabling
its high or low byte data bus i.e. it indicates if the micro wishes to read from
(or write to) the lower byte (D0....D7) or the higher byte (D8....D15). [BHE-> is
low when the high byte is being accessed, and vice versa, and is used by the RAM/
ROM memory address decoding logic shown on the diagram sheet 3 (See paragraph 3.3.6).
Reset out (RSTOUT)
is controlled by the reset input signal, [RSTIN->, and goes high while the
input rest signal is applied. This signal is synchronised to the system clock and
returns high an integral number of clock pulses after the input reset signal is removed. The [RSTO-> signal is used by the RAM/ROM memory address decoding
logic shown on the diagram sheet 3 (See paragraph 3.3.6); and a buffered version,
[RSTOX->, is connected to the data bus output buffers as shown on diagram sheet
4 via jumper X25 (2-3) (See paragraph 3.3.12).
[RSTO->
Ready (Ready)
This input, when low, inserts wait states in the processors operation; thus slowing
it down. It is driven by the RAM/ROM memory address decoding logic shown on
the diagram sheet 3 (See paragraph 3.3.6) and holds off the processors operation until the appropriate address latching has taken place, thus effectively extending the read/write times when slower memory elements are being used.
Read (RD)
This output goes low when the processor wishes to read the data from the device
or memory location currently addressed by the address bus.
Write (WR)
This output goes low when the processor wishes to write data to the device or
memory location currently addressed by the address bus.
7-25
3.3.3
Two type ACT245 octal bus transceivers (D32 & D36) are employed as bi-directional protection buffers between the microcontroller (D0....D15) and the data bus
(DX0....DX15). D32 buffers the low byte (D0....D7) and D36 the high byte;
however both are controlled by a common data direction signal i.e. the microcontrollers [RD-> output therefore the data direction of all 16 data bus lines are
controlled by a single signal.
These devices are described in appendix A (See paragraph A.1).
When the microcontroller drives its [RD-> output low it sets the data direction
through the buffers from B-to-A, which allows the data bus contents through to
the microcontrollers data inputs. At other times, when [RD-> is high, data flows
through the buffers from A-to-B, allowing the micro to place data onto the data
bus, which can then be written to a peripheral circuit as required.
Address bus buffer
The address bus is also buffered by two ACT245 devices (D38 & D41) but, unlike
the data bus described above, in this case the data direction is fixed by connecting
pin 1 of each device to a permanent +5V supply. Thus the address bus data always
flows through the devices in the A-to-B direction and used to select a memory location the buffered address bus is annotated (AX0....AX17).
Note: AX16 & AX17 are buffered by the control bus buffer described below.
Control bus buffer
The control bus signals [RD->, [WR->, [BHE->, [RSTO-> are all buffered by D47.
This device is configured with fixed data direction A-to-B, in the same manner as
the address bus buffer described above, by the application of a fixed +5V supply
at D47 pin 1. The buffered control signals [RDX->, [WRX->, [BHEX->, [RSTOX-> are
used by various circuits distributed throughout the circuit diagrams.
In all cases the above mentioned buffers have pull-up resistors connected to their
input and output pins e.g. resistor packs R307, R309 etc.
3.3.4
7-26
and frequency, battery charging parameters and display language) are maintained; and the real-time clock keeps running. It is not therefore necessary to reprogram these parameters following every start-up.
Note: Jumper X31 must be made in order to enable this function.
The [VBATT> output is not connected to other parts of the circuit, but it is monitored by the microcontrollers analogue input [AN9> via D44, which is a quad analogue switch. [VBATT> is switched through D44 pin 2, by [FL-12> when it goes
high; this is controlled by a 12V supply rail monitor circuit (diagram sheet 5)
which inhibits the [VBATT> sense signal if the 12V power rails are invalid, thus
preventing an erroneous battery voltage fault being detected by the micro under
these conditions.
Note: the other three gates within D44 are not used and their inputs are tied to 0V.
[OUTBAT> signal details
The micro-controller monitors the NiCad battery voltage (3.6V nom) via AN9
and its internal A/D converter (as described above) and turns on the Ni-Cad
charger, by driving the [OUTBAT> signal high, if the Ni-Cad voltage falls below
2.8V. When the charger is active, the [INTERNAL BATTERY LOW] message is
displayed on the Operator Control Panel (alarm #76) and led H8 illuminates.
Once the battery is recharged to 3.6V the charger is turned off by the [OUTBAT>
signal returning low and the alarm message is cancelled. Thus the Ni-Cad battery
is charged only when necessary and is not permanently trickle-charged.
Note: the NiCad charger may be active for several hours when the UPS is first
commissioned (depending on the initial battery charge state) jumper X31 must
be fitted to enable the battery back-up facility.
3.3.5
Reset generator
(circuit diagram sheet 2).
A purpose-designed Supply Voltage Supervisor (N24) provides the micro with a
1 second sec logic low [RSTIN-> reset signal on power-up. This signal, which is
applied to the micro pin 27, can also be initiated manually by temporarily making
jumper X28 (1-2). The [RSTIN> signal also resets the RAM chip select signals produced by D19a/d (shown on circuit diagram sheet 3) and points the micro to its
initialisation routines.
Caution
Using X28 to activate the reset circuit during normal UPS operation will crash the
unit, because the run signals to the rectifier, inverter and static switch will be disabled for the 1 second reset period.
7-27
3.3.6
This memory contains the operating system program, or firmware, which is basically a sequence of instructions to be carried out by the micro-controller in order
to make it perform the actions required of it. Upon power-up the micro is pointed
to the first instruction as part of its reset initialisation, and from then on it steps
through the programmed instructions in a sequence dictated by various events and
monitored conditions.
ROM is non-volatile, which means that it does not lose its memory contents in
the event of a loss of power.
Address decoding D33 / D19
The output enable pins of all four memory devices are controlled by the control
bus [RD-> line, therefore when this line goes low the processor can read the data
held at the current address from any of the devices. The purpose of the address
decoding circuit is to enable the microcontroller to select which of the EPROM
or RAM devices it wishes to communicate with at any given time. The memory
devices chip select inputs are controlled by a circuit comprising an ASIC i.c.
(D33) and two gates of D19.
D33s inputs are connected to A0, A14....A17, and several control bus signals
as described in paragraph 3.3.2. which are all controlled by the microcontroller.
The output signals, [CSEP1L->, [CSEP1H->, [CSRA1L->, and [CSRA1H->, adopt logic
states determined directly by these processor-controlled inputs and are synchronised to the processor operation by the 20MHz [CLKOUT> signal.
When low, [CSEP1L-> and [CSEP1H-> enable the EPROM devices via their chip
enable inputs (pin 20), while [CSRA1L-> and [CSRA1H-> perform a similar function on the RAM chips.
The [READY> output from D33 is fed back to the micro to inform it that the appropriate addresses have been loaded into D33s internal latches (See paragraph
3.3.2).
As D19 provides the chip select inputs to the RAM devices it is powered from
the battery-backed RAM supply to prevent RAM data corruption on UPS power
down.
Note: jumper X14 provides a test facility for bench testing only and all links
should be open during normal operation.
7-28
The UPS Logic Board has been designed to facilitate future software upgrades by
including configuration links to permit the addressing of alternative memory devices. These links affect the routing of the AX15 and AX16 address lines, and the
standard configuration is shown below in Figure 7-6.
In the standard configuration the signals annotated [PIN29EP> and [PIN3EP> are
connected to the EPROMs A14 and A15 inputs and are therefore driven by the
AX15 and AX16 address lines respectively. The [PIN31RAM> signal (AX16) is
connected to the A15 input of both RAM devices and the [PIN3RAM> signal
(AX15) is connected to the RAM write enable inputs.
Figure 7-6: AX15 & AX16 decoding configuration links
X19
X13
[AX16>
X22
[PIN3EP>
X21
X23
[AX15>
[PIN29EP>
[WRX>
3.3.7
[PIN31RAM>
[PIN3RAM>
X24
[PIN29RAM>
7-29
ESD_I
X2-52
09
D88
29
R97
SCR_OPN
N15-8
N15-14
M_ESD
D26-5
28
R86
32 M_SCR_OP
Z39
0V
BAT_MA
D34-12
D26-4
08
20 M_BAT_MA
R113
R111
R112
D26-6
26 BAT_MA_D
27 SCR_OP_D
24 ESD_D
ALM_RES
16
39
0V
RES_EXT
SEQ_MNS
D26-7
13
BLK_BYP_M
D55-9
D21-16
D21-5
X7-39
X7-40
D21-9
X7-32
D54-6
D1-4
D21-12
25
MNS_KO
11
IBOPEN
12
BLK_INV_M
02
INV_ON
OFF_INV
17
06
14
INV_DIS
07
SYN_KO
18
B-INV
L_MAINS
31
41
BLK_REC_M
04
REC_ON
40
Q3
R320
Q2
34 BAT_TRP
33 ON_INV
S1
+5V
7-30
X2-54
X3-36
36
INV_L
38 MNS_L
ON_REC
D51-8
D51-6
X1-36
Block
Rectifier
Block
Inverter
R320
Block
Bypass
R320
Manual
RESET
Q1
D26-3
05
C_L_INV
L_INV
R320
BLK_MNS
X7=41
01
37
D21-15
C64
44
D21-2
652
V-AUX
C63
43
MRESET
N24-6
0V
3.3.7.1
turns off the bypass enable signal ([BLK_MNS> = 0) D88 pin 25.
trips the battery circuit breaker ([BAT_TRP> = 0) D88-34
turns OFF (stops) the rectifier ([ON_INV> = 0) D88-33
turns OFF (stops) the inverter ([ON_REC> = 0) D88-37
The static switch SCR open signal [SCR_OPN> to D88-28 is produced by N158 or N5-14 (sheet 6) as a logic high when the detection circuits sees a voltage
drop across one of the static bypass SCRs.
This drives pin 32 ([M_SCR_OP>) high (provided the load on mains ([MNS_L>)
output to D88-38 is also high) which is connected to the processor system via
D26-4 where it annunciates alarm #15 [BYP: SCR FAILURE] (See paragraph
3.3.11.4) and also provides a latching input back to D88 pin 27 ([SCR_OP_D>)
which holds pin 32 in its high state until the reset circuit is activated the latching
signal is debounced by R111/C62.
In addition to latching the output on pin 32, the logic high [SCR_OP_D> input also
blocks the static switch by forcing high the [BLK_MNS> output at D88-25 (see details of [BLK_MNS> below).
DC Overvoltage fast
7-31
In addition to the common functions described above the [V_AUX> signal also:
applies a reset signal directly to the Parallel Logic Board via X7-42.
resets (turns off) the static bypass ([BLK_MNS> = 1) D88-25.
resets (opens) the battery circuit breaker ([BAT_TRP> = 0) D88-34.
resets (turns off) the inverter ([ON_INV> = 0) D88-33.
resets (turns off) the rectifier ([ON_REC> = 0) D88-37.
The [V_AUX> power-up reset signal to D88-44 also resets the [BLK_MNS> output
from D88-25, described immediately above.
3.3.7.3
The [BLK_MNS> output from D88 pin 25 goes high when D88 detects any condition which requires the load to be prevented from being connected to the static
bypass supply. This output is fed to the microcontroller via the data bus buffer
U26-3 where it initiates alarm #16 [BYP:HARDWARE BLOCK.] (See paragraph
3.3.11.4) and is also connected to the load-on-bypass control logic within D88
where it inhibits the load-on-bypass command [MNS_L> output from D88 pin 38.
The [BLK_MNS> signal can be driven high, disabling the static bypass, by any one
of the following conditions:
Emergency shutdown latch set ([ESD_D> = 1) D88-24 (see above).
Bypass SCR open latch set ([M_SCR_OP> = 1) D88-27 (see above).
1 second Power-up reset pulse ([V_AUX> =1) D88-44 (see above).
Static bypass mains phase sequence error ([SEQ_MNS> = 1) D88-13. This
is derived from D27a on diagram sheet 5 (see paragraph 3.3.13.2 on page
7-56).
Manual block applied from switch Q1 ([BLK_MNS_M>) = 1) D88-1.
Mains error signal ([MNS_KO>) = 1) D88-11. This is produced by the
processor system under software control and applied via data bus buffer
D55 (see paragraph 3.3.12.7 on page 7-50).
7-32
A logic low [BAT_TRP> output from D88-34 trips the battery circuit breaker via
X2-54 (sheet 7), which is connected to the High Voltage Interface Board (See section 7 paragraph 2.3.8).
The [BAT_TRP> signal can be driven low by any one of the following inputs:
The [ON-INV> output from D88-33 is connected to the Inverter Logic Board via
X3-36 (sheet 7) where it controls the inverter Start/Stop status (see paragraph
2.3.8 on page 5-51). A logic low [ON-INV> signal commands the inverter to
STOP and can be effected by any one of the following D88 inputs (conversely,
all the following inputs must be in their healthy low state in order for the inverter
to run):
DC Fast Overvoltage latch set ([BAT_MA_D> = 1) D88-26 (see above).
Emergency shutdown latch set ([ESD_D> = 1) D88-24 (see above).
1 second Power-up reset pulse ([V_AUX> =1) D88-44 (see above).
Software control ([INV-ON> = 0) D88-17. This is produced by the processor system under software control and applied via data bus buffer D21-6
(See paragraph 3.3.12.5). This signal is low to inhibit the inverter and
high to enable it. When this signal is actively blocking the inverter (i.e.
low) it initiates alarm #30 [INV:SOFTWARE BLOCK.].
Manual inverter block ([BLK_INV_M> = 1) D88-2 logic high from the
manual inverter inhibit switch Q2.
If the [ON-INV> signal at D88 pin 33 is active (low), blocking the inverter,
alarm #32 [INV: HARDWARE BLOCK] will be active. Note that alarm #32
will be disabled if alarm #31 is active. Alarm #31 can be interpreted that
the inverter has been selected off, while alarm #32 suggests that the
inverter has been turned off for some other reason.
Parallel Logic Inverter OFF request ([OFF_INV> = 1) D88-5. This input
allows the Parallel Logic Board to enable/inhibit the inverter in a 1+1
configured system (see paragraph 2.3.1 on page 8-12). [OFF_INV> is high
to inhibit the inverter and vice-versa.
The [ON_REC> output from D88-37 is connected to the Rectifier Logic Board via
X1-36 (sheet 7) where it controls the rectifier Start/Stop status (see paragraph
2.3.6 on page 4-35). A logic low [ON_REC> signal turns OFF the rectifier and can
be effected by any one of the following D88 inputs:
DC Fast Overvoltage latch set ([BAT_MA_D> = 1) D88-26 (see above).
7-33
The transfer control logic within D88 is interlocked such that the load on inverter [INV_L> and load-on-bypass [MNS_L> commands are mutually exclusive.
Load on inverter command [INV_L>:
The Load on inverter command ([INV_L>) output from D88-36 goes high to transfer the load to the inverter; and is connected to the Static Switch Driver Board via
X5-15 (sheet 7), where it turns OFF the static switch (disconnecting the load from
the bypass supply) and energises the inverter-side contactor (K1) driver circuit.
It is also connected to the Inverter Logic Board, via X3-31, where it triggers the
latches within D11 which makes the inverter voltage track the bypass supply voltage for 100ms (See section 5 paragraph 2.3.3). This is done to provide a smooth
transfer from bypass to inverter and reduce the wear on the inverter-side contactor (K1).
In order for D88 pin 36 ([INV_L>) to go high, all of the following conditions must
be satisfied:
Inverter Logic Board OK ([B-INV> = 0) D88-31. This input is driven by
the fault detection circuit on the Inverter Logic Board and applies a 1 second logic high hold-off command to X3-33 ([BLKINV> diagram sheet 7)
when any of its internal faults are active (e.g. Vsat) (see paragraph 2.3.7
on page 5-50). This is connected to D88-31 in the form of [B-INV>, and
must therefore be logic low, indicating no fault in order to permit the
load to be connected to the inverter.
Software request ([L_INV> = 1) D88-14. This is produced by the processor system and applied via the data bus output buffer D21-9 when all its
software-monitored parameters have been verified (e.g. Inverter voltage
OK, Sync OK etc.)(See paragraph 3.3.12.5).
Parallel Logic Inverter on inverter request ([C_L_INV> =0) D88-6. This
input is generated by the Parallel Logic Board in a 1+1 configured system and goes low when the parallel system control conditions request connecting the load on inverter. In a single-module application this input,
which is applied via X7-40, is tied to logic low and has no affect.
Load on bypass command [MNS_L>:
The load on bypass command output from D88-38 goes high to transfer the load
to the bypass; and is connected to the Static Switch Driver Board via X5-17 (sheet
7-34
7), where it turns on the static switch driver circuit, connecting the load to the
bypass supply. It is also connected internally (within D88) to disable the bypass
SCR open annunciation circuit when load on bypass is not being commanded
i.e. the Open Circuit SCR fault is discounted while the load is on-inverter.
In order for D88 pin 38 ([MNS_L>) to go high, all of the following conditions must
be satisfied:
1. The static bypass must be enabled i.e. the [BLK_MNS> output on D88 pin
25 must be low (see above).
2. Parallel Logic Inverter on bypass request ([INV-DIS> =0) D88-6. This input
is generated by the Parallel Logic Board in a 1+1 configured system and
goes low when the parallel system control conditions request connecting the
load on bypass. In a single-module application this input, which is applied via
X7-32, is tied to logic low and has no affect.
Note: on the Parallel Logic Board the signal at X1-32 is identified as
[I_BUS_INV_L>.
3. In addition to conditions (1) and (2) above, one of the following conditions
must also be valid:
a) Software request ([L_MNS> = 1) D88-41. This is produced by the processor system when all software-monitored parameters are correct (e.g.
Critical bus volts not OK, overload, bypass volts OK etc.) and applied via
the data bus output buffer D21-12 (See paragraph 3.3.12.5).
b) No Load-on-inverter is being requested i.e. D88-6 [C_L_INV> AND
D88-14 [L_INV> are both logic high (see above). This means that neither
the Parallel Logic Board nor the microprocessor system are calling for the
load to be connected to the inverter
c) Inverter is blocked, but still in-sync i.e. D88-31 [BLK_INV> is high (see
above) AND the [SYN_KO> input to D88-18 is low. Note that [SYN_KO> is
derived via the processor system and D54, and is logic high when the
inverter and bypass are not in sync (see paragraph 3.3.12.8 on page 7-52).
3.3.8
3.3.9
7-35
such as an alarm facility, watchdog timer etc. which are not used in this application but may be mentioned briefly in the following description.
Power supply details
D18 is powered from the +5 volt power supply, which is connected to pin 16
(Vcc) and available at all times provided the unit is powered up.
When jumper X33 is made 1-2 the battery-backed RAM supply [VRAM] (See paragraph 3.3.4) is connected to pin 13 [Vbatt> and also, via an R-C delay circuit
(R108/C54), to pin 10 [POR>.
The delayed input to pin 10 is seen as a Power On Reset [POR> and resets the
device by briefly holding pin 10 low while the device is powered-up. However,
as the battery-backed supply is present at all times, this is effectively a onceonly reset that takes place when X33 is initially made 1-2 (i.e. battery connected)
and is not affected by subsequent application/removal of the UPS Logic Boards
+5V control power supply.
The boards +5V supply rail is monitored at D18 pin 12; and when the voltage at
this pin is less than 0.7V above the Ni-Cad voltage (pin 13) the device switches
to a low-power stand-by mode whereby it maintains its time-keeping function but
internally inhibits serial communication facilities with the micro-controller. This
prevents the passage of invalid or spurious data while the micro-controller is powering-down and so prevents RTC data corruption.
Clock control
The RTCs internal timer operation can be controlled from one of two sources;
either from an external crystal-controlled clock reference or a 50/60Hz mains-derived sinusoidal signal. In this particular application an external crystal is used
and the 50/60Hz input to pin 11 (LINE) is grounded via R107.
For crystal operation pins 14 and 15 are connected to a 32.768kHz, 1.048576kHz,
2.097152kHz or 4.194304kHz crystal, as shown on the circuit diagram. A programmable internal divider circuit enables the particular external clock frequency
to be scaled down to that used by the internal logic. The internal clock signal is
made available at pin 1 (CLKO) but in this particular application is not used, and
remains unterminated.
Serial communications interface
The functions connected to pin 2, pin 3 and pin 9 are not used in this particular
application and these pins are tied to their default logic levels as shown.
7-36
3.3.10
D17
CP
OE
D2
D25
CP
OE
D1
[CSIN2->
D9
OE
CP
D26
CP
D51
D50
CP
OE
D60
CP
D7
D54
CP
CP
D10
CP
<CSOU3-]
D55
OE
[CSDIS->
<CSOU2-]
D21
OE
[CSIN3->
<CSOU1-]
<CSOU4-]
D56
CP
DATA
BUS
Control Bus
Microcontroller
Address Bus
AX11
AX12
AX13
AX14
AX15
AX16
AX17
[RDX->
[WRX->
1
2
3
4
5
6
7
8
9
D52
12
13
14
15
16
17
18
19
[CSDIS->
[CSIN1->
[CSIN2->
[CSIN3->
[CSOU1->
[CSOU2->
[CSOU3->
[CSOU4->
7-37
3.3.11
3.3.11.1
7-38
SEQREC
7-39
SW-OUT
7-40
OVLINV
7-41
BLK-MNS
7-42
DRDO
[D_MNS_DIS> output
BLK-SEL
7-43
INV-L
Note: The response to the ON-GENERATOR event is programmable via the Operator Control Panel FUNCTION software screen which allows three separate
functions to enabled/disabled:
Synchro Block is concerned with the [BLK-SYN> signal mentioned here
and, when enabled, prevents the inverter from tracking the bypass frequency when it is being provided by the standby generator.
Charge Inhibit is concerned with the battery recharge current limit
function which, when enabled, reduces the RECTIFIER current limit by
15%.
Current Limit is concerned with the rectifier input current limit
[XRADD1> function which, when enabled, reduces the input current limit
by 35%.
The reduced current limit functions are employed to lower the potential
maximum current demand if the standby generator is undersized.
7-44
BLK-01
Open
(Standard)
Closed
LINK 1-2
Open
LINK 3-4
Closed
(Standard)
Open
(Standard)
LINK 5-6
Closed
LINK 7-8
3.3.12
Open
(Standard)
Closed
7-45
chip select signals from D52 provide the latch clock signals and data is therefore
transferred through the latches when the appropriate chip select signal switches
from low to high. A logic low [RSTDX-> reset signal is connected to all the data
bus output buffers via jumper X25 (3-2) and drives all their outputs low when applied. [RSTDX-> is produced by the microcontroller (See paragraph 3.3.3) and
shown on the circuit diagram sheet 2.
The remainder of this sub-section lists the digital signals connected through the
latches, and provides signal details where appropriate.
3.3.12.1
These two devices connect the data bus output to the two on-board 7-segment diagnostic displays (H11 & H12). For a detailed description of the displayed parameters (see paragraph 3.3.17 on page 7-68).
3.3.12.2
Conditions: This software-selectable output is activated when the UPS is running on standby generator as described on page 7-44 ([BLK_SYN>).
REC-B & REC-A
Conditions: These outputs select Test, Boost, Float and Manual charge modes
in response to selections made on the Operator Control Panel. The automatic
Boost mode parameters, i.e. duration and threshold, are also operator-defined
(see paragraph 2.5.6 on page 2-53). LEDs on the Rectifier Logic Board illuminate to indicate the active charge mode.
XAT01 & XATO2
Conditions: This output is high for 50Hz and low for 60Hz as selected on the
Operator Control Panel see Selecting the UPS SETUP parameters in the commissioning procedure (see paragraph 2.4.5.3 on page 2-35).
7-46
Conditions: The logic states of these outputs are determined by the working
voltage selected by the operator see commissioning procedure (see paragraph
2.4.5.2 on page 2-34). LEDs on the Inverter Logic Board illuminate to indicate
the active selection.
3.3.12.3
Conditions: This output enables the Ni Cad battery charger if its voltage falls
to 2.8Vdc and disables it again once the battery voltage rises to 3.6V.
Note: when the charger is enabled the [INTERNAL BATTERY LOW] warning is
annunciated (alarm [#76] active).
3.3.12.4
7-47
ORCS
Destination: Sheet 6
Description: These two outputs are connected to the address inputs of three 2pole multiplexers which select the analogue signals for the microcontrollers A/D
inputs e.g. selecting the analogue signals for display purposes (kVA values are
calculated in software using V x I).
3.3.12.5
Conditions: This facility is not programmed into the current software and it is
therefore not used.
INV-ON
[C_L_INV>
7-48
L_MAINS
Conditions: This signal is software driven via a programmable parameter setting entered from the Operator Control Panel to trip the battery circuit breaker
when the battery is fully discharged (see page 2-37). The Emergency Shutdown
and DC Overvoltage inputs to D88 pins 9 and 8 also trigger the battery trip signal
when active (See paragraph 3.3.7).
TP6
7-49
O_MNS_D_SS
7-50
OUT-03
7-51
7-52
Conditions: Low Battery warning; enabled by alarm [#01] and active when
[#56] is energised.
A400BY
7-53
7-54
3.3.13
Parallel logic
54
X7
2
D53
X2
5
VI-A
8Vp-p
F-IN
X4
X3
X18-3
63
16
BACKM
[O_BACK>
34
BACK
D17
MICROCONTROLLER
15
DATA
BUS
D54
34
INV-F
15 INV-F
50 /60 Hz
selection
37
D1
37
Clock
signals
to tri-wave
generator
SYNC-KO
44
Frequency
Divider
Sync error
detection
D60
Sync Inhibit
(M:S variations
64
SYNCM
Important Note:
2
3
Master Freq
reference for
Inverter Osc
(correction)
15
4
9
X34:2-3 = Single
1-2 = Parallel
14
1
D59
SYNC
50/60Hz signal
synchronised to
bypass (when present)
R247
phase
align
43
BLK-SYN
5V
27
35
35
Phase
Locked
D1 Loop
20
21 14
SYNC
50/60Hz
X18-2
62
15
F-INM
CLK
288kHz
D42
VCO
13
Phase
Comparator
D6 3
This section describes the frequency control operation for a single-module installation i.e. where the module is operating as a single, stand-alone UPS system.
Where the module is part of a 1+1 System, the control operation is very similar
except that the bypass R_phase supply signal to which the unit attempts to synchronise is obtained from the Parallel Logic Board, and is subject to a complex
inter-module synchronisation regime.
To understand to synchronisation principles of a 1+1 system, you are advised to
read section 8 paragraph 2.4 prior to this section.
3.3.13.1
The inverter frequency is determined by the VCO section of a phase locked loop
i.c. (D6) on the Inverter Logic Board which provides a 288kHz (nominal) clock
signal to a frequency-divider (within D1) which then clocks the multiplexers in
the reference voltage generator circuit section 5 paragraph 2.3.2.
7-55
The inverter base frequency is selected via the Operator Control Panel during
commissioning and is read by the microcontroller through the CAN bus. The
micro responds by appropriately setting the [INV-F> output from D17-15 Low =
50Hz and High = 60Hz. This is connected to the frequency divider on the Inverter Logic Board where it determines the division factor i.e. when [INV-F> is low
the 288kHz VCO output is divided by 5760 to produce a 50Hz output at D1-27;
when [INV-F> is high the division is 4800 and produces a 60Hz output.
Frequency synchronisation
It is desirable that the inverter output is synchronised to the bypass supply under
normal operating conditions as this enables a closed load transfer to be carried
out in the event of a UPS fault where-by the static switch SCRs are turned on at
the same time as the inverter contactor is opened, and the load does not experience
a supply break.
If the inverter is not synchronised to the bypass supply there could be a large voltage difference across the static switch SCRs while the load is on-inverter (i.e.
SCRs OFF) which might damage the UPS/load equipment during a subsequent
closed transfer: in such circumstances an open transfer takes place if the UPS
develops a fault, where-by the inverter contactor is opened prior to turning ON
the static switch SCRs. This causes a load supply break of up to 1 second, which
is an inbuilt feature designed to avoid load damage.
The frequency synchronisation control mechanism is quite complex and effectively based on two nested phase locked loops. The inner loop comprises D6 on
the Inverter Logic Board and the outer loop is functionally provided by the microcontroller, under software control.
3.3.13.2
The phase comparator section of D6 compares the 50Hz output from D1-27,
connected to D6-3, with a frequency reference signal annotated [SYNC> which is
produced by the microcontroller and connected to D6-14 (available at test point
X18-4). If the phase comparator detects any phase difference between these two
signals its output at D6-13 will modify the VCOs frequency in such a way as to
make the frequency divider output at D1-27 match the [SYNC> signal frequency
i.e. the VCO frequency will be modified until the phase comparator within D6
sees no error between these signals, whereupon the circuit can be considered to
be phase-locked. Thus the inverter frequency tracks the [SYNC> signal reference
frequency.
[SYNC> signal generation (assuming 50Hz)
The microcomputer monitors the bypass supply R-phase waveform [VI-A> via a
comparator which extracts its frequency information, [F-INM>. This signal can be
seen at X18-2 as a squarewave coinciding with the bypass supply R-phase zerocrossing points. The Inverter Logic Board frequency dividers 50Hz output (D127) is also monitored and is available at X18-3, annotated [BACKM>.
Under software control, the micro operates on these two signals in the same way
as described above for the Inverter Logic Boards phase-locked-loop. That is, it
performs the phase comparator and VCO functions described above and produces a 50Hz output, [SYNC>, whose absolute frequency is controlled by the de-
7-56
tected phase difference between [F-INM> and [BACKM> i.e. the width of the pulse
is directly proportional to the amount of phase difference.
Example of sync control
The overall operation of the synchronisation control circuits can best be explained
by example. Consider the case where the bypass frequency suddenly jumps from
50Hz to 50.5Hz:
1. The micro will sense the jump in bypass frequency through a rise in [F-INM>
to 50.5Hz.
2. The micro will sense a phase error between [F-INM> and [BACKM> due to their
frequency difference and will ramp-up the [SYNC> signal frequency because
it senses that the bypass frequency is higher than that of the inverter.
Note: ramp-up speed is controlled under a slew rate software program factory
set at 0.1Hz /Second.
3. The phase comparator in the Inverter Logic Boards phase-locked-loop will
see the ramping [SYNC> frequency and detect that it is now higher than the
frequency dividers 50Hz output.
4. The phase comparator error output (pin 13) will call for an increase in VCO
frequency, which will thus increase the frequency divider clock rate and
thereby demand an increased inverter frequency.
5. The 50Hz outputs from the frequency divider also ramp-up in line with the
inverter frequency and have two affects:
a) The increasing output at D1-27 is fed back to the phase-locked-loop
(D6-3) where it maintains phase-lock i.e. it ties the clock frequency to
the [SYNC> signal and maintains close tracking of this signal.
b) The same increasing output from D1-27 is fed back to the microcontroller
via R247 where it allows the phase error function to maintain a close
check on the bypass/inverter frequency and phase relationship.
6. When the inverter frequency has risen to match the 50.5Hz bypass frequency,
and the [F-INM> and [BACKM> signals are in phase:
a) The [SYNC> frequency will stop ramping up and remain at 50.5Hz, synchronised to the bypass supply due to the action of the micro.
b) The VCO clock frequency will remain constant i.e. 290.88kHz
(5760 x 50.5 as 5760 is the divider factor for 50Hz systems).
c) The output from D1 pin 27 will be steady at 50.5Hz and synchronised to
the [SYNC> signal.
7. If [SYNC> is synchronised to the bypass supply (6a) and the frequency divider
outputs/inverter are synchronised to the [SYNC> signal (6c) then this results in
the inverter being effectively synchronised to the bypass supply, are required.
Important notes: The above description requires qualification by the following notes.
a) The internal mechanism of the frequency divider chip ties its 50Hz outputs to the zero-crossing points of the R-phase inverter voltage. Thus, as
the micro uses the bypass R-phase supply as its frequency sensing source,
this effectively ensures that the inverter and bypass supplies are synchronised correctly from a phase alignment viewpoint.
7-57
b) To aid description the above example assumed that the bypass frequency
underwent a stepped change; however, in practice any change in bypass
frequency is likely to occur gradually: in which case the circuit dynamics
are usually able to maintain a phase-locked condition during the period of
change, resulting in the inverter frequency tracking the bypass frequency
at all times without incurring a detectable phase error.
c) The synchronising window and slew-rate are adjustable and selected
from the Operator Control Panel setup menus. The window defines the
limits to which the inverter is allowed to track the bypass frequency and
normally set to 2%; while the slew-rate defines the maximum permitted rate-of-change of inverter frequency and is usually set to 0.1Hz/s. i.e.
this determines the fastest rate of change of bypass frequency tolerated by
the synchronisation circuit whilst maintaining sync.
If the bypass frequency goes outside the permitted window for longer than
1 minute, the inverter frequency will return to its base frequency and await
the mains return within the sync window, where-upon it will re-synchronise. An [INV:UNSYNCHRONIZED] (alarm #35) warning will be displayed while this situation is in effect.
d) In the event of a bypass supply failure the microcontroller will drive its
[SYNC> output to the centre frequency i.e. 50Hz.
Sync phase adjustment
R247 is connected to a phase-shift circuit on the Inverter Logic Board and provides the means for trimming any error in the phase relationship between the inverter [BACKM> and bypass [F-INM> sense signals once the sync control circuit is
phase-locked due mainly to component tolerances. Therefore, once the inverter
is synchronised this resistor can be adjusted to reduce the residual phase difference between the inverter R-phase output and the bypass R-phase supply.
3.3.13.3
7-58
3.3.14
3.3.14.1
Line-Line
N6
Buffer
N29
Sum-Amp
3-Phase
Bypass
Volts
Sense
+5V
+2.5V
0V
VIABM
To A/D
Multiplexers
(Display uses)
VIBCM
VICAM
REF-2 (2.5V)
8Vp-p
N29d
Rectifier
[SVI>
A-Ph
B-Ph
N14
Filter
N14
Filter
[F-IN> To Micro
(sync control - bypass R-ph)
D27
Ph-Seq
[SEQMNS>
To Micro
(Phase Sequence
error detector)
Voltage sensing
The bypass voltage sense signals ([VI-A> - [VI-C>) are developed on the High Voltage Interface Board (See paragraph 2.3.6) and connected via X2 pins 15, 16, 17
to N6b/c/d which are unity-gain buffers (sheet 5). The signals at N6 outputs therefore equate to approximately 1% of the bypass supply line-neutral voltage (e.g.
2.4Vrms at 240V working) and are connected to several blocks as shown in
Figure 7-10.
Voltage monitoring
N29a-c take the line-to-neutral sense voltages produced by N6 and converts them
into line-to-line sense voltages suitable for connecting to the microcontroller A/D
inputs. Taking N29a as an example; this amplifier differentially sums the [VI-A>
and [VI-B> signals from N6 and produces the [VIABM> L-L signal. However the
amplifier attenuates the resultant signal to about 30% (e.g. 1.38V for 240V working) due to its feedback resistance ratios: also, the non-inverting input is connected to VREF-2 (2.5V reference voltage) rather than to the 0V rail, which therefore
applies a 2.5V offset to [VIABM>. Thus in a 240V system working at nominal voltage [VIABM> is approximately 3.9Vp-p centred on a 2.5V reference. This signal
sits well within the microcontrollers A/D 0-5V input level, and is shown connected to the A/D multiplexer circuit (sheet 6).
Note: if the bypass voltage is missing [VIABM> will be 2.5Vdc due to the absence
of any ac signal.
7-59
The bypass R-phase signal [VI-A> from N6-14 is connected to a zero-crossing circuit comprising N14a/d which produces a squarewave output [F-IN> at D34-6
which coincides with the R-phase zero-crossing points. This signal is used by the
microcontroller in its frequency synchronisation control (See paragraph
3.3.13.1).
A similar squarewave coinciding with the S-phase is obtained via N14b/c and
buffered by D34-8. These two squarewave signals are connected to a D-type flipflop (D27) which detects their phase relationship. Under normal circumstances
the R-phase signal should lead that of the S-phase; therefore when the rising-edge
R-phase signal clocks D27, its data (D) input should be low, producing a permanent high on its Q output which inverted to a low [SEQMNS> signal at D34-10.
In the event of a phase sequence error, D27 will have a permanent low clocked
through to its Q output and produce a high [SEQMNS> signal.
is connected to the microcontroller via the data bus buffer D28-7
where it flags a phase rotation error [BYP: PHASE ROT.ERROR] alarm #14
(See paragraph 3.3.11.4).
[SEQMNS>
A full-wave, three-phase diode bridge comprising V34-V36 & V40-V42, produces a dc voltage proportional to the full three-phase supply which is fed to N29d.
This amplifier attenuates the signal by 55% due to the values of the feedback resistors; therefore the output at N2-14 is approximately 2.5Vdc at nominal working
voltage. Note that this is a ripple voltage since there is very little capacitance
around the amplifier. Thus if any bypass phase voltage goes out of tolerance (e.g.
10% window) the detector will sense the error. It does not require all three
phases to go outside the error window.
N2-14 provides signals to two other areas: [SVIM> is connected to the microcontroller A/D input via the multiplexer circuit shown on sheet 6 and used by the
micro to monitor the bypass voltage for a each individual phase (e.g. 10% voltage error); and [SVI> is connected to the circuit (also on sheet 6) which detects an
open circuit static switch SCR.
3.3.14.2
8Vp-p
2.2Vdc
Line-Neut
3-Phase
Inverter
Volts
Sense
N3a-c
Buffer
N3d
Rectifier
[SVINVM>
To A/D Multiplexers
Voltage sensing
The inverter voltage sense signals ([VINV-A> - [VINV-C>) are developed on the High
Voltage Interface Board (See paragraph 2.3.5) and connected via X2 pins 18, 19,
20 to N3a-c which are unity-gain buffers (sheet 5). The signals at N3 outputs
therefore equate to approximately 1% of the inverter line-neutral voltage. A fullwave, three-phase diode bridge produces a dc voltage proportional to the full
three-phase output which is then fed to N3d. This amplifier attenuates the signal
7-60
by 55% due to the values of the feedback resistors; therefore the output at N3-14
is approximately 2.5Vdc at nominal voltage, and connected to the microcontroller
A/D input via the multiplexer circuit shown on sheet 6. This is a ripple voltage as
described previously, and is monitored by the inverter voltage error software
function (i.e. 10%).
3.3.14.3
To A/D Multiplexers
N13a
Buffer
[V-B>
N13c
Comparator
[BAT-MA>
DC Overvoltage (Fast)
(set to 620V(bat))
The DC busbar (battery) voltage sense signal [V-B> is developed on the High Voltage Interface Board (See paragraph 2.3.3) and connected via X2 pin 27 to N13a
which is a unity-gain buffer (sheet 5). The signal sensitivity is set on the High
Voltage Interface Board to approximately 7.3mV per Volt(bat) therefore [VBM> is
about 3.255V at nominal 446V float charge voltage. This signal is connected to
the microcontroller A/D input, via the multiplexer circuit shown on sheet 6, where
it is used by several software functions, such as: display metering; slow DC overvoltage (max 2.4V/cell window); Low Battery warning (1.82V/cell window); End
of Discharge (1.67V/cell window); and % Charge/autonomy Time algorithms.
DC Overvolts detection (Fast)
[VBM>
[BAT-MA> is connected to the Basic System Control Logic where it trips the bat-
tery circuit breaker, turns off the rectifier and inverter, and trips a latch (See paragraph 3.3.7.1). In an overvoltage situation [DC BUS: FAST OVERVOL.] alarm
#58 the Basic System Control Logic responds by issuing a high [MBATMA>
signal which flags the micro-controller via data bus buffer D26 (See paragraph
3.3.11.4).
3.3.14.4
[I_B>
[I_B_P>
N13b
Buffer
[IBM>
To A/D Multiplexers
7-61
The battery current sense signal [I_B> is developed on the High Voltage Interface
Board (See paragraph 2.3.22) and connected via X2 pin 31 to N13b which has a
gain of approximately1.5 (sheet 5). The signal sensitivity is set on the High Voltage Interface Board by jumper X38 and the output [IBM> is connected to the
micro-controller A/D input via the multiplexer circuit shown on sheet 6 where it
is used for display purposes, and % Charge and Autonomy Time algorithms.
I_B_P is used in a 1+1 installation when the rectifier is paralleled in order to share
current in a common battery system (see paragraph 2.6.1 on page 8-36)
3.3.14.5
Line-Line
3-Phase
Output
Volts
Sense
N5
Buffer
N31
Sum-Amp
VOABM
VOBCM
VOCAM
REF-2 (2.5V)
8Vp-p
N15a
Rectifier
[SVI>
To A/D
Multiplexers
(Monitoring &
display)
N15b-d
Comparator
[SCROPN>
To Micro
(SCR open cct.)
Line-Neut
N30
Buffer
VOAM
VOBM
VOCM
To A/D
Multiplexers
(monitoring & display)
REF-2 (2.5V)
Voltage sensing
The bypass voltage sense signals ([VO-A> - [VO-C>) are developed on the High
Voltage Interface Board (See paragraph 2.3.6) and connected via X2 pins 21, 22,
23 to N5a-c which are unity-gain buffers (sheet 6). The signals at N5 outputs
therefore equate to approximately 1% of the output line-neutral voltage (e.g. 2.4V
(8Vp-p) at 240V) and connected to several blocks as shown in Figure 7-14.
Voltage monitoring
The signals from N5a-c are connected to two sets of buffers which provide lineto-neutral and line-to-line monitoring voltages which are connected to the microcontroller A/D inputs via the multiplexer circuit shown on sheet 6 and used for
metering & display purposes.
7-62
Note: if the output voltage is missing [VOAM> etc. will be 2.5Vdc due to the absence of any ac signal.
As shown in Figure 7-14, the output voltage (3-phase) sense signal [SVOM> and
bypass voltage (3-phase) sense signal [SVI> are both connected to the Static
Switch SCR open circuit detector.
3.3.14.6
3-Phase
Output
Current
Sense
N4a-c
Buffer
N4d
Sum-amp
[IOAM>
[IOBM>
[IOCM>
[IONM>
To A/D Multiplexers
(Overload & Timers)
(Display Metering)
The UPS output current sense signals ([IO-A> - [IO-C>) are developed on the High
Voltage Interface Board (See paragraph 2.3.19) and connected via X2 pins 32,
33, 34 to N4a-c which attenuate the sense signals by approximately 75% and also
applies a 2.5Vdc offset due to the non-inverting connection being terminated at
VREF-2 (2.5V reference voltage). The output signals [IOAM> etc. are connected to
the microcontroller A/D inputs via the multiplexer circuit, and the 2.5V offset is
sufficient to make the a.c. current signal sit within the 0-5V A/D input voltage
range. These signals are by the micros overload algorithm (i.e. 150% for 1
7-63
minute, 125% for 10 minutes, 110% for 1 hour, 101% for 9 hours). They also represent the values shown on the Operator Control Panel Measurements display
screen.
N4d calculates the neutral current by differentially summing the three line currents in a balanced three phase system the algebraic sum of the currents should
equal zero, thus if the system is unbalanced then the amount of imbalance represent the current flowing in the neutral path. The neutral current signal [IONM> is
also subject to the 2.5V offset and applied to the microcontroller A/D inputs via
the multiplexers in the same way as the line current signals.
3.3.14.7
7-64
3.3.15
3.3.15.1
Power supplies
General description and voltage regulators
The UPS Logic Board 12V power supply rails are provided from two parallel
sources and will be available if either source is live. The first source is from the
Rectifier Logic Board, which is itself powered from the AC-DC Power Supply
and available whenever the UPS input (rectifier) supply is live (see paragraph 2.1
on page 3-5); the second if from the Inverter Logic Board, which is powered from
the DC-DC Power Supply and is available whenever the rectifier is working or
the batteries are connected to the DC Busbar (see paragraph 3.1 on page 3-7).
From the UPS Logic Board the 12V supplies are passed directly to all the remaining circuit boards and the communications port etc.
3.3.15.2
Several devices require a stable +5V power supply which is provided by a simple
3-terminal +5V regulator (N1), shown on sheet 7.
In addition to the +5V power supply rail, there are also two reference voltage generators on the circuit board. One generates a regulated +5V, [VREF>, from the
+12V line and the other generates a regulated 2.5V output, [VREF-2>, from the
+5V supply rail. These reference voltages are used in conjunction with the microcontrollers A/D analogue inputs and are shown on sheet 5 of the circuit diagram.
+5V reference voltage [VREF>
This provides a stable power supply for the A/D converters within the micro
which is necessary for them to maintain their conversion accuracy.
2.5V reference voltage [VREF-2>
Comparator N45a (sheet 5) serves as a -12V supply rail monitor and detects when
the -12V is less than approximately -9.8V. The operating threshold for this circuit
is set by V70 which applies a zener referenced voltage across R242/243 from the
+12V rail and under normal conditions sets N45-3 at about 1.86V. The -12V rail
is monitored via a resistor divider (R240/241) which is fixed at +3V at one end by
V70.
Due to the chosen resistor ratios, the voltage at N45-2 rises above 1.86V when the
-12V rail is less than -9.8V, at which point N45-1 switches low and produces a
logic high [FL-12-> signal and low [FL-12>.
When [FL-12> goes low it inhibits the back-up battery voltage sense signal to the
microcontroller via D44, as shown on diagram sheet 2 (See paragraph 3.3.4).
When [FL-12-> goes high is disables the microcontrollers A/D input multiplexers,
as shown on sheet 6 (See paragraph 3.3.14.7).
7-65
7-66
3.3.16
External communications
RS232 communications
Transmit mode. the transmit mode is enabled when [DE485> is high, whereupon the [TXDI> data from the microcontroller, applied to D58 pin 4, passes through
the device and drives its differential outputs as described in appendix A.5. Note
that X32 should be made in order to connect the bus termination resistor (R250)
across the transmission line to present the correct impedance to the differential
outputs.
Receive mode. the receive mode is enabled when [RE485-> is taken low, whereupon the data on the differential I/O bus is converted into a data-stream and connected to the microcontroller via [RXDI>.
7-67
3.3.17
CODE
Audible Alarm
(Operator Panel)
01
[ NORMAL OPERATION ]
OFF
OFF
02
Continuous
ON
03
Continuous
ON
04
Continuous
ON
05
Continuous
ON
06
Pulsed
Flashing
10
[BYP: ABSENT ]
Bypass supply absent i.e. <50V
Intermittent
Flashing
11
[ BYP: OVERVOLTAGE ]
Bypass supply over voltage
upper limit set via mimic menu
Intermittent
Flashing
12
[ BYP: UNDERVOLTAGE ]
Bypass supply under voltage
lower limit set via mimic menu
Intermittent
Flashing
13
Intermittent
Flashing
14
Continuous
ON
15
Continuous
ON *
16
[ BYP:HARDWARE BLOCK ]
Bypass supply blocked
hardware block on UPS Logic Board
Pulsed
Flashing
17
Pulsed
Flashing
18
[ LOAD ON BYPASS ]
Intermittent
Flashing
19
[ BYP: OVERTEMPERATURE ]
Static bypass overtemperature
warning
Continuous
ON
7-68
Audible Alarm
(Operator Panel)
20
[ RECT:SOFTWARE BLOCK]
Software block via micro
Intermittent
Flashing
21
Pulsed
Flashing
22
Continuous
ON
23
Intermittent
Flashing
24
[ RECT: OVERTEMPERAT. ]
Rectifier overtemperature
Continuous
ON
25
Continuous
ON
30
Intermittent
Flashing
31
Intermittent
Flashing
32
Continuous
ON
33
Continuous
ON
34
[ INV: OVERTEMPERATURE ]
Inverter overtemperature
Continuous
ON
35
[ INV: UNSYNCHRONIZED ]
Inverter unsynchronised to bypass
warning
Intermittent
Flashing
36
[ INV: OVERVOLTAGE ]
Inverter overvolts warning
Continuous
ON
37
[ INV: UNDERVOLTAGE ]
Inverter undervolts warning
Continuous
ON
38
Continuous
ON
39
[ OUTPUT: OVERVOLTAGE ]
Inverter overvoltage trip
critical bus overvoltage trip to bypass
Continuous
ON
40
[ OUTPUT: UNDERVOLTAGE ]
Critical bus undervoltage trip to
bypass level set via mimic menu
Continuous
ON
41
[ OUTPUT: NO VOLTAGE ]
UPS in off-line mode
Continuous
ON
42
Continuous
ON
CODE
7-69
Audible Alarm
(Operator Panel)
43
Continuous
ON
44
Continuous
ON *
45
[ CONTACTOR FAILURE ]
50
Pulsed
OFF
51
Intermittent
Flashing *
52
[ BATTERY: DISCHARGING ]
Battery is discharging
Intermittent
Flashing
53
[ BATTERY: E.O.D. ]
Battery end_of_discharge trip
level set via mimic menu
Continuous
ON
54
Pulsed
Flashing
55
Continuous
ON *
56
[ DC BUS: UNDERVOLTAGE ]
Low battery warning
level set via mimic menu
Continuous
ON
57
Continuous
ON
58
Continuous
ON *
60
Continuous
ON *
61
[ CUT-OFF: OVERLOAD ]
Overload timer expired
Continuous
ON *
62
[ CUT-OFF: OVERTEMPER. ]
Overtemperature timer expired
Continuous
ON *
63
[ CUT-OFF: EMERGENCY ]
Emergency power-off activated
Continuous
ON *
66
[ OVERLOAD PRESENT ]
Overload present (warning)
Continuous
ON
67
[ CUT-OFF: OVERLOAD ]
Overload timer expired
Continuous
ON *
CODE
7-70
Audible Alarm
(Operator Panel)
70
Pulsed
ON
71
Pulsed
ON
72
Pulsed
ON
73
Pulsed
ON
74
Pulsed
ON
75
Pulsed
ON
76
Pulsed
ON
80
81
82
83
84
[ MODEM NO RESPONSE ]
Modem incorrectly connected
85
86
87
88
CODE
7-71
3.4
Summary information
Table 7-8: UPS Logic Board configuration jumpers
Jumper
Link
Position
OPEN
X12
Function
(standard)
1-2
Not Required
3-4
Not Required
1-2
EPROM Enable
2-3
1-2
Not Required
3-4
Not Required
5-6
Not Required
7-8
Not Required
1-2
2-3
X13
Testing only
normally
open
X14
X15
OPEN
(standard)
X16
1-2
1-2
2-3
1-2
2-3
1-2
2-3
1-2
Not Required
2-3
1-2
2-3
Not Required
1-2
Not Required
2-3
3-4
Not Required
4-5
Not Required
1-2
2-3
3-4
4-5
X17
X19
X20
X21
X22
X23
X24
7-72
Jumper
Link
Position
Function
1-2
2-3
1-2
Open (Standard)
Auto-transfer mode enabled (on-line operation).
Automatic load transfer from bypass to inverter when the
inverter is available i.e. the inverter is the preferred supply
source.
Closed
Manual-transfer mode enabled (off-line operation).
Automatic load transfer from bypass to inverter only when
the bypass is unavailable i.e. the bypass is the preferred
supply source. Note: there will be a 3-cycle break on transfer to inverter.
3-4
Open
Inverter voltage fail lockout monitor disabled.
Closed (Standard)
Inverter voltage fail lockout monitor enabled. i.e. The
inverter is given 5 seconds to reach nominal voltage otherwise it is latched OFF.
5-6
Open (Standard)
Enables the Event History monitor to store up to a maximum of 10 alarms.
Closed
Resets the Event History monitor. Note: After the 10th
event, the monitor buffer is full an cannot store any further
events. The buffer should be reset to 0 after each maintenance or commissioning to enable new events to be captured.
7-8
Open (Standard)
Password protection enabled
Closed
Password protection disabled
X25
X26
OPEN
X28
CLOSED
OPEN
X29
1-2
OPEN
X31
1-2
OPEN
X32
1-2
1-2
2-3
1-2
2-3
X33
X34
7-73
Link
Position
Jumper
Function
1-2
2-3
1-2
2-3
X35
X36
Function
R209
R212
7-74
LED
Colour
H1
Red
Function
Internal battery charger operating
4.1
Chapter overview
This chapter contains a circuit description of the UPS Logic Board used across the
whole 7200 Series UPS model range, and should be read in conjunction with circuit diagram SE-4550004-E (7 pages).
Signal annotations shown on the circuit diagrams are shown in italics in the following text e.g. [CLKOUT>.
4.2
4.2.1
General description
Circuit board functions
Figure 20-16: UPS Logic Board connections
Rectifier
Logic Board
X2
Inverter
Logic Board
X4
Static Switch
Driver Board
X13
X1
X3
X5
X7
X8
X1
High Voltage
I/face Board
X1
External
Alarm Options
X6
Parallel
Control
Logic
X4
X2
X9
Operator
Logic Board
Operator
Control
Panel
The position of the UPS Logic Board with respect to the other control boards
places it at the heart of the UPS control operation and its functional responsibilities can be broadly summarised as follows:
Motherboard
One of the most basic functions provided by the UPS Logic Board is to act
as a motherboard for signals travelling directly between any of the other
circuit boards connected to it: e.g. the input voltage sense signals passes
directly from the High Voltage Interface Board to the Rectifier Logic
Board.
System control
The UPS Logic Board contains a microprocessor-based control system
which reads various status signals derived on the other circuit boards and
20-371
Input/Output connections
The UPS Logic Board has eight connectors (See Figure 20-16) whose connections are summarised below.
X1 System control and monitoring signals to/from the Rectifier Board
4520074-A (See Table 20-11).
X2 System control and monitoring signals to/from the High Voltage
Interface Board 4590054-O (See Table 20-12).
X3 System control and monitoring signals to/from the Inverter Logic
Board 4530024-S (See Table 20-13).
X4 Power supply to Operator Logic Board 4550005-F (see circuit diagram sheet 7).
X5 System control and monitoring signals to/from the Static Switch
Driver Board 4542041-X (See Table 20-14).
X6 Data/logic to/from Operator Logic Board 4550005-F (see circuit diagram sheet 7).
X7 Used in multi-module parallel operating systems only.
X8 Alarm outputs to optional external (remote) alarm display boards
(see relevant external alarm interface board in the Options section of this
manual).
20-372
I/O
1-4
5-8
9-12
13-14
I/O
15
16
17
18
19
20
21-23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Function
20-373
20-374
PIN
I/O
Function
1-4
5-8
9-12
13-14
15-17
18-20
21-23
VO-A, VO-B, VO-C: UPS output sense voltages for U-V-W phases
respectively. Approximately 1% of UPS output L-N voltage (8Vp-p)
24-26
27
28-30
31
I-B: Battery current sense signal (Batt I limit and current display)
32-34
35
36-42
43
44
45
46
47
48
49
50
51
52
53
54
55-56
57-60
I/O
Function
1-4
5-8
9 - 12
13
Common
14
Common
15-17
18-20
21-23
24
25
26
27-30
31
32
33
34
35
36
37
38-39
40
20-375
20-376
PIN
I/O
Function
1-4
5-8
9 - 12
13
14
15-16
17-18
19
20
Output
Display
CAN
Interface
Da
ta
Co
P2
P3
P5
A/D
Converters
P1
P4
P0
20MHz
Clock
Analogue Signal
RAM
MUX
D43
D48
D49
EPROM
Data X
Address X
Reset
Bypass On/Off
Inverter On/Off
Rectifier On/Off
Input
Buffer
CS
S1
S2
S3
S5
On Inverter
Inverter contactor
control
Output
Buffer
OFF
OFF
Analogue
Buffering
D22
ON
D23
X8
X7
X5
X3
X2
X1
ON
ON
Alarm
Board
Parallel
Logic
SBS Board
Inverter
Logic Bd
H.V.I Board
Rectifier
Logic Bd
OFF
Rectifier Run
Inverter Run
OFF
4.2.3
ro
nt
Reset
Power
X28
On Bypass
Bypass SCR control
ON
Block Diagram
Figure 20-17: UPS Logic Board basic block diagram
20-377
System overview
Processor system
The UPS Logic Board control system is based on a type 80C166 microcontroller,
as shown in Figure 20-17. This device contains six ports through which it communicates with peripheral circuits/devices, together with several system control
lines. It also contains an internal A/D converter, four programmable timers and
internal ROM & RAM.
The ports are configured by an initialisation routine performed by the system software on power-up and can be summarised as follows.
Port 0
This port is configured as a 16-bit bi-directional data bus <D0...D15>
Port 1
This port is configured as the first 16-bits of an 18-bit address bus
<A0...A15> the other two address lines are provided by port 4.
Port 2
The lower half of this port <P2-0...P2-7> carries various synchronising/timing signals and the upper half <P2-8...P2-15> comprises the CAN data bus,
which carries the data to/from the Operator Logic Board
Port 3
This 16-bit port is configured as a mixture of inputs and outputs generally
concerned with controlling the CAN Bus data exchange.
Port 4
The lower two lines only are utilised on port 4. These form the upper two
address lines <A16...A17> the lower address lines <A0...A15> are provided
by port 1.
Port 5
The lower ten lines of this port <P5-0...P5-9> are configured to act as inputs
to the internal A/D converter.
System control lines
In addition to the I/O ports the microcontroller also has the general control
I/O lines normally associated with a microprocessor-based system; such
as a system clock, reset, and Read/Write control.
Memory
The microcontroller uses both internal and external memory. 2 X 126k of batterybacked RAM and 2 X 516k of EPROM are fitted to the board as standard which
holds the system operating software. Facilities are included on the board to allow
alternative memory configurations to be used as described later.
Data buffers
The 16-bit data bus is connected to various control circuit boards via input and
output data buffers, as shown in Figure 20-17, which are controlled by individual
chip select enable lines to direct the data flow to/from the appropriate source, as
required by the system control software.
Analogue signal processing
20-378
Although the micro-controller produces numerous control logic signals, its primary outputs can be considered to be:
Inverter Start/Stop
Signal to the Inverter Logic Board which determines whether or not the
inverter section is enabled or inhibited.
Rectifier Start/Stop
Signal to the Rectifier Logic Board which determines whether or not the
rectifier section is enabled or inhibited.
Load on inverter
Signal which controls the inverter-side contactor (K1) and connects the
inverter output to the load.
Load on bypass
Signal which controls the static switch and connects the load to the static
bypass supply.
Note: the load on inverter and load on bypass signals are interlocked
such that they cannot be activated simultaneously.
As shown on the block diagram, these signals are produced by a dedicated logic
block which is controlled by the data bus together with individual switches which
allow each of the above functions to be manually overridden.
Operator Interface
The microcontroller is connected to the Operator Logic Board via the CAN Bus,
which is a bi-directional serial communications link that enables the operator to
program several operational parameters into the micro-controller and also enables
various alarms and indications to be displayed on the Operator Control Panel.
20-379
4.3
4.3.1
20-380
4.3.2
Clock
27
Power
Fail
29
Vref (+5V)
54
XTAL1
READY
96
Ready
CLKOUT
97
Clock out
ALE
25
BHE
92
RSTOUT
96
Reset out
RD
26
Read
WR
95
Write
RSTIN
NMI
VAREF
Control Bus
Reset
20
D42
Caution
When monitoring the signals described in this section it is best done with control
power only i.e. with the UPS power sections shut down and the circuit boards
live via the control power supply. The signals entering the left of the above diagram are constant and can be monitored with a meter/oscilloscope; those shown
on the right of the diagram are not constant and best monitored with a logic probe.
The logic sequence/timing of these signals depend upon various circuit conditions
and cannot therefore be accurately defined; however, for field test purposes, the
presence of a variable switching logic signal at these points would generally indicate that the basic processor control bus is serviceable and the system software
is running.
Power supply
The microcontroller is powered from the general +5V rail which is provided by a
three-terminal 5V regulator (N1) shown on diagram sheet 7.
System clock (XTAL1)
On power-up, a 1 second logic low reset pulse, [RSTIN->, is applied to D42 pin 27
from the reset generator circuit. This can also be manually applied for troubleshooting purposes by temporarily bridging jumper X28 (See paragraph 4.3.5).
The [RSTIN-> pulse forces the processor to restart its operation from the beginning
of its operating program which forces it to run through its initialisation routine.
Non-Maskable Interrupt (NMI)
When the input to D42 pin 29 (NMI) goes low it instructs the system software to
interrupt its present operation and execute a power-down routine to save critical
data.
20-381
The source of this input is determined by X17 which is normally made 2-3 and
selects the power failure detection circuit output [PFO> as the controlling signal
this circuit is shown on diagram sheet 5 (See paragraph 4.3.15.4).
Reference voltage (VAREF)
The input to D42 pin 54 (VAREF) is a +5V reference voltage used by the internal
A/D converters to compute the digital values for all analogue signals e.g volts/
current/VA etc. An adjustable reference voltage generator (N45 pin 8) (See paragraph 4.3.15.2), shown on diagram sheet 5, provides this input ([VREF>) via X20
which is normally made 1-2.
Clock out (CLKOUT)
This output is a 20MHz squarewave synchronised to the processor clock input and
is used by the RAM/ROM memory address decoding logic D33 (See paragraph
4.3.6) shown on the diagram sheet 3. This is to ensure that when the processor
wishes to read from/write to memory the memory access is synchronised to the
internal microprocessor action i.e. it ensures that the accessed memory address
is relevant to the current processors requirements.
Address latch enable (ALE)
This output goes high to enable the address bus to be latched into the RAM/ROM
memory address decoding logic D33 shown on the diagram sheet 3 (See paragraph 4.3.6).
Bus high enable (BHE)
The logic state of this output indicates whether the processor is internally enabling
its high or low byte data bus i.e. it indicates if the micro wishes to read from
(or write to) the lower byte (D0....D7) or the higher byte (D8....D15). [BHE-> is
low when the high byte is being accessed, and vice versa, and is used by the RAM/
ROM memory address decoding logic shown on the diagram sheet 3 (See paragraph 4.3.6).
Reset out (RSTOUT)
is controlled by the reset input signal, [RSTIN->, and goes high while the
input rest signal is applied. This signal is synchronised to the system clock and
returns high an integral number of clock pulses after the input reset signal is removed. The [RSTO-> signal is used by the RAM/ROM memory address decoding
logic shown on the diagram sheet 3 (See paragraph 4.3.6); and a buffered version,
[RSTOX->, is connected to the data bus output buffers as shown on diagram sheet
4 via jumper X25 (2-3) (See paragraph 4.3.12).
[RSTO->
Ready (Ready)
This input, when low, inserts wait states in the processors operation; thus slowing
it down. It is driven by the RAM/ROM memory address decoding logic shown on
the diagram sheet 3 (See paragraph 4.3.6) and holds off the processors operation until the appropriate address latching has taken place, thus effectively extending the read/write times when slower memory elements are being used.
Read (RD)
This output goes low when the processor wishes to read the data from the device
or memory location currently addressed by the address bus.
20-382
Write (WR)
This output goes low when the processor wishes to write data to the device or
memory location currently addressed by the address bus.
20-383
4.3.3
Two type ACT245 octal bus transceivers (D32 & D36) are employed as bi-directional protection buffers between the microcontroller (D0....D15) and the data bus
(DX0....DX15). D32 buffers the low byte (D0....D7) and D36 the high byte;
however both are controlled by a common data direction signal i.e. the microcontrollers [RD-> output therefore the data direction of all 16 data bus lines are
controlled by a single signal.
These devices are described in appendix A (See paragraph A.1).
When the microcontroller drives its [RD-> output low it sets the data direction
through the buffers from B-to-A, which allows the data bus contents through to
the microcontrollers data inputs. At other times, when [RD-> is high, data flows
through the buffers from A-to-B, allowing the micro to place data onto the data
bus, which can then be written to a peripheral circuit as required.
Address bus buffer
The address bus is also buffered by two ACT245 devices (D38 & D41) but, unlike
the data bus described above, in this case the data direction is fixed by connecting
pin 1 of each device to a permanent +5V supply. Thus the address bus data always
flows through the devices in the A-to-B direction and used to select a memory location the buffered address bus is annotated (AX0....AX17).
Note: AX16 & AX17 are buffered by the control bus buffer described below.
Control bus buffer
The control bus signals [RD->, [WR->, [BHE->, [RSTO-> are all buffered by D47.
This device is configured with fixed data direction A-to-B, in the same manner as
the address bus buffer described above, by the application of a fixed +5V supply
at D47 pin 1. The buffered control signals [RDX->, [WRX->, [BHEX->, [RSTOX-> are
used by various circuits distributed throughout the circuit diagrams.
In all cases the above mentioned buffers have pull-up resistors connected to their
input and output pins e.g. resistor packs R307, R309 etc.
4.3.4
20-384
and frequency, battery charging parameters and display language) are maintained; and the real-time clock keeps running. It is not therefore necessary to reprogram these parameters following every start-up.
Note: Jumper X31 must be made in order to enable this function.
The [VBATT> output is not connected to other parts of the circuit, but it is monitored by the microcontrollers analogue input [AN9> via D44, which is a quad analogue switch. [VBATT> is switched through D44 pin 2, by [FL-12> when it goes
high; this is controlled by a 12V supply rail monitor circuit (diagram sheet 5)
which inhibits the [VBATT> sense signal if the 12V power rails are invalid, thus
preventing an erroneous battery voltage fault being detected by the micro under
these conditions.
Note: the other three gates within D44 are not used and their inputs are tied to 0V.
[OUTBAT> signal details
The micro-controller monitors the NiCad battery voltage (3.6V nom) via AN9
and its internal A/D converter (as described above) and turns on the Ni-Cad
charger, by driving the [OUTBAT> signal high, if the Ni-Cad voltage falls below
2.8V. When the charger is active, the [BACK-UP BATTERY LOW] message is displayed on the Operator Control Panel (alarm #76) and led H8 illuminates. Once
the battery is recharged to 3.6V the charger is turned off by the [OUTBAT> signal
returning low and the alarm message is cancelled. Thus the Ni-Cad battery is
charged only when necessary and is not permanently trickle-charged.
Note: the NiCad charger may be active for several hours when the UPS is first
commissioned (depending on the initial battery charge state) jumper X31 must
be fitted to enable the battery back-up facility.
4.3.5
Reset generator
(circuit diagram sheet 2).
A purpose-designed Supply Voltage Supervisor (N24) provides the micro with a
1 second sec logic low [RSTIN-> reset signal on power-up. This signal, which is
applied to the micro pin 27, can also be initiated manually by temporarily making
jumper X28 (1-2). The [RSTIN> signal also resets the RAM chip select signals produced by D19a/d (shown on circuit diagram sheet 3) and points the micro to its
initialisation routines.
Caution
Using X28 to activate the reset circuit during normal UPS operation will crash the
unit, because the run signals to the rectifier, inverter and static switch will be disabled for the 1 second reset period.
20-385
4.3.6
This memory contains the operating system program, or firmware, which is basically a sequence of instructions to be carried out by the micro-controller in order
to make it perform the actions required of it. Upon power-up the micro is pointed
to the first instruction as part of its reset initialisation, and from then on it steps
through the programmed instructions in a sequence dictated by various events and
monitored conditions.
ROM is non-volatile, which means that it does not lose its memory contents in
the event of a loss of power.
Address decoding D33 / D19
The output enable pins of all four memory devices are controlled by the control
bus [RD-> line, therefore when this line goes low the processor can read the data
held at the current address from any of the devices. The purpose of the address
decoding circuit is to enable the microcontroller to select which of the EPROM
or RAM devices it wishes to communicate with at any given time. The memory
devices chip select inputs are controlled by a circuit comprising an ASIC i.c.
(D33) and two gates of D19.
D33s inputs are connected to A0, A14....A17, and several control bus signals
as described in paragraph 4.3.2. which are all controlled by the microcontroller.
The output signals, [CSEP1L->, [CSEP1H->, [CSRA1L->, and [CSRA1H->, adopt logic
states determined directly by these processor-controlled inputs and are synchronised to the processor operation by the 20MHz [CLKOUT> signal.
When low, [CSEP1L-> and [CSEP1H-> enable the EPROM devices via their chip
enable inputs (pin 20), while [CSRA1L-> and [CSRA1H-> perform a similar function on the RAM chips.
The [READY> output from D33 is fed back to the micro to inform it that the appropriate addresses have been loaded into D33s internal latches (See paragraph
4.3.2).
As D19 provides the chip select inputs to the RAM devices it is powered from
the battery-backed RAM supply to prevent RAM data corruption on UPS power
down.
Note: jumper X14 provides a test facility for bench testing only and all links
should be open during normal operation.
20-386
The UPS Logic Board has been designed to facilitate future software upgrades by
including configuration links to permit the addressing of alternative memory devices. These links affect the routing of the AX15 and AX16 address lines, and the
standard configuration is shown below in Figure 20-19.
In the standard configuration the signals annotated [PIN29EP> and [PIN3EP> are
connected to the EPROMs A14 and A15 inputs and are therefore driven by the
AX15 and AX16 address lines respectively. The [PIN31RAM> signal (AX16) is
connected to the A15 input of both RAM devices and the [PIN3RAM> signal
(AX15) is connected to the RAM write enable inputs.
Figure 20-19: AX15 & AX16 decoding configuration links
X19
X13
[AX16>
X22
[PIN3EP>
X21
X23
[AX15>
[PIN29EP>
[WRX>
[PIN31RAM>
[PIN3RAM>
X24
[PIN29RAM>
20-387
4.3.7
Z39
0V
D34-12
MNS_L
MSCROP
BAT_MA
M_BAT_MA
11
SEQ_MAINS
BLK_BYP
13
14
M_ESD
16
MSCROP
15
M_BAT_MA
12
BLK_MAINS
D26-5
D26-4
D26-6
D26-3
C63
D26-7
5
6
17
M_BAT_MA
IB_OPEN
D21-16
D21-5
D21-6
D21-9
V-AUX
M_ESD
1
2
3
4
BLK_INV_M
INV_ON
RST_OUT
L_INV
BLK_MAINS
+5V
Q3
D21-12
R110
Q2
R106
S1
R154
R109
Q1
0V
Block
Bypass
4.3.7.1
Manual
RESET
Block
Inverter
Block
Rectifier
D21-15
L_MAINS
11
BLK_REC_M
13
14
R113
R86
N15-14
M-ESD
SCR_OPN
R112
N15-8
C64
R97
R111
ESD
D22
C62
M_RESET
1
2
3
ALARMS_RES
V-AUX
D21-2
N24-6
0V
D23
12 BAT_TRP
X2-54
15 ON_INV
X3-36
16 INV_L
X5-16
X5-31
17 MNS_L
X5-17
19 ON_REC
X1-36
REC_ON
D22 provides four status signals which are used by D23 and are also monitored
by the microcontroller via the data bus input buffers.
20-388
[M_ESD>, is
The static switch SCR open signal [SCROPN> to D22-6 is produced by N15-8 or
N5-14 (sheet 6) as a logic high when the detection circuits sees a voltage drop
across one of the static bypass SCRs. When D22 pin 6 goes high it drives pin 16
high (provided the load on mains input to D22-7 is also high) which then provides a latching input back to D22 pin 8. This inhibits the output on pin 12 and
holds pin 16 high until the reset circuit is activated the latching signal is debounced by R111/C62. Thus [SCROPN> will block the bypass only when the load
is on-bypass.
In addition to providing the latching function, the high output from D22-16,
to the microcontroller via the data bus buffer D26-4 (See paragraph 4.3.11.4) where it annunciates alarm #15 [I/P: SCR CUT OFF].
[MSCROP>, is fed
DC Overvoltage fast
The [BLKMNS> output from D22 pin 12 goes high when D22 detects any condition
which requires the load to be prevented from being connected to the static bypass
supply. This output is fed to the microcontroller via the data bus buffer U26-3 to
initiate alarm #17 [BYPASS INHIBIT REM.] (See paragraph 4.3.11.4) and is also
connected to D23-7 where, when high, it inhibits the load-on-bypass command [MNS_L> output from D23 pin 17.
The [BLKMNS> signal can be driven high by any of the following conditions:
20-389
A logic low [BATTRP> output from D23-12 trips the battery circuit breaker via
X2-54 (sheet 7), which is connected to the High Voltage Interface Board (See section 7 paragraph 2.3.8). This signal can be driven low by any of the following
D23 inputs:
The [ON-INV> output from D23-15 is connected to the Inverter Logic Board via
X3-36 (sheet 7) where it controls the inverter Start/Stop status. A logic low
[ON-INV> signal commands the inverter to Stop and can be effected by any one
of the following D23 inputs (conversely, all the following inputs must be in their
healthy low state in order for the inverter to run):
DC fast overvoltage (>620V) to D23-1 ([MBATMA> = 1) from D22-15
(see above)
Emergency shutdown to D23-4 ([MSDD> = 1) from D22-17 (see above)
Power-up reset to D23-3 (see above)
20-390
The [ON-REC> output from D23-19 is connected to the Rectifier Logic Board via
X1-36 (sheet 7) where it controls the rectifier Start/Stop status. A logic low
[ON-REC> signal turns OFF the rectifier and can be effected by any one of the following D23 inputs (conversely, all the following inputs must be in their healthy
state in order for the rectifier to run):
DC Fast Overvoltage (>620V) to D23-1 ([MBATMA> = 1) from D22-15
(see above)
Emergency shutdown to D23-4 ([MSDD> = 1) from D22-17 (see above)
Power-up reset to D23-3 (see above)
Software control to D23-14 [REC-ON> generated by the microcontroller and connected via the data bus output buffer D21-12 (See paragraph
4.3.12.5) this signal is low to inhibit the rectifier and high to enable it.
When this signal is actively blocking the rectifier (i.e. low) it initiates
alarm #20 [RECTIFIER: OFF].
Manual rectifier block to D23-13 logic high from the manual rectifier
inhibit switch S2. If the [ON-REC> signal at D23 pin 19 is active (low),
blocking the rectifier, alarm #22 [RECTIFIER: BLOCK] will be active.
Note that this will be disabled if alarm #21 is active. Alarm #21 can be
interpreted that the rectifier has been selected off via the Operator Control
Panel, while alarm #22 suggests that the rectifier has been turned off for
some other reason
Load transfer control
The transfer control logic within D23 is interlocked such that the load on inverter [INV_L> and load-on-bypass [MNS_L> commands are mutually exclusive.
[INV-L>: This output, from D23-16, goes high to transfer the load to the inverter and is connected to the Static Switch Driver Board via X5-15 (sheet 7), where
it turns off the static switch (disconnecting the load from the bypass supply) and
energises the inverter-side contactor (K1) driver circuit.
It is also connected to the Inverter Logic Board, via X3-31 where it triggers the
latches within D11 which makes the inverter voltage track the bypass supply voltage for 100ms (See section 18 paragraph 3.3.3). This is done to provide a smooth
transfer from bypass to inverter and reduce the wear on the inverter-side contactor (K1).
In order for D23 pin 16 to go high, D23 requires pin 8 ([RSTOUT>) to be low and
pin 9 ([L-INV>) high. Both these signals are produced by the microcontroller and
connected to D23 via the data bus output buffer D21 (See paragraph 4.3.12.5).
20-391
[RSTOUT> is
[MNS-L>: This output, from D23-17, goes high to transfer the load to the
bypass and is connected to the Static Switch Driver Board via X5-17 (sheet 7),
where it turns on the static switch driver circuit, connecting the load to the bypass
supply. It is also connected to D22-7 where (when low) it disables the bypass
SCR open input to D22-6 when the load is not connected to the bypass supply.
In order for D23 pin 17 to go high D23 requires:
pin 7 to be low (i.e. no [BLKMNS> from D22)
AND
either pin 8 [RSTOUT> to be high not requesting load-on-inverter
OR
pin 11 ([L-MNS>) high requesting load-on-bypass.
The signals to pins 8 and 11 are produced by the microcontroller and connected
to D23 via the data bus output buffer D21 (See paragraph 4.3.12.5). [RSTOUT> is
a 1 second hold-off command issued by the microcontroller when it is performing
its initialisation checks during power-up; and [L-MAINS> is the transfer-load-tobypass command issued when all its software-controlled parameters have been
verified for appropriate action (e.g. Critical bus volts not OK, overload, bypass
volts OK etc.).
4.3.8
4.3.9
D18 is powered from the Ni-Cad-backed [VRAM> supply which is available at all
times provided jumper X31 is made 1-2 (See paragraph 4.3.4). This supply is
connected to pin 16 (Vcc), pin 13 (Vbatt) and also, via an R-C delay circuit
(R1087/C54), to pin 10 (POR). The general +5V control power rail is also monitored by the device at pin 12 (VSYS).
20-392
The delayed input to pin 10 is seen as a Power On Reset (POR) and resets the
device by briefly holding pin 10 low while the device is powered-up. Note that as
the battery-backed supply is present at all times, this is effectively a once-only
reset that takes place when X13 is initially made (i.e. battery connected) and is not
affected by subsequent application/removal of the UPS Logic Boards +5V control power supply.
The boards +5V supply rail is monitored at D18 pin 12; and when the voltage at
this pin is less than 0.7V above the Ni-Cad voltage (pin 16) the device switches
to a low-power standby mode whereby it maintains its time-keeping function but
internally inhibits the serial communication facilities with the micro-controller.
This prevents the passage of invalid or spurious data while the micro-controller is
powering-down and so prevents RTC data corruption.
Clock control
The RTCs internal timer operation can be controlled from one of two sources;
i.e. either from an external crystal-controlled clock reference or a 50/60Hz mainsderived sinusoidal signal. In this particular application an external crystal is used
and the 50/60Hz input to pin 11 (LINE) is grounded via R107.
For crystal operation pins 14 and 15 are connected to a 32.768kHz, 1.048576kHz,
2.097152kHz or 4.194304kHz crystal, as shown on the circuit diagram. A programmable internal divider circuit enables the particular external clock frequency
to be scaled down to that used by the internal logic. The internal clock signal is
made available at pin 1 (CLKO) but in this particular application is not used, and
remains unterminated.
Serial communications interface
The functions connected to pin 2, pin 3 and pin 9 are not used in this particular
application and these pins are tied to their default logic levels as shown.
20-393
Section 20:
4.3.10
D17
CP
OE
D2
D25
CP
OE
D1
[CSIN2->
D9
OE
CP
D26
CP
D51
D50
CP
OE
D60
CP
D7
D54
CP
CP
D10
CP
<CSOU3-]
D55
OE
[CSDIS->
<CSOU2-]
D21
OE
[CSIN3->
<CSOU1-]
<CSOU4-]
D56
CP
DATA
BUS
Control Bus
Microcontroller
Address Bus
AX11
AX12
AX13
AX14
AX15
AX16
AX17
[RDX->
[WRX->
20-394
1
2
3
4
5
6
7
8
9
D52
12
13
14
15
16
17
18
19
[CSDIS->
[CSIN1->
[CSIN2->
[CSIN3->
[CSOU1->
[CSOU2->
[CSOU3->
[CSOU4->
4.3.11
4.3.11.1
20-395
IN-LOW
20-396
FUSREC
20-397
XINVI1
20-398
M-ESD
Source: Sheet 7 X7
Description: Data from parallel control bus not used in a single-module installation. The Parallel Logic board interfaces with the micro via this buffer and
is active only in the 1+1 and multi-module system configurations
4.3.11.6
20-399
Note: The response to the ON-GENERATOR event is programmable via the Operator Control Panel FUNCTION software screen which allows three separate
functions to enabled/disabled:
Synchro Block is concerned with the [BLK-SYN> signal mentioned here
and, when enabled, prevents the inverter from tracking the bypass frequency when it is being provided by the standby generator.
Charge Inhibit is concerned with the battery recharge current limit
function which, when enabled, reduces the RECTIFIER current limit by
15%.
Current Limit is concerned with the rectifier input current limit
[XRADD1> function which, when enabled, reduces the input current limit
by 35%.
The reduced current limit functions are employed to lower the potential
maximum current demand if the standby generator is undersized.
BLK-EXT
20-400
Open
(Standard)
Closed
LINK 3-4
LINK 5-6
Open
4.3.12
Closed
(Standard)
Open
(Standard)
Closed
LINK 7-8
Open
(Standard)
Closed
4.3.12.1
These two devices connect the data bus output to the two on-board 7-segment diagnostic displays (H11 & H12). For a detailed description of the displayed parameters (see paragraph 4.3.17 on page 20-422).
4.3.12.2
20-401
Description: Reduced current limit when this output goes high it reduces the
Rectifier Logic Boards input current limit threshold by 35% (See section 4 paragraph 2.3.4.2).
Conditions: This software-selectable output is activated when the UPS is running on standby generator as described on page 20-399 ([BLK-SIN>).
REC-B & REC-A
Conditions: These outputs select Test, Boost, Float and Manual charge modes
in response to selections made on the Operator Control Panel. The automatic
Boost mode parameters, i.e. duration and threshold, are also operator-defined
(see paragraph 2.5.6 on page 2-53). LEDs on the Rectifier Logic Board illuminate to indicate the active charge mode.
XAT01 & XATO2
Conditions: This output is high for 50Hz and low for 60Hz as selected on the
Operator Control Panel see Selecting the UPS SETUP parameters in the commissioning procedure (see paragraph 2.4.5.3 on page 2-35).
INV-B & INV-A
Conditions: The logic states of these outputs are determined by the working
voltage selected by the operator see commissioning procedure (see paragraph
2.4.5.2 on page 2-34). LEDs on the Inverter Logic Board illuminate to indicate
the active selection.
4.3.12.3
20-402
RE485-
Conditions: This output enables the Ni Cad battery charger if its voltage falls
to 2.8Vdc and disables it again once the battery voltage rises to 3.6V.
Note: when the charger is enabled the [BACK-UP BATTERY LOW] warning is annunciated (alarm [#76] active).
4.3.12.4
20-403
SELANA / SELANB
Destination: Sheet 6
Description: These two outputs are connected to the address inputs of three 2pole multiplexers which select the analogue signals for the microcontrollers A/D
inputs e.g. selecting the analogue signals for display purposes (kVA values are
calculated in software using V x I).
4.3.12.5
Conditions: This facility is not programmed into the current software and it is
therefore not used.
INV-ON
Conditions: The signal deactivates the above signals while the micro is reloading the default parameters, which can be activated using the RELOAD UPS DATA
selection on the Operator Control Panel menu screens. Note: the load should
always be on the Maintenance Bypass before performing a system reload.
L-INV
[RSTOUT>
20-404
REC-ON
Conditions: This signal is software driven via a programmable parameter setting entered from the Operator Control Panel to trip the battery circuit breaker
when the battery is fully discharged (see page 2-37). The Emergency Shutdown
and DC Overvoltage inputs to D23 pins 4 and 1 also trigger the battery trip signal
when active (See paragraph 4.3.7.2).
TP6
Destination: Sheet 7 X7
Description: Data to parallel control bus used in parallel installations only.
4.3.12.7
Destination: Sheet 7 X7
Description: Data to parallel control bus not used in a single-module installation.
OUT-03
20-405
Conditions: Logic high if mains (bypass) supply error i.e. overvoltage [#11],
undervoltage [#12], absent [#10] or bypass blocked [#17].
BATED
20-406
20-407
CS-KO
20-408
4.3.13
VI-A
8Vp-p
F-IN
X4
X3
X18-3
63
16
BACKM
34
BACK
D17
DATA
BUS
D54
phase
align
FRFB
34
R247
15 INV-F
50 /60 Hz
selection
37
37
INV-F
44
Clock
signals
to tri-wave
generator
SYNC-KO
D1
Sync error
detection
D60
27
26
Frequency
Divider
43
CLK
288kHz
MICROCONTROLLER
15
BLK-SYN
Sync Inhibit
Phase
Locked
Loop
50/60Hz
D42
X18-2
62
15
F-INM
4
9
VCO
X18-4
64
SYNCM
D59
50/60Hz signal
synchronised to
bypass (when present)
15
SYNC
Master Freq
reference for
Inverter Osc
(correction)
4.3.13.1
35
35
SYNC
14
13
Phase
Comparator
D6 3
Inverter Logic Board
The inverter frequency is determined by the VCO section of a phase locked loop
i.c. (D6) on the Inverter Logic Board which provides a 288kHz (nominal) clock
signal to a frequency-divider (within D1) which then clocks the multiplexers in
the reference voltage generator circuit (See section 18 paragraph 3.3.2).
Base frequency selection
The inverter base frequency is selected via the Operator Control Panel during
commissioning and is read by the microcontroller through the CAN bus. The
micro responds by appropriately setting the [INV-F> output from D17-15 Low =
50Hz and High = 60Hz. This is connected to the frequency divider on the Inverter Logic Board where it determines the division factor i.e. when [INV-F> is low
the 288kHz VCO output is divided by 5760 to produce a 50Hz output at D1-26/
27; when [INV-F> is high the division is 4800 and produces a 60Hz output.
Frequency synchronisation
It is desirable that the inverter output is synchronised to the bypass supply under
normal operating conditions as this enables a closed load transfer to be carried
20-409
out in the event of a UPS fault where-by the static switch SCRs are turned on at
the same time as the inverter contactor is opened, and the load does not experience
a supply break.
If the inverter is not synchronised to the bypass supply there could be a large voltage difference across the static switch SCRs while the load is on-inverter (i.e.
SCRs OFF) which might damage the UPS/load equipment during a subsequent
closed transfer: in such circumstances an open transfer takes place if the UPS
develops a fault, where-by the inverter contactor is opened prior to turning ON
the static switch SCRs. This causes a load supply break of up to 1 second, which
is an inbuilt feature designed to avoid load damage.
The frequency synchronisation control mechanism is quite complex and effectively based on two nested phase locked loops. The inner loop comprises D6 on
the Inverter Logic Board and the outer loop is functionally provided by the microcontroller, under software control.
4.3.13.2
The phase comparator section of D6 compares the 50Hz output from D1-26,
connected to D6-3, with a frequency reference signal annotated [SYNC> which is
produced by the microcontroller and connected to D6-14 (available at test point
X18-4). If the phase comparator detects any phase difference between these two
signals its output at D6-13 will modify the VCOs frequency in such a way as to
make the frequency divider output at D1-26 match the [SYNC> signal frequency
i.e. the VCO frequency will be modified until the phase comparator within D6
sees no error between these signals, whereupon the circuit can be considered to
be phase-locked. Thus the inverter frequency tracks the [SYNC> signal reference
frequency.
[SYNC> signal generation (assuming 50Hz)
The microcomputer monitors the bypass supply R-phase waveform [VI-A> via a
comparator which extracts its frequency information, [F-INM>. This signal can be
seen at X18-2 as a squarewave coinciding with the bypass supply R-phase zerocrossing points. The Inverter Logic Board frequency dividers 50Hz output (D127) is also monitored and is available at X18-3, annotated [BACKM>.
Under software control, the micro operates on these two signals in the same way
as described above for the Inverter Logic Boards phase-locked-loop. That is, it
performs the phase comparator and VCO functions described above and produces a 50Hz output, [SYNC>, whose absolute frequency is controlled by the detected phase difference between [F-INM> and [BACKM> i.e. the width of the pulse
is directly proportional to the amount of phase difference.
Example of sync control
The overall operation of the synchronisation control circuits can best be explained
by example. Consider the case where the bypass frequency suddenly jumps from
50Hz to 50.5Hz:
1. The micro will sense the jump in bypass frequency through a rise in [F-INM>
to 50.5Hz.
2. The micro will sense a phase error between [F-INM> and [BACKM> due to their
frequency difference and will ramp-up the [SYNC> signal frequency because
it senses that the bypass frequency is higher than that of the inverter.
20-410
Important notes: The above description requires qualification by the following notes.
a) The internal mechanism of the frequency divider chip ties its 50Hz outputs to the zero-crossing points of the R-phase inverter voltage. Thus, as
the micro uses the bypass R-phase supply as its frequency sensing source,
this effectively ensures that the inverter and bypass supplies are synchronised correctly from a phase alignment viewpoint.
b) To aid description the above example assumed that the bypass frequency
underwent a stepped change; however, in practice any change in bypass
frequency is likely to occur gradually: in which case the circuit dynamics
are usually able to maintain a phase-locked condition during the period of
change, resulting in the inverter frequency tracking the bypass frequency
at all times without incurring a detectable phase error.
c) The synchronising window and slew-rate are adjustable and selected
from the Operator Control Panel setup menus. The window defines the
limits to which the inverter is allowed to track the bypass frequency and
normally set to 2%; while the slew-rate defines the maximum permitted rate-of-change of inverter frequency and is usually set to 0.1Hz/s. i.e.
this determines the fastest rate of change of bypass frequency tolerated by
the synchronisation circuit whilst maintaining sync.
If the bypass frequency goes outside the permitted window the inverter
frequency will return to its base frequency and await the mains return
20-411
R247 is connected to a phase-shift circuit on the Inverter Logic Board and provides the means for trimming any error in the phase relationship between the inverter [BACKM> and bypass [F-INM> sense signals once the sync control circuit is
phase-locked due mainly to component tolerances. Therefore, once the inverter
is synchronised this resistor can be adjusted to reduce the residual phase difference between the inverter R-phase output and the bypass R-phase supply.
4.3.13.3
20-412
4.3.14
4.3.14.1
Line-Line
N6
Buffer
N29
Sum-Amp
3-Phase
Bypass
Volts
Sense
+5V
+2.5V
0V
VIABM
To A/D
Multiplexers
(Display uses)
VIBCM
VICAM
REF-2 (2.5V)
8Vp-p
N29d
Rectifier
[SVI>
A-Ph
B-Ph
N14
Filter
N14
Filter
[F-IN> To Micro
(sync control - bypass R-ph)
D27
Ph-Seq
[SEQMNS>
To Micro
(Phase Sequence
error detector)
Voltage sensing
The bypass voltage sense signals ([VI-A> - [VI-C>) are developed on the High Voltage Interface Board (See paragraph 2.3.6) and connected via X2 pins 15, 16, 17
to N6b/c/d which are unity-gain buffers (sheet 5). The signals at N6 outputs therefore equate to approximately 1% of the bypass supply line-neutral voltage (e.g.
2.4Vrms at 240V working) and are connected to several blocks as shown in
Figure 20-23.
Voltage monitoring
N29a-c take the line-to-neutral sense voltages produced by N6 and converts them
into line-to-line sense voltages suitable for connecting to the microcontroller A/D
inputs. Taking N29a as an example; this amplifier differentially sums the [VI-A>
and [VI-B> signals from N6 and produces the [VIABM> L-L signal. However the
amplifier attenuates the resultant signal to about 30% (e.g. 1.38V for 240V working) due to its feedback resistance ratios: also, the non-inverting input is connected to VREF-2 (2.5V reference voltage) rather than to the 0V rail, which therefore
applies a 2.5V offset to [VIABM>. Thus in a 240V system working at nominal voltage [VIABM> is approximately 3.9Vp-p centred on a 2.5V reference. This signal
sits well within the microcontrollers A/D 0-5V input level, and is shown connected to the A/D multiplexer circuit (sheet 6).
Note: if the bypass voltage is missing [VIABM> will be 2.5Vdc due to the absence
of any ac signal.
20-413
The bypass R-phase signal [VI-A> from N6-14 is connected to a zero-crossing circuit comprising N14a/d which produces a squarewave output [F-IN> at D34-6
which coincides with the R-phase zero-crossing points. This signal is used by the
microcontroller in its frequency synchronisation control (See paragraph
4.3.13.1).
A similar squarewave coinciding with the S-phase is obtained via N14b/c and
buffered by D34-8. These two squarewave signals are connected to a D-type flipflop (D27) which detects their phase relationship. Under normal circumstances
the R-phase signal should lead that of the S-phase; therefore when the rising-edge
R-phase signal clocks D27, its data (D) input should be low, producing a permanent high on its Q output which inverted to a low [SEQMNS> signal at D34-10.
In the event of a phase sequence error, D27 will have a permanent low clocked
through to its Q output and produce a high [SEQMNS> signal.
is connected to the microcontroller via the data bus buffer D28-7
where it flags a phase rotation error [I/P: PHASE ROT.ERROR] alarm #14 (See
paragraph 4.3.11.4).
[SEQMNS>
A full-wave, three-phase diode bridge comprising V34-V36 & V40-V42, produces a dc voltage proportional to the full three-phase supply which is fed to N29d.
This amplifier attenuates the signal by 55% due to the values of the feedback resistors; therefore the output at N2-14 is approximately 2.5Vdc at nominal working
voltage. Note that this is a ripple voltage since there is very little capacitance
around the amplifier. Thus if any bypass phase voltage goes out of tolerance (e.g.
10% window) the detector will sense the error. It does not require all three
phases to go outside the error window.
N2-14 provides signals to two other areas: [SVIM> is connected to the microcontroller A/D input via the multiplexer circuit shown on sheet 6 and used by the
micro to monitor the bypass voltage for a each individual phase (e.g. 10% voltage error); and [SVI> is connected to the circuit (also on sheet 6) which detects an
open circuit static switch SCR.
4.3.14.2
8Vp-p
2.2Vdc
Line-Neut
3-Phase
Inverter
Volts
Sense
N3a-c
Buffer
N3d
Rectifier
[SVINVM>
To A/D Multiplexers
Voltage sensing
The inverter voltage sense signals ([VINV-A> - [VINV-C>) are developed on the High
Voltage Interface Board (See paragraph 2.3.5) and connected via X2 pins 18, 19,
20 to N3a-c which are unity-gain buffers (sheet 5). The signals at N3 outputs
therefore equate to approximately 1% of the inverter line-neutral voltage. A fullwave, three-phase diode bridge produces a dc voltage proportional to the full
three-phase output which is then fed to N3d. This amplifier attenuates the signal
20-414
by 55% due to the values of the feedback resistors; therefore the output at N3-14
is approximately 2.5Vdc at nominal voltage, and connected to the microcontroller
A/D input via the multiplexer circuit shown on sheet 6. This is a ripple voltage as
described previously, and is monitored by the inverter voltage error software
function (i.e. 10%).
4.3.14.3
To A/D Multiplexers
N13a
Buffer
[V-B>
N13c
Comparator
[BAT-MA>
DC Overvoltage (Fast)
(set to 620V(bat))
The DC busbar (battery) voltage sense signal [V-B> is developed on the High Voltage Interface Board (See paragraph 2.3.3) and connected via X2 pin 27 to N13a
which is a unity-gain buffer (sheet 5). The signal sensitivity is set on the High
Voltage Interface Board to approximately 7.3mV per Volt(bat) therefore [VBM> is
about 3.255V at nominal 446V float charge voltage. This signal is connected to
the microcontroller A/D input, via the multiplexer circuit shown on sheet 6, where
it is used by several software functions, such as: display metering; slow DC overvoltage (max 2.4V/cell window); Low Battery warning (1.82V/cell window); End
of Discharge (1.67V/cell window); and % charge/autonomy time algorithms.
DC Overvolts detection (Fast)
[VBM>
[BAT-MA> is connected to the Basic System Control Logic where it trips the bat-
tery circuit breaker, turns off the rectifier and inverter, and trips a latch (See paragraph 4.3.7.1). In an overvoltage situation [DC BUS: FAST OVERV.] alarm
#58 the Basic System Control Logic responds by issuing a high [MBATMA>
signal which flags the micro-controller via data bus buffer D26 (See paragraph
4.3.11.4).
4.3.14.4
[I-B>
N13b
Buffer
[IBM>
To A/D Multiplexers
20-415
The battery current sense signal [I-B> is developed on the High Voltage Interface
Board (See paragraph 2.3.22) and connected via X2 pin 31 to N13b which has a
gain of approximately1.5 (sheet 5). The signal sensitivity is set on the High Voltage Interface Board by jumper X38 and the output [IBM> is connected to the
micro-controller A/D input via the multiplexer circuit shown on sheet 6 where it
is used for display purposes, and % charge and Autonomy Time algorithms.
4.3.14.5
Line-Line
3-Phase
Output
Volts
Sense
N5
Buffer
N31
Sum-Amp
VOABM
VOBCM
VOCAM
REF-2 (2.5V)
8Vp-p
N15a
Rectifier
[SVI>
To A/D
Multiplexers
(Monitoring &
display)
N15b-d
Comparator
[SCROPN>
To Micro
(SCR open cct.)
Line-Neut
N30
Buffer
VOAM
VOBM
VOCM
To A/D
Multiplexers
(monitoring & display)
REF-2 (2.5V)
Voltage sensing
The bypass voltage sense signals ([VO-A> - [VO-C>) are developed on the High
Voltage Interface Board (See paragraph 2.3.6) and connected via X2 pins 21, 22,
23 to N5a-c which are unity-gain buffers (sheet 6). The signals at N5 outputs
therefore equate to approximately 1% of the output line-neutral voltage (e.g. 2.4V
(8Vp-p) at 240V) and connected to several blocks as shown in Figure 20-27.
Voltage monitoring
The signals from N5a-c are connected to two sets of buffers which provide lineto-neutral and line-to-line monitoring voltages which are connected to the microcontroller A/D inputs via the multiplexer circuit shown on sheet 6 and used for
metering & display purposes.
20-416
As shown in Figure 20-27, the output voltage (3-phase) sense signal [SVOM> and
bypass voltage (3-phase) sense signal [SVI> are both connected to the Static
Switch SCR open circuit detector.
4.3.14.6
3-Phase
Output
Current
Sense
N4a-c
Buffer
N4d
Sum-amp
[IOAM>
[IOBM>
[IOCM>
[IONM>
To A/D Multiplexers
(Overload & Timers)
(Display Metering)
The UPS output current sense signals ([IO-A> - [IO-C>) are developed on the High
Voltage Interface Board (See paragraph 2.3.19) and connected via X2 pins 32,
33, 34 to N4a-c which attenuate the sense signals by approximately 75% and also
applies a 2.5Vdc offset due to the non-inverting connection being terminated at
VREF-2 (2.5V reference voltage). The output signals [IOAM> etc. are connected to
the microcontroller A/D inputs via the multiplexer circuit, and the 2.5V offset is
sufficient to make the a.c. current signal sit within the 0-5V A/D input voltage
range. These signals are by the micros overload algorithm (i.e. 150% for 1
minute, 125% for 10 minutes, 110% for 1 hour, 101% for 9 hours. They also represent the values shown on the Operator Control Panel Measurements display
screen.
20-417
N4d calculates the neutral current by differentially summing the three line currents in a balanced three phase system the algebraic sum of the currents should
equal zero, thus if the system is unbalanced then the amount of imbalance represent the current flowing in the neutral path. The neutral current signal [IONM> is
also subject to the 2.5V offset and applied to the microcontroller A/D inputs via
the multiplexers in the same way as the line current signals.
4.3.14.7
20-418
4.3.15
4.3.15.1
Power supplies
General description and voltage regulators
The UPS Logic Board 12V power supply rails are provided from two parallel
sources and will be available if either source is live. The first source is from the
Rectifier Logic Board, which is itself powered from the AC-DC Power Supply
and available whenever the UPS input (rectifier) supply is live (see paragraph 2.1
on page 3-5); the second if from the Inverter Logic Board, which is powered from
the DC-DC Power Supply and is available whenever the rectifier is working or
the batteries are connected to the DC Busbar (see paragraph 3.1 on page 3-7).
From the UPS Logic Board the 12V supplies are passed directly to all the remaining circuit boards and the communications port etc.
4.3.15.2
Several devices require a stable +5V power supply which is provided by a simple
3-terminal +5V regulator (N1), shown on sheet 7.
In addition to the +5V power supply rail, there are also two reference voltage generators on the circuit board. One generates a regulated +5V, [VREF>, from the
+12V line and the other generates a regulated 2.5V output, [VREF-2>, from the
+5V supply rail. These reference voltages are used in conjunction with the microcontrollers A/D analogue inputs and are shown on sheet 5 of the circuit diagram.
+5V reference voltage [VREF>
This provides a stable power supply for the A/D converters within the micro
which is necessary for them to maintain their conversion accuracy.
2.5V reference voltage [VREF-2>
Comparator N45a (sheet 5) serves as a -12V supply rail monitor and detects when
the -12V is less than approximately -9.8V. The operating threshold for this circuit
is set by V70 which applies a zener referenced voltage across R242/243 from the
+12V rail and under normal conditions sets N45-3 at about 1.86V. The -12V rail
is monitored via a resistor divider (R240/241) which is fixed at +3V at one end by
V70.
Due to the chosen resistor ratios, the voltage at N45-2 rises above 1.86V when the
-12V rail is less than -9.8V, at which point N45-1 switches low and produces a
logic high [FL-12-> signal and low [FL-12>.
When [FL-12> goes low it inhibits the back-up battery voltage sense signal to the
microcontroller via D44, as shown on diagram sheet 2 (See paragraph 4.3.4).
When [FL-12-> goes high is disables the microcontrollers A/D input multiplexers,
as shown on sheet 6 (See paragraph 4.3.14.7).
20-419
20-420
4.3.16
External communications
RS232 communications
Transmit mode. the transmit mode is enabled when [DE485> is high, whereupon the [TXDI> data from the microcontroller, applied to D58 pin 4, passes through
the device and drives its differential outputs as described in appendix A.5. Note
that X32 should be made in order to connect the bus termination resistor (R250)
across the transmission line to present the correct impedance to the differential
outputs.
Receive mode. the receive mode is enabled when [RE485-> is taken low, whereupon the data on the differential I/O bus is converted into a data-stream and connected to the microcontroller via [RXDI>.
20-421
4.3.17
CODE
Audible Alarm
(Operator Panel)
01
[ NORMAL OPERATION ]
OFF
OFF
02
Continuous
ON
03
Continuous
ON
04
Continuous
ON
05
Continuous
ON
06
[ ON MANUAL BYPASS ]
Manual bypass breaker closed
Pulsed
Flashing
10
[ I/P: ABSENT ]
Bypass supply absent i.e. <50V
Intermittent
Flashing
11
Intermittent
Flashing
12
Intermittent
Flashing
13
Intermittent
Flashing
14
Continuous
ON
15
Continuous
ON *
16
[ BYPASS INHIBIT ]
Bypass supply blocked
hardware block on UPS Logic Board
Pulsed
Flashing
17
Pulsed
Flashing
18
[ LOAD ON BYPASS ]
Intermittent
Flashing
19
[ BYPASS OVERTEMPERAT. ]
Static bypass overtemperature
warning
Continuous
ON
20
[ RECTIFIER: OFF ]
Software block via micro
Intermittent
Flashing
20-422
Audible Alarm
(Operator Panel)
21
Pulsed
Flashing
22
[ RECTIFIER: BLOCK ]
Hardware block via UPS Logic Board
Continuous
ON
23
Intermittent
Flashing
24
[ RECTIFIER: OVERTEMP. ]
Rectifier overtemperature
Continuous
ON
25
Continuous
ON
30
[ INVERTER: OFF ]
Software block via micro
Intermittent
Flashing
31
Intermittent
Flashing
32
[ INVERTER: BLOCK ]
Hardware block via UPS Logic Board
Continuous
ON
33
Continuous
ON
34
[ INVERTER: OVERTEMP. ]
Inverter overtemperature
Continuous
ON
35
[ INVERTER:OUT OF SYNC ]
Inverter unsynchronised to bypass
warning
Intermittent
Flashing
36
[ INVERTER: OVERVOLTA. ]
Inverter overvolts warning
Continuous
ON
37
[ INVERTER: UNDERVOLTA. ]
Inverter undervolts warning
Continuous
ON
38
Continuous
ON
39
[ OUTPUT: OVERVOLTAGE ]
Inverter overvoltage trip
critical bus overvoltage trip to bypass
Continuous
ON
40
[ OUTPUT: UNDERVOLTAGE ]
Critical bus undervoltage trip to
bypass level set via mimic menu
Continuous
ON
41
[ OUTPUT: NO VOLTAGE ]
UPS in off-line mode
Continuous
ON
42
Continuous
ON
43
Continuous
ON
CODE
20-423
Audible Alarm
(Operator Panel)
44
Continuous
ON *
50
Pulsed
OFF
51
Intermittent
Flashing *
52
[ BATTERY: DISCHARGING ]
Battery is discharging
Intermittent
Flashing
53
[ BATTERY: E.O.D. ]
Battery end_of_discharge trip
level set via mimic menu
Continuous
ON
54
[ MAX.DUR.BOOST CHARGE ]
Boost charge period expired
Pulsed
Flashing
55
[ DC BUS: OVERVOLTAGE ]
DC slow overvolts warning
level set via mimic menu
Continuous
ON *
56
[ DC BUS: UNDERVOLTAGE ]
Low battery warning
level set via mimic menu
Continuous
ON
57
Continuous
ON
58
Continuous
ON *
60
[ BYPASS OVERUSE ]
Transfer counter exceeded
i.e. >8 transfers in 1 minute
Continuous
ON *
61
[ CUT-OFF: OVERLOAD ]
Overload timer expired
Continuous
ON *
62
[ CUT-OFF: OVERTEMPER. ]
Overtemperature timer expired
Continuous
ON *
63
[ CUT-OFF: EMERGENCY ]
Emergency power-off activated
Continuous
ON *
66
[ OVERLOAD ]
Overload present (warning)
Continuous
ON
67
[ CUT-OFF: OVERLOAD ]
Overload timer expired
Continuous
ON *
70
Pulsed
ON
CODE
20-424
Audible Alarm
(Operator Panel)
71
Pulsed
ON
72
Pulsed
ON
73
Pulsed
ON
74
Pulsed
ON
75
Pulsed
ON
76
Pulsed
ON
80
81
82
83
84
[ MODEM NO RESPONSE ]
Modem incorrectly connected
85
86
87
88
CODE
20-425
4.4
Summary information
Table 20-16: UPS Logic Board configuration jumpers
Jumper
Link
Position
X11
NO LINK
1-2
X12
X13
X14
X15
X16
X17
X19
X20
X21
X22
X23
20-426
OPEN
Function
Disable RS232 port (standard)
Enable RS232 port
(standard)
1-2
Not Required
3-4
Not Required
1-2
EPROM Enable
2-3
1-2
Not Required
3-4
Not Required
5-6
Not Required
7-8
Not Required
1-2
2-3
OPEN
Testing only
normally
open
(standard)
1-2
1-2
2-3
1-2
2-3
1-2
2-3
1-2
Not Required
2-3
1-2
2-3
Not Required
1-2
Not Required
2-3
3-4
Not Required
4-5
Not Required
Jumper
Link
Position
X24
1-2
2-3
3-4
4-5
1-2
2-3
1-2
Open (Standard)
Auto-transfer mode enabled (on-line operation).
Automatic load transfer from bypass to inverter when the
inverter is available i.e. the inverter is the preferred supply
source.
Closed
Manual-transfer mode enabled (off-line operation).
Automatic load transfer from bypass to inverter only when
the bypass is unavailable i.e. the bypass is the preferred
supply source. Note: there will be a 3-cycle break on transfer to inverter.
3-4
Open
Inverter voltage fail lockout monitor disabled.
Closed (Standard)
Inverter voltage fail lockout monitor enabled. i.e. The
inverter is given 5 seconds to reach nominal voltage otherwise it is latched OFF.
5-6
Open (Standard)
Enables the Event History monitor to store up to a maximum of 10 alarms.
Closed
Resets the Event History monitor. Note: After the 10th
event, the monitor buffer is full an cannot store any further
events. The buffer should be reset to 0 after each maintenance or commissioning to enable new events to be captured.
7-8
Open (Standard)
Password protection enabled
Closed
Password protection disabled
X25
X26
X28
OPEN
CLOSED
X29
OPEN
1-2
X31
OPEN
1-2
X32
OPEN
1-2
Function
20-427
Function
R209
R212
20-428
LED
Colour
H1
Red
Function
Internal battery charger operating
Section 7:
5.1
Chapter overview
This chapter contains a circuit description of the Operator Logic Board used
across the entire 7200 Series UPS model range, and should be read in conjunction
with circuit diagram SE-4550005-F (4 pages).
Signal annotations shown on the circuit diagrams are shown in italics in the following text e.g. [CLKOUT>. Where a signal is active low it is followed by a negating symbol e.g. [RSTD->
5.2
5.2.1
General description
Circuit board functions
The Operator Logic Board provides a microprocessor-controlled interface between the Operator Control Panel and the microcontroller-based UPS control
system on the UPS Logic Board. Its primary functions can be summarised as follows:
Display indication
The UPS Logic Board provides the Operator Logic Board with data pertaining to various system operating parameters which are converted to a
format suitable for driving the Operator Control Panel LCD display.
Operator input
The Operator Control Panel switches are monitored by the Operator Logic
Board which converts any switch operation into a format understood by
the UPS Logic Board.
External communications options
The Operator Logic Board provides several external communications
facilities for use with remote alarm/control stations.
Connector X8 provides a two-way RS232 read/write control port.
Connector X5 provides a one-way RS232 read only control port.
Connector X5 provides a one-way RS485 read only control port.
The board also contains an RS232/modem interface which can be used for
diagnostic purposes.
Isolated power supply
An isolated power supply is contained on the Operator Logic Board which
is used by the circuits associated with the communications facilities. Internal communications between the Operator Logic Board and the UPS
Logic Board is by means of a CAN bus (Controller Area Networking).
Power supply isolation increases noise immunity and helps avoid spurious
data transfer between the micro-computer systems contained on each
board.
7-133
5.2.2
Input/Output connections
Figure 7-29: Operator Logic Board connections
RS232
Modem
Facility
(read/write)
RS232
Comms
(Reserved)
(read only)
RS485
Comms
Facility
(read only)
X8
X5
X4
X9
X2
Isolated
power supply
feed
X4
Operator
Panel
CAN Bus
X6
UPS Logic Board
The Operator Logic Board has six connectors (See Figure 7-29) whose connections are summarised below.
X1 Connection to the Operator Control Panel
X2 System control and monitoring signals to/from the UPS Logic
Board. This connection takes the form of a serial data link (CAN Bus).
X4 Standard RS485 comms port (read only)
X5 Standard RS232 comms port (read only)
X8 Standard RS232 comms port/modem interface available for external
control/monitoring/diagnostics facilities (read/write)
X9 Control power supplies (12V) from the system control power rails
via the UPS Logic Board.
7-134
D19
D20
RS232
Read
Only
RS485
Read
Only
X23
D2 = 80C166
P3
P5
P1
P4
P0
20MHz
Clock
AX
Switches
LEDS
DX
Ds
s
he
itc
Sw
LE
ROM
Display
Latch
R21
Contrast
Adjustment
Serial
Decode
D11
RAM
CAN D12
Decode
LEDs
Bar Gr
Switch
Charac
X1
RS232
Port X8
Read/
Write
CAN Bus
5.2.3
Data
Horn
Reset
Power
X26
Block Diagram
Figure 7-30: Operator Logic Board basic block diagram
7-135
Latch
System overview
Processor system
The Operator Logic Board control system is based on a type 80C166 microcontroller, as shown in Figure 7-30. This device, which is identical to that used on the
UPS Logic Board, contains six configureable ports through which it communicates with peripheral circuits/devices, together with several system control
lines. It also contains several internal A/D converters, four programmable timers
and internal ROM (32k) and RAM (1k).
The ports are configured by an initialisation routine performed by the system software on power-up and can be summarised as follows.
Port 0
Port 0 is configured as a multiplexed Data/Address bus and is connected
to both the Address and Data bus ports of the peripheral devices through a
series of controlled latches, providing an 8-bit data bus <DX0...DX7> or 16bit address bus <AX0...AX15>.
Port 1
This is configured as a 16-bit output port. Its primary outputs, [LD1> to
[LD9> drive the Operator Control Panel LEDs. Other outputs provide the
LCD display read and write control signals and chip select signals for
the RS485 communications port device.
Port 2
Three lines of this port are used in conjunction with the CAN serial data
controller. For reasons of clarity this port is not shown in Figure 7-30.
Port 3
This port is configured to work with the internal timers and is used to control the RS232 and RS485 access, and also the audible warning sounder
associated with the UPS Alarms annunciation.
Port 4
The lower two lines only are utilised on port 4. These provide the upper
two address lines <A16...A17> the lower address lines <A0...A15> are provided by port 0. These lines, which do not pass through the selectable
buffers used by the lower 16 address lines, are always available and used
as inputs by the address decoding which produce the chip select signals
used by the various peripheral devices.
Port 5
The lower five lines of this port <P5-0...P5-4> monitor the Operator Control Panel switches and detects their operation.
System control lines
In addition to the I/O ports, the microcontroller also has a control bus with
I/O lines generally associated with a microprocessor-based system; such
as a system clock, reset, address latch enable, power reset and Read/Write
control. These are connected to the peripheral devices where required.
Memory
The microcontroller uses both internal and external memory; 256k of RAM and
256k of EPROM are fitted to the board as standard and holds the system operating
software. Facilities are included on the board to allow alternative memory configurations to be used as described later.
7-136
The 16-bit data/address bus is connected to the various peripheral devices and
boards via input and output data latches/buffers, as shown in Figure 7-30. These
buffers are controlled by individual chip select select lines to direct the data flow
to/from the appropriate source, as required by the system control software.
5.3
5.3.1
7-137
5.3.2
20
Reset
27
+5V Vref
54
XTAL1
ALE
RSTIN
RSTOUT
VAREF
D2
Caution
RD
WR
25
28
Reset Out
26
Read
95
Write
Control Bus
Clock
When monitoring the signals described in this section it is best done with control
power only i.e. with the UPS power sections shut down and the circuit boards
live via the control power supply. Some signals are irregular, or have very large
mark:space ratios, and are best monitored with a logic probe. The logic sequence/timing of these signals depend upon various circuit conditions and cannot
therefore be accurately defined; however, for field test purposes, the presence of
a variable switching logic signal at these points would generally indicate that the
basic processor control bus is serviceable and the system software is running.
Power supply
The microcontroller is powered from the isolated +5V rail which is provided by
a switched-mode power supply circuit shown on diagram sheet 2 (See paragraph
5.3.12).
System clock (XTAL1)
A one second logic low reset pulse, [RSTIN->, is applied to D42 pin 27 on powerup from the reset generator circuit. This can also be manually applied for troubleshooting purposes by bridging and un-bridging jumper X26.
Reset out (RSTOUT)
is controlled by the reset input signal, [RSTIN->, and goes high while the
input rest signal is applied. This signal is synchronised to the system clock and
returns high an integral number of clock pulses after the input reset signal is removed. The [RSTO-> signal is connected to the address decoder circuit from
where it resets the peripheral devices.
[RSTO->
That is, upon receipt of the wake-up request ([RSTIN->) the microprocessor
issues a wake-up call ([RSTO->) to all the other relevant devices.
7-138
The input to D2 pin 54 (VAREF) is a reference voltage used by the internal A/D
converters; however, in this application the A/D circuits are not used and this
input is connected directly to the general +5V supply rail.
Address latch enable (ALE)
When the multiplexed Address/Data bus (port 0) carries Address information this
output goes high. This is used to control the address bus buffers as described
below.
Read (RD)
This output goes low when the processor wishes to read the data from the device
or memory location currently addressed by the address bus.
Write (WR)
This output goes low when the processor wishes to write data to the device or
memory location currently addressed by the address bus
5.3.3
As described above, the microcontrollers Port 0 acts as a multiplexed 16-bit Address/Data bus. When this bus carries Address information the [ALE> output goes
high to enable the address bus latches (D5 and D6) whose buffered outputs are
then treated as a 16-bit address bus [AX0...AX15>. Conversely, when [ALE> is low
the bus information is interpreted as Data and connected to the peripheral devices
via an 8-bit data bus latch (D7) in conjunction with the read [RD-> control line.
Address bus buffer
Two 74HCT573 devices serve as the address buffers (D5 & D6) these are described in Appendix A (See appendix A.4).
In this application the Output Enable pins are connected to a permanent logic low
(0V) and the devices are therefore permanently enabled. The Address/Data bus
contents are thus transferred to the buffers output when the Address Latch Enable
[ALE> signal, connected to D5/D6 pin 11, goes high.
The buffered address bus is annotated (AX0....AX15) and is shown connected to
the ROM (D8) and RAM (D9) memory. It is also connected to the peripheral devices shown on the circuit diagram sheet 4.
Data bus buffer
7-139
Two 74HCT245 devices serve as the control bus buffers (D18 & D17). These are
identical to the data bus buffer but have a fixed data direction (A-to-B) as pin 1 is
permanently connected to +5V in each case. D17 interfaces the tactile switches
(ENTER, UP, DOWN) and the three mimic LEDs on the Operator Control Panel.
D18 deals with the 6-segment bargraphs (%load & autonomy time) and the control bus [RD> and [WR-> signals. The buffered control signals [RDX-> and [WRX->,
are used by various devices distributed throughout the circuit diagrams.
In all cases the above mentioned buffers have pull-up resistors connected to their
input and output pins to protect their internal logic e.g. resistor packs R52 - R54.
5.3.4
Reset generator
(circuit diagram sheet 3.)
A purpose-designed Supply Voltage Supervisor (N4) provides the micro with a
one second logic low [RSTIN-> reset signal on power-up. This logic low pulse,
which is applied to the micro pin 27, can also be initiated manually by making
jumper X26 (1-2). It also sends a logic high reset signal [RSTO-> to the address
decoding circuit (D10) from where it resets the peripheral devices via their appropriate chip select or chip enable inputs (See paragraph 5.3.6).
Note: the reset time is determined by R4/C1, and begins when the +5V supply rail
reaches 3.6V on initial power-up.
5.3.5
Alarm buzzer
(circuit diagram sheet 3.)
The alarm buzzer is driven by the processors port 3.0 output via driver transistor
V11. Various alarm sound sequences are used to annunciate different types of
alarm warning and responses. These are obtained by the processor producing various mark:space drive waveforms and are therefore strictly processor dependant.
During troubleshooting the alarm sounder can be inhibited by fitting a jumper to
X23 (1-2) which clamps the base of V11 to 0V and prevents it from turning on.
5.3.6
7-140
[CSEPR->
5.3.7
[CSCAN-> logic low selects the CAN bus interface (D12 on sheet 4).
[CSER-> logic low selects the Serial Line Controller (D11 on sheet 4).
[CSDISP-> logic low selects the Operator Control Panel (X1 on sheet 4).
X19
[AX15>
X15
[PIN3EP>
X18
X16
[RDX->
[PIN29EP>
[AX14>
+5V
[AX17>
[PIN3RAM>
X17
X12
[PIN3EP>
[PIN31RAM>
[PIN29RAM>
X13
D9 pin 28
The system memory comprises a 256k EPROM (D8) and 256k of RAM (D9).
AX14 & AX15 configuration links
The Operator Logic Board has been designed to ease future software upgrades by
including configuration links to permit the addressing of alternative memory devices. These links affect the routing of the AX15 and AX16 address lines, and the
standard configuration is shown in Figure 7-32.
EPROM (D8) Configuration. In the standard configuration the signals annotated [PIN29EP> and [PIN3EP> are connected to EPROM D8s A14 and A15 inputs
and are therefore driven by the AX14 and AX15 address lines respectively. The
[PIN31EP> input to D8 is concerned with selecting the program mode, and is left
open circuit due to the lack of jumper on X14. [PIN30EP> is held at a permanent
+5V (due to the jumper 2-3) on X12.
7-141
Two conditions must be satisfied to connect the devices D0....D7 outputs to the
data bus. First, the EPROMs output enable pin (pin 24), which is controlled by
the control bus [RDX->, must be low. Second, the chip select (CS) input to pin
22, which is connected to the buffered [AX16> address line obtained from D10,
must also be low. Note that [AX16> is not subject to the [ALE> signal switching
through D5/D6 and is therefore permanently accessible by the processor.
[PIN29RAM> is not used and is open-circuit due to the lack of jumper fitted to X17
pin 2. [PIN3RAM> is connected to the buffered Address line [AX14> due to the
jumpers on X18 and X17
Once again, two conditions must be satisfied to connect the devices D0....D7 outputs to the data bus. First, the RAMs output enable pin (pin 22), which is controlled by the control bus [RDX->, must be low. Second, the chip select (CS)
input to pin 20, which is connected to the [CSRAM-> output from D10, must also
be low.
5.3.8
Multiplexed power supplies. The operator control panel contains 17 leds arranged in three banks two banks of 6 led and one bank of 5 leds. The anodes
of all the leds forming a particular bank are connected, via current limiting resistors, to a common +5V power supply; therefore three supplies are required in
total. Referring to the diagram sheet 4, these supplies are obtained by three multiplexed signals ([LD7>, [LD8>, [LD9>) which are produced by the microcontroller
and then buffered by D17 and transistors V12-V14 to provide [LC0>, [LC1>, [LC2>.
These transistors are thus switched sequentially (i.e. strobed) to provide the
positive power feed to each bank of leds in turn.
LED Control. Each bank of leds are controlled by a common control bus produced by the microcontroller annotated [LD1> to [LD6>. These signals are buffered
by D18 and connected X1 as [LD0> to [LD5>. As the micro strobes the positive
supply to each bank of leds it drives its control bus lines low to illuminate a
particular led within the bank. By driving the leds in this manner the micro has
full control over which leds are illuminated.
Note: the positive supply is strobed at a rate of 83.3Hz and therefore the leds do
not appear to flicker when illuminated.
LCD Driver
The LCD Display device on the Operator Control Panel displays 4 lines of twenty
characters and is used to indicate status information, alarm warning messages and
also provides the messaging system used by the operator to select various operational parameters.
The textual message information is stored in the Operator Logic Boards ROM
and output to the Operator Control Panel by the microcontroller, via the data bus
7-142
As the microcontroller sees the LCD device as just another device on the data
bus it must also provide a means of addressing it when required. This is achieved
through a combination of the [CSDISP> chip select signal from the address decoding circuit of D10 (See paragraph 5.3.6) and a Write signal [RWDISP> produced directly by the processor port 1. To access the LCD display [CSDISP> must
be taken high and [RWDISP> low.
Note: A reset signal [RSDISP> is also produced by the micro port 1 which can totally reset the LCD display device.
Other lines connected to the LCD device are concerned with its power supply requirements. The device requires +5V at X1-32; 0V at X1-30 and X1-2; and a variable contrast supply in the range 0V to +5V at X1-4.
Push-button Detection
The five push-button on the Operator Control Panel are connected to a common
0V supply presented to X1 pin 31 and, when pressed, they route this 0V back to:
X1 pin 21 (UP)
X1 pin 23 (DOWN)
X1 pin 25 (ENTER)
X1 pin 27 (ESCAPE)
X1 pin 29 (ALARM CANCEL)
These signals, annotated [P-0> to [P-4>, are buffered by D17 and the resulting
[TST1> to [TST5> signals are polled by the microcontroller at regular intervals to
enable it to detect when a particular push-button is pressed.
5.3.9
82C200 control signals. The CAN bus controller is connected to the microcontrollers 8-bit data bus (DX0....DX7) in the same way as the other peripheral
devices. The microcontroller must therefore provide a means of addressing it
when required. This is achieved through a combination of the [CSCAN> chip select signal from the address decoding circuit of D10 (See paragraph 5.3.6) and
buffered read/write signals ([RDX-> and [WRX->).
Note: an initialising reset signal [RSCAN> is also produced by the micro port 3
which starts communications.
7-143
5.3.10
8521A operation. This device (D11) converts the parallel data into a serial data
format for transmission, and vice-versa for data reception. This device is described in detail in appendix A (See appendix A.8).
D11 is connected to the 8-bit data bus (DX0....DX7) and selected by a logic low
[CSSER-> signal produced by the address decoding circuit. Read/Write control is
afforded by the buffered [RDX-> and [WRX->, both of which are active low.
The microcontroller port 3 provides the 8521 with its general clock signal, [CLKSER> at approximately 1.25MHz, and also a reset signal [RESSER> which is
active high.
The Data/Control input (D11 pin 12) is controlled by the buffered address line
which is high for data transfer and low for control word transfer.
[AX0>,
The serial I/O data and control lines are interfaced to the modem port (X8) via the
LT1133 driver circuit which converts the 8521A outputs to RS232C levels.
5.3.11
The RS232 interface (D19) is provided by a standard MAX232 device (See appendix A.7).
This is a dual channel device: channel 1 interfaces [TXD0> & [RXD0> which is permanently connected to the RS232 I/O port at X5. Channel 2 interfaces [TXD1> &
[RXD1> and is connected to X4 via jumpers X20 (1-2), X21 (2-3), X22 (2-3). This
is the standard configuration for these jumpers.
RS485 communications via D20 and X4
The RS485 interface (D20) is provided by a SN75176A differential bus transceiver (See appendix A.5).
This is a single channel device which interfaces [TXD1> & [RXD1> only, via jumpers X20 (2-3), and is connected to X4 via jumpers X21 (1-2), X22 (1-2). When
the jumpers are configured in the above positions they effectively route the RS485
communications through to X4 whilst still enabling RS232 communications at
X5.
The transmit data and receive data flow is controlled through D20 by means of
the [RE485-> & [OE485> inputs to pins 2 and 3. A truth table showing the full affects of these inputs is provided in appendix A (See appendix A.5).
7-144
5.3.12
Power Supply
(circuit diagram sheet 1.)
As many of the circuits on the Operator Logic Board are connected to external
(possibly remote) devices, such as a modem, they are all powered from an isolated
+5V power rail which is derived from an on-board dc-dc power converter based
on a purpose-designed current-mode PWM controller (UC3845). This controller
is fully described in appendix A (See appendix A.9).
Power circuit operation
The dc-dc converters input power is obtained from the UPS Logic Boards 12V
which is connected to X9 pins 1 and 3. This is filtered by C41 and L1/L2 to provide an unregulated power rail of approximately 24V; although the -12V rail is
taken as the 0V reference by the control electronics.
The converter operation is based on FET V10. When this device is turned ON it
draws current through the transformer primary (1-10) which induces opposing
currents into the secondary windings note the winding polarities.
In practice, V10 is driven by a variable PWM output from N1 (at a basic rate of
40kHz) and the net result is an alternating current induced in winding 5-6 which
is full-wave rectified by V9 to provide a d.c. voltage smoothed by L3/C52/C53.
This smoothed voltage is regulated at +5V by appropriately controlling V10s
PWM gate drive signal.
PWM control operation
The PWM controller (N1) is powered from a 16V zener-regulated supply obtained from the unregulated 24V rail note that N1 requires a minimum of
8.4Vdc to function correctly (See appendix A.9). The base PWM frequency is set
to approximately 40kHz by R35/C44 (i.e. the PWM pulse repetition rate is approximately 25s.).
Voltage feedback signal. A voltage feedback signal is obtained via an optocoupled circuit which monitors the voltage across the isolated +5V rail. N3 is a
reference voltage generator which aims at maintaining 2.5V at its reference input
(N3 pin 1 i.e. at the junction of R47/R48). This means that it therefore attempts
to maintain +5V at the top of R47 which is connected directly to the output +5V
rail.
If the +5V rail therefore rises above or falls below its nominal +5V level then N3
will reduce/increase (respectively) the conduction through the opto-isolator,
which is thus sensed by N1.
The feedback voltage is source via the +5V reference voltage produced by N1 at
pin 8 and superimposed on the junction of R33 and R34 according to the amount
of conduction of V21, as shown in Figure 7-33.
Indications. An led (H1 is connected across the isolated +5V rail and illuminates when this supply is correct.
7-145
N1
2
5V(ref)
R32
Output
voltage
sensing
VFB
V21
COMP
R33
10k
VCC
VREF
22k
O/P
ISENSE
RT/CT
5
VCC
UC3842
R34
4k7
5.4
Summary information
Table 7-19: Operator Logic Board configuration jumpers
Jumper
Link
Position
X11
OPEN
CLOSED
X12
X13
X14
X15
X16
X17
X18
7-146
Function
+5v enable main CPU (Standard)
ALE enable main CPU
1-2
2-3
1-2
2-3
1-2
Not Required
2-3
Not Required
1-2
2-3
Not Required
1-2
Not Required
2-3
3-4
Not Required
4-5
Not Required
1-2
2-3
Not Required
3-4
4-5
Not Required
1-2
Not Required
2-3
Testing Only
Open = Standard
Jumper
Link
Position
X19
1-2
Not Required
2-3
Not Required
1-2
2-3
Read/Write RS485enable
1-2
2-3
1-2
2-3
1-2
Inhibit buzzer
2-3
1-2
2-3
1-2
2-3
X20
X21
X22
X23
X24
X25
X26
OPEN
Function
RAM extension
Normally open
CLOSED
Function
Display contrast adjustment
Colour
H1
Green
Function
Internal power supply operating
7-147
7-148
Section 7:
6.1
Section overview
This section contains a circuit description of the Operator Control Panel used
across the entire 7200 Series UPS model range, and should be read in
conjunction with circuit diagram SE-0360803-B.
Signal annotations shown on the circuit diagrams are shown in italics in the
following text e.g. [CLC2>.
6.2
6.2.1
General description
Circuit board functions
The Operator Control Panel functions can be summarised as follows:
LED Display indication
This board contains LED which provides the operator with various status
indications i.e. UPS module mimic; load bargraph; battery charge/autonomy time bargraph; alarm warning indication.
Operator input switches
The Operator Control Panel switches provide the means for the operator to
effect system control through a menu/messaging system.
LCD Display Panel
The LCD display panel provides status and alarm messages for the operator together with the menus used by the operator in setting up and interrogating the UPS control system.
6.2.2
Input/Output connections
All input/output signals are connected to the Operator Logic Board via a single
34-way ribbon connector.
7-149
6.3
6.3.1
R2
D15
D16
LD5
2
3
4
5
6
7
8
9
D17
D13
D14
R1
D11
D12
D9
D10
D7
D8
D6
R1
R2
R3
R4
R5
R6
R7
R8
R3
2
3
4
5
6
7
8
9
X7-1
LC2
C
R1
R2
R3
R4
R5
R6
R7
R8
X7-3
2
3
4
5
6
7
8
9
X7-5
LC1
C
R1
R2
R3
R4
R5
R6
R7
R8
LC0
D5
D3
D4
D1
D2
X7-7
LD4
X7-9
LD3
X7-11
LD2
X7-13
LD1
X7-15
LD0
X7-17
The operator control panel contains 17 leds arranged in three banks as shown in
Figure 7-34 two banks of 6 led and one bank of 5 leds.
LEDs 1-5 provide module mimic indication, alarm active and battery CB
LEDs 6-11 provide the load bargraph indication and overload
LEDs 12-17 provide the battery charge bargraph indication and autonomy
The anodes of all the leds forming each of the above banks are connected, via
current limiting resistors, to a +5V power supply. These +5V supplies are provided by three multiplexed signals ([LC0>, [LC1>, [LC2>) which are provided by the
Operator Logic Board i.e. these supplies are strobed to provide the positive
power feed to each bank of leds in turn (See paragraph 5.3.8) .
Each bank of leds are controlled by a common control bus produced by the
Operator Logic Board annotated [LD1> to [LD6>. As the positive supply is strobed
to each bank of leds, the leds illuminate according to which of the control bus
lines are low. By driving the leds in this manner the microcontroller on the
Operator Logic Board has full control over which individual leds are illuminated
at any particular time.
Note: the positive supply is strobed at a high frequency and therefore the leds do
not appear to flicker when illuminated
7-150
6.3.2
0V
X7-31
S1
P4
X7-21
UP
S2
P3
X7-23
DOWN
S3
P2
X7-25
ENTER
S4
P1
X7-27
ESCAPE
S5
P0
X7-29
ALARM CANCEL
The five push-button on the Operator Control Panel are connected to a common
0V supply presented to X7 pin 31 from the Operator Logic Board; when pressed,
they route a 0V signal (annotated [P-0> to [P-4>) back to the microcontroller on
the Operator Logic Board via the connections shown in Figure 7-35.
6.3.3
7
8
9
10
11
12
13
14
2
3
1
5
4
6
K
A
D0
D1
D2
D3
D4
D5
D6
D7
VDD
VL
VSS
R/WR
RS
E
+5V
0V
4 x 20
LCD_MODULE
7-151
7-152
7.1 Introduction
The general UPS control operation is based on the microcontroller system contained on the UPS Logic Board, as described in chapter 3 of this section (see paragraph 3.3.2 on page 7-24). The following description explains in basic terms
how the microcontroller system is programmed to operate and provides details of
the conditional flowcharts applicable to the major UPS control signals (e.g. rectifier OFF/ON, inverter OFF/ON, load transfer control).
Despite the fact that the software is not generally accessible to the service engineer, an understanding of some of the sub-routines described later can be an invaluable troubleshooting aid to differentiate between the cause and effects of
certain conditions.
The C programming language used to write the system software is closely related to the actual digital processing, and comprises a sequence of instructions
which determines the microcontroller operation. The program is held in two 512k
Read-Only Memory chips (EEPROM) D35 & D46 which are accessed by the microcontroller via the system address and data busses. D20 is also a ROM device,
and contains initialisation data.
Although it does not contain the system software itself, the Random Access
Memory (RAM) holds important data concerning the systems operation, such as
that programmed by the operator from the Operator Control Panel, which is required by the main program. Battery back-up is provided to maintain such data
when the UPS is powered down. RAM also provides a temporary store for data
produced by the main program during its routine execution.
When the UPS is first powered up the microcontroller receives a 1 second reset
pulse from the reset generator (see paragraph 3.3.5 on page 7-27) which forces
the micro to read the instruction contained in a particular memory location (usually 0000). This is the start point of an initialisation routine which sets up the complete microcontroller system in readiness for entry into the main program. The
initialisation routine performs functions such as configuring the microcontroller
I/O ports, peripheral communication ports and protocols, internal timers and A/D
converters; and reading system data (such as UPS module rating and configuration) from the non-volatile RAM. Some of these functions are performed once
only during the initial set-up whilst others are also revisited during the main program execution e.g. if the module kVA rating or single/parallel configuration
data is changed whilst the module is running it will not affect the main program
until the microcontroller is reset.
Note: the reset generator can also be triggered manually through the selection of
jumper X28; however, if a reset is applied whilst the UPS is running it will crash
due to the rectifier, inverter and static switch all being turned off during the reset
period. USE WITH CAUTION!
7-153
Main program
The system software will enter its main program once the initialisation routines
have been completed. The main program comprises a series of instructions which
are executed sequentially in a continuous loop (See Figure 7-37).
Figure 7-37 shows that the main program operates on two levels; identified in the
illustration as the foreground and background routines. Notice that both the
foreground and background routines call various sub-routines whilst working through the main program loop. A sub-routine is a self-contained mini-program that can be called from various points in the main program loop.
The foreground routine services vital functions which are required to be performed at regular intervals, or at a particular time, in order to secure proper system
control: while the background routine is of secondary importance and executed
on an opportunity basis when the foreground routine is idle. For example, the
sub-routine that checks that the inverter output voltage is within limits is considered critical and is called every 250s; while the sub-routine that checks the
state of the inverter ON/OFF menu selection is less-critical and perhaps executed
once per second. All program timing functions are tied to the microcontroller
system clock (20MHz), which also synchronises the address/data bus transfer operations, and the microcontrollers internal programmable timers.
A successful real-time program requires that the main program loop is completed as fast as possible and it is therefore good practice to return to the main program from a sub-routine as quickly as possible.
Background routine
The background routine is responsible for managing the calculation of the voltage
and current signals produced by the A/D converters and storing the results in the
appropriate RAM memory locations from where they are read at regular intervals
by the foreground routine. It also reads the condition of the Operator Control
Panel buttons and sets status flags in the RAM memory.
Foreground routine
The foreground routine calls a series of sub-routines to carry out a check of the
many variables and status flags held in memory and perform various functions depending on the results i.e. the sub-routines make decisions based on the state of
the memory contents that they read.
For example: a sub-routine that controls the state of the [REC_ON> signal is called
every 500msecs. This signal determines whether or not the rectifier is requested
to turn ON (see page 7-33) and in making the decision, the sub-routine looks at
the following status flags stored in memory:
the manual rectifier inhibit switch status (UPS Logic Board).
the rectifier fuse fail status.
the selected rectifier ON/OFF status (from Operator Control Panel menu
screen).
If all three of the above conditions are conducive to starting the rectifier, the software will drive the [REC_ON> signal high which turns on the rectifier, and also
sends a status signal via the CAN bus to inform the display system of the new rectifier status. Several other sub-routines which control similar signals to
[REC_ON>, and are therefore of prime interest to the service engineer, are illustrated in detail later in this chapter.
7-154
START
Calculate Vb
Calculate Vinv
If clock=0001 Exec
SUB: INV-ON
SUB: INV-ON
See Flow-chart 1
If clock=0010 Exec
SUB: REC_ON
SUB: REC-ON
See Flow-chart 2
If clock=0150 Exec
SUB: SYNC_OK
SUB: SYNC_OK
See Flow-chart 3
If clock=0200 Exec
SUB: IB_OPEN
SUB: IB_OPEN
See Flow-chart 4
Background Routine
Calculate Ib
:
:
:
Running in
background
CPU
Clock
START
Set Flags
Check Display
Buttons
Foreground Routine
:
:
:
:
:
:
If clock=nnnn
Execute SUB: nnnn
Return to START
:
Return to START
Page 1
Vb=432
Ib
Inv. Volts
Window
flag_1
REC_ON
flag_2
INV_ON
Vout
Vinv
DC Over
voltage
flag_3
In. Volts
Window
flag_4
Vin
:
:
Start
Start
CHK Vb
CHK Vin
..........
..........
..........
..........
..........
..........
..........
..........
Main Programme
Background Routines
Page 2
Low Batt
Warning
..........
RAM
MEMORY
Sub-Routine 1
Sub-Routine 2
Begin SUB:
Question 1?
No
Process A
..........
..........
Yes
Question 2
..........
..........
Process B
Process C
..........
..........
End
(Return to start)
..........
End
(Return to start)
No
Process D
End SUB:
Question a condition
(e.g. Is Vb < undervoltage trip level)
Perform a function
(e.g. Set BatU/V Flag - Trip battery etc.)
7-155
7.2.1 Initialisation/Reset
The system reset routine is activated when the UPS is first powered up or following the application of the hardware reset (see paragraph 3.3.5 on page 7-27).
Note: the reset pulse is applied for approximately 10/20ms in order to allow the
+5V power rail to stabilise.
The Initialise/Reset routine:
resets the micros peripheral devices by forcing the output digital signals
to logic low (with the exception of the [SYNC>, [PWM1>, [PWM2>,
[PLLOU1> signals, whose states remain undefined).
verifies no-reversal of the output digital connectors.
initialises the software application into the working RAM
starts the watch-dog timer
verifies that the EEPROM holds valid system parameters (See Chart 7-1).
checks the nominal sync frequency
checks the visual display and 7-segment led (for 5 seconds)
returns a Pass/Fail status.
Checking the system parameter data
The initialisation/reset routine checks that the programmed system parameters are
acceptable for the correct operation of the UPS equipment. The parameters are
held in three pages of the EEPROM. Page 1 holds the parameters set by the Operator Control Panel and pages 2 & 3 contain the internal parameters. A Longitudinal Redundancy Counter (LRC) is associated with each page to allow error
checking.
Default values for the system parameters are held in fixed memory addresses in
the system EPROMS. The EEPROMs data can thus be reinitialised with the
EPROM default values by following the RELOAD DATA procedure on the
Operator Control Panel (see paragraph 2.4.7.5 on page 2-46). This should be carried out if an LRC error is found with the page associated with the Operator Panel
entered data.
7-156
Does memory
page 2 initialse
correctly?
No
Failed LRC P2
set error 72
[ERROR LRC PAR PAG 2]
No
Failed LRC P3
set error 73
[ERROR LRC PAR PAG 3]
No
Failed LRC P1
set error 71
[ERROR LRC PAR PAG 1]
No
set error 70
[BAD EEPROM PROGRAMM]
Yes
Does memory
page 3 initialse
correctly?
Yes
Does memory
page 1 initialse
correctly?
Yes
Does UPS
Power rating
parameter exist?
Yes
Yes
No
Initialisation passed
Initialisation failed
End SUB
7-157
7-158
Is the
Rectifier Block signal
active on the Rectifier
Logic Board?
Yes
No
Is the Rectifier
Fuse Fail
active?
Yes
No
Is the
Rectifier selected ON
at the Operator Control
Panel?
No
Yes
Set [REC_ON>
output to ON
(Logic high)
[Turn OFF Alarm #20]
Set [REC_ON>
output to OFF
(Logic Low)
[Turn ON alarm #20]
End SUB
(return to main prog.)
REC_ON
EPO
PS FAIL
D88
[ON_REC>
To Rectifier
Logic Board
7-159
7-160
Is the battery
voltage within permissible
range?
Yes
Is the
Inverter Block signal
active on the Inverter
Logic Board?
No
Yes
No
Is an
External Block
being applied?
Yes
No
Yes
No
Is the
Inverter selected ON
at the Operator Control
Panel?
No
Yes
Set [INV_ON>
output to ON
(Logic high)
[Remove alarm #30]
Set [INV_ON>
output to OFF
(Logic low)
[Activate alarm #30]
End SUB
(return to main prog.)
INV_ON
EPO
PS FAIL
Man Inhibit (Q2)
D88
[ON_INV>
To Inverter
Logic Board
DC O/volts
7-161
Window Limits
[F_IN>
Mains OK
Routine
[SVI>
[BLK_SYN>
External Sync Inhibit
Sync
Source
Selector
Sync
Source
PLL
Calculate
Phase
Displacement
Error
PLL
Slew
Rate
Control
[SYNC>
[BACK>
Inverter Freq F/Back
[SYNC_OK>
(alarm #35)
Mains OK routine. This routine is responsible for verifying that the bypass
supply is fully available and the bypass frequency is within the selected voltage
and frequency window limits. The major output from this routine is monitored by
the Sync Source Selector routine which determines whether the inverter is to:
1. Synchronise to the bypass supply (if the bypass is valid).
2. Synchronise to the last available valid frequency i.e. if the frequency goes
outside the sync-window the selected frequency will remain at the window
edge frequency for 1 minute (debounce) then revert to the internally generated base frequency reference clock (50/60Hz).
Note: when the bypass frequency returns to within the window the PLL will
revert to synchronising to the bypass after 1 second.
3. Synchronise to the internal reference clock if the bypass supply disappears.
The sub-routine is affected by the following inputs:
7-162
Is the bypass
voltage present?
(SVI = Not 3)
Yes
No
No
Is the bypass
frequency within the
selected window?
(1Hz)
Yes
No
Yes
Yes
Set FOK = ON
(bypass frequency is OK)
Set PLL> flag = ON
Enable the PLL slew rate
control
Sync Source = MAINS (1)
Yes
Has the
"1 min re-enable" counter
timed-out?
No
End SUB:
Return to main program
7-163
Sync Source Selector. This subroutine enables the software to control the PLL
frequency selection (see paragraph 3.3.13 on page 7-55).
The sub-routine is affected by the following inputs:
Sync Source
master frequency reference to the phase displacement calculation routine.
PLL locked ([SYNC_OK>)
Enables/Disables alarm #35
7-164
Is the
external block facility
enabled (ON_GEN) &
(GREL_BLK_SINC)
No
Is an
external Block synch inhibit
signal being applied
(BLK_SYN)?
Yes
Is the mains
frequency within the
selected window?
(FOK=ON)?
No
Yes
From Mains
frequency
validation chart
No
Sync Source = Present
PLL held to present frequency
Yes
No
Is the PLL
phase locked within 9?
(PPL Flag=ON)
No
No
Has the PLL
been locked for at least
1 Sec?
SYNC_OK = OFF
Yes
SYNC_OK = OFF
Active alarm 35
[INV: UNSYNCHRONIZED]
No
Active alarm 35
[INV: UNSYNCHRONIZED]
SYNC_OK = ON
De-active alarm 35
[INV: UNSYNCHRONIZED]
End SUB:
Return to main program
7-165
Sync Source
The is the master frequency reference as selected by the Sync Source
Selector and Mains OK routines. This reference may be:
a) Present frequency
Holds the inverter frequency constant at the present value when an external inhibit is applied (e.g. via the optional Alarm Board).
b) Previous frequency
If the mains frequency goes outside its window limits, this holds the
inverter frequency constant at the last valid mains frequency (e.g. at the
window edge frequency).
c) Base frequency
Reverts the inverter back to the Base Frequency if no mains reference frequency is available.
d) Mains frequency
Forces the inverter to track the bypass frequency as long as it remains
available and within the window limits.
Inverter Frequency [BACK>
Actual inverter frequency as presented to the Inverter Logic Board.
The sub-routine produces the following outputs:
7-166
Flow Chart 7-6: PLL Slew rate control (phase displacement calculation).
Begin SUB: PLL Phase
Detector
No
No
Is the "Out-of-phase"
flag ON?
Yes
Yes
No
Yes
End SUB:
Return to main program
7-167
7-168
Is the battery
voltage (VB) below the
set low volts level?
(Vs_inf_bat)
No
To Next Page
Yes
Yes
Is ST_BAT
already flagging an
undervolts trip status?
(BAT_BAS)
No
No
Yes
Set ST_BAT to BAT_BAS
to flag Low Voltage Trip
-activate alarm [53]
Set IB_OPEN high to open the
battery circuit breaker
HIGH
End SUB:
Return to main program
[IB_OPEN>
M_BAT_MA
RESET
D88
BAT_TRIP
M_ESD
7-169
Is the battery
voltage above the set
slow overvolts level?
(Vs_sup_bat)
No
To Next Page
Yes
Yes
Is ST_BAT
already flagging a
slow overvoltage status?
(BAT_ALT)
Yes
No
Is the battery in
TEST; MANUAL or
BOOST mode?
No
Yes
Is the
ON GENERATOR block
applied?
No
No
Yes
Set ST_BAT to BAT_ALT
to flag High Voltage Trip
-activate alarm [55]
Set IB_OPEN high to open the
battery circuit breaker
HIGH
End SUB:
Return to main program
[IB_OPEN>
M_BAT_MA
RESET
D88
BAT_TRIP
M_ESD
7-170
No
Is ST_BAT
already flagging an
OK status?
(BAT_OK)
Yes
No
No
Yes
Set ST_BAT to BAT_OK
to flag Battery OK
- for Alarm Interface board
Set IB_OPEN low to enable
the battery circuit breaker
LOW
[IB_OPEN>
M_BAT_MA
RESET
D88
BAT_TRIP
M_ESD
End SUB:
Return to main program
7-171
7-172
No
Is alarm #56
[DC BUS: UNDERVOLTAGE] active
at present?
Is the battery
voltage (VB) below the
pre-alarm volts
level?
No
Yes
Yes
Has VB been
above pre-alarm level for
longer than 1Sec?
Yes
Is alarm #56
[DC BUS: UNDERVOLTAGE] active
at present?
No
No
No
Has VB been
below pre-alarm level for
longer than 1Sec?
Yes
Yes
End SUB:
Return to main program
7-173
7-174
No
Yes
No
Yes
Use the upper level
Vs_inf_bat = NOMINAL
End SUB:
Return to main program
7-175
7-176
Is BATTERY TEST
request active?
Is rectifier in
MANUAL mode?
No
Yes
No
Is an
ON GENERATOR
condition active?
Yes
Yes
Is the Automatic
BOOST function
enabled?
No
Reset "Batt-in-BOOST" flag to OFF
(i.e. Stop Boost charge even if it is
already in progress)
Has BOOST
mode been manually
selected?
No
Yes
Yes
Is the battery
current > 10% of the
rated Batt. current
limit?
No
No
Is alarm #54
already active (latched)
[BOOST: TIMER
EXPIRED]?
Yes
Increment 1 minute delay
timer
No
Has delay
timer reached its
terminal count
(1min)?
No
No
Is the battery
current > 10% of the rated
current limit?
No
Yes
Has timer
reached its
terminal count
(5 sec)?
Yes
Request "FLOAT Charge Mode"
to Rectifier Logic Bd (REC_A=1
/ REC_B=0)
Yes
Has
BOOST charge
timer reached its terminal
count (10Hrs
max)?
7-177
7-178
Is rectifier in
MANUAL mode?
Is an
ON GENERATOR
condition active?
No
No
Is a Manual
OR Automatic Test
request active?
Yes
Yes
Yes
No
Yes
No
Is [tst_bat> = ON
(test enabled)?
No
Yes
Is the battery
voltage below the
test threshold?
(1.9V/cell)
No
No
No
Reset delay
counter to 0
Yes
Yes
Increment delay counter
No
Yes
Remove alarm #50
[BATTERY: UNDER TEST]
Reset delay
counter to 0
End SUB:
Return to main program
7-179
The Transfer Control Logic consists of four sub-routines, each of which is associated with a particular transfer control logic state. During each cycle of the main
program (100s), only one of these four routines is executed, as determined by
the state of the Load Status Flag (ST_CA): namely
initialisation mode (ST_CA = 0).
load-on-bypass mode (ST_CA = 1).
load-on-inverter mode (ST_CA = 2).
out-of-sync transfer mode (ST_CA = 3).
That is, the four routines comprising the Load Transfer Control Logic themselves
form a closed loop which is accessed every 100s, whereby the selected routine
to be executed is determined by the condition of the Load Status Flag (ST_CA)
set on the previous pass. This is illustrated in Figure 7-39.
Example
Due to its complexity, the four Transfer Control Logic subroutines are described
individually on the following pages.
7-180
ST_CA=0
ST_CA=0
Initialisation Mode
ST_CA=0
ST_CA=0
ST_CA=1
ST_CA=3
Out-Of-Sync Transfer
Mode
ST_CA=1
Load-On-Bypass Mode
ST_CA=1
ST_CA=1
ST_CA=3
ST_CA=2
ST_CA=2
Load-On-Inverter Mode
ST_CA=2
This is the Load Transfer Control Logic subroutine entered during initial powerup, or when commanded by one of the other sub-routines (See Figure 7-39).
When in this routine, the software examines various flags in order to undertake
any actions appropriate to the initialisation mode of operation. For example; if
the bypass voltage status is OK it will lead to closing the bypass SCRs, and if the
inverter output voltage is OK it will lead to closing the output contactor (K1).
Once the appropriate action is determined, the load status flag (ST_CA) is reassigned (ST_CA=1 or ST_CA=2) which calls the appropriate sub-routine the next
time the Transfer Control Logic subroutine is executed (in 100s).
If no appropriate flags are set, the program returns to the main program without
changing ST_CA, i.e. leaving the load disconnected and ST_CA=0. Thus the next
time the Load Transfer Control Logic subroutine is called (in 100s) this same
initialisation routine will be repeated.
Monitored flags
7-181
K1 tripped.
7-182
Is the load
status flag in its
initialisation state?
(ST_CA=0)
No
Yes
Is the
Bypass Voltage OK?
(ST_SVI = OK)
Yes
Is the "bypass
block" status active?
(BL_RETE = OFF)
No
No
Yes
To Next Chart
Yes
No
Is the
Inverter Voltage OK?
(ST_SVINV = OK)
LOAD ON BYPASS
Set ST_CA = 1
annunciate alarm #18
[LOAD ON BYPASS]
Is the inverter
selected ON from the
Operator Panel?
TLC_INV = ON
Set [L_MAINS> = 1
Turn ON bypass SCRs
Set [L_INV> = 0
Open inverter contactor (K1)
No
Yes
No
Is the "Inverter
Run" status OK?
[INV_BLK>=OFF
Yes
Yes
Is the "Inverter
Overload Block" active?
[BLK_INV_OVL>
=ON
No
Is
the "10s Stability
Timer" latch active?
[BLK_INV_DP>
= ON
No
LOAD ON INVERTER
Set ST_CA=2
remove alarm #18
[LOAD ON BYPASS]
Set [L_MAINS> = 0
Turn OFF bypass SCRs
Yes
Set [L_INV> = 1
Close inverter contactor (K1)
End SUB:
Return to Main Program
7-183
This is the Load Transfer Control Logic subroutine entered when the load is connected to the bypass supply; as commanded by ST_CA=0 during the initialisation
routine, or ST_CA=2 while the load is on-inverter (See Figure 7-39).
When in this routine, the software examines various flags in order to undertake
any actions appropriate to the load-on-bypass mode of operation. For example;
if the inverter voltage status is OK it will lead to the closure of the output contactor (K1), if the bypass voltage fails it will lead to the opening of the bypass SCRs.
Once the appropriate action is determined the load status flag (ST_CA) is reassigned (i.e. ST_CA=2 or ST_CA=0) which calls the appropriate sub-routine the next
time the Transfer Control Logic subroutine is executed (in 100s).
If no appropriate flags are set, the program returns to the main program without
changing ST_CA, i.e. leaving the load on-bypass and ST_CA=1. Thus the next
time the Load Transfer Control Logic subroutine is called (in 100s) this same
load-on-bypass routine will be repeated.
Monitored flags
7-184
7-185
this condition it is turned OFF and alarm #32 annunciated. This feature can be
enabled/disabled via jumper X26 pins 3-4 (closed = enabled); the status of
which is read by this subroutine.
10.Bypass voltage monitor status ST_SVI
The bypass voltage is monitored by the UPS Logic Board micro via the High
Voltage Interface Board. The ripple voltage to the A/D allows the individual
monitoring of each phase, and a software routine compares the actual values
against the programmed limit values to set the flag status:
0 = OK (bypass voltage within the mimic-programmed limits [10%])
1 = LOW (bypass undervoltage [below -10%]) Activates alarm #12.
2 = HIGH (bypass voltage high [above +10%]) Activates alarm #11.
3 = ABSENT (bypass voltage less than 50V) Activates alarm #10.
7-186
Is the load
status flag in its
Load-on-bypass mode?
(ST_CA=1)
Yes
Is the "bypass
block" status active?
(BL_RETE = ON)
Set ST_CA = 0
(return to intialise mode)
Yes
Set [L_MAINS> = 0
Turn OFF bypass SCRs
No
Set [L_INV> = 0
Open inverter contactor (K1)
No
2
Is X26:1-2 Closed?
(only one transfer to
inverter allowed)
To Chart 7-14
Yes
No
No
Yes
Is the inverter
selected ON at the
mimic panel?
(TLC_INV=ON)
Yes
Is the inverter
voltage OK?
(ST_SVINV=OK)
Yes
Is
the "inverter Off
Latch" active?
(TMP=ON)
Yes
No
No
No
End SUB:
Return to Main Program
To Next Chart
To Next Chart
To Next Chart
7-187
Is the inverter
voltage not OK?
(ST_SVINV=KO)
No
No
Is the inverter in
sync with bypass?
SNYK_OK=ON
Yes
Yes
Is "Inverter Run"
signal present?
(BL_INV=OFF)
Is the transfer
counter at zero?
No
Yes
No
Is
X26:3-4 Closed?
(10s inverter stability
check enabled)
No
Yes
Yes
No
Is the transfer
counter >8?
Has 1 minute
timer expired?
No
Yes
No
Yes
Turn Inverter OFF
Set BLK_INV = ON
(trigger Alarm #32)
Activate 10Sec Stability flag
(i.e. TMP = ON)
Are the bypass
volts OK?
(ST_SVI = 0)
Is the 5 seconds
"wait in bypass"
delay expired?
No
Yes
Yes
No
Set ST_CA = 2
(Load on inverter mode)
Is the inverter
current limit active?
OVL_INV=ON
Yes
Set [L_MAINS> = 0
Turn OFF bypass SCRs
Set [L_INV> = 1
Close inverter contactor (K1)
Set ST_CA = 0
(return to initialise mode)
No
Set [L_MAINS> = 0
Turn OFF bypass SCRs
Set [L_INV> = 0
Open inverter contactor (K1)
End SUB:
Return to Main Program
7-188
This is the Load Transfer Control Logic subroutine entered when the load is connected to the inverter supply; as commanded by ST_CA=0 during the initialisation routine, or ST_CA=1 while the load is on-bypass (See Figure 7-39).
When in this routine, the software examines various flags in order to undertake
any actions appropriate to the load-on-inverter mode of operation. For example;
if the inverter voltage status is not OK (KO) it will lead to the closure of the bypass
SCRs and the opening of the output contactor (K1). Once the appropriate action
is determined the load status flag (ST_CA) is reassigned (i.e. ST_CA=1 or ST_CA=3)
and the next time the Load Transfer Control Logic subroutine is called (in 100s)
then the appropriate sub-routine will be executed.
If no appropriate flags are set, the program returns to the main program without
changing ST_CA, i.e. leaving the load on-inverter and ST_CA=2. Thus the
next time the Load Transfer Control Logic subroutine is executed (in 100s) this
same load-on-inverter routine will be called.
Monitored flags
7-189
7-190
Is the load
status flag in its
Load-on-inverter mode?
(ST_CA=2)
Yes
Is the
"critical bus volts
monitor" status OK?
(ST_SVO = 0)
No
Yes
No
3
No
To Chart 7-15
Is the "inverter
Run" status OFF?
BL-INV=OFF
Is the
Inverter selected
OFF at the Mimic Panel?
(TLC_INV=OFF)
Yes
Is the
bypass voltage OK?
(ST_SVI=0)
Yes
Yes
No
Is the "inverter
Run" status OFF?
BL-INV=OFF
Yes
Is the
bypass block active?
(BL_RETE=ON)
Yes
No
No
Yes
No
Is the
Inverter selected
OFF at the Mimic Panel?
(TLC_INV=OFF)
Set ST_CA = 0
Set [L_MAINS> = 0
Turn OFF bypass SCRs
Set [L_INV> = 0
Open inverter contactor (K1)
No
Is the inverter in
sync with the bypass?
(SNYK_OK=ON)
No
End SUB:
Return to Main Program
To next chart
To next chart
To next chart
7-191
Is the 150%
current limit flag active?
(OVL_INV=ON)
Yes
Set ST_CA = 1
Set ST_CA = 3
Set [L_MAINS> = 1
Turn ON bypass SCRs
Set [L_MAINS> = 0
Turn OFF bypass SCRs
Set [L_INV> = 0
Open inverter contactor (K1)
Set [L_INV> = 0
Open inverter contactor (K1)
Has 5 second
timer expired?
No
No
Is the
Inverter selected
OFF at the Mimic Panel?
(TLC_INV=OFF)
Yes
No
Set ST_CA = 0
Set [L_MAINS> = 0
Turn OFFbypass SCRs
Yes
Set [L_INV> = 0
Open inverter contactor (K1)
Is X26:3-4
closed?
End SUB:
Return to Main Program
Yes
Yes
Set ST_CA = 0
Set [L_MAINS> = 0
Turn OFFbypass SCRs
Set [L_INV> = 0
Open inverter contactor (K1)
Reset transfer counter
No
Set Blk_INV=ON
Alarm #32
Set 10s Stability flag=ON
(i.e. TMP=ON)
No
End SUB:
Return to Main Program
7-192
This is the Load Transfer Control Logic subroutine entered when commanded by
ST_CA=2 while the load is on-inverter (See Figure 7-39).
When in this routine, the software examines various flags in order to undertake
any actions appropriate to the out-of-sync mode of operation. For example;
once an out-of-sync transfer has occurred, a three second break is introduced
before the bypass SCRs are closed.
Once the appropriate actions are taken, the load status flag is re-assigned to either
ST_CA = 1 or ST_CA = 0, which calls for one of the routines described earlier to
be executed on the next pass of the main program.
If no appropriate flags are set, the program returns to the main program without
changing the load status flag (ST_CA still = 3). Thus the next time the Load
Transfer Control Logic subroutine is executed (in 100s) this same out-of-sync
subroutine will be called.
Monitored flags
7-193
Is
the load
status flag in its "Outof-sync transfer" mode?
(ST_CA=3)
Is K1 Status
Monitor Disabled?
(XSTAI=ON)
Yes
No
Yes
Is K1 Open yet
(XSTAI2=ON)
No
Has the 3 sec time
delay expired?
No
No
Yes
Yes
Start 3 second time delay
disable K1 Status Monitor
Set XSTAI2 = ON)
Is the Bypass
Block status active?
(BL_RETE=ON)
No
Yes
Set ST_CA = 1
(annunciate Alarm #16)
Set ST_CA = 0
Set [L_MAINS> = 1
Turn ON bypass SCRs
Set [L_MAINS> = 0
Turn OFF bypass SCRs
Set [L_INV> = 0
Open inverter contactor (K1)
Set [L_INV> = 0
Open inverter contactor (K1)
End SUB:
Return to Main Program
7-194