Fpga-based cyclic modulation and coding system and method of medium wave transmitter
By using multiple FPGA chips with a structured power amplifier control module, the system efficiently controls power amplifiers in medium wave transmitters, reducing pin requirements, output delay, and clock frequency, effectively addressing the scaling challenges of existing FPGA-based systems.
Patent Information
- Application Number
- GB2023005965
- Authority / Receiving Office
- GB · GB
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-10-19
- Filing Date
- 2023-04-24
- Publication Date
- 2024-12-04
- Estimated Expiration
- 2043-04-24
AI Technical Summary
Existing FPGA-based cyclic modulation and coding systems for medium wave transmitters face challenges with high cost, increased output delay, and higher clock frequency requirements when scaling from 10KW to 100KW systems, due to the need for more FPGA pins and increased complexity in controlling a larger number of power amplifier modules.
The system employs multiple FPGA chips connected in sequence, each with a large cycle control module, small cycle control module, and power amplifier control module, which includes sub-modules for determining actual power amplifier quantities, generating periodic pulses, calculating modification amounts, and performing cycle mapping to efficiently control power amplifiers, reducing the number of required pins and output delay.
This approach reduces the number of pins needed to 176 per FPGA, decreases output delay to 8-10 clock cycles, and lowers the required clock frequency to 5-10 MHz, while maintaining balanced power amplifier usage, thus addressing the cost and performance issues of existing systems.
Smart Images

Figure 00000001_0000 
Figure 00000002_0000 
Figure 00000003_0000
Abstract
Description
TECHNICAL FIELD
[0001] This application relates to the field of digital circuit technologies, and in particular, to a Field Programmable Gate Array (FPGA)-based cyclic modulation and coding system and method of a medium wave transmitter. BACKGROUND
[0002] With the rapid development of broadcasting, all-solid-state digitization becomes a trend in medium wave broadcast transmission equipment in China. An original electronic tube class B board transmitter is gradually replaced by all-solid-state PDM and DAM medium wave broadcast transmitters. Especially, a DAM digital amplitude modulation technology is to be widely applied.
[0003] A cyclic modulation and coding circuit is an important part of the DAM medium wave transmitter. A 12 bit data signal from an audio channel, that is, binary audio code, is converted into an on / off control signal by the cyclic modulation and coding circuit, to turn "on / off' an RF module in an amplifier stage of the transmitter.
[0004] An existing FPGA-based cyclic modulation and coding system of a 10 KW all-solid-state transmitter is deployed in one FPGA chip. The system needs to control 48 power amplifier modules, with working frequency between 80 MHz and 100 MHz. An output delay of the system and a quantity of required FPGA pins are positively correlated with a quantity of controlled power amplifier modules. In a cyclic modulation and coding link of an all-solid-state medium wave transmitter above 100 KW, 208 power amplifier modules need to be controlled. If a cyclic modulation and coding system of an original 10 KW all-solid-state medium wave transmitter is adopted, only a quantity of power amplifier modules controlled by the system needs to be modified. If an original system is deployed in a single FPGA chip, it requires that the single FPGA chip has more than 400 available pin resources. When there are richer pin resources of a single FPGA chip at a same level, this means higher cost. Secondly, an output delay of the original system is positively correlated with the quantity of controlled power amplifier modules. In this case, the output delay is increased to 3 to 4 times of an original output delay, and frequency of a work clock required by the system is correspondingly increased by 3 to 4 times. In addition, due to the foregoing defects, a method that the original system uses a shift register to balance a usage rate of the power amplifier module is no longer valid. SUMMARY
[0005] The embodiments of this application provide an FPGA-based cyclic modulation and coding system and method of a medium wave transmitter. This system and method can resolve the problems of high cost, increased delay, and a higher requirement for a working clock when an FPGA-based cyclic modulation and coding system of a 10KW all-solid-state medium wave transmitter is applied to a cyclic modulation and coding link of an all-solid-state medium wave transmitter above 100 KW in a conventional technology.
[0006] According to an aspect, an embodiment of this application provides an FPGA-based cyclic modulation and coding system of a medium wave transmitter. The system includes a plurality of FPGA chips electrically connected in sequence. Each FPGA chip includes:
[0007] a large cycle control module, configured to determine an actual quantity of conducted power amplifiers of each FPGA chip based on input binary audio code and a quantity of FPGA chips;
[0008] a small cycle control module, configured to generate a periodic pulse and count the pulse to obtain a corresponding small cyclic count value; and
[0009] a power amplifier control module, including:
[0010] a counting-1 sub-module, configured to accumulate input power amplifier state code, to obtain a quantity of normal power amplifiers;
[0011] a modification amount calculation sub-module, configured to determine a corresponding modification amount based on a quantity B of power amplifiers that need to be additionally turned off by a current FPGA chip and that are input by other FPGA chips, a quantity A of power amplifiers that need to be additionally turned on and that are input by the other FPGA chips, and a quantity of conducted power amplifiers, and output, to the other FPGA chips, a quantity B0 of power amplifiers to be additionally turned off and a quantity A0 of power amplifiers to be additionally turned on;
[0012] a first cycle mapping sub-module, configured to perform multi-selection on input cyclic shift data based on the small cyclic count value, to obtain corresponding cyclic shift result data;
[0013] a deleting-1 sub-module, configured to perform transcoding on the cyclic shift result data, determine a quantity ND of power amplifiers to be turned off based on the quantity of normal power amplifiers and the modification amount, and perform multi-selection on the cyclic shift result data based on the quantity ND of power amplifiers, to obtain a corresponding output result; and
[0014] a second cycle mapping sub-module, configured to perform cycle mapping on the output result, to obtain a corresponding power amplifier control signal.
[0015] According to another aspect, an embodiment of this application provides an FPGA-based cyclic modulation and coding method of a medium wave transmitter. The method includes:
[0016] determining an actual quantity of conducted power amplifiers of each FPGA chip based on input binary audio code and a quantity of FPGA chips;
[0017] generating a periodic pulse and counting the pulse to obtain a corresponding small cyclic count value;
[0018] accumulating input power amplifier state code, to obtain a quantity of normal power amplifiers;
[0019] determining a corresponding modification amount based on a quantity B of power amplifiers that need to be additionally turned off by a current FPGA chip and that are input by other FPGA chips, a quantity A of power amplifiers that need to be additionally turned on and that are input by the other FPGA chips, and a quantity of conducted power amplifiers, and outputting, to the other FPGA chips, a quantity B0 of power amplifiers to be additionally turned off and a quantity A0 of power amplifiers to be additionally turned on;
[0020] performing multi-selection on input cyclic shift data based on the small cyclic count value, to obtain corresponding cyclic shift result data;
[0021] performing transcoding on the cyclic shift result data, determining a quantity ND of power amplifiers to be turned off based on the quantity of normal power amplifiers and the modification amount, and performing multi-selection on the cyclic shift result data based on the quantity ND of power amplifiers, to obtain a corresponding output result; and
[0022] performing cycle mapping on the output result, to obtain a corresponding power amplifier control signal.
[0023] The FPGA-based cyclic modulation and coding system and method of a medium wave transmitter in this application have the following advantages:
[0024] 1. The system and method may be deployed in a plurality of FPGA chips or a single FPGA, and only 176 pins may be applied to each FPGA. A total cost of a plurality of FPGA chips with a smaller quantity of pins is lower than that of a single FPGA chip with the same quantity of pins.
[0025] 2. Data output delay is 8 to 10 system clock cycles, and is not related to a quantity of power amplifier modules controlled by the system. Therefore, required system clock frequency may be reduced to 5 to 10 MHz. This is beneficial to communication among the plurality of FPGA chips.
[0026] 3. A ratio of a standard deviation of a usage rate of each power amplifier module to a mean value of the usage rate of the power amplifier module is less than l%o. Therefore, an original method of using a cyclic shift register may be replaced. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] To describe the technical solutions in the embodiments of this application or in the prior art more clearly, the following briefly describes the accompanying drawings required for describing the embodiments or the prior art. Apparently, the accompanying drawings in the following description show some embodiments of this application, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
[0028] FIG. 1 is a schematic diagram of a composition of an FPGA-based cyclic modulation and coding system of a medium wave transmitter according to an embodiment of this application;
[0029] FIG. 2 is a block diagram of a structure of a single FPGA chip in a cyclic modulation and coding system according to an embodiment of this application;
[0030] FIG. 3 is a schematic diagram of a structure of a counting-1 sub-module according to an embodiment of this application;
[0031] FIG. 4 is a block diagram of a structure of a cycle mapping sub-module according to an embodiment of this application;
[0032] FIG. 5 is a schematic diagram of working of a cycle mapping sub-module according to an embodiment of this application;
[0033] FIG. 6 is a block diagram of a structure of a deleting-1 sub-module according to an embodiment of this application; and
[0034] FIG. 7 is a diagram of a state transition of a cyclic modulation and coding control state machine according to an embodiment of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0035] The technical solutions in the embodiments of this application are clearly and completely described below with reference to the drawings in the embodiments of this application. Apparently, the described embodiments are only some rather than all of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts should fall within the protection scope of this application.
[0036] FIG. 1 to FIG. 7 are schematic diagrams of a composition of an FPGA-based cyclic modulation and coding system of a medium wave transmitter provided by the embodiments of this application. An embodiment of this application provides an FPGA-based cyclic modulation and coding system of a medium wave transmitter. The system includes a plurality of FPGA chips electrically connected in sequence. Each FPGA chip includes a large cycle control module, a small cycle control module, and a power amplifier control module.
[0037] The large cycle control module is configured to determine an actual quantity of conducted power amplifiers of each FPGA chip based on input binary audio code and a quantity of FPGA chips.
[0038] The small cycle control module is configured to generate a periodic pulse and count the pulse to obtain a corresponding small cyclic count value.
[0039] The power amplifier control module includes a counting-1 sub-module, a modification amount calculation sub-module, a first cycle mapping sub-module, a deleting-1 sub-module, and a second cycle mapping sub-module.
[0040] The counting-1 sub-module is configured to accumulate input power amplifier state code, to obtain a quantity of normal power amplifiers.
[0041] The modification amount calculation sub-module is configured to determine a corresponding modification amount based on a quantity B of power amplifiers that need to be additionally turned off by a current FPGA chip and that are input by other FPGA chips, a quantity A of power amplifiers that need to be additionally turned on and that are input by the other FPGA chips, and a quantity of conducted power amplifiers, and output, to the other FPGA chips, a quantity B0 of power amplifiers to be additionally turned off and a quantity A0 of power amplifiers to be additionally turned on.
[0042] The first cycle mapping sub-module is configured to perform multi-selection on input cyclic shift data based on the small cyclic count value, to obtain corresponding cyclic shift result data.
[0043] The deleting-1 sub-module is configured to perform transcoding on the cyclic shift result data, determine a quantity ND of power amplifiers to be turned off based on the quantity of normal power amplifiers and the modification amount, and perform multi-selection on the cyclic shift result data based on the quantity ND of power amplifiers, to obtain a corresponding output result.
[0044] The second cycle mapping sub-module is configured to perform cycle mapping on the output result, to obtain a corresponding power amplifier control signal.
[0045] For example, a system in FIG. 1 may be applied to a 100 KW all-solid-state medium wave transmitter, and includes three FPGA chips. The three FPGA chips are connected end to end by using signal lines of "a quantity BX of power amplifiers to be additionally turned off and "a quantity AX of power amplifiers to be additionally turned on". Where 64 bit power amplifier state code, 8 bit binary audio code, a system clock Clk, and a data clock are shared by the three FPGA chips. A used FPGA chip may be of EP1C6Q240C8N. After the FPGA chip is used, the system clock is fixed at 10 MHz. A correct power amplifier control signal is required to be output based on the 8 bit binary audio code within one data clock cycle (500 to 800 KHz), to avoid a power amplifier control signal from mistakenly driving a power amplifier module. A usage rate of each power amplifier is required to be balanced, or a usage rate of each power amplifier is balanced as much as possible.
[0046] Based on the above requirements, the system is separately deployed in the three FPGA chips, and the three FPGA chips are connected end to end by using signal lines of "a quantity of power amplifiers to be additionally turned off (6 lines)" and "a quantity of power amplifiers to be additionally turned on (6)". System clocks of the three FPGA chips are independent of each other and are 10 MHz. A signal shared by the three FPGA chips may be the 64 bit power amplifier state code, the 8 bit binary audio code, and the data clock. An A / D converter converts an analog audio signal into a 12 bit digital signal. The FPGA chip extracts 8 bit as the 8 bit binary audio code. In addition, a sampling clock of the A / D converter is used as a data clock. Then, the 8 bit binary audio code and the data clock are connected into the three FPGA chips by wiring for processing. In a system testing process, a low level is applied to any 1 to 10 64 bit power amplifier state pins, to simulate a power amplifier fault. The system may avoid a faulty power amplifier and always output a correct power amplifier control signal. A result of counting the power amplifier control signal by using an external device shows that a ratio of a standard deviation of the usage rate to a mean usage rate of the power amplifier module is decreased gradually while operation time is increased, and the ratio is less than l%o when the operation time exceeds 10s.
[0047] The large cycle control module is configured to balance a usage rate of a power amplifier module of an all-solid-state medium wave transmitter above 100 KW. Its principle is to divide the 8 bit binary audio code by a quantity of FPGA chips used in a modulation and coding link, an obtained quotient is used as the actual quantity of conducted power amplifiers of each FPGA, and a remainder is distributed to any FPGA chip, to obtain the actual quantity of conducted power amplifiers of each FPGA chip, that is a large cycle amount Big shown in FIG. 2.
[0048] Cycle control logic is disposed in the small cycle control module. The cycle control logic includes a counter and a pulse generation sub-module. The pulse generation sub-module generates a pulse signal with a length of one system clock cycle at regular intervals, for example, 1 to 5 seconds. After receiving the pulse signal, the counter accumulates by 1, and uses the accumulated value as the small cyclic count value. When the value is accumulated to a certain value, for example 64, reset processing is performed, for example, the value is reset to 0. The small cyclic count value of the counter is a small cycle amount L. The small cycle amount controls a switching cycle of a power amplifier control module in a single FPGA.
[0049] The power amplifier control module is configured to enable a core function of the system. FIG. 3 shows a block diagram of the counting-1 sub-module. In the figure, bit 0 to bit 63 are input 64 bit power amplifier state code, bit x is 0 and represents a power amplifier fault, and bit x is 1 and represents that the power amplifier is normal. A result obtained by accumulating 64 bits bit-by-bit is the quantity of normal power amplifiers.
[0050] The modification amount calculation sub-module is configured to calculate, based on different device ID, that is, code of various FPGA chips, the quantity B of power amplifiers to be additionally turned off, the quantity A of power amplifiers to be additionally turned on, and the large cycle amount Big of the machine, a quantity of power amplifiers to be additionally turned off / on, that is, a modification amount N. Three FPGA chips with code 00, 01 and 10 are used as an example to describe calculation logic of the modification amount calculation sub-module:
[0051] For an FPGA chip with binary code 00:
[0052] If the binary audio code is < 64,
[0053] N=D-B+A+Big
[0054] IfD>64,
[0055] N=64-B+A+Big
[0056] For an FPGA chip with code 01:
[0057] If the binary audio code is < 64,
[0058] N=0-B+A+Big
[0059] Ifl28>D>64,
[0060] N=D-B+A+Big
[0061] Ifl28<D,
[0062] N=64-B+A+Big
[0063] For an FPGA chip with code 10:
[0064] If the binary audio code is > 128,
[0065] N=D-B+A+Big
[0066] If D < 128,
[0067] N=0-B+A+Big
[0068] FIG. 4 is a block diagram of the first cycle mapping sub-module. A principle of the submodule is to enter all input cyclic shift data into a multiplexer, and then immediately output cyclic shift result data based on an input cyclic coefficient, that is, a small cyclic count value, also called a small cyclic amount L. To distinguish from a cyclic shift mode of shifting one bit per cycle, this application calls this process as cycle mapping. For the cycle mapping process, refer to an example shown in FIG. 5. To ensure that the whole system meets a requirement for setup time, a register may be added at an output terminal of the first cycle mapping sub-module. Therefore, the whole module only needs to consume one system clock cycle.
[0069] FIG. 6 is a block diagram of the deleting-1 sub-module. A principle of the deleting-1 submodule is to change the first 1 at the right of n into 0 based on the following formula:
[0070] n=n&(n-l)
[0071] Based on the foregoing formula, an adder and a gate array form a deleting-1 subunit. Based on a recursion idea, the subunit is cascaded, a result of a subunit at each level is output to the multiplexer, and a corresponding output result is selected based on a deletion amount, that is, the quantity ND of power amplifiers. Meaning of a result of a subunit at an nth level is to change n bits of 1 from right to left into 0, that is, to complete code conversion.
[0072] An output result of the deleting-1 sub-module is actually power amplifier state code with a length of 64 bits. The power amplifier state code is different from the foregoing power amplifier state code. The second cycle mapping sub-module performs, on the output result, cycle mapping that the cyclic coefficient of 64 subtracts the small cyclic amount L, to restore an original mapping relationship and obtain the power amplifier control signal.
[0073] In this embodiment of this application, FIG. 7 shows a working procedure of each submodule in the power amplifier control module, that is, control data of the state machine. The working procedure is specifically as follows:
[0074] SO: Wait for a start pulse.
[0075] SI: Use the modification amount calculation sub-module to calculate, based on different device ID, the quantity B of power amplifiers to be additionally turned off, the quantity A of power amplifiers to be additionally turned on, the large cycle amount Big, and the small cycle amount L of the machine, a quantity of power amplifiers to be additionally turned off / on, that is, the modification amount N.
[0076] S2: Map a low part with a width of a small cycle amount L to a high part, so that power amplifiers controlled by an original low part is not in an off state for a long time after passing the deleting-1 sub-module, to achieve effect of "cycle". This process consumes one system clock cycle.
[0077] S3: Because a width of an input bit of a multiplexer in the deleting-1 sub-module is 64 x 64 bits, a combinational logic scale of the sub-module is large, resulting in violation of setup time of the register. Therefore, the deleting-1 sub-module may be multiplexed in a time division manner, to reduce the combinational logic scale of the deleting-1 sub-module. The specific steps includes:
[0078] S3-1: Shift a quantity of power amplifiers to be turned off to the right by 1 bit (that is, divide by 2), and use the result as an input of the deleting-1 sub-module.
[0079] S3-2: Use an output of the deleting-1 sub-module as an input of the deleting-1 sub-module in step S3-3.
[0080] S3-3: The input of the deleting-1 sub-module is a sum of the result obtaining by shifting the quantity of power amplifiers to be turned off to the right by 1 bit and a mod 2 of the quantity of power amplifiers to be turned off. If the highest bit of a calculation result that the quantity of power amplifiers to be turned off subtracts 64 is 1 (that is, ND is less than 64), the input of the deleting-1 sub-module becomes 0. If the highest bit of the calculation result of the quantity of power amplifiers to be turned off subtracts 64 is not 1, the input of the deleting-1 sub-module is still the output of the deleting-1 sub-module in S3-2.
[0081] S3-4: Use the output of the deleting-1 sub-module as an input of the second cycle mapping sub-module in S4.
[0082] S4: Perform, on the 64 bit power amplifier state code in steps S2 and S3, cycle mapping that a cyclic coefficient of 64 subtracts the small cyclic amount L, to restore an original mapping relationship.
[0083] S5: When the data clock is at a high level, output the result of S4 by using a latch.
[0084] In a possible embodiment, output terminals of the first cycle mapping sub-module, the deleting-1 sub-module, and the second cycle mapping sub-module are separately connected with the register.
[0085] For example, the register that is connected with the output terminal of the second cycle mapping sub-module is further connected with a latch. The latch is configured to latch and output the power amplifier control signal when the data clock is at the high level, to ensure that a modulation and coding rate is the same as that of the data clock.
[0086] In a possible embodiment, the power amplifier control module further includes a cyclic modulation and coding control state machine, configured to control working states of the first cycle mapping sub-module, the deleting-1 sub-module, and the second cycle mapping sub-module under control of the start pulse.
[0087] For example, the system further includes a top layer module, configured to separately buffer the power amplifier state code and the binary audio code by using a first input buffer submodule and a second input buffer sub-module, and separately input the power amplifier state code and the binary audio code to the power amplifier control module and the large cycle control module. The first input buffer sub-module and the second input buffer sub-module work under control of a system clock.
[0088] The top layer module outputs, to a subsequent module, a high part of external 12 bit data, that is, the 8 bit binary audio code and the 64 bit power amplifier state code, which is processed by an input buffer module that is driven by the system clock, to minimize a metastable state of the signal.
[0089] Further, the top layer module further includes: a rising edge detection sub-module, configured to detect a rising edge of the data clock and generate a start pulse when the rising edge is detected. A rising edge of a data clock signal may be synchronized with the 8 bit binary audio code by using the rising edge detection sub-module. The rising edge detection sub-module receives the data clock signal and outputs a start pulse with a length of one system clock cycle, and uses the signal as a startup signal of the cyclic modulation and coding control state machine in the power amplifier control module.
[0090] This application further provides an FPGA-based cyclic modulation and coding method of a medium wave transmitter. The method includes the following steps.
[0091] Determine an actual quantity of conducted power amplifiers of each FPGA chip based on input binary audio code and a quantity of FPGA chips.
[0092] Generate a periodic pulse and counting the pulse to obtain a corresponding small cyclic count value.
[0093] Accumulate input power amplifier state code, to obtain a quantity of normal power amplifiers.
[0094] Determine a corresponding modification amount based on a quantity B of power amplifiers that need to be additionally turned off by a current FPGA chip and that are input by other FPGA chips, a quantity A of power amplifiers that need to be additionally turned on and that are input by the other FPGA chips, and a quantity of conducted power amplifiers, and outputting, to the other FPGA chips, a quantity B0 of power amplifiers to be additionally turned off and a quantity A0 of power amplifiers to be additionally turned on.
[0095] Perform multi-selection on input cyclic shift data based on the small cyclic count value, to obtain corresponding cyclic shift result data.
[0096] Perform transcoding on the cyclic shift result data, determine a quantity ND of power amplifiers to be turned off based on the quantity of normal power amplifiers and the modification amount, and performing multi-selection on the cyclic shift result data based on the quantity ND of power amplifiers, to obtain a corresponding output result.
[0097] Perform cycle mapping on the output result, to obtain a corresponding power amplifier control signal.
[0098] Although some preferred embodiments of this application have been described, those skilled in the art can make changes and modifications to these embodiments once they learn the basic inventive concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of this application.
[0099] Apparently, a person skilled in the art can make various changes and modifications to this application without departing from the spirit and scope of this application. This application is intended to cover these modifications and variations provided that they fall within the scope of the claims of the present application and their equivalent technologies.
Claims
08 01 241. A Field Programmable Gate Array (FPGA)-based control system for selection of power amplifiers in a medium wave transmitter, comprising a plurality of FPGA chips connected end to end by using signal lines indicating a quantity of power amplifiers to be additionally turned off for a next FPGA chip and a quantity of power amplifiers to be additionally turned on for the next FPGA chip, to form a loop connection, wherein each FPGA chip comprises:a large cycle control module, configured to determine a quantity of power amplifiers to be turned on of each FPGA chip based on an input binary audio code and a quantity of the plurality of FPGA chips;a small cycle control module, configured to generate a periodic pulse and count the periodic pulse to obtain a corresponding small cyclic count value; anda power amplifier control module, comprising:a counting-1 sub-module, configured to accumulate normal power amplifiers in an input power amplifier state code, to obtain a quantity of normal power amplifiers;a modification amount calculation sub-module, configured to determine a corresponding modification amount based on a quantity B of power amplifiers that need to be additionally turned off by a current FPGA chip and that are input by other FPGA chips, a quantity A of power amplifiers that need to be additionally turned on and that are input by the other FPGA chips, and a quantity of power amplifiers to be turned on, and output, to the other FPGA chips, a quantity BO of power amplifiers to be additionally turned off and a quantity AO of power amplifiers to be additionally turned on;a first cycle mapping sub-module, configured to perform multi-selection on input cyclic shift data based on the small cyclic count value, to obtain corresponding cyclic shift result data;a deleting-1 sub-module, configured to perform transcoding on the cyclic shift result data, determine a quantity ND of power amplifiers to be turned off based on the quantity of normal power amplifiers and the modification amount, and perform multi-selection on the cyclic shift result data based on the quantity ND of power amplifiers, to obtain a corresponding output result; anda second cycle mapping sub-module, configured to perform cycle mapping on the output result, to obtain a corresponding power amplifier control signal.
2. The FPGA-based control system according to claim 1, wherein output terminals of the first cycle mapping sub-module, the deleting-1 sub-module, and the second cycle mapping sub-module are separately connected with a register.08 01 243. The FPGA-based control system according to claim 2, wherein the register that is connected with the output terminal of the second cycle mapping sub-module is further connected with a latch, and the latch is configured to latch and output the power amplifier control signal when a data clock is at a high level.
4. The FPGA-based control system according to any preceding claim, wherein the power amplifier control module further comprises:a cyclic modulation and coding control state machine, configured to control working states of the first cycle mapping sub-module, the deleting-1 sub-module, and the second cycle mapping sub-module under control of a start pulse.
5. The FPGA-based control system according to any preceding claim, further comprising:a top layer module, configured to separately buffer a power amplifier state code and the binary audio code by using a first input buffer sub-module and a second input buffer sub-module, and separately input the power amplifier state code and the binary audio code to the power amplifier control module and the large cycle control module.
6. The FPGA-based control system according to claim 5, wherein the first input buffer submodule and the second input buffer sub-module work under control of a system clock.
7. The FPGA-based control system according to claim 5 or claim 6, wherein the top layer module further comprises:a rising edge detection sub-module, configured to detect a rising edge of the data clock and generate a start pulse when the rising edge is detected.
8. A Field Programmable Gate Array (FPGA)-based control method for selection of power amplifiers in a medium wave transmitter, comprising:determining a quantity of power amplifiers to be turned on of each FPGA chip based on an input binary audio code and a quantity of FPGA chips;generating a periodic pulse and counting the periodic pulse to obtain a corresponding small cyclic count value;accumulating an input power amplifier state code, to obtain a quantity of normal power amplifiers;08 01 24determining a corresponding modification amount based on a quantity B of power amplifiers that need to be additionally turned off by a current FPGA chip and that are input by other FPGA chips, a quantity A of power amplifiers that need to be additionally turned on and that are input by the other FPGA chips, and a quantity of power amplifiers to be turned on, and outputting, to the other FPGA chips, a quantity BO of power amplifiers to be additionally turned off and a quantity AO of power amplifiers to be additionally turned on;performing multi-selection on input cyclic shift data based on the small cyclic count value, to obtain corresponding cyclic shift result data;performing transcoding on the cyclic shift result data, determining a quantity ND of power amplifiers to be turned off based on the quantity of normal power amplifiers and the modification amount, and performing multi-selection on the cyclic shift result data based on the quantity ND of power amplifiers, to obtain a corresponding output result; andperforming cycle mapping on the output result, to obtain a corresponding power amplifier control signal.
9. The FPGA-based control method according to claim 8, wherein the determining the quantity of power amplifiers to be turned on of each FPGA chip based on the input binary audio code and the quantity of FPGA chips comprises:dividing the binary audio code by the quantity of FPGA chips, taking an obtained quotient as the quantity of power amplifiers to be turned on of each FPGA, and distributing a remainder to any of the FPGA chips.
10. The FPGA-based control method according to claim 8 or claim 9, wherein the generating the periodic pulse and counting the pulse to obtain the corresponding small cyclic count value comprises:generating, at regular intervals, a pulse signal with a length of one system clock cycle;after receiving the pulse signal, accumulating by 1 to obtain the small cyclic count value; and after the small cyclic count value is accumulated to a certain value, performing reset processing.
Citation Information
Patent Citations
Amplitude modulation circuit and method
EP0725478A1
Software-configurable multi-function RF module
US20180324967A1
Amplitude modulation using digitally selected carrier amplifiers
US4580111A
