Intelligent current sensor and current collection method based on intelligent current sensor

文档序号:613571 发布日期:2021-05-07 浏览:9次 中文

阅读说明:本技术 智能电流传感器、基于智能电流传感器的电流采集方法 (Intelligent current sensor and current collection method based on intelligent current sensor ) 是由 张明帅 周卫成 梁彦锋 左君成 冯建 欧阳家俊 袁兴武 刘瑛子 于 2019-11-06 设计创作,主要内容包括:本发明公开了一种智能电流传感器,包括:至少一个电流采集器,其环绕在电流采集点处的线路上,用于采集该点处的直流或交流电流;模数转换器,其与各电流采集器连接,用于将当前接收到的直流电流信号或交流电流信号进行模数转换;第一处理器,其与模数转换器连接,用于将从各电流采集器处获得的直流电流数据或交流电流数据进行采集器位置标记处理后打包,得到相应的电流输出信息,在利用预设的传感器通讯地址使得当前第一处理器与外部第二处理器通讯连接后,将电流输出信息传输至第二处理器中。本发明传感器结构小巧、接线拓扑简单、抗干扰能力强,便于分布式应用。(The invention discloses an intelligent current sensor, comprising: the current collector surrounds a line at a current collection point and is used for collecting direct current or alternating current at the point; the analog-to-digital converter is connected with each current collector and is used for performing analog-to-digital conversion on the currently received direct current signal or alternating current signal; and the first processor is connected with the analog-to-digital converter and used for marking the positions of the collectors on the direct current data or the alternating current data obtained from each current collector and packaging the direct current data or the alternating current data to obtain corresponding current output information, and the current output information is transmitted to the second processor after the first processor is in communication connection with the external second processor by using a preset sensor communication address. The sensor has the advantages of small and exquisite structure, simple wiring topology, strong anti-interference capability and convenient distributed application.)

1. An intelligent current sensor, comprising:

the current collector surrounds a line at a current collection point and is used for collecting direct current or alternating current at the point;

the analog-to-digital converter is connected with each current collector and is used for performing analog-to-digital conversion on the currently received direct current signal or alternating current signal;

and the first processor is connected with the analog-to-digital converter and used for marking the positions of the collectors on the direct current data or the alternating current data obtained from each current collector and packaging the direct current data or the alternating current data to obtain corresponding current output information, and after the first processor is in communication connection with an external second processor by using a preset sensor communication address, the current output information is transmitted to the second processor.

2. The intelligent current sensor according to claim 1, wherein the intelligent current sensor is connected to other of the intelligent current sensor and/or the second processor, wherein,

the second processor is configured to communicate with the cascaded plurality of intelligent current sensors by using the sensor communication address corresponding to each of the intelligent current sensors, and collect the current output information of the plurality of intelligent current sensors.

3. The intelligent current sensor of claim 2, wherein the first processor comprises:

the first communication unit is used for outputting the current output information generated by the current sensor through the first communication unit after receiving a current acquisition instruction which is in line with the communication address of the sensor per se, and outputting the current acquisition instruction through the second communication unit after receiving the current acquisition instruction which is not in line with the communication address of the sensor per se;

the second communication unit.

4. The intelligent current sensor of claim 3,

and the second communication unit is used for outputting the current output information through the first communication unit after receiving the current output information which is not in accordance with the communication address of the sensor.

5. The intelligent current sensor according to claim 3 or 4, further comprising: and the first communication interface and the second communication interface are correspondingly connected with the first communication unit and the second communication unit respectively, wherein the first communication interface of the intelligent current sensor is connected with the second communication interfaces in other intelligent current sensors or connected with the second processor through sensor transmission cables.

6. The smart current sensor as claimed in any one of claims 1 to 5, further comprising:

the dial switch is used for setting the sensor communication address corresponding to the current intelligent current sensor;

and the indicating lamp is used for prompting whether the current intelligent current sensor is in a communication connection state with the second processor or not.

7. The intelligent current sensor according to any one of claims 1-5, wherein the current collector comprises: the device comprises an acquisition device and an operational amplifier conditioning circuit connected with the acquisition device, wherein the acquisition device adopts a current transformer or a Hall current sensor.

8. An intelligent current sensor-based current collection method, which is characterized in that the method applies the intelligent current sensor according to any one of claims 1-7 to collect current at each current collection point, and the current collection method comprises the following steps:

step one, a current collector collects direct current or alternating current at a current collection point;

secondly, performing analog-to-digital conversion on the currently received direct current signal or alternating current signal by an analog-to-digital converter;

and thirdly, the first processor marks the positions of the collectors on the obtained direct current data or alternating current data from each current collector and packages the direct current data or the alternating current data to obtain corresponding current output information, and transmits the current output information to an external second processor after the first processor is in communication connection with the external second processor by using a preset sensor communication address.

9. The method of claim 8, further comprising:

the second processor communicates with the plurality of cascaded intelligent current sensors by using the sensor communication address corresponding to each intelligent current sensor, and collects the current output information of the plurality of intelligent current sensors.

10. The method of claim 9, further comprising:

the first communication unit in the first processor outputs the current output information generated by the current sensor through the first communication unit after receiving a current acquisition instruction which is in line with the communication address of the sensor, and outputs the current acquisition instruction through the second communication unit in the first processor after receiving the current acquisition instruction which is not in line with the communication address of the sensor.

Technical Field

The invention relates to the technical field of current collection, in particular to an intelligent current sensor and a current collection method based on the intelligent current sensor.

Background

The rail transit vehicle low-voltage distribution system is used as an important component of a train safety system and is mainly completed by a vehicle power distribution cabinet. At present, a power distribution cabinet mainly comprises basic devices such as a relay, a contactor and a miniature circuit breaker, and the intelligent level is low. Along with the development of the technology, the safety control of the train is gradually developed from human control to machine control, and the vehicle urgently needs an intelligent auxiliary diagnosis system for monitoring the working state of a power distribution circuit, effectively early warning and analyzing faults and improving the safety and reliability of train operation.

Data acquisition is used as the most basic functional unit of the auxiliary diagnosis system, and the voltage and current information of related loops in the power distribution cabinet needs to be accurately and quickly collected and summarized to the data processing unit to complete data storage and analysis. At present, there are two main schemes for current collection: firstly, through independent current sensor, convert the electric current into 4 ~ 20mA current signal or 0 ~ 10V voltage signal, gather through the ADC device, this kind of scheme needs sensor quantity many, the output signal line that the sensor corresponds is many, and the weak signal of current sensor output easily receives the interference of the interior electromagnetic radiation of switch board, and collection accuracy and interference immunity are not high. The second scheme is centralized collection, develops a set of current collection device, possesses multichannel current signal acquisition port, and this kind of scheme advantage is save space, but all collected cables all will concentrate and collect current collection device, make the switch board wiring complicated, increased manufacturing and cost of maintenance.

Therefore, from the two existing technical solutions in the technical field of current collection, it is necessary to solve the technical problem corresponding to one or two of the two technical solutions.

Disclosure of Invention

In order to solve the above technical problem, the present invention provides an intelligent current sensor, including: the current collector surrounds a line at a current collection point and is used for collecting direct current or alternating current at the point; the analog-to-digital converter is connected with each current collector and is used for performing analog-to-digital conversion on the currently received direct current signal or alternating current signal; and the first processor is connected with the analog-to-digital converter and used for marking the positions of the collectors on the direct current data or the alternating current data obtained from each current collector and packaging the direct current data or the alternating current data to obtain corresponding current output information, and after the first processor is in communication connection with an external second processor by using a preset sensor communication address, the current output information is transmitted to the second processor.

Preferably, the intelligent current sensor is connected to other intelligent current sensors or the second processor, wherein the second processor is configured to communicate with a plurality of cascaded intelligent current sensors by using the sensor communication address corresponding to each intelligent current sensor, and collect the current output information of the plurality of intelligent current sensors.

Preferably, the first processor comprises: the first communication unit is used for outputting the current output information generated by the current sensor through the first communication unit after receiving a current acquisition instruction which is in line with the communication address of the sensor per se, and outputting the current acquisition instruction through the second communication unit after receiving the current acquisition instruction which is not in line with the communication address of the sensor per se; the second communication unit.

Preferably, the second communication unit is configured to output the current output information through the first communication unit after receiving the current output information that does not conform to a communication address of its own sensor.

Preferably, the smart sensor further comprises: and the first communication interface and the second communication interface are correspondingly connected with the first communication unit and the second communication unit respectively, wherein the first communication interface of the intelligent current sensor is connected with the second communication interfaces in other intelligent current sensors or connected with the second processor through sensor transmission cables.

Preferably, the intelligent current sensor further comprises: the dial switch is used for setting the sensor communication address corresponding to the current intelligent current sensor; and the indicating lamp is used for prompting whether the current intelligent current sensor is in a communication connection state with the second processor or not.

Preferably, the current collector includes: the device comprises an acquisition device and an operational amplifier conditioning circuit connected with the acquisition device, wherein the acquisition device adopts a current transformer or a Hall current sensor.

In another aspect, the present invention further provides a current collecting method based on an intelligent current sensor, where the method uses the intelligent current sensor to collect current at each current collecting point, and the current collecting method includes: step one, a current collector collects direct current or alternating current at a current collection point; secondly, performing analog-to-digital conversion on the currently received direct current signal or alternating current signal by an analog-to-digital converter; and thirdly, the first processor marks the positions of the collectors on the obtained direct current data or alternating current data from each current collector and packages the direct current data or the alternating current data to obtain corresponding current output information, and transmits the current output information to an external second processor after the first processor is in communication connection with the external second processor by using a preset sensor communication address.

Preferably, the method further comprises: the second processor communicates with the plurality of cascaded intelligent current sensors by using the sensor communication address corresponding to each intelligent current sensor, and collects the current output information of the plurality of intelligent current sensors.

Preferably, the method further comprises: the first communication unit in the first processor outputs the current output information generated by the current sensor through the first communication unit after receiving a current acquisition instruction which is in line with the communication address of the sensor, and outputs the current acquisition instruction through the second communication unit in the first processor after receiving the current acquisition instruction which is not in line with the communication address of the sensor.

Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:

the invention discloses an intelligent current sensor and a current acquisition method based on the intelligent current sensor. The current sensor can collect multi-path direct current or alternating current data, and realizes distributed current collection through the cascade structure of a plurality of intelligent current sensors, and the current sensor is small in overall structure, simple in wiring topological structure, high in usability and convenient for distributed application. In addition, the industrial vehicle bus is adopted for data communication, so that the anti-interference capacity is high, and the reliability is high.

Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:

fig. 1 is a schematic diagram of an internal structure of an intelligent current sensor according to an embodiment of the present application.

Fig. 2 is a wiring topology diagram of the intelligent current sensor in the cascade connection according to the embodiment of the present application.

Fig. 3 is an external structural schematic diagram of the intelligent current sensor according to the embodiment of the present application.

Fig. 4 is a front view and a right side view of an external configuration schematic diagram of the intelligent current sensor according to the embodiment of the present application.

Fig. 5 is a step diagram of a current collection method based on an intelligent current sensor according to an embodiment of the present application.

Detailed Description

The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, as long as there is no conflict, the embodiments and the features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.

The rail transit vehicle low-voltage distribution system is used as an important component of a train safety system and is mainly completed by a vehicle power distribution cabinet. At present, a power distribution cabinet mainly comprises basic devices such as a relay, a contactor and a miniature circuit breaker, and the intelligent level is low. Along with the development of the technology, the safety control of the train is gradually developed from human control to machine control, and the vehicle urgently needs an intelligent auxiliary diagnosis system for monitoring the working state of a power distribution circuit, effectively early warning and analyzing faults and improving the safety and reliability of train operation.

Data acquisition is used as the most basic functional unit of the auxiliary diagnosis system, and the voltage and current information of related loops in the power distribution cabinet needs to be accurately and quickly collected and summarized to the data processing unit to complete data storage and analysis. At present, there are two main schemes for current collection: firstly, the current is converted into 4-20 mA current signals or 0-10V voltage signals through an independent current sensor, and the signals are collected through an ADC (analog to digital converter) device. The second scheme is centralized collection, develops a set of current collection device, possesses multichannel current signal acquisition port, and this kind of scheme advantage is save space, but all collected cables all will concentrate and collect current collection device, make the switch board wiring complicated, increased manufacturing and cost of maintenance.

In order to solve the above technical problems, the present invention provides a novel intelligent current sensor and a current collection method based on the intelligent current sensor, which can realize distributed collection of current, and collect data to a data processing module (a second processor below) through a communication transmission bus. The invention specifically utilizes the mode that a single intelligent current sensor is provided with a plurality of current acquisition interfaces to acquire the current in the line at the current acquisition point, and different alternating current and direct current acquisition ranges are configured in the single intelligent current sensor. The intelligent current sensor has the advantages of small size, simple wiring topology and convenience in distributed application.

In addition, the intelligent current sensor can realize cascade connection of a plurality of sensors, and by configuring a communication address of the intelligent current sensor, the intelligent current sensor performs polling communication with the plurality of intelligent current sensors distributed at different positions in a cascade connection state by using an external data processing module, and the plurality of intelligent current sensors complete a current data collection process under distributed arrangement. Therefore, the cascade connection mode among the intelligent current sensors is utilized, and the distributed application is facilitated.

Fig. 1 is a schematic diagram of an internal structure of an intelligent current sensor according to an embodiment of the present application, showing the internal structure of the intelligent current sensor. As shown in fig. 1, the smart current sensor includes: at least one current collector 10, an analog-to-digital converter 20, and a first processor 30. The intelligent current sensor 101 in the embodiment of the present invention can collect currents in a plurality of paths of lines having current collection points, and therefore, a corresponding current collector 10 is provided for each current collection point. It should be noted that the line on which the current collection point is located may be a direct current line or an alternating current line, and the single intelligent current collector of the present invention is compatible with simultaneous collection of alternating current and direct current.

Specifically, the current collector 10 is disposed around a line at a current collection point in the line to be collected, and is configured to collect a dc or ac current analog signal at the current collection point. Each current collector 10 comprises a collecting device 11 corresponding to the type of the current of the line to be collected and an operational amplifier conditioning circuit 12 correspondingly connected with the collecting device 11. The collecting device 11 is used for collecting the current of the line to be collected and outputting a corresponding direct current or alternating current analog signal in real time. When direct current flows through a line to be acquired, the acquisition device 11 adopts a Hall current sensor; when alternating current flows through a line to be acquired, the acquisition device 11 adopts a current transformer. The operational amplifier conditioning circuit 12 is configured to perform preprocessing conditioning including filtering and amplification on the received corresponding direct current analog signal or alternating current analog signal, and output the preprocessed direct current analog signal or alternating current analog signal.

The analog-to-digital converter 20 adopts a high-precision ADC device with multiple channels, and is connected to each current collector 10 in the current intelligent current sensor. The analog-to-digital converter 20 is configured to perform an analog-to-digital conversion process on the currently received dc current analog signal or ac current analog signal. The analog-to-digital converter 20 includes a plurality of analog-to-digital conversion units (not shown), the number of the analog-to-digital conversion units is the same as the number of the current collectors 10, and each current collector 10 is provided with a corresponding analog-to-digital conversion unit connected thereto. Each analog-to-digital conversion unit is used for performing analog-to-digital conversion processing on a direct current analog signal or an alternating current analog signal obtained from the current collector 10 connected with the current analog-to-digital conversion unit, and outputting digitized direct current data or alternating current data corresponding to a current type.

The first processor 30 is connected to the analog-to-digital converter 20 by using an MCU device. The first processor 30 is configured to perform collector position marking on the dc current data or ac current data obtained from each current collector 10, and then package the dc current data or ac current data to obtain corresponding current output information, and transmit the current output information to the external second processor 102 through the vehicle bus after the current first processor 30 is communicatively connected to the external second processor 102 by using a sensor communication address preset by the first processor 30. The intelligent current collector can simultaneously collect the current in a plurality of paths of lines to be collected, and the number is recorded as the number of the collected lines. Therefore, the current collectors 10 that satisfy the number of the collection lines need to be equipped, so in the embodiment of the present invention, each current collector 10 corresponds to a corresponding collection line position number in the intelligent current collector 101. Further, the first processor 30 is first configured to receive dc data or ac data corresponding to one or more current collectors 10 in a polling communication manner, or in a parallel transmission manner or a serial transmission manner, and perform collector position marking on the current data collected by different current collectors 10 (that is, writing the collection line position numbers corresponding to different current collectors 10 into the dc data or ac data collected by the corresponding current collectors 10); and then, one or more pieces of direct current data or alternating current data subjected to the position marking processing of the collector are packaged and generated to meet the following transmission protocol format of the vehicle bus type, so that the direct current data or the alternating current data corresponding to all lines to be collected, which are collected by the intelligent current sensor at the current moment, are obtained, namely the current output information is obtained.

Finally, the first processor 30 is configured to communicate with the external second processor 102 by using the sensor communication address set by itself, and transmit the current output information generated currently to the second processor 102 after the communication connection between the first processor 30 and the second processor 102 is successful. Specifically, when current output information of the current intelligent current sensor 101 needs to be obtained, the second processor 102 generates a current collecting instruction containing sensor communication address information corresponding to the current intelligent current sensor. Further, after receiving the current collecting instruction, when detecting that the communication address information included in the current collecting instruction is consistent with the sensor communication address information of the current intelligent current sensor 101 itself, the first processor 30 indicates that the current collecting instruction is sent for itself, that is, indicates that the second processor 102 wants to access and obtain the current output information at the current sensor 101. At this point, the current output information currently generated needs to be sent to the second processor 30 for subsequent detection or saving. Therefore, the current data collection process of one or more current collection points with concentrated distribution positions of the current collection points can be mainly completed by the single intelligent current sensor through the technical scheme.

In addition, referring to fig. 1, the intelligent current sensor 101 in the present invention further includes: power conversion module 40, dip switch 50, indicator light 60 and communication interface 70. The power conversion module 40 supplies power to the present smart current sensor via an external power source, preferably a DC24V power source. The power conversion module 40 is used for converting the DC24V power into 12V and/or 3.3V power, and providing the corresponding power for the analog-to-digital converter 20 and the first processor 30.

The dial switch 50 is used for configuring a sensor communication address corresponding to the intelligent current sensor, and is mainly used for a cascade scenario of a plurality of intelligent current sensors 101 so as to communicate with an external second processor 102 by using the address. In the embodiment of the present invention, the dial switch 50 is a 4-bit dial switch.

The indicator light 60 is used to indicate whether the current intelligent current sensor is in a communication connection state with the second processor 102 (it is turned on when the current intelligent current sensor receives an instruction and data consistent with its own sensor communication address), and indicate a fault of the current intelligent current sensor (it is turned on when there are faults including a line disconnection, a fault of a collection device, etc. inside the current intelligent sensor). In an embodiment of the present invention, the first processor 101 is further configured to detect a current working state of each current collector 101 in the intelligent sensor, and determine that there is a fault inside the current intelligent sensor when the current collector 10 collects abnormal data or the collector 10 is in open circuit connection with the first processor 101.

The communication interface 70 is used to connect the external second processor 102 to the first processor 30 in the present intelligent current sensor via the sensor transmission cable 73. The sensor transmission cable 73 includes: power lines and a vehicle bus. The power supply lines include a 24V positive power supply line and a power supply ground line. The vehicle bus is a pair of signal lines, and when the current vehicle bus is a CAN bus, the pair of signal lines are CANH and CANL; when the current vehicle bus is a 485 bus, the pair of signal lines is 485+, 485-.

The intelligent current sensor in the embodiment of the present invention can be further connected to one or more other intelligent current sensors 101 on the basis of the communication of the external second processor 102, so as to implement the cascade connection of the plurality of intelligent current sensors, and enable the second processor 102 to collect current output information generated by the plurality of cascaded intelligent current sensors 101 in real time. Fig. 2 is a wiring topology diagram of the intelligent current sensor in the cascade connection according to the embodiment of the present application. As shown in fig. 2, the smart current sensor 101 is connected to one or more other smart current sensors 101 through the sensor transmission cable 73, and can also be connected to the second processor 102 through the sensor transmission cable 73. At this time, the second processor 102 is configured to sequentially communicate with the plurality of cascaded intelligent current sensors 10 in a polling manner by using the sensor communication addresses corresponding to different intelligent current sensors, and sequentially collect current output information from the plurality of intelligent current sensors 101, thereby implementing a collection process of current output information collected by the intelligent current sensors distributed at different positions.

Referring to fig. 2, the communication interface 70 according to the present invention further includes: a first communication interface 71 and a second communication interface 72. Accordingly, the first processor 30 further comprises: a first communication unit 31 correspondingly connected with the first communication interface 71, and a second communication unit 32 correspondingly connected with the second communication interface 72. The first communication interface 71 of the current intelligent current sensor 101 is connected with the second communication interface 72 in the other intelligent current sensor 101 through the sensor transmission cable 73, or the first communication interface 71 of the current intelligent current sensor 101 is connected with the second processor through the sensor transmission cable 73. In this way, a cascade structure of the intelligent current sensor 101 is realized. More specifically, the first communication unit 31 in the current intelligent current sensor 101 is connected to the second communication units 32 in the other intelligent current sensors 101 through the first communication interface 71 in the current intelligent current sensor 101, the sensor transmission cable 73 and the second communication units 32 in the other intelligent current sensors 101; alternatively, the first communication unit 31 in the smart current sensor 101 is connected to the second processor 102 through the first communication interface 71 and the sensor transmission cable 73 in the smart current sensor 101.

When the second processor 102 collects the corresponding current output information sent by the intelligent current sensors 101 that are cascaded with each other, it is necessary to send, in a polling manner, a corresponding current acquisition instruction containing sensor communication address information corresponding to the designated sensor 101 to each intelligent current sensor 101 in sequence, so that after each intelligent current sensor 101 receives the current acquisition instruction containing its own sensor communication address, the currently generated current output information is transmitted to the second processor 102 through all other intelligent current sensors 101 between the current intelligent current sensor 101 and the second processor 102.

Specifically, the first communication unit 31 in each intelligent current sensor 101 is configured to, after receiving a current collecting instruction corresponding to the communication address of its own sensor, output current output information generated by the current sensor through the first communication unit 31 (to the second processor connected to the current first communication unit 31 or the second communication units 32 in other intelligent current sensors 101 connected to the current first communication unit 31). In addition, the first communication unit 31 in each intelligent current sensor 101 is further configured to, after receiving a connection instruction that does not match the communication address of its own sensor, forward the current collection instruction (containing sensor communication address information corresponding to other intelligent current sensors 101) to the second communication unit 32, and output it through the second communication unit 32 (to the first communication unit 32 in the other intelligent current sensors 101 connected to the current second communication unit 31).

In addition, the second communication unit 32 in each intelligent current sensor 101 is configured to, after receiving the current output information that does not match the communication address of its own sensor, forward the current output information to the first communication unit 31, and output it through the first communication unit 31 (to the second processor connected to the current first communication unit 31, or to the second communication units 32 in other intelligent current sensors 101 connected to the current first communication unit 31).

In this way, by the above-mentioned scheme, a process is realized in which, under the cascade structure based on the intelligent current sensors 101, the second processor 102 transmits a current collection instruction for each of the interconnected intelligent current sensors 101, and after the current intelligent current sensor 101 receives the current collection instruction for itself, all other intelligent current sensors 101 between the current sensor 101 and the second processor 102 are used as transmission channels to transmit the current output information generated at present to the second processor 102.

The information collection process of the cascade structure of the three smart current sensors 101 shown in fig. 2 will be described as an example. First, the second processor 102 generates a current collecting instruction for the intelligent current sensor a, and after receiving the instruction corresponding to the communication address of the sensor, the intelligent current sensor a feeds back the current output information generated at present to the second processor 102. Then, the second processor 102 generates a current collecting instruction for the intelligent current sensor b after receiving the current output information about the intelligent current sensor a, the intelligent current sensor a transmits the current instruction to the intelligent current sensor b connected with the intelligent current sensor a in a cascade manner after receiving the instruction which is not in accordance with the communication address of the intelligent current sensor a, the intelligent current sensor b transmits the current output information generated currently to the intelligent current sensor a after receiving the instruction which is in accordance with the communication address of the intelligent current sensor b, and the intelligent current sensor a forwards the current output information to the second processor 102 after receiving the current output information which is not in accordance with the communication address of the intelligent current sensor a. Finally, the second processor 102 generates a current collecting instruction for the intelligent current sensor c after receiving the current output information about the intelligent current sensor b, at this time, the current instruction is sent to the intelligent current sensor c sequentially through the intelligent current sensor a and the intelligent current sensor b, and the intelligent current sensor c feeds back the current generated current output information to the second processor 102 through the sensor b and the sensor c after receiving the instruction conforming to the communication address of the sensor itself. At this point, the second processor 102 completes a round of current information collection for the three cascaded sensors.

Finally, in the embodiment of the present invention, since the intelligent current sensor employs the 4-bit dial switch, the cascade connection of 16 intelligent current sensors 101 can be implemented. The number of the dial switches 50 is not particularly limited in the present invention, and those skilled in the art can set the number according to actual situations, so as to reduce or expand the number of the cascades of the intelligent current sensor 101.

Fig. 3 is a schematic diagram of an external structure of the smart current sensor according to the embodiment of the present application, showing the external structure of the smart current sensor. As shown in fig. 3, the intelligent current sensor of the present invention further includes a sensor housing. The sensor shell is provided with a collection hole for placing a line to be collected, a first communication interface 71, a second communication interface 72, a dial switch 50 and an indicator light 60. Fig. 4 is a front view and a right side view of an external configuration schematic diagram of the intelligent current sensor according to the embodiment of the present application. As can be seen from fig. 4, the intelligent current sensor according to the present invention can be disposed in a sensor housing having a small size. Wherein, the length, the width and the thickness of the sensor shell are 140mm, 75mm and 40mm in sequence, and the diameter of the collecting hole is 11 mm.

On the other hand, the invention is based on the intelligent current sensor and also provides a current acquisition method based on the current intelligent current sensor. Fig. 5 is a step diagram of a current collection method based on an intelligent current sensor according to an embodiment of the present application. As shown in fig. 5, the method includes: step S510 the current collector 10 collects a direct current or an alternating current at a current collection point; step S520, the analog-to-digital converter 20 performs analog-to-digital conversion on the currently received direct current signal or alternating current signal; in step S530, the first processor 30 performs collector position marking on the dc current data or ac current data obtained from each current collector 10, and then packages the dc current data or ac current data to obtain corresponding current output information, and transmits the current generated current output information to the second processor 102 after the first processor 30 is communicatively connected to the external second processor 102 by using a preset sensor communication address.

In addition, the method according to the embodiment of the present invention further includes: the second processor 102 communicates with the plurality of intelligent current sensors 101 in cascade using the sensor communication address corresponding to each intelligent current sensor 101, and collects current output information from the plurality of intelligent current sensors 101.

In addition, the method according to the embodiment of the present invention further includes: after receiving a current acquisition instruction corresponding to the communication address of the sensor, the first communication unit 71 in the first processor 30 outputs current output information generated by the current sensor through the first communication unit 71; after receiving the current collection command that does not match the communication address of the sensor, the first communication unit 71 in the first processor 30 outputs the current collection command through the second communication unit 72 in the first processor 30.

The invention discloses an intelligent current sensor and a current acquisition method based on the intelligent current sensor. The current sensor can collect multi-path direct current or alternating current data, and realizes distributed current collection through the cascade structure of a plurality of intelligent current sensors, and the current sensor is small in overall structure, simple in wiring topological structure, high in usability and convenient for distributed application. In addition, the industrial vehicle bus is adopted for data communication, so that the anti-interference capacity is high, and the reliability is high.

Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电流信号检测方法、装置、存储介质和电机控制器

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!