Reconfigurable intelligent electromagnetic metasurface control method and device, equipment and medium
Patent Information
- Application Number
- CN202611121576.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-27
- Publication Date
- 2026-10-20
AI Technical Summary
[0007]本申请提供一种可重构智能电磁超表面的控制方法、装置、设备及介质,可以解决现有技术中存在的有线部署灵活性差、无线传输负载大以及阵列单元切换不同步的技术问题
采用蓝牙无线通信彻底摆脱了线缆束缚,使得超表面可以灵活部署于建筑物外墙、天花板、移动载体等难以布线的场景,避免了有线部署灵活性差的缺陷;
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] This application belongs to the field of wireless communication and artificial electromagnetic materials technology, and specifically relates to a control method, device, equipment and medium for a reconfigurable intelligent electromagnetic metasurface. Background Technology
[0002] A reconfigurable intelligent surface (RIS) is an artificial electromagnetic surface structure with programmable electromagnetic properties. By dynamically controlling parameters such as the amplitude, phase, and polarization of incident electromagnetic waves, it can achieve various functions such as beamforming, anomalous reflection, and wave absorption. A typical reconfigurable metasurface consists of an array of numerous subwavelength unit structures and control circuitry. Each unit structure integrates adjustable elements (such as PIN diodes and varactor diodes), and its electromagnetic response state can be changed by applying different bias voltages to these adjustable elements.
[0003] In existing technologies, a typical reconfigurable metasurface control scheme involves a host computer connected to the metasurface control circuit via a wired serial bus (such as RS232, SPI, or CAN bus). The host computer directly sends phase configuration data for each adjustable unit to the control circuit, which then converts the configuration data into a bias voltage and applies it to each adjustable unit. For a metasurface array containing 256 units, more than 256 bits of configuration data need to be transmitted for each beam switch. Another existing scheme uses a Wi-Fi wireless module to replace the wired connection, sending pre-calculated phase distribution data to the FPGA control chip via a wireless link. The FPGA then receives the data and completes the configuration for each unit.
[0004] The aforementioned existing technical solutions have the following drawbacks: First, wired control methods have poor deployment flexibility. Metasurfaces often need to be installed in locations where wiring is difficult, such as building exterior walls, ceilings, and mobile carriers. Wired connections are extremely inconvenient to operate during installation and maintenance, and cable length limitations also restrict the deployment range of metasurfaces.
[0005] Second, wireless transmission consumes a large amount of bandwidth and lacks real-time performance. For large-scale metasurface arrays, if the complete configuration data of each unit is transmitted directly through a wireless link, hundreds to thousands of bits of data need to be transmitted for each beam switching. On low-power wireless links such as Bluetooth, this amount of data causes significant transmission delays, making it difficult to meet the requirements of real-time beam switching.
[0006] Third, the array element state switching is asynchronous. Existing solutions mostly adopt an element-by-element configuration method, and the update time of the bias voltage of each element is different, resulting in instantaneous beam distortion and gain reduction during beam switching. Summary of the Invention
[0007] This application provides a control method, device, equipment, and medium for a reconfigurable intelligent electromagnetic metasurface, which can solve the technical problems of poor flexibility in wired deployment, high load on wireless transmission, and asynchronous switching of array units in the prior art.
[0008] To achieve the above objectives, this application provides the following technical solution: A control method for a reconfigurable intelligent electromagnetic metasurface is applied to a system including a host computer, a Bluetooth communication module, and a reconfigurable intelligent electromagnetic metasurface control unit. The control unit includes an FPGA control unit and a local memory. The method includes: The beam control command sent by the host computer is received through the Bluetooth communication module. The beam control command includes a codeword index field and command frame header data. After the beam control command is verified based on the command frame header data, the codeword data corresponding to the codeword index field is written into the beam control register inside the FPGA control unit, and a synchronization trigger signal is generated through the timing control module. When the rising edge of the synchronization trigger signal arrives, all bits in the wave control register are output in parallel to the control terminals of each adjustable unit in the metasurface array, so that all adjustable units can complete the state switching within the same clock cycle.
[0009] A control device for a reconfigurable intelligent electromagnetic metasurface is applied to a system including a host computer, a Bluetooth communication module, and a reconfigurable intelligent electromagnetic metasurface control unit. The control unit includes an FPGA control unit and a local memory. The device includes: The information receiving module is configured to receive beam control commands issued by the host computer via the Bluetooth communication module. The beam control commands include a codeword index field and a frame header field. The synchronization trigger signal generation module is configured to generate a synchronization trigger signal after verifying the beam control command based on the command frame header data, write the codeword data corresponding to the codeword index field into the beam control register inside the FPGA control unit; The parallel output driver module is configured to output all bits in the wave control register in parallel to the control terminal of each adjustable unit in the metasurface array when the rising edge of the synchronous trigger signal arrives, so that all adjustable units can complete the state switching within the same clock cycle.
[0010] Based on the same inventive concept, embodiments of this application also provide an electronic device, including: a memory and a processor; the processor is used to read and execute a computer program stored in the memory to implement the steps of the aforementioned control method for a reconfigurable intelligent electromagnetic metasurface.
[0011] Based on the same inventive concept, this application also provides a computer storage medium storing computer-executable instructions, which, when executed, implement the steps of the aforementioned control method for a reconfigurable intelligent electromagnetic metasurface.
[0012] Compared with the prior art, this application has the following advantages: The use of Bluetooth wireless communication completely eliminates the constraints of cables, allowing the metasurface to be flexibly deployed in scenarios where wiring is difficult, such as building exteriors, ceilings, and mobile carriers, thus avoiding the shortcomings of poor flexibility in wired deployment. By using local codebook pre-storage and wireless index transmission mechanism, only a few bytes of command (codeword index) need to be transmitted each beam switch. Compared with directly transmitting the full configuration data, the wireless communication load is reduced by more than an order of magnitude, significantly reducing transmission latency and overcoming the shortcomings of large wireless transmission bandwidth consumption in existing technologies. By adopting a two-step control strategy of codeword indexing and synchronous triggering, the microsecond-level synchronization accuracy of the state switching of all units in the large-scale array is guaranteed, avoiding beam pointing deviation and gain reduction caused by asynchronous switching, and overcoming the defect of asynchronous state switching of array units.
[0013] This application solves the technical problems of poor flexibility in wired deployment, high load on wireless transmission, and asynchronous switching of array units in the prior art.
[0014] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic diagram of the structure of a remote control system according to an embodiment of this application; Figure 2 A flowchart illustrating the method provided in the embodiments of this application; Figure 3 This is a functional module diagram of an embodiment of the control device for the reconfigurable intelligent electromagnetic metasurface of this application; Figure 4This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0018] To address the shortcomings of existing technologies, this application discloses a control method for a reconfigurable intelligent electromagnetic metasurface, applicable to a system including a host computer, a Bluetooth communication module, and a reconfigurable intelligent electromagnetic metasurface control unit, wherein the control unit includes an FPGA control unit and a local memory.
[0019] Reference Figure 1 The reconfigurable intelligent electromagnetic metasurface consists of 256 units (16×16), each integrating a PIN diode as an adjustable element. By controlling the conduction and cutoff of the PIN diodes, each unit switches between two reflection phase states of 0° or 180°, achieving discrete control of the beam direction. The control core of the metasurface is an FPGA chip (such as the Intel Cyclone IV series or Xilinx Artix-7 series).
[0020] The hardware connections are as follows: the TXD pin of the Bluetooth serial port pass-through module is directly connected to the RXD pin of the FPGA chip, and the RXD pin of the Bluetooth module is connected to the TXD pin of the FPGA chip; the VCC and GND of the Bluetooth module are connected to power and ground, respectively. The FPGA chip is connected to an external Flash memory (model W25Q64, capacity 64Mbit) via the SPI bus, which is used to store the codebook file. The 256 output pins of the FPGA chip are connected to the bias voltage input terminals of the 256 PIN diodes in the metasurface array.
[0021] The FPGA chip integrates a UART receiver and parser module, a command parser state machine, an SPI master control module, a codebook register array (256 bits), a timing control module, and a parallel output driver module. All modules are implemented using Verilog hardware description language, synthesized, and then downloaded to the FPGA chip.
[0022] In the Flash memory, a codebook file containing 64 codewords is pre-programmed via the FPGA chip's JTAG interface. Each codeword is 256 bits long, corresponding to the on / off states of 256 PIN diodes. Different codewords correspond to different spatially oriented reflected beams: codeword #0 corresponds to the normal beam, codeword #1 corresponds to a beam with an elevation angle of 30° and an azimuth angle of 0°, codeword #2 corresponds to a beam with an elevation angle of 30° and an azimuth angle of 45°, and so on. The 64 codewords cover the beam orientation required for typical application scenarios. In this way, all possible beam configurations are stored in the local Flash memory in the form of codewords, and subsequent beam switching only requires referencing the corresponding codeword by index.
[0023] The control process of this application includes the following stages: System initialization phase: After the system powers on, the FPGA chip loads the logic firmware from the configuration memory to complete initialization, and the UART receiver module enters a waiting state. The SPI master control module inside the FPGA reads the index table of the codebook file from the Flash memory and loads it into the FPGA's internal RAM for later use. The Bluetooth serial port pass-through module enters a broadcast state, waiting for the host computer to connect. The host computer searches for and pairs with the Bluetooth module, establishing a BLE-UART wireless pass-through link.
[0024] In the beam switching command issuance phase: The host computer pre-stores a codeword index mapping table, recording the correspondence between each index number and the target beam direction. The host computer does not store any complete codeword data locally. When beam switching is required, the host computer looks up the corresponding codeword index value (e.g., index 1) according to the target direction, and then generates a very simple binary control command: frame header 0xAA (1 byte) + codeword index value (1 byte), the entire command is 2 bytes long, informing the FPGA of the codeword number to be called. The host computer sends the above 2-byte command to the Bluetooth serial port pass-through module of the metasurface via the Bluetooth module, and the Bluetooth module transmits it to the UART receiver of the FPGA control unit. In this way, compared with the traditional solution that transmits complete configuration data each time, this application only needs to transmit 16 bits (2 bytes) of wireless link for each beam switching, which meets the low latency requirement of real-time beam switching.
[0025] Preloading Phase: After the UART receiving and parsing module of the FPGA chip captures the complete data packet, it commands the parsing state machine to verify and validate the data packet. Upon successful verification, the state machine extracts the codeword index value (1 in this embodiment). The SPI master control module inside the FPGA calculates the storage address of the codeword in the Flash memory based on this index, initiates a read operation via the SPI bus, reads 256 bits of codeword #1 data from the Flash, and writes these 256 bits bit by bit into the dedicated beam control register inside the FPGA. Throughout the preloading process, the parallel output driver module maintains the level of its output pins unchanged, the PIN diodes of the metasurface array continue to maintain their original bias state, and the beam pointing remains unchanged. Thus, the preloading phase decouples the time-consuming Flash read operation from the final physical switching, preparing for subsequent synchronous triggering.
[0026] After the FPGA chip completes the writing of codeword data to the beam control register, the timing control module immediately generates a synchronous trigger pulse. When the rising edge of this synchronous trigger pulse arrives, the parallel output drive module latches all bits in the beam control register to the output pins of the FPGA chip at once. The voltage levels of each pin are updated synchronously, thereby changing the bias state of all adjustable units simultaneously. The metasurface array completes beam switching within the same clock cycle.
[0027] In some specific embodiments, reference is made to Figure 2 The method includes: Step S10: Receive beam control command from the host computer via the Bluetooth communication module. The beam control command includes a codeword index field and command frame header data. In this embodiment, the reconfigurable intelligent electromagnetic metasurface consists of a metasurface array, an FPGA control unit, and a local memory (Flash chip). The FPGA control unit is directly connected to the Bluetooth module via a UART serial interface and to the local memory via an SPI bus. Its output port is connected in parallel to the control terminal (such as the bias voltage input terminal of the PIN diode) of each adjustable unit in the metasurface array.
[0028] The FPGA control unit integrates a UART receiver / parser module, a command parsing state machine, an SPI master control module, a codebook register array, a timing control module, and a parallel output driver module. All modules are implemented in Verilog. The UART receiver / parser module receives beam control commands transmitted through the Bluetooth communication module; the command parsing state machine verifies and parses the beam control commands; the SPI master control module reads codeword data from local memory via the SPI bus; the codebook register array temporarily stores the read codeword data; the timing control module immediately generates a synchronization trigger pulse after the FPGA chip completes writing the codeword data to the beam control register; and the parallel output driver module latches all bits in the beam control register in parallel to the output pins of the FPGA control unit. Thus, all control logic is integrated within a single FPGA chip, eliminating the need for additional microcontrollers or dedicated interface chips, simplifying the hardware architecture, and reducing material costs and printed circuit board area.
[0029] After the system powers on, the FPGA completes its configuration, initializes the UART module, and waits for a Bluetooth connection. Once the host computer successfully pairs with the Bluetooth module, it can send beam control commands.
[0030] After the FPGA's UART receiver module captures the complete data packet, it performs a command parsing state machine check and verification to extract the codeword index and command frame header data. The Bluetooth module uses a BLE-UART transparent transmission module (such as JDY-23 or HC-42) to establish a wireless connection with the host computer and transparently transmits beam control commands from the host computer to the FPGA via UART.
[0031] The beam control command uses a binary protocol format and consists of a frame header field and a codeword index field. The frame header field identifies the start of the command (0xAA in this embodiment), and the codeword index field (1 byte, value range 0~255) indicates the codeword number to be invoked. The host computer retrieves the corresponding codeword index from a table based on the target beam direction, fills the index into the command, and sends it via Bluetooth. The entire command is 2 bytes long.
[0032] Furthermore, in one embodiment, the method further includes: A codebook file is pre-stored in the local memory so that the FPGA control unit can search for the codebook data corresponding to the codeword index field in the local memory of the pre-stored codebook file according to the received beam control command containing the codeword index field, and write the codeword data into the beam control register inside the FPGA. The codebook file contains multiple codewords, each of which is a binary sequence of length equal to the total number of metasurface units, used to map to a combination of bias states of all tunable units in the metasurface array.
[0033] In this embodiment, a codebook file is pre-stored in the local memory. This codebook contains multiple codewords, each of which is a binary sequence with a length equal to the total number of metasurface units, uniquely mapped to a specific combination of bias states for all adjustable units. The metasurface units have multiple operating states, corresponding to multiple bias states. The operating state of the metasurface is switched by adjusting the bias states. For example, for a 16×16 array, each codeword is 256 bits, corresponding to the on / off state of each PIN diode, thereby generating reflected beams pointing in different spatial directions. Therefore, the host computer does not need to transmit the full configuration data each time, but only transmits byte-level codeword indices, reducing the wireless communication load by more than an order of magnitude.
[0034] Furthermore, in one embodiment, the local memory is a Flash chip, and the codebook file is pre-programmed into the Flash chip via the JTAG interface of the FPGA control unit.
[0035] In this embodiment, the local memory is a Flash chip, and the codebook file is either pre-programmed into the Flash chip via the JTAG interface of the FPGA control unit. Thus, the codebook data is locally stored before the metasurface leaves the factory or is deployed, and the FPGA reads it directly from the Flash after power-on, without relying on a wireless link to transmit large amounts of initialization data.
[0036] Step S20: After the beam control command is verified based on the command frame header data, the codeword data corresponding to the codeword index field is written into the beam control register inside the FPGA control unit, and a synchronization trigger signal is generated through the timing control module. In some specific embodiments, step S20 includes: Read the corresponding codeword data from the local memory according to the codeword index; The codeword data is written into the wave control register inside the FPGA control unit, and a synchronous trigger signal is generated through the timing control module. During this process, the control output of each unit of the metasurface array remains unchanged.
[0037] In this embodiment, the beam control command sent from the host computer to the FPGA uses the command frame header data as verification. For example, if the host computer sends a frame header (0xAA), and the FPGA correctly receives the frame header (0xAA), it indicates that the communication is normal and valid; otherwise, the beam control command is invalid. The SPI master control module inside the FPGA reads the corresponding codeword data from the local memory via the SPI bus according to the codeword index and writes the codeword bit by bit into the dedicated beam control register inside the FPGA. After the FPGA chip completes the writing of the codeword data to the beam control register, the timing control module immediately generates a synchronous trigger pulse signal. This process is called "preloading." At this time, the control output pins of each unit of the metasurface remain in their original state, and no actual switching occurs.
[0038] Step S30: When the rising edge of the synchronization trigger signal arrives, all bits in the wave control register are output in parallel to the control terminals of each adjustable unit in the metasurface array, so that all adjustable units can complete the state switching within the same clock cycle.
[0039] In this embodiment, when the rising edge of the synchronization trigger pulse arrives, the parallel output drive module latches all bits in the wave control register to the output pin of the FPGA at once, thereby simultaneously changing the control voltage (bias voltage of the PIN diode) of all adjustable units, so that the metasurface array completes the state switching within the same clock cycle, achieving microsecond-level synchronization accuracy.
[0040] The adjustable unit is a PIN diode, and the discrete control of the reflection phase is achieved by switching the conduction and cutoff states of the PIN diode. Therefore, each unit requires only 1 bit of control signal, the codeword length is equal to the number of units, and the codebook storage space is minimized.
[0041] In this embodiment, when the rising edge of the synchronization trigger signal arrives, all bits in the wave control register are output in parallel to the control terminals of each adjustable unit in the metasurface array, so that all adjustable units can complete state switching within the same clock cycle. The use of Bluetooth wireless communication completely eliminates the constraints of cables, allowing the metasurface to be flexibly deployed in scenarios where wiring is difficult, such as building exteriors, ceilings, and mobile platforms, avoiding the shortcomings of poor flexibility in wired deployments. By using local codebook pre-storage and wireless index transmission mechanism, only a few bytes of command (codeword index) need to be transmitted each beam switch. Compared with directly transmitting the full configuration data, the wireless communication load is reduced by more than an order of magnitude, significantly reducing transmission latency and overcoming the shortcomings of large wireless transmission bandwidth consumption in existing technologies. The two-step control strategy of preloading and synchronous triggering ensures microsecond-level synchronization accuracy of state switching of all units in a large-scale array, avoids beam pointing deviation and gain reduction caused by asynchronous switching, and overcomes the defect of asynchronous state switching of array units.
[0042] This embodiment solves the technical problems of poor flexibility in wired deployment, high load on wireless transmission, and asynchronous switching of array units in the prior art.
[0043] Furthermore, in one embodiment, the method further includes: The FPGA control unit receives a codebook update command from the host computer via the Bluetooth communication module. The codebook update command contains new codeword data. The FPGA control unit erases a designated storage area of the local memory according to the codebook update command, writes the new codeword data into the local memory, and allocates a new codeword index.
[0044] In this embodiment, the application further adds an online codebook update function. The FPGA control unit receives a codebook update command from the host computer via a Bluetooth communication module. The codebook update command contains new codeword data. The FPGA control unit erases a specified storage area in its local memory according to the codebook update command, writes the new codeword data into the local memory, and allocates a new codeword index. Therefore, the codebook supports online dynamic expansion. Even after the metasurface is deployed, new beam patterns can still be remotely added via Bluetooth, adapting to changing communication environments and further enhancing the system's flexibility and scalability.
[0045] Specifically, the FPGA chip internally implements a Flash programming state machine, which is used to perform sector erase and page programming operations on the Flash memory via the SPI bus.
[0046] When a new beam pattern needs to be added, the host computer generates a codebook update command. This command includes a command type identifier (0x02 indicates a codebook update), new codeword data (256 bits), and an optional codeword index allocation request. The host computer sends the codebook update command containing the new codeword data via Bluetooth. After receiving the command, the FPGA chip's UART receiver and parsing module recognizes it as an update command, triggering the Flash programming state machine to enter programming mode. The Flash programming state machine erases the specified sector of the Flash memory via the SPI bus, writes the new codeword data page by page, and allocates a new codeword index (e.g., #65). After writing is complete, the index table in the FPGA's internal RAM is updated. In this way, the system can still dynamically expand the codebook after deployment to adapt to changes in the communication environment or the need for adding new beam patterns, without physical contact with the metasurface device.
[0047] After the codebook update is complete, the host computer sends a beam control command specifying the new codeword index. Subsequent steps are the same as in the above embodiment and will not be repeated here. Thus, the codewords updated online and the pre-stored codewords are completely identical in their calling method, and the upper-level control logic of the system does not need to distinguish the source of the codewords. This process proves that this application not only supports calling static codebooks but also supports dynamically expanding codebooks, greatly enhancing the system's flexibility.
[0048] Furthermore, in one embodiment, the method further includes: The beam control command also includes a subarray selection mask field; The FPGA control unit maintains a subarray mapping table internally, and performs codeword writing and synchronization triggering only on the wave control register corresponding to the selected subarray based on the subarray selection mask field.
[0049] In this embodiment, for large-scale metasurface arrays, independent subarray control is supported. The beam control command sent by the host computer also includes a subarray selection mask field. The FPGA control unit internally maintains an independent beam control register corresponding to each subarray. Based on the subarray selection mask field, codeword writing and synchronous triggering are performed only on the beam control register corresponding to the selected subarray, realizing independent partition control of the metasurface array. Thus, the same physical metasurface can be divided into multiple logically independent regions, each region can be configured with different beam directions simultaneously, meeting the application requirements of spatial division multiplexing and partitioned coverage, further enhancing the system's flexibility and scalability.
[0050] Specifically, for large-scale metasurface arrays, this embodiment divides them into four independent subarrays, each consisting of 64 cells, corresponding to independent wave control register groups within the FPGA chip. The FPGA chip maintains a subarray mapping table, recording the cell address range and corresponding wave control register base address for each subarray.
[0051] A subarray selection field is added to the beam control command sent by the host computer. The selected subarray is represented by a bitmap (4 bits). After the FPGA chip's command parsing state machine parses the subarray selection field, it determines the address range of the beam control register group to be operated through the subarray mapping table. Only the selected subarray is subjected to codeword preloading and synchronization triggering operations, while the unselected subarrays retain their original beam state. The FPGA chip's timing control module independently generates synchronization trigger signals for different subarrays. The synchronization triggering time of each subarray is controlled by the delay parameters carried in the command, realizing timing coordination between subarrays. For example, the subarray selection field 0b0101 indicates that subarray 1 and subarray 3 are selected. After FPGA parsing, only subarray 1 and subarray 3 are configured with codeword #2, and after the corresponding codeword data is written to the beam control register inside the FPGA control unit, a synchronization trigger signal is generated. In this way, different regions of the same physical metasurface can maintain different beam directions simultaneously, realizing independent control of the same physical surface and meeting more complex spatial multiplexing requirements.
[0052] Based on the same inventive concept, embodiments of this application also provide a control device for a reconfigurable intelligent electromagnetic metasurface.
[0053] In one embodiment, reference is made to Figure 3 , Figure 3 This is a functional module diagram of an embodiment of the control device for the reconfigurable intelligent electromagnetic metasurface of this application. Figure 3 As shown, the control device for the reconfigurable intelligent electromagnetic metasurface is applied to a system including a host computer, a Bluetooth communication module, and a reconfigurable intelligent electromagnetic metasurface control unit. The control unit includes an FPGA control unit and a local memory, comprising: The information receiving module 10 is configured to receive beam control commands issued by the host computer via the Bluetooth communication module. The beam control commands include a codeword index field and command frame header data. The synchronization trigger signal generation module 20 is configured to write the codeword data corresponding to the codeword index field into the beam control register inside the FPGA control unit after the beam control command is verified based on the command frame header data, and generate a synchronization trigger signal through the timing control module. The parallel output driver module 30 is configured to output all bits in the wave control register in parallel to the control terminal of each adjustable unit in the metasurface array when the rising edge of the synchronous trigger signal arrives, so that all adjustable units can complete the state switching within the same clock cycle.
[0054] Furthermore, in one embodiment, the control device for the reconfigurable smart electromagnetic metasurface further includes a codebook file pre-storage module, configured to: A codebook file is pre-stored in the local memory so that the FPGA control unit can search for the codebook data corresponding to the codeword index field in the local memory of the pre-stored codebook file according to the received beam control command containing the codeword index field, and write the codeword data into the beam control register inside the FPGA. The codebook file contains multiple codewords, each of which is a binary sequence of length equal to the total number of metasurface units, used to map to a combination of bias states of all tunable units in the metasurface array.
[0055] Furthermore, in one embodiment, the local memory is a Flash chip, and the codebook file is pre-programmed into the Flash chip via the JTAG interface of the FPGA control unit.
[0056] Furthermore, in one embodiment, the beam control command adopts a binary protocol format and includes at least a frame header field and the codeword index field.
[0057] Furthermore, in one embodiment, the synchronization trigger signal generation module 20 is configured to: Read the corresponding codeword data from the local memory according to the codeword index; The codeword data is written into the wave control register inside the FPGA control unit, and a synchronous trigger signal is generated through the timing control module. During this process, the control output of each unit of the metasurface array remains unchanged.
[0058] Furthermore, in one embodiment, the FPGA control unit receives a codebook update command issued by the host computer via the Bluetooth communication module, the codebook update command containing new codeword data; The FPGA control unit erases a designated storage area of the local memory according to the codebook update command, writes the new codeword data into the local memory, and allocates a new codeword index.
[0059] Furthermore, in one embodiment, the beam control command further includes a subarray selection field; The FPGA control unit maintains a subarray mapping table internally, and performs codeword writing and synchronization triggering only on the wave control register corresponding to the selected subarray according to the subarray selection field.
[0060] The functions of each module in the control device for the reconfigurable intelligent electromagnetic metasurface correspond to the steps in the control method embodiment for the reconfigurable intelligent electromagnetic metasurface, and their functions and implementation processes will not be described in detail here.
[0061] Based on the same inventive concept, embodiments of this application also provide an electronic device, the structure of which is as follows: Figure 4As shown, it includes: a memory and a processor, wherein the processor is used to read and execute the computer program stored in the memory to implement the aforementioned control method for a reconfigurable intelligent electromagnetic metasurface.
[0062] Based on the same inventive concept, this application also provides a computer storage medium storing computer-executable instructions, which, when executed, implement the aforementioned control method for a reconfigurable intelligent electromagnetic metasurface.
[0063] Finally, it should be noted that while some processes described in the embodiments of this application include multiple operations or steps that appear in a specific order, it should be understood that these operations or steps may not be executed in the order they appear in the embodiments of this application, or may be executed in parallel. The sequence number of the operation is only used to distinguish different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed sequentially or in parallel, and these operations or steps may be combined.
[0064] Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A control method for a reconfigurable intelligent electromagnetic metasurface, applied to a system including a host computer, a Bluetooth communication module, and a reconfigurable intelligent electromagnetic metasurface control unit, wherein the control unit includes an FPGA control unit and a local memory, characterized in that, The method includes: The beam control command sent by the host computer is received through the Bluetooth communication module. The beam control command includes a codeword index field and command frame header data. After the beam control command is verified based on the command frame header data, the codeword data corresponding to the codeword index field is written into the beam control register inside the FPGA control unit, and a synchronization trigger signal is generated through the timing control module. When the rising edge of the synchronization trigger signal arrives, all bits in the wave control register are output in parallel to the control terminals of each adjustable unit in the metasurface array, so that all adjustable units can complete the state switching within the same clock cycle.
2. The method according to claim 1, characterized in that, Before receiving the beam control command issued by the host computer via the Bluetooth communication module, the method further includes: A codebook file is pre-stored in the local memory so that the FPGA control unit can search for the codebook data corresponding to the codeword index field in the local memory of the pre-stored codebook file according to the received beam control command containing the codeword index field, and write the codeword data into the beam control register inside the FPGA. The codebook file contains multiple codewords, each of which is a binary sequence of length equal to the total number of metasurface units, used to map to a combination of bias states of all tunable units in the metasurface array.
3. The method according to claim 2, characterized in that, The local memory is a Flash chip, and the codebook file is pre-programmed into the Flash chip through the JTAG interface of the FPGA control unit.
4. The method according to claim 1, characterized in that, The beam control command adopts a binary protocol format and includes at least a frame header field and a codeword index field.
5. The method according to claim 1, characterized in that, The step of writing the codeword data corresponding to the codeword index field into the wave control register inside the FPGA control unit, and generating a synchronization trigger signal through the timing control module, includes: Read the corresponding codeword data from the local memory according to the codeword index; The codeword data is written into the wave control register inside the FPGA control unit, and a synchronous trigger signal is generated through the timing control module. During this process, the control output of each unit of the metasurface array remains unchanged.
6. The method according to claim 1, characterized in that, The method further includes: The FPGA control unit receives a codebook update command from the host computer via the Bluetooth communication module. The codebook update command contains new codeword data. The FPGA control unit erases a designated storage area of the local memory according to the codebook update command, writes the new codeword data into the local memory, and allocates a new codeword index.
7. The method according to claim 1, characterized in that, The method further includes: The beam control command also includes a subarray selection field; The FPGA control unit maintains a subarray mapping table internally, and performs codeword writing and synchronization triggering only on the wave control register corresponding to the selected subarray according to the subarray selection field.
8. A control device for a reconfigurable intelligent electromagnetic metasurface, applied in a system including a host computer, a Bluetooth communication module, and a reconfigurable intelligent electromagnetic metasurface control unit, wherein the control unit includes an FPGA control unit and a local memory, characterized in that, The device includes: The information receiving module is configured to receive beam control commands issued by the host computer via the Bluetooth communication module. The beam control commands include a codeword index field and a frame header field. The synchronization trigger signal generation module is configured to generate a synchronization trigger signal after verifying the beam control command based on the command frame header data, write the codeword data corresponding to the codeword index field into the beam control register inside the FPGA control unit; The parallel output driver module is configured to output all bits in the wave control register in parallel to the control terminal of each adjustable unit in the metasurface array when the rising edge of the synchronous trigger signal arrives, so that all adjustable units can complete the state switching within the same clock cycle.
9. An electronic device, characterized in that, include: Memory, processor; The processor is configured to read and execute the computer program stored in the memory to implement the steps of the control method for a reconfigurable intelligent electromagnetic metasurface as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed, implement the steps of the control method for a reconfigurable intelligent electromagnetic metasurface as described in any one of claims 1-7.