CN1409108A - Chromatographic data collecting device and method based on on-chip system - Google Patents
Chromatographic data collecting device and method based on on-chip system Download PDFInfo
- Publication number
- CN1409108A CN1409108A CN 02136929 CN02136929A CN1409108A CN 1409108 A CN1409108 A CN 1409108A CN 02136929 CN02136929 CN 02136929 CN 02136929 A CN02136929 A CN 02136929A CN 1409108 A CN1409108 A CN 1409108A
- Authority
- CN
- China
- Prior art keywords
- input
- execution
- interface
- collecting device
- signal
- 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.)
- Pending
Links
Images
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
A collecting device of chroamtograph data based on the chip system includes two operation amplifiers with their input ends connected to the chromatograph and microcontroller connected with the output ends of the operation amplifiers, among which the microcontroller integrates with one chip computer, two individual A/D conversion circuits with separate channels on each and serial communication interface and sets with several input and output interfaces for switching volume, start and stop signals input into chroatograph for analysing separately, control signal of operation mode and output channel. To convert the analog signal to the digital signal for the chromatograph and to carry out the integrating calculation can be realized by only using one chip microcontroller since it contains conversion circuit in high accuracy and wide detecting range, microcontroller storage and digital interface circuit.
Description
Invention field
The present invention relates to a kind of high-precision chromatography data collector and method, relate in particular to a kind of employing high integration large scale integrated circuit, based on the high-precision chromatography data collector and the method for SOC (System On Chip SOC (system on a chip)) technology.
Background of invention
Traditional chromatographic data collecting device is made up of two parts components and parts at least: A/D conversion portion, interface circuit for data transmission part.Traditional chromatographic data collecting device roughly has two kinds of situations:
1.V/F (voltage/frequency) conversion components and parts or V/T (voltage/time) conversion components and parts are that frequency signal carries out the counting of " constant duration " with chromatographic analog signal conversion, carry out integral and calculating, be sent to data processing equipment by single-chip microcomputer or data interface circuit at last.
2. adopting ∑-Δ conversion element is digital signal with chromatographic analog signal conversion, by single-chip microcomputer data is sent to data processing equipment then.
The main deficiency of traditional chromatographic data collecting device is:
1. for needing A/D conversion and digital interface circuit two parts components and parts at least, data collector forms.Wherein digital interface circuit can be made up of single-chip microcomputer or a plurality of middle small scale integrated circuit, so the composition data harvester need be by the integrated circuit of multi-disc difference in functionality.
2. the data collector of forming with the components and parts of V/F or V/T conversion, the restriction that the precision of its A/D conversion and dynamic range are subjected to the components and parts performance index, therefore need in gamut, adopt different gains to represent, acquisition precision and the manufacturing process that improves system acquired a certain degree of difficulty.
3. form chromatographic data collecting device with ∑-Δ change-over circuit and single-chip microcomputer, also have shortcomings such as integrated level is low, the employing component number is many, acquisition controlling complexity.
Summary of the invention
Technical matters to be solved by this invention provides a kind of chromatographic data collecting device and method, and it can be implemented in realizes in the single chip microcontroller that high-precision A/D analog to digital conversion, chromatographic signal sampling, data transmit.
In order to solve the problems of the technologies described above, the present invention adopts following technical proposals: a kind of chromatographic data collecting device based on SOC (system on a chip) comprises: two operational amplifiers that input end is connected with chromatograph, it is characterized in that, this device comprises that also one is connected in the microcontroller of the output terminal of two operational amplifiers, be integrated with the single-chip microcomputer kernel in the described microcontroller, two A/D change-over circuits independently, serial communication interface, described A/D change-over circuit is respectively by the single-chip microcomputer in the sheet, serial communication interface and PC link, described microcontroller is provided with some switching value inputs, output interface is imported the start signal that chromatograph is analyzed respectively, stop signal, the operational mode control signal, the output channel control signal.
The present invention also provides a kind of method of work of the chromatographic data collecting device based on SOC (system on a chip), comprise the steps: 1, initialization is provided with, 2, the judgment task pattern enters mode of operation or measurement pattern, and described mode of operation comprises the steps: 11, debugging is proofreaied and correct, 12, enter the keyboard scan module, if the working routine initialization not ready, is then waited for, loop test, as surpassing the default stand-by period, then execution in step 13, and communication makes mistakes, program withdraws from, ready as step 12, then execution in step 14, judge whether communication port is ready, as ready, then start passage and enter duty.Described duty comprises the steps: execution in step 21, image data, set up integrated data, carry out the break in service module again, comprising: data transmit, passage switches, input command is handled, the set handling sign, execution in step 22, handle, return execution in step 21, enter the duty circulation according to handling sign, otherwise, execution in step 23 state of deactivating.
Adopting the microcontroller of SOC technical design, is to be used for integrated sensor, pocket instrument and meter, pressure unit etc., the special-purpose microcontroller instrument of standard interface 4~20mA transmission.Because microcontroller contains ∑-Δ A/D change-over circuit, microcontroller, storer and the digital interface circuit of high precision, wide measurement range, therefore adopt the chromatographic data collecting device of microcontroller composition, only need a slice microcontroller can realize the A/D analog to digital conversion, with chromatographic analog signal conversion is digital signal, and carry out integral and calculating, simultaneously can also be as interface circuits such as data transmission.
Description of drawings
Fig. 1 is based on the circuit block diagram of the chromatographic data collecting device of SOC (system on a chip).
Fig. 2 is the workflow diagram of chromatographic data collecting device based on SOC (system on a chip) shown in Figure 1.
Fig. 3 is the workflow diagram of duty shown in Figure 2.
Embodiment
As shown in Figure 1: chromatographic data collecting device of the present invention comprises: a microcontroller 1, the preceding operational amplifier 2,3 that is connected to this microcontroller 1, and the serial communication interface 4 that is connected with the output terminal of this microcontroller 1.
Described operational amplifier 2,3 is as chromatographic signal imitation amount signal conditioner, and its input end connects with chromatograph, and output terminal connects with microcontroller 1. Operational amplifier 2,3 adopts low drifting operating amplifier OP-07 (OP-27 etc.), and its input dynamic range is 0~± 1V, be output as 0~± 2.5V, enlargement factor is 2.5 times.Because chromatograph analog signals output is generally 0~1V, therefore the dynamic range of considering in the design 0~± 1V can satisfy the chromatograph requirement.
Described microcontroller 1 is made by the SOC technology, adopting model is AD μ c824, AD μ c834 or AD μ c812 or AD μ c816, integrated ∑ in it-Δ A/D change-over circuit, has very wide dynamic range (24Bit), can realize the A/D analog to digital conversion, simultaneously data are carried out pre-service, and be organized into the data of certain format, link by serial line interface and PC (or inserted computer), microcontroller 1 adopts AD μ c824 in the present embodiment, is provided with two independently A/D change-over circuits in it, and respectively by passage A, B and PC link, main channel A may command precision reaches 24bit, and accessory channel B may command precision reaches 16bit.
Described microcontroller 1 contains the program storage of 8Kbyte, and the data-carrier store of 256byte.Can realize A/D sampling and control function such as data pre-service and data transmission according to its plenty hardware resources.
Described microcontroller 1 also has some subsidiary functions.As temperature sensor, can do temperature compensation to system according to the temperature value of temperature sensor measurement, with the precision of further raising sampling, the concrete practice is exported constant current source to reference voltage V according to the known temperature compensated curve by D/A
Ref+, Vref-does temperature compensation, to improve the precision of A/D sampling.
Described microcontroller 1 has serial communication interface.(TTL → RS) is RS232, connects with PC to realize that serial communication, serial communication interface 4 are to adopt the MAX202 integrated circuit, and its communication speed is 19.2KBd through serial communication interface 4 level conversion for Rx, Tx.The output of serial communication interface 4 signals connects with PC, for fear of the A/D conversion accuracy influence of PC ground wire to the notebook data harvester, must adopt the light isolation technology, and the ground wire of data collector and the ground wire of PC are isolated fully.
Described microcontroller 1 is provided with switch value input interface P1.0, P1.1, P3.2, P3.3, P2.0, P2.1, P2.2.
What described switch value input interface P3.2 (P3.3) imported is the start signal that chromatograph is analyzed, by manually pressing button, make input interface P3.2 (P3.3) produce low level, the expression start signal, be sent to microcontroller 1, be sent to PC by RS232 interface 4 then, the expression chromatograph has entered analysis state.What described switch value input interface P1.0 (P1.1) imported is the stop signal that chromatograph is analyzed, and by manually pressing button, input interface P1.0 (P1.1) produces low level and represents that chromatograph stops to analyze, and carries out data processing.
When the input signal of switch value input interface P2.0 is the operational mode control signal of chromatographic data collecting device, when input signal is high level, represent that then chromatographic data collecting device is in mode of operation, when input signal is low level, represent that then chromatographic data collecting device is in measurement pattern.This signal condition changes, and only detected when powering on operation, its signal condition changes in the operational process that powers on, and can not influence the change operational mode.
As switch value input interface P2.1, the input signal of P2.2 is low level, then the mode of operation of A/D change-over circuit is passage A, B is and forbids, when the input signal of input interface P2.1 is a high level, the input signal of input interface P2.2 is a low level, then the mode of operation of A/D change-over circuit is passage A operation, when the input signal of input interface P2.1 is a low level, the input signal of input interface P2.2 is a high level, then the mode of operation of A/D change-over circuit is the channel B operation, switch value input interface P2.1, the input signal of P2.2 is high level, and then the mode of operation of A/D change-over circuit is passage A, B all moves.
Described microcontroller 1 also is provided with switching value output interface P0.0~P0.7, P2.3~P2.7.
Described switching value output interface P0.0~P0.7, the switching value signal of its output drives corresponding relay A0~3, B0~3 respectively.When chromatographic data collecting device and dissimilar chromatograph coupling, its output switching value signal each relay of exportable control under the control of time-program(me) is controlled functions such as automatic sampler, electronic valve member, gas circuit switching as realization.
When chromatographic data collecting device is in debugging mode following time, described switching value output interface P2.3~P2.7 connects with LCD display (CS1, CS2, RD/W, RST, A0) respectively, P0.0~P0.7 connects with LCD display DB0~DB7 respectively, shows commissioning content under the program run of debugging mode.
MCU (single-chip microcomputer) nuclear of i8052 is also contained in described microcontroller 1 inside; therefore its order set has been contained the order set of i8052; the address space of the data in its sheet is except the SFR (special function register) of i8052; also comprised a data field with power down protection; brought convenience therefore for the dirigibility of program design and operation, specifically describe the course of work of the present invention below in conjunction with Fig. 2, Fig. 3.
At first execution in step 100, initialization setting: mainly be meant setting,, as the clock frequency of kernel be set comprising the setting of SFR (special function register) to the initialization data of the program run of chromatographic data collecting device; The entry address of program run, data pointer, SP (stack pointer); The data of the related interrupts register (IE, IP) of interrupt routine are set; The Communication Control register is set determines communication speed, mode of operation; Regularly interrupt register is set, and the control timing is the cycle interruptedly; Each input/output port (P0, P1, P2, P3) state are set; The setting program status word.
Execution in step 101 again, and the judgment task pattern when P2.0 is input as low level, then enters mode of operation 102; When P2.0 is input as high level, then enter measurement pattern 103.
Described mode of operation 102 comprises following operative steps: the debugging of execution in step 1021, Built-In Self-Test is proofreaied and correct, and execution in step 1022, enters the keyboard scan module, the working routine initialization, if not ready, then wait for loop test, as surpassing the default stand-by period, then execution in step 1023, and communication makes mistakes, program withdraws from, ready as step 1022, then execution in step 1024, judge whether communication port is ready, as ready, then start passage A, B and enter duty 1025.
Described duty 1025 comprises following operative steps: execution in step 1026, image data, set up integrated data, carry out break in service module 1027 again, comprising: data transmit, passage switches, input command is handled, the set handling sign, execution in step 1028, handle, return execution in step 1026, enter the duty circulation according to handling sign, otherwise, execution in step 1029 state of deactivating.
Described measurement pattern 103 comprises, step 1031, enter the System self-test debugging, this moment, test condition voltage is provided was 0~1V in the outside, be connected to the operational amplifier input end, execution in step 1032 again, test (AIN1~AIN4), execution in step 1033, export LCD to by output interface P0, P2 mouth and show corresponding voltage reading numerical value, the input signal of execution in step 1034, test input interface P1.0, P1.1, P3.2, P3.3, execution in step 1035, test communications interface send data, execution in step 1036, acceptance test sign indicating number.
Described interrupt service routine 1027 comprises that mainly two parts: A/D sampling subroutine and data transmit subroutine.1, A/D sampling subroutine: AD μ c824 microcontroller contains two independently converters, can carry out the binary channels sampling simultaneously.And chromatographic data collecting device can be selected single channel A work for use, perhaps selects single channel B work for use, or selects A, B binary channels mode of operation simultaneously for use.The selection of mode of operation can be selected by the initial conditions difference of P2 mouth, and A/D sampling submodule is designed to different Program paths according to the input state of input interface P2.1, P2.2, realizes different controlling of sampling.
According to without the different sampling interval of sampling rate control, obtain the A/D data converted, and leave image data in A/D acquisition buffer district so that data transfer simultaneously with equal speed.2, data transmit subroutine
Data transmit subroutine, be the data that to gather with the value of 4 bytes to be one group of data transfer comprise to external every group of data message of PC (or inserted computer) image data, and data characteristics information: A channel and B passage, integrated data, the positive and negative feature of numerical value.So that discern during data processing.
Claims (8)
1, a kind of chromatographic data collecting device based on SOC (system on a chip) comprises: the operational amplifier (2 that input end is connected with chromatograph, 3), it is characterized in that, this device comprises that also one is connected in operational amplifier (2, the microcontroller of output terminal 3) (1), described microcontroller is integrated with single-chip microcomputer in (1), two A/D change-over circuits independently, serial communication interface, described A/D change-over circuit is respectively equipped with passage (A, B), described microcontroller (1) is provided with switch value input interface (P1.0, P1.1, P3.2, P3.3, P2.0, P2.1, P2.2), described switch value input interface (P3.2, P3.3) input is the start signal that chromatograph is analyzed, described switch value input interface (P1.0, P1.1) input is the stop signal that chromatograph is analyzed, the input signal of described switch value input interface (P2.0) is the operational mode control signal, switch value input interface (P2.1, P2.2) input signal is passage (A, B) control signal.
2, chromatographic data collecting device based on SOC (system on a chip) according to claim 1, it is characterized in that, this chromatographic data collecting device also is provided with switching value output interface (P0.0~P0.7, P2.3~P2.7), described switching value output interface (P0.0~P0.7), be connected to relay (A0~3 behind the described microcontroller, B0~3) and LCD, described switching value output interface (the switching value signal of the output of P0.0~P0.7), drive corresponding relay (A0~3 respectively, B0~3), described switching value output interface (P2.3~P2.7) connect with LCD respectively, described switching value output interface (P0.0~P0.7) connect with LCD respectively.
3, the chromatographic data collecting device based on SOC (system on a chip) according to claim 1, it is characterized in that, this chromatographic data collecting device also is provided with built-in temperature sensor, and described microcontroller (1) can be done temperature compensation to system according to the temperature value of temperature sensor measurement.
4, the chromatographic data collecting device based on system in the sheet according to claim 1 is characterized in that, it is i8052 that described interior system contains the single-chip microcomputer kernel.
5, a kind of method of work of the chromatographic data collecting device based on system in the sheet according to claim 1, it is characterized in that, comprise the steps: at first execution in step (100), initialization setting, again execution in step (101), judge whether P2.0 input is 1, (P2.0) is input as low level when switch value input interface, enters mode of operation (102); (P2.0) is input as high level when switch value input interface, then enters measurement pattern (103).Described mode of operation (102) comprises the steps: execution in step (1021), built-in self testing correction, execution in step (1022), enter the keyboard scan module, the working routine initialization, if it is not ready, then wait for, loop test, as surpassing the default stand-by period, execution in step (1023) then, communication makes mistakes, program withdraws from, ready as step (1022), then execution in step (1024) judges whether communication port is ready, as ready, then start passage (A, B) and enter duty (1025).Described duty (1025) comprises following operative steps: execution in step (1026), image data, set up integrated data, carry out break in service module (1027) again, comprising: data transmit, passage switches, input command is handled, the set handling sign, execution in step (1028), handle, return execution in step (1026), enter the duty circulation according to handling sign, otherwise, execution in step (1029) state of deactivating.
6, method according to claim 5 is characterized in that, described interrupt service routine (1027) comprises that mainly two parts: A/D sampling subroutine and data transmit subroutine.
7, according to the described method of claim 5, it is characterized in that, described passage switching is meant: as switch value input interface (P2.1, P2.2) input signal is low level, then the mode of operation of A/D change-over circuit is passage (A, B) be and forbid, when the input signal of input interface (P2.1) is a high level, the input signal of input interface (P2.2) is a low level, then the mode of operation of A/D change-over circuit is passage (A) operation, when the input signal of input interface (P2.1) is a low level, the input signal of input interface (P2.2) is a high level, then the mode of operation of A/D change-over circuit is passage (B) operation, switch value input interface (P2.1, P2.2) input signal is high level, and then the mode of operation of A/D change-over circuit is passage (A, B) all operations.
8, method according to claim 5, it is characterized in that, described measurement pattern (103) comprises step (1031), enter the System self-test debugging, this moment, test condition voltage is provided was 0~1V in the outside, be connected to the operational amplifier input end, execution in step (1032), test (AIN1~AIN4), execution in step (1033), by output interface (P0, P2) mouth exports the voltage reading numerical value of liquid crystal display correspondence to, execution in step (1034), test input interface (the input signal of P1.0~P1.3), execution in step (1035), the test communications interface sends data, execution in step (1036), the acceptance test sign indicating number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02136929 CN1409108A (en) | 2002-09-10 | 2002-09-10 | Chromatographic data collecting device and method based on on-chip system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02136929 CN1409108A (en) | 2002-09-10 | 2002-09-10 | Chromatographic data collecting device and method based on on-chip system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1409108A true CN1409108A (en) | 2003-04-09 |
Family
ID=4748825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 02136929 Pending CN1409108A (en) | 2002-09-10 | 2002-09-10 | Chromatographic data collecting device and method based on on-chip system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1409108A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8281639B2 (en) | 2008-11-12 | 2012-10-09 | Shimadzu Corporation | Method for adjusting the detector of a chromatograph |
WO2023072140A1 (en) * | 2021-10-29 | 2023-05-04 | 合肥本源量子计算科技有限责任公司 | Quantum control apparatus, quantum control system and quantum computer |
CN116090566A (en) * | 2021-10-29 | 2023-05-09 | 合肥本源量子计算科技有限责任公司 | Quantum control device, quantum control system and quantum computer |
-
2002
- 2002-09-10 CN CN 02136929 patent/CN1409108A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8281639B2 (en) | 2008-11-12 | 2012-10-09 | Shimadzu Corporation | Method for adjusting the detector of a chromatograph |
CN101738445B (en) * | 2008-11-12 | 2013-10-16 | 株式会社岛津制作所 | Detector for chromatograph and method for adjusting the same |
WO2023072140A1 (en) * | 2021-10-29 | 2023-05-04 | 合肥本源量子计算科技有限责任公司 | Quantum control apparatus, quantum control system and quantum computer |
CN116090566A (en) * | 2021-10-29 | 2023-05-09 | 合肥本源量子计算科技有限责任公司 | Quantum control device, quantum control system and quantum computer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106996847A (en) | A kind of multi-path pressure acquisition system | |
CN104614593A (en) | Self-calibration based high-precision intelligent instrument system and application method thereof | |
CN204304613U (en) | II type electric energy efficiency office terminal and system | |
CN201130428Y (en) | Optic fiber gyroscope data acquisition model based on FPGA | |
CN201269738Y (en) | Intelligent converter of LVDT displacement transducer | |
CN103822667A (en) | Temperature-humidity acquisition system based on Bluetooth technology | |
CN103091550A (en) | Synchronous isolation sampling direct-current power meter of wide voltage and large current | |
CN200993665Y (en) | Small digitalized prase-comparing measuring device | |
CN102435555A (en) | Multispectral water quality analyzer | |
CN1409108A (en) | Chromatographic data collecting device and method based on on-chip system | |
CN201576035U (en) | Mixed signal oscillograph | |
CN110456300B (en) | Acquisition unit detection device and method based on self-adaptive comparison analysis technology | |
CN205384320U (en) | Photoelectric detection means | |
CN2283839Y (en) | Multichannel temp. measuring device with low cost | |
CN100423039C (en) | Integral automatic integrating testing system | |
CN216052644U (en) | Test digital-to-analog conversion acquisition card | |
CN211124351U (en) | Multifunctional data acquisition unit based on simulation and digital acquisition | |
CN111953333B (en) | SPI parallel data acquisition circuit and sensing system of array MEMS sensor | |
CN108132636A (en) | Based on monolithic processor controlled multi-channel data acquisition processing system | |
CN209103124U (en) | A kind of digital display unit of collection in worksite signal | |
CN2762070Y (en) | Vibrating wire sensor capable of directly reading force | |
CN218630585U (en) | Interface board detection device for remote control system of certain type of engine | |
CN2554635Y (en) | Intelligence power monitoring instrument | |
CN217739890U (en) | Signal edge detection module | |
CN101996050A (en) | DsPIC30F-based high accuracy data acquisition device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |