A kind of angular transducer display device based on touch-screen
Technical field
The present invention relates to electroporation field, refer to a kind of angular transducer display device based on touch-screen especially.
Background technology
Measurement of angle describes object space to change one of the most basic forms of motion.Along with the demand, particularly industrial power source of industrial automation Detection & Controling, technology of Internet of things and industrial 4.0 technology fast developments mainly rely on the motor based on rotating manner to drive, so the accurate measurement and display of angle just seems very important.
At present, the display device exported for angles of display sensor generally has pointer-type display, numeral method, single color LCD or color liquid crystal screen display.Wherein some exports the form of electric signal as 0 ~ 5V, 0 ~ 10V according to standardization, or 4 ~ 20mA (0 ~ 20mA) directly shows the angle signal that electric signal registration carrys out corresponding corresponding range.Also have on some charactron with microprocessor (single-chip microcomputer) or liquid crystal display watch, can instrument face plate physical button be passed through, the selected range corresponding with sensor.
Traditional angle display device, just for angle display, cannot send to sensor instructions such as rewriting range, clearing, calibration, and the dull color of display of angle is single, cannot according to the self-defined required figure of user's demand and interface; Carrying out operation by physical button to function menu uses very inconvenient, and operating process is comparatively complicated.In addition, conventional angle sensors display device does not possess data record yet, draws the functions such as real-time curve, USB flash disk derived data, warning, real-time record and storage cannot be carried out to data, can not observe the variation tendency of real-time curve, the bound also cannot reported to the police by setting realizes warning function.Therefore, a kind of angular transducer display device that can solve the problem is needed.
Summary of the invention
In order to solve conventional angle sensors display device when angles of display information, display format and function singleness, can not better meet the problems such as user's demand, the invention provides a kind of angular transducer display device based on touch-screen, existing display device display format and function singleness problem can not only be overcome, and according to user's demand angles of display information, the experience sense of user can be improved.
The invention provides a kind of angular transducer display device based on touch-screen, comprise power module, signal acquisition module, communication module, touch-screen display module and single chip processing module; Described power module is connected with described signal acquisition module, communication module, touch-screen display module and single chip processing module; Described signal acquisition module is also connected with described single chip processing module; Described communication module is also connected with described touch-screen display module, single chip processing module;
Described power module, for powering for described signal acquisition module, communication module, touch-screen display module and single chip processing module;
Described signal acquisition module, for the angle electric signal that acquisition angles sensor exports, and sends to described single chip processing module by angle electric signal;
Described single chip processing module, angle electric signal for described signal acquisition module being sent is converted to angle-data corresponding to acquiescence display type, and by described communication module, described angle-data is sent to described touch-screen display module, control described touch-screen display module to give tacit consent to the angle-data that display type shows current transmission by described communication module simultaneously;
Described communication module, for realizing the communication between described single chip processing module and described touch-screen display module.
Wherein, described signal acquisition module comprises: collection of simulant signal module and/or digital signal acquiring module;
Described collection of simulant signal module, is connected with the output terminal of at least one analog angle sensor, for gathering the analog quantity angle electric signal of analog angle sensor output and sending to described single chip processing module;
Described digital signal acquiring module, is connected with the output terminal of at least one digital angle sensor, for gathering the digital quantity angle electric signal of digital angle sensor output and sending to described single chip processing module.
Wherein, described touch-screen display module is also for receiving the touch display conversion instruction of user's input and sending to described single chip processing module by described communication module, and described display conversion instruction comprises the angle display type that user specifies;
Described single chip processing module is also for from receiving the described display conversion instruction moment, the angle electric signal described signal acquisition module sent is converted to the angle-data corresponding to angle display type of specifying in described display conversion instruction, and by described communication module, the angle-data after conversion is sent to described touch-screen display module, control by described communication module described touch-screen display module to show current transmission angle-data with described angle display type of specifying simultaneously.
Wherein, described angle display type at least comprises the one in decimal digits display, the display of degree every minute and second integer, the display of circular dial plate figure, the display of square scale strip, percentage filling display, the display of two-dimentional pitch angle, the display of angle real-time curve.
Wherein, when the angle display type of specifying in the display conversion instruction that described single chip processing module receives is the display of angle real-time curve, the angle electric signal that described signal acquisition module is sent subsequently is converted to the angle-data corresponding to angle real-time curve display type by described single chip processing module, and by described communication module, the acquisition time of the angle real-time curve coordinate system data pre-set and each angle-data obtained and correspondence thereof is sent to described touch-screen display module 13, control described touch-screen display module 13 in described angle real-time curve coordinate system by acquisition time sequencing angles of display data point by described communication module simultaneously, and by angle number strong point line corresponding for adjacent acquisition time.
Wherein, the described angular transducer display device based on touch-screen also comprises the memory module be connected with described single chip processing module;
The angle of described touch-screen display module also for user being inputted stores instruction and sends to described single chip processing module by described communication module;
The angle of described single chip processing module also for sending according to described touch-screen display module stores instruction and is stored in described memory module by the angle-data of current described touch-screen display module display, or the angle electric signal described signal acquisition module at every turn sent all is stored in described memory module.
Wherein, described memory module is also for prestoring and the instructions of the described angular transducer be connected based on the angular transducer display device of touch-screen and mounting list;
Instruction is checked in the explanation of described single chip processing module also for being sent by described communication module according to described touch-screen display module, extract in described memory module instructions and mounting list that the sensor that instruction is specified is checked in the described explanation stored, and send to described touch-screen display module to show by described communication module.
Wherein, described angular transducer operational order also for receiving the angular transducer operational order of user's input, is sent to described single chip processing module by described communication module by described touch-screen display module; Wherein, described angular transducer operational order comprises mark and the action type of the angular transducer of assigned operation, and described action type comprises clear operation to angular transducer, rewrites range operation, calibration operation;
Described single chip processing module also for according to the angular transducer operational order received, carries out corresponding operating to the angular transducer of assigned operation in this angular transducer operational order.
Wherein, described touch-screen display module is also for receiving the angle warning upper limit value and lower limit value of user's input and it being sent to described single chip processing module by described communication module;
Described single chip processing module is also for storing described angle warning upper limit value and lower limit value, and when angle value corresponding to the angle electric signal that described signal acquisition module is sent is lower than described angle low alarm limit value or higher than angle high alarm setting value, report to the police and autostore alarm logging.
The beneficial effect of technique scheme of the present invention is as follows:
In such scheme, a kind of angular transducer display device based on touch-screen is provided, utilize touch-screen as the display screen of angle indicator gauge, according to the self-defined required figure of user's demand and interface, the color enriched by touch-screen and picture or animation realize showing the diversification of angle, a-table-multi-purpose, without the need to carrying out the pre-service of signal, by embedded micro-processor programmed control touch-screen, directly can be reset angular transducer by touch operation, measurement range selection, the operations such as calibration, convenient and swift, can autostore carry out drawing the real-time curve of acquisition angles for shown angle-data, two dimension tilt angle varied schematic diagram, the operations such as the alarm range of set angle angle value.The display of existing angle display device angle can be solved dull, cannot record data and process, the shortcomings such as complicated operation.
Accompanying drawing explanation
The structural representation of a kind of angular transducer display device based on touch-screen that Fig. 1 provides for the embodiment of the present invention;
The cut-away view of the angular transducer display device based on touch-screen that Fig. 2 provides for the embodiment of the present invention;
The default display interfaces schematic diagram of the angular transducer display device based on touch-screen that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 is two-dimentional pitch angle display schematic diagram;
Fig. 5 is angle real-time curve display interface schematic diagram.
[description of reference numerals]
1, single chip processing module;
2, communication module;
3, touch screen interface;
4, USB flash disk interface;
5, collection of simulant signal module;
6, simulating signal binding post;
7, digital signal binding post;
8, digital signal acquiring module;
9, serial communication port;
10, power interface;
11, power module;
12, signal acquisition module;
13, touch-screen display module.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The structural representation of a kind of angular transducer display device based on touch-screen that Fig. 1 provides for the embodiment of the present invention, as shown in fig. 1, this device comprises power module 11, signal acquisition module 12, communication module 2, touch-screen display module 13 and single chip processing module 1.Power module 11 is connected with signal acquisition module 12, communication module 2, touch-screen display module 13 and single chip processing module 1; Signal acquisition module 12 is also connected with single chip processing module 1; Communication module 2 is also connected with touch-screen display module 13, single chip processing module 1.Wherein, power module 11 is for powering for signal acquisition module 12, communication module 2, touch-screen display module 13 and single chip processing module 1; The angle electric signal that signal acquisition module 12 exports for gathering connected angular transducer, and the angle electric signal collected is sent to single chip processing module 1; Single chip processing module 1 is converted to angle-data corresponding to acquiescence display type for angle electric signal signal acquisition module 12 sent, and by communication module 2, angle-data is sent to touch-screen display module 13, control touch-screen display module 13 to give tacit consent to the angle-data that display type shows current transmission by communication module 2 simultaneously; Communication module 2 is for realizing the communication between single chip processing module 1 and touch-screen display module 13.
Preferably, signal acquisition module 12 comprises collection of simulant signal module and/or digital signal acquiring module; Wherein, collection of simulant signal module is connected with the output terminal of at least one analog angle sensor, for gathering the analog quantity angle electric signal of analog angle sensor output and sending to single chip processing module 1; Digital signal acquiring module is connected with the output terminal of at least one digital angle sensor, for gathering the digital quantity angle electric signal of digital angle sensor output and sending to single chip processing module 1.Namely should can gather the output signal of the sensor that multiple angle exports based on the angular transducer display device of touch-screen simultaneously.
The cut-away view of the angular transducer display device based on touch-screen that Fig. 2 provides for the embodiment of the present invention, touch-screen display module 13 in Fig. 2 in not shown Fig. 1, wherein, signal acquisition module 12 is comprised the interior arrangement shown in collection of simulant signal module 5 and digital signal acquiring module 8, Fig. 2 and is connected with touch-screen display module 13 by touch screen interface 3.As shown in Figure 2, Power convert by the external 24V stabilized voltage supply of power interface 10, and is that 5V and 3.3V two kinds of voltages are for other modules by power module 11.Collection of simulant signal module 5 is for gathering the output signal of analog angle sensor, collection of simulant signal module 5 can gather the angular transducer simulating signal of different range, as the signal of 0 ~ 5V, 0 ~ 10V, ± 5V, 4 ~ 20mA, the signal wire of multiple angular transducer can be received connection simulating signal binding post 6 realizing collection of simulant signal module 5 and analog angle sensor, the sensor type that can access comprises angular transducer, one dimension slant angle sensor, two-dimentional slant angle sensor simultaneously.Digital signal acquiring module 8 and serial communication port 9 are for gathering the angular transducer of digital output, digital signal acquiring module 8 can gather the digital sensor that the output be connected with serial communication port 9 is the formatted data such as scale-of-two, the decimal system, sexadecimal, Gray code, RS-232, RS-485, also can receive on digital signal binding post 7 by the output line of multiple digital angle sensor, the sensor type that can access comprises angular transducer, one dimension slant angle sensor, two-dimentional slant angle sensor.
The angle electric signal collected is sent to single chip processing module 1 by digital signal acquiring module 8 and collection of simulant signal module 5, single chip processing module 1 is calibrated the angle electric signal collected and is processed, the angle electric signal of the analog quantity collected and digital quantity is converted to the angle-data corresponding to display type that the acquiescence display type pre-set or user specify, and obtained angle-data is sent to communication module 2.After communication module 2 receives the angle-data that single chip processing module 1 sends, these angle-datas are sent to touch-screen display module 13 according to the standard frame format of Modbus agreement, such touch-screen display module 13 just can identify the angle information that communication module 2 sends, and then shows on the touchscreen.
Preferably, touch-screen display module 13 is also for receiving the touch display conversion instruction of user's input and sending to single chip processing module 1 by communication module 2, and wherein, display conversion instruction comprises the angle display type that user specifies.Single chip processing module 1 is also for from receiving the display conversion instruction moment, angle electric signal signal acquisition module 12 sent is converted to the angle-data corresponding to angle display type of specifying in display conversion instruction, and by communication module 2, the angle-data after conversion is sent to touch-screen display module 13, control by communication module 2 touch-screen display module 13 to show current transmission angle-data with the angle display type of specifying simultaneously.Wherein, the interface data that various angle display type is corresponding is previously provided with in single chip processing module 1, single chip processing module 1, when angle electric signal being converted to the angle-data in display conversion instruction corresponding to the angle display type of specifying, will be fused into the angle-data corresponding to the angle display type of specifying together with angle information corresponding with angle electric signal for interface data corresponding for the angle display type of specifying.
Wherein, angle display type at least comprises the one in decimal digits display, the display of degree every minute and second integer, the display of circular dial plate figure, the display of square scale strip, percentage filling display, the display of two-dimentional pitch angle, the display of angle real-time curve.Be illustrated in figure 3 the default display interfaces schematic diagram of the angular transducer display device based on touch-screen that the embodiment of the present invention provides, as shown in Figure 3, the angle value gathered is shown as decimal digits display on the touchscreen, degree every minute and second integer shows two kinds of display modes, shows the sensor angles of current observation with circular dial plate figure simultaneously.
When the sensor accessed is two-dimentional slant angle sensor, not only can observe the change of X-axis and Y direction angle value on the touchscreen, angular transducer display device provided by the invention can also according to user's needs, angle according to pitch angle X-direction and Y direction changes schematic diagram (the i.e. two-dimentional pitch angle) display of drawing out angular deflection direction, as Fig. 4, from two-dimentional pitch angle display schematic diagram, directly can observe the trend of angular slope intuitively.
Wherein, when the angle display type of specifying in the display conversion instruction that single chip processing module 1 receives is the display of angle real-time curve, the angle electric signal that signal acquisition module 12 is sent subsequently is converted to the angle-data corresponding to angle real-time curve display type by single chip processing module 1, and by communication module 2, the acquisition time of the angle real-time curve coordinate system data pre-set and each angle-data obtained and correspondence thereof is sent to touch-screen display module 13, control touch-screen display module 13 in angle real-time curve coordinate system by acquisition time sequencing angles of display data point by communication module 2 simultaneously, and by angle number strong point line corresponding for adjacent acquisition time.Such as, single chip processing module 1 is when t receives angle real-time curve display conversion instruction, the acquisition time that angle electric signal signal acquisition module 12 sent in real time is converted to angle-data corresponding to angle real-time curve display type and correspondence thereof sends to communication module 2, send angle real-time curve coordinate system data, touch-screen display module 13 can show the angle real-time curve from t subsequently simultaneously.Be illustrated in figure 5 the angle real-time curve display interface schematic diagram that the angular transducer display device based on touch-screen provided by the invention shows, user can according to the variation tendency of this figure viewing angle intuitively.
Preferably, the above-mentioned angular transducer display device based on touch-screen also comprises the memory module be connected with single chip processing module 1; The angle of touch-screen display module 13 also for user being inputted stores instruction and sends to single chip processing module 1 by communication module 2; Single chip processing module 1 also stores instruction for the angle sent according to touch-screen display module 13 and current touch is shielded the angle-data that display module 13 shows and be stored in memory module, or angle electric signal signal acquisition module 12 at every turn sent all is stored in memory module.Such as shown in Fig. 5, when user needs to carry out data storage, " recording angular " button clicked on this interface can store the acquisition time of the angle value in the angle real-time curve of current display and correspondence thereof and show the data stored with forms mode, more more convenient and swift than manual record, stored data can be derived, for further Treatment Analysis with the form of Excel or other settings by the USB flash disk interface 4 in Fig. 2 by " USB flash disk derivation " button that user clicks on this interface.
Preferably, memory module is also for prestoring instructions and the mounting list of the angular transducer be connected with the angular transducer display device based on touch-screen; Instruction is checked in the explanation of single chip processing module 1 also for being sent by communication module 2 according to touch-screen display module 13, extract instructions and mounting list that the sensor that instruction is specified is checked in the explanation stored in memory module, and send to touch-screen display module 13 to show by communication module 2.Thus the instructions of various angular transducer can be checked on the touch-screen of touch-screen display module for user.
Preferably, the embodiment of the present invention provide based in the angular transducer display device of touch-screen, angular transducer operational order also for receiving the angular transducer operational order of user's input, is sent to single chip processing module 1 by communication module 2 by touch-screen display module 13; Single chip processing module 1 also for according to the angular transducer operational order received, carries out corresponding operating to the angular transducer of assigned operation in this angular transducer operational order.Wherein, angular transducer operational order comprises mark and the action type of the angular transducer of assigned operation, and action type comprises clear operation to angular transducer, rewrites range operation, calibration operation.After the corresponding function of the touch-screen display of user's point touching screen display module 13, touch-screen display module 13 will send the instruction of respective angles sensor operations, instruction is successively by communication module 2, single chip processing module 1, instruction is conveyed to corresponding angular transducer by analog signals acquisition module 5 or digital quantity signal acquisition module 8, to change angular transducer inner parameter, realize clearing, measurement range selection, calibration operation.Such as interface shown in Fig. 3 also shows the measurement range selection to angular transducer that user can carry out, clearing, calibration operation button, user only need click the corresponding button of display, and the touch-screen display module 13 i.e. angular transducer operational order of identifiable design user input also sends it to communication module 2.
Preferably, touch-screen display module 13 is also for receiving the angle warning upper limit value and lower limit value of user's input and it being sent to single chip processing module 1 by communication module 2; Single chip processing module 1 is also for stored angles warning upper limit value and lower limit value, and when angle value corresponding to the angle electric signal that signal acquisition module 12 is sent is lower than angle low alarm limit value or higher than angle high alarm setting value, report to the police and autostore alarm logging, be convenient to the later stage check monitoring during overrun condition.Such as interface shown in Fig. 3 also shows the angle high alarm setting value and low alarm limit value that store to some extent, click high alarm setting or low alarm limit button is only needed to recall keyboard when needs are reseted and put warning upper and lower limit, the required warning upper and lower limit angle arranged of input.As seen from Figure 3, device display display format provided by the invention is various, simple to operate, can solve the problem of existing angle display device angle display dullness, complicated operation.
Above-mentioned angular transducer is at least one in common angle sensor, one dimension slant angle sensor, two-dimentional slant angle sensor.
The angular transducer display device based on touch-screen provided in such scheme, utilize touch-screen as the display screen of angle indicator gauge, according to the self-defined required figure of user's demand and interface, the color enriched by touch-screen and picture or animation realize showing the diversification of angle, a-table-multi-purpose, without the need to carrying out the pre-service of signal, by embedded micro-processor programmed control touch-screen, directly can be reset angular transducer by touch operation, measurement range selection, the operations such as calibration, convenient and swift, can autostore carry out drawing the real-time curve of acquisition angles for shown angle-data, two dimension tilt angle varied schematic diagram, the operations such as the alarm range of set angle angle value.The display of existing angle display device angle can be solved dull, cannot record data and process, the shortcomings such as complicated operation.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.