Академический Документы
Профессиональный Документы
Культура Документы
56800E
16-bit Digital Signal Controllers
DRM069
Rev. 0
06/2005
freescale.com
Online UPS
Designer Reference Manual
To provide the most up-to-date information, the revision of our documents on the World Wide Web will be
the most current. Your printed copy may be an earlier revision. To verify that you have the latest
information available, refer to http://www.freescale.com
The following revision history table summarizes changes contained in this document. For your
convenience, the page number designators have been linked to the appropriate location.
Revision History
Revision Page
Date Description
Level Number(s)
Chapter 7 Results
7.1 Inverter Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
7.1.1 Inverter Waveforms Under No Load Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
7.1.2 Inverter Voltage Harmonics Under No Load Conditions . . . . . . . . . . . . . . . . . . . . . 7-2
7.1.3 Inverter Waveforms Under Linear Load Conditions . . . . . . . . . . . . . . . . . . . . . . . . 7-2
7.1.4 Inverter Voltage Harmonics Under No Load Conditions . . . . . . . . . . . . . . . . . . . . . 7-3
7.1.5 Inverter Waveforms Under Full Load Conditions—Battery Operated . . . . . . . . . . . 7-3
7.1.6 Inverter Voltage Harmonics Under Full Load Conditions—Battery Operated . . . . . 7-4
7.1.7 Inverter Transient Response—60W Cold Bulb . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
7.1.8 Inverter Transient Response to a Resistive Load (200W) . . . . . . . . . . . . . . . . . . . 7-5
7.2 PFC Performance Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
7.2.1 PFC Performance Under Full Load Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
7.2.2 PFC Performance at 298W Linear Load Conditions . . . . . . . . . . . . . . . . . . . . . . . . 7-6
7.2.3 PFC Performance at 59W Linear Load Conditions . . . . . . . . . . . . . . . . . . . . . . . . . 7-7
7.2.4 PFC—Transient Response to a Load Step. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7
7.3 Frequence Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8
7.4 Battery Charger Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
7.4.1 Battery Charger Performance, Current and Voltage Waveforms . . . . . . . . . . . . . . 7-9
7.4.2 Battery Charger—Floating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
7.5 Bypass Switch Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10
7.5.1 Inverter Bypass Switch Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10
Appendix A Schematics
A.1 Control Board Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
A.2 Power Board Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-15
Audience
This manual targets design engineers interested in developing a UPS using a 56F83xx device.
Organization
This User’s Manual consists of the following sections:
• Chapter 1, Online UPS Theory and Description -- provides an introduction to the concepts of UPS and
describes the theory of operation.
• Chapter 2, Control Loops In The Online UPS-- describes methods and algorithms for control of the
OUPS.
• Chapter 3, Control Board Design Considerations -- describes the Control Board and its features.
• Chapter 4, Operational Description -- explains how the OUPS connects to and operates with an EVM.
• Chapter 5, Control Software Design Considerations -- describes routines and interrupt handlers for a
variety of control functions.
• Chapter 6, Connectivity Software Design Considerations -- explains how to communicate with the
OUPS using TCP/IP protocol.
• Chapter 7, Results -- discusses and illustrates OUPS performance in a variety of conditions.
• Appendix A, Schematics -- contains schematics for both Control Board and Power Board.
• Appendix B, Bill of Materials -- includes a detailed listing of parts used in the OUPS.
Preface, Rev. 0
Freescale Semiconductor xi
Preliminary
Conventions
This document uses the following notational conventions:
Typeface, Symbol
Meaning Examples
or Term
References
The following sources were used to produce this book; we recommend that you have a copy of
these references:
1. DSP56800E Reference Manual, Freescale, DSP56800ERM
2. 56F8300 Peripheral User Manual, Freescale, MC56F8300UM
Preface, Rev. 0
Freescale Semiconductor xiii
Preliminary
Online UPS Design Reference Manual, Rev. 0
xiv Freescale Semiconductor
Preliminary
Introduction
From the electrical utility’s point of view, the best possible load is the pure resistive: The current
waveform should be a pure sinusoidal waveform identical to the voltage waveform and of the
same frequency and phase.
In order to show a resistive load to the utility lines, the input current to the UPS is controlled (i.e.,
modulated), to make it match a set point. This set point depends on the input voltage waveform,
and its amplitude is dependent on the equipment’s power consumption.
For an online UPS, two power DC-to-DC converters are required. One converter operates as the
battery charger, and the other boosts the battery voltage in the absence of line input and generates
the appropriate DC required by the inverter.
The UPS will also work in the Free Running mode if commanded to operate as a frequency
converter. For example, it can connect to a 60Hz AC main line frequency and output a signal of
50Hz frequency, and vice versa.
The purpose of Phase-Locking the inverter to the line input is to enable the automatic bypass
feature, and to avoid signal “mixing” at the rails. These two features are detailed in the following
sections.
• The inverter output must be locked to the frequency and phase of the AC main line
• The inverter output and the AC main line’s RMS voltages must be within 10% of one
another
When the bypass conditions are met, the bypass switch can transfer the load to the AC main line
in the event of a UPS failure or when commanded by the operator during routine maintenance. It
can also switch the load back to the inverter after any maintenance.
In the Online mode, a ripple with the phase and twice the frequency of the AC main line will be
present at the rails, superimposed with a ripple with the phase and twice the frequency of the
inverter current. In this situation, if a frequency offset ∆f is present, lower-order components can
appear. Locked operation is preferred to minimize the effects of frequency mixing.
• Control strategies for inverter, PFC, PLL, and DC-to-DC converters. Every control loop
starts at an Analog-to-Digital Converter (ADC) in order to sense the signals, and ends at a
Pulse Width Modulator as an actuator.
• Deciding when to activate or deactivate a component
• Detecting failure conditions and implementing any required action
• Enabling Monitor and Control (M & C) communications
Compared to traditional analog controls, today’s low-cost and high-performance controllers
provide a better solution in performance and cost. A single MCU includes a powerful processor
core and such peripherals as PWMs, Timers, and Analog-to-Digital Converters. A single 56800E
device is able to assume the monitoring and real-time control required by an Online UPS.
Figure 1-3 shows a photo of a completed UPS prototype. The system’s power electronics and
ferromagnetic components are detailed on the left side of the the figure.
56800E Controller
A soft start circuit is designed to avoid that circumstance. Figure 1-7 shows a full
wave-controlled rectifier bridge. If the trigger angle of X1 and X2 is gradually decreased from
the zero crossing towards the peak voltage, as demonstrated in Figure 1-8, the capacitor voltage
will then increase slowly. As the current on a capacitor equals the capacitance value times the
voltage derivative with respect to time, the input current will be proportional to the slope of the
voltage applied to the capacitor.
Figure 1-8. Relationship between Rectifier Soft Start Operation / Actuator Signals
and the AC Main Line Voltage
The objective of the PFC circuit is to simulate a resistive load to the power line; in other words, to
obtain a unity power factor and low harmonic content in the current waveform. A fast control
must be implemented in order to make the current waveform follow the AC voltage, while
elevating and controlling the rail voltage and supplying the average power required to the load.
Figure 1-10 shows how the PFC works, illustrating a current signal waveform similar in form to
the voltage waveform. The ripple in the figure is a consequence of the IGBT high frequency
switching.
Once the voltage on capacitors C3, C7 and C8 shown in Figure 1-11 reach the AC main supply
peak after the rectifier soft start, the PFC is turned on, correcting the power factor presented to
the line and generating the rail DC voltages VP and VN at a value higher than the line peak.
In order to work as a PFC, U1 and U2 in Figure 1-11 turn on and off in complementary mode.
When U1 is on, U2 is off, and vice versa.
The switching frequency of operation is 20kHz . The line nominal frequencies are 50Hz or 60Hz,
so it is a valid approximation to consider the line voltage as a constant during a switching period.
For positive values of the line, when U2 is on (closed) and U1 is off (open), the circuit reduces to
that shown in Figure 1-12, where C3 is connected in parallel to C8, causing the voltages on these
capacitors to be the same, thus reducing the ripple voltage on C8.
1 t2
∆Iline = ∫ V dt
L t 1 L1
Where:
VL1 is the voltage across the inductor terminals
The peak current across the inductor at time t2 depends, among other factors, on the instant value
of the line voltage and the time difference t2 – t1, which is the time that U1 remains closed.
The voltage-boosting characteristic of the PFC is accomplished by increasing the voltage across
C3 (and consequently, across C7 and C8). Given that a current is circulating in the inductor L1,
when U1 opens, the voltage across L1 adds to the line voltage as shown in Figure 1-15. This
forces D24 into a conduction state and C3 and C8 to charge to the addition of the line and the
inductor terminal voltage, VL1. This is a typical boost configuration.
Due to symmetry, this circuit works in the same way for negative values in line voltage.
Figure 1-16 shows a two-transistor version of a flyback converter, where U5 and U6 are turned
on and off simultaneously. The advantage of such a topology over a single-transistor flyback
converter is that the switches’ voltage rating is VP - VN. Moreover, since a current path exists
through the diodes D18 and D19, which are connected to the primary winding, a dissipative
snubber across the primary winding is not needed to dissipate the energy associated with the
transformer primary-winding leakage inductance.
The design, calculations and construction of TX1 are critical in order to prevent the reflected
voltage from secondary to primary rising higher than VP - VN when D22 is on.
Although the topology of Figure 1-17 is usually called “booster” because its output voltage is
higher than input voltage, it is actually a push-pull converter with an arrangement of two forward
converters working alternatively and a transformer to increase the output voltage.
The switches U9 and U10 cannot be closed at the same time. Typical drive signals are illustrated
in Figure 1-18.
Using a control signal like the one shown in Figure 1-18, the waveforms at the transformer
secondary over L10 and L9 are illustrated with positive and negative values of voltage in
Figure 1-19.
C9 remains charged to VBAT and is added because the coupling factor is not equal to one,
implying that a leakage inductor must be considered. C9 acts as a snubber, creating a current path
to avoid an uncontrolled voltage peak at the primary windings of the transformer.
The four diodes D25, D26, D27 and D28 form a conventional full-wave rectifier bridge and
generate only positive values in the cathodes of D25 and D27 and negative values at the anodes
of D26 and D28, as shown in Figure 1-20.
The objective of DC/DC converters is to generate a DC voltage. In order to filter any undesirable
AC components, two LC filters are added:
Consider a switching period of T seconds. Assume that U8 is closed during TP seconds, while U7
is open. During the remaining T – TP seconds, U7 is closed and U8 open. If the cutoff frequency
of the low-pass filter composed by inductor L5 and C6 is low enough to reject the 1/T Hz
switching frequency, then the output approximates to:
tp ⎛ t ⎞
Vo = VP + VN ⎜⎜1 − p ⎟⎟
T ⎝ T⎠
tp 1
< 1, = 20 kHz
T T
Where:
tp/T is the duty cycle of the control signal
tp
Vo = (VP − VN ) + VN
T
As 1/T = 20kHz is much higher than 50Hz or 60Hz, then the output voltage will result
proportional to TP, and the sinusoidal signal can be considered constant during T seconds.
• Power supplies
• Signal sensing circuitry
Figure 1-23. H Bridge Configuration used to Provide Multiple Floating Power Supplies
The output of the isolating transformer is half-wave rectified and applied to the load. Positive and
negative voltages are generated. The 39Ω resistor limits the current of the transformer’s
secondary when M1 and M2 are on. Resistors RL1 and RL2 represent the load.
All isolated power supplies are connected in parallel to the rail voltage, depicted as nodes A and
B in Figure 1-23.
While M1 and M2 are on, VCC is connected directly to the primary, increasing the current
linearly, as shown in Figure 1-25. Cn is simultaneously charging across Dn. The 39Ω resistor
acts as a current limiter. M1, M2, Dp, Cp, and the transformer shape a traditional flyback power
supply.
When M1 and M2 are off, an inverted voltage is induced in the primary and D1, D2 which limit
that voltage to 15V plus 1.2 from two diode junctures, turning Dp on and charging Cp.
There are several transformers connected to the rails A and B which generate isolated power
supplies to drive SCRs, IGBTs, and MOSFETs used in the rectifier, inverter, battery charger, and
battery booster.
Figure 1-26 shows the control power supply, which uses a LM2576 step-down voltage regulator,
to generate +VCC = 15V fed by the redundant DC voltage coming from 18VAC or +VBAT or an
additional power supply VDCR coming from the battery charger. This circuit also generates the
Control Board Power Supply, which is isolated from +VCC.
Figure 1-27. Partial View of the Auxiliary Power Supply and Optoisolation Network
The value of the resistors required to sense every signal are calculated in order to guarantee full
swing, minimizing analog and quantization noise at the ADCs.
The reference level of the ADC is used to shift the AC input signal to swing from 0 to VRH (i.e.,
0 volts in the input signal are mapped to VRH/2). If the output of the operational amplifier tends
to go out of limits for any reason, the diodes protect the ADC inputs.
The relay’s transfer time must be shorter than a period of the AC line. A transfer time of less than
20ms is fast enough to comply with this constraint. The transfer is allowed if phase and voltage
conditions are satisfied, as explained in Section 1.1.4.
Figure 1-33 shows the circuit implemented to turn the bypass relay on and off using the BP1
signal. Please note the three different grounds used in the system.
⎛ 1 ⎞
Gc( s ) = K p ⎜⎜1 + + τ d ⋅ s ⎟⎟
⎝ τi ⋅ s ⎠
An appropriate technique to discretize this transfer function is the backward difference method,
which is based on numerical integration theory and has the following equivalence rule:
d (1 − z −1 )
s→ →
dt Ts
Where:
Ts is the sampling period
K p ⋅ Ts K p ⋅ τ d ⋅ (1 − z −1 )
G c (z) = K p + +
τi ⋅ (1 − z −1 ) Ts
It is implemented as follows:
j =0
K p ⋅ Ts
KI =
τi
K p ⋅τ d
KD =
Ts
The voltage control must keep a constant DC rail. V. Positive Rail is sensed and compared to
Voltage Setpoint. The error signal then passes through a PI control network, which outputs one of
the operands used to calculate the current set point. The other operand is the AC Line Voltage,
VLINE. This signal is then used as the set point of a second PI control, which forms the current
control loop.
The goal of the rectifier stage is to maintain the rail DC voltage at ± 220V and to control the input
current to mimic the voltage waveform (and thus to make the complete system appear as a
resistive load to the AC main line). In order to achieve these two goals, two control loops are
required:
A current control loop, implemented with a PI controller, which generates a current as required
by the input inductor. Due to the circuit symmetry, it is possible to implement a control using the
line voltage absolute value to control the signal, regardless of its sign. A suitable controller for
this application is a PI compensator with the following parameters:
⎛ 1 ⎞
Gc(s) = 6.4⎜1 + ⎟
⎝ 0.0002 ⋅ s ⎠
C ( k ) = K P ⋅ e( k ) + ∑ K I ⋅ e( j )
k
j =0
With :
KP = 6.4
and
KI = 1.6
The second controller keeps the rail voltage constant and uses a low pass filter to reject the 60Hz
and 120Hz ripple. The process is much slower than any of these frequencies, and therefore should
not attempt to correct higher harmonic disturbances. The chosen controller is a PI. The output of
this controller modulates the AC main line voltage to obtain the reference for the current loop.
The low-pass filter is a first-order Infinite Impulse Response (IIR) filter with a 3dB cutoff
frequency of 5Hz, implemented with the following transfer function:
f ( z ) b0 ⋅ z
=
e( z ) z − a1
With:
b0 = 0.01
a1 = 0.9984
⎛ 1 ⎞
Gc ( s ) = 0.9⎜1 + ⎟
⎝ 0.0563 ⋅ s ⎠
Using the backward difference method yields the following discrete time equivalent:
C ( k ) = K P ⋅ e( k ) + ∑ K I ⋅ e( j )
k
j =0
With:
KP = 0.9
and
KI = 0.0008
Given that the battery voltage is a slow signal, the sampling frequency for this control is
decimated by 16 relative to the 20kHz (20kHz/16 = 1250Hz) sampling frequency used elsewhere
in the system. The PWM switching frequency is preserved at 20kHz.
In order to avoid saturation of the voltage compensating network’s integrator, its input is
deactivated if the control output is above a predefined threshold.
The batteries are charged using the constant current–constant voltage approach. While the battery
voltage is lower than the floating voltage (in this case 28V), a constant current of 1A is applied.
When the battery terminal voltage reaches 28V, the voltage is kept constant, decreasing the
charge current. The battery charger system is implemented by two nested loops. The inner loop
controls the charging current and uses a PI control. The reference for this control is delivered by a
voltage control loop, whose output is limited from 0 to 1/3, where 1/3 (in Frac16 notation)
represents 1A. When the batteries are discharged, the voltage control increases the current
The controller chosen for the current control loop is a PI compensator with the following
parameters:
⎛ 1 ⎞
Gc(s) = 0.7⎜1 + ⎟
⎝ 0.001 ⋅ s ⎠
Using the backward difference method results in the following discrete time equivalent system:
C ( k ) = K P ⋅ e( k ) + ∑ K I ⋅ e( j )
k
j =0
With:
KP = 0.7
and
KI = 0.035
The controller chosen for the voltage control loop is a PI compensator with the following
parameters:
⎛ 1 ⎞
Gc( s ) = 0.2⎜1 + ⎟
⎝ 32e − 3 ⋅ s ⎠
Using the backward difference method results in the following discrete time equivalent system:
C ( k ) = K P ⋅ e( k ) + ∑ K I ⋅ e( j )
k
j =0
with:
KP = 0.02
and
KI = 0.0005
The inverter control is implemented with a nested topology. The outer loop controls the output
voltage and the inner loop controls the inductor current. This configuration allows better stability
of the feedback system and an implicit limitation of the current delivered to the load. The inner
control loop stabilizes the system, acting as a damper for the LC output circuit.
The controller chosen for the current control loop is a PI compensator with the following
parameters:
⎛ 1 ⎞
Gc( s ) = 0.84⎜1 + ⎟
⎝ 0.0017 ⋅ s ⎠
C ( k ) = K P ⋅ e( k ) + ∑ K I ⋅ e( j )
k
j =0
With:
KP = 0.84
and
KI = 0.0024
The outer loop is the voltage control. The goal of this loop is to keep a sinusoidal voltage
waveform, regardless of the load characteristics. When nonlinear loads (as a full wave rectifier)
are connected, a high current is drawn at the peaks of the signal. The action taken to overcome
this condition is to inhibit the integral action by disconnecting the integrator input when the
current draw is high. This action reduces the output distortion and enhances the controller
response when the load requires high currents.
The controller chosen for the current control loop is a PI compensator with the following
parameters:
⎛ 1 ⎞
Gc(s) = 3.42⎜1 + + 0.0001688 ⋅ s ⎟
⎝ 0.00036 ⋅ s ⎠
Using the backward difference method results in the following discrete time equivalent system:
C ( k ) = K P ⋅ e( k ) + ∑ K I ⋅ e( j ) + K D ⋅ [e( k ) − e( k − 1)]
k
j =0
With:
KP = 3.42
KI = 0.475
and
KD = 11.75
Given that the rail voltage is a slow signal, the sampling frequency for this control is decimated
by 16 relative to the 20kHz (20kHz/16 = 1250Hz) sampling frequency used in other sections of
the system. The PWM switching frequency is preserved at 20kHz.
The system is implemented with a PID compensator in order to regulate the rail DC voltage. The
control output modulates the duty cycle of a push-pull power supply. The following are the
parameters of such a controller:
⎛ 1 ⎞
Gc(s) = 16⎜1 + + 0.000005 ⋅ s ⎟
⎝ 0.064 ⋅ s ⎠
Using the backward difference method yields the following discrete time equivalent system:
C ( k ) = K P ⋅ e( k ) + ∑ K I ⋅ e( j ) + K D ⋅ [e( k ) − e( k − 1)]
k
j =0
With:
KP = 16
KI = 0.2
and
KD = 0.1
1 ⎛ 60 MHz ⎞
⎜ ⎟ = 1500
2 ⎝ 20 KHz ⎠
Given that the PWM(s) update their value when the PWM load command is given to the PWM
peripheral, the delay from the time elapsed between the sampling of the signal and the update of
the PWM compare values should be minimized, enhancing the system’s stability. The
implementation of this delay and the relationship between the PWM reference and the ADC
conversion is fully explained in Section 5.
138 62
A0 A0 PWMA0 PWMA0
10 64
A1 A1 PWMA1 PWMA1
11 65
A2 A2 PWMA2 PWMA2
12 67
A3 A3 PWMA3 PWMA3
13 68
A4 A4 PWMA4 PWMA4
14 70
A5 A5 PWMA5 PWMA5
17 113
A6 A6/PE2 ISA0/PC8 PC8
18 114
A7 A7/PE3 ISA1/PC9 PC9
19 115
A8 A8/PA0 ISA2/PC10 PC10
20 71
A9 A9/PA1 FAULTA0 FAULTA0
21 73
A10 A10/PA2 FAULTA1 FAULTA1
22 74
A11 A11/PA3 FAULTA2 FAULTA2
23
A12 A12/PA4 R60
24 139 FAULTA0
A13 A13/PA5 PHA0/TA0 PHASEA0
25 140
A14 A14/PA6 PHB0/TA1 PHASEB0
26 141 47K
A15 A15/PA7 INDEX0/TA2/PC6 PC6
33 142
PB0 PB0/A16 HOME0/TA3/PC7 PC7
59 88 R61
D0 D0 ANA0 ANA0 FAULTA1
60 89
D1 D1 ANA1 ANA1
72 90 47K
D2 D2 ANA2 ANA2
75 91
D3 D3 ANA3 ANA3
76 92
D4 D4 ANA4 ANA4 R62
77 93 FAULTA2
D5 D5 ANA5 ANA5
78 94
D6 D6 ANA6 ANA6
28 95 47K
D7 D7/PF0 ANA7 ANA7
29
D8 D8/PF1
30 34
D9 D9/PF2 PWMB0 PWMB0
32 35
D10 D10/PF3 PWMB1 PWMB1
133 36
D11 D11/PF4 PWMB2 PWMB2
134 39
D12 D12/PF5 PWMB3 PWMB3
135 40
D13 D13/PF6 PWMB4 PWMB4
136 41
D14 D14/PF7 PWMB5 PWMB5 R64
137 50 FAULTB0
D15 D15 ISB0/PD10 PD10
52
ISB1/PD11 PD11
46 53 47K
/CS0 PS/CS0 ISB2/PD12 PD12
47 56
/CS1 DS/CS1 FAULTB0 FAULTB0 R65
48 57 FAULTB1
/CS2 PD0/CS2 FAULTB1 FAULTB1
49 58
/CS3 PD1/CS3 FAULTB2 FAULTB2
61 47K
FAULTB3 FAULTB3
44
/WR WR R54
45 104 FAULTB2
/RD RD ANB0 ANB0
105
ANB1 ANB1
54 106 47K
/IRQA IRQA ANB2 ANB2
55 107
/IRQB IRQB ANB3 ANB3 R63
108 FAULTB3
ANB4 ANB4
112 109
EXTBOOT EXTBOOT ANB5 ANB5
143 110 47K
EMI_MODE EMI_MODE ANB6 ANB6
111
ANB7 ANB7
81
XTAL XTAL
82 8
EXTAL EXTAL INDEX1/TB2/MISO1/PC2 PC2
3 7
CLKO CLKMODE 87 CLKO PHB1/TB1/MOSI1/PC1 PC1
6
CLKMODE PHA1/TB0/SCLK1/PC0 PC0
9
HOME1/TB3/SS1/PC3 PC3
86
/RESET RESET
/RSTO 85 118
RSTO TC0/PE8 PE8
131 116
MISO0 MISO0/PE6 TD0/PE10 RXTXEN
132 117
MOSI0 MOSI0/PE5 TD1/PE11 CESI
130
SCLK0 SCLK0/PE4
129 126
/SS0 SS0/PE7 CAN_TX CAN_TX
127
CAN_RX CAN_RX
123 JG8
TDI TDI
124 96
TDO TDO TEMP_SENSE 1 ANA7
121
TCK TCK 2
120 4
/TRST TRST TXD0/PE0 TXD0
122 5
TMS TMS RXD0/PE1 RXD0
42
TXD1/PD6 PD6
43
RXD1/PD7 PD7
+3.3V 1 80
VDD_IO1 VDDA_OSC_PLL +3.3V_PLL
16
31 VDD_IO2 102
VDD_IO3 VDDA_ADC +3.3VA
38
66 VDD_IO4
VDD_IO5 C47 C82 C87
84 0.1uF 0.001uF 100pF +3.3V
119 VDD_IO6
VDD_IO7 103
125 VSSA_ADC Single trace
2 VPP1
VPP2 to GNDA
101
VREFH +VREFH R36
51
VCAPC1 1K
128
VCAPC2 JG1
83 CLKMODE
15 VCAPC3 100 2
+ VCAPC4 VREFP 99 1
C15 + 27 VREFMID 98
2.2uF C12 + 37 VSS_IO1 VREFN
2.2uF C13 + 63 VSS_IO2
2.2uF C14 69 VSS_IO3
VSS_IO4 C48 C49 C19
2.2uF 144 0.1uF 0.1uF 0.1uF
VSS_IO5
79 97
Use on-chip REG_EN VREFLO Single trace
regulators to GNDA
MC56F8346
The Control Board provides a Clock Boot Mode jumper, JG1. This jumper is used to select the
type of clock source being provided to the processor as it exits reset. The user can select between
the use of a crystal or an oscillator as the clock source for the processor.
The fault inputs of the PWM modules are tied to ground as a pull-down configuration in order to
prevent false fault conditions; see Figure 3-1.
3.2 Reset/Modes/Clock
Logic is provided on the Control Board to generate an internal Power-On Reset; see Figure 3-2.
Additional reset logic is provided to support the reset signals from the JTAG connector, the
Parallel JTAG Interface and the user reset push-button, S1; see Figure 3-3.
U9A U9B
P_RESET 1 4
3 6
/RESET
2 5
/POR
74AC00 74AC00
U9C U9D
9 12
8 11
/J_TRST /TRST
10 13
74AC00 74AC00
The Control Board uses an 8.00MHz cystal (Y1) connected to processor’s oscillator inputs
(XTAL and EXTAL). The crystal configuration is shown in Figure 3-3.
EXTAL R28
10K +3.3V
R32
S1
Y1 10M 1 3 JG12
/POR 10K
8.00MHz R1 2 4 Jumper
1
RESET PD6 2
3
A/M
C46
0.1uF R16
XTAL
10K
+3.3V +3.3V
BOOT MODE JUMPER
EXT BOOT NC +3.3V
INT BOOT R25 R27
1 - 2 10K PUSHBUTTON 1 10K R18
JG14
10K
JG3 S2 Jumper
1 3 1
2 EXTBOOT PC10 PD12 2
2 4 110/220
1 3
R17
OPTION C20
0.1uF
10K
The Control Board provides an External/Internal Boot mode jumper, JG4. This jumper is used to
select the internal or external memory operation of the processor as it exits reset.
The Control Board also provides an EMI Boot Mode jumper, JG5. This jumper is used to select
the External Memory Addressing Range Operating mode of the processor as it exits reset. The
user can select either a 64K address space or an 8M address space.
As seen in Figure 3-3, the board includes two user pushbuttons, S2 and S3 (Option and Enter,
respectively,) that can be used for general purposes. The jumpers JG12, JG13, and JG14 are used
to select Auto/Manual modes, 50/60Hz, and 110/220V, respectively.
+3.3V
CS1/CS2 ENABLE JUMPER
CS0 ENABLE JUMPER R22 OPTION JG6
/ECS1
OPTION JG5 10K SRAM WORD ENABLE 1-2 3-4
SRAM UPPER BYTE ENABLE NC 3-4
SRAM ENABLE 1-2 R21
/ECS2
SRAM LOWER BYTE ENABLE 1-2 NC
SRAM DISABLE NC 10K
SRAM DISABLE NC NC
This circuitry transitions the SCI UART’s +3.3V signal levels to RS-232-compatible signal
levels and connects to the host’s serial port via connector P2.
Flow control is not provided. The SCI0 port signals can be isolated from the RS-232 level
converter by removing the jumpers in JG11. The RS-232 level converter/transceiver can be
disabled by placing a jumper at JG7; see Figure 3-5.
/EN R41 1K
R90 5Vext
390 T2IN R42 1K
U20
T3IN R43 1K
1 8 R108
3
NC1 VCC 2K C56
TXD0 1 Q3 2 7 0.1uF R2IN
BSV52LT1 +VF VE R44 1K
3.9K R47 3 6
2
-VF VD
R3IN R45 1K
4 5
NC2 GND
R4IN R34 1K
6N136S
3
6 3 R46 14 9 2
RXD0 VD -VF 1 2 T2IN T1IN T1OUT TXD
Q1 1 13 10 7
5 4 BSV52LT1 3 4 T3IN 12 T2IN T2OUT 11 1 T4 3 CTS
GND NC2 T3IN T3OUT 1 T5 8 RXD
2
3.9K 20 4 RTS
T6 1 R2OUTB DTR
6N136S 19 4 9
18 R1OUT R1IN 5 R2IN 5
T7 1 R2OUT R2IN R3IN
17 6
T8 1 R3OUT R3IN R4IN
16 7
T9 1 R4OUT R4IN R5IN
5Vext 15 8
T10 1 R5OUT R5IN SCI #0
/EN 23
FORCEON 21
RS-232
R40 22 INVALID 1 T3
RS-232 SHUTDOWN JUMPER 1K FORCEOFF CONNECTOR
MAX3245EEAI
RS-232 ENABLE N/C JG7
1
RS-232 DISABLE 1 - 2 2
J12
1
2 GND
+5.0V VCC
3
4 VO
PC2 RS
R33 5
10K 6 /RW
PC3 E
7
8 D0
9 D1
1
10 D2
11 D3
PC6 D4
R110 2 12
PC7 D5
20K 13
PC8 D6
14
PC9 D7
A
B A
3
C B
D C
D
LCD_DISPLAY
J11
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
/IRQA 19 20
21 22
23 24
25 26
27 28
29 30
RXTXEN 31 32 /RESET
33 34 CESI
MOSI0 35 36 SCLK0
/SS0 37 38 MISO0
+3.3V 39 40
WIRELESS BOARD
J7 J13
AN0 1 2 AN1 AN8 1 2 AN9
AN2 3 4 AN3 AN10 3 4 AN11
AN4 5 6 AN5 AN12 5 6 AN13
AN6 7 8 AN7 R8 R10 AN14 7 8 AN15 R14 R15
9 10 +VREFH 9 10 +VREFH
A/D PORT A 0 Ohm 0 Ohm A/D PORT B 0 Ohm 0 Ohm
C85 C84
J15 0.47uF 0.47uF
J16
1 1
2 2
SHIELDING PIN SHIELDING PIN
J9
PHASEA0 1 2 PHASEB0
3 4 R11 R9
5 6 +3.3V
7 8 0 Ohm 0 Ohm
9 10
C86
0.47uF
TIMER CHANNEL A
J8
PC1 1 2
PC0 3 4 R13 R12
5 6 +3.3V
7 8 0 Ohm 0 Ohm
9 10
C83
0.47uF
SCRs
GATE
J4
1 2
3 4
5 6
7 8
9 10
PD10 11 12 PD11
13 14
BYPASS
A10 1 2 A11 1 2
A9 3 4 /CS1 CLKO 3 4
A8 5 6 A15 5 6
A7 7 8 A14 7 8
9 10 9 10
/WR 11 12 A13 11 12
D0 13 14 A12 13 14
D1 15 16 D8 15 16
D2 17 18 D9 17 18
19 20 SCLK0 19 20
D3 21 22 D10 21 22
D4 23 24 D11 MOSI0 23 24
D5 25 26 D12 MISO0 25 26
D6 27 28 D13 27 28
29 30 /SS0 29 30
D7 31 32 D14 31 32
/CS0 33 34 D15 33 34
A0 35 36 /RD /RESET 35 36
A1 37 38 A6 37 38
39 40 39 40
A2 41 42 A5 41 42
A3 43 44 A4 /IRQB 43 44
/CS3 45 46 /CS2 /IRQA 45 46
+3.3V 47 48 +3.3V 47 48
49 50 49 50
51 51
ADDRESS/DATA PERIPHERAL
91930-21151 91930-21151
The CANH and CANL signals pass through inductors before attaching to the CAN bus
connectors. A primary, J6, and daisy-chain, J6, CAN connectors are provided to allow easy
daisy-chaining of CAN devices. CAN bus termination of 120 ohms can be provided by adding a
jumper to JG2. The FlexCAN port is attached to J17 connector; see Figure 3-14.
+5.0V
+5.0V
R92 CAN_RX
390
C40 0.1uF
JG2
R48 R95 390 BCANH CAN BUS
3
3.9K 1
1 Q2 TERMINATION
CAN_TX 2
BSV52LT1
2
4
R109
5
NC1
NC2
+VF
-VF
120
U13
VE
VO
GND
VCC
1/4W
6N137S BCANL
GND
VCC
6N137S
VO
VE
NC2
NC1
+VF
U14
-VF
J6
8
5
BCANL 1 2 BCANH
4
3 4
5 6
7 8
9 10
5Vext
R93 390 5Vext
J17
CAN_TX 1 2
CAN_RX 3 4
R97
C39 0.1uF 390 CAN
U16
1 4
TXD RXD L7
3 7 CANH BCANH
5Vext VCC CANH CANL BCANL
C34 2 6
0.1uF GND CANL
8 5
Rs Vref
PCA82C250
When this connector is used with an external Host Target Interface, the parallel JTAG interface
should be disabled by placing a jumper in jumper block JG9.
PORT_IDENT
R31
P1
10k
1
14 U11
2 PORT_RESET 2 18
15 1A1 1Y1 PORT_RESET
3 PORT_TMS 4 16
16 1A2 1Y2 PORT_TMS
4 PORT_TCK 6 14
17 1A3 1Y3 PORT_TCK
5 PORT_TDI 8 12
18 1A4 1Y4 PORT_TDI
6 /PORT_TRST 11 9
19 2A1 2Y1 /PORT_TRST
R52
7 PORT_DE 13 7
20 2A2 2Y2 1 T2
5.1K
8 15
2A3 PORT_TDO
21
9 PORT_VCC 20 17
5Vext VCC 2A4 PORT_CONNECT
22
10
23 1
PORT_TDO R105 1G
11 5
24 2Y 3 19
51 Ohm 2G
12
25
PORT_CONNECT R104
13 3 10 R53 R49
2Y 4 GND 5.1K 5.1K
51 Ohm
MC74HC244DW
+5.0V +5.0V
HCPL-2631S HCPL-2631S
5Vext
+5.0V
R82 R91
R83
U12 C53 390 390
390 U19
1 8 C52 0.1uF
NC1 VCC 8 1 +5.0V
0.1uF VCC +VF1
2 7 390 R99
5Vext +VF VE 7 2
390 R96 PORT_CONNECT VO1 -VF1 2Y 4
3 6 390 R100
/PORT_TRST -VF VD 2A1 6 3
PORT_TDO VO2 -VF2 2Y 3
4 5
NC2 GND 5 4 +5.0V
GND +VF2
6N137S
HCPL-2631S
+3.3V
20 R55
1 VCC /J_TRST
19 1G 10
2G GND 47K
2
1
JG9 R51
MC74LCX244DW P_DE
R50
5.1K
5.1K
On-Board
Host Target Interface
Disable
R74
R69 AN11 ANB3
AN4 ANA4 560
NOTE: Use a single trace
560 C68
0.0022uF
for GNDA signals to the
C80
0.0022uF common GNDA point.
R67
AN5 ANA5
560
C73
0.0022uF
R66
AN6 ANA6
560
C74
0.0022uF
The main power input (P3) must be fed with a voltage of +12V DC at 1.2A. This power input
feeds a voltage regulator of 5V DC (U6), which supplies two more 3.3V DC regulators. The first
of the 3.3V DC (U8) regulators supplies the voltage to all of the 3.3V DC ICs. The second 3.3V
DC (U7) regulator feeds the ADC module of the controller and feeds another voltage regulator of
3.0V DC (U15) used as a reference for the controller’s ADC; see Figure 3-18.
U6 LM2575S-5.0
P3 D1
2 1 1 2 1 4 +5.0V
6 VIN FB
+ C1 C22 3 TAP L1
S1ABDICT-ND
3
470uF 0.1uF 5 GND 2
16VDC ON/OFF OUT
PM5022 330uF
D6 + C7
330uF C54
10BQ060
10VDC 0.1uF
Diode schottky
D3 D4
2 1 2 1
DNP DNP
S1ABDICT-ND S1ABDICT-ND
R106
U8 U7
+VREFH
VCC
3 2 3 2 10 DNP
+5.0V VIN VOUT L2 +5.0V VIN VOUT L3
1 4 1 4
GND VOUT +3.3V GND VOUT +3.3VA
FERRITE BEAD + FERRITE BEAD
C3
MC33269DT-3.3 C16 47uF MC33269DT-3.3 C18 C23 + C4
2.2uF TANT 10VDC 2.2uF TANT 0.1uF 47uF
10VDC 10VDC L4 10VDC JG6
1
FERRITE BEAD 2
R2
0 Ohm
Single trace
to GNDA.
L5 U15
1
+3.3V +3.3V_PLL +3.3VA VIN +3.0V
5
FERRITE BEAD VOUT +VREFH
3
EN 4
+ C5 2 NR + C81
C24
47uF 0.1uF GND C59 10uF
10VDC REG113NA-3/3K 0.01uF 6VDC
The second power input (P4) feeds the +5V DC voltage regulator, U5. This regulator supplies the
voltage to a part of the optocouplers and the components before them.
7-12Vext DC +12Vext
S1ABDICT-ND
U5 5Vext
P4 D2
2 1 1 2 3 2
VIN VOUT
L6
+ C2 C33 1 4
S1ABDICT-ND
3
Several test points were placed over the Control Board and LEDs indicate when the power
sources are turned on; see Figure 3-20.
+5.0V 5Vext
GROUNDext +5.0Vext
R103 R102
TEST POINT TEST POINT 270
POWER GOOD LED 270
POWER GOOD LED
TP9 TP8
POWER SUPPLY +5.0V POWER SUPPLY 5Vext
1
1
LED1 LED2
GREEN LED GREEN LED
5Vext
2
1
+3.3VA
+3.3V +5.0V
Online UPS I
Power
o ON
Freescale
VAC Out EVM Serial
I Port
UPS ON 300 VA
o Max.
Output
Fuse 3A
EVM
Parallel
Port
Ethernet
Port
VDC Battery
Switch Input
Fuse 4A
AC Main
IN
• Power-On Switch, which disconnects the AC main line and the EVM power supply,
powering off the complete system
• UPS On Switch, which enables or disables the inverter output.
On the back panel:
• Outputs: Two standard 120/240 VAC power outlets
• Fuse F1: Line input fuse, 4 A
• Fuse F2: Inverter output fuse, 3 A
• Line Connector Cable: 120/240VAC main 50/60Hz line input
In addition to the peripherals found on the EVM, the Control Board features:
JP1
1 2 3 1 2 3 220V Inverter Voltage
120V Inverter Voltage
JP2
1 2 3 1 2 3 Manual mode
Auto mode
JP3
1 2 3 1 2 3 50Hz mode
60Hz mode
JP4
1 2 3 1 2 3 220V Line Input Voltage
120V Line Input Voltage
Figure 4-3. Functional Components and Location of Jumpers on the Power Board
JG14
1 2 3 1 2 3 220V Inverter Voltage
120V Inverter Voltage
JG12
1 2 3 1 2 3 Manual mode
Auto mode
JG13
1 2 3 1 2 3 50Hz mode
60Hz mode
4.3 Operation
This equipment is a fully operational Online UPS with cold start, input power factor correction
and a maximum output power of 300VA. This equipment can also operate without batteries,
allowing its use as a regulator or as a frequency converter (50/60Hz).
WARNING: This equipment is not designed to support the hot swap of batteries. Batteries
should never be connected or disconnected when the equipment is in operation.
Decide whether to operate with or without batteries and take any actions before turning the
equipment on.
Timer A1 100kHz 35% Duty Cycle signal to auxiliary power supplies – Output
Timer C2 Sets delay between PMW load and ADC start of conversion
Synchronizes ADC to PWM
PWMA – Fault 1 PFC Overcurrent Short Circuit Protection; PWM Fault 1 – Input
PWMA – Fault 2 Battery Booster Overcurrent Short Circuit Protection; PWM Fault 2 – Input
Declaration of Variables
Initialization of Variables
3 second Delay
Determination of:
•Auto/Manual jumper position.
•50/60 Hz jumper position.
•AC Main Line Frequency
Infinite Loop:
Square root calculations of RMSs
Check battery charge flag to determine flash write.
If temperature_counter = 20000 then start ADC B
conversion.
Scale adjust of output variables
Format operational variables to ASCII strings to show
at Display and Communications
Figure 5-2. Flow Diagram for the Interrupt Service Routine AD1_OnEnd (1 of 5)
Figure 5-4. Flow Diagram for the Interrupt Service Routing AD1_OnEnd (3 of 5)
Figure 5-6. Flow Diagram for the Interrupt Service Routine AD1_OnEnd (5 of 5)
Three overcurrent events are sensed and connected to the Fault inputs of the PWM modules.
These are:
PWM Fault inputs are set up to disable the corresponding PWM pins when overcurrent is
detected.
A single overcurrent event should not disable the complete system, as peak currents can occur
when switched capacitive loads are connected (i.e., a power supply implemented with rectifier
and capacitor). For this reason, a current out of limits counter is implemented in all of the
PWM-controlled systems. Every time the interrupt handler routine is called, the counter increases
by an amount A. The 20kHz End of Conversion interrupt decreases the counter by an amount B.
The UPS is sent to the fail condition only if:
kA - Bn > Threshold
Where:
k is the number of times the current out of limits event occurs
n is the number of times the 20kHz routine is called
The weights A and B and the threshold are selected to balance a trade-off requiring the system
not be shut down when capacitive loads cause periodic overcurrent events, and to shut down the
UPS when a continued short circuit condition is detected.
ADC Stop
RTI
5.3.4 Delay_Timer_OnInterrupt
This routine merely counts 21 times 140ms (the time interval of the timer) in order to generate a
time delay of 3 seconds following the controller’s core start-up. This is a wait time to allow the
auxiliary power supplies to stabilize.
The SYNC signal of the PWM is passed to Timer C2 to provide the sync signal to the ADCA
peripheral. At Timer C2, the SYNC signal is delayed in order to reduce the time between the
sampling and the updating of the values at the PWM, enhancing the stability of the discrete time
control algorithms.
After the configured delay, Timer C2 signals the ADCs to start conversion. At the end of the
conversion, the ADC module interrupts the core processor. All control loops are executed in this
interruption.
The outer control loop receives the sinusoidal wave synthesized by the PLL module as a
reference and compares it with the inverter output voltage. The error signal passes through a PID
compensator whose output constitutes the set point for the inner PI control loop. This current set
point is compared with the load current.
The transfer function of a discrete time PID control loop is calculated by this equation:
⎡ Z Z −1 ⎤
C( Z) = K T ⎢K P + KI + KD ⎥
⎣ Z − 1 Z ⎦
⎡ K *Z⎤
C( Z) = ⎢K P + I K
⎣ Z − 1 ⎥⎦ T
The sine wave generated is used as the set point of the inverter control. The inverter uses the
output voltage and current as sensing inputs to the control, which have a double control loop
topology, inner PI current control and outer PID voltage control. Figure 5-10 shows the details of
the inverter loop as implemented in the source code. Signal names are the actual variable names
in the C code.
UPS_OutputVoltage
⎡ K * Z⎤
C( Z) = ⎢K P + I K
⎣ Z − 1 ⎥⎦ T
Where:
KP is the proportional gain
KI is the integral gain.
A total gain, KT, is implemented in order to allow flexibility when tuning the control; i.e.,
varying the total loop gain without the necessity of modifying the individual gains.
RailtoRail_SoftStart PIControlwithSaturationFunction
(0 to 1 in 2.4 sec) PIControlwithLowSaturation Function
Gain = 0.8 P
Gain= 0.9 P Shift =0
+ + PWM
Shift =0 If input
x
Actuator &
Rail_SetPoint
x
+
Σ
5Hz Low
Pass Filter
Gain= 1
Shift =0 Σ Signal <0, abs
+
Σ Gain = 1
Shift =3
Σ Switching
Line Input &
Rail Network
output 0 I Network
Gain= 0.0008 I Gain= 0.2 +
- + -
Shift =0 sign
abs
Disconnect Line_CurrentInput
Integrator if
output lower
than0
RailtoRail_InstantVoltage
Decimation by 16 is implemented for a routine sample frequency of 1250Hz. Figure 5-12 shows the
battery booster system.
P
Gain = 1
I + PWM
+
SetPointBoost Σ Gain =
0.0125
+
Σ
If input
Signal < 0,
Actuator &
Switching
- output 0 Network
+
Gain = D
0.00625
1 15
∑ x(n − k )
16 k =0 16
Disconnect
Integrator if
Decimation |derivative|
greater than
0.00005
RailtoRail_InstantVoltage
PIControlwithSaturation Function
Charger_SoftStart
PIControlwithSaturation Function (Runs at 1250 Hz)
Gain = 0.5 P
Gain = 0.4 P Shift = 1
+ + If input PWM Battery
Shift = 0 If input
Charger_ReferenceVoltageLimit
+
Σ
Gain=0.05
Shift = 0 Σ Signal < 0,
+
Σ Gain = 0.7 Σ x signal < 0,
output = 0
Actuator &
Switching
Charger
Network
output 0 Shift = 0 I Network
I Gain = 0.05 +
- Gain = 0.01 + -
1 15
∑x(n−k)
16 k=0 16 Disconnect
Integrator if Battery_InstantCurrent
|output|
Decimation
greater than
1/3
Battery_InstantVoltage
0
4 8
00 00 00
6 9
01 10 10 01 01 10 A
5 2 1
11 11 11
7 3 B
Output: -1 0 1
Table 5-3 is the transition table for the state machine. The input description is formed by x, the
sign of the reference signal to the PLL, and y, the sign of the Digitally Controlled Oscillator
(DCO) output. The present state combines with the input xy and determines both the next state
and the output of the phase discriminator.
0 3 A 5 0 0
1 B A 1 0 0
2 7 2 5 0 0
3 3 2 1 0 0
4 3 2 5 4 -1
State Index
5 3 2 5 4 -1
6 7 6 5 4 -1
7 7 6 5 4 -1
8 3 A 1 8 1
9 B A 9 8 1
A 3 A 1 8 1
B B A 9 8 1
The phase discriminator output feeds a phase accumulator that integrates from the reference
signal’s positive zero crossing to the next one. After one iteration is ended, the accumulator
output is fed to a PI control, then reset. The Proportional—Integral control routine runs at every
positive zero crossing.
The output of the control is added to the sine wave index, transforming the table look-up
algorithm in a numerically controlled oscillator, then closing the Phase Locked Loop.
f0= 50 or 60 Hz
P
0 Gain = 0.09
Line_VoltageInput Low Pass +
Look up
Phase
Discriminator I
Σ Σ Table_Index
calculation Table
Freerun Reference Gain = 0.0016 +
1
At 20kHz sample frequency, the sine wave table pointer increments 2.4 memory positions per
sample to yield a 60Hz wave. To generate a 50Hz wave, the increment is 2.0 positions. The
custom data type FixedInt was created to implement fractional advances. The phase value is
stored in a long signed integer. Only the most significant 16-bit integer word is used to address
two consecutive samples of the table, then a linear interpolation using the fractional part of the
index is performed.
typedef union{
struct{
unsigned int IntL;
int IntH;
}I;
long L;
}FixedInt;
FixedInt Data Type Definition
The FixedInt can be used as a long (variable.L) or as its integer part (variable.I.IntH) plus its
unsigned fractional part (variable.I.IntL). The integer part is used to address the table, and is a
modulo 800 circular counter.
Figure 5-17. SCR Control Signal Generation at the Beginning and End of the Rectifier
Soft Start
• Determining the state of the battery charge when first connected to the UPS
• The ability to modify the algorithm according to the capacity of the battery connected
• Integrating the charging/discharging current over long periods (hours for the recharging
process), when the system sampling rate is 20kHz
• Performing low gain integrations to minimize the quantization effect
• Correcting the effect of different sensing circuits
The hardware is implemented with one sensing circuit for the battery charge, but a
different sensing circuit for the battery discharge. Shunt resistors have in a 10:1 ratio for
charge/discharge, respectively.
These requirements are met by implementing three nested integrators with variable gains and
integration time windows, depending on whether the battery is accepting or yielding charge. The
same constants are used to tune the charge measurement algorithm, depending on the battery size.
Full charge is indicated when the outer integrator reaches one in Frac32 notation.
The first time that the batteries are connected to the system, the battery stored charge is unknown
until the charging current decreases to reach the floating regime. When such a condition is
n 2 ⎛⎜ 1200 1 ⎛ 1000 3 ⎞⎞
Battery _ StoredCh arg e = ∑ 1200 ⎜ ∑ 1200
⎜
⎜ ∑ 2000
Battery _ Ins tan tCurrent⎟⎟ ⎟
⎟
IntegrationWindow 3=1 ⎝ IntegrationWindow 2=1 ⎝ IntegrationWindow1=1 ⎠⎠
The integration used to update the charge when the battery is delivering charge is:
n 2 ⎛⎜ 1200 1 ⎛ 1000
− 30 ⎞⎞
Battery _ StoredCh arg e = ∑ ⎜ ∑ ⎜
⎜ ∑ Battery _ Ins tan tCurrent ⎟⎟ ⎟
⎟
Integratio nWindow 3=1 500 ⎝ Integratio nWindow 2 =1 120 ⎝ Integratio nWindow 1=1 2000 ⎠⎠
The constants presented correspond to 7.2AH / 10H batteries. Note the asymmetry between
charging and discharging constants.
To avoid deletion of the charge information when the system is powered down, the flags and
integrators are stored in Flash memory. It is the operator’s responsibility to record this
information in the system.
Each stage corresponds to the digital implementation of a first-order Butterworth filter, with a
3dB cut-off frequency of 10Hz.
6.2732 x10 6
H (s) =
6.299 x106 + 99843 S
Applying a bilinear transformation over the transfer function, with fs = 20kHz yields the
Z-domain transfer function:
The transposed direct form II is chosen for discrete time implementation using 32-bit registers for
the accumulators (w1 and w2):
The design starting point is an analog low-pass Butterworth filter with a 3dB cut-off at 1kHz. For
a second-order filter, the Laplace transfer function is:
For the accumulators (w1 and w2), 32-bit registers were chosen. To allow the implementation of
a1 = -1.561, whose magnitude is greater than one, without losing the use of saturated arithmetic,
the coefficients are modified and shifts to the left are introduced, resulting in the following
implementation of a transposed direct form II:
These functions allow filter calculation using the full set of features for fixed-point arithmetic and
saturation from the 56800E core processor.
• Timer C initialization
• Enable and Disable Software control in the PWM module
• Turning off and on PWMs 0 and 1
• PWM and Timer A duty cycle set up
The software used for OUPS connectivity will run on a 56F8346 controller, a member of the
56F8300 family. The 56F8346’s operational software is downloaded by the CodeWarrior IDE
into the device’s internal flash and executed from there. The TCP/IP stack software provides the
functionality that allows remote UPS configuration and monitoring using transparent
bi-directional transfer of Internet Protocol (IP) and Transmission Control Protocol (TCP) traffic
between an HTTP client and the UPS unit across an Ethernet network.
This software is based in OpenTCP Software, an open source project developed by Viola
Systems. It brings a highly reliable, portable TCP/IP stack for 8/16-bit microcontrollers. More
information about OpenTCP software can be found at: http://www.opentcp.org/.
Reset Reset
Application
Application Level
Level Processing
Processing
OpenTCP
OpenTCP Stack
Stack
Ethernet
Ethernet Abstraction
Abstraction Layer
Layer
mBUFs
mBUFsInterface
Interface mBUF
mBUFQUEUE
QUEUE
LAN91C111
LAN91C111 Driver
Driver(Ethernet
(Ethernet Controller
Controller Driver)
Driver)
Function Description
void timer_pool_init(void) This function resets all timer counters to zero and initializes all timers to an
available (free) state
Function Description
void eth_init( void ) Generic initialization for 56800E SMSC Ethernet boards
Called from application start-up code
Initializes the Ethernet chip select, interrupt, etc.
void smc_init( void ) Initialization routine called by network device driver code
Function Description
void arp_init (void) Call this function to properly initialize the Address Resolution Protocol
(ARP) cache table and so that ARP allocates and initializes a timer for
its use
INT8 udp_init (void) Initializes the User Datagram Protocol (UDP) socket pool to put
everything into a known state at start up
INT8 tcp_init (void) Initializes all sockets and corresponding Transmission Control Blocks
(TCBs) to a known state
Timers are also allocated for each socket and everything is brought to a
predefined state
Function Description
The defines in Table 6-6 are required for the main loop.
Description: Invoke this macro periodically to check if there is new data in the Ethernet controller
Description: Invoke this macro when the received Ethernet packet is not needed any more and can be
discarded.
Description: Invokes the process_arp function when the ARP packet is received
Description: Processes the IP packet received by checking necessary header information and storing it
according to the received_ip_packet variable
Description: Invokes the process_icmp_in when the IP datagram containing an ICMP message is
detected
This function checks the accuracy of and ICMP message received and sends ICMP replies
when requested
Description: Checks all TCP sockets and performs various actions if time-outs occur
The type of action is performed is defined by the state of the TCP socket.
Description: This function is the main “thread” of the HTTP server program and should be called
periodically from the main loop
Description: This function is the main “thread” of the SMTP client program and should be called
periodically when the SMTP client is active
It is responsible for sending commands and data to the SMTP server and making callbacks
to the user function stubs
Description: This interrupt can be called with any of the following sources:
• Reception: A packet was received
• Transmition Complete: When at least one packet transmission was completed or one of
the following errors occurs:
—- Transmit Underrun
—- SQE Error
—- Lost Carrier
—- Late Collision
—- 16 Collisions
• Transmition Empty: Set if TX FIFO goes empty
• Allocate: When TX ram pages are allocated correctly
• Receiver Overrun: Receiver aborts due to an overrun caused by a failed memory
allocation, a packet is greater than 2Kb, or if a message was discarded
• Ethernet Protocol Handler: Set when the Ethernet Protocol Handler detects a special
condition (LINK OK, Counter ROLL Over, etc.)
• Early Receive Interrupt: Set when a packet is being received and the number of bytes
received exceeds a threshold
• Physical Error: Set when one of several physical layer issues occur (LINK FAIL, Loss of
Synchronization, CodeWord Error, etc.)
Chapter 7 Results
7.1 Inverter Performance
The following parameters were measured using a Fluke 43B Power Quality Analyzer:
• RMS Amplitude
• Real Power
• Reactive Power
• Total Power
• Power Factor
• Harmonic Distortion
• Current Crest Factor
The following load types were connected at the inverter output for these measures:
Results, Rev. 0
Freescale Semiconductor 7-1
Preliminary
7.1.2 Inverter Voltage Harmonics Under No Load Conditions
Results, Rev. 0
Freescale Semiconductor 7-3
Preliminary
7.1.6 Inverter Voltage Harmonics Under Full Load Conditions—Battery
Operated
• RMS Amplitude
• Real Power
• Reactive Power
• Total Power
• Power Factor
• Harmonic Distortion
Loads connected to the PFC for measurements:
Results, Rev. 0
Freescale Semiconductor 7-5
Preliminary
7.2.1 PFC Performance Under Full Load Conditions
Results, Rev. 0
Freescale Semiconductor 7-7
Preliminary
7.3 Frequence Performance
Freerun Output Frequency: 60.0105Hz
Results, Rev. 0
Freescale Semiconductor 7-9
Preliminary
7.5 Bypass Switch Performance
7.5.1 Inverter Bypass Switch Operation
Schematics, Rev. 0
Freescale Semiconductor Appendix A-1
Preliminary
5 4 3 2 1
U1
Appendix A-2
A5 14 A5 PWMA5 70 PWMA5
A6 17 A6/PE2 ISA0/PC8 113 PC8
A7 18 A7/PE3 ISA1/PC9 114 PC9
A8 19 A8/PA0 ISA2/PC10 115 PC10
D A9 20 A9/PA1 FAULTA0 71 FAULTA0 D
A10 21 A10/PA2 FAULTA1 73 FAULTA1
A11 22 A11/PA3 FAULTA2 74 FAULTA2
A12 23 A12/PA4
A13 24 A13/PA5 PHA0/TA0 139 PHASEA0 R60
25 140 FAULTA0
A14 A14/PA6 PHB0/TA1 PHASEB0
A15 26 A15/PA7 INDEX0/TA2/PC6 141 PC6 47K
PB0 33 PB0/A16 HOME0/TA3/PC7 142 PC7
79 REG_EN VREFLO 97
Guadalajara, México.
+52 (33) 3283-0650 FAX: +52 (33) 3283-0651
Freescale Semiconductor
Preliminary
5 4 3 2 1
Preliminary
+3.3V
EXTAL R28
10K +3.3V
R32
D S1 D
Y1 10M 1 3 JG12
/POR 10K
8.00MHz R1 2 4 Jumper
1
Freescale Semiconductor
RESET PD6 2
3 A/M
C46
0.1uF R16
XTAL
10K
+3.3V +3.3V
BOOT MODE JUMPER
EXT BOOT NC +3.3V
INT BOOT R25 R27
1 - 2 10K 10K R18
PUSHBUTTON 1
JG14
10K
JG3 S2 Jumper
C 1 C
2 EXTBOOT 1 3 PC10 PD12 2
1 2 4 3
110/220
R17
OPTION C20
0.1uF
10K
Schematics, Rev. 0
Guadalajara Applications Laboratory
Periferico Sur 7999, Col. Sta Ma Tequepexpan
Guadalajara, México.
+52 (33) 3283-0650 FAX: +52 (33) 3283-0651
A A
Appendix A-3
5 4 3 2 1
Appendix A-4
128Kx16-bit Program Memory (CS0) 128Kx16-bit Data Memory (CS1/CS2)
U2 U3
5 7 A0 5 7 D0
D A0 A0 DQ1 D0 A0 DQ1 D
4 8 A1 4 8 D1
A1 A1 DQ2 D1 A1 DQ2
3 9 A2 3 9 D2
A2 A2 DQ3 D2 A2 DQ3
2 10 A3 2 10 D3
A3 A3 DQ4 D3 A3 DQ4
1 13 A4 1 13 D4
A4 A4 DQ5 D4 A4 DQ5
44 14 A5 44 14 D5
A5 A5 DQ6 D5 A5 DQ6
43 15 A6 43 15 D6
A6 A6 DQ7 D6 A6 DQ7
42 16 A7 42 16 D7
A7 A7 DQ8 D7 A7 DQ8
27 29 A8 27 29 D8
A8 A8 DQ9 D8 +3.3V +3.3V A8 DQ9
26 30 A9 26 30 D9
+3.3V A9 A9 DQ10 D9 A9 DQ10
25 31 A10 25 31 D10
A10 A10 DQ11 D10 A10 DQ11
24 32 A11 24 32 D11
A11 A11 DQ12 D11 A11 DQ12
21 35 A12 21 35 D12
A12 A12 DQ13 D12 R30 R29 A12 DQ13
20 36 A13 20 36 D13
A13 A13 DQ14 D13 10k A13 DQ14
R23 19 37 10k A14 19 37 D14
A14 A14 DQ15 D14 A14 DQ15
10K 18 38 A15 18 38 D15
A15 A15 DQ16 D15 A15 DQ16
A16 22 PB0 22
PB0 A16 A16
VDD 11 +3.3V VDD 11 +3.3V
JG5 41 33 /RD 41 33
/RD OE VDD OE VDD
17 /WR 17
/CS0 1 /WR WE WE
/ECS0 6 JG10 6
2 CE /ECS1 CE
39 LB VSS 12 /CS1 1 2 39 LB VSS 12
C /ECS2 C
40 UB VSS 34 /CS2 3 4 40 UB VSS 34
GS72116TP-12 GS72116TP-12
R37 R38
1K 1K R39
1K
+3.3V
CS1/CS2 ENABLE JUMPER
CS0 ENABLE JUMPER R22
/ECS1
OPTION JG6
OPTION JG5 10K SRAM WORD ENABLE 1-2 3-4
SRAM UPPER BYTE ENABLE NC 3-4
SRAM ENABLE 1-2 R21
/ECS2
SRAM LOWER BYTE ENABLE 1-2 NC
B SRAM DISABLE 10K B
NC SRAM DISABLE NC NC
Freescale Semiconductor
Preliminary
Preliminary
5 4 3 2 1
+5.0V
R90 5Vext
390
D D
U20
Freescale Semiconductor
1 8 R108
3
NC1 VCC 2K C56
TXD0 1 Q3 2 7 0.1uF
BSV52LT1 +VF VE
3.9K R47 3 6
2
-VF VD
4 NC2 GND 5
6N136S
5Vext
U4
28 C1+ VCC 26
5Vext C11
+5.0V 1.0uF C10 5Vext
V- 3
24 C1- 1.0uF
1 /EN R41 1K
R98 C8 C2+ C9
V+ 27
C U21 390 1.0uF 1.0uF C
R107 8 1 2 25 T2IN R42 1K
2K VCC NC1 C2- GND P2
C55 7 2 1 DCD
VE +VF JG11 DSR T3IN R43 1K
0.1uF 6
3
6 3 R46 14 9 2
RXD0 VD -VF 1 2 T1IN T1OUT TXD
Q1 1 T2IN 13 10 7
BSV52LT1 3 4 T3IN T2IN T2OUT 1 T4 CTS R2IN R44 1K
5 GND NC2 4 12 T3IN T3OUT 11 1 T5 3
8 RXD
2
3.9K RTS
T6 1 20 R2OUTB 4
6N136S 19 4 9 DTR R3IN R45 1K
R1OUT R1IN R2IN
T7 1 18 R2OUT R2IN 5 5
17 6 R3IN
T8 1 R3OUT R3IN
16 7 R4IN R4IN R34 1K
T9 1 R4OUT R4IN
5Vext 15 8 R5IN
T10 1 R5OUT R5IN SCI #0
/EN 23 R5IN R35 1K
FORCEON
21
RS-232
R40 INVALID 1 T3
RS-232 SHUTDOWN JUMPER 22 FORCEOFF CONNECTOR
1K
MAX3245EEAI
B RS-232 ENABLE N/C JG7 B
1
RS-232 DISABLE 2
1 - 2
Schematics, Rev. 0
Guadalajara Applications Laboratory
Periferico Sur 7999, Col. Sta Ma Tequepexpan
Guadalajara, México.
A +52 (33) 3283-0650 FAX: +52 (33) 3283-0651 A
Appendix A-5
5 4 3 2 1
Appendix A-6
D D
J12
1 GND
+5.0V 2 VCC
3 VO
PC2 4 RS
R33 5
10K /RW
PC3 6 E
7 D0
8 D1
9
1
D2
10 D3
C PC6 11 D4 C
R110 2 12
PC7 D5
20K 13
PC8 D6
PC9 14 D7
A A
B
3
B
C C
D D
LCD_DISPLAY
B B
Freescale Semiconductor
Preliminary
5 4 3 2 1
J11
1 2
Preliminary
3 4
5 6
7 8
9 10 J5 J14
11 12
13 14 PWMA0 1 2 PWMA1 PWMB0 1 2 PWMB1
D 15 16 PWMA2 3 4 PWMA3 PWMB2 3 4 PWMB3 D
17 18 PWMA4 5 6 PWMA5 PWMB4 5 6 PWMB5
/IRQA 19 20 FAULTA0 7 8 FAULTA1 FAULTB0 7 8 FAULTB1
21 22 FAULTA2 9 10 FAULTB2 9 10 FAULTB3
23 24 PC8 11 12 PC9 11 12
25 26 PC10 13 14 13 14
Freescale Semiconductor
27 28
29 30
PWMA PWMB
RXTXEN 31 32 /RESET
33 34 CESI
MOSI0 35 36 SCLK0
/SS0 37 38 MISO0
+3.3V 39 40
WIRELESS BOARD
J7 J13
C AN0 1 2 AN1 AN8 1 2 AN9 C
AN2 3 4 AN3 AN10 3 4 AN11
AN4 5 6 AN5 AN12 5 6 AN13
AN6 7 8 AN7 R8 R10 AN14 7 8 AN15 R14 R15
9 10 +VREFH 9 10 +VREFH
A/D PORT A 0 Ohm 0 Ohm A/D PORT B 0 Ohm 0 Ohm
C85 C84
J15 0.47uF 0.47uF
J16
1 1
2 2
SHIELDING PIN SHIELDING PIN
J9 J8
J10
PHASEA0 1 2 PHASEB0 PC1 1 2
3 4 R11 R9 PC0 3 4 R13 R12 CAN_TX 1 2
B B
5 6 +3.3V 5 6 +3.3V CAN_RX 3 4
7 8 0 Ohm 0 Ohm 7 8 0 Ohm 0 Ohm
9 10 9 10
CAN
C86 C83
0.47uF 0.47uF
TIMER CHANNEL A SCRs
Schematics, Rev. 0
GATE
J4
1 2 Guadalajara Applications Laboratory
3 4
5 6 Periferico Sur 7999, Col. Sta Ma Tequepexpan
7 8
9 10 Guadalajara, México.
PD10 11 12 PD11
13 14 +52 (33) 3283-0650 FAX: +52 (33) 3283-0651
A A
BYPASS
Title MC56F8346 OUPS CONTROL BOARD
Appendix A-7
5 4 3 2 1
Appendix A-8
D J1 J2 D
A10 1 2 A11 1 2
A9 3 4 /CS1 CLKO 3 4
A8 5 6 A15 5 6
A7 7 8 A14 7 8
9 10 9 10
/WR 11 12 A13 11 12
D0 13 14 A12 13 14
D1 15 16 D8 15 16
D2 17 18 D9 17 18
19 20 SCLK0 19 20
D3 21 22 D10 21 22
D4 23 24 D11 MOSI0 23 24
D5 25 26 D12 MISO0 25 26
D6 27 28 D13 27 28
29 30 /SS0 29 30
D7 31 32 D14 31 32
C C
/CS0 33 34 D15 33 34
A0 35 36 /RD /RESET 35 36
A1 37 38 A6 37 38
39 40 39 40
A2 41 42 A5 41 42
A3 43 44 A4 /IRQB 43 44
/CS3 45 46 /CS2 /IRQA 45 46
+3.3V 47 48 +3.3V 47 48
49 50 49 50
51 51
ADDRESS/DATA PERIPHERAL
91930-21151 91930-21151
B B
Freescale Semiconductor
Preliminary
5 4 3 2 1
Preliminary
+5.0V
+5.0V
R92 CAN_RX
390
D D
C40 0.1uF
Freescale Semiconductor
R48 R95 390
3
3.9K
CAN_TX 1 Q2
BSV52LT1
2
1
2
3
4
8
7
6
5
-VF
U13
+VF
NC1
NC2
VE
VO
6N137S JG2
VCC
GND
BCANH CAN BUS
1 TERMINATION
6N137S 2
VCC
VE
VO
GND
U14
NC1
+VF
-VF
NC2
8
7
6
5
C R109 C
1
2
3
4
120
1/4W
BCANL
5Vext
R93 390 5Vext
R97
C39 0.1uF 390 J6
U16
BCANL 1 2 BCANH
1 TXD RXD 4 3 4
L7
CANH BCANH 5 6
5Vext 3 VCC CANH 7 7 8
CANL BCANL
C34 9 10
2 GND CANL 6
0.1uF
B B
8 Rs Vref 5
PCA82C250
CAN -TRANSCEIVER
Schematics, Rev. 0
Guadalajara Applications Laboratory
Periferico Sur 7999, Col. Sta Ma Tequepexpan
Guadalajara, México.
+52 (33) 3283-0650 FAX: +52 (33) 3283-0651
A A
Title MC56F8346 OUPS CONTROL BOARD
Appendix A-9
5 4 3 2 1
Appendix A-10
Parallel JTAG Interface
D D
PORT_IDENT
R31
P1 +3.3V
10k
1
14 U11 R3 0 Ohm U10 R58
2 PORT_RESET 2 18 2 18 P_RESET TDO
1A1 1Y1 PORT_RESET 1A1 1A1 1Y1
15 R4 0 Ohm 47K
3 PORT_TMS 4 16 4 16 TMS
1A2 1Y2 PORT_TMS 1A2 1A2 1Y2
16 R5 0 Ohm R57
4 PORT_TCK 6 14 6 14 TCK PWR
1A3 1Y3 PORT_TCK 1A3 1A3 1Y3
17 R6 0 Ohm 47K
5 PORT_TDI 8 12 8 12 TDI
1A4 1Y4 PORT_TDI 1A4 1A4 1Y4
18 R7 0 Ohm R56
6 /PORT_TRST 11 9 11 9 /J_TRST /DE
2A1 2Y1 /PORT_TRST 2A1 2A1 2Y1
19 R52 47K
7 PORT_DE 13 7 7 13 P_DE
2A2 2Y2 1 T2 T1 1 2Y2 2A2
20 5.1K R59
8 15 5 15 TDO TMS
2A3 PORT_TDO 2Y3 2Y3 2A3
21 47K
9 PORT_VCC 20 17 3 17 PWR
5Vext VCC 2A4 PORT_CONNECT 2Y4 2Y4 2A4
C 22 C
10 +3.3V
23 R105 1G 1
11 PORT_TDO 5 20
2Y3 VCC R55
24 19 1 /J_TRST
51 Ohm 2G 1G
12 19 2G GND 10
25 47K
PORT_CONNECT R104
R53 R49
2
1
13 3 2Y4 GND 10 JG9 R51
5.1K 5.1K MC74LCX244DW P_DE
51 Ohm
MC74HC244DW R50
5.1K
5.1K
On-Board
Host Target Interface
Disable
U9A U9B
P_RESET 1 4
3 6 J3
/RESET
B 2 5 /DE /J_TRST B
/POR 13 14
+3.3V P_RESET 11 12
74AC00 74AC00 TMS
9 10
7 8 KEY
U9C U9D
TCK 5 6
9 12 TDO 3 4
8 11 /TRST TDI 1 2
/J_TRST 10 13
JTAG Connector
74AC00 74AC00
U9 CAPACITORS
+3.3V /POR
Freescale Semiconductor
Preliminary
Preliminary
5 4 3 2 1
Freescale Semiconductor
D
+5.0V +5.0V +5.0V D
C C
5Vext
B B
R82 R91
C53 390 390
U19
0.1uF
8 VCC +VF1 1 +5.0V
390 R99
PORT_CONNECT 7 VO1 -VF1 2 2Y4
Schematics, Rev. 0
390 R100
PORT_TDO 6 VO2 -VF2 3 2Y3
5 GND +VF2 4 +5.0V Guadalajara Applications Laboratory
Periferico Sur 7999, Col. Sta Ma Tequepexpan
HCPL-2631S
Guadalajara, México.
+52 (33) 3283-0650 FAX: +52 (33) 3283-0651
A A
Appendix A-11
5 4 3 2 1
Appendix A-12
560 560 560
C75 C76 C69
D 0.0022uF 0.0022uF 0.0022uF D
R74
R69 AN11 ANB3
AN4 ANA4 560
560
NOTE: Use a single trace
C68 for GNDA signals to the
C80 0.0022uF
0.0022uF
common GNDA point.
B B
R67
AN5 ANA5
560
C73
0.0022uF
Rev.
Size Document OUPS_CONTROL_BOARD_SCH_REV1_2.DSN
Custom 1.2
Date: May 04, 2005 Designer: Diego Garay Sheet 11 of 13
5 4 3 2 1
Freescale Semiconductor
Preliminary
5 4 3 2 1
Preliminary
EXTERNAL POWER D5
SUPPLY INPUT 2 1
UNREGULATED POWER INPUT
S1ABDICT-ND
7-12Vext DC +12Vext
7-12V DC/AC +12V
U5 5Vext
U6 LM2575S-5.0 P4 D2
D P3 D1 D
2 1 1 2 3 VIN VOUT 2
2 1 1 2 1 4 +5.0V L6
VIN FB + C2 C33
6 1 4
3
+ C1 TAP S1ABDICT-ND GND VOUT
C22 3 L1 470uF 0.1uF
3
S1ABDICT-ND GND FERRITE BEAD +
470uF 0.1uF 5 2 16VDC C6
16VDC ON/OFF OUT MC33269DT-5.0 C17 47uF
PM5022 330uF 2.2uF TANT 10VDC
Freescale Semiconductor
D6 + C7 10VDC
330uF C54
10BQ060
10VDC 0.1uF
Diode schottky
D3 D4
2 1 2 1
DNP DNP
S1ABDICT-ND S1ABDICT-ND
R106
C U8 U7 C
+VREFH
VCC
10 DNP
+5.0V 3 VIN VOUT 2 +5.0V 3 VIN VOUT 2
L2 L3
1 GND VOUT 4 +3.3V 1 GND VOUT 4 +3.3VA
FERRITE BEAD + FERRITE BEAD GROUNDext +5.0Vext
C3
MC33269DT-3.3 C16 47uF MC33269DT-3.3 C18 C23 + C4 TEST POINT TEST POINT
2.2uF TANT 10VDC 2.2uF TANT 0.1uF 47uF
10VDC 10VDC L4 10VDC JG6 NOTE: Remove 0 OHM TP9 TP8
1
1
R2
0 Ohm
5Vext
Single trace
to GNDA.
+5.0V 5Vext
L5 U15
B B
1 R103 R102
+3.3V +3.3V_PLL +3.3VA VIN +3.0V
5 270 270
FERRITE BEAD VOUT +VREFH POWER GOOD LED POWER GOOD LED
3 EN
NR 4 POWER SUPPLY +5.0V POWER SUPPLY 5Vext
+ C5 C24 2 + C81
1
1
Schematics, Rev. 0
2
2
1
1
1
1
1
1
1
Appendix A-13
5 4 3 2 1
U1
MC56F8346
+3.3V +3.3VA
Appendix A-14
D D
U2 U3 U4 U9 U10 U11
GS72116 GS72116 MAX3245 74AC00 74LCX244 74HC244
J1 J7 J23 J13
PERIPHERAL CONNECTOR A/D A CONNECTOR LCD_DISPLAY A/D B CONNECTOR
Freescale Semiconductor
Preliminary
Preliminary
8 7 6 5 4 3 2 1
POWER SUPPLIES SAMPLING SIGNALS RECT. SAMPLING SIGNALS PUSH PULL SAMPLING SIGNALS B.CHARGER SAMPLING SIGNALS INVERTER
Freescale Semiconductor
CMPI CMPI Vi Vi +VBAT +VBAT ANA5 ANA5 Vo Vo
3.3V 3.3V OUT1 OUT1 ANA3 ANA3 ANA6 ANA6 ANB0 ANB0 ANA1 ANA1
Ii+ Ii+ +VDC +VDC -VBAT -VBAT Io+ Io+
VA VA OUT2 OUT2 -RSC -RSC SIC SIC ANA7 ANA7
VB VB FPP FPP ICo+ ICo+
PSUP10 SSRECT10 SSPP10 SSCHRG10 SSINV10
J25
+BAT R211
R210 +VDC
1
+VDC
R209 R212
+VBAT
C120 330K 330K
0VMPS 0VICS 0.47uF/630V 0VIIS
Io+
2
J24 MUR4100E Q1 Q3
J23 C127 0.1uF/50V
3
2
1
L5 0.47uF/630V MUR4100E MUR460
1
1
Vi Q8 T2
-
10000uF/35V D72
+
J22
M
Vo
J19 D7A D8A 1
1
2
3
1 C18 C16
-
R263
+
3
M
2 40MT120UH
C12 6K8
3 R23 1 1
0.47uF/630V D9A
U4 470uF/35V INVERTER L
2
Vi LA55PV1 PUSHPULL L D10A
R206 C129 U3 C137
0VSI R24
1500uF/250V MUR4100E 0.01 1% IRC 0VPS LA55PV1
0.1 1% IRC
N R205 1500uF/250V MUR4100E IRF2807 1 IRG4PH40UD 20uF/330V
330K R208 PPS C128
A.2 Power Board Schematics
3
Q7
330K 330K 330K D9 PUSHPULL T MUR1100E Q6
0VIRI MUR4100E 1500uF/250V
R207
GSI 0.01uF/1000V Q2
MUR4100E MUR4100E
GIRI C136 -RSC
B J26 0VIII B
EVM INTERFACE -VDC GMPI 0VICI
-BAT
0.01uF/1000V R214 R215
PWMA0
1
ANA0 ANA0 PWMA0 -VDC
ANA1 ANA1 PWMA1 PWMA1 GICI
ANA2 ANA2 PWMA2 PWMA2
R213 R216
ANA3 ANA3 PWMA3 PWMA3 GIII
PWMA4 -VBAT 330K
ANA4 ANA4 PWMA4 330K
ANA5 ANA5 PWMA5 PWMA5
ANA6 ANA6 TA0 TA0
330K
ANA7 ANA7 TA1 TA1 DRIVERS RECTIFIER DRIVERS PUSH PULL DRIVERS BATT. CHARGER DRIVERS INVERTER
ANB0 ANB0 +VREFH +VREFH 330K
Schematics, Rev. 0
VRHD VRHD 3.3V 3.3V
BP1 BP1 GPIOC0 GPIOC0 GIRS GIRS FPP FPP
FAULTA0 FAULTA0 GPIOC0 GPIOC0 GMPS GMPS GICS GICS GIIS GIIS
FAULTA1 FAULTA1 GIRI GIRI
PWMA4 PWMA4 PWMA2 PWMA2 TA0 TA0 PWMA0 PWMA0
EVMINT10
PWMA5 PWMA5 GSS GSS PWMA3 PWMA3 GMPI GMPI SIC SIC GICI GICI PWMA1 PWMA1 GIII GIII
GSI GSI
BYPASS
DRVRECT10 DRVPP10 DRVCHR10 DRVINV10
A
Vi Vi A
Vo Vo ICo+ ICo+
FREESCALE
+VBAT +VBAT
VRHD VRHD ONLINE UPS MC56F8346
BP1 BP1
Title
BYPASS00 GENERAL
Appendix A-15
8 7 6 5 4 3 2 1
Appendix A-16
VRH
VRH
VB
VB
D D
VRH
VA VB
VA
R33
2K87 1% D38
R30 R31 LM6144AIN 1N4004
10 U11C R38
Vi +
13.3K 1% 8 ANA2
205K 1% C54 9
R32 - 100
NC D39 C56
2K87 1%
1N4004
NEAR J12 NC
R238 R34
VA NEAR J12
C C
VRH
NEAR J12 VB
R49 R229
2K87 1% D40
1N4004
R48 2K87 1% U11D
Ii+ 12 R43
Ii+ +
3.01K 1% 14 ANA3
Ii- 13
- C61 100
R47
C60
FROM U4 3.01K 1% LM6144AIN 1N4004 D41 NC
NC
R46
VA
1K43 1% NEAR J12
VRHD
R158
10K
R162 820K
22K 22K
22K
11
R155 U11B
6
- R154
7 4 U12A R194
22K + +
5 12 FAULTA1
1K C114 5
- LM319 0
LM6144AIN
6
3
D68 D69
11
R152 U11A
2
-
1N4004 0.01uF/50V +5V
1
22K 3
+ 1N4004 +5V CD9
R234 R160
LM6144AIN
VRH
4
470
R235 CCW P1
2K87 1% C132 0.1uF/50V
C115 1K/25V
+5V
+5V
CD11 0.1uF/50V
R161
Title
SAMPLIG SIGNALS - RECTIFIER
Freescale Semiconductor
Preliminary
8 7 6 5 4 3 2 1
Preliminary
D D
Freescale Semiconductor
VRH 0.01uF/50V
VRH
C156
VB
VB
R64
C VA 2.74K 1% VB C
VA
D42
R62 1N4004
R60 R61 U5B
6
- R68
+VDC ANA6
412K 1% 7 ANA6
191K 1% 6.81K 1% +
5 D43
0VICI R65 R66 R67 100
-VDC LM6144AIN C62
1N4004 0.47uF/50V
412K 1% 191K 1% 6.81K 1%
R63 C155
0.01uF/50V VA NEAR J12
2.74K 1%
VRH
B B
Schematics, Rev. 0
FREESCALE
Title
SAMPLING SIGNALS - PUSHPULL
Appendix A-17
8 7 6 5 4 3 2 1
Appendix A-18
+5V
VB
VB
CD3
VA +5V VB
VA
0.1uF/50V
D62
4
0.01uF/50V LM6144AIN 1N4004
R133
3 U5A R136
D +VBAT + D
1 ANA4
21K 1% C157
2
R134 - 100
1K87 1% D63
11
1N4004 C106
NEAR J12 0.47uF/50V
R135 R132
VA NEAR J12
-VBAT
21K 1% 1K87 1%
C158
0.01uF/50V
NEAR J12 VB
R142
R151 110K 1%
D64
U5D
+RSP 12 R145 11K 1% 1N4004
+ U5C
14 10 R147
11K 1% +
13 R146 8 ANA5
FROM R23 - 1K 1% C110 9 100
-
LM6144AIN C109 C111
C D65 C
R143 LM6144AIN 1N4004 NC
R141 0.1uF/50V
-RSC
0.01uF/50V
11K 1% 110K 1% VA
NEAR J12
R201 -VCC
8
6
11
U24A 0.1uF/50V
U24B 150 1%
R202 -
10 +5V 4
+ R195
SIC 7 12 FPP
+ R203
9 5 LM319
0 - 0
LM319 3K9 1%
6
3
11
C126 +5V
R183
R204 0.47uF/50V
0
+VCC -VCC
CCW P3
B 150 1% B
1K/25V
C119
0.1uF/50V R185
470
+5V
NEAR J12 VB
R243
330 R241
J31 274K 1% D82
Vs R239 1N4004
1 U25B
Vo T+ 5 R244
G 2 +
3 7 ANB0
T- 110K 1% 6
- 100
BAT. TEMP. SENSOR D89 R240 D83 C138
1N4004 110K 1% LM6144AIN 1N4004 NC
R242
NEAR J12
VA
A D90 274K 1% A
1N4004 FREESCALE
Freescale Semiconductor
Preliminary
8 7 6 5 4 3 2 1
Preliminary
LCD VOLTAGE SELECTOR
POS JP1
1-2 120V
D D
J10 J11 2-3 220V
PWMA0 1 2 PWMA1 1 2
PWMA2 3 4 PWMA3 VRHD 3 4
PWMA5
Freescale Semiconductor
PWMA4 5 6 5 6 INPUT LINE SENSING
3
1
FAULTA0 7 8 FAULTA1 7 8 POS JP2
9 10 BP1 BP1 9 10 BP2 1-2 AUTO
11 12 120/220 11 12 2-3 MAN
2
13 14 13 14 EVM
JP1
PWMA R252 C142 BYPASS
10K 0.1uF/50V MANUAL FREQUENCY SELECTOR
POS JP3
1-2 50HZ
2-3 60HZ
J12 EVM
ANA0 1 2 ANA1
C R228 R227 J30 C
ANA2 3 4 ANA3
ANA4 5 6 ANA5 2 INV. ON
ANA6 7 8 ANA7 1
+VREFH 1K 100
9 10
J15
CD15 GPIOC1
A/D PORT A 0.1uF/50V 1 2
GPIOC0 3 4
5 6 3.3V
TP26
3
1
1
3
9 10
B B
J17
A/D PORT B A/M 50/60
2
2
1 2
JP2 3 4 JP3
R254
Schematics, Rev. 0
R253 5 6 10K
10K C144
A/M - 50/60
J18 C143
TA1 0.1uF/50V 0.1uF/50V
TA0 1 2
3 4
5 6
TIMER CHANNEL A
FREESCALE
Title
HEADERS
Appendix A-19
8 7 6 5 4 3 2 1
Appendix A-20
D D
+VCC
R101 +VMPS
1K2
0.1uF/50V
U17
TP19 R225 1 8 C79
NC V+
2 7 R104
A GND
PWMA2 3 K 02 6 GMPS
10K 4 NC O1 5
39 R105
HP3101 10K
0VMPS
-VMPS
R102
C 330 C
TP20
FPP
+VCC
R103 +VMPI
1K2
0.1uF/50V
U18
B B
TP18 R226 1 8 C80
NC V+
2 7 R109
A GND
PWMA3 3 K 02 6 GMPI
10K 4 NC O1 5
39 R110
HP3101 10K
-VMPI
R200
330
FREESCALE
Title
DRIVERS PUSHPULL
Freescale Semiconductor
Preliminary
8 7 6 5 4 3 2 1
+VCC
Preliminary
+VIRS
R73
1K2
D 0.1uF/50V D
TP16 U13
R71 1 8
NC V+ C69
2 7 R74
A GND
PWMA4 3 K 02 6 GIRS
10K 4 5
Freescale Semiconductor
NC O1 R75
39
R72 HP3101 10K
330
-VIRS
0VIRS
+VCC
+VIRI
C R78 C
1K2
0.1uF/50V
TP17 U14
R76 1 8 C70
NC V+
2 7 R79
A GND
PWMA5 3 K 02 6 GIRI
10K 4 5
NC O1 R80
39
R77 HP3101 10K
330 0VIRI
-VIRI
B B
DRIVERS SCR'S
Schematics, Rev. 0
GSS GSS
GPIOC0 GPIOC0
GSI GSI
DRVSCR00
FREESCALE
Title
DRIVERS RECTIFIER
Appendix A-21
8 7 6 5 4 3 2 1
Appendix A-22
+VSS R81 R83
D D
22
+VCC 560
D49 D50 Q19
2N2907
R93
Q20
1K 1N4004 1N4004
R85 TIP41C
820 R84
U16 330
R94 R95
1 AN BA 6
1K8 2 5 GSS
KA CO
3 NC EM 4 R86
15K C77 R82
4N35A 220K 1K
0VSS
C C
0.47uF/50V
22
560
D51 D52 Q21
2N2907
Q22
1N4004 1N4004
+VCC +VCC +VCC R91 TIP41C
820 R90
R96 U15 330
R219 R97 1 6
AN BA
R217 18K 2 5 GSI
B Q49 KA CO B
47K 15K 3 4
2N2222 15K NC EM R92 R88
C78
4N35A 220K 1K
R98
Q23 0VSI
GPIOC0 2N2222
10K
0.47uF/50V
R218 R99
6K8 1K8
FREESCALE
Title
DRIVERS SCR'S
Freescale Semiconductor
Preliminary
8 7 6 5 4 3 2 1
Preliminary
+VSS R81 R83
D D
22
+VCC 560
D49 D50 Q19
Freescale Semiconductor
2N2907
R93
Q20
1K 1N4004 1N4004
R85 TIP41C
820 R84
U16 330
R94 R95
1 AN BA 6
1K8 2 5 GSS
KA CO
3 NC EM 4 R86
15K C77 R82
4N35A 220K 1K
0VSS
C C
0.47uF/50V
22
560
D51 D52 Q21
2N2907
Q22
1N4004 1N4004
+VCC +VCC +VCC R91 TIP41C
820 R90
R96 U15 330
R219 R97 1 6
AN BA
R217 18K 2 5 GSI
B Q49 KA CO B
47K 15K 3 4
2N2222 15K NC EM R92 R88
C78
4N35A 220K 1K
R98
Q23 0VSI
GPIOC0
Schematics, Rev. 0
2N2222
10K
0.47uF/50V
R218 R99
6K8 1K8
FREESCALE
Title
DRIVERS SCR'S
Appendix A-23
8 7 6 5 4 3 2 1
Appendix A-24
D D
+VCC
+VIIS
R122
1K2
0.1uF/50V
TP22 U21
R120 1 8 C95
NC V+
2 7 R123
A GND
PWMA0 3 K 02 6 GIIS
10K 4 5
NC O1 R124
39
R121 HP3101 10K
330 0VIIS
-VIIS
C C
+VCC
+VIII
R127
1K2
TP21 0.1uF/50V
U22
R125 1 8 C96
NC V+
2 7 R128
A GND
PWMA1 3 K 02 6 GIII
10K 4 5
NC O1 R129
39
B 10K B
R126 HP3101
330 0VIII
-VIII
Title
DRIVERS INVERTER
Freescale Semiconductor
Preliminary
8 7 6 5 4 3 2 1
Preliminary
+VICS
D D
+VCC 0.1uF/50V
U19
1 8 C87
NC V+
Freescale Semiconductor
R189 2 7 R114
A GND
3 K 02 6 GICS
4 NC O1 5
15K 39 R115
HP3101 10K
0VICS
-VICS
C C
R271
820
+VICI
0.1uF/50V
U20
TP24 15K 1 8 C88
NC V+
R188 2 7 R116
A GND
SIC 3 K 02 6 GICI
B
4 NC O1 5 B
+VCC +VCC 39 R117
HP3101 10K
R224 R113 0VICI
47K 18K -VICI
TP23 Q32
Schematics, Rev. 0
R111
Q48
TA0 2N2222
10K R118
R112 2N2222 1K8
6K8
FREESCALE
Title
DRIVERS BATTERY CHARGER
Appendix A-25
8 7 6 5 4 3 2 1
Appendix A-26
CONTROL POWER SUPPLIES GATE DRIVERS POWER SUPPLIES
D D
VDCR VDCR
OUT1 OUT1
OUT2 OUT2
OUT2 OUT2
PSCG00 PSDR00
C C
B VB VB B
+VBAT +VBAT
RSGN10
PSDRPP00
FREESCALE
Title
POWER SUPPLIES
Freescale Semiconductor
Preliminary
8 7 6 5 4 3 2 1
+5V
TP6
Preliminary
R25
+5V 3K3
VRH
D VB D
R223 R175
2K7 0
+5V
Freescale Semiconductor
11
LM6144AIN
2 U2A
-
CD13
U2B - Q9
6 1
R27 R231 7 3
+ 2N2907
+
+VREFH 5 LM6144AIN
D37 0.1uF/50V
4
100 100 1N4004 +5V
C52
0.1uF/50V
C53 R26
10uF/16V R29 68
C 1K8 C
VA
U2D
-
13
14 Q10
12
+ 2N2222
D36 LM6144AIN
1N4004
+5V
+5V
R193
0
B B
R232 R233
U2C
3.3V 10
+ Q46
8
100 100 2N2222
Schematics, Rev. 0
9
- LM6144AIN TP5
C131
VRHD
10uF/25V R192
TP7 1K
FREESCALE
Title
REFERENCE SIGNALS
Appendix A-27
8 7 6 5 4 3 2 1
+VCC +VCC
+VCC
C160 C161
D93
Appendix A-28
10uF/25V 0.1uF/50V R267 T12 J32
2K7 C154 CONTROL BOARD
0VPS 0VPS 2 JTAG
MUR110
D 1 D
OPTOCOUPLERS
R270 D92 D91 POWER SUPPLY
1N4746A
R269 10uF/16V
R268
4K7 6K8 Q52 Q51 MUR110
2N2907 TIP31C
INPUT LINE VOLTAGE SELECTOR 680
POS JP4 R266
1-2 120V R273 1K8
2-3 220V
Q53
2N2222 0VPS
18K
D75
R274
VDCR 2K2 J28
MUR110
C122 1 CONTROL BOARD
D29
TP1 1000uF/25V 2 POWER SUPPLY
C C
+VBAT J29 0VPS TP2
1N4004 +VCC' D76
1
2
F1 L2
1
3
RL204-T U23
1
2
D66 1N4736
D30 D77 1A PON MUR1620CTR R148
VI
VO
RL204-T 11K 1%
C112
2
J27 1000uF/25V 4
C20 F
1 1
18VAC 2
2 JP4 C19 C36
3 R149
G
/ON
D32 D78
3
5
C113 TP3 1K 1%
RL204-T 1000uF/25V
+VCC -VCC
B B
RL204-T 3300uF/50V 330uF/50V 0.1uF/50V
0VPS R197 R198
LM2576T-ADJ 2K7 2K7
L4 U26
T11 +VCC' +VCC LM7805 +5V
1000uF/25V D73 D74
OUT1 1 VI VO 3
7uH/5A
GND
C35 C124
C125 1000uF/25V C150
2
MUR110 10uF/16V
D22
Title
CONTROL POWER SUPPLIES
Freescale Semiconductor
Preliminary
8 7 6 5 4 3 2 1
SCR'S GATE DRIVERS RECTIFIER GATE DRIVERS BATTERY CHARGER GATE DRIVERS INVERTER GATE DRIVERS
MUR110 MUR110
MUR110 MUR110
Preliminary
T3 D14 +VSS D28 +VIRS D16 +VICS D23 +VIIS
OUT1 OUT1 T4 OUT1 T5 OUT1 T6
Freescale Semiconductor
0VSS C23 C25 C27
0VIRS
0.47uF/50V 0.47uF/50V
D27 R176 0.47uF/50V D17 R178 D24 R180
B OUT2 B
C51
0.01uF/50V
C50
L3 0.01uF/50V
Schematics, Rev. 0
+VCC' +VCC1
0.1uF/50V CERAMIC
C123 U6
4
2
3
1
8
7uH/5A L6203
C121
B1
B2
O1
O2
VS
1000uF/25V
0VPS 0VPS 9 VR
R150
TA1 11 EN I2 7
+VCC1 R221
100 5 I1 FREESCALE
R220
10K 2K7 S
GND
R222
A ONLINE UPS MC56F8346 A
1K
6
10
0VPS Title
0VPS GATE DRIVERS POWER SUPPLIES
0VPS
C49 0.22uF/50V Size Document Number Rev
A OUPSPB V0 R1 0.1
0VPS
Date: May 04, 2005 Sheet 14 of 17
8 7 6 5 4 3 2 1
Appendix A-29
8 7 6 5 4 3 2 1
Appendix A-30
PUSH PULL GATE DRIVERS
D D
U7 U8
LM78L15 +VMPS LM78L15 +VMPI
CMPI 1 VI VO 3 +VBAT 1 VI VO 3
GND
GND
C40
2
2
1uF/50V
0VMPS
C C
U10 0VMPS U9
0VPS D34 LM79L12 -VMPS D35 LM79L12 -VMPI
2 VI VO 3 2 VI VO 3
GND
GND
1
1
1N5819 0.47uF/50V
B B
0VPS
N AGND
FREESCALE
Title
PUSH PULL GATE DRIVERS POWER SUPPLIES
Freescale Semiconductor
Preliminary
8 7 6 5 4 3 2 1
Preliminary
D +VBAT D
0.1uF/50V
0.1uF/50V
-VCC +VCC
C152 C153
ICo-
C147 R265
Freescale Semiconductor
0.22uF/400V 68
R255
100/5W ICo+
3
2
1
K1 VLOAD
+
RELAY RY610012 J34 M J35 J20
Vo
1 1 1
Vi R262 2
R257
R256 100/5W 3 Vout
100/5W 680/1W D86 U27 VO 4
1N4751 LA55PV1 5
C C
30V 6
220uF/50V C145
C146 C149 0.22uF/400V
0.22uF/400V D87
1N4751
30V
D88
VRHD 1N4004
R258
22K
U25C
TP25 9
- R260
8 Q50
10
+ TIP31C
BP1
2K2
B R264 B
U25D
10K LM6144AIN R261 -
3K3 13
C151 R259 14
22K 12
+
LM6144AIN
Schematics, Rev. 0
0.1uF/50V 0.1uF/50V
C148
FREESCALE
Title
BYPASS
Appendix A-31
8 7 6 5 4 3 2 1
VRH
Appendix A-32
VRH
VB
VB
VRH
VB
VA
VA R20 D1
2K87 1% LM6144AIN 1N4004
R10 R6
D U1C D
10 R7
Vo +
8 ANA0
205K 1% 13.3K 1% C1 9
- 100 D2
R5
NC C4
2K87 1%
1N4004 0.1uF/50V CERAMIC
NEAR J12
R251 R2
VA NEAR J12
1K43 1%
205K 1% 13.3K 1%
R1 +5V
VRH
2K87 1% +5V C141 VB
0.1uF/50V
NEAR J12 R247 R248
2K87 1% LM6144AIN D84
4
1N4004
R245 U25A
3 R250
ICo+ +
1 ANA7
ICo- 3K01 1%
2
- 100 D85
R246 C140 C139
C 3K01 1% C
11
FROM U27 NC 1N4004 NC
1K43 1%
VRH
2K87 1% VB
820K
R164 +5V
R167
22K 22K
11
11
U1A LM6144AIN
R163
2
- 1N4004
4
2K87 1% R237 +5V R171 FREESCALE
CD1
0.1uF/50V 470 ONLINE UPS D MC56F8346
C133 CCW P2
0.1uF/50V C118 1K/25V Title
SAMPLING SIGNALS - INVERTER
2K87 1%
R172 Size Document Number Rev
0.1uF/50V B OUPSPB V0 R1 0.1
470
Date: May 04, 2005 Sheet 17 of 17
8 7 6 5 4 3 2 1
Freescale Semiconductor
Preliminary
Appendix B Bill of Materials
Item Quantity Reference Part Part Number Distributor
2 36 CD1, CD3, CD5, CD9, C9, C10, CD11, Poliester P4593-ND Digi-key
C11, CD13, C13, CD15, CD16, C36, Capacitor
C52, C69, C70, C79, C80, C87, C88, 0.1uF/50V
C95, C96, C109, C115, C118, C119,
C133, C132, C141, C142, C143,
C144, C148, C151, C152, C153
9 22 C21, C22, C23, C24, C25, C26, C27, Poliester P4735-ND Digi-key
C28, C29, C30, C31, C32, C33, C34, Capacitor
C35, C45, C48, C62, C77, C78, C106, 0.47uF/50V
C126
22 32 D1, D2, D3, D4, D29, D36, D37, D38, Diode 1N4004 1N4004GITR-ND Digi-key
D39, D40, D41, D42, D43, D49, D50,
D51, D52, D62, D63, D64, D65, D68,
D69, D70, D71, D82, D83, D84, D85,
D88, D89, D90
26 21 D14, D15, D16, D17, D18, D19, D20, Ultrafast 08F2025 Newark
D21, D22, D23, D24, D25, D26, D27, Recovery Diode Electronics
D28, D34, D35, D72, D75, D91, D93 MUR110
57 8 R82, R88, R93, R154, R169, R192, Resistor 1/4W 1K 291-1k Mouser
R222, R228 Electronics
68 14 R5, R11, R20, R32, R33, R49, R229, Resistor 1/4W 271-2,87k Mouser
R230, R234, R235, R236, R237, 2,87K 1% Electronics
R247, R248
69 16 R7, R17, R27, R38, R43, R68, R136, Resistor 1/4W 291-100 Mouser
R147, R150, R168, R227, R231, 100 Electronics
R232, R233, R244, R250
82 23 R71, R75, R76, R80, R98, R105, Resistor 1/4W 291-10K Mouser
R110, R111, R115, R117, R120, 10K Electronics
R124, R125, R129, R158, R173,
R220, R225, R226, R252, R253,
R254, R264
83 9 R72, R77, R84, R90, R102, R121, Resistor 1/4W 291-330 Mouser
R126, R200, R243 330 Electronics
84 6 R73, R78, R101, R103, R122, R127 Resistor 1/4W 291-1,2k Mouser
1K2 Electronics
85 8 R74, R79, R104, R109, R114, R116, Resistor 1/4W 39 291-39 Mouser
R123, R128 Electronics
100 5 R160, R161, R171, R172, R185 Resistor 1/4W 291-470 Mouser
470 Electronics
102 7 R175, R183, R193, R194, R195, Resistor 0 ohms 291-0 Mouser
R196, R202 Electronics
103 6 R176, R177, R178, R179, R180, R181 Resistor 1/2W 39 293-39 Mouser
Electronics
104 5 R197, R198, R221, R223, R267 Resistor 1/4W 291-2.7K Mouser
2K7 Electronics
107 12 R205, R206, R207, R208, R209, Resistor 1/4W 291-330k Mouser
R210, R211, R212, R213, R214, 330K Electronics
R215, R216
116 25 TP1, TP2, TP3, TP4, TP5, TP6, TP7, Testpoint 534-1040 Mouser
TP8, TP9, TP10, TP11, TP12, TP13, Electronics
TP14, TP15, TP16, TP17, TP18,
TP19, TP20, TP21, TP22, TP23,
TP24, TP25
119 9 T3, T4, T5, T6, T7, T8, T9, T10, T11 TRANSF_DRIVE Custom made. See UyG
RS_OUDEVM the ferromagnetic
component section.
127 8 U13, U14, U17, U18, U19, U20, U21, I.C. HCPL-3101 06F5465 Newark
U22 Electronics
Primary Winding:
Lp =12 mH.
Secondary Winding:
Spire count: 13
Auxiliary winding
Spire count: 13
lgap = 0,3 mm/leg
Primary Winding 1
Spire Count: 6
Primary Winding 2
Spire Count: 6
Secondary Winding 1
Spire count: 84
Secondary Winding 2
Spire count: 84
lgap = 0,07 mm/leg
L1 = 2 mH.
L2 = 2 mH.
L1 = 150 µH.
Spire count: 42
L2 = 62 µH.
B.1.7 Transformers for the Power Supplies (T3, T4, T5, T6, T7, T8, T9, T10)
Primary Winding :
Spire Count: 12
Secondary Winding:
Primary Winding
Spire count: 12
Secondary Winding
Primary Winding
Spire count: 33
Secondary Winding
I T
IIR Preface-xiii TCB Preface-xiii
Infinite Impulse Response Transmission Control Block
IIR Preface-xiii TCB Preface-xiii
M U
M & C 1-3 UDP Preface-xiii
Monitor and Control 5-2 Uninterruptible Power Source
Monitoring and Control UPS 1-1
M & C 1-3 Uninterruptible Power Supply
UPS Preface-xiii
O UPS Preface-xiii, 1-1
User Datagram Protocol
Online Uninterruptible Power Supply UDP Preface-xiii
OUPS Preface-xiii
Online UPS
OUPS 1-1
OUPS Preface-xiii, 1-1
P
PFC Preface-xiii
Phase Locked Loop
PLL Preface-xiii
PI Preface-xiii, 2-1
PID Preface-xiii, 2-1
Index
Freescale Semiconductor i
Preliminary
How to Reach Us:
Home Page:
www.freescale.com
E-mail:
support@freescale.com
Japan:
Freescale Semiconductor Japan Ltd.
Headquarters
ARCO Tower 15F
1-8-1, Shimo-Meguro, Meguro-ku,
Tokyo 153-0064, Japan Information in this document is provided solely to enable system and
0120 191014 or +81 3 5437 9125 software implementers to use Freescale Semiconductor products. There are
support.japan@freescale.com no express or implied copyright licenses granted hereunder to design or
fabricate any integrated circuits or integrated circuits based on the
information in this document.
Asia/Pacific:
Freescale Semiconductor Hong Kong Ltd.
Technical Information Center Freescale Semiconductor reserves the right to make changes without further
notice to any products herein. Freescale Semiconductor makes no warranty,
2 Dai King Street
representation or guarantee regarding the suitability of its products for any
Tai Po Industrial Estate particular purpose, nor does Freescale Semiconductor assume any liability
Tai Po, N.T., Hong Kong arising out of the application or use of any product or circuit, and specifically
+800 2666 8080 disclaims any and all liability, including without limitation consequential or
support.asia@freescale.com incidental damages. “Typical” parameters that may be provided in Freescale
Semiconductor data sheets and/or specifications can and do vary in different
For Literature Requests Only: applications and actual performance may vary over time. All operating
Freescale Semiconductor Literature Distribution Center parameters, including “Typicals”, must be validated for each customer
application by customer’s technical experts. Freescale Semiconductor does
P.O. Box 5405
not convey any license under its patent rights nor the rights of others.
Denver, Colorado 80217 Freescale Semiconductor products are not designed, intended, or authorized
1-800-441-2447 or 303-675-2140 for use as components in systems intended for surgical implant into the body,
Fax: 303-675-2150 or other applications intended to support or sustain life, or for any other
LDCForFreescaleSemiconductor@hibbertgroup.com application in which the failure of the Freescale Semiconductor product could
create a situation where personal injury or death may occur. Should Buyer
purchase or use Freescale Semiconductor products for any such unintended
or unauthorized application, Buyer shall indemnify and hold Freescale
Semiconductor and its officers, employees, subsidiaries, affiliates, and
distributors harmless against all claims, costs, damages, and expenses, and
reasonable attorney fees arising out of, directly or indirectly, any claim of
personal injury or death associated with such unintended or unauthorized
use, even if such claim alleges that Freescale Semiconductor was negligent
regarding the design or manufacture of the part.
DRM069
Rev. 0
06/2005