Average field gradient observation system, control method thereof and storage medium
By using the average field gradient observation system in the meteorological observation system, the data bus is used to realize the synchronous data acquisition of the collector, which solves the problem of enhancing the system robustness while observing meteorological elements of different heights, and achieves cost savings and system scalability improvement.
Patent Information
- Application Number
- CN202411549884.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-25
AI Technical Summary
In meteorological observation, how to observe meteorological elements of different heights in the atmosphere while enhancing the robustness of the observation system and saving testing costs.
An average field gradient observation system is adopted, which includes a main control unit, a computer device, a data bus and a number of collectors and sensor subsystems. The data synchronous acquisition of the collector is achieved through the data bus, which simplifies the hardware interface and wiring costs, and improves the robustness of the system through an independent collector hierarchy.
The synchronous acquisition of data from collectors of different observation heights is realized, which reduces the system's hardware interface and wiring costs, enhances the robustness and scalability of the observation system, and saves testing costs.
Smart Images

Figure CN119511409A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of meteorological observation, and more specifically, to a mean field gradient observation system and a control method and storage medium thereof in the field of meteorological observation. Background Art
[0002] In meteorology, the average field gradient usually refers to the average value of the rate of change of meteorological elements (such as temperature, wind speed, humidity, etc.) at a certain time and space scale. This concept is very important in the observation of meteorological elements because it helps us understand the spatial distribution of various physical quantities in the atmosphere and their changing trends over time. The real-time observation of basic parameters such as wind speed, wind direction, temperature, humidity, etc. at multiple layers and different heights in the atmosphere is the basis for accurately calculating the average field gradient. Based on this, how to enhance the robustness of the observation system and save testing costs while observing meteorological elements at different heights in the atmosphere has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The present application provides a mean field gradient observation system and a control method and storage medium thereof, which can enhance the robustness of the observation system and save testing costs while observing meteorological elements at different altitudes in the atmosphere.
[0004] In a first aspect, a mean field gradient observation system is provided, comprising: a main control unit, a computer device, a data bus, a plurality of collectors arranged at different observation heights, and a plurality of sensor subsystems, wherein the first end of each collector is connected to a sensor subsystem, and the second end of each collector is connected to the data bus through a branch bus, the data bus is connected to the main control unit, and the main control unit is connected to the computer device; the sensor subsystem comprises a plurality of sensors for outputting different meteorological element signals; the collector is used to collect the meteorological element signals from the sensor subsystem connected to the collector, convert the meteorological element signals into meteorological element data, and send the meteorological element data to the main control unit; the main control unit is used to instruct the plurality of collectors to collect data from the sensor subsystem, and receive the meteorological element data returned by the collector; the computer device is used to receive the meteorological element data returned by the collector and sent by the main control unit.
[0005] The above technical solution adopts a data bus. Collectors at different observation heights only need to connect the sub-buses of this layer to this data bus respectively, so as to realize the synchronous data collection of collectors at different observation heights. The solution is simple and easy to implement. The hardware interface requirements of the main control unit are also greatly reduced. Only one interface is needed to complete the control and data collection of multiple layers of equipment (i.e., multiple collectors), which greatly saves the engineering workload and cost of wiring. In addition, in this solution, each layer of collectors is independent of each other and can be increased or decreased at will. If any layer fails, only the sensor data of the sensor subsystem in this layer will be lost, and it will not affect the collectors or main control units at other observation heights, and will not affect the data collection of the entire observation system, thereby enhancing the robustness of the observation system. In addition, the observation system has a clear architecture and is easy to maintain and manage. By adding collectors, the data collection capability of the system can be easily expanded to meet the growing data needs.
[0006] In combination with the first aspect, in some possible implementations, the main control unit is specifically used to send a door opening broadcast command to the multiple collectors to instruct the multiple collectors to simultaneously collect data from their respective connected sensor subsystems to achieve synchronous collection of multiple layers of data, and to send a request data report command to each of the collectors in turn to instruct the collector to return the collected meteorological element data to the main control unit to achieve time-sharing transmission of multiple layers of data; the collector is used to collect the meteorological element signal from the sensor subsystem connected to the collector after receiving the door opening broadcast command, and return the meteorological element data to the main control unit after receiving the request data report command.
[0007] In the above technical solution, the main control unit notifies all collectors to start collecting data at one time through broadcast instructions, which reduces the number of instruction sending times and improves the efficiency of data collection. The main control unit uniformly schedules to ensure that all collectors start collecting data synchronously, enhancing the synchronization and consistency of data collection. The collector starts collecting data only after receiving the door opening broadcast instruction, which reduces unnecessary energy consumption. The on-demand sending of request data report instructions reduces unnecessary data transmission and helps save energy. Therefore, the main control unit uniformly schedules the collectors to collect and transmit data, realizing an efficient and orderly data collection process, which not only improves the efficiency and reliability of data collection, but also simplifies the maintenance and expansion of the system, and helps to reduce power consumption and improve the performance of the entire system.
[0008] In combination with the first aspect, in some possible implementations, downlink communication from the main control unit to the multiple collectors is implemented through code division multiple access, and uplink communication from the multiple collectors to the main control unit is implemented through time division multiple access.
[0009] In the above technical solution, downlink communication is realized by code division multiple access, and the main control unit can send instructions to multiple collectors at the same time, which reduces the number of instruction sending times, improves communication efficiency, and simplifies system design. Code division multiple access distinguishes different collectors through unique code sequences, reduces the risk of incorrect instruction sending, and enhances the reliability of data transmission. In addition, the collector only needs to monitor its own code sequence, which reduces unnecessary monitoring and helps to reduce power consumption. At the same time, code division multiple access can support large-scale collector networks and improve the scalability of the observation system. Uplink communication is realized by time division multiple access, and multiple collectors can send data within a predetermined time slot, which reduces the possibility of data collision and improves the efficiency of data transmission. Time division multiple access technology supports data upload of large-scale collectors through time slot allocation, and enhances the scalability of the system. Therefore, by using code division multiple access technology for downlink communication and time division multiple access technology for uplink communication, an efficient and reliable communication mechanism is realized, which can not only improve the efficiency and reliability of data collection, but also simplify system design, reduce power consumption, and support large-scale system deployment.
[0010] In combination with the first aspect, in some possible implementations, when the main control unit sends the door opening broadcast instruction, the working state of the main control unit is in the sending state, and the working states of the multiple collectors are all in the receiving state; after the main control unit sends the request data report instruction, the working state of the main control unit enters the receiving state from the sending state; after the collector receives the request data report instruction, the working state of the collector enters the sending state from the receiving state; after the collector sends the multiple meteorological element data to the main control unit, the working state of the collector enters the receiving state from the sending state; after the main control unit receives the meteorological element data, the working state of the main control unit enters the sending state from the receiving state.
[0011] In the above technical scheme, by clarifying the working state transition of the main control unit and the collector, the orderly transmission of data on a data bus is ensured, unnecessary waiting time is reduced, and communication efficiency is improved. By defining clear working state transition rules, it helps to avoid data loss and repeated transmission, and enhances the reliability of data transmission. The collector immediately enters the sending state after receiving the request data report instruction, which reduces data delay and improves the timeliness of data transmission. Through the state transition mechanism, the collector and the main control unit can enter the receiving state when there is no need to send data, reducing unnecessary transmission power consumption and helping to reduce overall power consumption. Therefore, by defining the working state transition between the main control unit and the collector, an efficient and orderly data transmission mechanism is realized, which can not only improve the efficiency and reliability of data collection, but also simplify system design, reduce power consumption, and support large-scale system deployment.
[0012] In combination with the first aspect, in some possible implementations, the collector RT includes: an amplifier circuit board and a communication circuit board; the amplifier circuit board includes: an amplifier circuit for amplifying the meteorological element analog signal output by the sensor subsystem; an analog-to-digital conversion circuit for performing analog-to-digital conversion on the amplified meteorological element analog signal to obtain a meteorological element digital signal, and sending the meteorological element digital signal to the communication circuit board; the communication circuit board includes: a clamping shaping circuit for adjusting the amplitude and shape of the received meteorological element digital signal so that the meteorological element digital signal is transmitted during transmission. Maintain stability; a counting circuit, used to count and record the various meteorological digital signals output by the clamping and shaping circuit, and send the various meteorological digital signals to the first CPU; the first CPU, used to control the collector to collect and send data through a single-chip microcomputer, and receive the various meteorological digital signals sent by the counting circuit, and convert the various meteorological digital signals into meteorological element data; a program storage circuit, used to provide program storage space for the collector; a bus transmission isolation circuit, used to realize data communication between the main control unit and each of the collectors; a lightning protection circuit, used to protect the collector from lightning.
[0013] In the above technical solution, the collector is a data acquisition and control unit centered on a single-chip microcomputer. The meteorological element analog signal is amplified by an amplifier circuit, thereby improving the signal-to-noise ratio. The analog signal is converted into a digital signal by an analog-to-digital conversion circuit, thereby improving the stability and accuracy of the signal. The signal amplitude and shape are adjusted by a clamping shaping circuit to ensure that the digital signal remains stable during transmission. The collector is protected from electromagnetic interference such as lightning strikes by a lightning protection circuit, thereby enhancing the reliability of the observation system. The communication between the main control unit and the collector is isolated by a bus transmission isolation circuit, thereby reducing interference and improving the stability of the system. The program storage circuit provides program storage space for the collector, thereby simplifying the hardware design, and the program of the collector can be updated to support the addition of new functions. In the above technical solution, an amplifier circuit board and a communication circuit board are set in the collector, thereby realizing an efficient and reliable data acquisition and transmission mechanism, which can not only improve the signal quality and data processing efficiency, but also simplify the system design and enhance the system scalability and stability.
[0014] In combination with the first aspect, in some possible implementations, the main control unit includes: an external interrupt circuit, which is used to periodically send a signal to the second CPU to instruct the second CPU to perform a data acquisition step; a second CPU, which is used to control the communication between the main control unit and the collector and the communication between the main control unit and the computer device through a single-chip microcomputer; a watchdog circuit, which is used to monitor the operating status of the main control unit and, when an error is detected, send a restart signal to the single-chip microcomputer in the second CPU; a program storage circuit, which is used to provide program storage space for the main control unit; a data storage circuit, which is used to provide data storage space for the main control unit; a bus transmission isolation circuit, which is used to realize data communication between the main control unit and the collector; a lightning protection circuit, which is used to perform lightning protection on the main control unit; and a computer interface circuit, which is used to realize communication between the main control unit and the computer device.
[0015] In the above technical scheme, the data collection step is triggered regularly by an external interrupt circuit to ensure the accuracy and timing of data collection. The operation status of the main control unit is monitored by a watchdog circuit, and it is restarted when an abnormality occurs, thereby enhancing the stability and fault tolerance of the system. The program storage circuit provides program storage space for the main control unit, which simplifies the hardware design. The data storage circuit provides data storage space for the main control unit, which simplifies data management. The bus transmission isolation circuit realizes efficient communication between the main control unit and the collector, reduces interference, and supports multi-channel data transmission, enhancing the scalability and flexibility of the system. The computer interface circuit realizes communication between the main control unit and the computer equipment, increasing the flexibility of the system. The lightning protection circuit protects the main control unit from electromagnetic interference such as lightning strikes, improves the safety of the main control unit, and enhances the reliability of the observation system.
[0016] In combination with the first aspect, in some possible implementations, a bus socket is provided on the collector, a corresponding bus junction box is provided on the observation layer where the collector is located, the first end of the branch bus of the collector is connected to the bus socket, and the second end of the branch bus of the collector is connected to the bus junction box corresponding to the collector.
[0017] In a second aspect, a control method for a mean field gradient observation system is provided. The mean field gradient observation system is the mean field gradient observation system in the first aspect mentioned above. The control method is applied to a main control unit, and the control method includes: sending a door opening broadcast instruction to multiple collectors to instruct the multiple collectors to collect meteorological element data from their respectively connected sensor subsystems; sending a request data report instruction to each of the collectors in turn to instruct the collector to return the collected meteorological element data to the main control unit; after receiving the meteorological element data returned by the multiple collectors, packaging the meteorological element data returned by the multiple collectors and sending them to a computer device.
[0018] In a third aspect, a control method for a mean field gradient observation system is provided, wherein the mean field gradient observation system is the mean field gradient observation system in the first aspect mentioned above, and the control method is applied to a collector, and the control method comprises: after receiving a door opening broadcast instruction sent by a main control unit, collecting meteorological element data from a sensor subsystem connected to the collector; after receiving a request data report instruction sent by the main control unit, sending the collected meteorological element data to the main control unit.
[0019] In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed, the method in the second aspect or the third aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a block diagram of a mean field gradient observation system provided in an embodiment of the present application;
[0021] Figure 2 It is a block diagram of a collector RT provided in an embodiment of the present application;
[0022] Figure 3 It is a block diagram of a main control unit MU provided in an embodiment of the present application;
[0023] Figure 4 is a schematic flow chart of a control method of a mean field gradient observation system provided in an embodiment of the present application;
[0024] Figure 5 is a flow chart of a control method applied to a main control unit MU provided in an embodiment of the present application;
[0025] Figure 6 is a schematic flow chart of another control method of a mean field gradient observation system provided in an embodiment of the present application;
[0026] Figure 7 It is a flow chart of a control method applied to a collector RT provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0028] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0029] In meteorology, the mean field gradient usually refers to the average value of the rate of change of meteorological elements (such as temperature, wind speed, humidity, etc.) at a certain time and space scale. This concept is very important in the observation of meteorological elements because it helps us understand the spatial distribution of various physical quantities in the atmosphere and their changing trends over time. Completing the real-time observation of basic parameters such as wind speed, wind direction, temperature, humidity, etc. at multiple layers and different heights in the atmosphere is the basis for accurately calculating the mean field gradient. Based on this, how to enhance the robustness of the observation system and save testing costs while observing meteorological elements at different heights in the atmosphere has become a technical problem that needs to be solved urgently.
[0030] Based on this, in order to at least solve the above technical problems, the embodiment of the present application provides a mean field gradient observation system, which adopts a data bus. The collectors at different observation heights only need to connect the sub-buses of this layer to this data bus respectively, so as to realize the synchronous data collection of the collectors at different observation heights. The scheme is simple and easy to implement, and the hardware interface requirements of the main control unit are also greatly reduced. Only one interface is needed to complete the control and data collection of multi-layer devices (i.e., multiple collectors), which greatly saves the engineering workload and cost of wiring. In addition, in this scheme, each layer of collectors is independent of each other and can be increased or decreased at will. If any layer fails, only the sensor data of the sensor subsystem in this layer will be lost, and it will not affect the collectors or main control units at other observation heights, and will not affect the data collection of the entire observation system, thereby enhancing the robustness of the observation system. In addition, the architecture of the observation system is clear and easy to maintain and manage. By adding collectors, the data collection capability of the system can be easily expanded to meet the growing data needs.
[0031] Figure 1It is a block diagram of the composition of a mean field gradient observation system provided in an embodiment of the present application.
[0032] For example, Figure 1 As shown, the mean field gradient observation system includes: a master control unit (MU) 101, a computer device 102, a data bus 103, a plurality of collectors 104 arranged at different observation heights, and a plurality of sensor subsystems 105. The first end of each collector is connected to a sensor subsystem. The second end of each collector is connected to the data bus 103 through a branch bus, the data bus 103 is connected to the master control unit 101, and the master control unit 101 is connected to the computer device 102.
[0033] Among them, the multiple collectors 104 include RT1, RT2...RT(N-1), RT(N) in the figure. The multiple sensor subsystems 105 include sensor subsystem 1, sensor subsystem 2...sensor subsystem N-1 and sensor subsystem N in the figure. The first end of RT1 is connected to sensor subsystem 1, and the second end of RT1 is connected to the data bus 103 through a branch bus. The first end of RT2 is connected to sensor subsystem 2, and the second end of RT2 is connected to the data bus 103 through a branch bus. The first end of RT(N-1) is connected to sensor subsystem N-1, and the second end of RT(N-1) is connected to the data bus 103 through a branch bus. The first end of RT(N) is connected to sensor subsystem N, and the second end of RT(N) is connected to the data bus 103 through a branch bus.
[0034] In some embodiments, for each collector RT, a bus socket is provided on the collector RT, and a corresponding bus junction box is provided on the observation layer where the collector is located. The first end of the branch bus of the collector RT is connected to the bus socket, and the second end of the branch bus of the collector is connected to the bus junction box corresponding to the collector.
[0035] Specifically, a bus socket can be set on the front panel of RT, the plug at one end of the branch bus is connected to the front panel of RT, and the other end of the branch bus is connected to the bus junction box on this layer, so that each collector RT can be connected to the above-mentioned data bus through its own branch bus.
[0036] In some embodiments, the connection between the data bus and the main control unit MU can be achieved by connecting a plug at one end of the data bus in the machine room to a corresponding socket at the rear of the chassis of the MU.
[0037] In some embodiments, the two ends of the connection cable can be connected to the serial port at the rear of the MU chassis and the serial port of the computer device to achieve the connection between the main control unit MU and the computer device. The computer device displays and stores the data transmitted by the MU through the serial port and records the corresponding acquisition time.
[0038] Exemplarily, each sensor subsystem in the multiple sensor subsystems 105 includes multiple sensors for sensing and outputting different meteorological element signals. The multiple sensors may include wind speed sensors, wind direction sensors, temperature sensors, and humidity sensors, etc. In addition, multiple wind speed sensors may be provided so that wind speed observation values in different directions such as northwest wind speed and southeast wind speed may be sensed. Each sensor may be connected to the RT via a cable, respectively. Multiple sensors may convert the basic parameters such as wind speed (W), wind direction (D), temperature (T), humidity (RH), etc. sensed by each sensor into analog signals or digital signal outputs, which are sent to the entrances of the RTs of each layer.
[0039] For example, each observation layer may be provided with 5 sensors (2 wind speed sensors, a wind direction sensor, a temperature sensor and a humidity sensor), and each sensor is connected to the collector RT provided at the observation layer through a cable. For example, the connection relationship of the 5 sensors at each observation layer can be referred to in Table 1:
[0040] Table 1
[0041]
[0042]
[0043] Among them, the cable (sensor head) can be understood as the first end of the cable, which is used to connect the sensor, and the cable (RT head) can be understood as the second end of the cable, which is used to connect the RT chassis panel. Different types of sockets are provided on the RT chassis panel for connecting different types of sensors. Each sensor uses its original connector and is connected to the corresponding socket on the RT chassis panel through a corresponding cable. For example, the wind speed sensor 1 uses its original connector and is connected to the wind speed S socket on the RT chassis panel through a cable. The humidity sensor uses its original connector and is connected to the humidity socket on the RT chassis panel through a cable.
[0044] The collector RT is used to collect meteorological element signals from the sensor subsystem connected to the collector RT, convert the meteorological element signals into meteorological element data, and send the meteorological element data to the main control unit 101. Specifically, the meteorological element signals can be decoded, processed and verified to ensure that they become accurate and usable meteorological element data, so that the meteorological element signals are not only correctly interpreted, but also meet the requirements of meteorological data analysis and application.
[0045] Exemplarily, each collector RT in the plurality of collectors 104 is used to collect meteorological element signals from a sensor subsystem connected to the collector RT. Figure 1 In the example, RT1 is used to collect meteorological element signals from sensor subsystem 1. RT2 is used to collect meteorological element signals from sensor subsystem 2. RT(N-1) is used to collect meteorological element signals from sensor subsystem N-1. RT(N) is used to collect meteorological element signals from sensor subsystem N.
[0046] For example, the collector RT is a data collection and control unit centered on a single chip. Each RT arranged at different observation heights is controlled by the MU and is under the unified management of the MU. The RT can collect and transmit data in different time periods according to different instructions received.
[0047] The main control unit 101 is used to instruct multiple collectors 104 to collect data from the sensor subsystem 105, and receive the meteorological element data returned by the collector 104. The computer device 102 is used to receive the meteorological element data returned by the collector 104 sent by the main control unit 101. For example, according to the signal of the clock circuit, the MU sends door opening and door closing broadcast signals to all RTs in different time periods, sends a request data report instruction to the RT arranged on a certain layer and receives the data sent back by the RT. At the same time, the data collected by all layers are transmitted to the computer device 102 through the serial port according to the specified sampling time.
[0048] For example, after receiving the meteorological element data sent by the MU, the computer device 102 may further analyze, process, and display the meteorological element data according to actual needs, for example, calculating the average field gradient based on the meteorological element data received at different observation layers.
[0049] In some embodiments, the composition block diagram of the collector RT can be found in Figure 2 , including an amplifier circuit board 20 and a communication circuit board 21 connected to the amplifier circuit board 20. Specifically, the amplifier circuit board 20 and the communication circuit board 21 can be connected through a flat cable, and the amplifier circuit board 20 is also connected to the collection port on the chassis shell of the collector RT through a flat cable. The amplifier circuit board 20 and the communication circuit board 21 are specifically introduced below:
[0050] The amplifier circuit board 20 includes: an amplifier circuit and an analog-to-digital conversion circuit connected to the amplifier circuit. The amplifier circuit is used to amplify the meteorological element analog signal output by the sensor subsystem. The analog-to-digital conversion circuit is used to perform analog-to-digital conversion on the amplified meteorological element analog signal to obtain a meteorological element digital signal, and send the meteorological element digital signal to the communication circuit board 21.
[0051] For example, Figure 2 As shown, the amplifier circuit may include: amplifier circuit 1, amplifier circuit 2 and amplifier circuit 3. Amplifier circuit 1 is used to amplify the temperature analog signal output by the temperature sensor. Amplifier circuit 2 is used to amplify the humidity analog signal output by the humidity sensor. Amplifier circuit 3 is used to amplify the wind direction analog signal output by the wind direction sensor.
[0052] For example, Figure 2 As shown, the analog-to-digital conversion circuit may include: an analog-to-digital conversion circuit 1 , an analog-to-digital conversion circuit 2 and an analog-to-digital conversion circuit 3 .
[0053] The analog-to-digital conversion circuit 1 is connected to the amplifier circuit 1 and is used to perform analog-to-digital conversion on the amplified temperature analog signal to obtain a temperature digital signal, and send the temperature digital signal to the clamping shaping circuit 211 .
[0054] The analog-to-digital conversion circuit 2 is connected to the amplifier circuit 2 and is used to perform analog-to-digital conversion on the humidity analog signal after amplification to obtain a humidity digital signal, and send the humidity digital signal to the clamping and shaping circuit 211 .
[0055] The analog-to-digital conversion circuit 3 is connected to the amplifier circuit 3 and is used to perform analog-to-digital conversion on the amplified wind direction analog signal to obtain a wind direction digital signal, and send the wind direction digital signal to the clamping and shaping circuit 211 .
[0056] In some embodiments, the wind speed sensor can directly output a wind speed digital signal, and thus the signal does not need to be processed by an amplification circuit and an analog-to-digital conversion circuit, and can be directly output to the clamping shaping circuit 211 in the communication circuit board 21 .
[0057] Exemplarily, the communication circuit board 21 includes: a clamping shaping circuit 211, a counting circuit 212, a first CPU (Central Processing Unit) 213, a program storage circuit 214, a bus transmission isolation circuit 215, a lightning protection circuit 216, and a running status display control circuit 217. The clamping shaping circuit 211 is connected to the counting circuit 212, the counting circuit 212 is connected to the first CPU 213, and the program storage circuit 214 and the bus transmission isolation circuit 215 are both connected to the first CPU 213. The lightning protection circuit 216 and the running status display control circuit 217 are both connected to the bus transmission isolation circuit 215.
[0058] The clamping shaping circuit 211 is used to adjust the amplitude and shape of the received meteorological element digital signal so that the meteorological element digital signal remains stable during transmission. Specifically, the clamping shaping circuit 211 can adjust the amplitude and shape of the temperature digital signal, humidity digital signal, wind direction digital signal, and wind speed digital signal to ensure that these digital signals maintain stable characteristics during transmission, so that these digital signals can be stably transmitted to the counting circuit 212.
[0059] The counting circuit 212 is used to count and record the meteorological digital signals output by the clamping shaping circuit 211, such as counting and recording the four meteorological digital signals of the temperature digital signal, the humidity digital signal, the wind direction digital signal and the wind speed digital signal. Specifically, the counting circuit 212 can count the pulses of each meteorological digital signal respectively, and the counting result directly reflects the change of a certain physical quantity, such as the number of rotations, the duty cycle of the pulse width modulation signal, etc. When the counting circuit 212 accumulates a certain number of pulses, it will send the meteorological digital signals accumulated to the first CPU 213.
[0060] The first CPU 213 is used to control the collector to collect and send data through a single-chip microcomputer, and receives the meteorological digital signals of each channel sent by the counting circuit, and converts the meteorological digital signals of each channel into meteorological element data. As the central processor of the collector RT, the first CPU 213 is responsible for receiving the meteorological digital signals of each channel, and converting the meteorological digital signals of each channel into actual physical values (i.e., temperature, humidity, wind direction, wind speed, etc.) according to the built-in algorithm or program, or performing further data processing and analysis for system use or display. That is, the first CPU 213 can decode, process and verify the meteorological element signals to ensure that they become accurate and usable meteorological element data, so that the meteorological element signals are not only correctly interpreted, but also meet the requirements of meteorological data analysis and application.
[0061] The first CPU 213 is based on a single-chip microcomputer. In a specific implementation, the first CPU 213 also includes some peripheral supporting chips. In other words, the collector RT is a data acquisition and control unit based on a single-chip microcomputer. Each RT is controlled by the MU and is under the unified management of the MU. Each RT collects and sends data in different time periods according to different instructions received, so as to make the operation of the entire system more intelligent and improve the efficiency of the system.
[0062] The program storage circuit 214 is used to provide program storage space for the collector. In other words, the program storage circuit 214 is used to store the running program of the collector. The running program of the collector can be updated and improved at any time according to actual needs to make it more suitable for actual needs.
[0063] The bus transmission isolation circuit 215 is used to realize data communication between the main control unit and each collector. Specifically, photoelectric isolation, high-speed differential bus transceiver, etc. can be used to realize data communication between MU and each layer of RT, which can effectively isolate and convert signals to ensure data security and reliability. For example, the first CPU 213 can transmit meteorological element data to the main control unit MU through the bus transmission isolation circuit 215.
[0064] The lightning protection circuit 216 is used to protect the collector from lightning, so that the RT collector can work normally even in extreme environments.
[0065] The operating status display control circuit 217 is used to display the operating status of the collector. Specifically, the operating status can be displayed by controlling the light emitting diode lamp. Thus, the operating status of the system can be understood at any time, so as to find problems in time and make adjustments.
[0066] In some embodiments, the composition block diagram of the main control unit MU can be found in Figure 3 , including: an external interrupt circuit 301, a watchdog circuit 302, a second CPU 303, a program storage circuit 304, a data storage circuit 305, a bus transmission isolation circuit 306, a lightning protection circuit 307, an operation status display control circuit 308 and a computer interface circuit 309.
[0067] The external interrupt circuit 301, the watchdog circuit 302, the program storage circuit 304, the data storage circuit 305, the bus transmission isolation circuit 306 and the computer interface circuit 309 are all connected to the second CPU 303. The lightning protection circuit 307 and the operation status display control circuit 308 are both connected to the bus transmission isolation circuit 306.
[0068] The external interrupt circuit 301 is used to periodically send a signal to the second CPU 303 in the main control unit to instruct the second CPU 303 to perform a data acquisition step.
[0069] Specifically, the external interrupt circuit 301, as an important component of the main control unit MU, has the function of sending a signal to the second CPU 303 at a fixed time. This signal can be generated by a hardware timer or a software timer. When the external interrupt circuit receives a signal, it will immediately send the signal to the CPU 303, and the CPU 303 will start the data collection step after receiving the signal. The second CPU 303 starting the data collection step can be understood as: the second CPU 303 sends a door opening broadcast instruction to the collector RT to instruct the collector RT to collect data, and sends a request data report instruction to the collector RT to instruct the collector RT to return the collected meteorological element data to the main control unit MU.
[0070] The watchdog circuit 302 is used to monitor the operating status of the main control unit MU and send a restart signal to the single chip microcomputer in the second CPU 303 when an error is detected.
[0071] Specifically, the watchdog circuit 302 is also an important component of the main control unit MU, which monitors the system operation status through a combination of software and hardware. The watchdog circuit 302 can regularly check the internal operation of the single-chip microcomputer in the second CPU 303, for example, to check whether there is abnormal code execution, whether there are excessive memory leaks, etc. If any abnormality is found, the watchdog circuit 302 will immediately send a restart signal to the single-chip microcomputer in the second CPU 303 to restart the single-chip microcomputer to ensure the reliability and stability of the system.
[0072] The second CPU 303 controls the communication between the main control unit MU and the collector RT and the communication between the main control unit MU and the computer device through the single chip. As the central processor of the main control unit MU, the second CPU 303 can send door opening broadcast instructions or door closing broadcast instructions to all RTs in different time periods, send request data report instructions to a certain layer of RT and receive data sent back by RT, and transmit the data collected by all layers to the computer device through the serial port according to the specified sampling time. The second CPU 303 also uses the single chip as the core. In the specific implementation, the second CPU 303 also includes some peripheral supporting chips.
[0073] Specifically, the second CPU 303 is mainly responsible for processing signals from the external interrupt circuit, and is also responsible for managing the communication between the main control unit MU and various devices. The main control unit MU needs to communicate with various types of devices, such as collectors, computer equipment, etc. The second CPU 303 controls the communication between the main control unit MU and the RT collector and the communication between the main control unit MU and the computer equipment through the single-chip microcomputer. The second CPU 303 is also responsible for managing and scheduling the work of the main control unit MU to ensure that each task can be carried out efficiently and orderly.
[0074] The program storage circuit 304 is used to provide a program storage space for the main control unit MU. That is, the program storage circuit 304 is used to store the operating program of the main control unit MU. The operating program of the main control unit MU can be updated and improved at any time according to actual needs to make it more suitable for actual needs.
[0075] The data storage circuit 305 is used to provide data storage space for the main control unit MU. For example, the main control unit MU can store the received data sent by the RT in the data storage circuit 305.
[0076] The program storage circuit 304 and the data storage circuit 305 are mainly used to provide program storage space and data storage space for the main control unit MU. The second CPU of the main control unit MU can read or modify data from these storage spaces and perform various operations. The program and data storage circuits can be implemented using storage devices such as Flash ROM (Flash Read-Only Memory, non-volatile memory) and SRAM (Static Random Access Memory, static random access memory).
[0077] The bus transmission isolation circuit 306 is used to realize data communication between MU and each layer of RT. Specifically, the bus transmission isolation circuit 306 can use photoelectric isolation, high-speed differential bus transceiver, etc. to realize data communication between MU and each layer of RT, which can effectively isolate and convert signals, ensure the security and reliability of data, and realize high-speed, stable and reliable communication between the main control unit MU and each layer of RT. For example, MU can send a switch broadcast instruction or a request data report instruction to RT through the bus transmission isolation circuit 306.
[0078] The lightning protection circuit 307 is used to protect the main control unit MU from lightning. The lightning protection circuit 307 is responsible for protecting the main control unit MU from lightning to prevent equipment damage caused by power supply voltage fluctuations or static electricity. In this way, the main control unit MU can work normally even in extreme environments.
[0079] The operating status display control circuit 308 is used to display the operating status of the main control unit. Specifically, the operating status can be displayed by controlling three light-emitting diodes of different colors. This design allows the user to intuitively understand the working status of the main control unit MU, which is convenient for the user to find problems in time and perform maintenance.
[0080] The computer interface circuit 309 is used to realize the communication between the main control unit MU and the computer. For example, the communication between the main control unit MU and the computer device can be realized through RS232, so that the main control unit MU can be easily connected and communicated with other devices, which greatly expands the application range of the main control unit MU.
[0081] In one possible implementation, the main control unit MU is specifically used to send a door opening broadcast command to multiple collectors to instruct the multiple collectors RT to collect data from their respectively connected sensor subsystems, and send a request data report command to each collector in turn to instruct the collector RT to return the collected meteorological element data to the main control unit MU; the collector RT is used to collect meteorological element signals from the sensor subsystem connected to the collector after receiving the door opening broadcast command, and return the meteorological element data to the main control unit after receiving the request data report command.
[0082] Among them, the door opening broadcast instruction is used to instruct each collector to collect data from the sensor subsystem connected to each other and prepare to receive the request data report instruction sent by the main control unit MU. After the main control unit MU sends the door opening broadcast instruction to each collector, each collector collects data from the sensor subsystem connected to each other and prepares to receive the request data report instruction sent by the main control unit MU. Then the main control unit MU starts to send the request data report instruction to the designated collector, and the designated collector sends the meteorological element data to the main control unit MU. For example, each collector can be used as a designated collector in turn, so that MU sends a request data report instruction to the designated collector.
[0083] In a specific implementation, the above-mentioned door opening broadcast instruction can be a four-frame door opening broadcast instruction. Four frames means that the door opening broadcast instruction consists of four consecutive data frames, and each frame carries a part of the command or information required for door opening control. Broadcast instruction means that this instruction will be sent to multiple collectors in the system, rather than a single collector, so that all collectors in the same system can receive the door opening broadcast instruction and work together.
[0084] In the embodiment of the present application, considering that the existing collectors are applied to meteorology, they are generally applicable to single sites or single-layer measurements, and one collector is connected to more sensors at the same time. However, there is no simple and convenient connection method for communication between each collector. Each collector can only be equipped with a network switch, and then connected separately through a network cable, and finally connected in series through a network. For example, when applied to a meteorological tower, although this ordinary collector can access more sensors, the number is also very limited, far from meeting the needs of multiple layers of sensors, and even if it can meet the number of sensors on two or three layers at the same time, it also involves the sensors on different layers to be wired to this collector, the wiring engineering and cost are relatively large, and it is not conducive to later maintenance. If a collector is installed on each platform, in order to connect these collectors in series, each observation platform must be equipped with a network switch, and each switch is connected to the ground machine room with a network bus, so that data can be collected synchronously. However, the biggest disadvantage of this solution is the series connection of each switch. As long as one of them is damaged, it will affect the connectivity of the network link above, and the data transmitted from the platforms above it will be lost. In the most extreme case, if the switch of the first-floor observation platform is broken, it cannot communicate with the computer equipment in the ground room, and all the data from the 15th-floor observation platform to the 1st-floor observation platform will be lost. As for the high meteorological tower, it is very easy to be struck by lightning, and the damage rate of the switch is relatively high, which is very unfavorable for the stability of the entire system. Based on this, the communication between the MU and the RTs on each floor is proposed in the embodiment of the present application, which is realized by the bus communication technology of code division and time division.
[0085] In a possible implementation, the downlink communication from the master control unit MU to the multiple collectors RT is implemented by code division multiple access, and the uplink communication from the multiple collectors RT to the master control unit MU is implemented by time division multiple access. In other words, the downlink communication between MU and RT is completed by code division, while the uplink communication between RT and MU is mainly completed by time division.
[0086] In the embodiment of the present application, the collectors on different observation layers do not need to be connected in series, nor do they need to be configured with a network switch. The collectors on each observation layer are connected to the data bus through a sub-bus, and the collectors on different observation layers do not affect each other. Downlink communication is realized through code division multiple access, and the main control unit can send instructions to multiple collectors at the same time, reducing the number of instruction transmission times, improving communication efficiency, and simplifying system design. Code division multiple access distinguishes different collectors through unique code sequences, reduces the risk of incorrect instruction transmission, and enhances the reliability of data transmission. In addition, the collector only needs to monitor its own code sequence, reducing unnecessary monitoring and helping to reduce power consumption. At the same time, code division multiple access can support large-scale collector networks and improve the scalability of the observation system. Uplink communication is realized through time division multiple access, and multiple collectors can send data within a predetermined time slot, reducing the possibility of data collision and improving the efficiency of data transmission. Time division multiple access technology supports data upload of large-scale collectors through time slot allocation, enhancing the scalability of the system. Therefore, by using code division multiple access technology for downlink communication and time division multiple access technology for uplink communication, an efficient and reliable communication mechanism is achieved, which can not only improve the efficiency and reliability of data collection, but also simplify system design, reduce power consumption, and support large-scale system deployment.
[0087] In one possible implementation, when the main control unit sends a door opening broadcast command, the working state of the main control unit is in a sending state, and the working states of multiple collectors are all in a receiving state; after the main control unit sends a request data report command, the working state of the main control unit enters a receiving state from a sending state; after the collector receives the request data report command, the working state of the collector enters a sending state from a receiving state; after the collector sends multiple meteorological element data to the main control unit, the working state of the collector enters a receiving state from a sending state; after the main control unit receives the meteorological element data, the working state of the main control unit enters a sending state from a receiving state.
[0088] The working state of the main control unit in the sending state can be understood as: the main control unit is in the state of sending data to the outside, for example, the main control unit is in the state of sending data to the collector, and the data bus is occupied by the main control unit. The working state of the main control unit in the receiving state can be understood as: the main control unit is in the state of receiving data from the outside, for example, the main control unit is in the state of receiving data sent by the collector, and the main control unit does not occupy the bus at this time.
[0089] The collector's working state in the sending state can be understood as: the collector is in the state of sending data outward, that is, the collector is in the state of sending data to the main control unit, that is, the data bus is occupied by the collector. The collector's working state in the receiving state can be understood as: the collector is in the state of receiving data from the outside, that is, the collector is in the state of receiving data sent by the main control unit, and the collector does not occupy the bus at this time.
[0090] Exemplarily, a working cycle of the main control unit MU and the collector RT is shown in Table 2 below:
[0091] Table 2
[0092]
[0093]
[0094] In Table 2, the working status of the main control unit MU and the collector RT is represented by T (sending status) R (receiving status). At the beginning, each RT is in the receiving standby state, that is, the receiving state. At this time, MU is in the sending state T, and each RT is in the receiving state. Then, MU issues an open door broadcast instruction to order each collector RT to collect data and instruct each collector RT to prepare to receive the request data report instruction sent by MU. The open door broadcast instruction is marked by an address code that all RTs must respond to. Then, MU sends a request data report instruction to RT1 to order RT1 to send back data. The instruction is marked by the address code of RT1. So far, MU has been in the sending state on the bus, and each RT is in the receiving state, that is, the bus is occupied by MU. After MU issues this request data report instruction, the working state changes to the receiving state, waiting for RT1's reply, and MU exits the bus occupation. After RT1 receives the request data report instruction, the working state changes to the sending state, starts to occupy the bus, sends the prepared data, and restores its working state to the receiving state after the sending is completed, and exits the bus occupation. After receiving the data from RT1, MU changes its working state to the sending state, reoccupies the bus, and sends a request data report instruction to RT2. And so on, until RTN sends back the data, one working cycle ends and another working cycle begins.
[0095] The observation system in the embodiment of the present application is a master-slave distributed local area network structure, and one MU controls multiple layers of RT collectors to ensure the requirements of synchronous observation and collection. With the single-chip microcomputer as the center, the signal transmission adopts the "time division, code division multiple access communication data bus" scheme, and the front-end remote intelligent terminal, namely the collector RT, the ground master control unit MU, etc., form a bus-type local area network. Under the control of the system software, the entire network completes the real-time observation, data transmission and storage of basic parameters such as wind speed, wind direction, temperature, humidity, etc. at multiple layers and different heights in the atmosphere. The observation system can work 24 hours a day all year round, and can adapt to various severe weather conditions outdoors. It can connect up to 32 layers, and the transmission length can reach 1000 meters. The meteorological elements that can be observed on each layer include wind speed, wind direction, temperature, humidity, and can provide a variety of DC power supplies, such as 0-6V, 9V, 12V, etc.
[0096] Figure 4is a schematic flow chart of a control method of a mean field gradient observation system provided in an embodiment of the present application. The control method is applied to a main control unit. The mean field gradient observation system can be Figure 1 For more information about the mean field gradient observation system, please refer to the above Figure 1 The description of the main control unit can be as follows, which will not be repeated here to avoid repetition. Figure 3 The main control unit shown.
[0097] For example, Figure 4 Said control method comprises:
[0098] Step 401: Send a door opening broadcast instruction to multiple collectors to instruct the multiple collectors to collect meteorological element data from their respective connected sensor subsystems.
[0099] Specifically, the main control unit MU can send a door-opening broadcast instruction to instruct multiple collectors RT to start collecting data and prepare to receive a request data report instruction sent by the main control unit MU. As described above, the door-opening broadcast instruction is marked with an address code that all RTs must respond to, so that after each RT receives the door-opening broadcast instruction, it starts to collect meteorological element data from the sensor subsystems connected to it.
[0100] Step 402: Send a data report request instruction to each collector in turn to instruct the collector to return the collected meteorological element data to the main control unit.
[0101] Specifically, the main control unit MU may send a request data report instruction to each collector in turn according to a preset order, so as to instruct the collector that receives the request data report instruction to return the collected meteorological element data to the main control unit. The preset order of multiple collectors in the observation system may be pre-set to indicate the order in which the request data report instruction is sent to the multiple collectors.
[0102] In the embodiment of the present application, each collector can be used as a designated collector in turn, and the main control unit MU sends a request data report instruction to the designated collector. In a specific implementation, individual collectors can also be selected as designated collectors according to actual needs to obtain meteorological element data returned by individual collectors, which is conducive to meeting personalized data collection needs.
[0103] Step 403: After receiving the meteorological element data returned by the multiple collectors, the meteorological element data returned by the multiple collectors are packaged and sent to the computer device.
[0104] Specifically, the main control unit MU can wait until all collectors have returned the meteorological element data, then package the meteorological element data returned by all collectors, and then send the packaged data to the computer device. However, in a specific implementation, after receiving the meteorological element data returned by a fixed number of collectors, the meteorological element data returned by the fixed number of collectors can be packaged and sent to the computer device. The embodiment of the present application does not specifically limit how many meteorological element data returned by the collectors are packaged at one time.
[0105] In some embodiments, a flowchart of a control method applied to a MU can be found in Figure 5 ,include:
[0106] Step 501: Initialization.
[0107] The initialization means that after the main control unit MU is powered on, the main control unit MU is set to a known starting state so that the main control unit MU can run stably and correctly.
[0108] Step 502: Wait for INT0 interrupt.
[0109] Among them, waiting for INT0 interrupt can be understood as: after the main control unit MU is turned on, the first communication interval duration preset at each interval is determined to wait for INT0 interrupt. The first communication interval duration is the communication between the main control unit MU and the collector RT, for example, it can be 1 second. After the main control unit MU is turned on, an INT0 interrupt signal can be generated every 1 second. However, the embodiment of the present application does not specifically limit the specific value of the first communication interval duration, which can be set according to actual needs.
[0110] Exemplary, combined Figure 3 The INT0 interrupt signal may be an interrupt signal generated by the external interrupt circuit 301 at intervals of a preset first communication interval duration after the main control unit MU is powered on.
[0111] Step 503: Send a door opening broadcast instruction.
[0112] Specifically, every time an INT0 interrupt is received, that is, every time an INT0 interrupt signal is generated, the main control unit MU sends a door opening broadcast instruction. Combined with the above description, after the main control unit MU is turned on, it can communicate with the collector RT once every preset communication interval, that is, every preset first communication interval, the main control unit MU can send a door opening broadcast instruction to the collector RT. For example, the main control unit MU sends a door opening broadcast instruction to RT every 1 second.
[0113] Step 504: Send a request data report instruction to the designated RT.
[0114] The designated RT is the currently designated RT among all RTs, that is, the RT expected to return data. In a specific implementation, if each RT in the observation system is expected to return data, each collector RT in the observation system is used as the designated RT, that is, a request data report instruction is sent to each collector RT in turn to instruct the collector to return the collected meteorological element data to the main control unit.
[0115] Step 505: Receive data sent back by the designated RT.
[0116] It is understandable that after sending a request data report instruction to each designated RT, the system will wait to receive data sent back by the designated RT, that is, the data collected by the designated RT from the sensor subsystem connected to it.
[0117] Step 506: Determine whether the data report request instruction has been sent to all RTs. If yes, execute step 507; otherwise, replace the designated RT and execute step 504.
[0118] If the request data report instruction has been sent to all RTs of the observation layers, then step 507 is executed, otherwise step 504 is executed to continue to send the request data report instruction to the next specified RT. For example, if 7 layers of RT (RTs set up in 7 different observation layers) are set in the observation system, it can be determined whether the request data report instruction has been sent to the 7 layers of RT, that is, whether the request data report instruction has been sent to all 7 layers of RT.
[0119] Step 507: Wait for INT1 interrupt.
[0120] Among them, waiting for INT1 interrupt can be understood as: after receiving the data transmitted by all RTs, the main control unit MU waits for INT1 interrupt, and then sends a door closing instruction to all RTs. The interval length can be, for example, 1 second. After the main control unit MU is turned on, it waits for a fixed time and generates an INT1 interrupt signal every 1 second. However, the embodiment of the present application does not specifically limit the specific value of the interval length, which can be set according to actual needs.
[0121] Exemplary, combined Figure 3 The INT1 interrupt signal may be an interrupt signal generated by the external interrupt circuit 301 at every preset second communication interval after the main control unit MU is powered on.
[0122] Step 508: Send a door closing broadcast instruction.
[0123] Specifically, each time an INT1 interrupt is received, that is, each time an INT1 interrupt signal is generated, the main control unit MU sends a door-closing broadcast instruction. The door-closing broadcast instruction sent by the MU is used to instruct all RTs to stop data collection.
[0124] Step 509: Determine whether the preset transmission time has been reached. If yes, execute step 510, otherwise execute step 511.
[0125] Among them, the preset transmission time is the pre-set time for transmission to the computer device, and the preset transmission time may include: the various time points at which data needs to be transmitted to the computer device after the preset MU is turned on, so that according to the current time point, it can be determined whether the current time point is the time point at which data needs to be transmitted to the computer device. If so, execute step 510, otherwise execute step 511.
[0126] Step 510: Transmit data to a computer device.
[0127] Specifically, the MU may package the meteorological element data received from multiple RTs and transmit them to the computer device.
[0128] Step 511: Loop initialization.
[0129] Specifically, after the loop is initialized, the execution can be returned to step 502, and the time point of loop initialization is regarded as the time point of MU power-on, and a new round of loop is started, starting from the time point of loop initialization, and waiting for INT0 interrupt. That is, after the main control unit loop is initialized, an INT0 interrupt signal can be generated every first communication interval.
[0130] It is not difficult to find that the embodiment of the present application is an embodiment of the control method applied to MU corresponding to the embodiment of the above-mentioned mean field gradient observation system, which can be implemented in conjunction with the embodiment of the above-mentioned mean field gradient observation system, and can achieve the same technical effect as the embodiment of the above-mentioned mean field gradient observation system. In order to avoid repetition, it will not be repeated here.
[0131] Figure 6 is a schematic flow chart of a control method of a mean field gradient observation system provided in an embodiment of the present application. The control method is applied to a collector. The mean field gradient observation system can be Figure 1 For more information about the mean field gradient observation system, please refer to the above Figure 1 To avoid repetition, the description is omitted here. The collector can be as follows Figure 2 The collector shown.
[0132] For example, Figure 6 Said control method comprises:
[0133] Step 601: After receiving the door opening broadcast command sent by the main control unit, meteorological element data is collected from the sensor subsystem connected to the collector.
[0134] Specifically, after receiving the door opening broadcast instruction, each collector RT responds to the door opening broadcast instruction and collects meteorological element data from the sensor subsystem connected to the collector RT.
[0135] Step 602: After receiving the data report request instruction sent by the main control unit, the collected meteorological element data is sent to the main control unit.
[0136] Specifically, for each collector RT, if the collector RT receives a data report request instruction sent by the main control unit, the collector RT sends the collected meteorological element data to the main control unit MU.
[0137] In some embodiments, the flowchart of the control method applied to the collector RT can be found in Figure 7 ,include:
[0138] Step 701: Initialization.
[0139] The initialization means that after the collector RT is turned on, the collector RT is set to a known starting state so that the collector RT can run stably and correctly.
[0140] Step 702: Receive a broadcast instruction.
[0141] Specifically, the broadcast instruction refers to a broadcast instruction sent by the main control unit. The broadcast instruction may be a door opening broadcast instruction or a door closing broadcast instruction.
[0142] Step 703: Determine whether the broadcast instruction is correct. If so, execute step 704; otherwise, execute step 701.
[0143] Specifically, after the collector RT receives the broadcast instruction, it can first confirm whether the format of the broadcast instruction complies with the predetermined communication protocol, including whether the frame header, frame tail, command code, data length, etc. meet the specifications. Then, the checksum in the broadcast instruction can be used to verify whether an error occurs during the data transmission process. Then, the content of the broadcast instruction can be analyzed to confirm whether it is logically reasonable. If the broadcast instruction complies with the predetermined communication protocol, no error occurs during the transmission process, and it is logically reasonable, then the broadcast instruction can be determined to be correct, otherwise the broadcast instruction is determined to be wrong.
[0144] Step 704: Determine whether it is a door opening broadcast instruction or a door closing broadcast instruction. If it is a door opening broadcast instruction, execute step 705; if it is a door closing broadcast instruction, execute step 706.
[0145] Specifically, if the broadcast instruction is correct, it is further determined whether the broadcast instruction is a door opening broadcast instruction or a door closing broadcast instruction. It is understandable that the command contents of the door opening broadcast instruction and the door closing broadcast instruction are different. By analyzing the broadcast instruction, it can be determined whether the broadcast instruction is a door opening broadcast instruction or a door closing broadcast instruction.
[0146] Step 705: Open the counter door and collect data.
[0147] Specifically, if the broadcast instruction is a door opening broadcast instruction, the counter door is opened, and data is collected from the sensor subsystem connected to the collector RT. Figure 2 Opening the counter gate can be understood as starting the counting circuit 212 to perform a counting task, which is an instruction or operation to count and record each meteorological digital signal.
[0148] Step 706: Close the counter door.
[0149] Specifically, if the broadcast instruction is a door closing broadcast instruction, the counter door is closed, and data collection from the sensor subsystem connected to the collector RT is stopped. Figure 2 , closing the counter gate can be understood as: turning off the counting circuit 212 to stop the counting task of the counting circuit 212.
[0150] Step 707: Receive a data report request instruction from this layer.
[0151] Specifically, after receiving the door opening broadcast instruction, the collector RT may further receive a data report request instruction sent by the MU.
[0152] Step 708: Determine whether MU requires to send data. If yes, execute step 709; otherwise, execute step 710.
[0153] Specifically, the collector RT determines whether the request data report instruction is an instruction from the MU to return the collected data, or in other words, the collector RT determines whether the MU requires to send data. If yes, step 709 is executed, otherwise step 710 is executed.
[0154] Step 709: Send data to MU.
[0155] Specifically, after the collector RT determines that the MU requires it to send data, the collector RT sends the data collected by the collector RT from the sensor subsystem to the MU.
[0156] Step 710: Receive a door closing broadcast instruction.
[0157] Step 711: Close the counter door.
[0158] It is understandable that after receiving the door closing broadcast instruction, RT will stop collecting data and stop the counting task of the counting circuit 212. Closing the counter door means turning off the counting circuit 212.
[0159] It is not difficult to find that the embodiment of the present application is an embodiment of a control method applied to RT corresponding to the embodiment of the above-mentioned mean field gradient observation system. It can be implemented in conjunction with the embodiment of the above-mentioned mean field gradient observation system, and can achieve the same technical effect as the embodiment of the above-mentioned mean field gradient observation system. In order to avoid repetition, it will not be repeated here.
[0160] An embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to execute a control method for a mean field gradient observation system provided in an embodiment of the present application.
[0161] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0162] It should be understood that the device provided in this embodiment is used to execute the above-mentioned control method of the mean field gradient observation system, and thus can achieve the same effect as the above-mentioned implementation method.
[0163] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a control method for a mean field gradient observation system provided in the above-mentioned embodiment.
[0164] This embodiment further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed, a control method for a mean field gradient observation system provided in the above embodiment can be implemented.
[0165] Among them, the device and computer-readable storage medium provided in this embodiment are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0166] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0167] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0168] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A mean field gradient observation system, characterized in that: include: A main control unit, a computer device, a data bus, a plurality of collectors and a plurality of sensor subsystems arranged at different observation heights, wherein the first end of each collector is connected to one of the sensor subsystems, the second end of each collector is connected to the data bus through a branch bus, the data bus is connected to the main control unit, and the main control unit is connected to the computer device; The sensor subsystem includes a variety of sensors for outputting different meteorological element signals; The collector is used to collect the meteorological element signals from the sensor subsystem connected to the collector, convert the meteorological element signals into meteorological element data, and send the meteorological element data to the main control unit; The main control unit is used to instruct the multiple collectors to collect data from the sensor subsystem and receive the meteorological element data returned by the collectors; The computer device is used to receive the meteorological element data sent by the main control unit and returned by the collector.
2. The mean field gradient observation system according to claim 1, characterized in that: The main control unit is specifically used to send a door opening broadcast instruction to the multiple collectors to instruct the multiple collectors to simultaneously collect data from the sensor subsystems connected to them, thereby realizing synchronous collection of multiple layers of data, and to send a request data report instruction to each of the collectors in turn to instruct the collectors to return the collected meteorological element data to the main control unit, thereby realizing time-sharing transmission of multiple layers of data; The collector is used to collect the meteorological element signal from the sensor subsystem connected to the collector after receiving the door opening broadcast instruction, and return the meteorological element data to the main control unit after receiving the request data report instruction.
3. The mean field gradient observation system according to claim 1 or 2, characterized in that: The downlink communication from the main control unit to the multiple collectors is realized by code division multiple access, and the uplink communication from the multiple collectors to the main control unit is realized by time division multiple access.
4. The mean field gradient observation system according to claim 2, characterized in that: When the main control unit sends the door opening broadcast instruction, the working state of the main control unit is in the sending state, and the working states of the multiple collectors are all in the receiving state; After the main control unit sends the request data report instruction, the working state of the main control unit changes from the sending state to the receiving state; After the collector receives the request data report instruction, the working state of the collector changes from the receiving state to the sending state; After the collector sends the multiple meteorological element data to the main control unit, the working state of the collector changes from the sending state to the receiving state; After the main control unit receives the meteorological element data, the working state of the main control unit enters the sending state from the receiving state.
5. The mean field gradient observation system according to claim 1, characterized in that: The collector comprises: an amplifying circuit board and a communication circuit board; The amplifying circuit board comprises: an amplifier circuit, used for amplifying the meteorological element analog signal output by the sensor subsystem; an analog-to-digital conversion circuit, used for performing analog-to-digital conversion on the amplified meteorological element analog signal to obtain a meteorological element digital signal, and sending the meteorological element digital signal to the communication circuit board; The communication circuit board comprises: A clamping and shaping circuit, used for adjusting the amplitude and shape of the received digital signal of meteorological elements so that the digital signal of meteorological elements remains stable during transmission; A counting circuit, used for counting and recording each channel of meteorological digital signals output by the clamping and shaping circuit, and sending each channel of meteorological digital signals to the first CPU; The first CPU is used to control the collector to collect and send data through the single-chip microcomputer, receive the meteorological digital signals of each channel sent by the counting circuit, and convert the meteorological digital signals of each channel into meteorological element data; A program storage circuit, used for providing program storage space for the collector; A bus transmission isolation circuit, used to realize data communication between the main control unit and each of the collectors; The lightning protection circuit is used to protect the collector from lightning.
6. The mean field gradient observation system according to claim 1, characterized in that: The main control unit comprises: An external interrupt circuit, used for periodically sending a signal to the second CPU to instruct the second CPU to perform a data collection step; A second CPU, used for controlling the communication between the main control unit and the collector and the communication between the main control unit and the computer device through a single chip microcomputer; A watchdog circuit, used to monitor the operating status of the main control unit and send a restart signal to the single-chip microcomputer in the second CPU when an error is detected; A program storage circuit, used for providing a program storage space for the main control unit; A data storage circuit, used for providing data storage space for the main control unit; A bus transmission isolation circuit, used to realize data communication between the main control unit and the collector; A lightning protection circuit, used for protecting the main control unit from lightning; The computer interface circuit is used to realize the communication between the main control unit and the computer device.
7. The mean field gradient observation system according to claim 1, characterized in that: The collector is provided with a bus socket, the observation layer where the collector is located is provided with a corresponding bus junction box, the first end of the branch bus of the collector is connected to the bus socket, and the second end of the branch bus of the collector is connected to the bus junction box corresponding to the collector.
8. A control method for a mean field gradient observation system, characterized in that: The mean field gradient observation system is the mean field gradient observation system according to any one of claims 1 to 7, and the control method is applied to a main control unit, and the control method includes: Sending a door opening broadcast instruction to multiple collectors to instruct the multiple collectors to collect meteorological element data from the sensor subsystems connected to them; Sending a request data report instruction to each collector in turn to instruct the collector to return the collected meteorological element data to the main control unit; After receiving the meteorological element data returned by the multiple collectors, the meteorological element data returned by the multiple collectors are packaged and sent to the computer device.
9. A control method for a mean field gradient observation system, characterized in that: The mean field gradient observation system is the mean field gradient observation system according to any one of claims 1 to 7, and the control method is applied to a collector, and the control method comprises: After receiving the door opening broadcast command sent by the main control unit, collecting meteorological element data from the sensor subsystem connected to the collector; After receiving the data report request instruction sent by the main control unit, the collected meteorological element data is sent to the main control unit.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to claim 8 or 9 is implemented.