PCM30/32-channel system simulation based on Max+ PlusⅡ

Publisher:陈风102Latest update time:2011-09-22 Source: 互联网Keywords:Max+ Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Abstract: PCM is a common method for converting analog signals into digital signals. In order to study the timing and frame structure of the PCM30/32-channel system, the circuit diagram of the system was designed using Max+ Plus Ⅱ, and the circuit was simulated in Max+ Plus Ⅱ. The simulation results show that the PCM 30/32-channel system contains 32 channels of information, including 30 voice signals and two synchronous information. Each channel of information can be represented by D1~D8 eight-bit PCM code . The software is easy to use, flexible to operate, supports many devices, and has flexible design input methods.

In order to obtain the maximum economic benefits in communication technology, it is necessary to make full use of the transmission capacity of the channel and expand the communication capacity. Therefore, adopting a multiplexing system is an extremely important means of communication. The most commonly used multiplexing systems are frequency division multiplexing (FDM) communication system and time division multiplexing (TDM) communication system. Frequency division multiplexing technology uses sinusoidal carriers of different frequencies to modulate the baseband signal, move the spectrum of each baseband signal to different frequency bands, and transmit it on the same channel. In the time division multiplexing system, the baseband signal is sampled using pulses of different time sequences, and the sampled pulse signals are arranged in time sequence and transmitted on the same channel. Frequency division multiplexing is mainly used in analog communication systems, and time division multiplexing is often used in digital communications. Code division multiplexing (CDMA) is used for mobile communications.

1 EDA Technology

EDA ( Electronic Circuit Design Automation) is an automated design process for electronic products that uses computers as working platforms, hardware description languages ​​( VHDL ) as design languages, programmable devices (CPLD/FPGA) as experimental carriers, and ASIC /SOC chips as target devices to perform necessary component modeling and system simulation . EDA is a revolution in the field of electronic design, which originated from computer-aided design, computer-aided manufacturing, computer-aided testing, and computer-aided engineering. Using EDA tools, electronic designers design electronic systems from concepts, algorithms, and protocols. The entire process from circuit design, performance analysis to IC layout or PCB layout generation can be automatically completed on computers. EDA represents the latest development direction of today's electronic design technology. Its basic feature is that designers use computers as tools to design and divide the entire system according to a top-down design method, complete the system behavior level design using hardware description language, and use advanced development tools to automatically complete logic compilation, simplification, segmentation, synthesis, optimization, layout and routing, simulation, and adaptation compilation and programming download of specific target chips. This is called a high-level design method for digital logic circuits .

Main features of EDA technology As the leading technology in modern electronic system design, EDA has the following obvious features:

(1) Using software design methods to design hardware; (2) Chip-based design methods; (3) High degree of automation; (4) Automatic product design.

2 PCM Transmitter Timing and Frame Structure

For voice signals, CCITT stipulates that the sampling rate of PCM is 8 kHz, that is, the information can be divided into 8K frames within 1 second. The period of each frame is 125 seconds. In each frame period, 32 time slots are inserted, represented by TS0~TS31, among which TS0 is used as a frame synchronization time slot to transmit frame synchronization code groups and frame loss synchronization report codes, TS16 is used to transmit multi-frame synchronization signals, multi-frame loss synchronization reports and various channel signals, and the other 30 time slots are used to transmit 30 voice signals. Each time slot can be inserted with 8-bit binary information code (that is, each time slot contains 8 bits of information code, which is completed by the PCM encoder ). In addition, every 16 frames form a multiframe, that is, there are 16 subframes in a multiframe (numbered F0, F1, ..., F15), of which F0, F2, F14 are even frames, and F1, F3, ..., F15 are odd frames. The above frames constitute the PCM30/32 road group system. The frame structure of PCM is shown in Figure 1.

Frame structure of PCM30/32 road-based group system

Figure 1 Frame structure of PCM30/32 road-based group system

According to the above frame structure, the code rate of the PCM30/32 system is:

Fs = 8K × 32 × 8 = 2.048 Mb/s The synchronization code and signaling bits of the above frame structure are as follows:

(1) TS0 of the even frame (F0, F2,…, F14) is used to transmit the frame synchronization code, and the code type is 0011011.

(2) 1b in T S0 of odd frames (F1, F3, ..., F15) is used to transmit the frame desynchronization code. When the frame is synchronized, A1 = 1, and when it is desynchronized, A1 = 0. The other bits are used for domestic communication.

(3) The first bit of each subframe TS0 is used for CRC check and is always set to “1” when not in use.

(4) TS1~TS15 and TS17 ~TS31, a total of 30 time slots, are used to transmit information signals from channel 1 to channel 30.

(5) TS16 is used to transmit multiframe synchronization signals, multiframe desynchronization signals and various channel (on-hook, busy, etc.) signals.

From the frame structure of PCM, we know that the timing of PCM base group is controlled by clock and frame timing generator , and its principle block diagram is shown in Figure 2. The PCM encoding in the figure is completed by a single-chip PCM encoder, and the code type converter is an NRZ code HDB3 code converter. The converted bipolar signal code is sent to the digital modulator or multi-channel base group multiplexer, and then multiplexed into a high-order group and sent to the digital modulation device or optical communication equipment.

PCM30/32 Base Group System Schematic Diagram

Figure 2 PCM30/32 base group system principle block diagram

3 Simulation Results

Open the Max+ Plus software on the PC interface, input the circuit diagram shown in Figure 3; select the menu File \ Project \ Set Project to Current File, and then select the menu Max+ plus \ compiler to edit the current graphic file; simulate the circuit and record the circuit simulation waveform (simulation parameters are grid size = 2.4 s; End time = 100 ms). The simulation results are shown in Figures 4 and 5.

PCM30/32 Base Group System Circuit Diagram

Figure 3 PCM30/32 base group system circuit diagram

PCM30/32-channel system transmitter timing and frame structure simulation results1

Figure 4 PCM30/32-channel system transmitter timing and frame structure simulation results 1

PCM30/32-channel system transmitter timing and frame structure simulation results 2

Figure 5 PCM30/32-channel system transmitter timing and frame structure simulation results 2

As can be seen from Figure 4 and Figure 5, the simulation results include three frames of information, F0, F1, and F2. Each frame contains 30 channels of information, ch1 to ch30. Each channel of information can be represented by eight-bit PCM codes, D1 to D8.

4 Conclusion

This paper uses Max+ Plus software to simulate the timing and frame structure of the PCM30/32-channel system. The simulation results clearly show the rules of the system's timing. The software is easy to use, flexible to operate, supports many devices, and has flexible and changeable design input methods.


Keywords:Max+ Reference address:PCM30/32-channel system simulation based on Max+ PlusⅡ

Previous article:Testing and research of high-performance DAC chips based on FPGA
Next article:Discrete domain modeling and simulation of harmonic voltage source based on FPGA

Recommended ReadingLatest update time:2024-11-16 16:37

Flyback converter circuit using MAX630
Flyback converter circuit using MAX630   The figure shows a flyback converter circuit composed of MAX630. The primary of the flyback transformer T in the circuit provides a rectified AC voltage. The rectified 10V voltage is used as the working power supply of MAX630. There is a power MOSFET in MAX630, but the
[Power Management]
Flyback converter circuit using MAX630
MAX2181 low-noise amplifier for automotive FM applications (I)
Abstract: Multi-core processors have become the mainstream of processors and have developed into the mainstream processing platform for various communication and media applications. Communication structure is one of the core technologies in multi-core systems, and the efficiency of inter-core communication is an impor
[Analog Electronics]
MAX2181 low-noise amplifier for automotive FM applications (I)
Xiaomi Mi MIX 4 new version is available: Snapdragon 888 Plus + 12GB of memory
       At present, multiple sources have confirmed that Xiaomi will hold a major new product launch conference around mid-August to launch its annual flagship product for the second half of the year - Xiaomi MIX 4.   According to previous news, Xiaomi MIX 4 was already connected to the domestic network a month ago. Ho
[Mobile phone portable]
Intel releases 12th-generation Core processors, claims to be faster than M1 Max chips
Intel today released its new 12th-generation Core processors for laptops, and Intel claims that the new Core i9 is not only faster than Apple's M1 Max chip in the 16-inch MacBook Pro, but also the fastest mobile processor ever. The new Core i9 uses a 14-core CPU with 6 performance cores and 8 energy-efficiency cores
[Mobile phone portable]
Intel releases 12th-generation Core processors, claims to be faster than M1 Max chips
Oscilloscope Reference Design Based on PC and MAX1396EVKIT
This article introduces a PC-based oscilloscope reference design. The MAX1393 ADC and MAX1396 EV (evaluation) board are highlighted, and the circuit diagram, software, and software function description are provided. introduction This reference design provides all the circuits needed to build an oscillo
[Test Measurement]
Oscilloscope Reference Design Based on PC and MAX1396EVKIT
MAX730 series pin configuration and internal structure block diagram
MAX730 series pin configuration and internal structure block diagram   The pin configuration and internal structure block diagram of the MAX730 series. The MAX730 chip has a P-channel power MOS FET (field effect transistor) error amplifier as a switching transistor, a current-type PWM (pulse width modulator)
[Power Management]
MAX730 series pin configuration and internal structure block diagram
Getting Started with MAX-IDE
Abstract: MAX-IDE is a full-featured development and debugging environment for the MAXQ family of microcontrollers. MAX-IDE works with a variety of standard MAXQ evaluation boards, providing a project-level development environment, access to standard MAXQ debugging features, an integrated macro assembler, and in-circui
[Analog Electronics]
Getting Started with MAX-IDE
OnePlus 9 Lite to launch in Q1 2021
      Starting in the first quarter, we will have the first round of flagship devices for next year, including the OnePlus 9 series from OnePlus. As usual, we will definitely have the OnePlus 9 and OnePlus 9 Pro, although there was also a rumor about a OnePlus 9E. According to a report from Android Central, the third
[Mobile phone portable]
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号