CN110716465B - Adaptive data processing system based on single chip microcomputer and control method - Google Patents
Adaptive data processing system based on single chip microcomputer and control method Download PDFInfo
- Publication number
- CN110716465B CN110716465B CN201910961306.6A CN201910961306A CN110716465B CN 110716465 B CN110716465 B CN 110716465B CN 201910961306 A CN201910961306 A CN 201910961306A CN 110716465 B CN110716465 B CN 110716465B
- Authority
- CN
- China
- Prior art keywords
- signal
- data processing
- adaptive data
- single chip
- chip microcomputer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
- Microcomputers (AREA)
Abstract
The invention provides a self-adaptive data processing system based on a single chip microcomputer and a control method. Different from the prior art that a unified method is adopted to collect data in a centralized way and carry out unified processing, the technical scheme of the invention adopts the mode that the singlechip comprises two feedback branches, a feedforward branch and a feedback branch; the single chip microcomputer collects data from a feedforward branch circuit and sends a detected signal to the microcomputer system through a serial communication signal; the microcomputer system establishes a mathematical model of the measured signal according to the measurement parameters and the measured signal attribute; the feedback branch circuit analyzes the mathematical model of the measured signal and selects a corresponding data processing algorithm for data processing; and for different tested signal sources, different signal excitations are adopted so as to obtain tested signals. Therefore, the accuracy of data acquisition can be ensured, and the processing method can be selected adaptively according to the data type.
Description
Technical Field
The invention belongs to the technical field of data processing, and particularly relates to a self-adaptive data processing system and a control method based on a single chip microcomputer.
Background
The Single-Chip Microcomputer is an integrated circuit Chip, which is a small and perfect Microcomputer system formed by integrating the functions of a central processing unit CPU with data processing capacity, a random access memory RAM, a read-only memory ROM, various I/O ports, interrupt systems, timers/counters and the like (possibly comprising circuits such as a display driving circuit, a pulse width modulation circuit, an analog multiplexer, an A/D converter and the like) on a silicon Chip by adopting a super-large scale integrated circuit technology, and is widely applied to the field of industrial control.
The single chip microcomputer is also called as a single chip microcontroller, and belongs to an integrated circuit chip. The single chip microcomputer mainly comprises a CPU, a read only memory ROM, a random access memory RAM and the like, and the diversified data acquisition and control system can enable the single chip microcomputer to finish various complex operations, and the operations can be finished by the single chip microcomputer no matter whether the operation symbols are controlled or the operation instructions are issued to the system. Therefore, the single chip microcomputer can be fully applied to the intelligent electronic equipment by means of powerful data processing technology and computing function.
In short, the single chip is a chip, the chip forms a system, and data operation and processing capability is integrated into the chip through application of an integrated circuit technology, so that high-speed processing of data is realized.
For example, a wireless data acquisition system based on an MSP432 single chip microcomputer is proposed in chinese patent application with application number cn201711233638.x, which solves the problems that the conventional wireless data acquisition system is too large, and acquisition equipment is expensive and is not suitable for acquiring data in a small range. The system is externally connected with a wifi or mobile phone short message module or a 3G internet module only through a UART port. The method can realize large-scale data acquisition and can also use a cloud platform for unified management; the chinese patent application with application number CN201810166825.9 proposes a multi-channel data acquisition and processing system based on single-chip microcomputer control, which adopts a DSP processor with high precision and high speed, and is connected with a single-chip microcomputer controller as a control processor, so as to facilitate system expansion and communication with the outside, and is simple and convenient to use, low in cost, and capable of effectively ensuring real-time processing of data.
However, the inventor finds that the existing data acquisition system based on the single chip microcomputer cannot prejudge the accuracy of the data before acquiring the data; after data are collected, conventional data processing is carried out according to a unified flow only by schedule, the accuracy of the processing process cannot be guaranteed, and differences of different data types are ignored.
Disclosure of Invention
In order to solve the technical problems, the invention provides a self-adaptive data processing system and a control method based on a single chip microcomputer. Different from the prior art that a unified method is adopted to collect data in a centralized way and carry out unified processing, the technical scheme of the invention adopts the mode that the singlechip comprises two feedback branches, a feedforward branch and a feedback branch; the single chip microcomputer collects data from a feedforward branch circuit and sends a detected signal to the microcomputer system through a serial communication signal; the microcomputer system establishes a mathematical model of the measured signal according to the measurement parameters and the measured signal attribute; the feedback branch circuit analyzes the mathematical model of the measured signal and selects a corresponding data processing algorithm for data processing; and for different tested signal sources, different signal excitations are adopted so as to obtain tested signals. Therefore, the accuracy of data acquisition can be ensured, and the processing method can be selected adaptively according to the data type.
In a first aspect of the present invention, a single-chip microcomputer based adaptive data processing system is provided, the data processing system comprising a system memory chip, a CPU in communication with the system memory chip; the CPU is connected with a graphics accelerator through at least one PCI bus, and the graphics accelerator is connected with a frame buffer memory and a display;
as a first innovation point of the invention, the data processing system is connected with a single chip microcomputer through the PCI bus, and the single chip microcomputer comprises a feed-forward branch and a feed-back branch; the feed-forward branch and the feed-back branch are respectively connected with a microprocessor of the single chip microcomputer; the microprocessor is connected with a microcomputer system, a program memory and a data memory;
the feed-forward branch is connected with a signal excitation source through the PCI bus, and the signal excitation source is connected with at least one tested signal source;
the signal source to be tested is connected to the feedback branch circuit through a state switch and an adaptive component;
the single chip microcomputer collects data from a feedforward branch circuit and sends a detected signal to the microcomputer system through a serial communication signal;
as a second innovation point of the invention, the microcomputer system establishes a mathematical model of the measured signal according to the measured parameter and the measured signal attribute;
the feedback branch circuit analyzes the mathematical model of the measured signal and selects a corresponding data processing algorithm for data processing;
the signal excitation source provides an excitation signal required by detection to the signal source to be detected;
the state switch controls the on and off states of a communication channel between the signal source to be tested and the signal excitation source;
the adaptation component realizes signal connection between the signal source to be tested and the feedforward branch circuit;
as a third innovative point of the present invention, the data processing system further includes an adaptive data detection system, the adaptive data detection system includes an application monitoring program, and the adaptive data detection system performs performance detection and fault diagnosis of the data processing system under the control of the application monitoring program.
The self-adaptive data detection system is connected with the feedforward branch circuit through a digital filter and connected with the feedback branch circuit through a smoothing processor.
And the digital filter and the smoothing processor perform digital filtering and smoothing on the measured signals acquired by the feedforward branch, wherein the digital filtering and smoothing include wavelet packet denoising and fixed point algorithm execution.
The feedback branch is further connected with an output interface, and the output interface is in communication connection with the self-adaptive data detection system.
Specifically, the signal excitation source includes a function generator, a frequency synthesizer, and a microwave source, among others.
As a second aspect of the present invention, there is also provided a method for controlling adaptive data processing based on a single chip, where the method is implemented by using the foregoing adaptive data processing system, and the method includes the following steps:
s601: based on the attribute of the signal source to be tested, the signal excitation source is started through the state switch;
s602: the feedforward branch circuit obtains a tested signal through the PCI bus;
s603: the detected signal is processed by the digital filter and then sent to the self-adaptive data detection system, and the self-adaptive data detection system outputs the detected signal to the smoothing processor and then sends the detected signal to the feedback branch;
s604: the feedback branch circuit outputs data to an output interface, and the application monitoring program analyzes the data attribute of the output interface and feeds the data attribute back to the self-adaptive data detection system;
s605: based on the detection result of the self-adaptive data detection system, the single chip starts a data processing process;
as a key technical means for embodying still another innovative point of the present invention,
the step S605 specifically includes:
and if the detection result of the self-adaptive data detection system meets a preset condition, starting the single chip microcomputer.
Further preferably, step S605 further includes:
and if the detection result of the self-adaptive data detection system does not meet the preset condition, returning to the step S601.
Further preferably, the returning to step S601 specifically includes:
and replacing the excitation signal source.
Furthermore, the above-mentioned method of the present invention can be implemented by a computer program stored in a readable medium, a computer readable medium, a readable optical disc, etc., and thus, there is also provided a computer readable storage medium having stored thereon computer executable instructions for implementing the foregoing method by a processor executing the instructions.
Further advantages of the invention will be apparent from the detailed description of embodiments thereof, which is to be read in connection with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a block diagram of a data processing system according to the present application;
FIG. 2 is a block diagram of a data processing system embodying the present invention;
FIG. 3 is a basic circuit diagram of a single chip in the data processing system of the present application;
FIG. 4 is a flow chart of one embodiment of a data processing method of the present invention;
fig. 5 is a flow chart of a preferred embodiment of the data processing method of the present invention.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
In order that the above objects, features and advantages of the present invention can be more clearly understood, the present invention will be further described with reference to the accompanying drawings and examples. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
Referring to fig. 1, the data processing system is an adaptive data processing system based on a single chip microcomputer according to an embodiment of the present invention, and the data processing system includes a system memory chip and a CPU in communication with the system memory chip; the CPU is connected with a graphics accelerator through at least one PCI bus, and the graphics accelerator is connected with a frame buffer memory and a display;
the data processing system is connected with the singlechip through the PCI bus.
In the embodiment of fig. 1, the data processing system further comprises an adaptive data detection system comprising an application monitor, the adaptive data detection system performing performance detection and fault diagnosis of the data processing system under the control of the application monitor.
Referring to fig. 2 on the basis of fig. 1, the single chip microcomputer includes a feed-forward branch and a feed-backward branch; the feed-forward branch and the feed-back branch are respectively connected with a microprocessor of the single chip microcomputer; the microprocessor is connected with a microcomputer system, a program memory and a data memory;
the feed-forward branch is connected with a signal excitation source through the PCI bus, and the signal excitation source is connected with at least one tested signal source;
the signal source to be tested is connected to the feedback branch circuit through a state switch and an adaptive component;
the single chip microcomputer collects data from a feedforward branch circuit and sends a detected signal to the microcomputer system through a serial communication signal;
the microcomputer system establishes a mathematical model of the measured signal according to the measurement parameters and the measured signal attribute;
the feedback branch circuit analyzes the mathematical model of the measured signal and selects a corresponding data processing algorithm for data processing;
the signal excitation source provides an excitation signal required by detection to the signal source to be detected;
the state switch controls the on and off states of a communication channel between the signal source to be tested and the signal excitation source;
the adaptation component realizes signal connection between the signal source to be tested and the feedforward branch circuit;
the self-adaptive data detection system is connected with the feedforward branch circuit through a digital filter and connected with the feedback branch circuit through a smoothing processor.
The feedback branch is further connected with an output interface, and the output interface is in communication connection with the self-adaptive data detection system.
Fig. 3 is a basic circuit diagram of the single chip microcomputer in the embodiment shown in fig. 1-2. It should be noted that fig. 3 is not a complete connection circuit diagram of the single chip microcomputer, and only schematic distinction is made for simplicity of the diagram.
In the embodiment of fig. 1-3, the signal stimulus sources include a function generator, a frequency synthesizer, and a microwave source. And the digital filter and the smoothing processor perform digital filtering and smoothing on the measured signals acquired by the feedforward branch, wherein the digital filtering and smoothing include wavelet packet denoising and fixed point algorithm execution.
Referring next to FIG. 4, a flowchart of a method for controlling data processing using the data processing system of FIGS. 1-3 is shown. In fig. 4, the main steps include:
s601: based on the attribute of the signal source to be tested, the signal excitation source is started through the state switch;
s602: the feedforward branch circuit obtains a tested signal through the PCI bus;
s603: the detected signal is processed by the digital filter and then sent to the self-adaptive data detection system, and the self-adaptive data detection system outputs the detected signal to the smoothing processor and then sends the detected signal to the feedback branch;
s604: the feedback branch circuit outputs data to an output interface, and the application monitoring program analyzes the data attribute of the output interface and feeds the data attribute back to the self-adaptive data detection system;
s605: based on the detection result of the self-adaptive data detection system, the single chip starts a data processing process;
the step S605 specifically includes:
and if the detection result of the self-adaptive data detection system meets a preset condition, starting the single chip microcomputer.
In one embodiment, the predetermined condition may be that the data attribute of the output interface meets a standard range of the current data collection.
Fig. 5 is a more preferred embodiment based on fig. 4, and based on fig. 4, step S605 further includes:
and if the detection result of the self-adaptive data detection system does not meet the preset condition, returning to the step S601.
Returning to step S601 specifically includes: and replacing the excitation signal source.
The present invention can be easily implemented by those skilled in the art from the above detailed description. It should be understood, however, that the intention is not to limit the invention to the particular embodiments described. On the basis of the disclosed embodiments, a person skilled in the art can combine different technical features at will, thereby implementing different technical solutions.
Claims (8)
1. A self-adaptive data processing system based on a single chip microcomputer comprises a system memory chip and a CPU (central processing unit) communicated with the system memory chip; the CPU is connected with a graphics accelerator through at least one PCI bus, and the graphics accelerator is connected with a frame buffer memory and a display;
the method is characterized in that:
the data processing system is connected with the singlechip through the PCI bus;
the single chip microcomputer comprises a feedforward branch circuit and a feedback branch circuit;
the feed-forward branch and the feed-back branch are respectively connected with a microprocessor of the single chip microcomputer; the microprocessor is connected with a microcomputer system, a program memory and a data memory;
the feed-forward branch is connected with a signal excitation source through the PCI bus, and the signal excitation source is connected with at least one tested signal source;
the signal source to be tested is connected to the feedback branch circuit through a state switch and an adaptive component;
the single chip microcomputer collects data from a feedforward branch circuit and sends a detected signal to the microcomputer system through a serial communication signal;
the microcomputer system establishes a mathematical model of the measured signal according to the measurement parameters and the measured signal attribute;
the feedback branch circuit analyzes the mathematical model of the measured signal and selects a corresponding data processing algorithm for data processing;
the signal excitation source provides an excitation signal required by detection to the signal source to be detected;
the state switch controls the on and off states of a communication channel between the signal source to be tested and the signal excitation source;
the adaptation component realizes signal connection between the signal source to be tested and the feedforward branch circuit;
the data processing system further comprises an adaptive data detection system, the adaptive data detection system comprises an application monitoring program, and the adaptive data detection system performs performance detection and fault diagnosis of the data processing system under the control of the application monitoring program.
2. The adaptive data processing system of claim 1, wherein:
the self-adaptive data detection system is connected with the feedforward branch circuit through a digital filter and connected with the feedback branch circuit through a smoothing processor.
3. The adaptive data processing system of claim 1, wherein:
the feedback branch is further connected with an output interface, and the output interface is in communication connection with the self-adaptive data detection system.
4. An adaptive data processing system according to any one of claims 1 or 3, wherein:
the signal excitation source comprises a function generator, a frequency synthesizer and a microwave source.
5. The adaptive data processing system of claim 2, wherein:
and the digital filter and the smoothing processor perform digital filtering and smoothing on the measured signals acquired by the feedforward branch, wherein the digital filtering and smoothing include wavelet packet denoising and fixed point algorithm execution.
6. An adaptive data processing control method based on a single chip microcomputer, which is realized by adopting the adaptive data processing system of any one of claims 1-5,
the method is characterized in that:
the control method comprises the following steps:
s601: based on the attribute of the signal source to be tested, the signal excitation source is started through the state switch;
s602: the feedforward branch circuit obtains a tested signal through the PCI bus;
s603: the detected signal is processed by a digital filter and then sent to the self-adaptive data detection system, and the self-adaptive data detection system outputs the detected signal to a smoothing processor and then sends the detected signal to a feedback branch;
s604: the feedback branch circuit outputs data to an output interface, and the application monitoring program analyzes the data attribute of the output interface and feeds the data attribute back to the self-adaptive data detection system;
s605: and if the detection result of the self-adaptive data detection system meets a preset condition, starting the single chip microcomputer.
7. The control method according to claim 6, characterized in that:
the step S605 further includes:
and if the detection result of the self-adaptive data detection system does not meet the preset condition, returning to the step S601.
8. The control method according to claim 7, characterized in that:
the step S601 specifically includes:
and replacing the signal excitation source.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910961306.6A CN110716465B (en) | 2019-10-10 | 2019-10-10 | Adaptive data processing system based on single chip microcomputer and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910961306.6A CN110716465B (en) | 2019-10-10 | 2019-10-10 | Adaptive data processing system based on single chip microcomputer and control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110716465A CN110716465A (en) | 2020-01-21 |
CN110716465B true CN110716465B (en) | 2021-07-13 |
Family
ID=69211412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910961306.6A Active CN110716465B (en) | 2019-10-10 | 2019-10-10 | Adaptive data processing system based on single chip microcomputer and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110716465B (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8055370B1 (en) * | 2006-06-23 | 2011-11-08 | Novellus Systems, Inc. | Apparatus and methods for monitoring health of semiconductor process systems |
CN102818986A (en) * | 2012-08-20 | 2012-12-12 | 桂林电子科技大学 | Mixed signal circuit boundary scanning test system and test method |
CN105938343A (en) * | 2016-07-04 | 2016-09-14 | 宁夏大学 | Adaptive data acquisition device for multiple types of sensing signals |
CN106502897B (en) * | 2016-10-24 | 2019-03-12 | 北京润科通用技术有限公司 | Test model generation method and device |
CN106527281A (en) * | 2016-12-16 | 2017-03-22 | 窦圣堂 | Adaptive data acquisition system |
CN107203135B (en) * | 2017-06-08 | 2020-02-04 | 东莞中子科学中心 | Self-adaptive control system based on dynamic feedback-feedforward |
CN108132636A (en) * | 2018-02-28 | 2018-06-08 | 成都优诺美企业管理咨询有限公司 | Based on monolithic processor controlled multi-channel data acquisition processing system |
-
2019
- 2019-10-10 CN CN201910961306.6A patent/CN110716465B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110716465A (en) | 2020-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2704742C (en) | A multi-core processor, its frequency conversion device and a method of data communication between the cores | |
CN107878366B (en) | Method and device for controlling working state of new energy automobile controller | |
CN113311934B (en) | Dynamic power consumption adjusting method and system for multi-core heterogeneous domain controller | |
CN105511593A (en) | Method and device for adjusting frequencies of CPU (central processing unit) subsystems of Linux systems | |
CN116222663A (en) | Cascade type edge intelligent monitoring method and device, electronic equipment and medium | |
CN110716465B (en) | Adaptive data processing system based on single chip microcomputer and control method | |
US11129106B2 (en) | Systems and methods for a transceiver that performs network functions on behalf of a device in a low-power mode | |
US20030120396A1 (en) | Method,device and bus manager for operating a device that is connected to a motor vehicle communications network | |
CN104816635A (en) | Automobile dashboard and implementation method thereof | |
CN111257637A (en) | Ultra-high harmonic measurement method and system | |
CN115686160A (en) | Chip operation method and device, SOC chip and storage medium | |
CN108762234B (en) | Vehicle body controller and control method thereof | |
CN112185426A (en) | Voice endpoint detection equipment and method | |
CN106990302A (en) | A kind of wave filter debugging system and adjustment method | |
CN111923747A (en) | Control method and system | |
CN103529728A (en) | Battery management system with various security detection functions | |
CN209910811U (en) | Noise cancellation high-precision data acquisition device based on ESP32 | |
CN109582530A (en) | System control method, device, computer and computer readable storage medium | |
CN116600262B (en) | Method and device for determining sleep wakeup abnormality, electronic equipment and storage medium | |
Hongjuan et al. | MECHANICAL PARAMETERS ACQUISITION TEST BASED ON WIRELESS SENSOR NETWORK. | |
CN202795000U (en) | A partial vehicle body controller and the vehicle | |
CN113485954B (en) | CAN control unit and ion accelerator power supply controller | |
KR102668951B1 (en) | Embedded system | |
CN107623619B (en) | Communication method and device of CAN bus | |
CN107835037B (en) | Power carrier frequency control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210624 Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.) Applicant after: Shenzhen Guoxin artificial intelligence Co.,Ltd. Address before: 100083 No. 29, Haidian District, Beijing, Xueyuan Road Applicant before: China University of Geosciences (Beijing) |
|
GR01 | Patent grant | ||
GR01 | Patent grant |