AI device and system

文档序号:850177 发布日期:2021-03-16 浏览:15次 中文

阅读说明:本技术 一种ai装置及系统 (AI device and system ) 是由 周鼎 白成林 张玉波 李宾 于 2020-12-15 设计创作,主要内容包括:本发明公开了一种AI装置。该方案中,AI装置包括采样电阻、第一电压采集模块及第二电压采集模块。当智能变送器输出电流信号时,第一电压采集模块采集采样电阻两端的第一电压信号;当智能变送器输出电压信号时,第二电压采集智能变送器输出的第二电压信号。可见,无论智能变送器输出的信号为电流信号还是电压信号,不需更换AI装置就能够进行采集,灵活性高且成本低。本发明还公开了一种AI系统,具有与上述AI装置相同的有益效果。(The invention discloses an AI device. In the scheme, the AI device comprises a sampling resistor, a first voltage acquisition module and a second voltage acquisition module. When the intelligent transmitter outputs a current signal, the first voltage acquisition module acquires first voltage signals at two ends of the sampling resistor; when the intelligent transmitter outputs a voltage signal, the second voltage collects a second voltage signal output by the intelligent transmitter. Therefore, no matter the signal output by the intelligent transmitter is a current signal or a voltage signal, the signal can be acquired without replacing an AI device, and the intelligent transmitter has high flexibility and low cost. The invention also discloses an AI system which has the same beneficial effects as the AI device.)

1. An AI device, comprising:

the first voltage acquisition module is used for acquiring first voltage signals at two ends of the sampling resistor when the intelligent transmitter outputs current signals;

the sampling resistor is connected between the first input end and the second input end of the first voltage acquisition module in parallel;

the first input end is connected with the first output end of the intelligent transmitter, the second input end is connected with the second voltage acquisition module connected with the second output end of the intelligent transmitter, and the second voltage acquisition module is used for acquiring the second voltage signal output by the intelligent transmitter when the intelligent transmitter outputs the voltage signal.

2. The AI device of claim 1, wherein the first voltage acquisition module includes:

the switch is used for being closed when a closing instruction sent by the processor is received and being disconnected when a disconnecting instruction sent by the processor is received;

the first differential operational amplifier is used for acquiring first voltage signals at two ends of the sampling resistor.

The AI device further includes:

the processor is connected with the intelligent transmitter and used for sending the closing instruction to the switch when the intelligent transmitter outputs a current signal; and when the intelligent transmitter outputs a voltage signal, sending the disconnection instruction to the switch.

3. The AI device of claim 2, wherein the processor is further configured to send the close command to the switch upon receiving a current collection command and send the open command to the switch upon receiving a voltage collection command;

the current acquisition instruction is an instruction sent by an upper computer when the intelligent transmitter outputs a current signal, and the voltage acquisition instruction is an instruction sent by the upper computer when the intelligent transmitter outputs a voltage signal.

4. The AI device of claim 2, wherein the switch is an optical relay.

5. The AI device of claim 1, further comprising:

the first filtering module is arranged at the input end of the first voltage acquisition module;

and the second filtering module is arranged at the input end of the second voltage acquisition module.

6. The AI device of claim 5, wherein the first and second filtering modules are both Radio Frequency Interference (RFI) filter circuits.

7. The AI device of claim 1, wherein the second voltage acquisition module is a second differential operational amplifier.

8. The AI device of any of claims 1-7, further comprising:

the signal path switching module is connected with the first voltage acquisition module and the second voltage acquisition module at the input end and is connected with the processor at the output end, and is used for controlling the first voltage signal to be transmitted to the processor when receiving the first control instruction; controlling the second voltage signal to be transmitted to the processor when the second control instruction is received;

the processor is also used for sending a first control instruction to the signal path switching module when the intelligent transmitter outputs a current signal; and when the intelligent transmitter outputs a voltage signal, sending a second control instruction to the signal path switching module.

9. The AI device of claim 8, wherein the signal path switching module includes:

the single-pole double-throw switch is used for controlling the movable end to be connected with the first immovable end when receiving the first control instruction so as to transmit the first voltage signal to the processor; and when the second control instruction is received, the movable end is controlled to be connected with the second fixed end, so that the second voltage signal is transmitted to the processor.

10. An AI system, comprising the AI device of any of claims 1 through 9, further comprising:

the upper computer is connected with the intelligent transmitter and the processor and used for sending a current acquisition instruction to the processor when the intelligent transmitter outputs a current signal and sending a voltage acquisition instruction to the processor when the intelligent transmitter outputs a voltage signal.

Technical Field

The invention relates to the field of control systems and signal acquisition, in particular to an AI device and an AI system.

Background

In a DCS (Distributed control System) field application, an AI (Analog Input) device is generally used to collect and process Analog signals output by an intelligent transmitter.

In the prior art, the AI device has only a single function, that is, only acquires a current signal or only acquires a voltage signal, and the AI device can only be replaced when another signal is to be acquired, and specifically, the AI device corresponding to the AI device is switched to acquire the current signal or the voltage signal by designing a short-circuit jumper on an AI line.

In this way, a single AI device cannot acquire both current and voltage signals, and is not flexible enough; when the voltage signal and the current signal need to be acquired simultaneously, two AI devices need to be arranged, so that the cost is increased; and the resistance on the short jumper wire can influence the precision of the acquired signal.

Disclosure of Invention

The invention aims to provide an AI device and an AI system, which can acquire signals without replacing the AI device no matter the signals output by an intelligent transmitter are current signals or voltage signals, and have high flexibility and low cost.

To solve the above technical problem, the present invention provides an AI apparatus, comprising:

the first voltage acquisition module is used for acquiring first voltage signals at two ends of the sampling resistor when the intelligent transmitter outputs current signals;

the sampling resistor is connected between the first input end and the second input end of the first voltage acquisition module in parallel;

the first input end is connected with the first output end of the intelligent transmitter, the second input end is connected with the second voltage acquisition module connected with the second output end of the intelligent transmitter, and the second voltage acquisition module is used for acquiring the second voltage signal output by the intelligent transmitter when the intelligent transmitter outputs the voltage signal.

Preferably, the first voltage collecting module includes:

the switch is used for being closed when a closing instruction sent by the processor is received and being disconnected when a disconnecting instruction sent by the processor is received;

the first differential operational amplifier is used for acquiring first voltage signals at two ends of the sampling resistor.

The AI device further includes:

the processor is connected with the intelligent transmitter and used for sending the closing instruction to the switch when the intelligent transmitter outputs a current signal; and when the intelligent transmitter outputs a voltage signal, sending the disconnection instruction to the switch.

Preferably, the processor is further configured to send the close command to the switch when receiving a current collection command, and send the open command to the switch when receiving a voltage collection command;

the current acquisition instruction is an instruction sent by an upper computer when the intelligent transmitter outputs a current signal, and the voltage acquisition instruction is an instruction sent by the upper computer when the intelligent transmitter outputs a voltage signal.

Preferably, the switch is an optical relay.

Preferably, the method further comprises the following steps:

the first filtering module is arranged at the input end of the first voltage acquisition module;

and the second filtering module is arranged at the input end of the second voltage acquisition module.

Preferably, the first filtering module and the second filtering module are both Radio Frequency Interference (RFI) filtering circuits.

Preferably, the second voltage acquisition module is a second differential operational amplifier.

Preferably, the method further comprises the following steps:

the signal path switching module is connected with the first voltage acquisition module and the second voltage acquisition module at the input end and is connected with the processor at the output end, and is used for controlling the first voltage signal to be transmitted to the processor when receiving the first control instruction; controlling the second voltage signal to be transmitted to the processor when the second control instruction is received;

the processor is also used for sending a first control instruction to the signal path switching module when the intelligent transmitter outputs a current signal; and when the intelligent transmitter outputs a voltage signal, sending a second control instruction to the signal path switching module.

Preferably, the signal path switching module includes:

the single-pole double-throw switch is used for controlling the movable end to be connected with the first immovable end when receiving the first control instruction so as to transmit the first voltage signal to the processor; and when the second control instruction is received, the movable end is controlled to be connected with the second fixed end, so that the second voltage signal is transmitted to the processor.

In order to solve the above technical problem, the present invention further provides an AI system, including the AI device as described above, further including:

the upper computer is connected with the intelligent transmitter and the processor and used for sending a current acquisition instruction to the processor when the intelligent transmitter outputs a current signal and sending a voltage acquisition instruction to the processor when the intelligent transmitter outputs a voltage signal.

The invention provides an AI device. In the scheme, the AI device comprises a sampling resistor, a first voltage acquisition module and a second voltage acquisition module. When the intelligent transmitter outputs a current signal, the first voltage acquisition module acquires first voltage signals at two ends of the sampling resistor; when the intelligent transmitter outputs a voltage signal, the second voltage collects a second voltage signal output by the intelligent transmitter. Therefore, no matter the signal output by the intelligent transmitter is a current signal or a voltage signal, the signal can be acquired without replacing an AI device, and the intelligent transmitter has high flexibility and low cost.

The invention also provides an AI system which has the same beneficial effects as the AI device.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.

FIG. 1 is a schematic structural diagram of an AI device according to the present invention;

FIG. 2 is a schematic structural diagram of another AI device according to the present invention;

fig. 3 is a schematic structural diagram of an AI system according to the present invention.

Detailed Description

The core of the invention is to provide an AI device and system, no matter the signal output by the intelligent transmitter is a current signal or a voltage signal, the AI device can be collected without being replaced, the flexibility is high, and the cost is low.

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1, fig. 1 is a schematic structural diagram of an AI device according to the present invention.

The device includes:

the first input end of the intelligent transmitter is connected with the first output end of the intelligent transmitter, the second input end of the intelligent transmitter and the second output end of the intelligent transmitter are connected with the first voltage acquisition module 1 of the processor 4, and the first voltage acquisition module is used for acquiring first voltage signals at two ends of the sampling resistor R1 when the intelligent transmitter outputs current signals;

the sampling resistor R1 is connected in parallel between the first input end and the second input end of the first voltage acquisition module 1;

the first input end is connected with the first output end of the intelligent transmitter, and the second input end is connected with the second voltage acquisition module 2 of the processor 4 with the second output end of the intelligent transmitter, and the second voltage acquisition module is used for acquiring a second voltage signal output by the intelligent transmitter when the intelligent transmitter outputs the voltage signal.

The applicant considers that the AI devices in the prior art have only a single function, namely only current signals or only voltage signals are collected, and only the AI devices can be replaced when another signal is collected, and particularly, the current signals or the voltage signals are collected by switching the corresponding AI devices by adding a short-circuit jumper on an AI line. In this way, a single AI device cannot acquire both current and voltage signals, and is not flexible enough; when the voltage signal and the current signal need to be acquired simultaneously, two AI devices need to be arranged, so that the cost is increased; and the resistance on the short jumper wire can influence the precision of the acquired signal.

In the present embodiment, an AI apparatus including a first voltage acquisition module 1, a sampling resistor R1, and a second voltage acquisition module 2 is provided. Specifically, when the intelligent transmitter outputs a current signal, the first voltage acquisition module 1 acquires a first voltage signal at two ends of the sampling resistor R1; when the intelligent transmitter outputs a voltage signal, the second voltage acquisition module 2 acquires a second voltage signal output by the intelligent transmitter.

It should be noted that, the first voltage collection module 1 and the second voltage collection module 2 are both differential operational amplifiers, and of course, the first voltage collection module 1 and the second voltage collection module 2 are not limited to differential operational amplifiers, and the application is not limited thereto.

In conclusion, no matter the signal that intelligent changer output is current signal or voltage signal, need not change the AI device and just can gather, the flexibility is high and with low costs.

Referring to fig. 2, fig. 2 is a schematic structural diagram of another AI device provided in the present invention.

On the basis of the above-described embodiment:

as a preferred embodiment, the first voltage acquisition module 1 includes:

the switch 11 is used for being closed when a closing instruction sent by the processor 4 is received and being disconnected when a disconnecting instruction sent by the processor 4 is received;

the first differential operational amplifier 12 is configured to collect a first voltage signal across the sampling resistor R1.

The AI device further includes:

the processor 4 is connected with the intelligent transmitter and used for sending a closing instruction to the switch 11 when the intelligent transmitter outputs a current signal; when the intelligent transmitter outputs a voltage signal, a switch-off command is sent to the switch 11.

In the present embodiment, a specific structure of the first voltage acquisition module 1 is proposed, which includes a switch 11, a first differential operational amplifier 12, and a processor 4. Specifically, when the intelligent transmitter outputs a current signal, the processor 4 sends a closing instruction to the switch 11, at this time, the switch 11 is closed, and the first differential operational amplifier 12 collects a first voltage signal at two ends of the sampling resistor R1; when the intelligent transmitter outputs a voltage signal, the processor 4 sends a disconnection instruction to the switch 11, the switch 11 is disconnected at the moment, and the second voltage acquisition module 2 acquires a second voltage signal output by the intelligent transmitter.

It should be noted that the second voltage acquisition module 2 is usually a differential operational amplifier with a large internal resistance, and the current at the output end of the intelligent transmitter hardly flows to the circuit where the second voltage acquisition module 2 is located.

The switch 11 is usually an optical relay, but the switch 11 is not limited to the optical relay, and the present application is not limited thereto.

As a preferred embodiment, the processor 4 is further configured to send a closing instruction to the switch 11 when receiving the current collection instruction, and send an opening instruction to the switch 11 when receiving the voltage collection instruction;

the current acquisition instruction is an instruction sent by the upper computer when the intelligent transmitter outputs a current signal, and the voltage acquisition instruction is an instruction sent by the upper computer when the intelligent transmitter outputs a voltage signal.

In this embodiment, the processor 4 generally controls the switch 11 to be opened or closed based on an instruction sent by the upper computer, and then controls the first voltage acquisition module 1 to acquire the first voltage signal at the two ends of the sampling resistor R1, or controls the second voltage acquisition module 2 to acquire the second voltage signal output by the intelligent transmitter.

It should be noted that, in practical applications, the type of the signal output by the intelligent transmitter is usually obtained manually, and the signal output by the intelligent transmitter is input to the upper computer manually and is a voltage signal or a current signal. When the signal input into the upper computer and output by the intelligent transmitter is a current signal, the upper computer sends a current acquisition instruction to the processor 4; when the signal input into the upper computer and output by the intelligent transmitter is a voltage signal, the upper computer sends a voltage acquisition instruction to the processor 4.

Of course, the type of the output signal of the intelligent transmitter sent to the upper computer is not limited to manual mode, and the application is not limited thereto.

As a preferred embodiment, the switch 11 is an optical relay.

In consideration of the fact that the optical relay is driven by an optical signal, has high isolation and a long life, in the present embodiment, the optical relay is selected as the switch 11.

Of course, the switch 11 is not limited to the photo relay, and the specific configuration of the switch 11 is not particularly limited in this application.

As a preferred embodiment, the method further comprises the following steps:

the first filtering module is arranged at the input end of the first voltage acquisition module 1;

and the second filtering module is arranged at the input end of the second voltage acquisition module 2.

In order to make the acquired voltage signal or current signal more accurate, in this embodiment, a first filtering module is disposed at an input end of the first voltage acquisition module 1, and a second filtering module is disposed at an input end of the second voltage acquisition module 2. The effect of making the collected voltage signal or current signal more accurate can be achieved.

As a preferred embodiment, the first filtering module and the second filtering module are both RFI (Radio Frequency Interference) filtering circuits.

In this embodiment, the first filtering module and the second filtering module are both RFI filtering circuits.

Of course, the first filtering module and/or the second filtering module are not limited to RFI filtering circuits, and the application is not limited thereto.

In a preferred embodiment, the second voltage acquisition module 2 is a second differential operational amplifier.

In this embodiment, the second voltage acquisition module 2 is a second differential operational amplifier, which generally has a relatively large internal resistance, and the current at the output end of the intelligent transmitter hardly flows to the circuit where the second voltage acquisition module 2 is located.

Of course, the second voltage collecting module 2 is not limited to the second differential operational amplifier, and the application is not limited thereto.

As a preferred embodiment, the method further comprises the following steps:

the signal path switching module 3 is connected with the first voltage acquisition module 1 and the second voltage acquisition module 2 at the input end and the processor 4 at the output end, and is used for controlling the first voltage signal to be transmitted to the processor 4 when receiving a first control instruction; when receiving a second control instruction, controlling the second voltage signal to be transmitted to the processor 4;

the processor 4 is also used for sending a first control instruction to the signal path switching module 3 when the intelligent transmitter outputs a current signal; and when the intelligent transmitter outputs a voltage signal, sending a second control instruction to the signal path switching module 3.

In the present embodiment, a signal path switching module 3 is added. Specifically, when the intelligent transmitter outputs a current signal, the processor 4 sends a first control instruction to the signal path switching module 3, and the signal path switching module 3 controls a first voltage signal to be transmitted to the processor 4 when receiving the first control instruction; when the intelligent transmitter outputs a voltage signal, the processor 4 sends a second control instruction to the signal path switching module 3, and the signal path switching module 3 controls the second voltage signal to be transmitted to the processor 4 when receiving the second control instruction.

It should be noted that, since the internal processor 4 of the AI device can only process the digital quantity signal, the AI module usually further includes an analog-to-digital converter, which is specifically configured to convert the first voltage signal acquired by the first acquisition module or the second voltage signal acquired by the second acquisition module into a digital quantity.

As a preferred embodiment, the signal path switching module 3 includes:

the single-pole double-throw switch 11 is used for controlling the brake end to be connected with the first immovable end when receiving a first control instruction so as to transmit a first voltage signal to the processor 4; when receiving the second control instruction, the braking terminal is connected with the second fixed terminal, so that the second voltage signal is transmitted to the processor 4.

In the present embodiment, a specific structure of the signal path switching module 3 is provided. Specifically, the signal path switching module 3 includes a single-pole double-throw switch 11, and when the single-pole double-throw switch 11 receives a first control instruction, the braking end is connected with the first stationary end, so that the first voltage signal is transmitted to the processor 4; when the single-pole double-throw switch 11 receives the second control command, the control end is connected with the second fixed end, so that the second voltage signal is transmitted to the processor 4.

Of course, the structure of the signal path switching module 3 is not limited to this mode, and the present application is not limited thereto.

Referring to fig. 3, fig. 3 is a schematic structural diagram of an AI system according to the present invention.

The present invention also provides an AI system, including the AI apparatus as described above, further including:

and the upper computer 5 is connected with the intelligent transmitter and the processor 4 and is used for sending a current acquisition instruction to the processor 4 when the intelligent transmitter outputs a current signal and sending a voltage acquisition instruction to the processor 4 when the intelligent transmitter outputs a voltage signal.

For the introduction of the AI system provided by the present invention, please refer to the above embodiments of the present invention, which are not repeated herein.

It is to be noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种多功能数显式测电笔电路及其装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!