CN103176122B - A kind of multi-channel data acquisition unit - Google Patents
A kind of multi-channel data acquisition unit Download PDFInfo
- Publication number
- CN103176122B CN103176122B CN201110431982.6A CN201110431982A CN103176122B CN 103176122 B CN103176122 B CN 103176122B CN 201110431982 A CN201110431982 A CN 201110431982A CN 103176122 B CN103176122 B CN 103176122B
- Authority
- CN
- China
- Prior art keywords
- relay
- control unit
- main control
- data
- switching
- 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.)
- Active
Links
Landscapes
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of multi-channel data acquisition unit, is related to measurement technical field of measurement and test, including main control module, rear panel module, channel card, wherein, the main control module includes a main control unit;The channel card includes one from control unit, one from memory cell and multiple relays;The rear panel module is provided with bus, and main control unit is connected from control unit by bus;The control command from control unit foundation main control unit, corresponding relay is controlled to switch, and record the switching times data of corresponding relay to being added up from memory cell, querying command according to main control unit, the switching times data of the relay each from memory cell are obtained, and are sent to the main control unit.The multi-channel data acquisition unit that the present invention is provided realizes the monitoring of the switching times to each relay, and monitoring result is accurate, reduces the time of investigation problem, has saved cost.
Description
Technical field
The present invention relates to measurement, technical field of measurement and test, more particularly to a kind of multi-channel data acquisition unit.
Background technology
Data acquisition device is a kind of standardized module instrument with bus structures, including main control module, backboard mould
Block and channel card etc., rear panel module are provided with bus, and main control module is connected by bus with channel card, and data acquisition device leads to
Cross the outside measured signal of channel card connection, it is possible to achieve the automatic of the much informations such as electric current, voltage, frequency, cycle, temperature is adopted
Collection.
Multi-channel data acquisition unit refers to the data acquisition device for being integrated with a variety of measurement functions, and it has multiple logical
Road, each passage can access different outside measured signals.It is a kind of knot of multi-channel data acquisition unit 100 with reference to Fig. 1
Structure schematic diagram, the multi-channel data acquisition unit 100 includes main control module 101, rear panel module and channel card 103.
Main control module 101 realizes the control to whole data acquisition device 100, including a main control unit 1011, main
Control unit 1011 is directly connected with the bus 102 on rear panel module.Main control unit 1011 is realized by coordinate path card 103
Switching and collection to being tested external signal.
The slot of installation passage card 103 is provided with rear panel module, different channel cards 103 is may be inserted into, works as channel card
103 insertion slots, are just connected, and then can be connected by bus 102 with main control unit 1011 with bus 102.
Channel card 103 is sets N number of, N >=1, and each channel card is single from control unit 1031, one from storage including one
Member 1033 and multiple relays 1032 or relay matrix.Pass through bus 102 and main control list from control unit 1031
Member 1011 is connected, and the control signal of main control unit 1011 is received from control unit 1031, then controls to realize from memory cell
The storage of information and the switching of relay 1032 in 1033.The combination of multiple relays may be constructed different passages, outside quilt
Surveying signal can access in each passage of channel card 103, and main control unit 1011 from control unit 1031 by controlling each
The opening and closing state of relay, so that the outside measured signal accessed in respective channel is incorporated into data acquisition device
100。
It is above-mentioned outside measured signal is acquired during, it is necessary to be switched over to passage, in channel card 103
Each relay may be required for switching over, it is also possible to which simply part relay is switched over, and is used, can be caused for a long time
A large amount of switchings of each relay.And relay is that with service life, i.e., each relay has a switching times
Threshold value, when the switching times of relay meet or exceed the switching times threshold value, relay may fail.Therefore,
The switching times of relay must be monitored, to judge whether the relay can be continuing with.
In the prior art, Publication No. CN101459014A Chinese patent application discloses a kind of tool life memory function
Relay and its device, it is this have memory life-span function relay have magnet coil, switching switch and and electromagnetic wire
Enclose internal memory in parallel, magnet coil receive first the control signal that preset electronic Setup Controller transmitted produce it is excitatory;In electricity
When magnetic coil is excitatory, switching switch conduction or disconnection switches the switching times of switch described in memory storage.
As can be seen that such scheme is a simple control structure, it can only be monitored for a relay, if
It is applied to this device with multiple relays or relay matrix of multi-channel data acquisition unit, just can only be to each
Some relay of individual channel card is monitored, and such monitoring result is very inaccurate, and with high costs.
Therefore, prior art be not particularly suited for multi-channel data acquisition unit it is this have multiple relays or relay square
The device of battle array.
The content of the invention
In order to solve the above problems, the invention provides a kind of new multi-channel data acquisition unit, it is possible to achieve right
The switching times of each relay are monitored.
The invention provides a kind of multi-channel data acquisition unit, including main control module, rear panel module, channel card, wherein,
The main control module includes a main control unit;
The channel card includes one from control unit, one from memory cell and multiple relays;
The rear panel module is provided with bus, and main control unit is connected from control unit by bus;
It is described from control unit,
According to the control command of main control unit, corresponding relay switching is controlled, and remember to being added up from memory cell
Record the switching times data of corresponding relay;
According to the querying command of main control unit, the switching times number of the relay each from memory cell is obtained
According to, and it is sent to the main control unit.
From the above mentioned, the multi-channel data acquisition unit that the present invention is provided can realize two actions of switching and inquiry.When
When needing to switch over, the main control unit sends control command to from control unit, from control unit according to the control
Order, controls corresponding relay switching, and records the switching times data of corresponding relay to being added up from memory cell,
So as to realize the record of each switching to each relay;When needing to be inquired about, the main control unit is to from control
Unit sends querying command, from control unit according to the querying command, obtains the relay each from memory cell
Switching times data, and the main control unit is sent to, so as to realize the acquisition to the switching times data of each relay.
Therefore, the present invention realizes the monitoring to each relay in the multi-channel data acquisition unit with multiple relays.
As one for example, in multi-channel data acquisition unit of the present invention, the main control unit also exists
When often receiving the switching times data of relay, by the switching times data of each relay received and corresponding relay
Device switching threshold data are compared, and comparative result is shown.Each relay has switching threshold, in each inquiry,
The switching times of the relay received and switching threshold are all compared by main control unit, and show comparative result, are easy to
Positioning.
As one for example, in multi-channel data acquisition unit of the present invention, the main control module also includes
One main memory unit for being connected with the main control unit, main memory unit stores the relay switching threshold data.Institute
Main control unit is stated when receiving the switching times data of relay, corresponding relay is directly transferred from main memory unit
Switching threshold data, and be compared.
As another for example, in multi-channel data acquisition unit of the present invention, the relay switches threshold
Value Data is stored in described from memory cell.In the switching that each relay is sent from control unit to main control unit
, can be while the switching threshold data of sending filter, be easy to main control unit to be compared during number of times data.
As one for example, in multi-channel data acquisition unit of the present invention, the main control unit is having
When the switching times data of relay exceed the switching threshold data of the relay, warning information is produced.The warning information
It can be display alarm or sound alarm, can also be output pulse signal or above-mentioned combination etc..
As another for example, in multi-channel data acquisition unit of the present invention, the main control unit exists
When the switching times data for having relay exceed the switching threshold data of the relay, accuse corresponding with the relay is produced
Alert information, is easy to positioning.The warning information can be display alarm or sound alarm, can also be output pulse
Signal or above-mentioned combination etc..
It is described also to be deposited from memory cell as one for example, in multi-channel data acquisition unit of the present invention
Contain the switching threshold data of each relay;It is described from control unit described in every acquisition from memory cell each relay
Switching times data when, also obtain the switching threshold data of correspondence relay, and the relatively switching times number of the relay
According to switching threshold data, comparative result is sent to main control unit.Understand from the above mentioned, in the channel card from control
Unit realizes the comparison to the switching times data and switching threshold data of relay, and comparative result only is sent into main control
Unit, reduces the workload of main control unit.
As one for example, in multi-channel data acquisition unit of the present invention, the main control unit foundation
There is comparative result of the switching times data beyond the switching threshold data of the relay of relay, produce warning information.Institute
It can be display alarm or sound alarm to state warning information, can also be output pulse signal or above-mentioned
With reference to etc..
As another for example, in multi-channel data acquisition unit of the present invention, the main control unit according to
According to the switching times data for having relay beyond the comparative result of the switching threshold data of the relay, produce and the relay
The corresponding warning information of device, is easy to positioning.The warning information can be display alarm or sound alarm, can be with
It is output pulse signal or above-mentioned combination etc..
As another for example, in multi-channel data acquisition unit of the present invention, the main control unit is also
The switching times data of each relay received are shown.
The multi-channel data acquisition unit that the present invention is provided realizes the monitoring of the switching times to each relay, monitoring
As a result it is accurate, the time of investigation problem is reduced, cost is also saved.
Brief description of the drawings
Fig. 1 is the structural representation of multi-channel data acquisition unit 100;
Fig. 2 is another structural representation of multi-channel data acquisition unit 100;
Fig. 3 is the idiographic flow processing method S300 of multi-channel data acquisition unit explanation figure.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is further detailed explanation.
In the present embodiment, with reference to Fig. 1, multi-channel data acquisition unit 100 of the present invention includes main control module
101st, rear panel module and channel card 103, rear panel module are provided with bus 102, and channel card 103 is N number of, N >=1, channel card 103
Quantity can't produce influence to the present invention, and the present embodiment is illustrated by taking the 1st channel card as an example.
In the present embodiment, main control module 101 includes a main control unit 1011, and channel card 103 includes one
From control unit 1031, one from memory cell 1033 and multiple relays 1032, main control unit 1011 can pass through bus
102 are connected with from control unit 1031.The quantity of relay 1032 is different with different channel cards 103, can't be right
The present invention produces influence.
In the present embodiment, main control unit 1011 realizes the switching to being tested external signal by coordinate path card 103
And collection, different channel cards 103 can be selected, the different passages in same channel card 103 can also be selected.It is specific next
Say, main control unit 1011 can by bus 102 to from control unit 1031 send control command, control relay 1032
Switching;Can also be by bus 102 to from the transmission querying command of control unit 1031, inquiry is had stored in from memory cell
Relay switching times data in 1033.
In the present embodiment, the control command from control unit 1031 then according to main control unit 1011, is controlled corresponding
Relay 1032 switches, and records corresponding relay switching times data to being added up from memory cell 1033;And according to master
The querying command of control unit 1011, obtains described from the relay switching times data in memory cell 1033, and be sent to
The main control unit 1011, realizes the monitoring to relay 1032.
As one for example, the main control unit 1011 is when receiving relay switching times data, will also
The each relay switching times data received are compared with corresponding relay switching threshold data, and comparative result is shown
Show.
As one kind deformation, with reference to Fig. 2 is referred to, the main control module 101 also connects including one with main control unit 1011
The main memory unit 1012 connect, main memory unit 1012 is stored with the relay switching threshold data, can be directly described
Main control unit 1011 is called.
As another deformation, the relay switching threshold data storage described from memory cell 1033, in institute
When stating from control unit 1031 to 1011 sending filter switching times data of main control unit, it can cut sending filter simultaneously
Threshold data is changed to main control unit 1011, the main control unit 1011 receives switching times data and switching threshold data
After be compared.
As another for example, the relay switching threshold data storage described from memory cell 1033,
It is described from control unit 1031 when obtaining each relay switching times data from memory cell 1033, also obtain
Corresponding relay switching threshold data, and be compared, comparative result is transmitted directly to main control unit 1011.So,
Acquisition data are completed from control unit 1031 and the step such as compare, and main control unit 1011 is only needed to receive data and shown,
Reduce the workload of main control unit 1011.
As one for example, either main control unit 1011 is to the switching times data of relay 1032 and switching
Threshold data is compared, or the switching times data and switching threshold data of relay 1032 are entered from control unit 1031
Row compares, and the main control unit 1011 will all get comparative result, have relay switching times data beyond it is described after
During electrical equipment switching threshold data, the main control unit 1011 produces warning information, and the warning information can be display alarm,
Can also be sound alarm or output pulse signal or above-mentioned combination etc..
It is described when there is relay switching times data to exceed the relay switching threshold data as one kind deformation
The warning information that main control unit 1011 is produced is warning information corresponding with the relay, and the warning information can be aobvious
The display alarm for being shown with relay position or the sound alarm for pointing out relay position or output pulse letter
Number or above-mentioned combination etc..
Certainly, when there is relay switching times data to exceed the relay switching threshold data, the main control list
Member 1011 produce warning information can also be the warning information for occurring without relay position, it is necessary to user check manually after
The data such as the switching times or comparative result of electrical equipment, to carry out the position for judging relay.
As one for example, with reference to Fig. 3 is referred to, present invention also offers a kind of multi-channel data acquisition unit 100
Idiographic flow processing method S300, comprise the following steps:
Step S301:The multi-channel data acquisition unit 100 enters switching relay or inquires about the work shape of relay
State, when can be automatic data collection information automatically into, can be user be manually entered or startup self-detection enter
Deng.
Step S302:Selector channel card 103, it is described to need main control unit due to the possible more than one of channel card 103
1011 select a channel card 103 as interactive object first, make so that control command or querying command are sent to by determination
In the channel card 103 that user needs.
Step S303:After selection completes channel card 103, main control unit 1011 is sent command word by bus 102
To from control unit 1031, the command word is all that the internal custom of multi-channel data acquisition unit 100 is good, such as 0x01 tables
Show control and 0x10 represents inquiry etc., can also be defined according to standard agreement, main control unit 1011 and from control unit
Communicated between 1031 according to the command word defined.
Step S304:In channel card 103 order that main control unit 1011 is sent is received from control unit 1031
After word, the mode for being first according to define is parsed, and obtains the function to be realized of the command word.
Step S305:It is control command or querying command to judge the command word, if control command, then enters step
Rapid S3061;If querying command, then into step S3071.
Step S3061:Due to being control command, it is necessary to enter the switching of row of channels, so firstly the need of positioning relay
Which relay in 1032 needs switching.
Step S3062:After the relay that needs of having good positioning switch, to the relay in the way of control command needs
The state opened or closed is set.
Step S3063:After completion once opens or closes operation, corresponding relay is existed from control unit 1031
Jia 1 from the switching times progress in memory cell 1033 to operate, that is, adding up records the switching times data of each relay.
Step S3064:The switching times data after renewal are deposited into each relay again corresponding from memory cell
Correspondence position in 1033, is used for follow-up switching or reading.
Step S3065:Judge whether to complete institute's relay switching action in need, if it is, into step
S308;If it is not, then return to step S3061 continues to switch.
Besides step S3071:Due to being querying command, from control unit 1031 by all insertion rear panel module slots
The switching times data of each relay 1032 of channel card 103 from memory cell 1033 by reading out;Certainly also may be used
With selected section channel card 103, the switching times data of the relay 1032 in channel card 103 during only reading is selected.
Step S3072:Pass through bus 102 from control unit 1031 by the switching times data of the relay 1032 read
It is sent to main control unit 1011.
Step S3073:Main control unit 1011 cuts the relay switching times data received with corresponding relay
Threshold data is changed to be compared.
Step S3074:Judge whether the switching times of each relay exceed switching threshold, if going out beyond situation
It is existing, then into step S3075;If without departing from being directly entered step S3076.
Step S3075:Because the relay has reached operating limit, the positional information of the relay is passed through into ejection
Prompt is alerted to user, is easy to user to be positioned, then also enters step S3076.
Step S3076:Show all relay switching times data that the main control unit 1011 is received, Ke Yirang
User understands the service condition of current relay, subsequently into step S308.
Step S308:Once complete switching control operation or inquiry operation are completed, and flow terminates.
From the foregoing it can be seen that embodiments of the invention solve described in background technology to multiple relays
The problem of being monitored there is provided it is a kind of can be to the multi-channel data acquisition unit with multiple relays or relay matrix
The scheme that is monitored of each relay, monitoring result is accurate, reduces the time of investigation problem, also saves cost.
Above-described is only the specific embodiment of the present invention, and the explanation that should be understood that above example is to use
Understand the method and its core concept of the present invention in help, the protection domain being not intended to limit the present invention is all the present invention's
Any modification for being made within thought and principle, equivalent substitution etc., should be included in the scope of the protection.
Claims (6)
1. a kind of multi-channel data acquisition unit, including main control module, rear panel module, channel card, wherein,
The main control module includes a main control unit;
The channel card includes one from control unit, one from memory cell and multiple relays;
The rear panel module is provided with bus, and main control unit is connected from control unit by bus;
It is characterized in that:
It is described from control unit,
According to the control command of main control unit, the switching of corresponding relay is controlled, and to the record pair that added up from memory cell
The switching times data for the relay answered;
According to the querying command of main control unit, the switching times data of the relay each from memory cell are obtained, and
It is sent to the main control unit;
The switching threshold data of each relay that is stored with from memory cell;It is described from control unit described in every acquisition from
In memory cell during the switching times data of each relay, the switching threshold data of correspondence relay are also obtained, and compare institute
The switching times data and switching threshold data of relay are stated, comparative result is sent to main control unit;
Or, the main control module also includes a main memory unit being connected with the main control unit, stores the relay
Device switching threshold data, the main control unit is every by what is received also when often receiving the switching times data of relay
The switching times data of individual relay are compared with corresponding relay switching threshold data, and comparative result is shown.
2. multi-channel data acquisition unit according to claim 1, it is characterised in that:
The main control unit, when the switching times data for having relay exceed the switching threshold data of the relay, production
Raw warning information.
3. multi-channel data acquisition unit according to claim 2, it is characterised in that:
The main control unit, when the switching times data for having relay exceed the switching threshold data of the relay, production
Raw warning information corresponding with the relay.
4. multi-channel data acquisition unit according to claim 1, it is characterised in that:
The main control unit, the ratio of the switching threshold data of the relay is exceeded according to the switching times data for having relay
Relatively result, produces warning information.
5. multi-channel data acquisition unit according to claim 4, it is characterised in that:
The main control unit, the ratio of the switching threshold data of the relay is exceeded according to the switching times data for having relay
Relatively result, produces warning information corresponding with the relay.
6. the multi-channel data acquisition unit according to claim 3 or 5, it is characterised in that:
The main control unit is also shown the switching times data of each relay received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110431982.6A CN103176122B (en) | 2011-12-21 | 2011-12-21 | A kind of multi-channel data acquisition unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110431982.6A CN103176122B (en) | 2011-12-21 | 2011-12-21 | A kind of multi-channel data acquisition unit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103176122A CN103176122A (en) | 2013-06-26 |
CN103176122B true CN103176122B (en) | 2017-10-24 |
Family
ID=48636109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110431982.6A Active CN103176122B (en) | 2011-12-21 | 2011-12-21 | A kind of multi-channel data acquisition unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103176122B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104777353A (en) * | 2015-03-27 | 2015-07-15 | 桂林理工大学 | Multichannel low-current collection method and system based on single chip microcomputer control |
CN106154955B (en) * | 2016-08-26 | 2018-08-28 | 苏州盖恩茨电子科技有限公司 | A kind of two-way filtering temperature control detection switching signal collector |
CN106841982B (en) * | 2017-01-11 | 2018-05-22 | 中国船舶重工集团公司第七〇九研究所 | A kind of total timing accuracy measuring device of integrated circuit test system and method |
CN110703083A (en) * | 2019-11-05 | 2020-01-17 | 中电科仪器仪表有限公司 | Switch module switch life monitoring and recording method and system |
CN113960465B (en) * | 2021-09-29 | 2023-01-17 | 北汽福田汽车股份有限公司 | Relay detection method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459014A (en) * | 2007-12-12 | 2009-06-17 | 四零四科技股份有限公司 | Electric relay having life memory function and apparatus thereof |
CN101566671A (en) * | 2009-06-01 | 2009-10-28 | 北京交通大学 | Comprehensive relay test stand for simulating operating environments of railways and subways |
CN102109539A (en) * | 2009-12-25 | 2011-06-29 | 北京普源精电科技有限公司 | Data processing method of multichannel data acquisition device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6295190B1 (en) * | 1999-10-26 | 2001-09-25 | Electric Boat Corporation | Circuit breaker arrangement with integrated protection, control and monitoring |
CN101344575A (en) * | 2008-08-20 | 2009-01-14 | 哈尔滨工业大学 | Relay reliability service life experiment system based on dynamic characteristic |
-
2011
- 2011-12-21 CN CN201110431982.6A patent/CN103176122B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459014A (en) * | 2007-12-12 | 2009-06-17 | 四零四科技股份有限公司 | Electric relay having life memory function and apparatus thereof |
CN101566671A (en) * | 2009-06-01 | 2009-10-28 | 北京交通大学 | Comprehensive relay test stand for simulating operating environments of railways and subways |
CN102109539A (en) * | 2009-12-25 | 2011-06-29 | 北京普源精电科技有限公司 | Data processing method of multichannel data acquisition device |
Also Published As
Publication number | Publication date |
---|---|
CN103176122A (en) | 2013-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103176122B (en) | A kind of multi-channel data acquisition unit | |
CN203241534U (en) | A TR assembly automatic testing system | |
CN202600108U (en) | Testing system for printed circuit board | |
CN101819260A (en) | Method and system for controlling power supply test and power supply test method | |
CN109373511A (en) | A kind of air-conditioning failure voice broadcasting method, device and air conditioner | |
CN103747405B (en) | Loudspeaker reliability test device | |
CN203851294U (en) | Device for testing reliability of loudspeaker | |
CN205880146U (en) | General automatic test platform | |
CN107271944B (en) | Full-automatic wiring device of program-controlled current transformer | |
CN103809051B (en) | The detection method of switch matrix, Auto-Test System and switch matrix therein | |
CN203191521U (en) | Device for testing dynamic characteristics of breaker | |
CN111025046B (en) | Test system, method for controlling matrix switch and storage medium | |
CN103926497A (en) | Test apparatus and method for touch screen module, and touch screen module | |
CN112114224A (en) | Automatic test system of device to be tested | |
CN109870834B (en) | Liquid crystal glass power-up detection system | |
KR101957660B1 (en) | Multi-channel oscilloscopes with trigger setup mode for each channel and control method thereof | |
CN116224871A (en) | Vehicle data acquisition and processing device | |
CN107703440B (en) | Automatic test circuit of power converter | |
CN114137411A (en) | Multifunctional relay action reliability test platform | |
CN214098410U (en) | Paperless recorder | |
CN112820345A (en) | Memory card compatibility testing method and system | |
CN106771563A (en) | Board power testing method, apparatus and system | |
CN102855204B (en) | A kind of access control method and system and master control borad | |
CN202930927U (en) | Protective relaying device | |
CN217181145U (en) | Multifunctional relay action reliability test platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |