CN108710319A - A kind of acquiring and processing method and system of electric power data - Google Patents
A kind of acquiring and processing method and system of electric power data Download PDFInfo
- Publication number
- CN108710319A CN108710319A CN201810340981.2A CN201810340981A CN108710319A CN 108710319 A CN108710319 A CN 108710319A CN 201810340981 A CN201810340981 A CN 201810340981A CN 108710319 A CN108710319 A CN 108710319A
- Authority
- CN
- China
- Prior art keywords
- electric power
- power data
- dsp core
- fft
- arm cores
- 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.)
- Pending
Links
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/0421—Multiprocessor system
-
- 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/26—Pc applications
- G05B2219/2612—Data acquisition interface
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention discloses a kind of acquiring and processing method of electric power data and systems, wherein this method includes:The sampling A/D chip that DSP core controls DSP core connection acquires electric power data;DSP core obtains electric power data;DSP core carries out Fast Fourier Transform (FFT) to electric power data, obtains the electric power data after Fast Fourier Transform (FFT);Electric power data after electric power data and Fast Fourier Transform (FFT) is sent to ARM cores by DSP core by internuclear interconnecting channels;ARM cores store the electric power data after the electric power data received and Fast Fourier Transform (FFT).Through the invention, processing electric power data is gone using the framework of ARM+DSP, the demand of real-time acquisition, the quickly processing and man-machine application of the electric power data that a variety of electric power application scenarios propose can be met.
Description
Technical field
The present invention relates to power automation observation and control technology field, more particularly to the acquiring and processing method of a kind of electric power data and
System.
Background technology
Second power equipment system is usually to the processing procedure of electric power data:By the voltage and current signal of measurement via two
Input ADC carries out sample conversion after secondary mutual inductor PT/CT processing, then by ARM DSP processing.But it sends out in practice
Existing, the data operation processing capacity of ARM is on the weak side, and the interactive capability of DSP is on the weak side, in many new application scenarios, especially exists
Under the requirement of low-power consumption, it is right into intelligent grid transition process that traditional power grid is all cannot be satisfied only with ARM or only with DSP
The requirements at the higher level that the ability of secondary device system proposes.
Invention content
The present invention provides a kind of acquiring and processing method and system of electric power data, and processing electricity is removed using the framework of ARM+DSP
Force data, the real-time acquisition that the electric power data that a variety of electric power application scenarios propose can be met, quickly processing and man-machine application
Demand.
According to an aspect of the invention, there is provided a kind of acquiring and processing method of electric power data, is based on ARM+DSP double-cores
Framework handles electric power data, and internuclear interconnecting channels are equipped between ARM cores and DSP core, are included the following steps:DSP core controls DSP core
The sampling A/D chip of connection acquires electric power data;DSP core obtains electric power data;DSP core carries out fast Fourier change to electric power data
It changes, obtains the electric power data after Fast Fourier Transform (FFT);DSP core is by the electric power data after electric power data and Fast Fourier Transform (FFT)
It is sent to ARM cores by internuclear interconnecting channels;ARM cores are by the electric power number after the electric power data received and Fast Fourier Transform (FFT)
According to being stored.
Preferably, the electric power data after the electric power data received and Fast Fourier Transform (FFT) is stored in ARM cores
Later, this method is further comprising the steps of:ARM cores draw electric power data and the electric power data after Fast Fourier Transform (FFT) respectively
Oscillogram;Oscillogram is included on the display being connect with ARM cores by ARM cores.
Preferably, oscillogram is included including the following steps on the display being connect with ARM cores by ARM cores:ARM cores connect
Receive the Waveform display signal of the display feedback of ARM cores connection;ARM cores judge whether Waveform display signal is that time domain waveform is shown
Signal;If it is, ARM cores show the oscillogram of electric power data over the display;If it is not, then ARM cores will be in quick Fu
The oscillogram of electric power data after leaf transformation is shown over the display.
Preferably, the sampling A/D chip of DSP core control DSP core connection acquires electric power data, includes the following steps:DSP core opens
Dynamic timer, wherein timer is for controlling sample frequency;The sampling A/D chip acquisition simulation electricity that DSP core control is connect with DSP core
Force signal;When timer generates interruption, DSP core draws high the data conversion pin of sampling A/D chip in the processing function of interruption;
The data conversion pin of DSP core control sampling A/D chip is converted into digital power signal by electric power signal is simulated, to obtain electric power number
According to.
Preferably, DSP core obtains electric power data, includes the following steps:DSP core receives the interruption that sampling A/D chip is sent;DSP
Core reads out electric power data in the processing function of interruption.
According to another aspect of the present invention, a kind of acquisition processing system of electric power data is additionally provided, ARM+DSP is based on
Duo-Core Architecture handles electric power data, and internuclear interconnecting channels, including ARM cores, DSP core are equipped between ARM cores and DSP core:
Wherein, DSP core includes:Control unit, the sampling A/D chip for controlling DSP core connection acquire electric power data;It obtains
Unit, for obtaining electric power data;Algorithm process unit obtains quickly for carrying out Fast Fourier Transform (FFT) to electric power data
Electric power data after Fourier transformation;Transmission unit, for leading to electric power data and the electric power data after Fast Fourier Transform (FFT)
It crosses internuclear interconnecting channels and is sent to ARM cores;
Wherein, ARM cores include:Storage unit, for by the electricity after the electric power data received and Fast Fourier Transform (FFT)
Force data is stored.
Preferably, a kind of ARM cores of the acquisition processing system of electric power data further include:Oscillogram drawing unit, for dividing
The oscillogram of electric power data that Hui Zhi be after electric power data and Fast Fourier Transform (FFT);Oscillogram display unit is used for waveform
Figure is shown on the display being connect with ARM cores.
Preferably, oscillogram display unit includes:Receiving subelement, what the display for receiving the connection of ARM cores was fed back
Waveform display signal;Judgment sub-unit, for judging whether the Waveform display signal that receiving subelement receives is that time domain waveform is aobvious
Show signal;Time domain wave shows subelement, for when judgment sub-unit judges that the Waveform display signal that receiving subelement receives is
When domain waveform shows signal, the oscillogram of electric power data is shown over the display;Frequency domain wave shows subelement, for judging
When subelement judges that the Waveform display signal that receiving subelement receives does not show signal for time domain waveform, by Fast Fourier Transform (FFT)
The oscillogram of electric power data afterwards is shown over the display.
Preferably, control unit includes:Promoter unit, for starting timer, wherein timer is sampled for controlling
Frequency;Subelement is controlled, for controlling the sampling A/D chip being connect with DSP core acquisition simulation electric power signal;Subelement is handled, is used for
When timer generates interruption, the data conversion pin of sampling A/D chip is drawn high in the processing function of interruption;Conversion subunit is used
It is converted into digital power signal by electric power signal is simulated in the data conversion pin of control sampling A/D chip, to obtain electric power data.
Preferably, acquiring unit includes:Receiving subelement, the interruption for receiving sampling A/D chip transmission;Reading subunit,
For reading out electric power data in the processing function of interruption.
Compared with prior art, beneficial effects of the present invention are as follows:
Through the invention, using ARM+DSP Duo-Core Architectures, integrated level is high, significantly reduces the body of power consumption and circuit board
Product, is advantageously implemented the low-power consumption and miniaturization of electric power data acquisition processing system;Electric power data is acquired by sampling A/D chip, it is real
Multi-channel high-accuracy sampling is showed;The communication of ARM nuclear control data, for DSP core for handling data, the division of labor is clear, improves place
The speed for managing electric power data ensure that the real-time of electric power data processing;ARM cores and multiple peripheral hardwares into row data communication greatly
Meet the demand of human-computer interaction.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair
Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In attached drawing:
Fig. 1 is a kind of flow chart of the acquiring and processing method of electric power data according to the ... of the embodiment of the present invention;
Fig. 2 is a kind of structure diagram of the acquisition processing system of electric power data according to the ... of the embodiment of the present invention;
Fig. 3 is a kind of flow chart of the acquiring and processing method of according to embodiments of the present invention one electric power data;
Fig. 4 is the flow chart of the acquiring and processing method of according to embodiments of the present invention two another electric power data.
Specific implementation mode
Below in conjunction with attached drawing of the present invention, technical solution of the present invention is described, but described embodiment is only
A part of the embodiment of the present invention, based on the embodiments of the present invention, those of ordinary skill in the art are not making creative labor
The every other embodiment obtained under the premise of dynamic, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a kind of acquiring and processing method of electric power data, Fig. 1 is according to the ... of the embodiment of the present invention
A kind of flow chart of the acquiring and processing method of electric power data, as shown in Figure 1, including the following steps:
Step S101:The sampling A/D chip that DSP core controls DSP core connection acquires electric power data;
Step S102:DSP core obtains electric power data;
Step S103:DSP core carries out Fast Fourier Transform (FFT) to electric power data, obtains the electric power after Fast Fourier Transform (FFT)
Data;
Step S104:Electric power data after electric power data and Fast Fourier Transform (FFT) is passed through internuclear interconnecting channels by DSP core
It is sent to ARM cores;
Step S105:ARM cores store the electric power data after the electric power data received and Fast Fourier Transform (FFT).
In implementation process, after step S105, after ARM cores draw electric power data and Fast Fourier Transform (FFT) respectively
The oscillogram of electric power data;Then oscillogram is included again on the display being connect with ARM cores by ARM cores.
Further, oscillogram is included that specific implementation mode on the display being connect with ARM cores is by ARM cores:ARM
Core receives the Waveform display signal of the display feedback of ARM cores connection;ARM cores judge whether Waveform display signal is time domain waveform
Show signal;If it is, ARM cores show the oscillogram of electric power data over the display;If it is not, then ARM cores will be quick
The oscillogram of electric power data after Fourier transformation is shown over the display.
In step S101, DSP core can start timer, wherein timer is for controlling sample frequency;Then it controls again
The sampling A/D chip acquisition simulation electric power signal being connect with DSP core;When timer generates interruption, DSP core can be in the processing of interruption
The data conversion pin of sampling A/D chip is drawn high in function;So that the data conversion pin of sampling A/D chip will simulate electric power signal conversion
At digital power signal, electric power data is obtained.
In step s 102, when the data conversion pin of sampling A/D chip digital power signal is converted by electric power signal is simulated
Later, sampling A/D chip just will produce interruption, and the interruption is sent to DSP core, and DSP core receives the interruption that sampling A/D chip is sent,
And read out electric power data in the processing function of the interruption.
Through the above steps, sampling with high precision is realized by sampling A/D chip multichannel collecting electric power data, at DSP core
The electric power data of acquisition is managed, then the electric power data handled well is transmitted to ARM cores by internuclear interconnecting channels, high speed may be implemented
Signal processing, ARM cores connect with display peripheral hardware and can show the oscillogram for the electric power data handled well and supply over the display
Staff checks, to electric power data it is normal whether play the purpose of monitoring.
The embodiment of the present invention additionally provides a kind of acquisition processing system of electric power data, for realizing a kind of above-mentioned electric power number
According to acquiring and processing method in.Fig. 2 is a kind of structural frames of the acquisition processing system of electric power data according to the ... of the embodiment of the present invention
Figure, as shown in Fig. 2, the system includes DSP core 10, ARM cores 20:
Wherein, DSP core 10 includes:Control unit 101, the sampling A/D chip for controlling the connection of DSP core 10 acquire electric power number
According to;Acquiring unit 102, for obtaining electric power data;Algorithm process unit 103, for carrying out fast Fourier to electric power data
Transformation, obtains the electric power data after Fast Fourier Transform (FFT);Transmission unit 104, for becoming electric power data and fast Fourier
Electric power data after changing is sent to ARM cores 20 by internuclear interconnecting channels;
Wherein, ARM cores 20 include:Storage unit 201, for will be after the electric power data that received and Fast Fourier Transform (FFT)
Electric power data stored.
For a kind of acquisition processing system of electric power data, ARM cores 20 further include:Oscillogram drawing unit 202, for dividing
The oscillogram of electric power data that Hui Zhi be after electric power data and Fast Fourier Transform (FFT);Oscillogram display unit 203 is used for wave
Shape figure is shown on the display being connect with ARM cores 20.
For a kind of acquisition processing system of electric power data, oscillogram display unit 203 includes:Receiving subelement 2031,
Waveform display signal for the display feedback for receiving the connection of ARM cores 20;Judgment sub-unit 2032 receives son list for judging
Whether the Waveform display signal that member 2031 receives is that time domain waveform shows signal;Time domain wave shows subelement 2033, for sentencing
When disconnected subelement 2032 judges that the Waveform display signal that receiving subelement 2031 receives shows signal for time domain waveform, by electric power number
According to oscillogram show over the display;Frequency domain wave shows subelement 2034, and son is received for judging in judgment sub-unit 2032
When the Waveform display signal that unit 2031 receives is not that time domain waveform shows signal, by the electric power data after Fast Fourier Transform (FFT)
Oscillogram show over the display.
For a kind of acquisition processing system of electric power data, control unit 101 includes:Promoter unit 1011, for opening
Dynamic timer, wherein timer is for controlling sample frequency;Subelement 1012 is controlled, for controlling the sampling being connect with DSP core
Chip acquisition simulation electric power signal;Subelement 1013 is handled, is used for when timer generates interruption, in the processing function of interruption
Draw high the data conversion pin of sampling A/D chip;Conversion subunit 1014, for controlling the data conversion pin of sampling A/D chip by mould
Quasi- electric power signal is converted into digital power signal, to obtain electric power data.
For a kind of acquisition processing system of electric power data, acquiring unit 102 includes:Receiving subelement 1021, for connecing
Receive the interruption that sampling A/D chip is sent;Reading subunit 1022, for reading out electric power data in the processing function of interruption.
It should be noted that a kind of acquisition processing system of electric power data described in device embodiment is corresponding to above-mentioned
Embodiment of the method, concrete implementation process had carried out detailed description in embodiment of the method, and details are not described herein.
In order to keep technical scheme of the present invention and implementation method clearer, below in conjunction with preferred embodiment in fact
Existing process is described in detail.
Embodiment one
The present embodiment provides a kind of acquiring and processing methods of electric power data, as shown in figure 3, Fig. 3 is implemented according to the present invention
A kind of flow chart of the acquiring and processing method of electric power data of example one, includes the following steps:
Step S301:The sampling A/D chip that DSP core controls DSP core connection acquires electric power data;
In the embodiment of the present invention, the sampling A/D chip of above-mentioned DSP core connection can be AD7606, and AD7606 has at least one adopt
Sample channel is attached between DSP core and AD7606 by EMIF high-speed interfaces, and DSP core can pass through EMIF high-speed interface controls
AD7606 processed synchronizes sampling from multiple sampling channels so that sampling is more efficient;
Step S302:DSP core obtains electric power data;
Step S303:DSP core carries out Fast Fourier Transform (FFT) to electric power data, obtains the electric power after Fast Fourier Transform (FFT)
Data;
Step S304:Electric power data after electric power data and Fast Fourier Transform (FFT) is passed through internuclear interconnecting channels by DSP core
It is sent to ARM cores;
In the embodiment of the present invention, DSP core is integrated in ARM cores on a piece of core board card, is simplified circuit, is enhanced collection
Cheng Du, and core board is arranged and is provided on the bottom plate of multiple peripheral hardwares a piece of, the installation of core board and bottom plate is using can
Secondary development is convenient in the design of separate type;
Optionally, internuclear interconnecting channels are provided between DSP core and ARM cores, DSP core can be incited somebody to action by internuclear interconnecting channels
Electric power data is sent to ARM cores with the electric power data after Fast Fourier Transform (FFT), greatly improves transmission speed, further
Improve the efficiency of data transmission;
Step S305:ARM cores store the electric power data after the electric power data received and Fast Fourier Transform (FFT);
SATA interface and USB2.0 interfaces, the electricity that ARM cores can will receive are provided in the embodiment of the present invention, on bottom plate
Force data is stored in the electric power data after Fast Fourier Transform (FFT) in the SATA hard disc that SATA interface is connect, and can also will be received
To electric power data and Fast Fourier Transform (FFT) after electric power data be stored in the USB flash disk of USB2.0 interfaces connection, the present invention is real
Example is applied not limit;
Step S306:ARM cores draw the oscillogram of electric power data and the electric power data after Fast Fourier Transform (FFT) respectively;
In the embodiment of the present invention, ARM cores can draw the oscillogram of electric power data, the time domain wave of as collected signal source
Shape figure, ARM cores can also draw the oscillogram of the electric power data after Fast Fourier Transform (FFT), the frequency domain of as collected signal source
Oscillogram;
Step S307:ARM cores receive the Waveform display signal of the display feedback of ARM cores connection;
In the embodiment of the present invention, the display of above-mentioned ARM cores connection is LCD liquid crystal displays, is set on LCD liquid crystal displays
It is equipped with the button of the type of the waveform for selecting display, staff selects corresponding button according to specific needs, and ARM cores are just
The Waveform display signal of LCD liquid crystal displays feedback can be received, then ARM cores will select corresponding according to Waveform display signal
Oscillogram so that it is shown on LCD liquid crystal displays;
Step S308:ARM cores judge whether Waveform display signal is that time domain waveform shows signal;If it is, executing step
Rapid S309, if not, thening follow the steps S310;
Step S309:ARM cores show the oscillogram of electric power data over the display;
In the embodiment of the present invention, the oscillogram of above-mentioned electric power data is exactly time domain waveform, above-mentioned Fast Fourier Transform (FFT)
The oscillogram of electric power data afterwards is exactly frequency-domain waveform figure, so when ARM cores receive time domain waveform and show signal, just illustrates work
Want to check the oscillogram of above-mentioned electric power data as personnel, then ARM cores will show the oscillogram of electric power data over the display;
Step S310:ARM cores show the oscillogram of the electric power data after Fast Fourier Transform (FFT) over the display.
In the embodiment of the present invention, when ARM cores, which receive frequency-domain waveform, shows signal, it is above-mentioned just to illustrate that staff wants to check
The oscillogram of electric power data after Fast Fourier Transform (FFT), then ARM cores will be by the electric power data after Fast Fourier Transform (FFT)
Oscillogram shows and is checked over the display for staff that further, staff compares the wave of electric power data by observation
The oscillogram of electric power data after shape figure and Fast Fourier Transform (FFT) can judge the electronic equipment for generating above-mentioned electric power data
Whether there is exception, and then plays the purpose of fault detect to electronic equipment.
Embodiment two
The present embodiment provides the acquiring and processing methods of another electric power data, as shown in figure 4, Fig. 4 is according to of the invention real
The flow chart for applying the acquiring and processing method of another electric power data of example two, includes the following steps:
Step S401:DSP core starts timer;
In the embodiment of the present invention, above-mentioned timer is for controlling sample frequency;
Step S402:The sampling A/D chip acquisition simulation electric power signal that DSP core control is connect with DSP core;
Step S403:When timer generates interruption, DSP core draws high the data of sampling A/D chip in the processing function of interruption
Convert pin;
Step S404:The data conversion pin of DSP core control sampling A/D chip is converted into digital power by electric power signal is simulated
Signal, to obtain electric power data;
Step S405:DSP core receives the interruption that sampling A/D chip is sent;
In the embodiment of the present invention, digital power letter is converted into when the data conversion pin of sampling A/D chip will simulate electric power signal
After number, sampling A/D chip will produce interruption, and the interruption is sent to DSP core;
Step S406:DSP core reads out electric power data in the processing function of interruption;
In the embodiment of the present invention, DSP core, will be in the processing of the interruption after the interruption for receiving sampling A/D chip transmission
The sampled value in sampling channel is read in function, sampling channel can be 8, or 16, the embodiment of the present invention is not done
It limits, the sampled value in the sampling channel that DSP core is read in the processing function of interruption is exactly electric power data;
Step S407:DSP core carries out Fast Fourier Transform (FFT) to electric power data, obtains the electric power after Fast Fourier Transform (FFT)
Data;
Step S408:Electric power data after electric power data and Fast Fourier Transform (FFT) is passed through internuclear interconnecting channels by DSP core
It is sent to ARM cores;
In the embodiment of the present invention, DSP core is integrated in ARM cores on a piece of core board card, is simplified circuit, is enhanced collection
Cheng Du, and core board is arranged and is provided on the bottom plate of multiple peripheral hardwares a piece of, the installation of core board and bottom plate is using can
Secondary development is convenient in the design of separate type;
Optionally, internuclear interconnecting channels are provided between DSP core and ARM cores, DSP core can be incited somebody to action by internuclear interconnecting channels
Electric power data is sent to ARM cores with the electric power data after Fast Fourier Transform (FFT), greatly improves transmission speed, further
Improve the efficiency of data transmission;
Step S409:ARM cores store the electric power data after the electric power data received and Fast Fourier Transform (FFT);
SATA interface and USB2.0 interfaces, the electricity that ARM cores can will receive are provided in the embodiment of the present invention, on bottom plate
Force data is stored in the electric power data after Fast Fourier Transform (FFT) in the SATA hard disc that SATA interface is connect, and can also will be received
To electric power data and Fast Fourier Transform (FFT) after electric power data be stored in the USB flash disk of USB2.0 interfaces connection, the present invention is real
Example is applied not limit;
Step S410:ARM cores draw the oscillogram of electric power data and the electric power data after Fast Fourier Transform (FFT) respectively;
In the embodiment of the present invention, ARM cores can draw the oscillogram of electric power data, the time domain wave of as collected signal source
Shape figure, ARM cores can also draw the oscillogram of the electric power data after Fast Fourier Transform (FFT), the frequency domain of as collected signal source
Oscillogram;
Step S411:ARM cores receive the Waveform display signal of the display feedback of ARM cores connection;
In the embodiment of the present invention, the display of above-mentioned ARM cores connection is LCD liquid crystal displays, is set on LCD liquid crystal displays
It is equipped with the button of the type of the waveform for selecting display, staff selects corresponding button according to specific needs, and ARM cores are just
The Waveform display signal of LCD liquid crystal displays feedback can be received, then ARM cores will select corresponding according to Waveform display signal
Oscillogram so that it is shown on LCD liquid crystal displays;
Step S412:ARM cores judge whether Waveform display signal is that time domain waveform shows signal;If it is, executing step
Rapid S413, if not, thening follow the steps S414;
Step S413:ARM cores show the oscillogram of electric power data over the display;
In the embodiment of the present invention, the oscillogram of above-mentioned electric power data is exactly time domain waveform, above-mentioned Fast Fourier Transform (FFT)
The oscillogram of electric power data afterwards is exactly frequency-domain waveform figure, so when ARM cores receive time domain waveform and show signal, just illustrates work
Want to check the oscillogram of above-mentioned electric power data as personnel, then ARM cores will show the oscillogram of electric power data over the display;
Step S414:ARM cores show the oscillogram of the electric power data after Fast Fourier Transform (FFT) over the display.
In the embodiment of the present invention, when ARM cores, which receive frequency-domain waveform, shows signal, it is above-mentioned just to illustrate that staff wants to check
The oscillogram of electric power data after Fast Fourier Transform (FFT), then ARM cores will be by the electric power data after Fast Fourier Transform (FFT)
Oscillogram shows and is checked over the display for staff that further, staff compares the wave of electric power data by observation
The oscillogram of electric power data after shape figure and Fast Fourier Transform (FFT) can judge the electronic equipment for generating above-mentioned electric power data
Whether there is exception, and then plays the purpose of fault detect to electronic equipment.
In summary, by above-described embodiment, using ARM+DSP Duo-Core Architectures, integrated level is high, significantly reduces power consumption
With the volume of circuit board, it is advantageously implemented the low-power consumption and miniaturization of electric power data acquisition processing system;DSP core and sampling A/D chip
Connection, sampling A/D chip improve sampling efficiency by multi-channel synchronal sampling, and DSP core can quickly obtain sampled data, lead to
It crosses DSP core and analyzing processing is carried out to sampled data so that the analyzing processing of sampled data is quicker, more efficiently;It is handling
Can also include the Peripheral Interface company in electric power data acquisition processing unit by the oscillogram of sampled data after complete sampled data
On the display connect, so that the more convenient intuitive performance parameter for checking electric power data of staff, but also work
After personnel can compare the oscillogram of electric power data and the oscillogram of electric power data after treatment according to the observation, preferably
Electronic equipment to generating electric power data carries out fault detect.
Claims (10)
1. a kind of acquiring and processing method of electric power data, which is characterized in that electric power data is handled based on ARM+DSP Duo-Core Architectures,
It is equipped with internuclear interconnecting channels between ARM cores and DSP core, includes the following steps:
The DSP core controls the sampling A/D chip acquisition electric power data of the DSP core connection;
The DSP core obtains the electric power data;
The DSP core carries out Fast Fourier Transform (FFT) to the electric power data, obtains the electric power data after Fast Fourier Transform (FFT);
Electric power data after the electric power data and the Fast Fourier Transform (FFT) is passed through the internuclear mutual unicom by the DSP core
Road is sent to the ARM cores;
The ARM cores store the electric power data received with the electric power data after the Fast Fourier Transform (FFT).
2. according to the method described in claim 1, it is characterized in that, the ARM cores by the electric power data received with
It is further comprising the steps of after electric power data after the Fast Fourier Transform (FFT) is stored:
The ARM cores draw the oscillogram of the electric power data and the electric power data after the Fast Fourier Transform (FFT) respectively;
The oscillogram is included on the display being connect with the ARM cores by the ARM cores.
3. according to the method described in claim 2, it is characterized in that, the ARM cores by the oscillogram include with the ARM
On the display of core connection, include the following steps:
The ARM cores receive the Waveform display signal of the display feedback of the ARM cores connection;
The ARM cores judge whether the Waveform display signal is that time domain waveform shows signal;
If it is, the ARM cores show the oscillogram of the electric power data on the display;
If it is not, then the oscillogram of the electric power data after the Fast Fourier Transform (FFT) is included in the display by the ARM cores
On device.
4. according to the method described in claim 3, it is characterized in that, the DSP core controls the sampling A/D chip of the DSP core connection
Electric power data is acquired, is included the following steps:
The DSP core starts timer;Wherein, the timer is for controlling sample frequency;
The sampling A/D chip acquisition simulation electric power signal that the DSP core control is connect with the DSP core;
When the timer generates interruption, the DSP core draws high the sampling A/D chip in the processing function of the interruption
Data conversion pin;
The simulation electric power signal is converted into digital power letter by the data conversion pin that the DSP core controls the sampling A/D chip
Number, to obtain electric power data.
5. according to the method described in claim 3, it is characterized in that, the DSP core obtains the electric power data, including following step
Suddenly:
The DSP core receives the interruption that the sampling A/D chip is sent;
The DSP core reads out the electric power data in the processing function of the interruption.
6. a kind of acquisition processing system of electric power data, which is characterized in that electric power data is handled based on ARM+DSP Duo-Core Architectures,
Internuclear interconnecting channels, including ARM cores, DSP core are equipped between ARM cores and DSP core:
Wherein, the DSP core includes:
Control unit, the sampling A/D chip for controlling the DSP core connection acquire electric power data;
Acquiring unit, for obtaining the electric power data;
Algorithm process unit, for carrying out Fast Fourier Transform (FFT) to the electric power data, after obtaining Fast Fourier Transform (FFT)
Electric power data;
Transmission unit, it is described internuclear mutual for passing through the electric power data after the electric power data and the Fast Fourier Transform (FFT)
Unicom road is sent to the ARM cores;
Wherein, the ARM cores include:
Storage unit, for depositing the electric power data received with the electric power data after the Fast Fourier Transform (FFT)
Storage.
7. system according to claim 6, which is characterized in that the ARM cores further include:
Oscillogram drawing unit, for drawing the electric power data and the electric power data after the Fast Fourier Transform (FFT) respectively
Oscillogram;
Oscillogram display unit, for including in the display being connect with the ARM cores by the oscillogram.
8. system according to claim 7, which is characterized in that the oscillogram display unit includes:
Receiving subelement, the Waveform display signal of the display feedback for receiving the ARM cores connection;
Judgment sub-unit, for judging whether the Waveform display signal that the receiving subelement receives is time domain waveform display letter
Number;
Time domain wave shows subelement, for judging the Waveform display signal that the receiving subelement receives in the judgment sub-unit
When showing signal for time domain waveform, the oscillogram of the electric power data is shown on the display;
Frequency domain wave shows subelement, for judging the Waveform display signal that the receiving subelement receives in the judgment sub-unit
When not being that time domain waveform shows signal, the oscillogram by the electric power data after the Fast Fourier Transform (FFT) includes in the display
On device.
9. system according to claim 8, which is characterized in that described control unit includes:
Promoter unit, for starting timer, wherein the timer is for controlling sample frequency;
Subelement is controlled, for controlling the sampling A/D chip being connect with DSP core acquisition simulation electric power signal;
Subelement is handled, for when the timer generates interruption, the sampling to be drawn high in the processing function of the interruption
The data conversion pin of chip;
The simulation electric power signal is converted into number by conversion subunit, the data conversion pin for controlling the sampling A/D chip
Electric power signal, to obtain electric power data.
10. system according to claim 8, which is characterized in that the acquiring unit includes:
Receiving subelement, the interruption sent for receiving the sampling A/D chip;
Reading subunit, for reading out the electric power data in the processing function of the interruption.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810340981.2A CN108710319A (en) | 2018-04-17 | 2018-04-17 | A kind of acquiring and processing method and system of electric power data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810340981.2A CN108710319A (en) | 2018-04-17 | 2018-04-17 | A kind of acquiring and processing method and system of electric power data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108710319A true CN108710319A (en) | 2018-10-26 |
Family
ID=63867182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810340981.2A Pending CN108710319A (en) | 2018-04-17 | 2018-04-17 | A kind of acquiring and processing method and system of electric power data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108710319A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2938113Y (en) * | 2006-08-24 | 2007-08-22 | 王悦 | Digital oscilloscope |
CN201035054Y (en) * | 2007-05-30 | 2008-03-12 | 华南理工大学 | Portable electric energy quality monitoring analyzer based on double CPU mode |
CN101295324A (en) * | 2008-06-03 | 2008-10-29 | 浙江师范大学 | Electrical data capturing and processing method |
CN201218822Y (en) * | 2008-07-01 | 2009-04-08 | 乐山一拉得电网自动化有限公司 | Electric energy quality on-line monitoring device |
CN102087306A (en) * | 2010-12-21 | 2011-06-08 | 航天科工深圳(集团)有限公司 | Method and system for displaying electrical parameter waveform |
CN107390118A (en) * | 2017-06-13 | 2017-11-24 | 西安交通大学 | A kind of A.C. contactor on-line monitoring system and its on-line monitoring method |
US9880852B2 (en) * | 2012-12-27 | 2018-01-30 | Intel Corporation | Programmable hardware accelerators in CPU |
-
2018
- 2018-04-17 CN CN201810340981.2A patent/CN108710319A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2938113Y (en) * | 2006-08-24 | 2007-08-22 | 王悦 | Digital oscilloscope |
CN201035054Y (en) * | 2007-05-30 | 2008-03-12 | 华南理工大学 | Portable electric energy quality monitoring analyzer based on double CPU mode |
CN101295324A (en) * | 2008-06-03 | 2008-10-29 | 浙江师范大学 | Electrical data capturing and processing method |
CN201218822Y (en) * | 2008-07-01 | 2009-04-08 | 乐山一拉得电网自动化有限公司 | Electric energy quality on-line monitoring device |
CN102087306A (en) * | 2010-12-21 | 2011-06-08 | 航天科工深圳(集团)有限公司 | Method and system for displaying electrical parameter waveform |
US9880852B2 (en) * | 2012-12-27 | 2018-01-30 | Intel Corporation | Programmable hardware accelerators in CPU |
CN107390118A (en) * | 2017-06-13 | 2017-11-24 | 西安交通大学 | A kind of A.C. contactor on-line monitoring system and its on-line monitoring method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103079086A (en) | Automatic testing system for set-top box | |
CN103489387A (en) | Displayer picture switching response time test system and method | |
CN202600108U (en) | Testing system for printed circuit board | |
CN101776708A (en) | Multichannel voltage collecting device and method | |
CN110133338B (en) | Double-core electric energy meter and display method | |
CN102735331A (en) | Network node of wireless sensor with on-sheet processing capability | |
CN1905589A (en) | Automatic tester of adapter based on virtual apparatus | |
CN203786219U (en) | Multifunctional automated test system | |
CN108873786B (en) | Data acquisition system based on digital quantity conditioning | |
CN207198217U (en) | A kind of multifunctional virtual oscillograph based on expansible platform | |
CN203480800U (en) | Display screen switching response time test system | |
CN103163407B (en) | A kind of test the conversion method of multiple TCH test channels in system | |
CN108710319A (en) | A kind of acquiring and processing method and system of electric power data | |
CN209562799U (en) | Pot machine audio test system of bluetooth playback equipment | |
CN104198871B (en) | Electronic device tester and testing method thereof | |
CN101415141A (en) | System and method for measuring microphone response time | |
CN203838301U (en) | Automatic testing device for pre-amplifier | |
CN217306018U (en) | Transformer substation training system for realizing small signal simulation | |
CN103063256B (en) | A kind of railway signal measurement intelligent terminal | |
CN202710695U (en) | Cable detector | |
CN112731115B (en) | PCBA board test structure, system and PCBA board test method | |
CN207557362U (en) | A kind of full production cycle automatic test device of distribution terminal | |
CN106443282A (en) | Intelligent recording analyzer based on event trigger module and method of analyzer | |
CN208421108U (en) | A kind of electric energy quality on-line monitoring device | |
CN112213568A (en) | Detection apparatus for train vehicle antenna |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181026 |
|
RJ01 | Rejection of invention patent application after publication |