abstract: this application note discusses how to connect various dallas semiconductor t1/e1/j1 single-chip transceivers (scts) or line interface units (lius) for 1+1 redundancy. it contains a simple hardware design without relays and software register settings for specific devices. a designer can use these drawings to implement an operational system quickly.
overviewhitless protection describes the ability to switch between the primary and backup line card without losing framing synchronization when a primary line-card failure occurs. this feature ensures that telecommunications equipment will provide uninterrupted or continuous service and maintain an extremely high-reliability rating.
figure 1. an example of typical connections for a system that provides hitless protection and eliminates the need for bulky mechanical relays.
one-to-one (1 + 1) redundancy refers to a configuration where each line card has a dedicated backup card waiting in case of failure. n + 1 redundancy describes a configuration in which multiple cards have only one backup card to share among them. these traditional protection designs often required the use of relay modules to switch the signal between the primary and the backup line card.
there are three notable disadvantages to using relays. firstly, relay switching times are slow, which causes data corruption on the line. this data corruption results in bit errors, data loss, and perhaps a loss-of-frame condition. a loss-of-frame condition exacerbates the problem because it takes a considerable amount of time to reframe, during which all data is misaligned and, therefore, garbage. secondly, the relay modules are bulky and occupy valuable board space. finally, the relay modules require a considerable amount of power when used on boards with multiple t1/e1 lines.
figure 1 shows a redundant scheme that supports hitless protection. the backup transceiver is receiving and framing in parallel with the primary transceiver. this is possible because the dallas semiconductor line interface units are designed with high-impedance receive inputs and transmitter outputs that can be tri-stated. therefore, the backup line card inputs and outputs do not affect the signal that the primary line card is transmitting and receiving. this type of configuration eliminates the need for bulky mechanical relays.
microprocessor-controlled switchingto switch from the primary liu card to the backup card, the following steps need to be performed:
disable the transmit current limiter of the primary liu and the backup liu.
enable the backup transmitter while the primary transmitter is still operating.
disable the primary transmitter by tri-stating its output drivers.
enable the transmit current limiter of the primary liu and the backup liu. tables 1, 2, 3, and 4 list the register bits that need to be set or cleared.
table 1. register settings for the ds2155 single-chip transceiver
step
action
ds2155 register address
1
set primary and backup lic2.1 = 1
0 x 79
2
set backup lic1.0 = 1
0 x 78
3
set primary lic1.0 = 0
0 x 78
4
set primary and backup lic2.1 = 0
0 x 79
table 2. register settings for the ds21352 and ds21552 single-chip transceivers
step
action
ds21352/ds21552 register address
1
set primary and backup test2.4 = 1
0 x 09
2
set backup licr.0 = 0
0 x 7c
3
set primary licr.0 = 1
0 x 7c
4
set primary and backup test2.4 = 0
0 x 09
note: the test2 register may also be referred to as litest2 in some ds21352/ds21552 documentation.
table 3. register settings for the ds21354, and ds21554 single-chip transceivers
step
action
ds21354/ds21554 register address
1
set primary and backup test3.4 = 1
0 x ac
2
set backup licr.0 = 0
0 x 18
3
set primary licr.0 = 1
0 x 18
4
set primary and backup litest2.4 = 0
0 x ac
note: the test3 register may also be referred to as litest2 in some ds21354/ds21554 documentation.
table 4. register settings for the ds21(q)348 and ds21(q)48 line interface units
step
action
ds21348/ds2148 register address
1
set primary and backup ccr2.5 = 1
0 x 01
2
set backup ccr4.0 = 0
0 x 03
3
set primary ccr4.0 = 1
0 x 03
4
set primary and backup ccr2.5 = 0
0 x 01
receive-side software-selected terminationthe ds2155, ds21(q)348, and ds21(q)48 devices have internal software termination available, so steps must be taken to ensure that the receive-side line interface is configured properly. when two pairs of receiver inputs are connected to the transformer, only one device can control the software-selected termination. having software-selected termination enabled on both devices would result in a line impedance mismatch and improperly terminated signals. to ensure that these problems do not occur, simply have software-selected termination enabled only on the active line card (the line card currently recovering the signal) and disabled on the other. when the active card is removed or swapped from the system, simply switch whichever card is currently performing the software termination function. information on enabling and disabling the internal software termination can be found in the product data sheet.
power-up and hot-swappingthese sct and liu devices have other features that must be considered when powering-up the system and replacing a bad line card. upon power-up, the ds2155 will clear its registers space, which leaves the device's transmit drivers tri-stated. tri-state is the ideal condition for the redundancy application because it prevents a card from interfering with another card that is already transmitting data.
older generation devices (i.e., the ds21352, ds21552, ds21354, ds21554, ds21(q)348, and ds21(q)48) will power-up with the transmitter drivers turned on. to prevent this condition from occurring, the user must implement the following in the system:
wire the test pin so that the default state is a high. this will tri-state all output and i/o pins, the parallel control port, and the transmitter outputs. in this state, the processor will be able to perform write operations to the parallel port, but read operations will not work.
initialize the device by writing 0x00 to the entire register addresses range.
disable the transmitter of the device using the register bits mentioned in tables 1, 2, 3, and 4.
set the test pin state low to enable regular device operation.
test results a test and simulation setup was designed to ensure that the ds2155 devices will operate in a hitless-protection switching system. the test setup is presented below. the four scope plots presented in figures 2 through 5 demonstrate that the transmit pulse template is met when the two devices are coupled together in a hitless-protection switching system. the pulse templates are divided into t1 and e1 pulses, and each has a scope plot for both port 1 and port 2.
figure 2. t1 pulse shape for port 1.
figure 3. t1 pulse shape for port 2.
figure 4. e1 pulse shape port 1.
figure 5. e1 pulse shape port 2.
test setupthe test setup in figure 6 was used to generate the pulse template scope shots in figures 2 though 5. the setup consisted of a modified ds21q55 demonstration kit, an acterna t1 fireberd, an acterna e1 fireberd, and a tektronix® tds 3054 with pulse mask option and differential signal adapter. the ds21q55 was used instead of two ds2155 devices because the ds21q55 board was readily available and switching between the primary and backup device could be done in software using the ds21q55 demonstration kit. since the ds21q55 is actually four ds2155 devices placed on a single board, the ds21q55 results should not differ from those that would be obtained using two ds2155 devices. the board was modified so that the ds21q55's ports 1 and 2 shared the same network interface circuit on the two transmit ports and two receive ports. to simulate the longer than normal tip and ring-signal routes that would be present in a real-world system, 60 inches of twisted pair cable were used between the transformer and the tip and ring signals on the ds21q55. the extra distance did not degrade the performance of the ds21q55 transmitter or receiver in any way.
figure 6. hitless-protection switching test setup.
tektronix is a registered trademark of tektronix, inc.
AR光波导显示技术引领者灵犀微光将登陆2021 ICDT
解析磷酸铁锂电池电压为什么是3.2v
松下伺服电机调整电机负载如何设置?
车用半导体市场将年增9%达到320亿美元
高通/联发科/华为海思/紫光展锐四家的芯片专家聚在一起会发生什么?
Hitless Protection Switching w
电容器在电源中损坏的现象
提升无人机航程— 无人机智能电池5C技术知识揭秘
数字信号处理有什么特点和优点
常熟瑞特电器研发中心能耗监测系统的应用
霍尼韦尔中国有限公司智能制造研究院已正式成立
惠誉:中国保持智能电网的全球领先地位,对5G的投入将推动电力的增长
MAX1471 低功耗、CMOS、超外差、RF双通道接收器
AR增强现实技术如何颠覆供应链产业?
百度推动产业智能化的新路径,输入法B端市场转化
助力采用MCU的自主系统实现自主安全性
是德科技为软银提供5G网络仿真测试解决方案
FTTR全光家庭网络方案,真正实现每房间可承诺的带宽体验
iPhone 11依旧占据手机销量的第一名
对于新能源汽车业现五大政策的解读