CN104571706A - Assessment setting method of force displacement detection device - Google Patents
Assessment setting method of force displacement detection device Download PDFInfo
- Publication number
- CN104571706A CN104571706A CN201510007442.3A CN201510007442A CN104571706A CN 104571706 A CN104571706 A CN 104571706A CN 201510007442 A CN201510007442 A CN 201510007442A CN 104571706 A CN104571706 A CN 104571706A
- Authority
- CN
- China
- Prior art keywords
- assessment
- window
- interface
- liquid crystal
- curve
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Investigating Or Analysing Biological Materials (AREA)
Abstract
The invention relates to an assessment setting method of force displacement detection device; a piece of ARM processor chip is used as a control chip; an embedded graphic user interface tool emWin is used for setting a curve assessment interface and displaying the curve assessment interface on a liquid crystal touch screen; contents of the curve assessment and specific boundary value or threshold of each content are decided based on the setting conditions, wherein the contents of the curve assessment comprise any combination of the following four methods: thread window assessment method, pass window assessment method, block window assessment method, and envelope assessment method; after finished setting the contents of the curve assessment, the results of the setting are sent based on instructions into an external FLASH storage space for data storage; meanwhile, the set assessment contents are displayed on the liquid crystal touch screen at real time.
Description
Technical field
The present invention relates to a kind of assessment method to set up of power displacement detector, is the setting adopting embedded control system to realize to curve assessment content to be checked in testing process, this quantum evaluation as in pick-up unit to the whether qualified foundation judged of curve.
Background technology
At present, power displacement transducer detection system is when carrying out curve quantum evaluation and arranging, method to set up is fixed, man-machine basal plane is poor and content existing defects in real-time storage, in real time display etc. after setting, make user that method and the content of assessment can not be set flexibly according to the characteristic of detected workpiece, have impact on the applicability of detection system.
Summary of the invention
Technology of the present invention is dealt with problems and is: the defect overcoming the aspects such as existing power displacement transducer detection system curve assessment method is fixed, man-machine interface is poor, poor real, devises and a kind ofly can arrange that quantum evaluation, man-machine interface are friendly flexibly, the method for real-time storage and display quantum evaluation.
Technical solution of the present invention is:
A kind of assessment method to set up of power displacement detector, the present invention utilizes the interface display of a slice arm processor chip realization to liquid crystal touch screen, determine the content of curve assessment and the concrete boundary value of every content or threshold value according to touch-screen facilities, wherein curve assessment content comprises the combination in any of following four kinds of methods: thread window appraisal procedure, by window appraisal procedure, block window appraisal procedure, envelope appraisal procedure; After curve assessment content setting completes, according to instruction, the result of setting is delivered to outside FLASH storage space and carry out data storage, the quantum evaluation of setting is presented on liquid crystal touch screen in real time simultaneously and shows.
Beneficial effect
The present invention can arrange quantum evaluation flexibly, and man-machine interface is friendly, has the function of real-time storage and display.
Accompanying drawing explanation
Fig. 1 is structure composition frame chart of the present invention.
Fig. 2 is liquid crystal touch screen display interface schematic diagram of the present invention.
Fig. 3 is ARM chip of the present invention and outside FLASH interface circuit figure.
Fig. 4 is liquid crystal touch screen display interface schematic diagram of the present invention.
Fig. 5 is curve assessment method to set up main program flow chart of the present invention.
Fig. 6 is timer interrupt service program flow diagram of the present invention.
Fig. 7 is emWin call back function program flow diagram of the present invention.
Below in conjunction with accompanying drawing, patent of the present invention is further described.
As shown in Figure 1: the composition frame chart being present system, it is characterized by: ARM chip 1 is the control core of curve assessment, this chip is connected with FLASH chip 3 with liquid crystal touch screen 1, tool graphical user interface emWin is adopted to carry out the Display designing at curve assessment interface, process the configuration information of sending from liquid crystal touch screen 2, and the parameter of the assessment combination method set and every quantum evaluation is sent to FLASH chip 3 stores.
As shown in Figure 2, the present invention adopts TSC2046 chip to control touch-screen, and this chip and ARM chip carry out exchange data by SPI communication mode, and with ARM chip PF6 in the present invention, PF7, PF8, PF9 pin multiplexing becomes SPI mode to carry out the control of TSC2046 chip; The principle that TSC2046 chip reads coordinate is as follows: when measuring X-coordinate, first by writing control word to touch screen controller, make to apply the voltage determined on X+ and X-, and not making alive on Y+ and Y-, then will form the parallel voltage field of uniformly continous between X+ and X-.When touching touch screen surface with finger or felt pen, the voltage at contact place reflects the position of contact on X workplace.This voltage is drawn out to touch screen controller by Y+ or Y-electrode, then through wherein A/D conversion, just can obtains the digital quantity of contact voltage, i.e. X-coordinate.Also Y-coordinate is recorded by same principle.Controller only needs the reading digital quantity by timer timing.The present invention adopts emWin to be interface instrument, and after initialization completes liquid crystal and touch, the application interface function that just can call in emwin storehouse carries out interface.
As shown in Figure 3, ARM core of the present invention is connected with outside FLASH chip by SPI port, and outside FLASH chip of the present invention adopts W25Q64BVSSIG, and its capacity is 8M byte, up to the SPI clock frequency of 80MHz, after initialization completes, just read-write operation can be carried out to it.
As shown in Figure 4: be that liquid crystal touch screen curve assessment of the present invention arranges interface schematic diagram.This arranges interface and comprises: thread window window is arranged, arranged by window window, block window window is arranged, envelope window arranges four parts.Wherein: if click thread window button, the then highlighted display of this button, represent in curve assessment content and comprise thread window appraisal procedure, window 1 arranges the lateral length of thread window window, window 2 arranges the longitudinal length of thread window window, after being provided with, application interface function G UI_DrawRect (int x0 drawn by the frame calling emWin, int y0, int x1, int y1), x0, y0 is the left apex coordinate of thread window the preview window, x1 is the lateral length that x0 adds thread frame, y1 is the longitudinal length that y0 adds thread frame, the thread window window then arranged shows in real time in units of pixel in preview 1, if click through window button by, the then highlighted display of this button, represent and comprise by window appraisal procedure in curve assessment content, window 3 is arranged through the curve approaching side (upside of window, downside, left side and right side), the curve that window 4 is arranged through window leaves (upside, side, downside, left side and right side), window 5 is arranged through the lateral length of the window of window, window 6 is arranged through the longitudinal length of the window of window, after being provided with, also call the identical frame of emWin and draw the parameter that function fills out correspondence, what then arrange is shown in real time in units of pixel by window window in preview 2, if click block window button, the then highlighted display of this button, represent in curve assessment content and comprise block window appraisal procedure, the longitudinal length that window 7 arranges the lateral length of block window window, window 8 arranges block window window, after being provided with, after being provided with, also call the identical frame of emWin and draw the parameter that function fills out correspondence, then the block window window arranged shows in real time in units of pixel in preview 3, if click envelope button, the then highlighted display of this button, represent in curve assessment content and comprise envelope appraisal procedure, what window 9 arranged envelope plays/only horizontal ordinate, window 10 arranges the width of envelope, after being provided with, on primary standard curve basis, what arrange with window 9 plays/stops the lateral length interval that horizontal ordinate is envelope, the width that the data arranged with window 10 are envelope, one group of polygon array is depicted by function, then call application interface function G UI_DrawGraph () and draw out typical curve function, the filling that application interface function G UI_FillPolygon () carries out region setpoint color is called again in the position of correspondence, draw envelope shade.
As shown in Figure 5, give the curve assessment method to set up main program flow chart of ARM controller in the present invention, in this master routine, initialization IO port, initialization liquid crystal display, initialization touch setting, initialize Timer, initialization emWin, call emWin interface function design interface respectively, and Open Timer device interrupts.
As shown in Figure 6, timer interrupt service program flow diagram of the present invention is given.In timer interrupt service program, touch scan interface function G UI_TOUCH_Exec () calling emWin inside scans touch-screen, when there being external touch information, entering in the call back function of emWin at once and processing corresponding touch information.Because each control of emWin distributes different ID, be pressed so just different controls can be differentiated according to different ID in call back function, then do corresponding process.
As shown in Figure 7, emWin call back function program flow diagram of the present invention is given.First judge whether that opening window is arranged according to the return function of interface function, and determine whether thread window successively, by one or more in window, block window and envelope four kinds of appraisal procedures, parameter in corresponding four kinds of assessment modes is set according to the result returned, and preserves interface and parameter in the outer FLASH chip of sheet.
Claims (3)
1. an assessment method to set up for power displacement detector, is characterized in that comprising:
The core processing unit that ARM chip (1) realizes as curve assessment method to set up, ARM chip (1) is connected with liquid crystal touch screen (2), by SPI communication mode and outside FLASH(3 by inner integrated liquid crystal driver module) carry out exchanges data; Wherein ARM chip (1) carries out corresponding setting operation according to the triggering command of liquid crystal display, and the quantum evaluation after arranging is in real time in the upper display of liquid crystal touch screen (2); Meanwhile, the result after being provided with is stored in outside FLASH(3 by ARM chip (1)) in.
2. an assessment method to set up for power displacement detector, is characterized in that comprising:
ARM chip (1) adopts mbedded GUI instrument emWin carry out the design at curve assessment interface and show on liquid crystal touch screen (2); The assessment interface that liquid crystal touch screen (2) shows comprises: thread window is arranged interface, arranged interface by window, block window arranges interface, envelope arranges four contents such as interface, and the parameter at each interface can pass through the setting that liquid crystal display (2) carries out human-computer interaction interface.
3. the assessment method to set up of a kind of power displacement detector according to claim 1, is characterized in that: described ARM chip (6) adopts TMS32F429 series A RM as the processor of algorithm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510007442.3A CN104571706B (en) | 2015-01-08 | 2015-01-08 | A kind of assessment setting method of power displacement detector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510007442.3A CN104571706B (en) | 2015-01-08 | 2015-01-08 | A kind of assessment setting method of power displacement detector |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104571706A true CN104571706A (en) | 2015-04-29 |
CN104571706B CN104571706B (en) | 2019-03-15 |
Family
ID=53087951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510007442.3A Expired - Fee Related CN104571706B (en) | 2015-01-08 | 2015-01-08 | A kind of assessment setting method of power displacement detector |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104571706B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080077345A1 (en) * | 2006-08-29 | 2008-03-27 | Abb Patent Gmbh | Method for determining a characteristic of a sensor arrangement |
CN101726385A (en) * | 2008-10-21 | 2010-06-09 | 通用汽车环球科技运作公司 | Pressure sensor with nonlinear characteristic curve |
-
2015
- 2015-01-08 CN CN201510007442.3A patent/CN104571706B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080077345A1 (en) * | 2006-08-29 | 2008-03-27 | Abb Patent Gmbh | Method for determining a characteristic of a sensor arrangement |
CN101135580B (en) * | 2006-08-29 | 2011-01-12 | Abb专利有限公司 | Method for determining a characteristic of a sensor arrangement |
CN101726385A (en) * | 2008-10-21 | 2010-06-09 | 通用汽车环球科技运作公司 | Pressure sensor with nonlinear characteristic curve |
Also Published As
Publication number | Publication date |
---|---|
CN104571706B (en) | 2019-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107450831B (en) | Handwriting display processing method and system based on dual systems, storage medium and equipment | |
CN105677107B (en) | The optimization method and system of the hand-written followability of screen | |
CA2880345C (en) | Hit testing method and apparatus | |
CN103902158A (en) | Method and terminal for managing application icon | |
CN104040470A (en) | Proximity-aware multi-touch tabletop | |
CN103472996A (en) | Method and device for receiving touch in mobile device | |
US9170736B2 (en) | Hover controlled user interface element | |
CN103793099A (en) | Touch sensing system and method of reducing latency thereof | |
CN103616972A (en) | Touch screen control method and terminal device | |
CN103455292A (en) | Business data display and processing method and device and user equipment | |
WO2018107839A1 (en) | Touch data processing method and system for infrared touch screen based on pressure-sensitive pen | |
US20150121270A1 (en) | Information processing method and electronic device | |
CN109840028A (en) | Touch-sensing device and the image display device for using the touch-sensing device | |
CN104238938B (en) | It can carry out the image display device and its operating method of screen operation | |
CN107831965B (en) | Information display method and device | |
CN103365444A (en) | Terminal equipment and touch method for touch screen thereon | |
CN110389695A (en) | Data processing system | |
US11182029B2 (en) | Smart interactive tablet and driving method thereof | |
CN108399058A (en) | A kind of signal display control method and device | |
US20200057549A1 (en) | Analysis device equipped with touch panel device, method for display control thereof, and program | |
CN105630443B (en) | A kind of OSD display methods of kvm system | |
CN112578987A (en) | Off-screen interactive touch all-in-one machine and interaction method thereof | |
CN104571706A (en) | Assessment setting method of force displacement detection device | |
CN107132944A (en) | A kind of method for deleting and system for electronic whiteboard | |
CN104918073A (en) | Image display method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190315 Termination date: 20200108 |