One kind coordinates bluetooth module movement oscillograph based on smart mobile phone APP
Technical field
It is specially that a kind of smart mobile phone APP that is based on coordinates bluetooth module movement the present invention relates to observation and control technology technical field
Oscillograph.
Background technology
Surveying instrument equipment occupies critical role in the electronics industry, and on the one hand it provide high-quality and low for research and development
The testing tool of cost, on the other hand can also based on component stable market is provided.By 10 years be total to of local enterprise
Same effort, the market share that domestic low side oscillograph is captured is rising and exported greatly abroad year by year, has successfully broken transnational enterprise
The monopolization of industry, is that Chinese user provides more choices.
Through development in a few years, domestic oscillograph industry presents the situation of unprecedented " a hundred flowers blossom ".Bandwidth one
It is directly the important performance indexes of oscillograph, but the height of bandwidth does not determine the orientation of the market demand.Adjusted according to a market
Look into, the oscillograph of 500MHz and following bandwidth can meet most oscillograph testing requirement substantially, 500MHz bandwidth is shown
Ripple device product can account for the share of oscillograph market sale amount of money half, it may be said that be the mainstream market of oscillograph.
But oscillograph domestic at present is bulky, expensive, poor universality is not met, now in this intelligence
Under the widely used background of mobile phone, it is combined oscillograph and mobile phone and is newly become using one that can be increasingly becoming following oscillograph
Gesture.
The content of the invention
In order to overcome the shortcomings of prior art, the present invention provides a kind of based on smart mobile phone APP cooperation bluetooth modules
Mobile oscillograph, using singlechip controller as the next machine testing signal with sending information, coordinates high-speed AD acquisition module to enter
The collection and processing of row data, are connected by bluetooth module with mobile phone, will be collected signal and are sent to mobile phone with specific coding
In, using being provided with automatic feedback node feeding back in mobile phone A PP to single-chip microcomputer slave computer, perform respective waveforms and show etc. and grasp
Make.
The technical solution adopted for the present invention to solve the technical problems is:One kind coordinates bluetooth mould based on smart mobile phone APP
Block moves oscillograph, including singlechip controller, the singlechip controller be connected with human-computer interaction module, high speed AD module,
Power module and bluetooth serial ports wireless communication module, the human-computer interaction module control OLED screen to be handed over by button controller
Interoperability, the high speed AD module is realized with singlechip controller co-ordination and adopted for external voltage accurate information with high speed
Collection, the singlechip controller is connected by being integrated in its internal interface with bluetooth serial ports wireless communication module, the indigo plant
Tooth Wireless Serial Communication module is matched by bluetooth module with mobile phone A PP, and the mobile phone A PP, which is internally provided with, automatically controls section
Point passes through on bluetooth serial ports wireless communication module feedback link to singlechip controller.
As a kind of preferred technical scheme of the present invention, the singlechip controller is using Kinetis series
MKL26Z256VLL4 micro-control units, with Cortex-M0+ kernels and multiple Peripheral Interfaces.
As a kind of preferred technical scheme of the present invention, the high speed AD module is internally provided with AD circuits, the AD electricity
It route high speed A/D chip, attenuator circuit and signal input interface composition, released by AD companies 8 of the A/D chip, maximum is adopted
Sample rate 32MSPS AD9280 chips.
As a kind of preferred technical scheme of the present invention, the A/D chip input voltage inside the high speed AD module is arranged on
Between 0V-2V.
As a kind of preferred technical scheme of the present invention, the bluetooth serial ports wireless communication module uses high performance HC-
05 embedded Bluetooth serial communication module, its wide baud rate scope 4800-1382400, and HC-05 embedded Bluetooths serial ports lead to
The compatible SCM system of module is interrogated, coordinates independent development Bluetooth of mobile phone control APP to realize to single-chip microcomputer remote collection waveform
Data are shown in real time.
As a kind of preferred technical scheme of the present invention, the signal input interface scope inside the high speed AD module is set
Between -5V~+5V (10Vpp).
As a kind of preferred technical scheme of the present invention, the high speed AD module uses AD9280 chip+AD8056 chips
Combine, the AD8056 builds attenuator circuit using voltage feedback type amplifier.
Compared with prior art, the beneficial effects of the invention are as follows:
1st, high-speed AD acquisition module is coordinated to carry out with sending information using singlechip controller as the next machine testing signal
The collection and processing of data;
2nd, it is connected by bluetooth module with mobile phone, signal will be collected and be sent to specific coding in mobile phone;
3rd, mobile phone A PP carries out corresponding decoding after coding information is received, using being provided with automatic feedback section in mobile phone A PP
Point is fed back on single-chip microcomputer slave computer, and user can carry out relevant control operation by mobile phone A PP, is performed respective waveforms and is shown
Operation.
Brief description of the drawings
Fig. 1 is schematic structural view of the invention;
Fig. 2 is high speed AD module circuit diagram of the present invention;
Fig. 3 is power module circuitry figure of the present invention;
Fig. 4 is HC05 bluetooth modules circuit diagram of the present invention.
In figure:1- singlechip controllers;2- human-computer interaction modules;3- button controllers;4-OLED screens;5-AD circuits;6-
High speed AD module;7- power modules;8- bluetooth serial ports wireless communication modules;9- mobile phone As PP;10- automatically controls node.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Embodiment:
As depicted in figs. 1 and 2, bluetooth module movement oscillograph is coordinated based on smart mobile phone APP the invention provides one kind,
Including singlechip controller 1, the singlechip controller 1 is connected with human-computer interaction module 2, high speed AD module 6, power module 7
With bluetooth serial ports wireless communication module 8, the human-computer interaction module 2 controls OLED screen 4 to interact behaviour by button controller 3
Make, the high speed AD module 6 is realized for external voltage accurate information and high speed acquisition with the co-ordination of singlechip controller 1,
The singlechip controller 1 is connected by being integrated in its internal interface with bluetooth serial ports wireless communication module 8, the bluetooth
Wireless Serial Communication module 8 is matched by bluetooth module with mobile phone A PP9, and the mobile phone A PP9, which is internally provided with, to be automatically controlled
Node 10 is by the way that on the feedback link of bluetooth serial ports wireless communication module 8 to singlechip controller 1, the singlechip controller 1 is adopted
With the MKL26Z256VLL4 micro-control units of Kinetis series, with Cortex-M0+ kernels and multiple Peripheral Interfaces, lead to
Cross and set two asynchronous serial communication interfaces inside singlechip controller 1 to be connected with bluetooth serial ports wireless communication module, profit
Data are transmitted between mobile phone and singlechip controller 1 with parallel mode, the efficiency of data transfer, and bluetooth serial ports is improved
Wireless communication module 8 uses high performance HC-05 embedded Bluetooths serial communication module, by singlechip controller 1 to HC-05
Two kinds of mode of operations inside embedded Bluetooth serial communication module are adjusted, and realize the conversion of module working condition, practical
Property is strong.
The high speed AD module 6 is formed using AD9280 chip+AD8056 chip portfolios, and the AD8056 chips are using electricity
Feedback-type amplifier is pressed to build attenuator circuit, the AD8056 chips can not only provide electricity by (two-way) voltage feedback type amplifier
Bandwidth and slew rate that stream feedback-type amplifier generally has, and it is easy to use, with low cost, in the high speed AD module 6
Portion is additionally provided with AD circuits 5, and the AD circuits 5 are made up of high speed A/D chip, attenuator circuit and signal input interface, the AD cores
AD9280 cores inside released by AD companies 8 of piece, maximum sample rate 32MSPS AD9280 chips, the high speed AD module
Piece input voltage is arranged between 0V-2V, and the signal input interface scope inside the high speed AD module is arranged on -5V~+5V
Between (10Vpp).
The AD9280 is single-chip, single supply, 8bit, 32MSPS analog-digital converter;Sampling holding has been internally integrated to put
Big device and power reference source, the multistage generation for ensureing not lose in 32MSPS differential pipeline organizations data rate that AD9280 is used
Code is in whole operating temperature range.AD9280 input is designed to the two kinds of imagings of development alleviated and communication system.User can
To select a variety of input ranges and compensation, otherwise the single match of end or different inputs can be driven.
As shown in figure 3, power module is powered using 7.2V2000mAh Ni-cd batteries.In system 3.3V circuit power consumptions compared with
It is small, it is contemplated that attitude transducer is for the requirement of power supply low ripple, and we determine to use linear voltage stabilization chip.In addition, working as direct current
Motor is in high-speed cruising, and battery increases as a constant power source output current, output voltage certainly will be brought to reduce.Cause
This, in order to improve the stability of system work, we have selected TPS76850 and TPS76833 is powered to modules.
TPS76850 chips provide 5V voltages to human-computer interaction module (including OLED display screen, key switch etc.) and high-speed AD acquisition mould
Block and bluetooth serial ports wireless communication module normal work power supply.TPS76833 chips provide 3.3V voltages and provide KL26 single-chip microcomputers
Core board normal working voltage.
As shown in figure 4, the bluetooth serial ports wireless communication module 8 is led to using high performance HC-05 embedded Bluetooths serial ports
Interrogate the compatible single-chip microcomputer system of module, its wide baud rate scope 4800-1382400, and HC-05 embedded Bluetooths serial communication module
System, coordinates independent development Bluetooth of mobile phone control APP to realize and single-chip microcomputer remote collection Wave data is shown in real time.
The singlechip controller of the present invention is had using the MKL26Z256VLL4 micro-control units of Kinetis series
Cortex-M0+ kernels, using singlechip controller as detection signal with the lower computer system for sending information, engagement tabs are outer high
Fast A/D module, is realized for external voltage accurate information and high speed acquisition with singlechip controller co-ordination;Bluetooth serial ports without
Line communication module is connected by bluetooth module with mobile phone A PP, by the information of voltage collected after singlechip controller is handled
It is sent to specific coding in mobile phone;Mobile phone A PP carries out corresponding decoding after coding information is received, can be with by screen
Information is shown in real time (waveform and other data), wherein mobile phone A PP provides permanent supply using 3.3V lithium batteries, passes through
The module such as toggle switch and OLED screen control human-computer interaction module interacts operation.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power
Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference in claim should not be considered as to the claim involved by limitation.