A method and system for generating radio frequency signals by wireless remote control beacon equipment
Through wireless remote control of beacon equipment, the production of radio frequency signals for tower calibration is achieved using Raspberry Pi computers and radio stations, solving the problems of low efficiency of tower calibration and long-term power-up of signal sources, and achieving efficient and reliable Tower standard calibration operation.
Patent Information
- Application Number
- CN202110651831.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-10
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-06-10
AI Technical Summary
In the process of building towers, there are long-term and low-efficiency links such as personnel, vehicles, construction environment, communication and coordination during the existing towers, and the signal source is not suitable for long-term power-up work, especially in frequent tower schools, wasting manpower and material resources.
The method of wireless remote control beacon equipment to generate radio frequency signals is adopted, and the command is generated through the ground station Raspberry Pi minicomputer, which is wirelessly transmitted to the Raspberry Pi computer through the radio station, and then the command is interpreted and automatically sent to the signal source or beacon ball. Achieve RF signal production and feedback, and adopt a dual redundant backup solution to improve reliability.
It significantly shortens the preparation time for tower standards, saves human and material resources, improves efficiency and reliability, avoids misoperation in manual communication, and is suitable for field erecting without energy supply.
Smart Images

Figure CN114578299B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of signal generation, and more specifically, to a method and system for generating radio frequency signals by a wireless remote control beacon device. Background Art
[0002] Tower calibration is an important way to calibrate the phase of the radar system and verify the status of the equipment. Usually, during the implementation of tower calibration, the personnel need to move the signal source equipment to the calibration tower 5 kilometers away, go to the top of the tower to manually build the beacon generation environment, and communicate with the ground station through telephone or intercom to open the signal source and modify the frequency. During manual communication, personnel carry intercoms and signal source equipment to the calibration tower; when the signal parameters need to be changed, the ground station personnel communicate the needs through intercoms or internal telephones. However, the calibration tower is a reinforced concrete structure, and in general, the ground station room is located in the steel structure, which leads to a more significant electromagnetic shielding effect of the wireless channel between the two. There is a lot of noise in the intercom channel, the sound quality is poor, and sometimes misoperation requires repeated changes. When using telephone communication, personnel on the calibration tower are required to be on duty for a long time, for example, about 3 hours each time.
[0003] The entire process of tower calibration involves many links such as personnel, vehicles, construction environment, communication and coordination. The organization and implementation is time-consuming and inefficient, and the process needs to be repeated every time the tower is calibrated. For specific applications that require frequent tower calibration, for example, an average of more than 20 times a year, a lot of manpower and material resources are wasted. In addition, the signal source, as a valuable instrument, is not suitable for continuous long-term power-on work. Summary of the invention
[0004] In view of the shortcomings of the prior art, the purpose of the present invention is to propose a method and system for wireless remote control of beacon devices to generate radio frequency signals, which are wirelessly sent to the calibration tower via the ground station radio station. The calibration tower radio station receives the command and forwards it to the Raspberry Pi minicomputer. After interpreting the command content, it automatically sends an execution command to one of the three beacon devices, the signal source, the first beacon ball or the second beacon ball. After the beacon device executes the command, the required radio frequency signal is generated. The execution result of the beacon device is fed back to the ground station Raspberry Pi minicomputer through the above reverse process for display. Specifically, the present invention uses the beacon ball and the signal source to form a dual redundant backup solution. The beacon ball has a simple structure and low price, which can meet the calibration requirements of the ground station. The present invention uses a wireless method to remotely control the beacon device to generate a radio frequency signal. And the method and system according to the present invention can generate a variety of radio frequency signals, that is, the present invention uses two beacon balls, each beacon ball generates a radio frequency signal of a frequency band. The two beacon balls are combined together with the signal source to form a dual redundant backup solution. When it is necessary to generate a signal of a certain frequency band, the beacon ball of the corresponding frequency band can be turned on, and the signal source can also be turned on. The beacon signal generating system in the system for generating radio frequency signals by the wireless remote control beacon device of the present invention transmits signals wirelessly through a radio station, generates and interprets instructions through a Raspberry Pi, and executes instructions and generates radio frequency beacon signals through a beacon device. The present invention is low-cost, fast and efficient, saves time and effort, and can achieve remote control of the calibration tower beacon device at the ground station to generate the required wireless radio frequency signals, thereby efficiently carrying out the calibration work of the ground station on the tower. When complex signal patterns are not required and beacon calibration needs to be set up in the field without energy supply, the method and system for generating radio frequency signals by the wireless remote control beacon device of the present invention can use only a beacon ball, without a signal source, and is powered by a small lithium battery and a power adapter. The flexibility of beacon deployment is improved.
[0005] The technical solution of the present invention is as follows:
[0006] A method for generating a radio frequency signal by a wireless remote control beacon device, which specifically comprises the following steps:
[0007] S1: Select the target to be controlled, which includes the signal source and multiple beacon balls; fill in the command frame address information according to the control target;
[0008] S2: The Raspberry Pi computer at the ground station generates a first command frame, which is wirelessly sent to the calibration tower via a small radio station at the ground station;
[0009] S3: The calibration tower small radio station receives the first command frame transmitted from the ground station small radio station, and transmits it to the calibration tower Raspberry Pi computer as the second command frame;
[0010] S4: The calibration tower Raspberry Pi computer performs a format check on the second command frame received by its first USB interface; the format check includes an integrity check and a length check;
[0011] S5: If the integrity check and / or the data packet length fails, it is determined that the format check fails, and the second command frame received by the first USB interface of the Raspberry Pi computer of this calibration tower is discarded;
[0012] If both the integrity check and the data packet length check pass, the format check is determined to have passed, and the process goes to step S6;
[0013] S6: performing a check code check on the second command frame that passes the format check, wherein the check code check is performed in a field check manner;
[0014] If no field loss occurs, it is determined that the field check has passed; and the process goes to step S7;
[0015] If field loss occurs, the field check is determined to have failed, and the command frame that has passed the format check is discarded;
[0016] S7: Parse the command frame:
[0017] When the address information of the command frame is the signal source address, proceed to step S8;
[0018] When the address information of the command frame is the first beacon ball address or the second beacon ball address, proceed to step S9;
[0019] S8: The calibration tower Raspberry Pi computer is reassembled to obtain a third command frame, and then the process goes to step S10;
[0020] S9: Perform frequency verification through a preset confidence interval. If the original frequency range does not match the confidence interval, discard the second command frame; if the original frequency range matches the confidence interval, proceed to step S10;
[0021] S10: Send a legal instruction to the first beacon ball, the second beacon ball or the signal source; if the calibration tower Raspberry Pi computer sends an instruction to the beacon ball, then go to S11; if the calibration tower Raspberry Pi computer sends an instruction to the signal source, then go to S14;
[0022] S11: If a legal instruction is sent to the beacon ball in step S10, the beacon ball responds, executes the received second command frame, performs corresponding actions, and feeds back a response frame to the calibration tower Raspberry Pi computer; the response frame is created by the beacon ball, and the response frame is the first response frame.
[0023] S12: The Raspberry Pi computer on the calibration tower transmits the response frame in the initial format to the Raspberry Pi computer on the ground station via the small radio station on the calibration tower and the small radio station on the ground station;
[0024] S13: The Raspberry Pi computer at the ground station verifies the received response frame, where the response frame is the second response frame; if the verification is passed, the parameter information of the beacon ball is prompted on the user display interface of the Raspberry Pi computer at the ground station; the parameter information of the beacon ball includes device status and frequency, wherein the device status parameter of the beacon ball includes on or off;
[0025] S14: If the third command frame is sent to the signal source in step S10, the calibration tower Raspberry Pi computer issues a query command to obtain parameters of the signal source, wherein the parameters include device status, amplitude and frequency;
[0026] S15: If the parameters of the current signal source are not read within the preset time interval, the system times out; the calibration tower Raspberry Pi computer stops reading the signal source parameters, returns a preset number of bytes to the ground station Raspberry Pi computer through the calibration tower small radio and the ground station small radio, and issues a signal source prompt to the user;
[0027] If the device state, amplitude and frequency parameters of the current signal source are read within the preset time interval, the device state, amplitude and frequency parameters of the current signal source are combined into a fourth command frame; and the process goes to step S16;
[0028] S16: The Raspberry Pi computer on the calibration tower generates a check code, and transmits the fourth command frame with the check code back to the Raspberry Pi computer on the ground station through the small radio station on the calibration tower and the small radio station on the ground station for verification;
[0029] S17: If the verification is passed, the parameter information of the current signal source device is displayed on the display interface of the Raspberry Pi computer at the ground station, and the setting of the signal source is completed.
[0030] Preferably, the first frequency device is calibrated by the first beacon ball, and the second frequency device is calibrated by the second beacon ball. The first frequency ranges from 2 to 4 GHz, and the second frequency ranges from 22 to 40 GHz.
[0031] Preferably, the ground station Raspberry Pi computer generates a first command frame and transmits the first command frame to the USB interface of the ground station Raspberry Pi computer, and then transmits the first command frame wirelessly to the calibration tower via the ground station small radio via a USB to RS485 data cable.
[0032] Preferably, the integrity check is as follows: whether the format of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is complete; if the frame header and frame tail exist, it is determined that the format of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is complete; if the frame and / or frame tail do not exist, it is determined that the format of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is incomplete.
[0033] Preferably, it is determined whether the length of the data packet of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is consistent with the value of the frame length field in the command frame received by the first USB interface of the calibration tower Raspberry Pi computer. If the length of the data packet is equal to the value of the frame length field, the length check passes; if the length of the data packet is not equal to the value of the frame length field, the length check fails.
[0034] Preferably, if the original frequency range matches the confidence interval, the following operations are performed:
[0035] When the address information in the command frame is the first beacon ball address, the second command frame is sent to the second USB interface of the calibration tower Raspberry Pi computer;
[0036] When the address information of the command frame is the second beacon ball address, the second command frame is sent to the third USB interface of the calibration tower Raspberry Pi computer.
[0037] Preferably, after the fourth command frame with the verification code is transmitted to the first USB interface of the Raspberry Pi computer on the calibration tower, it is transmitted back to the RS485 interface of the calibration tower small radio through the corresponding data line, transmitted to the ground station small radio through the calibration tower small radio, and from the RS485 interface of the ground station small radio through the corresponding data line to the USB interface of the Raspberry Pi computer on the ground station. The Raspberry Pi computer on the ground station verifies the fourth command frame transmitted back through the USB interface.
[0038] Preferably, starting from the second field of the fourth command frame to the data field of the fourth command frame, verification is performed one by one; the verification process is as follows:
[0039] (1) Check whether the data frame header and frame trailer fields are consistent with the format requirements: the command frame header is 0x7F and the frame trailer is 0x7D;
[0040] (2) Check whether the command frame data packet length is consistent with the "protocol length" field filled in the command frame;
[0041] (3) Calculate the XOR sum of all the data from the second to the second last byte in the command data frame and check whether it is consistent with the "check" field filled in the command frame;
[0042] (4) If the above three checks are consistent with the requirements, the verification passes.
[0043] Preferably, the third command frame sent to the network port of the Raspberry Pi computer of the calibration tower is transmitted to the network port of the signal source via the network cable; the second command frame sent to the second USB interface of the Raspberry Pi computer of the calibration tower is transmitted to the RS485 interface of the first beacon ball via the data line; the second command frame sent to the third USB interface of the Raspberry Pi computer of the calibration tower is transmitted to the RS485 interface of the second beacon ball via the data line; preferably, the beacon ball establishes a response frame and transmits it to the corresponding USB interface of the Raspberry Pi computer of the calibration tower via the data line through the RS485 interface of the beacon ball.
[0044] Preferably, the first field in the response frame is 7FH, so as to ensure that it can pass the frame format check smoothly. The content of the first field of the response frame is preset when the calibration tower Raspberry Pi computer sends the second command frame to the beacon ball.
[0045] Compared with the prior art, the advantages of the present invention are:
[0046] The method and system for generating radio frequency signals by wireless remote control beacon equipment of the present invention include two Raspberry Pi minicomputers, two mini radio stations, one signal source, a first beacon ball, and a second beacon ball, wherein the first beacon ball is a beacon ball that generates a certain frequency band, and the second beacon ball is a beacon ball that generates another certain frequency band. In the calibration tower, one Raspberry Pi minicomputer is connected to the signal source, the first beacon ball, the second beacon ball, and a radio station; in the ground station, another Raspberry Pi minicomputer is connected to another radio station. The Raspberry Pi minicomputer of the ground station edits and generates instructions, and the instructions are wirelessly sent to the calibration tower via the ground station radio station. After receiving the instructions, the calibration tower radio station sends them to the Raspberry Pi minicomputer of the calibration tower. After interpreting the instructions, the Raspberry Pi minicomputer forms an execution instruction and sends it to the signal source, the first beacon ball, the second beacon ball, and other beacon equipment. The beacon equipment executes the instructions and generates the required radio frequency signals. The radio frequency signals are sent wireless radio frequency signals via the inherent antenna of the calibration tower. After receiving the radio frequency signals, the ground station can carry out the calibration work of the tower. At the same time, the status of the beacon ball and signal source on the calibration tower is transmitted back to the Raspberry Pi minicomputer at the ground station via the radio. Figure 1The present invention relates to a wireless remote control beacon device generating radio frequency signal system, which includes 2 Raspberry Pi minicomputers, 2 radio stations, a signal source, a first beacon ball, and a second beacon ball. In the calibration tower, a Raspberry Pi minicomputer is used to connect to the signal source, the first beacon ball, the second beacon ball and the radio station respectively; in the ground station, a Raspberry Pi minicomputer is used to connect to the radio station. Among them, the Raspberry Pi minicomputer is connected to the radio station and the second beacon ball through a USB to RS232 data cable, and the RS232 protocol is used for communication; the Raspberry Pi minicomputer is connected to the first beacon ball through a USB to RS85 data cable, and the RS485 protocol is used for communication; the Raspberry Pi minicomputer is connected to the signal source through an RJ45 network cable, and the LXI protocol is used for communication. The Raspberry Pi minicomputer at the ground station can edit and generate instructions for controlling the beacon device to modify a certain frequency and output a signal; the Raspberry Pi minicomputer at the calibration tower can receive and interpret the content of the instruction, and automatically send an execution instruction to generate a certain frequency radio frequency signal to the beacon ball and the signal source. The Raspberry Pi computer at the ground station generates instructions. The specific transmission process of the instructions is as follows: the instructions are wirelessly sent to the calibration tower radio station via the ground station radio station. After receiving the instructions, the calibration tower radio station forwards them to the Raspberry Pi computer at the calibration tower. The Raspberry Pi computer at the calibration tower interprets the instructions and generates execution instructions to one of the three beacon devices: the signal source, the first beacon ball or the second beacon ball. The beacon device executes the instructions and generates the required radio frequency signal. At the same time, the status of the beacon ball and the signal source is fed back to the Raspberry Pi computer at the calibration tower. The Raspberry Pi computer at the calibration tower summarizes the feedback information and transmits it back to the Raspberry Pi computer at the ground station through the radio station. The Raspberry Pi computer at the ground station can display the status of the instruction execution result, thus forming a closed loop. The radio frequency signal generated by the beacon device sends a wireless radio frequency signal through the inherent antenna of the calibration tower. After the ground station receiving antenna receives the radio frequency signal, the tower calibration work can be carried out.
[0047] The present invention can realize the generation of the required radio frequency signal by wireless remote control of the calibration tower beacon equipment at the ground station. In the system designed by the present invention, both the signal source and the beacon ball can generate the required radio frequency signal, forming an effective redundant backup. The command control of the calibration tower beacon ball in the system designed by the present invention supports two modes, one is direct control through a small radio station, and the other is control through a Raspberry Pi computer switch, and switching can be achieved by switching cable connections. The command frame format designed by the present invention has the characteristic of simple implementation.
[0048] The present invention significantly shortens the preparation time for the ground station to carry out tower calibration, greatly saving human and material resources. The method and system for the wireless remote control beacon device to generate radio frequency signals of the present invention can edit and generate execution commands for controlling the beacon device on the tower at the ground station. Compared with the communication method through manual telephone or intercom, the present invention can perform efficient control, and the present invention can effectively avoid miscommunication caused by communication through manual telephone or intercom, so as to perform accurate calibration. The beacon signal generating system of the present invention can generate a beacon signal by controlling the signal source, and can also control the beacon ball to generate a beacon signal as needed, forming a backup method, which is more stable and reliable. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The advantages of the above and / or additional aspects of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0050] Figure 1 A flow chart of a method for generating a radio frequency signal for a wireless remote control beacon device of the present invention.
[0051] Figure 2 It is a structural schematic diagram of a system for generating radio frequency signals by a wireless remote control beacon device according to the present invention.
[0052] Figure 3 It is a signal flow chart of a beacon signal generating system in a system in which a wireless remote control beacon device generates a radio frequency signal according to the present invention.
[0053] Figure 4 The system command frame format diagram of the wireless remote control beacon device generating the radio frequency signal according to the present invention.
[0054] Figure 5 It is a schematic diagram of a BCH (63, 56) encoding circuit in a method for generating a radio frequency signal by a wireless remote control beacon device according to the present invention. DETAILED DESCRIPTION
[0055] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0056] The present invention is described in detail below with reference to the accompanying drawings. A wireless remote control beacon device generates a radio frequency signal system according to a first embodiment of the present invention, such as Figures 1 to 5As shown, it includes a computer, a radio station, and a beacon device; the beacon device includes a signal source, a first beacon ball and a second beacon ball, the first beacon ball generates a 2-4 GHz radio frequency signal; the second beacon ball generates a 22-40 GHz radio frequency signal. The radio station and the computer are connected via a data line, and the radio stations are respectively arranged at the ground station and the calibration tower, and the radio station is configured to realize data transmission between the ground station and the calibration tower. The computer of the ground station is connected to the radio station of the ground station via a data line, and the computer of the calibration tower is connected to the radio station of the calibration tower via a data line, and the computer of the calibration tower is connected to the beacon device via a data line, that is, the computer of the calibration tower is connected to the first beacon ball and the second beacon ball via corresponding data lines. The computer of the calibration tower is connected to the signal source via a network cable.
[0057] Specifically, the computer may be a Raspberry Pi computer; preferably, the number of the Raspberry Pi computers is two; they are a first Raspberry Pi computer and a second Raspberry Pi computer.
[0058] Preferably, the radio station is a small radio station, and the number of the radio stations is 2, which are the first radio station and the second radio station. The first radio station and the second radio station are completely identical and can be interchanged. Encryption function is supported. When the same encryption parameters are set, the radio station provides a transparent transmission channel, that is, the data input by the first radio station is the same as the data output by the second radio station. Similarly, the input data of the second radio station is the same as the output data of the second radio station. Preferably, the frequency range of the radio station is: 410.125~493.125MHz, and 433.125MHz is used by default. It is required that under the condition of line of sight of the radio stations, the minimum communication distance is 12km, the power consumption is less than 24W, and the operating temperature is -40~85℃.
[0059] The first radio station and the first Raspberry Pi computer are placed in a ground station. At the ground station, the first radio station is connected to the first Raspberry Pi computer via a first data cable; preferably, the first data cable is a USB to RS485 data cable. The first end of the first data cable is connected to the USB interface of the first Raspberry Pi computer, and the second end of the first data cable is connected to the DB9 interface of the first radio station.
[0060] The second radio station and the second Raspberry Pi computer are placed on the calibration tower. In the calibration tower, the second radio station is connected to the second Raspberry Pi computer via a second data cable; the first end of the second data cable is connected to the first USB interface of the second Raspberry Pi computer, and the second end of the second data cable is connected to the DB9 interface of the second radio station. Preferably, the second data cable is a USB to RS485 data cable. The second Raspberry Pi computer is respectively connected to the first beacon ball and the second beacon ball via a third data cable; preferably, the third data cable is a USB to RS485 data cable. The first end of the third data cable is connected to the second USB interface of the second Raspberry Pi computer, and the second end of the third data cable is connected to the RS485 interface of each beacon device.
[0061] The second Raspberry Pi computer is connected to the signal source via a network cable, the first end of the network cable is connected to the network port of the second Raspberry Pi computer, and the second end of the network cable is connected to the network port of the signal source. For example, it is connected to the signal source via an RJ45 network cable. The second Raspberry Pi computer communicates with the second radio station and the second beacon ball using the RS232 protocol, the second Raspberry Pi computer communicates with the first beacon ball using the RS485 protocol, and the second Raspberry Pi computer communicates with the signal source using the LXI protocol. The first Raspberry Pi computer is a ground station Raspberry Pi computer, the ground station small radio station is the first radio station, the second Raspberry Pi computer is a calibration tower Raspberry Pi computer, and the calibration tower small radio station is the second radio station. The ground station Raspberry Pi computer generates a control beacon device to modify the frequency and output a signal instruction, and the ground station Raspberry Pi computer generates a command frame, which is wirelessly sent to the calibration tower via the ground station small radio station, and the calibration tower small radio station receives the command frame, and interprets the command frame through the calibration tower Raspberry Pi computer, and generates a control signal source, a first beacon ball and / or a second beacon ball instruction. Specifically, the Raspberry Pi computer at the ground station generates three types of command frames according to the user's settings: modifying the frequency, modifying the signal amplitude, and switching the output signal. The format of the command frame is as follows: Figure 4 The command frame data is sent to the first radio station through the first data line and the DB9 interface of the first radio station. The first radio station transparently forwards the command frame to the second radio station, which transparently forwards the command frame to the third Raspberry Pi computer through its DB9 interface and the second data line.
[0062] The basic process of each Raspberry Pi computer sending a command is to open the serial port, initialize the serial port parameters, and write data to the serial port. After the beacon device according to the present invention executes the instruction, it generates the required radio frequency signal, and the signal source, the first beacon ball, and the second beacon ball feed back their own status to the ground station Raspberry Pi computer to form a closed loop. The execution method of the first beacon ball and the second beacon ball is consistent; after the single-chip microcomputer in the beacon ball receives the instruction through the RS485 interface, it writes the frequency control word to the signal generating chip, the signal generating chip changes the frequency, and the generated low-frequency signal is mixed with the local oscillator signal generated by the local oscillator module to generate a radio frequency signal of the set frequency.
[0063] More specifically, the Raspberry Pi computer is used to interpret the command frame and generate instructions for controlling the signal source (using the signal source SCPI standard instruction format), the first beacon ball or the second beacon ball (using the command frame format). After the beacon device executes the instruction, it generates the required radio frequency signal. After the first beacon ball and the second beacon ball execute the command, they form a response frame to feed back their own status to the Raspberry Pi computer of the calibration tower. After the signal source executes the command, its own status is actively queried by the Raspberry Pi computer of the calibration tower. After collecting the status of the beacon device, the Raspberry Pi computer of the calibration tower generates a command frame and sends it to the ground station through the small radio station of the calibration tower. After receiving the command frame, the small radio station of the calibration tower sends it to the Raspberry Pi computer of the ground station. The Raspberry Pi computer interprets and displays the command execution status, thus forming a closed loop.
[0064] Specifically, the method for generating a radio frequency signal by a wireless remote control beacon device according to the present invention comprises the following steps:
[0065] S1: Select the target to be controlled:
[0066] Preferably, the targets to be controlled include a signal source and a plurality of beacon balls.
[0067] Specifically, the beacon device according to the present invention includes a first beacon ball and a second beacon ball, wherein the first beacon ball is configured to calibrate a device of a first frequency, and the second beacon ball is configured to calibrate a device of a second frequency, the first frequency range is 2 to 4 GHz, and the second frequency range is 22 to 40 GHz.
[0068] S2: The Raspberry Pi computer at the ground station generates a first command frame, which is wirelessly sent to the calibration tower via the small radio station at the ground station; the address information of the signal source and the address information of each beacon ball are set in the first command frame:
[0069] Preferably, the address information of the signal source, the first beacon ball and the second beacon ball are different from each other;
[0070] Preferably, the ground station Raspberry Pi computer generates a first command frame, and transmits the first command frame to a USB interface of the ground station Raspberry Pi computer, and transmits the first command frame to the calibration tower wirelessly via a small radio station of the ground station through a USB to RS485 data line;
[0071] Preferably, the command frame format is: 1 Byte frame header (STX, 7BH for sending), 1 Byte protocol length (LC, LC = STX + LC + SAD + CMD + DATA + VS + ETX), 1 Byte address information (SAD, range OOH-FFH), 1 Byte command (CMD), 6 Byte data (DATA), 1 Byte checksum (VS, calculate and generate the checksum for CMD and DATA fields, and its generation method will be described later), 1 Byte frame tail (ETX, fixed to 7DH). The VS checksum field refers to the recommendation of CCSDS, using BCH (63, 56), and the generating polynomial is g(x) = x 7 +x 6 +x 2 +1. The generation process is as follows:
[0072] (1) Initialize the registers of graph X with “0”;
[0073] (2) Generate a 7-bit check code using the encoding circuit of Figure X;
[0074] (3) The check code generated in step (3) is padded with 1 bit “0” at the end to generate a 1-byte (8-bit) check code (VS).
[0075] S3: The calibration tower small radio station receives the first command frame transmitted from the ground station small radio station, and transmits it to the calibration tower Raspberry Pi computer; specifically, the received command frame is transmitted to the first USB interface of the calibration tower Raspberry Pi computer through the RS485 interface of the radio station;
[0076] S4: The calibration tower Raspberry Pi computer performs a format check on the command frame received by its first USB interface; the format check includes an integrity check and a length check;
[0077] The command frame received by the first USB interface of the calibration tower Raspberry Pi computer is set as the second command frame;
[0078] Preferably, the format requirements of the command frame in the format check are 1Byte frame header (STX), 1Byte protocol length (LC), 1Byte address information (SAD), 1Byte command (CMD), 6Byte data (DATA), 1Byte check (VS), and 1Byte frame tail (ETX).
[0079] Preferably, the integrity check is as follows: whether the format of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is complete; preferably, if the frame header and the frame tail exist, it is determined that the format of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is complete; if the frame and / or the frame tail does not exist, it is determined that the format of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is incomplete.
[0080] The format check also includes: determining whether the length of the data packet of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is consistent with the value of the frame length field in the command frame received by the first USB interface of the calibration tower Raspberry Pi computer, if the length of the data packet is equal to the value of the frame length field, the length check passes; if the length of the data packet is not equal to the value of the frame length field, the length check fails. In this application, the frame length field is represented by the "protocol length" in the command frame format.
[0081] S5: If the integrity check and / or the data packet length fails, the format check fails, and the data is discarded, that is, the command frame received by the first USB interface of the Raspberry Pi computer of this calibration tower is discarded;
[0082] If both the integrity check and the data packet length check pass, the format check passes, and the process goes to step S6;
[0083] S6: Performing check code verification on the command frame that passes the format verification, wherein the check code verification is performed in a field verification manner;
[0084] Preferably, for a command frame that passes the format check, the contents starting from the frame length field and ending at the data field are compared with a preset command frame format one by one to determine whether the field check is passed.
[0085] If no field loss occurs, it is determined that the field check has passed; and the process goes to step S7;
[0086] If field loss occurs, it is determined that the field check has failed, and the command frame that has passed the format check is discarded.
[0087] In the command frame format, the data field is represented by DATA.
[0088] Preferably, the format of the command frame is required to be 1 Byte frame header (STX), 1 Byte protocol length (LC), 1 Byte address information (SAD), 1 Byte command (CMD), 6 Byte data (DATA), 1 Byte checksum (VS), and 1 Byte frame tail (ETX).
[0089] S7: Parse the command frame; read the address information field in the command frame; the address information includes the signal source address, the first beacon ball address and the second beacon ball address; when the address information in the command frame is the signal source address, send the command frame to the network port of the Raspberry Pi computer of the calibration tower;
[0090] When the address information of the command frame is the signal source address, proceed to step S8;
[0091] When the address information of the command frame is the first beacon ball address or the second beacon ball address, proceed to step 9;
[0092] S8: Read the destination field of the command frame, determine its meaning, and reassemble the calibration tower Raspberry Pi computer to obtain a third command frame; then proceed to step S10;
[0093] Preferably, the format contents of the first command frame and the second command frame are completely consistent. The format of the third command frame is assembled according to the SCPI standard instruction set, and the command for setting the signal source amplitude to -10dBm is ampl-10dBm.
[0094] Preferably, the meaning of the command includes but is not limited to on or off of the signal source and frequency information.
[0095] S9: Perform frequency verification through a preset confidence interval. If the original frequency range does not match the confidence interval, discard the second command frame. If the original frequency range matches the confidence interval, perform the following operations:
[0096] When the address information in the command frame is the first beacon ball address, the second command frame is sent to the second USB interface of the calibration tower Raspberry Pi computer;
[0097] When the address information of the command frame is the address of the second beacon ball, the second command frame is sent to the third USB interface of the calibration tower Raspberry Pi computer;
[0098] S10: Send a legal instruction to the first beacon ball, the second beacon ball or the signal source; if the calibration tower Raspberry Pi computer sends an instruction to the beacon ball, then go to S11; if the calibration tower Raspberry Pi computer sends an instruction to the signal source, then go to S14;
[0099] Preferably, the third command frame sent to the network port of the calibration tower Raspberry Pi computer is transmitted to the network port of the signal source through the network cable; the second command frame sent to the second USB interface of the calibration tower Raspberry Pi computer is transmitted to the RS485 interface of the first beacon ball through the data line; the second command frame sent to the third USB interface of the calibration tower Raspberry Pi computer is transmitted to the RS485 interface of the second beacon ball through the data line;
[0100] S11: If a legal instruction is sent to the beacon ball in step S10, the beacon ball responds, executes the received second command frame, performs corresponding actions, and feeds back a response frame to the calibration tower Raspberry Pi computer; the response frame is created by the beacon ball, and the response frame is the first response frame. Preferably, the format of the response frame is 1 Byte frame header (STX, 7FH for reception), 1 Byte protocol length (LC, LC=STX+LC+SAD+CMD+DATA+VS+ETX), 1 Byte address information (SAD, range OOH-FFH), 1 Byte command (CMD), 6 Byte data (DATA), 1 Byte check (VS, VS=LC^SAD^CMD^DATA), and 1 Byte frame tail (ETX, fixed to 7DH).
[0101] Preferably, the beacon ball establishes a response frame and transmits it via a data line through the RS485 interface of the beacon ball to a corresponding USB interface of the calibration tower Raspberry Pi computer, for example, the second USB interface and the third USB interface.
[0102] The first field in the response frame command is 7FH, so as to ensure that it can pass the frame format check smoothly. The first field content of the response frame is preset when the calibration tower Raspberry Pi computer sends the second command frame to the beacon ball.
[0103] S12: The Raspberry Pi computer on the calibration tower transmits the response frame in the initial format to the Raspberry Pi computer on the ground station via the small radio station on the calibration tower and the small radio station on the ground station;
[0104] Preferably, the first response frame maintains the initial format and is transmitted to the RS485 interface of the calibration tower small radio station through the first USB interface of the calibration tower Raspberry Pi computer through the corresponding data line; after the first response frame is transmitted to the ground station small radio station through the wireless communication between the calibration tower small radio station and the ground station small radio station, the first response frame is sent to the USB interface of the ground station Raspberry Pi computer through the corresponding data line through the RS485 interface of the ground station small radio station, and the ground station Raspberry Pi computer verifies the response frame it receives, and the frame received by the ground station Raspberry Pi computer is the second response frame;
[0105] S13: The Raspberry Pi computer at the ground station verifies the corresponding frame received, where the response frame is the second response frame; if the verification is passed, the parameter information of the beacon ball is prompted on the user display interface of the Raspberry Pi computer at the ground station; the parameter information of the beacon ball includes device status and frequency, wherein the device status parameter of the beacon ball includes on or off;
[0106] Preferably, the verification process is to verify one by one from the second field of the second response frame to the end of the data field. The verification process is consistent with the fourth command frame verification process, and the specific steps are as follows:
[0107] Step 1: Check whether the data frame header and frame tail fields are consistent with the format requirements: The command frame header is
[0108] 0x7F, the frame end is 0x7D;
[0109] Step 2: Check whether the length of the command frame data packet is consistent with the "protocol length" field filled in the command frame;
[0110] Step 3: Calculate the XOR sum of all data from the 2nd to the second-to-last byte in the command data frame, and check whether it is consistent with the "check" field filled in the command frame.
[0111] Step 4: If the check results of step 1, step 2 and step 3 are consistent, the verification is passed; the parameter information of the beacon ball is prompted on the user display interface of the Raspberry Pi computer at the ground station.
[0112] If the verification fails, the display interface of the Raspberry Pi computer at the ground station will show a verification failure message;
[0113] S14: If the third command frame is sent to the signal source in step S10, the calibration tower Raspberry Pi computer issues a query command to obtain the parameters of the signal source, which include the device status, amplitude and frequency; the method for the ground station Raspberry Pi computer to send the third command frame is that the ground station Raspberry Pi computer sends a query command to the calibration tower Raspberry Pi computer through the radio. The calibration tower Raspberry Pi computer verifies the query command, and if the verification fails, it is discarded. After passing the verification, it is sent to the signal source. Then the calibration tower Raspberry Pi computer autonomously sends a query command to the signal source, and assembles the query result into the fourth command frame and returns it.
[0114] S15: If the parameters of the current signal source are not read within the preset time interval, the system times out; the calibration tower Raspberry Pi computer stops reading the signal source parameters, returns a preset number of bytes to the ground station Raspberry Pi computer through the calibration tower small radio and the ground station small radio, and issues a signal source prompt to the user;
[0115] If the device state, amplitude and frequency parameters of the current signal source are read within the preset time interval, the device state, amplitude and frequency parameters of the current signal source are combined into a fourth command frame; and the process goes to step S16;
[0116] Preferably, the preset time interval is 5-6 seconds, and the preset number of bytes is 2 bytes.
[0117] S16: The Raspberry Pi computer on the calibration tower generates a verification code, and transmits the fourth command frame of the code to be verified through the small radio station on the calibration tower and the small radio station on the ground station back to the Raspberry Pi computer on the ground station for verification;
[0118] S17: If the verification fails, the display interface of the Raspberry Pi computer at the ground station displays verification failure information; if the verification passes, the display interface of the Raspberry Pi computer at the ground station displays parameter information of the current signal source device, and the setting of the signal source is completed.
[0119] Preferably, after the fourth command frame with the verification code is transmitted to the first USB interface of the Raspberry Pi computer on the calibration tower, it is transmitted back to the RS485 interface of the calibration tower small radio through the corresponding data line, transmitted to the ground station small radio through the calibration tower small radio, and from the RS485 interface of the ground station small radio through the corresponding data line to the USB interface of the Raspberry Pi computer on the ground station. The Raspberry Pi computer on the ground station verifies the fourth command frame transmitted back through the USB interface.
[0120] Preferably, starting from the second field of the fourth command frame to the data field of the fourth command frame, verification is performed one by one; the verification process is as follows:
[0121] (1) Check whether the data frame header and frame trailer fields are consistent with the format requirements: the command frame header is 0x7F and the frame trailer is 0x7D;
[0122] (2) Check whether the command frame data packet length is consistent with the "protocol length" field filled in the command frame;
[0123] (3) Calculate the XOR sum of all the data from the second to the second last byte in the command data frame and check whether it is consistent with the "check" field filled in the command frame;
[0124] (4) If the above three checks are consistent, the verification passes.
[0125] The two devices connected by USB to RS485 data cable use RS485 protocol for communication, adopt serial communication standard, provide RS485 level output, work in asynchronous master-slave response mode, transmission rate 9600bps, no check. A serial byte consists of: 1 start bit, 8 data bits, 1 stop bit. All commands and responses are byte sequences starting with the header byte and ending with the tail byte. They are connected by RJ45 network cable and use LXI protocol for communication.
[0126] If the first beacon ball and the second beacon ball are directly connected to the small radio station of the calibration tower through a USB to RS485 data cable, the beacon ball control command frame can be directly generated by the Raspberry Pi computer at the ground station for control.
[0127] See also Figure 4The present invention relates to a system for generating radio frequency signals for wireless remote control beacon equipment. The formats of command frames and response frames in communication are: 1-byte frame header (STX, 7BH for sending, 7FH for receiving), 1-byte protocol length (LC, LC=STX+LC+SAD+CMD+DATA+VS+ETX), 1-byte address information (SAD, range OOH-FFH), 1-byte command (CMD), 6-byte data (DATA), 1-byte checksum (VS, the calculation method of VS is consistent with the calculation method of VS in step "S2"), and 1-byte frame tail (ETX, fixed to 7DH). It can be seen that the frame format is simple and flexible, and has strong versatility.
[0128] All relevant systems of the calibration tower in this system are fixed for a long time and kept powered on. During the five tower calibrations in 2020, the wireless remote control beacon device was used to generate RF signals. The ground station controlled one of the three beacon devices, the signal source, the first beacon ball or the second beacon ball, to generate the required RF signal, which greatly improved the efficiency of tower calibration organization, saved a lot of manpower and material costs, and has a good value for promotion and application.
[0129] The wireless remote control beacon device of the present invention generates a radio frequency signal system, which is characterized in that the Raspberry Pie minicomputer is connected to the radio station and the second beacon ball through a USB to RS232 data line, connected to the first beacon ball through a USB to RS485 data line, and connected to the signal source through an RJ45 network cable. The ground station Raspberry Pie minicomputer can edit and generate instructions for controlling the beacon device to modify the frequency and output signals, which are wirelessly sent to the calibration tower via the ground station radio. The calibration tower radio receives the instructions and forwards them to the Raspberry Pie minicomputer, and automatically sends the instructions to the signal source, the first beacon ball or the second beacon ball after interpreting the contents of the instructions. After the beacon device executes the instructions, it generates the required radio frequency signal, and at the same time transmits its own execution status back to the ground station Raspberry Pie minicomputer through the radio. The present invention realizes the generation of the required radio frequency signal by the beacon device of the wireless remote control calibration tower at the ground station, significantly shortens the preparation time for the ground station to carry out the calibration of the tower, saves manpower and material resources, has the characteristics of efficient and accurate control, and the signal source and the beacon ball beacon signal generation are mutually backed up, which is more stable and reliable.
[0130] In parallel, according to the second embodiment of the present invention, the first beacon ball and the second beacon ball can be directly connected to the second radio station via a data line, that is, the first beacon ball and the second beacon ball can skip the Raspberry Pi computer and directly connect to the calibration tower small radio station, that is, the second radio station, via a data line, for example, a USB to RS485 data line. Specifically, according to the second embodiment of the present invention, the system for generating radio frequency signals by wireless remote control beacon equipment includes a computer, a radio station, and a beacon device; the beacon device includes a signal source, a first beacon ball and a second beacon ball, the first beacon ball generates a 2-4 GHz radio frequency signal; the second beacon ball generates a 22-40 GHz radio frequency signal. The radio station is connected to the computer via a data line. The computer can be a Raspberry Pi computer; preferably, the number of the Raspberry Pi computers is two; they are the first Raspberry Pi computer and the second Raspberry Pi computer respectively. The radio station is a small radio station, and the number of the radio stations is 2, which are the first radio station and the second radio station respectively. The first radio station and the first Raspberry Pi computer are placed at the ground station. At the ground station, the first radio station is connected to the first Raspberry Pi computer via a first data cable; preferably, the first data cable is a USB to RS485 data cable. The first end of the first data cable is connected to the USB interface of the first Raspberry Pi computer, and the second end of the first data cable is connected to the DB9 interface of the first radio station. The second radio station and the second Raspberry Pi computer are placed on the calibration tower. At the calibration tower, the second radio station is connected to the second Raspberry Pi computer via a second data cable; the first end of the second data cable is connected to the first USB interface of the second Raspberry Pi computer, and the second end of the second data cable is connected to the DB9 interface of the second radio station. Preferably, the second data cable is a USB to RS485 data cable. The second radio station is connected to the first beacon ball and the second beacon ball respectively through data cables.
[0131] The second Raspberry Pi computer is connected to the signal source via a network cable, the first end of the network cable is connected to the network port of the second Raspberry Pi computer, and the second end of the network cable is connected to the network port of the signal source. For example, it is connected to the signal source via an RJ45 network cable. The second Raspberry Pi computer communicates with the second radio station using the RS232 protocol, the second Raspberry Pi computer communicates with the first beacon ball using the RS485 protocol, and the second Raspberry Pi computer communicates with the signal source using the LXI protocol. According to the second embodiment of the present invention, the second radio station skips the second Raspberry Pi computer and is directly connected to the first beacon ball and the second beacon ball, the data line used by the second radio station and each beacon device is the fourth data line, the fourth data line is a twisted pair, the first end of the fourth data line is connected to the RS485 interface of the second radio station, the second end of the fourth data line is connected to the RS485 interface of each beacon device, and the RS485 serial communication is between the radio station and the beacon device.
[0132] It is understandable that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. A person skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some or all of the technical features thereof can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention.
[0133] In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper" and "lower" are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the system or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0134] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the inside of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances. In addition, in the description of the present invention, unless otherwise specified, "at least three" means two or more.
[0135] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for generating a radio frequency signal by a wireless remote control beacon device, characterized in that: It specifically includes the following steps: S1: Select the target to be controlled, which includes the signal source and multiple beacon balls; fill in the address command frame address information according to the control target; S2: The Raspberry Pi computer at the ground station generates a first command frame, which is wirelessly sent to the calibration tower via a small radio station at the ground station; S3: The calibration tower small radio station receives the first command frame transmitted from the ground station small radio station, and transmits it to the calibration tower Raspberry Pi computer as the second command frame; S4: The calibration tower Raspberry Pi computer performs a format check on the second command frame received by its first USB interface; the format check includes an integrity check and a length check; S5: If the integrity check and / or the data packet length fails, it is determined that the format check fails, and the second command frame received by the first USB interface of the Raspberry Pi computer of this calibration tower is discarded; If both the integrity check and the data packet length check pass, the format check is determined to have passed, and the process goes to step S6; S6: performing a check code check on the second command frame that passes the format check, wherein the check code check is performed in a field check manner; If no field is lost, the field check is considered to have passed; Go to step S7; If field loss occurs, the field check is determined to have failed, and the command frame that has passed the format check is discarded; S7: Parse the command frame: When the address information of the command frame is the signal source address, proceed to step S8; When the address information of the command frame is the first beacon ball address or the second beacon ball address, proceed to step S9; S8: The calibration tower Raspberry Pi computer is reassembled to obtain a third command frame, and then the process goes to step S10; S9: Perform frequency verification through a preset confidence interval. If the original frequency range does not match the confidence interval, discard the second command frame. If the original frequency range matches the confidence interval, proceed to step S10; S10: Send a legal instruction to the first beacon ball, the second beacon ball or the signal source; if the calibration tower Raspberry Pi computer sends an instruction to the beacon ball, then go to S11; if the calibration tower Raspberry Pi computer sends an instruction to the signal source, then go to S14; S11: If a legal instruction is sent to the beacon ball in step S10, the beacon ball responds, executes the received second command frame, performs corresponding actions, and feeds back a response frame to the calibration tower Raspberry Pi computer; the response frame is created by the beacon ball, and the response frame is the first response frame. S12: The Raspberry Pi computer on the calibration tower transmits the response frame in the initial format to the Raspberry Pi computer on the ground station via the small radio station on the calibration tower and the small radio station on the ground station; S13: The Raspberry Pi computer at the ground station verifies the received response frame, where the response frame is the second response frame; if the verification is passed, the parameter information of the beacon ball is prompted on the user display interface of the Raspberry Pi computer at the ground station; the parameter information of the beacon ball includes the device status and frequency, wherein the device status parameter of the beacon ball includes on or off; S14: If the third command frame is sent to the signal source in step S10, the calibration tower Raspberry Pi computer issues a query command to obtain parameters of the signal source, wherein the parameters include device status, amplitude and frequency; S15: If the parameters of the current signal source are not read within the preset time interval, the system times out; the calibration tower Raspberry Pi computer stops reading the signal source parameters, returns a preset number of bytes to the ground station Raspberry Pi computer through the calibration tower small radio and the ground station small radio, and issues a signal source prompt to the user; If the device state, amplitude and frequency parameters of the current signal source are read within the preset time interval, the device state, amplitude and frequency parameters of the current signal source are combined into a fourth command frame; and the process goes to step S16; S16: The Raspberry Pi computer on the calibration tower generates a check code, and transmits the fourth command frame with the check code back to the Raspberry Pi computer on the ground station through the small radio station on the calibration tower and the small radio station on the ground station for verification; S17: If the verification is passed, the parameter information of the current signal source device is displayed on the display interface of the Raspberry Pi computer at the ground station, and the setting of the signal source is completed.
2. The method for generating a radio frequency signal by a wireless remote control beacon device according to claim 1, characterized in that: The first beacon ball is used to calibrate the equipment of the first frequency, and the second beacon ball is used to calibrate the equipment of the second frequency. The range of the first frequency is 2 to 4 GHz, and the range of the second frequency is 22 to 40 GHz.
3. The method for generating a radio frequency signal by a wireless remote control beacon device according to claim 1, characterized in that: The Raspberry Pi computer at the ground station generates a first command frame, and transmits the first command frame to the USB interface of the Raspberry Pi computer at the ground station, and then transmits the first command frame wirelessly to the calibration tower via the small radio station at the ground station through the USB to RS485 data line.
4. The method for generating a radio frequency signal by a wireless remote control beacon device according to claim 1, characterized in that: The integrity check is as follows: whether the format of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is complete; if the frame header and the frame tail exist, it is determined that the format of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is complete; If the frame and / or the frame tail does not exist, it is determined that the format of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is incomplete.
5. The method for generating a radio frequency signal by a wireless remote control beacon device according to claim 1, characterized in that: Determine whether the length of the data packet of the command frame received by the first USB interface of the calibration tower Raspberry Pi computer is consistent with the value of the frame length field in the command frame received by the first USB interface of the calibration tower Raspberry Pi computer. If the length of the data packet is equal to the value of the frame length field, the length check passes; if the length of the data packet is not equal to the value of the frame length field, the length check fails.
6. The method for generating a radio frequency signal by a wireless remote control beacon device according to claim 1, characterized in that: If the original frequency range is consistent with the confidence interval, the following operations are performed: when the address information in the command frame is the first beacon ball address, the second command frame is sent to the second USB interface of the Raspberry Pi computer of the calibration tower; When the address information of the command frame is the second beacon ball address, the second command frame is sent to the third USB interface of the calibration tower Raspberry Pi computer.
7. The method for generating a radio frequency signal by a wireless remote control beacon device as claimed in claim 6, characterized in that: After the fourth command frame with the check code is transmitted to the first USB interface of the Raspberry Pi computer on the calibration tower, it is transmitted back to the RS485 interface of the small radio station on the calibration tower through the corresponding data line, transmitted to the small radio station on the ground station through the small radio station on the calibration tower, and from the RS485 interface of the small radio station on the ground station through the corresponding data line to the USB interface of the Raspberry Pi computer on the ground station. The Raspberry Pi computer on the ground station checks the fourth command frame transmitted back through the USB interface.
8. The method for generating a radio frequency signal by a wireless remote control beacon device as claimed in claim 7, characterized in that: Starting from the second field of the fourth command frame to the data field of the fourth command frame, the verification is performed one by one; the verification process is as follows: (1) Check whether the data frame header and frame trailer fields are consistent with the format requirements: the command frame header is 0x7F and the frame trailer is 0x7D; (2) Check whether the command frame data packet length is consistent with the "protocol length" field filled in the command frame; (3) Calculate the XOR sum of all the data from the second to the second last byte in the command data frame and check whether it is consistent with the "check" field filled in the command frame; (4) If the above three checks are consistent with the requirements, the verification passes.
9. The method for generating a radio frequency signal by a wireless remote control beacon device as claimed in claim 1, characterized in that: The third command frame sent to the network port of the Raspberry Pi computer of the calibration tower is transmitted to the network port of the signal source through the network cable; the second command frame sent to the second USB interface of the Raspberry Pi computer of the calibration tower is transmitted to the RS485 interface of the first beacon ball through the data cable; the second command frame sent to the third USB interface of the Raspberry Pi computer of the calibration tower is transmitted to the RS485 interface of the second beacon ball through the data cable.
10. The method for generating a radio frequency signal by a wireless remote control beacon device according to claim 1, characterized in that: The first field in the response frame is 7FH; the content of the first field of the response frame is preset when the calibration tower Raspberry Pi computer sends the second command frame to the beacon ball.
Citation Information
Patent Citations
Communication method for realizing data transmission in numerical control system
CN102123007A
Methods for automatically identifying and managing changes in aerospace telemetry and control ground station equipment
CN102298365A
Communication apparatus, communication method, computer program, and communication system
CN102422674A
Implementation method of calibration remote-monitoring system
CN105700436A
File system and data layout method
CN109840247A
