# 光正交码

光正交码（optical orthogonal code，OOC）是一族具有良好自相关与互相关特性的二进制（0,1）序列：每个序列的自相关呈尖锐的“图钉”形，而任意两个序列之间的互相关在每个相对移位处都保持很低。<sup>[1](https://explore.openaire.eu/search/result?pid=10.1109%2F18.30982)</sup> 光正交码由范·R·K·钟（Fan R. K. Chung）、贾瓦德·A·萨利希（Jawad A. Salehi）和维克托·K·魏（Victor K. Wei）在1989年发表于《IEEE信息论汇刊》的论文中提出，作为[光码分多址](https://www.edgepedia.org/zh/optical-code-division-multiple-access)（OCDMA）的签名序列；OCDMA是一种让许多异步用户共享同一光信道而无需调度或集中定时的方案。<sup>[2](https://ieeexplore.ieee.org/document/30982)</sup><sup> • </sup><sup>[3](https://www.sciencedirect.com/science/article/pii/S1568494616302253)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 一族(0,1)序列，具有图钉形自相关，且任意两个序列在每个移位处的互相关都低<sup>[1](https://explore.openaire.eu/search/result?pid=10.1109%2F18.30982)</sup> |
| 标准记法 | 一个(n, w, λ<sub>a</sub>, λ<sub>c</sub>)光正交码：长度为n、汉明重量恒为w、自相关约束为λ<sub>a</sub>、互相关约束为λ<sub>c</sub>的二进制序列<sup>[4](https://liu.diva-portal.org/smash/get/diva2%3A22661/FULLTEXT01.pdf)</sup> |
| 起源 | 钟、萨利希和魏，《IEEE信息论汇刊》35(3): 595–604，1989年5月<sup>[2](https://ieeexplore.ieee.org/document/30982)</sup> |
| 主要用途 | 异步光CDMA系统的签名（地址）码；每个用户被分配一个码字<sup>[5](https://doi.org/10.1016/j.phycom.2020.101025)</sup> |
| 基数权衡 | 将互相关约束从λ = 1放宽到λ = 2或3，会得到大得多的码族，这些码族在实际接收机中可能表现更好<sup>[6](https://opg.optica.org/jocn/abstract.cfm?uri=jon-6-9-1138)</sup> |
| 其他应用 | 除原始通信场景外，还用于雷达、无线电、声呐和神经形态网络<sup>[7](https://www.sciencedirect.com/science/article/abs/pii/S0012365X26002803)</sup> |

## 定义与参数

标准记法用四个参数描述一个码。一个(n, w, λ<sub>a</sub>, λ<sub>c</sub>)光正交码C是长度为n、汉明重量均为w（1的个数，等于每个周期发送的光脉冲数）的二进制序列集合，满足两个条件<sup>[4](https://liu.diva-portal.org/smash/get/diva2%3A22661/FULLTEXT01.pdf)</sup>：

1. **自相关。** 对C中的每个码字x和每个非零移位τ（模n），周期自相关 \( \sum_{t=0}^{n-1} x_t x_{t+\tau} \le \lambda_a \)。<sup>[8](https://link.springer.com/article/10.1007/s12095-025-00777-8)</sup>
2. **互相关。** 对每一对不同的码字x和y以及每个移位τ，\( \sum_{t=0}^{n-1} x_t y_{t+\tau} \le \lambda_c \)。<sup>[8](https://link.springer.com/article/10.1007/s12095-025-00777-8)</sup>

由于每个码字的重量为w，自相关在零移位处等于w，因此非平凡码要求λ < w。<sup>[8](https://link.springer.com/article/10.1007/s12095-025-00777-8)</sup> 在大多数研究中，两个约束取相等，许多构造集中于λ<sub>a</sub> = λ<sub>c</sub> = 1的情形，尽管原始通信应用并不要求这种相等。<sup>[9](https://arxiv.org/abs/2411.06955)</sup>

## 这些码在OCDMA系统中如何工作

在光CDMA系统中，每个用户被分配光正交码中的一个唯一码字。当用户变为活跃时，发射机周期性地读出码字比特，并在比特等于1时发送一个光脉冲。由于用户在任意时刻开始发送，接收机锁定自身码字的能力依赖于周期自相关要求，而一个用户对另一个用户造成的干扰则受周期互相关要求限制。<sup>[5](https://doi.org/10.1016/j.phycom.2020.101025)</sup> 误码率随着同时活跃用户数的增长而上升，这就是为什么码族的大小和相关约束直接决定一个系统能够支持多少订户和同时用户。<sup>[10](https://opg.optica.org/abstract.cfm?uri=jlt-21-3-735)</sup>

## 组合结构

光正交码可以表述为\( \mathbb{Z}_v \)的一族子集，其中相关条件变成关于每个子集内部差分以及子集之间外部差分的条件。这种联系催生了大量关于该类码的组合数学文献。<sup>[9](https://arxiv.org/abs/2411.06955)</sup> 构造借鉴组合设计理论：最优(v, k, 1)码已由循环差集及相关填充构造出来，<sup>[11](https://www.sciencedirect.com/science/article/pii/S0012365X97001726)</sup> 变重量码已由成对平衡设计和填充设计构造出来。<sup>[12](https://scholars.lib.ntu.edu.tw/bitstreams/2819463c-d5ba-4889-b1d0-aacd2ae57f40/download)</sup> 算法方法也存在；一种方法将光正交码构造归结为在专门生成的图上的最大团问题。<sup>[3](https://www.sciencedirect.com/science/article/pii/S1568494616302253)</sup>

一个核心问题是确定最大码大小，即在给定参数下光正交码最多能包含多少个码字。<sup>[3](https://www.sciencedirect.com/science/article/pii/S1568494616302253)</sup> 主要上界来自编码理论：塞尔默·约翰逊（Selmer Johnson）在其1962年论文中为等重量码引入了三个界，钟及其同事将约翰逊界A推广到光正交码，该界被广泛用于证明构造的最优性；后来的工作改进了λ > 1时的这些界，并用它们确立了此前未经证明的构造的最优性。<sup>[13](https://ieeexplore.ieee.org/document/1523334/)</sup>

## 变体

**变重量码。** 早期研究集中于等重量光正交码，这种码在误码率方面给每个用户相同的服务质量。为了支持多个服务等级，国立中兴大学（National Chung Hsing University）的杨谷章（Guu-Chang Yang）和[圣母大学](https://www.edgepedia.org/zh/university-of-notre-dame)（University of Notre Dame）的T. E. 富贾（T. E. Fuja）研究了具有不等自相关和互相关约束的码，将其视为具有两个保护等级的等重量不等差错保护码，<sup>[14](https://www.researchgate.net/publication/3078641_Optical_orthogonal_codes_with_unequal_auto-_and_cross-correlation_constraints)</sup> 而杨谷章首先研究了变重量光正交码，其中码字的汉明重量构成一个集合W而不是单一值。<sup>[5](https://doi.org/10.1016/j.phycom.2020.101025)</sup> 多长度变重量光正交码通过允许不同的码字长度进一步扩展了这一思路，这种设计面向光CDMA网络中的多速率和综合多媒体业务。<sup>[15](https://globals.ieice.org/en_transactions/communications/10.1093/ietcom/e90-b.8.1968/_p)</sup>

**放宽互相关。** 具有λ = 1的传统光正交码在异步系统中只能支持有限数量的订户和同时用户。翁启舜（Chi-Shun Weng）及其同事的工作表明，放宽互相关约束——先放宽到2，再进一步放宽——可以使[随机贪心算法](https://www.edgepedia.org/zh/random-greedy-algorithm)构造出码大小更大、同时用户更多的码族；同一项工作还推导出给定码长、码重量和误码率下同时用户数的上界，并表明码可以逼近该界。<sup>[10](https://opg.optica.org/abstract.cfm?uri=jlt-21-3-735)</sup> 谢里夫理工大学（Sharif University of Technology）教授、光正交码共同发明人贾瓦德·A·萨利希在2007年综述了该领域，并得出结论：在许多实际应用中，使用基于光与逻辑门的接收机结构时，互相关λ等于2或3的光正交码具有比λ = 1码大得多的基数，表现更好。<sup>[6](https://opg.optica.org/jocn/abstract.cfm?uri=jon-6-9-1138)</sup>

**多维码。** 光正交码的概念超越一维时间序列。二维码将脉冲扩展到时间和波长上，针对重量为三的二维(m × n, k, 1)码的构造已确定所有正整数m和n下最优码的精确大小。<sup>[16](https://arxiv.org/abs/2602.18864)</sup> 在空间、时间和波长上扩展的码称为三维光正交码；近期工作构造了无限族这样的码，它们以等式满足约翰逊型上界，因此是最优的。<sup>[7](https://www.sciencedirect.com/science/article/abs/pii/S0012365X26002803)</sup>

**严格码。** 对于具有超快交换的全异步数据通信，有人为光纤CDMA网络提出了一类称为严格光正交码的特殊码族；这些码严格保证两个相关约束λ<sub>c</sub>和λ<sub>a</sub>都等于一。<sup>[17](https://www.researchgate.net/publication/3159921_Design_of_a_special_family_of_optical_CDMA_address_codes_for_fully_asynchronous_data_communications)</sup>

## 应用与当前方向

最初的动机，而且仍然是主要动机，是光信道上的多址接入：OCDMA系统看重异步传输、灵活的网络设计以及对突发业务的高效处理，光正交码已被广泛采用为此类系统中的签名码。<sup>[7](https://www.sciencedirect.com/science/article/abs/pii/S0012365X26002803)</sup> 萨利希2007年的综述将光正交码置于非相干一维和二维OCDMA技术的中心，并讨论了包括无线OCDMA局域网、自由空间OCDMA和光纤到户接入在内的应用。<sup>[6](https://opg.optica.org/jocn/abstract.cfm?uri=jon-6-9-1138)</sup> 在通信之外，光正交码还用于雷达、无线电、声呐和神经形态网络，<sup>[7](https://www.sciencedirect.com/science/article/abs/pii/S0012365X26002803)</sup> 近期工作将它们与有限域上的循环子空间码和西顿空间联系起来，产生了新的码类以及无穷多个新的参数集。<sup>[8](https://link.springer.com/article/10.1007/s12095-025-00777-8)</sup> 2024年，索菲·胡琴斯卡（Sophie Huczynska）和肖琳·吴（Siaw-Lynn Ng）对组合数学文献的综述指出，大多数构造假设相关值相等，并考察了相关值大于1的解耦情形，包括对每个值的单独界和结构推论。<sup>[9](https://arxiv.org/abs/2411.06955)</sup>

## References

1. [Chung, F. R. K., Salehi, J. A., Wei, V. K. (1989). Optical orthogonal codes: design, analysis and applications. IEEE Transactions on Information Theory 35(3): 595–604 (abstract via OpenAIRE).](https://explore.openaire.eu/search/result?pid=10.1109%2F18.30982)
2. [Optical orthogonal codes: design, analysis and applications, IEEE Xplore, DOI 10.1109/18.30982.](https://ieeexplore.ieee.org/document/30982)
3. [A clique-based online algorithm for constructing optical orthogonal codes, Applied Soft Computing.](https://www.sciencedirect.com/science/article/pii/S1568494616302253)
4. [Definition of optical orthogonal codes, Linköping University thesis, section 2.2.](https://liu.diva-portal.org/smash/get/diva2%3A22661/FULLTEXT01.pdf)
5. [A mixed construction of variable-weight optical orthogonal code for optical CDMA networks, Physical Communication (2020).](https://doi.org/10.1016/j.phycom.2020.101025)
6. [Salehi, J. A. (2007). Emerging OCDMA communication systems and data networks. Journal of Optical Networking 6(9): 1138–1178.](https://opg.optica.org/jocn/abstract.cfm?uri=jon-6-9-1138)
7. [Fan, J., Fang, Z. Perfect three-dimensional optical orthogonal codes with the AM-OPPS/TP property, Discrete Mathematics.](https://www.sciencedirect.com/science/article/abs/pii/S0012365X26002803)
8. [Using multi-orbit cyclic subspace codes for constructing optical orthogonal codes, Cryptography and Communications (2025).](https://link.springer.com/article/10.1007/s12095-025-00777-8)
9. [Huczynska, S., Ng, S.-L. (2024). Optical orthogonal codes from a combinatorial perspective, arXiv:2411.06955.](https://arxiv.org/abs/2411.06955)
10. [Weng, C.-S. (2003). Optical Orthogonal Codes With Large Crosscorrelation and Their Performance Bound for Asynchronous Optical CDMA Systems. Journal of Lightwave Technology 21(3): 735.](https://opg.optica.org/abstract.cfm?uri=jlt-21-3-735)
11. [Yin, J. (1998). Some combinatorial constructions for optical orthogonal codes, Discrete Mathematics 185(1–3): 201–219.](https://www.sciencedirect.com/science/article/pii/S0012365X97001726)
12. [Gu, F.-R., Wu, J. (2005). Construction and Performance Analysis of Variable-Weight Optical Orthogonal Codes for Asynchronous Optical CDMA Systems, Journal of Lightwave Technology 23(2).](https://scholars.lib.ntu.edu.tw/bitstreams/2819463c-d5ba-4889-b1d0-aacd2ae57f40/download)
13. [Improved Johnson bounds for optical orthogonal codes with λ > 1 and some optimal constructions, IEEE.](https://ieeexplore.ieee.org/document/1523334/)
14. [Yang, G.-C., Fuja, T. E. (1995). Optical orthogonal codes with unequal auto- and cross-correlation constraints, IEEE Transactions on Information Theory 41(1): 96–106.](https://www.researchgate.net/publication/3078641_Optical_orthogonal_codes_with_unequal_auto-_and_cross-correlation_constraints)
15. [Multiple-Length Variable-Weight Optical Orthogonal Codes for Supporting Multirate Multimedia Services in Optical CDMA Networks, IEICE Transactions on Communications.](https://globals.ieice.org/en_transactions/communications/10.1093/ietcom/e90-b.8.1968/_p)
16. [Shan, X., Wang, L., Chang, Y., Wang, X. Constructions of two-dimensional optical orthogonal codes of weight three, arXiv:2602.18864.](https://arxiv.org/abs/2602.18864)
17. [Design of a special family of optical CDMA address codes for fully asynchronous data communications, IEEE Transactions on Communications 47(7): 967–973.](https://www.researchgate.net/publication/3159921_Design_of_a_special_family_of_optical_CDMA_address_codes_for_fully_asynchronous_data_communications)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 通信与日常技术 › 光通信与光纤通信技术 › Modulation and multiplexing formats

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/optical-orthogonal-codes

English original: https://www.edgepedia.org/optical-orthogonal-codes
