Infrared thermal imaging image reading device and method based on android system

文档序号:809188 发布日期:2021-03-26 浏览:8次 中文

阅读说明:本技术 一种基于安卓系统的红外热成像图像读取装置和方法 (Infrared thermal imaging image reading device and method based on android system ) 是由 鲍小锋 党军鹏 崔勇 禹海斌 王勇 张贵鹏 于 2020-12-21 设计创作,主要内容包括:本发明涉及一种基于安卓系统的红外热成像图像读取装置和方法,该装置包括控制器,控制器与USB切换装置连接,USB切换装置一侧与第一USB、第二USB和USB接口连接;USB切换装置用于切换第一USB和第二USB,第一USB和第二USB不能同时打开切只能开一个。本发明可以使一个USB接口接两个USB设备进行智能切换,同时保留安卓系统原有的OTG功能。本发明通过控制器控制进行智能切换,根据需要连接不同的USB设备,能够满足多个USB端口需要,且开发成本低,使用更加智能。(The invention relates to an infrared thermal imaging image reading device and method based on an android system, wherein the device comprises a controller, the controller is connected with a USB switching device, and one side of the USB switching device is connected with a first USB interface, a second USB interface and a USB interface; the USB switching device is used for switching a first USB and a second USB, and the first USB and the second USB can not be opened or closed at the same time but can be opened or closed only one at the same time. The invention can enable one USB interface to be connected with two USB devices for intelligent switching, and simultaneously, the original OTG function of the android system is reserved. The intelligent switching is carried out through the control of the controller, different USB devices are connected according to the requirements, the requirements of a plurality of USB ports can be met, the development cost is low, and the intelligent switching device is more intelligent in use.)

1. The utility model provides an infrared thermal imaging image reading device based on tall and erect system of ann which characterized in that: the controller is connected with the USB switching device, and one side of the USB switching device is connected with the first USB, the second USB and the USB interface;

the USB switching device is used for switching a first USB and a second USB, and the first USB and the second USB can not be opened or closed at the same time but can be opened or closed only one at the same time.

2. The infrared thermal imaging image reading device based on the android system of claim 1, characterized in that: the USB switching device comprises a USB switching chip TS3USB221 RSER.

3. The android system-based infrared thermal imaging image reading device of claim 2, wherein: the first USB is connected to the first pin and the second pin of the USB switching chip TS3USB221 RSER.

4. The android system-based infrared thermal imaging image reading device of claim 2, wherein: the first USB is connected to the third and fourth pins of the USB switch chip TS3USB221 RSER.

5. The android system-based infrared thermal imaging image reading device of claim 2, wherein: the USB interface is connected to the fifth pin and the sixth pin of the USB switching chip TS3USB221 RSER.

6. The android system-based infrared thermal imaging image reading device of claim 2, wherein: one end of the controller is connected to the ninth pin of the USB switching chip TS3USB221RSER, and the other end is grounded through the resistor.

7. The android system-based infrared thermal imaging image reading device of claim 6, wherein: the resistance is 1k omega.

8. An infrared thermal imaging image reading method based on an android system is characterized in that: the device according to one of claims 1 to 7, performed as follows:

the android system controller outputs a high level, the USB switching device switches the first USB and the second USB, so that the first USB and the second USB cannot be simultaneously opened or closed but can be opened only one USB, and the original OTG function of the android system is retained;

when the USB switching device works, the first USB is started by default and is directly connected with the first USB port, and the second USB port is closed by default;

when the android system controller is switched to the second USB, the android system controller sends an io stream command, the USB switching device switches the chip, is connected with the second USB port, and closes the first USB port.

Technical Field

The invention relates to the field of data transmission, in particular to an infrared thermal imaging image reading device and method based on an android system.

Background

At present, in the power production operation, an infrared thermal imaging terminal is generally used for detecting the temperature of a circuit and power equipment, after an infrared thermal imaging image is obtained by the terminal, the obtained image is read and processed, and in the current infrared thermal imaging image circuit design of an android system, due to the fact that only one USB port is arranged, when a USB peripheral is added, the problem that the USB port is not enough is often caused, but the problem of cost and port distinguishing is caused by the fact that a plurality of USB ports are designed.

Disclosure of Invention

In order to solve the technical problems, the invention provides an infrared thermal imaging image reading device and method based on an android system, one USB is connected with two USB devices, intelligent switching can be performed, simplicity, flexibility and convenience are realized, and cost is saved.

The technical scheme of the invention is as follows:

an infrared thermal imaging image reading device based on an android system comprises a controller, wherein the controller is connected with a USB switching device, and one side of the USB switching device is connected with a first USB interface, a second USB interface and a USB interface;

the USB switching device is used for switching a first USB and a second USB, and the first USB and the second USB can not be opened or closed at the same time but can be opened or closed only one at the same time.

Further, the USB switching device includes a USB switching chip TS3USB221 RSER.

Furthermore, the first USB is connected to the first pin and the second pin of the USB switching chip TS3USB221 RSER.

Further, the first USB is connected to the third and fourth pins of the USB switching chip TS3USB221 RSER.

Further, the USB interface is connected to the fifth and sixth pins of the USB switching chip TS3USB221 RSER.

Furthermore, one end of the controller is connected to the ninth pin of the USB switching chip TS3USB221RSER, and the other end is grounded through the resistor.

Further, the resistance is 1k Ω.

The invention also relates to an infrared thermal imaging image reading method based on the android system, which is based on the device and is carried out as follows:

the android system controller outputs a high level, the USB switching device switches the first USB and the second USB, so that the first USB and the second USB cannot be simultaneously opened or closed but can be opened only one USB, and the original OTG function of the android system is retained;

when the USB switching device works, the first USB is started by default and is directly connected with the first USB port, and the second USB port is closed by default;

when the android system controller is switched to the second USB, the android system controller sends an io stream command, the USB switching device switches the chip, is connected with the second USB port, and closes the first USB port.

Compared with the prior art, the invention has the following beneficial effects:

the invention can make one USB interface connect two USB devices for intelligent switching, and simultaneously reserve the original OTG function of the android system, namely realize the data transmission between the devices under the condition without Host.

The invention utilizes the design of one USB port and a switching chip, can connect two USB devices on one USB port, carries out intelligent switching through the control of the controller, and can meet the requirements of a plurality of USB ports by connecting different USB devices according to the requirements, and has low development cost and more intelligent use.

Drawings

FIG. 1 is a block diagram of the apparatus of the present invention;

fig. 2 is a circuit schematic of the apparatus of the present invention.

Detailed Description

The technical solutions in the embodiments will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the examples without making any creative effort, shall fall within the protection scope of the present invention.

Unless otherwise defined, technical or scientific terms used in the embodiments of the present application should have the ordinary meaning as understood by those having ordinary skill in the art. The use of "first," "second," and similar terms in the present embodiments does not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. "mounted," "connected," and "coupled" are to be construed broadly and may, for example, be fixedly coupled, detachably coupled, or integrally coupled; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. "Upper," "lower," "left," "right," "lateral," "vertical," and the like are used solely in relation to the orientation of the components in the figures, and these directional terms are relative terms that are used for descriptive and clarity purposes and that can vary accordingly depending on the orientation in which the components in the figures are placed.

As shown in fig. 1, the infrared thermal imaging image reading apparatus based on the android system in this embodiment includes a controller, where the controller is connected to a USB switching device, and one side of the USB switching device is connected to a USB1, a USB2, and a USB interface; the USB switching device is used for switching the USB1 and the USB2, and the USB1 and the USB2 cannot be opened at the same time but can be opened only one. The USB switching device comprises a USB switching chip TS3USB221 RSER. The USB1 is connected to the first and second pins of the USB switch chip TS3USB221 RSER. The USB2 is connected to the third and fourth pins of the USB switch chip TS3USB221 RSER. The USB interface is connected to the fifth pin and the sixth pin of the USB switching chip TS3USB221 RSER. One end of the controller is connected to the ninth pin of the USB switching chip TS3USB221RSER through the USB _ SW end, and the USB _ SW end is grounded through a 1k omega resistor.

Two modes of operation: the USB interface is communicated with the USB 1; the USB interface is communicated with the USB 2.

USB interface: and a main USB interface.

USB1, USB 2: and a USB interface is separated.

USB switches the chip: the USB1 and the USB2 are not capable of being opened at the same time but only one, and are responsible for switching the USB1 and the USB 2.

A controller: the USB switching chip is controlled to switch between the USB1 and the USB 2.

The USB _ SW is connected with the port of the main control module; u2 is a USB switch chip; p3 is a USB interface; p1 is USB 1; p2 is USB 2.

The infrared thermal imaging image reading method based on the android system in the embodiment is carried out as follows:

when the TS3USB221RSER of the USB switching chip works, the USB1 is opened by default, the USB2 is closed, and the USB interface is communicated with the USB 1; if the USB switching chip is switched to the USB2, the host module signals a command to the USB switching chip, the USB2 is turned on and the USB1 is turned off after the command of the host module, and the USB interface is communicated with the USB 2.

The USB switch chip is connected to the USB1 by default, the controller outputs a high level to the port USB _ SW, and the USB switch chip is connected to the USB 2.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于FPGA的LIO总线扩展UART外设系统及方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!