Background technology
General multimeter all has voltage or resistance measurement interface, a current measurement interface.The user introduces multimeter by test pencil with measuring-signal and measures.
This metering system can only realize once inserting a measurement point, if when thinking to measure simultaneously the voltage, resistance of difference or current value, this multimeter has just had significant limitation.
Present existing technology is seen Fig. 1, it is data capture card of expansion on the basis of multimeter, this data collecting card has the input on many roads, can insert plurality of voltages, resistance, electric current simultaneously, by certain switch matrix circuit, measure then in the input that sometime certain road input is linked into multimeter.Though, each instantaneous value of still just measuring an access point,, connect the input end that respectively the multichannel input is linked into multimeter if control this switch matrix circuit, just can realize multichannel measurement.If switching time is enough fast, just can allow the user feel to have finished simultaneously multichannel measurement.
Such as, as shown in Figure 1, instantaneous at certain, multimeter gauge tap matrix circuit is linked into the voltage input end of multimeter with the input HI of passage 1, the input L0 of passage 1 is linked into the ground connection input end of multimeter, what at this moment, multimeter was measured is the measured value of passage 1; Instantaneous at another, multimeter gauge tap matrix circuit is linked into the voltage input end of multimeter with the input HI of passage 2, and the input L0 of passage 2 is linked into the ground connection input end of multimeter, and at this moment, what multimeter was measured is the measured value of passage 2; So, just multichannel measurement can have been realized by this data collecting card.
But in many occasions, not only to measure, also will control output, to reach the purpose of automatic control according to the variation of these measuring amount to many voltages, the magnitude of current etc.Obviously, prior art can not satisfy such demand.Such as, in the occasion of certain monitoring voltage,, can only monitor the situation of change in voltage, and can not make any control for the variation of correspondent voltage with the multimeter of existing technology, such as, when voltage the time, cut off the electricity supply etc. greater than setting value.Like this, limited the use occasion of multimeter greatly, can not bring bigger convenience to the user.
Prior art 2: at present, some Programmable Logic Controllers, promptly industrial control equipment also can be finished the function of data acquisition and control output, but these industrial control equipments all are the fixed installation formulas generally, do not have portable, flexible characteristic.
The utility model content
The purpose of this utility model is to overcome the deficiencies in the prior art, and a kind of multimeter that can be equipped with the data collecting card of multichannel measurement input, multichannel control output is provided.
The utility model provides a kind of multimeter that is equipped with the data collecting card of alarm function, and this multimeter comprises: control treatment module 10, measurement module 8, memory module 12, load module 9, display module 11; The output of described measurement module 8 links to each other with control treatment module 10, gives control treatment module 10 in order to the output digital signal; Described control treatment module 10 is connected with load module 9, in order to receive the information of user's input; Described control treatment module 10 also is connected with memory module 12, in order to preservation, reading system parameter and data; Described control treatment module 10 also is connected with display module 11, in order to display system information; It is characterized in that also comprising:
Data collecting card 1, described data collecting card 1 comprise 2, one multichannel alarms of multichannel input access module output module 5;
The input of described multichannel input access module 2 links to each other with input multiplexer, and output links to each other with the input of measurement module 8, and its serial communication interface links to each other with control treatment module 10;
The serial communication interface of described multichannel alarm output module 5 links to each other with control treatment module 10, and its output links to each other with multichannel alarm output.
Described multichannel input access module 2 comprises input switch matrix circuit and 4 switch matrix control circuits 3:
Described input switch matrix circuit 4 links to each other with input channel, in order to inputs such as the voltage that inserts multichannel, resistance, electric currents; Described input switch matrix circuit 4 also links to each other with the output channel of multichannel input access module 2, in order to controlling the output of voltage or resistance via, and the output of a current channel;
Described switch matrix control circuit 3, its output links to each other with switch matrix circuit 4, and the switch matrix control circuit is exported the break-make of high/low level in order to the switch of control input switch matrix circuit 4; The serial communication interface of switch matrix control circuit 3 links to each other with control treatment module 10, and control treatment module 10 is by serial communication, the output of gauge tap matrix control circuit 3.
Described multichannel alarm output module 5 comprises matrix switch output circuit 7 and switch matrix control circuit 6:
Described matrix switch output circuit 7 links to each other with multichannel alarm output channel;
Described switch matrix control circuit 6, its output links to each other with matrix switch output circuit 7, and the high/low level of switch matrix control circuit 6 outputs is in order to the break-make of the switch of control matrix switch output circuit 7; The serial communication interface of switch matrix control circuit 6 links to each other with control treatment module 10, and control treatment module 10 is by serial communication, the output of gauge tap matrix control circuit 6.
Described load module 9 is keyboard, mouse, USB flash disk interface or communication interface.
Described display module 11 is LCDs or plasma panel.
Compared with prior art, the beneficial effects of the utility model are:
1. the multimeter that can be equipped with the data collecting card of multichannel measurement input, multichannel control output of the present utility model not only has the function of multi-channel data acquisition, analysis, has possessed automatic control function more.
2. and Programmable Logic Controller, promptly industrial control equipment is compared, and has more portable convenient, advantage that dirigibility is big.
Embodiment
Below in conjunction with accompanying drawing and embodiment the utility model is described in detail.
Embodiment 1:
A kind of multimeter that is equipped with the data collecting card of alarm function comprises: the expansion of multimeter and multimeter---data collecting card 20, as shown in Figure 3.
Above-mentioned data collecting card 20 comprises multichannel input access module 21, a multichannel alarm output module 23.
Above-mentioned multimeter comprises a measurement module 25, control treatment module 27, memory module 29, load module 26, a display module 28.
Above-mentioned multichannel input access module 21 comprises a shift register 22 and relay array.The switch of relay array links to each other with input channel respectively, in order to inputs such as the voltage that inserts multichannel, resistance, electric currents; The switch of relay array also links to each other with the output of a voltage (resistance) passage respectively, and the output of a current channel links to each other.The coil of relay array links to each other with the output of shift register respectively.The serial communication of shift register 22 links to each other with the control treatment module of multimeter 27, control treatment module 27 is by serial communication, 01 (opening/close) state to shift register 22 serial input relay arrays, thereby the break-make of the electric current on the pilot relay array coil has also just been controlled the cut-off/close of switch.The people who knows for art technology knows, realize that the function of above-mentioned multichannel input access module can also have many modes, here only for giving an example.
Above-mentioned multichannel alarm output module 23 comprises a shift register 24 and light lotus root array.The output terminal of light lotus root array links to each other with the alarm output channel respectively.The input end of light lotus root array links to each other with the output of shift register 24.The serial communication of shift register 24 links to each other with the control treatment module of multimeter 27, control treatment module 27 is by serial communication, 01 (on/off) state to shift register 24 serials input light lotus root array, thereby the break-make of the electric current on the diode of control light lotus root input, also just controlled the break-make of light lotus root output, also just controlled the alarm output channel and exported high/low level.The people who knows for art technology knows, realize that the alarm function of above-mentioned multichannel alarm output module can also have many modes, here only for giving an example.
Above-mentioned measurement module 25 is connected 21 with multichannel input access module, in order to receive the measuring amount such as voltage, electric current or resistance of multichannel input access module 21 outputs.The output of measurement module 25 is connected with control treatment module 27, and the analog quantity with measuring converts the digital signal that control treatment module 27 can be discerned, handle to.
Above-mentioned control treatment module 27 links to each other with the output of measurement module 25, receives the digital signal of measurement module 25, by calculating measured value.Control treatment module 27 links to each other with multichannel input access module 21, and control treatment module 27 is by serial communication, and the control multichannel is imported the input channel of access module 21 and being connected of output channel.Control treatment module 27 links to each other with multichannel alarm output module 23, and control treatment module 27 is by serial communication, and the control multichannel is alarmed the output state of the output channel of output module 23.
The following describes the utility model and realize the process of multipath input data collection and multichannel alarm output control, concrete steps are as follows:
Step 1: by load module, control treatment module receives multichannel measurement---the alarm conditions of user's input.Such as, the user can import measurement as shown in table 1---alarm conditions.
Table 1
Step 2: control treatment module, according to multichannel measurement---the alarm conditions of user's input, by analysis, overall arrangement is for the measuring sequence and the Measuring Time of multichannel input.Such as for measurement---the alarm conditions shown in the chart 1, control treatment module will be distributed:
First measurement---the alarm cycle is: measure input channel 1, and outputting alarm passage k, the duration is 1s.
Second measurement---the alarm cycle is: measure input channel 2, and outputting alarm passage 2, the duration is 2s.
The 3rd measurement---the alarm cycle is: measure input channel n, and outputting alarm passage 1, the duration is 1s.
Step 3: control treatment module is according to the distribution of step 2, and beginning is carried out in proper order, if the circulation execution pattern is just executing all measurements---alarm all after dates, and again from first measurement---the alarm cycle begins to carry out.Such as for measurement---the alarm conditions shown in the chart 1, control treatment module is first measurement---the alarm cycle earlier, and be 1s perdurability; Carry out second measurement---the alarm cycle then, be 2s perdurability; Carry out the 3rd measurement---the alarm cycle then, be 1s perdurability; Re-execute first measurement then---alarm cycle, so circulation, repeatedly.
The following describes the utility model and finish first above-mentioned measurement---the process in alarm cycle, concrete steps are as follows:
Step 1: control treatment module is according to current measurement---the task in alarm cycle, by being connected with the serial communication interface of the shift register of multichannel input access module, the high/low level of each output terminal of control shift register, thus control is linked into certain road input on which output channel.Such as, as shown in Figure 3, control treatment module is by the shift register sequence input bit of serial communication interface to multichannel input access module, control out1 and out_volt output high level, remaining output is low level, at this moment, just the voltage (resistance) of passage 1 has been incorporated into the input end of the voltage (resistance) of multimeter.At this moment, measurement is the input of first passage.
Step 2: measurement module is measured the value of the analog quantity of input, and converts digital signal to; Control treatment module reads this digital signal, obtains measured value.
Step 3: control treatment module judges whether to satisfy alarm conditions according to measured value.And with measurement result with whether report to the police and send to display module, show.
Step 4: if satisfy alarm conditions, control treatment module just connects certain road output of controlling multichannel alarm output module by serial communication and alarms output; If do not satisfy alarm conditions, control treatment module just connects certain road output of controlling multichannel alarm output module by serial communication and closes alarm output.Such as, the alarm conditions of this moment are: when the voltage of passage 1 input during greater than 3V, and passage k outputting alarm---the high level of multichannel alarm output module; If, the voltage of passage 1 input less than, when equaling 3V, the passage k of multichannel alarm output module is outputting alarm---low level not.If the voltage of the passage 1 that record this moment is 4.5V, then according to alarm conditions, should outputting alarm.Control treatment module is by the shift register sequence input bit of serial communication interface to multichannel alarm output module, and control outk exports high level, and then the output k of multichannel alarm output module just will export high level, produce alarm signal.
Embodiment 2: certain hall displacement transducer location moves
A kind of multimeter that is equipped with the data collecting card of alarm function comprises: the expansion of multimeter and multimeter---data collecting card 40, as shown in Figure 4.
Above-mentioned data collecting card 40 comprises multichannel input access module 41, a multichannel alarm output module 43.
Above-mentioned multimeter comprises a measurement module 45, control treatment module 49, memory module 48, load module 46, a display module 47.
Above-mentioned multichannel input access module 41 comprises a single-chip microcomputer 42 and relay array.The switch of relay array links to each other with input channel respectively, in order to inputs such as the voltage that inserts multichannel, resistance, electric currents; The switch of relay array also links to each other with the output of a voltage (resistance) passage respectively, and the output of a current channel links to each other.The coil of relay array links to each other with the I/O mouth of single-chip microcomputer respectively.The serial communication interface of single-chip microcomputer 42 links to each other with the control treatment module of multimeter 49, control treatment module 49 is by serial communication, send the steering order of I/O mouth state to single-chip microcomputer 42, thereby the output of the high/low level of control I/O, thereby the break-make of the electric current on the pilot relay array coil has also just been controlled the cut-off/close of switch.The people who knows for art technology knows, realize that the function of above-mentioned multichannel input access module can also have many modes, here only for giving an example.
Above-mentioned multichannel alarm output module 43 comprises a single-chip microcomputer 44 and relay array.The output terminal of relay array links to each other with the alarm output channel respectively.The input end of relay array links to each other with the I/O mouth of single-chip microcomputer 44.The serial communication interface of single-chip microcomputer 44 links to each other with the control treatment module of multimeter 49, control treatment module 49 is by serial communication, send the steering order of I/O mouth state to single-chip microcomputer 44, thereby the output of the high/low level of control I/O, thereby the break-make of the electric current on the pilot relay array coil has also just been controlled the cut-off/close of switch.The people who knows for art technology knows, realize that the alarm function of above-mentioned multichannel alarm output module 43 can also have many modes, here only for giving an example.
Above-mentioned measurement module 45 is connected with multichannel input access module 41, in order to receive the measuring amount such as voltage, electric current or resistance of multichannel input access module output.The output of measurement module 45 is connected with control treatment module 49, and the analog quantity with measuring converts the digital signal that control treatment module can be discerned, handle to.
Above-mentioned control treatment module 49 links to each other with the output of measurement module 45, receives the digital signal of measurement module 45, by calculating measured value.Control treatment module 49 links to each other with multichannel input access module 41, and control treatment module 49 is by serial communication, and the control multichannel is imported the input channel of access module 41 and being connected of output channel.Control treatment module 49 links to each other with multichannel alarm output module 43, and control treatment module 49 is by serial communication, and the control multichannel is alarmed the output state of the output channel of output module 43.
The following describes the utility model and realize the process of multipath input data collection and multichannel alarm output control, concrete steps are as follows:
Step 1: by load module, control treatment module receives multichannel measurement---the alarm conditions of user's input.Such as, the user can import the measurement shown in chart 1---alarm conditions.
Step 2: control treatment module, according to multichannel measurement---the alarm conditions of user's input, by analysis, overall arrangement is for the measuring sequence and the Measuring Time of multichannel input.Such as for measurement---the alarm conditions shown in the chart 1, control treatment module will be distributed:
First measurement---the alarm cycle is: measure input channel 1, and outputting alarm passage k, the duration is 1s.
Second measurement---the alarm cycle is: measure input channel 2, and outputting alarm passage 2, the duration is 2s.
The 3rd measurement---the alarm cycle is: measure input channel n, and outputting alarm passage 1, the duration is 1s.
Step 3: control treatment module is according to the distribution of step 2, and beginning is carried out in proper order, if the circulation execution pattern is just executing all measurements---alarm all after dates, and again from first measurement---the alarm cycle begins to carry out.Such as for measurement---the alarm conditions shown in the chart 1, control treatment module is first measurement---the alarm cycle earlier, and be 1s perdurability; Carry out second measurement---the alarm cycle then, be 2s perdurability; Carry out the 3rd measurement---the alarm cycle then, be 1s perdurability; Re-execute first measurement then---alarm cycle, so circulation, repeatedly;
If not the circulation execution pattern, just executing last measurement---alarm all after dates and stop to measure.
The following describes the utility model and finish first above-mentioned measurement---the process in alarm cycle, concrete steps are as follows:
Step 1: control treatment module is according to current measurement---the task in alarm cycle, by being connected with the serial communication interface of the single-chip microcomputer of multichannel input access module, the high/low level of each I/O mouth of control single chip computer, thus control is linked into certain road input on which output channel.Such as, as shown in Figure 4, control treatment module sends the steering order of I/O mouth to the single-chip microcomputer of multichannel input access module by serial communication interface, control I/O_1 and I/O_volt output high level, remaining output is low level, at this moment, just the voltage (resistance) of passage 1 has been incorporated into the input end of the voltage (resistance) of multimeter.At this moment, measurement is the input of first passage.
Step 2: measurement module is measured the value of the analog quantity of input, and converts digital signal to; Control treatment module reads this digital signal, obtains measured value.
Step 3: control treatment module judges whether to satisfy alarm conditions according to measured value.And with measurement result with whether report to the police and send to display module, show.
Step 4: if satisfy alarm conditions, control treatment module just connects certain road output of controlling multichannel alarm output module by serial communication and alarms output; If do not satisfy alarm conditions, control treatment module just connects certain road output of controlling multichannel alarm output module by serial communication and closes alarm output.Such as, the alarm conditions of this moment are: when the voltage of passage 1 input during greater than 3V, and passage k outputting alarm---the high level of multichannel alarm output module; If, the voltage of passage 1 input less than, when equaling 3V, the passage k of multichannel alarm output module is outputting alarm---low level not.If the voltage of the passage 1 that record this moment is 4.5V, then according to alarm conditions, should outputting alarm.Control treatment module is by the steering order of serial communication interface to the single-chip microcomputer transmission I/O of multichannel alarm output module mouth, and control I/O_k exports high level, and then the output k of multichannel alarm output module just will export high level, produce alarm signal.
Above embodiment only is used to illustrate the utility model, but not is used to limit the utility model.