CN201824654U - Printout device for simultaneously acquiring and processing as well as separately displaying double-channel data - Google Patents

Printout device for simultaneously acquiring and processing as well as separately displaying double-channel data Download PDF

Info

Publication number
CN201824654U
CN201824654U CN2010205693206U CN201020569320U CN201824654U CN 201824654 U CN201824654 U CN 201824654U CN 2010205693206 U CN2010205693206 U CN 2010205693206U CN 201020569320 U CN201020569320 U CN 201020569320U CN 201824654 U CN201824654 U CN 201824654U
Authority
CN
China
Prior art keywords
data
module
chip microcomputer
data acquisition
channel
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
Application number
CN2010205693206U
Other languages
Chinese (zh)
Inventor
郝彬
范玉进
赵丕扬
田力
王保文
王睿玲
徐彪
孟繁辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Optical Electrical Communication Technology Co Ltd
Original Assignee
Tianjin Optical Electrical Communication Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tianjin Optical Electrical Communication Technology Co Ltd filed Critical Tianjin Optical Electrical Communication Technology Co Ltd
Priority to CN2010205693206U priority Critical patent/CN201824654U/en
Application granted granted Critical
Publication of CN201824654U publication Critical patent/CN201824654U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The utility model relates to a dual-channel data acquisition and processing as well as separately displaying double-channel data, which comprises a printer, a power switch, a channel selecting switch, a keyboard and a liquid crystal display which are arranged on a chassis, and a system circuit arranged in the chassis, wherein a data acquisition card in the system circuit is respectively connected with a printing module, a keyboard module and a liquid crystal display module in two directions via data buses, the channel selecting switch is connected with the data acquisition card, the printer is connected with the printing module, the keyboard is connected with the keyboard module, and the liquid crystal display is connected with the liquid crystal display module. The device realizes the simultaneous acquisition and the separated display of the data, the high precision and the instantaneity of data acquisition are improved, and the cost of the device is reduced. The control on data acquisition and work time output can be completed through the operation of keys.

Description

The print out equipment that the acquisition process timesharing simultaneously of binary channels data shows
Technical field
The utility model relates to a kind of double channel data acquisition treatment facility, the print out equipment that the acquisition process timesharing simultaneously of particularly a kind of binary channels data shows.
Background technology
Along with the precise treatment of equipment output data acquisition, the data volume of equipment output is increasing, requires also more and more higher to real time of data acquisition now.To carry out data acquisition be the problem that needs solve for having equipment under test that two channel datas export simultaneously.
At present, the single-chip microcomputer of embedded AD function generally has two AD sampling work patterns: single channel and multi-channel sampling pattern.The single channel sampling configuration can't be carried out real-time sampling to the equipment under test that possesses two data output channels, need to adopt multi-channel mode, but multi-channel mode is to realize by the time-sharing work of an AD converter, can there be the time interval at least one AD sampling period to twin-channel data sampling, so can't satisfy the requirement of the high accuracy real-time in the application.
Summary of the invention
In view of the deficiency that prior art exists, the utility model provides a kind of binary channels data print out equipment that acquisition process timesharing simultaneously shows.This equipment carries out acquisition process and record simultaneously to the device data of binary channels output, the result timesharing shown on same LCD MODULE, and timesharing printout on same print module.
The utility model for achieving the above object, the technical scheme of being taked is: the print out equipment that the acquisition process timesharing simultaneously of a kind of binary channels data shows, it is characterized in that: comprise the printer that is arranged on the cabinet, power switch, channel selector switch, keyboard, LCDs, also comprise the circuit system that is arranged in the cabinet, data collecting card in the described circuit system by data/address bus respectively with print module, Keysheet module, the two-way connection of LCD MODULE, described channel selector switch and data acquisition card connection, described printer is connected with print module, described keyboard is connected with Keysheet module, and described LCDs is connected with LCD MODULE.
Characteristics of the present utility model are: adopt two single-chip microcomputers that equipment under test is carried out the AD sampling, record data, and control LCD MODULE and print module are printed the result timesharing in same LCD MODULE demonstration and in same printout module.Wherein utilize the software and hardware integration scheme of single-chip microcomputer, collection when realizing data, timesharing output have improved the high accuracy real-time of data acquisition, have reduced equipment cost.And can pass through button operation, finish temporal control to data collection, output services.
Description of drawings
Fig. 1 is the utility model structural representation.
Fig. 2 connects block diagram for the utility model circuit.
Fig. 3 is that the utility model data collecting card circuit connects block diagram.
Fig. 4 is the utility model software flow pattern.
The specific embodiment
Shown in Fig. 1~3, the print out equipment that the acquisition process timesharing simultaneously of binary channels data shows, comprise the printer 2, power switch 3, channel selector switch 4, keyboard 5, the LCDs 6 that are arranged on the cabinet 1, also comprise the circuit system that is arranged in the cabinet 1, data collecting card in the circuit system by data/address bus respectively with print module, Keysheet module, LCD MODULE is two-way is connected, channel selector switch 4 and data acquisition card connection, printer is connected with print module, keyboard is connected with Keysheet module, and LCDs is connected with LCD MODULE.
The circuit of data collecting card is connected to: the single-chip microcomputer I that software program is installed is connected with the single-chip microcomputer II that software program is installed by data exchange module, data acquisition circuit image data passage I in the internal circuit of single-chip microcomputer I, single-chip microcomputer II, the data of data channel II and the A/D convertor circuit by separately carry out the AD conversion with image data, transformation result are carried out data output again.
Acquisition process timesharing demonstration simultaneously of binary channels data and print out equipment basic principle are as follows:
In order to guarantee the independence of real time of data acquisition, two passages, and the real-time demonstration of data processed result, we adopt two single-chip microcomputers respectively the binary channels data to be carried out independently sampling processing, control which Single-chip Controlling display screen and printer by the channel selector switch of a hardware.One group of keyboard of two one-chip machine commons, a display screen and a printer, link up software by state and coordinate two bus authorities that single-chip microcomputer is unique, have only the single-chip microcomputer that has obtained bus control right just can operator trunk, show content with the printing note passage.If adopt the multi-channel mode of a single-chip microcomputer to carry out accurate simultaneity of height and sampling rate at a high speed that data acquisition then can't be satisfied the AD sampling.This be because, the single-chip microcomputer of multi-channel mode can only guarantee a circuit-switched data is wherein gathered when starting the AD sampling and interrupt, and has only after executing circuit-switched data collection, could gather second circuit-switched data, gather when can't very accurately guarantee two paths of data.And dispose two single-chip microcomputer image data, under the situation that two paths of data occurs simultaneously, can start the AD sampling simultaneously and interrupt the two paths of data collection has been guaranteed the simultaneity of data acquisition, and reached the effect of high speed acquisition and high speed processing.Guarantee that the time detecting precision is the key technology of system, we adopt precision up to the external crystal oscillator of the 20PPM time reference as processor, appearance to signal in time responds interrupt routine, have no progeny in entering, the timer periodic interruptions starts the AD sampling, software does not interfere the AD after sampling process begins to start, the time precision of interference sample not, just behind EOC, read conversion value, the startup of AD sampling relies on the timer that the clock source is provided by external crystal oscillator fully, and this has guaranteed the stability and the accuracy in the systematic sampling time interval from hardware.
Shown in Fig. 2,3, two the same LCDs of single-chip microcomputer, printers hang on the bus, carry out information exchange by bus management.
The data acquisition process card couples together P0.2, the P0.3 of two single-chip microcomputers, P0.4, P0.5, P0.6, P7 numeral I/ O mouth, the channel that intercoms mutually as two single-chip microcomputers.Wherein P0.2 sends state flag bit for order; P0.3 is order receive status flag bit; P0.4 is the channel selecting flag bit; P0.5 is single-chip microcomputer 1 total line traffic control flag bit; P0.6 is single-chip microcomputer 2 total line traffic control flag bits; P7 orders the interchange channel between the single-chip microcomputer.
The order of communication between two single-chip microcomputers by the P7 mouth exchanges to be finished, and in order to determine that two single-chip microcomputers all have been ready to send or take orders, needs order is sent state flag bit and order receive status flag bit be judged.When P0.2=0 and P0.3=0, can transmit the order of P7 mouth between two single-chip microcomputers mutually, wherein P0.2 is by single-chip microcomputer 1 control, and P0.3 is by single-chip microcomputer 2 controls.P0.2 puts 0 in the time will sending order, and whether detect P0.3 simultaneously is 0, if be not that 0 explanation single-chip microcomputer 2 is unripe or have a fault; If 0, then the order with P7 sends to single-chip microcomputer 2, order sends back P0.2 and puts 1, and vice versa.
P0.4 is as the channel selecting flag bit, P0.5 and P0.6 are respectively by single-chip microcomputer 1 and single-chip microcomputer 2 controls, when P0.4 puts ' 0 ', to detect P0.5 and P0.6 state, wherein state flag bit is that bus operation finishes and can abandon bus for ' 0 ' single-chip microcomputer, and state flag bit be ' 1 ' single-chip microcomputer state for just at operator trunk and have much to do.P0.4 puts ' 0 ' at every turn and promptly sends two requests, asks a single-chip microcomputer to abandon bus operation, asks another single-chip microcomputer operator trunk.When just the single-chip microcomputer at operator trunk is ready, will abandon the single-chip microcomputer that bus and notice are thought operator trunk, after having notice, another single-chip microcomputer just brings into use bus.This request can propose at any time, and single-chip microcomputer is abandoned bus after finishing current must finishing of task at once.Guarantee to have only a Single-chip Controlling bus by the change Status Flag, software will dispose the Status Flag position ' 1 ' that obtains bus, abandon the Status Flag position ' 0 ' of the single-chip microcomputer of total line traffic control, state flag bit will send data to print module and LCD MODULE for ' 1 ' single-chip microcomputer, and its result of calculation is exported by LCD MODULE and printer module; The pin that another piece single-chip microcomputer then will be connected on Liquid Crystal Module and the printer module puts ' 1 '.
Because two single-chip microcomputers need the timesharing control bus, need to be connected to two corresponding pins of single-chip microcomputer on the bus simultaneously, in order to allow the pin status of abandoning the bus single-chip microcomputer can not have influence on the pin output of control bus single-chip microcomputer, needing these pin configuration is open-drain, and these pins are connect+5V voltage by resistance.Like this, when the single-chip microcomputer of abandoning bus kept these pins to put 1 state, the pin output of the single-chip microcomputer of control bus just can not be affected.
This system has very strong extensibility: greater than 2 data output apparatus, the quantity that only needs to increase single-chip microcomputer is gathered more multichannel data for port number.It will be other single-chip microcomputer configuration effort states again that state is linked up software, under the prerequisite that keeps data to gather simultaneously, guarantee to have only the unique Single-chip Controlling print module and the bus of LCD MODULE.
Software flow such as Fig. 4: this system sends the instruction initialization by single-chip microcomputer 1 external equipment is set, and enters the data acquisition interface.Operation by button and selection determine whether that the data that begin two passages gather.After gathering end each single-chip microcomputer will be carried out the setting of Status Flag to oneself, by the difference of Status Flag, any Single-chip Controlling bus of user's definable prints and shows.The single-chip microcomputer that printing and demonstration finish on bus, by another single-chip microcomputer identification, and begins update mode information to print and demonstration.
Whether good native system also possess the audit function to the passage running status.Link up the duty that software can be distinguished any single-chip microcomputer by state, also can link up the exchange that module is carried out state between the single-chip microcomputer by state, for the unusual single-chip microcomputer of Status Flag, system will make judgement, and judgment result displays on LCD MODULE, malfunction is in time informed the user.

Claims (2)

1. the print out equipment that shows of binary channels data acquisition process timesharing simultaneously, it is characterized in that: comprise the printer (2) that is arranged on the cabinet (1), power switch (3), channel selector switch (4), keyboard (5), LCDs (6), also comprise the circuit system that is arranged in the cabinet (1), data collecting card in the described circuit system by data/address bus respectively with print module, Keysheet module, the two-way connection of LCD MODULE, described channel selector switch (4) and data acquisition card connection, described printer is connected with print module, described keyboard is connected with Keysheet module, and described LCDs is connected with LCD MODULE.
2. the print out equipment that binary channels data according to claim 1 acquisition process timesharing simultaneously shows, it is characterized in that: the circuit of described data collecting card is connected to: the single-chip microcomputer I is connected with the single-chip microcomputer II by data exchange module, and the data acquisition circuit image data passage I in the internal circuit of single-chip microcomputer I, single-chip microcomputer II, the data of data channel II are carried out data output by A/D convertor circuit separately.
CN2010205693206U 2010-10-21 2010-10-21 Printout device for simultaneously acquiring and processing as well as separately displaying double-channel data Expired - Fee Related CN201824654U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010205693206U CN201824654U (en) 2010-10-21 2010-10-21 Printout device for simultaneously acquiring and processing as well as separately displaying double-channel data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010205693206U CN201824654U (en) 2010-10-21 2010-10-21 Printout device for simultaneously acquiring and processing as well as separately displaying double-channel data

Publications (1)

Publication Number Publication Date
CN201824654U true CN201824654U (en) 2011-05-11

Family

ID=43963210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010205693206U Expired - Fee Related CN201824654U (en) 2010-10-21 2010-10-21 Printout device for simultaneously acquiring and processing as well as separately displaying double-channel data

Country Status (1)

Country Link
CN (1) CN201824654U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294420A (en) * 2013-04-28 2013-09-11 珠海赛纳打印科技股份有限公司 Intelligent card printing system and control method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294420A (en) * 2013-04-28 2013-09-11 珠海赛纳打印科技股份有限公司 Intelligent card printing system and control method thereof
WO2014177024A1 (en) * 2013-04-28 2014-11-06 珠海赛纳打印科技股份有限公司 Smart card printing system and control method therefor
CN103294420B (en) * 2013-04-28 2017-04-12 珠海赛纳打印科技股份有限公司 Intelligent card printing system and control method thereof

Similar Documents

Publication Publication Date Title
CN101807068B (en) Universal bus parallelism-based vehicle diagnosis system and method
CN106895982A (en) Traction braking integrated test system for performance
CN105136276B (en) A kind of contactless ball mill rotary barrel vibration signal acquisition system
CN103453985A (en) Distribution type wireless luminous intensity measurement instrument
CN103235202A (en) Multi-channel analog signal acquisition system with automatic compensation function
CN101672728A (en) Engine handheld test diagnosis equipment based on ARM technology
CN110533848B (en) Method and system for intercepting parallel cash register printing data and tracing additional information
CN201824654U (en) Printout device for simultaneously acquiring and processing as well as separately displaying double-channel data
CN101340096B (en) Electric reactive compensating controller
CN204881604U (en) Distributing type bridge does not have line strain collection system based on WIFI
CN102291263B (en) State indicating device, equipment, equipment state instruction system and method for sending information
CN104155891B (en) I<2>C-based networked transmitter and communication implementation method thereof
CN202974663U (en) X type aeroengine test bench measuring and controlling system
CN202815518U (en) Device for examining operation condition of welders
CN111130580B (en) Multifunctional hand-held instrument
CN201134098Y (en) Data collecting card based on PXI bus
CN204406391U (en) A kind of data of optical fiber gyroscope R-T unit based on SPI
CN201060006Y (en) Bus type debugging diagnostic apparatus
CN104698914A (en) Engineering machinery digital graph instrument
CN103235203A (en) Acquisition method of multi-channel analog signal acquisition system with automatic compensation function
CN202735432U (en) electric meter device
CN106370215A (en) Multichannel digital transmission recorder
CN201885737U (en) Digital display instrument
CN201345051Y (en) Touch sensitive display system for locomotive
CN218675778U (en) Data acquisition system with multiple single-chip microcomputers working cooperatively

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110511

Termination date: 20131021