CN205787779U - A kind of data acquisition control device based on STM32F407 - Google Patents
A kind of data acquisition control device based on STM32F407 Download PDFInfo
- Publication number
- CN205787779U CN205787779U CN201620667233.1U CN201620667233U CN205787779U CN 205787779 U CN205787779 U CN 205787779U CN 201620667233 U CN201620667233 U CN 201620667233U CN 205787779 U CN205787779 U CN 205787779U
- Authority
- CN
- China
- Prior art keywords
- stm32f407
- control device
- motherboard
- core board
- data acquisition
- 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.)
- Expired - Fee Related
Links
Landscapes
- Programmable Controllers (AREA)
Abstract
The utility model discloses a kind of data acquisition control device based on STM32F407, including: core board, described core board embedded controller STM32F407;Some pins it are provided with on described core board;Motherboard, described motherboard is expansion board;The socket matched with described pin it is provided with on described motherboard;After described pin inserts described socket, described core board and described motherboard carry out data communication.This utility model achieves the basic variable measurement needed for power equipment based on STM32F407 controller, control, communicating circuit, and successfully instead of DSP, reduce development cost, and the interface resource that STM32F407 enriches is that follow-up system upgrading is provided convenience.In addition, mother matrix and the structure of core board that this utility model uses are one and design the most flexibly, only need to change mother matrix as changed peripheral hardware.
Description
Technical field
This utility model relates to a kind of power system integrated protection equipment, is specifically related to a kind of number based on STM32F407
According to acquisition control device.
Background technology
For the ease of producing and the exploitation of subsequent product, the realization of power system integrated protection equipment is typically all by module
The functional circuit plate changed assembles.It is roughly divided into: power panel, CPU board, On-off signal output board, PT/CT plate, wherein CPU
Plate is the core of integrated protection equipment.
The controller that the CPU board of current most of integrated protection uses is DSP, and the minimum system of controller with extend out
System is on one piece of circuit board.If be accomplished by again changing monoblock circuit board when needing to extend out function so every time, cause money
Source is wasted, and DSP development cost itself is more expensive in addition, is difficult to the profit margin of improving product.
Summary of the invention
In order to improve the cost performance of equipment, the purpose of this utility model is to provide a kind of data based on STM32F407
Acquisition control device, STM32F407 has abundant peripheral hardware, and inside provides a DSP core, and development cost controls with DSP
Device is compared the cheapest.The minimum system of CPU and outer enlarging system are divided among on two pieces of circuit boards by this acquisition module, respectively motherboard
With core board, centre is connected by adapter, if the function of whole CPU board to change, it is only necessary to change motherboard,
Thus reducing cost, the feature of this system is: development environment is convenient, with low cost, uses more flexible.
For reaching above-mentioned purpose, the technical solution of the utility model is as follows:
A kind of data acquisition control device based on STM32F407, including:
Core board, described core board embedded controller STM32F407;Some pins it are provided with on described core board;
Motherboard, described motherboard is expansion board;The socket matched with described pin it is provided with on described motherboard;
After described pin inserts described socket, described core board and described motherboard carry out data communication.
In a preferred embodiment of the present utility model, described expansion board at least includes at PT/CT input signal
Reason module, ADC and waveform modular converter;
The signal of 16 road PT, CT outputs, a road is after PT/CT input signal processing module, then is adopted by ADC
Sample, sampled data, after core controller 1 STM32F407 processes, can obtain the current/voltage value of sampled signal;Another road
By connecting STM32F407 through waveform modular converter after PT/CT input signal processing module.
In a preferred embodiment of the present utility model, also include that temperature collect module, PT100 temperature sensor pass through
Temperature collect module 8 connects STM32F407.
In a preferred embodiment of the present utility model, the LMP90100 temperature sensing that described temperature collect module uses
Device front end data processes chip, and PT100 uses the mode of three-wire system to access this chip, this chip and controller
SPI communication modes is used between STM32F407.
In a preferred embodiment of the present utility model, it is also associated with ethernet communication module, passes through ethernet communication
Module is in communication with the outside;Described ethernet communication module uses W5300 network chip.
The beneficial effects of the utility model are:
In STM32F407 sheet, resource is abundanter, and development environment is relatively more flexible, thus reduces the development cost of product, with
Time also allow for exploitation and the upgrading of subsequent product.
Accompanying drawing explanation
In order to be illustrated more clearly that this utility model embodiment or technical scheme of the prior art, below will be to embodiment
Or the required accompanying drawing used is briefly described in description of the prior art, it should be apparent that, the accompanying drawing in describing below is only
It is embodiments more of the present utility model, for those of ordinary skill in the art, in the premise not paying creative work
Under, it is also possible to other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is assembling schematic diagram of the present utility model.
Fig. 2 is schematic internal view of the present utility model.
Fig. 3 is PT, CT output signal processing module circuit diagram of the present utility model.
Fig. 4 is the internal structure schematic diagram of 16 road ADC of the present utility model.
Fig. 5 is waveform modular converter circuit diagram of the present utility model
Fig. 6 is temperature collect module circuit diagram of the present utility model
Fig. 7 is switching input module circuit diagram of the present utility model
Fig. 8 is switching value output module circuit diagram of the present utility model
Fig. 9 is ethernet module internal structure schematic diagram of the present utility model.
Figure 10 is workflow diagram of the present utility model.
Detailed description of the invention
For the technological means making this utility model realize, creation characteristic, reach purpose and be easy to understand with effect, under
Face combines and is specifically illustrating, and this utility model is expanded on further.
Reference Fig. 1, a kind of data acquisition control device based on STM32F407, including: core board 100, described core board
Embedded controller STM32F407;Some pins 110 it are provided with on described core board;Motherboard 200, described motherboard is Function Extension
Plate;The socket 210 matched with described pin it is provided with on described motherboard;After described pin inserts described socket, described core
Plate and described motherboard carry out data communication.Specifically, described pin is the pin of adapter.
With reference to Fig. 2, carry out phase for specifically controller STM32F407 with multiple circuit modules of setting in expansion board
Intercommunicated structural representation.
The signal of 16 road PT, CT outputs, a road is after PT/CT input signal processing module 5, then is carried out by ADC 6
Sampling, sampled data, after the FFT computing in the DSP storehouse that core controller 1 STM32F407 carries, can obtain sampled signal
Current/voltage value;Separately lead up to and connect through waveform modular converter 7 after PT/CT input signal processing module 5
STM32F407;
Wherein PT100 temperature sensor is connected by temperature collect module 8 STM32F407;Serial communication module 11 leads to
Cross the first isolation module 10 connection and have STM32F407;PWM module 13 is connected by the second isolation module 12 STM32F407;24
Way switch amount input signal is connected by the first signal processing module 14 STM32F407;8 way switch amount output signals are by the
Binary signal processing module 15 connects STM32F407.Above-mentioned STM32F407 has been also respectively connected with external chip external memory 2,3
And RTC circuit 4.
Further, STM32F407 is in communication with the outside by ethernet communication module 9;Also include power module 16, for whole
Individual device is powered.
Reference Fig. 3, a kind of data acquisition control device based on STM32, including: PT, CT output signal processing module is former
Reason figure.
This module is mainly made up of two parts circuit, and Part I is the filter circuit of R14 and C25 composition;Part II
For operation amplifier circuit, its effect is impedance transformation.
With reference to Fig. 4, the internal structure schematic diagram of 16 road ADC.Two panels AD7606 and the FSMC below figure of STM32F407
Structure connects, it is achieved 16 road synchronized samplings.
The signal of 16 road PT, CT outputs, after signal processing module 5, then is sampled by ADC 6, sampled data
After the FFT computing in the DSP storehouse that core controller 1 STM32F407 carries, the current/voltage value of sampled signal can be obtained.
Core controller so to gather data store or judge, if need activate switch amount output relay.
Reference Fig. 5, a kind of data acquisition control device based on STM32, including: waveform modular converter schematic diagram.At electricity
In Force system, the frequency acquisition of signal is one of most basic calculating.Because measured signal is periodic signal, the side therefore used
Case is, sinusoidal signal is converted to square wave, and the ICAP function of recycling core controller 1 obtains frequency.First input signal
AIN_1, after decoupling C136, enters the output of the input 3A, 74LVC14AD of Schmidt reverse trigger device 74LVC14AD
End 3Y displacement exports the square wave of same frequency, and the outfan 3Y of 74LVC14AD is connected with the ICAP pin of core controller 1,
Now core controller 1 just can calculate the frequency of square wave.In this circuit diagram, R184, R186 are the threshold value electricity of waveform conversion
Pressure, be i.e. more than this threshold value is just, less than this threshold value is negative.This utility model measures the frequency of two paths of signals, two-way
Measuring method is identical.Core controller so to gather data store or judge, if need activate switch amount to export
Relay.
Reference Fig. 6, a kind of data acquisition control device based on STM32, including: temperature collect module 8.PT100 passes through
The mode of connection of three-wire system is linked into terminals P 1, and the three of P1 pins 1,2 are connected to the VI0 of LMP90100, VI1, VI6 and
VI7.LMP90100 is internal provides current source, the conversion of resistance can be converted to change in voltage, then gathers for it and calculates.When
During dut temperature change, the resistance of PT100 changes the most therewith, and the voltage detected inside LMP90100 is also along with the change of temperature
Change and change, and with the 24 high-precision AD sampling modules being inside it, by the digital signal that collects with the communication side of SPI
Formula is given core controller 1 and is stored or show, simultaneously core controller 1 to gather data store or judge,
The need of activate switch amount output relay.
Reference Fig. 7, a kind of data acquisition control device based on STM32, including: On-off signal signal processing circuit.
R28 in figure, R32, R36 are current-limiting resistance, and C55 is decoupling capacitor.Intake accesses in loop with the form of node, when node breaks
When opening, 4 pins of optocoupler T1 are high level, and when node closes, optocoupler turns on, and 4 pins are conjugated low level by high level, this
Time core controller by detection GPIO pin level just it is known that whether have On-off signal.Defeated for 24 way switch amounts
For entering signals collecting, the termination DINx opening ingress on each road, other end meets+24V, when there being intake to input
Waiting, node closes, 4 pin displacement high level of optocoupler.Core controller 1 is by software timing inquiry and On-off signal loop
The value of I/O port that connects also judges whether to need activate switch amount output relay.
Reference Fig. 8, a kind of data acquisition control device based on STM32, including: switching value output signal processes circuit.
When GPIOx is high level time, optocoupler turns on, and whole outputs loop conducting, and relay closes, and then can control other and set
Standby.In this circuit arrangement, audion Q1 is operated in amplification region, it is provided that electric current drives relay.Devise 8 tunnels during this use is novel to open
Pass amount output loop.Output switch parameter is also to access in loop with the form of node, a termination+24V of relay, another termination
DOUTx.When system needs to control other external equipment or circuit, thus it is possible to vary be connected to 8 way switch amount output circuits
The value of IO, when being set to 1, external circuit or device drives, when being 0, external circuit or equipment are closed.
Reference Fig. 9, a kind of data acquisition control device based on STM32, including: ethernet module W5300.W5300 leads to
Crossing single-chip microcomputer external bus FSMC with W5300 to be connected, other control signals of FSMC are connected with the read-write control signal of W5300,
Realize the control part of Ethernet protocol conversion chip.W5300 has been internally integrated the basic communications protocol of TCP/IP, in work
Time, in addition to the controller of some necessity, the process part of Ethernet is not required to the intervention of main frame.Greatly reduce
CPU is because processing the burden brought of ICP/IP protocol, and then the significant increase operating characteristics of main frame.
With reference to Figure 10, a kind of data acquisition control device based on STM32, workflow is as follows:
A) system initialization
B) house dog program is started
C) opens interrupters, opens sample clock generator
D) judging whether intervalometer overflows, if timing arrives, intervalometer overflows, and enters step e, otherwise enters step
g
E) current and voltage signals is acquired by ADC
F) judge to gather whether complete, if completing, calling FFT computing in DSP storehouse, calculate current/voltage value and show
Show, otherwise continue executing with step e
G) judging whether to need output switch amount according to the current/voltage value collected, if needing output, then starting defeated
Go out relay, otherwise perform step h
H) frequency signal it is acquired and shows
I) judge whether to need output switch amount according to the frequency values collected, if needing output, then start output and continue
Electrical equipment, otherwise performs step j
J) switch input quantity is acquired and shows
K) judging whether to need output switch amount according to the switch input quantity collected, if needing output, then starting defeated
Go out relay, otherwise perform step l
L) temperature it is acquired and shows
M) judging whether to need output switch amount according to collecting temperature value, if needing output, then starting output relay
Device, otherwise this row step n.
N) determining whether to interrupt producing, if interrupt flag bit is 1, then enter interruption subroutine, interruption subroutine is
Ethernet communication subprogram, after interruption subroutine performs, removes interrupt flag bit, and program is back to step d;If interrupt flag bit
Being 0, program returns directly to step d.
This utility model achieve basic variable needed for power equipment based on STM32F407 controller measure, control,
Communicating circuit, and successfully instead of DSP, reduce development cost, and the interface resource that STM32F407 enriches is follow-up system
System upgrading is provided convenience.In addition, this utility model uses motherboard and the structure of core board be one the most flexibly
Design, only need to change motherboard as changed peripheral hardware.
Of the present utility model ultimate principle and principal character and of the present utility model advantage have more than been shown and described.One's own profession
Skilled person will appreciate that of industry, this utility model is not restricted to the described embodiments, described in above-described embodiment and description
Principle of the present utility model is simply described, on the premise of without departing from this utility model spirit and scope, this utility model is also
Have various changes and modifications, in the range of these changes and improvements both fall within claimed this utility model.This utility model
Claimed scope is defined by appending claims and equivalent thereof.
Claims (5)
1. a data acquisition control device based on STM32F407, it is characterised in that including:
Core board, described core board embedded controller STM32F407;Some pins it are provided with on described core board;
Motherboard, described motherboard is expansion board;The socket matched with described pin it is provided with on described motherboard;
After described pin inserts described socket, described core board and described motherboard carry out data communication.
A kind of data acquisition control device based on STM32F407 the most according to claim 1, it is characterised in that function
Expansion board at least includes PT/CT input signal processing module, ADC and waveform modular converter;
The signal of 16 road PT, CT outputs, a road is after PT/CT input signal processing module, then is sampled by ADC,
Sampled data, after core controller 1 STM32F407 processes, can obtain the current/voltage value of sampled signal;Separately lead up to
STM32F407 is connected through waveform modular converter after PT/CT input signal processing module.
A kind of data acquisition control device based on STM32F407 the most according to claim 1, it is characterised in that also wrap
Including temperature collect module, PT100 temperature sensor is connected by temperature collect module STM32F407.
A kind of data acquisition control device based on STM32F407 the most according to claim 3, it is characterised in that described
The LMP90100 temperature sensor front end data that temperature collect module uses processes chip, and PT100 uses the side of three-wire system
Formula accesses this chip, uses SPI communication modes between this chip and controller STM32F407.
5., according to a kind of based on STM32F407 the data acquisition control device one of claim 1-4 Suo Shu, its feature exists
In, it is also associated with ethernet communication module, is in communication with the outside by ethernet communication module;Described ethernet communication module uses
W5300 network chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620667233.1U CN205787779U (en) | 2016-06-30 | 2016-06-30 | A kind of data acquisition control device based on STM32F407 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620667233.1U CN205787779U (en) | 2016-06-30 | 2016-06-30 | A kind of data acquisition control device based on STM32F407 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205787779U true CN205787779U (en) | 2016-12-07 |
Family
ID=58128384
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201620667233.1U Expired - Fee Related CN205787779U (en) | 2016-06-30 | 2016-06-30 | A kind of data acquisition control device based on STM32F407 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205787779U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109973080A (en) * | 2019-03-22 | 2019-07-05 | 山东电子职业技术学院 | Geological prospecting drilling machine drills real-time deep measuring system |
-
2016
- 2016-06-30 CN CN201620667233.1U patent/CN205787779U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109973080A (en) * | 2019-03-22 | 2019-07-05 | 山东电子职业技术学院 | Geological prospecting drilling machine drills real-time deep measuring system |
CN109973080B (en) * | 2019-03-22 | 2023-02-17 | 山东电子职业技术学院 | Geological exploration drilling machine drilling real-time depth measuring system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102116847B (en) | Single battery performance parameter acquisition system for battery pack | |
CN108988509A (en) | Ambient radio-frequency energy collection management and wireless environment parameter acquisition devices and method | |
CN105388805B (en) | Measurement and Control System based on spi bus | |
CN103779967B (en) | For TT&C system and the observing and controlling module thereof of distribution power automation terminal | |
CN101718820A (en) | Power distribution transformer monitoring terminal and method for calculating current complex power precision thereof | |
CN205787779U (en) | A kind of data acquisition control device based on STM32F407 | |
CN101458275A (en) | High temperature resistant three phase intermediate frequency electric quantity acquisition module | |
CN104330621A (en) | Electric appliance energy consumption tester | |
CN105226828A (en) | Based on the photovoltaic microgrid system of Internet of Things sensing technology | |
CN201910669U (en) | Power distribution automation terminal | |
CN209311606U (en) | A kind of multifunctional electric meter | |
CN204556022U (en) | A kind of temperature/humiditydetection detection system based on ZigBee | |
CN109933036A (en) | A kind of centrifuge intermediate frequency power supply system comprehensive parameters network monitoring module | |
CN207301729U (en) | A kind of embedded multi-axis controller with man-machine interface | |
CN201667544U (en) | Wind power generation feedback device | |
CN202794333U (en) | Wind power electric energy meter based on DSP and ARM | |
CN202049193U (en) | Multifunctional electricity integration data measuring and acquiring device | |
CN217007455U (en) | Non-invasive load identification terminal circuit | |
CN109887259A (en) | A kind of single wire transmission device and method | |
CN206331019U (en) | A kind of Multifunction electricity measure and control instrument | |
CN215575375U (en) | Transformer bushing on-line monitoring device | |
CN109708693A (en) | A kind of air compressor machine and water pump main motor special intelligent sensor | |
CN206696654U (en) | The static reacance generator control circuit of full FPGA controls | |
CN202305790U (en) | Modular system for electric energy meter calibrating installation conducting double-track system error calculating | |
CN203054121U (en) | Current calibration system for sinusoidal AC motor protector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161207 Termination date: 20200630 |
|
CF01 | Termination of patent right due to non-payment of annual fee |