WO2023169411A1 - Portable communication interface apparatus - Google Patents
Portable communication interface apparatus Download PDFInfo
- Publication number
- WO2023169411A1 WO2023169411A1 PCT/CN2023/080056 CN2023080056W WO2023169411A1 WO 2023169411 A1 WO2023169411 A1 WO 2023169411A1 CN 2023080056 W CN2023080056 W CN 2023080056W WO 2023169411 A1 WO2023169411 A1 WO 2023169411A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication interface
- module
- communication module
- communication
- interface device
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/054—Input/output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/11—Plc I-O input output
- G05B2219/1103—Special, intelligent I-O processor, also plc can only access via processor
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Definitions
- Embodiments of the present application relate to the field of programmable logic controllers (PLC, Programmable Logic Controller), and in particular, to a portable communication interface device.
- PLC programmable logic controllers
- PLC Programmable Logic Controller
- PLC programmable logic controllers
- HMI Human Machine Interface
- Users can issue control commands to the controlled objects of the PLC through the HMI device, set the parameters and working modes of the controlled objects, view the parameters and working modes set by the controlled objects, display the real-time operating parameters and curves of the controlled objects and historical parameters, etc. wait.
- HMI devices There are two main types of HMI devices currently in use: one is integrated on the PLC body, which can include a display screen and a small number of buttons; the other is an external dedicated HMI device, which can include: a touch screen and corresponding controls. Modules and other components.
- the HMI device integrated on the PLC body usually has a smaller display screen and fewer buttons, so it is inconvenient to view or use.
- the external dedicated HMI device is relatively expensive, the cost of using the HMI device is high, and the power supply of the HMI device needs to be connected to the mains, so the range of use is very limited.
- the HMI device is large in size. , not easy to carry.
- embodiments of the present application provide a portable communication interface device, through which the PLC can wirelessly communicate with the user's terminal equipment, and the existing The terminal equipment serves as the HMI device of the PLC. Therefore, the PLC can be easily controlled or monitored through the existing terminal equipment, and the cost of using the PLC can be reduced.
- the communication interface device communicates with the terminal device through Bluetooth Low Energy (BLE) communication method, which can reduce the energy consumption of the communication interface device, and further, can use the battery to power the entire communication interface device, thereby enabling The communication interface device is miniaturized and easy to carry and use.
- BLE Bluetooth Low Energy
- a portable communication interface device which allows a programmable logic controller to communicate with a terminal device.
- the device includes: a first communication module, which communicates with a terminal device through a universal serial bus interface. Connected to the programmable logic controller; a second communication module, which uses Bluetooth low energy communication mode to wirelessly connect with the terminal device; a control module, which controls the communication through the first communication module and the second The communication module controls data transmission between the programmable logic controller and the terminal device; and a power module includes a battery, and uses the battery to control the first communication module and the second communication module. and supply power to the control module.
- the power module further includes: a power conversion circuit, the power conversion circuit includes an ultra-low quiescent current low voltage dropout regulator, and the ultra-low quiescent current low voltage dropout regulator The converter converts the output voltage of the battery into a first preset voltage and provides it to the first communication module, the second communication module and the control module.
- the ultra-low quiescent current low dropout voltage regulator also converts the output voltage of the battery into a second preset voltage and provides it to the universal serial bus interface.
- the battery is a button battery.
- the first communication module, the second communication module and the control module are integrated in a microcontroller chip.
- the microcontroller chip when the time that the microcontroller chip is in the idle state reaches a preset time, the microcontroller chip enters the sleep mode.
- the universal serial bus interface is connected to the first communication module and to the universal serial bus interface of the programmable logic controller.
- the device further includes: a first accommodation part to accommodate the first communication module, the second communication module and the control module; and a second accommodation part , which protrudes from one end of the first receiving part and accommodates the power module; the universal serial bus interface protrudes from the other end of the first receiving part.
- the width of the first accommodating part is smaller than the width of the second accommodating part.
- the device further includes: a display module connected to the control module and displaying the working status of the portable communication interface device.
- the PLC can communicate wirelessly with the user's terminal equipment, and the existing terminal equipment can be used as the HMI device of the PLC. Therefore, the existing terminal equipment can be used conveniently Control or monitor the PLC easily and reduce the cost of using the PLC.
- the communication interface device communicates with the terminal device through Bluetooth low energy (BLE) communication mode, which can reduce the energy consumption of the communication interface device.
- BLE Bluetooth low energy
- the battery can be used to power the entire communication interface device, so that the communication interface device can Miniature, easy to carry and use.
- Figure 1 is a schematic diagram of a portable communication interface device according to an embodiment of the present application.
- FIG. 2 is a schematic diagram of the power consumption of the portable communication interface device according to the embodiment of the present application.
- Figure 3 is a schematic diagram of the structure of a portable communication interface device according to an embodiment of the present application.
- Figure 4 is another schematic diagram of the structure of a portable communication interface device according to an embodiment of the present application.
- Figure 5 is a schematic diagram of a communication system according to an embodiment of the present application.
- the terms “first”, “second”, etc. are used to distinguish different elements from the title, but do not indicate the spatial arrangement or temporal order of these elements, and these elements should not be used by these terms. restricted.
- the term “and/or” includes any and all combinations of one or more of the associated listed terms.
- the terms “comprises,” “includes,” “having” and the like refer to the presence of stated features, elements, elements or components but do not exclude the presence or addition of one or more other features, elements, elements or components.
- An embodiment of the present application provides a portable communication interface device.
- the communication interface device is used for communication connection between a programmable logic controller (PLC) and terminal equipment.
- PLC programmable logic controller
- FIG. 1 is a schematic diagram of a portable communication interface device according to an embodiment of the present application.
- the portable communication interface device 100 includes: a first communication module 1 , a second communication module 2 , a control module 3 and a power supply module 4 .
- the first communication module 1 is connected to the PLC through a universal serial bus (USB) interface.
- the second communication module 2 uses Bluetooth low energy (BLE) communication method to wirelessly connect with the terminal device.
- the control module 3 controls data transmission between the PLC and the terminal device through the first communication module 1 and the second communication module 2 .
- the power module 4 includes a battery 41, through which the first communication module 1, the second communication module 2 and the control module 3 are powered.
- the communication interface device allows the PLC to communicate wirelessly with the user's terminal equipment, and the existing terminal equipment can be used as the HMI device of the PLC. Therefore, the PLC can be easily accessed through the existing terminal equipment. Control or monitor and reduce the cost of using PLC.
- the communication interface device communicates with the terminal device through Bluetooth low energy (BLE) communication mode, which can reduce the energy consumption of the communication interface device.
- BLE Bluetooth low energy
- the battery can be used to power the entire communication interface device, so that the communication interface device can Miniature, easy to carry and use.
- the first communication module 1 is wired to the PLC through USB communication.
- the communication interface device 100 may also include a universal serial bus interface 5 .
- the serial bus interface 5 is connected to the first communication module 1 and to the universal serial bus interface of the PLC.
- the universal serial bus interface 5 can be various types of USB interfaces, for example, it can be USB-TYPE A, USB-TYPE B, USB-TYPE C, USB-MICRO interface, etc.
- the first communication module 1 can transmit data to the PLC or receive data sent by the PLC according to the corresponding communication protocol.
- the second communication module 2 uses the BLE communication method to wirelessly connect with the terminal device. Since the BLE communication method consumes less energy, the overall energy consumption of the communication interface device 100 can be reduced. Furthermore, the battery can be used to power the entire communication interface device 100, which is beneficial to miniaturization of the communication interface device 100.
- the terminal device can establish a connection with the second communication module 2 by searching for Bluetooth devices and other operations.
- the terminal device can provide users with corresponding HMI through the application program (APP) matched with the PLC, which facilitates user operation and improves user experience.
- the APP can be an application program based on Android system (Android APP), or it can be an application program based on IOS (IOS APP); but the present invention is not limited to this, for example, it can also be an application program running on other operating systems.
- the communication interface device 100 may further include an antenna 8 .
- the first communication module 2 After the first communication module 2 establishes a connection with the corresponding communication module of the terminal device, the first communication module 2 can send data to the terminal device through the antenna 8. In addition, the first communication module 2 can also receive data sent by the terminal device through the antenna 8. .
- control module 3 may control components in the communication interface device 100 .
- it can control data transmission between the PLC and the terminal device through the first communication module 1 and the second communication module 2.
- the control module 3 can also control the actions of the display module 6 described later, and so on.
- the power module 4 can power the first communication module 1 , the second communication module 2 and the control module 3 .
- the power module 4 can also perform the entire communication interface device 100 powered by.
- the power module 4 can also supply power to the universal serial bus interface 5, as well as the display module 6 and UART programming port 7 described later. Since the power module 4 can supply power to the entire communication interface device 100, the connection between the PLC and the terminal equipment can be realized at any time, which is convenient and easy to use.
- the communication interface device 100 does not need to be connected to an external power supply device, which can eliminate the need for an external HMI device.
- the signal connection line and the power connection line improve the convenience of the communication interface device 100.
- the battery 41 in the power module 4 may be a button battery.
- the size of the communication interface device 100 can be further reduced, making it easier for the user to carry it around.
- the battery 41 may include two button batteries with an output voltage of 3V, and the output voltage of the battery 41 is 6V.
- the present application is not limited to this. Other types or numbers of batteries can also be used, and other values of output voltage can also be set according to actual needs.
- the power module 4 further includes a power conversion circuit 42 .
- the power conversion circuit 42 may include an ultra-low quiescent current low dropout regulator (LDO). Compared with ordinary LDOs, the power consumption of the communication interface device 100 can be further reduced by using ultra-low quiescent current LDOs, thereby extending the service life of the battery 41 . In addition, since the overall power consumption of the communication interface device 100 is very low, a smaller button battery can be used to power various components in the communication interface device 100 .
- LDO ultra-low quiescent current low dropout regulator
- the ultra-low quiescent current LDO can convert the output voltage of the battery 41 into a first preset voltage and provide it to the first communication module 1 , the second communication module 2 and the control module 3 .
- the ultra-low quiescent current LDO can also convert the output voltage of the battery 41 into a second preset voltage and provide it to the universal serial bus interface 5 .
- a two-stage ultra-low quiescent current LDO can be set in the power conversion circuit 42.
- the first-stage LDO converts 6V into 5V (the second preset voltage) and provides it to the universal serial Bus interface 5;
- the second-level LDO converts the 5V output by the first-level LDO into 3.3V (first preset voltage) and provides it to the first communication module 1, the second communication module 2 and the control module 3. Therefore, the power module 4 can provide appropriate voltage to each module in the communication interface device 100 .
- the present application is not limited to this.
- Other forms of ultra-low quiescent current LDOs may also be provided in the power conversion circuit 42 , or the power conversion circuit 42 may be configured to output multiple output voltages as needed.
- an ultra-low quiescent current LDO outputs two voltages, namely a first preset voltage and a second preset voltage.
- the first preset voltage and the second preset voltage can be set according to actual needs, and the present application does not limit the specific values of the first preset voltage and the second preset voltage.
- the functions of the first communication module 1, the second communication module 2 and the control module 3 can be implemented through a microcontroller chip (MCU).
- MCU microcontroller chip
- the first communication module 1, the second communication module 2 and the control module 3 can be integrated into one MCU, thereby simplifying the hardware structure in the communication interface device 100, reducing the connections between components, and making the communication interface device 100 Can be miniaturized.
- the CH573F model MCU with built-in USB Host and BLE can be used. In idle mode, the power consumption of this MCU can reach 1.5mA, and in sleep mode, the power consumption can reach 1.4 ⁇ A ⁇ 6 ⁇ A.
- the present application is not limited to this, and other hardware forms may also be used to implement the functions of the first communication module 1, the second communication module 2, and the control module 3.
- FIG. 2 is a schematic diagram of the power consumption of the portable communication interface device 100 according to the embodiment of the present application.
- the function of the MCU The consumption is around 4mA ⁇ 6mA.
- the MCU can enter the idle state (idle mode). In idle mode, the power consumption of the MCU is around 1.5mA.
- the average current consumption of the chip can be reduced. For example, the average current consumption can be reduced to about 2.7mA.
- the idle state means that the MCU does not transmit, receive, and process signals.
- the MCU when the MCU is in the idle state for more than a preset time, the MCU is caused to enter the sleep mode. Therefore, unnecessary power consumption can be reduced, the power consumption of the communication interface device 100 can be further reduced, and the service life of the battery can be extended.
- the communication interface device 100 may further include: a display module 6 .
- the display module 6 can be connected with the control module 3 and display the working status of the communication interface device 100 .
- the control module 3 can control the action of the display module 6 according to the working state of the communication interface device 100 .
- the display module 6 may be an indicator light, which indicates the working status of the communication interface device 100 by the color of the indicator light and/or turning on and off.
- the present application is not limited to this, and the display module 6 may also be in other forms.
- the communication interface device 100 may also include a UART programming port 7, whereby corresponding files can be programmed to the MCU chip to enable the MCU to implement corresponding functions.
- the communication interface device 100 may also include a switch (not shown), whereby the communication interface device 100 can be controlled to be turned on and off through the switch. By shutting down the communication interface device 100 when not in use, the power consumption of the communication interface device 100 can be further reduced and the service life of the battery 41 can be extended.
- only one indicator light and/or switch may be provided in the communication interface device 100, thereby further reducing the components of the communication interface device 100, which is beneficial to miniaturization.
- the application is not limited to this, and other numbers of indicator lights and/or switches may also be provided.
- the portable communication interface device 100 may include: a first receiving part 10 , a second receiving part 9 and a universal serial bus interface 5 (FIG. 3 and FIG. 4 in FIG. 4 shown in ).
- the first accommodation part 10 can accommodate the first communication module 1, the second communication module 2 and the control module 3 (not shown in Figures 3 and 4);
- the second accommodation part 9 can be opened from one end of the first accommodation part 10 protrudes and accommodates the power module 4 (not shown in Figures 3 and 4).
- the universal serial bus interface 5 protrudes from the other end of the first receiving part 10 (shown in FIG.
- the positions of the various components of the communication interface device 100 are designed in this way, so that the structure is compact, and the communication interface device 100 can be easily made into a size similar to an ordinary U disk, making it convenient for users to carry it with them.
- the width of the first receiving portion 10 may be smaller than the width of the second receiving portion 9 .
- the overall size and weight of the communication interface device 100 can be further reduced, making it easier to carry.
- the communication interface device 100 may further include a cover 11 .
- a groove is provided inside the cover part 11 , and the cover part 11 is engaged with the first receiving part 10 by fitting the groove with the universal serial bus interface 5 . In this way, the universal serial bus interface 5 can be protected and portable.
- the operation mode of the communication interface device 100 is exemplarily described below.
- a switch (not shown) provided on the surface of the communication interface device 100 to turn on the communication interface device 100.
- the universal serial bus interface 5 can be inserted into the PLC. USB female port.
- the Bluetooth device is searched and connected to the communication interface device 100 .
- the PLC can be monitored and data transferred on the APP side.
- the communication interface device 100 can be unplugged from the USB female port, long press the switch to shut down the communication interface device 100, and cover the cover 11.
- the present application is not limited to this, and the order of the above operation steps can also be adjusted.
- the communication interface device 100 and the terminal device can first establish a BLE Bluetooth connection, and then the communication interface device 100 can be inserted into the USB female port of the PLC.
- the communication interface device allows the PLC to wirelessly communicate with the user's terminal equipment, and the existing terminal equipment can be used as the HMI device of the PLC. Therefore, the PLC can be easily controlled or controlled through the existing terminal equipment. Monitor and reduce PLC usage costs.
- the communication interface device communicates with the terminal device through Bluetooth low energy (BLE) communication method, which can reduce the energy consumption of the communication interface device and further improve the efficiency of the communication interface device.
- BLE Bluetooth low energy
- the battery can be used to power the entire communication interface device, so that the communication interface device can be miniaturized and easy to carry and use.
- FIG. 5 is a schematic diagram of the communication system 200 according to the embodiment of the present application.
- the communication system 200 may include the portable communication interface device 100 as described in the embodiment of the first aspect, a programmable logic controller (PLC) 101 and a terminal device 102 .
- PLC programmable logic controller
- the portable communication interface device 100 is connected to the PLC 101 through a universal serial bus (USB) interface, and wirelessly connected to the terminal device 102 using a Bluetooth low energy (BLE) communication method.
- the PLC 101 can wirelessly communicate with the user's terminal equipment 102, and the existing terminal equipment 102 can be used as the HMI device of the PLC 101. Therefore, the PLC 101 can be easily controlled or monitored and the use cost of the PLC 101 can be reduced.
- the communication interface device 100 communicates with the terminal device 102 through BLE, which can reduce the energy consumption of the communication interface device 100.
- the battery can be used to power the entire communication interface device 100, thereby miniaturizing the communication interface device 100. Easy to carry and use.
- the terminal device 102 may be various terminal devices of the user.
- the terminal device 102 may include, but is not limited to, the following devices: a smartphone, a cellular phone, a personal digital assistant (PDA, Personal Digital Assistant), a wireless modem, a wireless communication device, a handheld device, a machine-type communication device, a laptop PCs, cordless phones, smart watches, digital cameras, and more.
- the terminal device 102 can provide a corresponding HMI interface to the user through an application program (APP) matched with the PLC 101, which facilitates user operation and improves the user experience.
- APP application program
- the communication interface device 100, PLC 101 and terminal device 102 can be implemented by a combination of software and hardware.
- the communication interface device 100, PLC 101 and terminal equipment 102 can perform data analysis or data assembly through corresponding interface protocols.
- the content of the interface protocol, data analysis and data assembly methods can refer to relevant technologies.
- the communication interface device 100 and the PLC 101 are wired through a USB interface, and the communication interface device 100 and the terminal device 102 are wirelessly connected through an antenna using a BLE communication method.
- the communication interface device allows the PLC to perform wireless communication with the user's terminal equipment, and the existing terminal equipment can be used as the HMI device of the PLC. Therefore, the existing terminal equipment can be used to easily Conveniently control or monitor PLC and reduce PLC usage costs.
- the communication interface device communicates with the terminal device through Bluetooth low energy (BLE) communication mode, which can reduce the energy consumption of the communication interface device.
- BLE Bluetooth low energy
- the battery can be used to power the entire communication interface device, so that the communication interface device can Miniature, easy to carry and use.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
Description
本申请实施例涉及可编程逻辑控制器(PLC,Programmable Logic Controller)领域,尤其涉及一种便携式通信接口装置。Embodiments of the present application relate to the field of programmable logic controllers (PLC, Programmable Logic Controller), and in particular, to a portable communication interface device.
目前,在各种生产现场中,可编程逻辑控制器(PLC)等自动化控制装置得到广泛的应用。为了便于对PLC进行操作或者获取被控对象的状态等,可以设置与PLC连接的人机界面(HMI,Human Machine Interface)装置。用户可以通过HMI装置向PLC的被控对象发出控制命令、设置被控对象参数和工作模式、查看被控对象设置的参数和工作模式、显示被控对象的实时运行参数和曲线以及历史参数,等等。At present, automatic control devices such as programmable logic controllers (PLC) are widely used in various production sites. In order to facilitate the operation of the PLC or obtain the status of the controlled object, you can set up a human-machine interface (HMI, Human Machine Interface) device connected to the PLC. Users can issue control commands to the controlled objects of the PLC through the HMI device, set the parameters and working modes of the controlled objects, view the parameters and working modes set by the controlled objects, display the real-time operating parameters and curves of the controlled objects and historical parameters, etc. wait.
当前使用的HMI装置主要有两种类型:一类是集成在PLC本体上,其可以包括显示屏以及少量按钮等部件;另一类是外接的专用HMI装置,其可以包括:触摸屏及相应的控制模块等部件。There are two main types of HMI devices currently in use: one is integrated on the PLC body, which can include a display screen and a small number of buttons; the other is an external dedicated HMI device, which can include: a touch screen and corresponding controls. Modules and other components.
应该注意,上面对技术背景的介绍只是为了方便对本申请的技术方案进行清楚、完整的说明,并方便本领域技术人员的理解而阐述,不能仅仅因为这些方案在本申请的背景技术部分进行了阐述而认为上述技术方案为本领域技术人员所公知。It should be noted that the above introduction to the technical background is only to facilitate a clear and complete description of the technical solutions of the present application and to facilitate the understanding of those skilled in the art. It cannot be explained simply because these solutions are described in the background technology section of the present application. It is believed that the above technical solutions are well known to those skilled in the art.
发明内容Contents of the invention
发明人发现,由于受限于PLC本身的大小,集成在PLC本体上的HMI装置通常显示屏较小、按键数量较少,因此,查看或使用都不方便。另外,由于外接的专用HMI装置比较昂贵,因此,使用该HMI装置的成本较高,并且,该HMI装置的供电需要连接市电,因此,使用范围非常受限,此外,该HMI装置体积较大,不便于携带。The inventor found that due to the limitation of the size of the PLC itself, the HMI device integrated on the PLC body usually has a smaller display screen and fewer buttons, so it is inconvenient to view or use. In addition, since the external dedicated HMI device is relatively expensive, the cost of using the HMI device is high, and the power supply of the HMI device needs to be connected to the mains, so the range of use is very limited. In addition, the HMI device is large in size. , not easy to carry.
为了解决上述技术问题中的至少一个,本申请实施例提供一种便携式通信接口装置,通过该通信接口装置使PLC与用户的终端设备进行无线通信,能够将已有的 终端设备作为PLC的HMI装置,因此,通过已有的终端设备就能够方便地对PLC进行控制或监测,并降低PLC的使用成本。并且,该通信接口装置通过蓝牙低能耗(Bluetooth Low Energy,BLE)的通信方式与终端设备通信,能够降低通信接口装置的能耗,进而,能够利用电池对整个通信接口装置进行供电,从而,能够使通信接口装置小型化,便于携带和使用。In order to solve at least one of the above technical problems, embodiments of the present application provide a portable communication interface device, through which the PLC can wirelessly communicate with the user's terminal equipment, and the existing The terminal equipment serves as the HMI device of the PLC. Therefore, the PLC can be easily controlled or monitored through the existing terminal equipment, and the cost of using the PLC can be reduced. Moreover, the communication interface device communicates with the terminal device through Bluetooth Low Energy (BLE) communication method, which can reduce the energy consumption of the communication interface device, and further, can use the battery to power the entire communication interface device, thereby enabling The communication interface device is miniaturized and easy to carry and use.
根据本申请实施例的第一个方面,提供一种便携式通信接口装置,其供可编程逻辑控制器与终端设备进行通信连接,所述装置包括:第一通信模块,其通过通用串行总线接口与所述可编程逻辑控制器进行连接;第二通信模块,其使用蓝牙低能耗的通信方式与所述终端设备进行无线连接;控制模块,其对通过所述第一通信模块以及所述第二通信模块在所述可编程逻辑控制器和所述终端设备之间的数据传输进行控制;以及电源模块,其包括电池,并通过所述电池对所述第一通信模块、所述第二通信模块和所述控制模块进行供电。According to a first aspect of the embodiment of the present application, a portable communication interface device is provided, which allows a programmable logic controller to communicate with a terminal device. The device includes: a first communication module, which communicates with a terminal device through a universal serial bus interface. Connected to the programmable logic controller; a second communication module, which uses Bluetooth low energy communication mode to wirelessly connect with the terminal device; a control module, which controls the communication through the first communication module and the second The communication module controls data transmission between the programmable logic controller and the terminal device; and a power module includes a battery, and uses the battery to control the first communication module and the second communication module. and supply power to the control module.
根据本申请实施例的第二个方面,其中,所述电源模块还包括:电源转化电路,所述电源转化电路包括超低静态电流低压差稳压器,所述超低静态电流低压差稳压器将所述电池的输出电压转换为第一预设电压并提供给所述第一通信模块、所述第二通信模块和所述控制模块。According to a second aspect of the embodiment of the present application, the power module further includes: a power conversion circuit, the power conversion circuit includes an ultra-low quiescent current low voltage dropout regulator, and the ultra-low quiescent current low voltage dropout regulator The converter converts the output voltage of the battery into a first preset voltage and provides it to the first communication module, the second communication module and the control module.
根据本申请实施例的第三个方面,其中,所述超低静态电流低压差稳压器还将所述电池的输出电压转换为第二预设电压并提供给所述通用串行总线接口。According to a third aspect of the embodiment of the present application, the ultra-low quiescent current low dropout voltage regulator also converts the output voltage of the battery into a second preset voltage and provides it to the universal serial bus interface.
根据本申请实施例的第四个方面,其中,所述电池为纽扣电池。According to a fourth aspect of the embodiment of the present application, the battery is a button battery.
根据本申请实施例的第五个方面,其中,所述第一通信模块、所述第二通信模块和所述控制模块集成在微控制器芯片中。According to a fifth aspect of the embodiment of the present application, the first communication module, the second communication module and the control module are integrated in a microcontroller chip.
根据本申请实施例的第六个方面,其中,当所述微控制器芯片处于空闲状态的时间达到预设时间时,所述微控制器芯片进入睡眠模式。According to a sixth aspect of the embodiment of the present application, when the time that the microcontroller chip is in the idle state reaches a preset time, the microcontroller chip enters the sleep mode.
根据本申请实施例的第七个方面,其中,所述通用串行总线接口与所述第一通信模块连接,并与所述可编程逻辑控制器的通用串行总线接口连接。According to a seventh aspect of the embodiment of the present application, the universal serial bus interface is connected to the first communication module and to the universal serial bus interface of the programmable logic controller.
根据本申请实施例的第八个方面,其中,所述装置还包括:第一容纳部,其容纳所述第一通信模块、所述第二通信模块和所述控制模块;以及第二容纳部,其从所述第一容纳部的一端突出,并容纳所述电源模块;所述通用串行总线接口从所述第一容纳部的另一端突出。 According to an eighth aspect of the embodiment of the present application, the device further includes: a first accommodation part to accommodate the first communication module, the second communication module and the control module; and a second accommodation part , which protrudes from one end of the first receiving part and accommodates the power module; the universal serial bus interface protrudes from the other end of the first receiving part.
根据本申请实施例的第九个方面,其中,所述第一容纳部的宽度小于所述第二容纳部的宽度。According to a ninth aspect of the embodiment of the present application, the width of the first accommodating part is smaller than the width of the second accommodating part.
根据本申请实施例的第十个方面,其中,所述装置还包括:显示模块,其与所述控制模块连接,并显示所述便携式通信接口装置的工作状态。According to a tenth aspect of the embodiment of the present application, the device further includes: a display module connected to the control module and displaying the working status of the portable communication interface device.
本申请实施例的有益效果之一在于:通过通信接口装置使PLC与用户的终端设备进行无线通信,能够将已有的终端设备作为PLC的HMI装置,因此,通过已有的终端设备就能够方便地对PLC进行控制或监测,并降低PLC的使用成本。并且,该通信接口装置通过蓝牙低能耗(BLE)的通信方式与终端设备通信,能够降低通信接口装置的能耗,进而,能够利用电池对整个通信接口装置进行供电,从而,能够使通信接口装置小型化,便于携带和使用。One of the beneficial effects of the embodiments of the present application is that: through the communication interface device, the PLC can communicate wirelessly with the user's terminal equipment, and the existing terminal equipment can be used as the HMI device of the PLC. Therefore, the existing terminal equipment can be used conveniently Control or monitor the PLC easily and reduce the cost of using the PLC. Moreover, the communication interface device communicates with the terminal device through Bluetooth low energy (BLE) communication mode, which can reduce the energy consumption of the communication interface device. Furthermore, the battery can be used to power the entire communication interface device, so that the communication interface device can Miniature, easy to carry and use.
参照后文的说明和附图,详细公开了本申请实施例的特定实施方式,指明了本申请实施例的原理可以被采用的方式。应该理解,本申请的实施方式在范围上并不因而受到限制。在所附权利要求的精神和条款的范围内,本申请的实施方式包括许多改变、修改和等同。With reference to the following description and drawings, specific implementation modes of the embodiments of the present application are disclosed in detail, and the ways in which the principles of the embodiments of the present application can be adopted are indicated. It should be understood that embodiments of the present application are not thereby limited in scope. Embodiments of the present application include numerous alterations, modifications and equivalents within the spirit and scope of the appended claims.
所包括的附图用来提供对本申请实施例的进一步的理解,其构成了说明书的一部分,用于例示本申请的实施方式,并与文字描述一起来阐释本申请的原理。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的实施方式。在附图中:The accompanying drawings are included to provide a further understanding of the embodiments of the application, and constitute a part of the specification for illustrating the embodiments of the application and together with the written description to explain the principles of the application. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other embodiments can be obtained based on these drawings without exerting creative efforts. In the attached picture:
图1是本申请实施例的便携式通信接口装置的一个示意图;Figure 1 is a schematic diagram of a portable communication interface device according to an embodiment of the present application;
图2是本申请实施例的便携式通信接口装置的功耗的一个示意图;Figure 2 is a schematic diagram of the power consumption of the portable communication interface device according to the embodiment of the present application;
图3是本申请实施例的便携式通信接口装置的结构的一个示意图;Figure 3 is a schematic diagram of the structure of a portable communication interface device according to an embodiment of the present application;
图4是本申请实施例的便携式通信接口装置的结构的另一个示意图;Figure 4 is another schematic diagram of the structure of a portable communication interface device according to an embodiment of the present application;
图5是本申请实施例的通信系统的一个示意图。Figure 5 is a schematic diagram of a communication system according to an embodiment of the present application.
参照附图,通过下面的说明书,本申请实施例的前述以及其它特征将变得明显。 在说明书和附图中,具体公开了本申请的特定实施方式,其表明了其中可以采用本申请实施例的原则的部分实施方式,应了解的是,本申请不限于所描述的实施方式,相反,本申请实施例包括落入所附权利要求的范围内的全部修改、变型以及等同物。The foregoing and other features of embodiments of the present application will become apparent from the following description with reference to the accompanying drawings. In the description and drawings, specific embodiments of the present application are specifically disclosed, which illustrate some of the implementations in which the principles of the embodiments of the present application may be adopted. It should be understood that the present application is not limited to the described embodiments, but rather , the embodiments of the present application include all modifications, variations and equivalents falling within the scope of the appended claims.
在本申请实施例中,术语“第一”、“第二”等用于对不同元素从称谓上进行区分,但并不表示这些元素的空间排列或时间顺序等,这些元素不应被这些术语所限制。术语“和/或”包括相关联列出的术语的一种或多个中的任何一个和所有组合。术语“包含”、“包括”、“具有”等是指所陈述的特征、元素、元件或组件的存在,但并不排除存在或添加一个或多个其他特征、元素、元件或组件。In the embodiments of this application, the terms "first", "second", etc. are used to distinguish different elements from the title, but do not indicate the spatial arrangement or temporal order of these elements, and these elements should not be used by these terms. restricted. The term "and/or" includes any and all combinations of one or more of the associated listed terms. The terms "comprises," "includes," "having" and the like refer to the presence of stated features, elements, elements or components but do not exclude the presence or addition of one or more other features, elements, elements or components.
在本申请实施例中,单数形式“一”、“该”等包括复数形式,应广义地理解为“一种”或“一类”而并不是限定为“一个”的含义;此外术语“所述”应理解为既包括单数形式也包括复数形式,除非上下文另外明确指出。此外术语“根据”应理解为“至少部分根据……”,术语“基于”应理解为“至少部分基于……”,除非上下文另外明确指出。In the embodiments of this application, the singular forms "a", "the", etc. include plural forms and should be broadly understood as "a" or "a type" and not limited to the meaning of "one"; in addition, the term "the" "" shall be understood to include both the singular and the plural unless the context clearly indicates otherwise. Furthermore, the term "based on" shall be understood to mean "based at least in part on," and the term "based on" shall be understood to mean "based at least in part on," unless the context clearly indicates otherwise.
针对一种实施方式描述和/或示出的特征可以以相同或类似的方式在一个或更多个其它实施方式中使用,与其它实施方式中的特征相组合,或替代其它实施方式中的特征。术语“包括/包含”在本文使用时指特征、整件、步骤或组件的存在,但并不排除一个或更多个其它特征、整件、步骤或组件的存在或附加。Features described and/or illustrated with respect to one embodiment may be used in the same or similar manner in one or more other embodiments, in combination with features in other embodiments, or in place of features in other embodiments . The term "comprising" when used herein refers to the presence of a feature, integer, step or component but does not exclude the presence or addition of one or more other features, integers, steps or components.
第一方面的实施例Embodiments of the first aspect
本申请实施例提供了一种便携式通信接口装置。该通信接口装置用于可编程逻辑控制器(PLC)与终端设备进行通信连接。An embodiment of the present application provides a portable communication interface device. The communication interface device is used for communication connection between a programmable logic controller (PLC) and terminal equipment.
图1是本申请实施例的便携式通信接口装置的一个示意图。如图1所示,便携式通信接口装置100包括:第一通信模块1、第二通信模块2、控制模块3以及电源模块4。其中,第一通信模块1通过通用串行总线(USB)接口与PLC进行连接。第二通信模块2使用蓝牙低能耗(BLE)的通信方式与所述终端设备进行无线连接。控制模块3对通过第一通信模块1以及第二通信模块2在PLC和终端设备之间的数据传输进行控制。电源模块4包括电池41,通过电池41对第一通信模块1、第二通信模块2和控制模块3进行供电。Figure 1 is a schematic diagram of a portable communication interface device according to an embodiment of the present application. As shown in FIG. 1 , the portable communication interface device 100 includes: a first communication module 1 , a second communication module 2 , a control module 3 and a power supply module 4 . Among them, the first communication module 1 is connected to the PLC through a universal serial bus (USB) interface. The second communication module 2 uses Bluetooth low energy (BLE) communication method to wirelessly connect with the terminal device. The control module 3 controls data transmission between the PLC and the terminal device through the first communication module 1 and the second communication module 2 . The power module 4 includes a battery 41, through which the first communication module 1, the second communication module 2 and the control module 3 are powered.
这样,通过通信接口装置使PLC与用户的终端设备进行无线通信,能够将已有的终端设备作为PLC的HMI装置,因此,通过已有的终端设备就能够方便地对PLC 进行控制或监测,并降低PLC的使用成本。并且,该通信接口装置通过蓝牙低能耗(BLE)的通信方式与终端设备通信,能够降低通信接口装置的能耗,进而,能够利用电池对整个通信接口装置进行供电,从而,能够使通信接口装置小型化,便于携带和使用。In this way, the communication interface device allows the PLC to communicate wirelessly with the user's terminal equipment, and the existing terminal equipment can be used as the HMI device of the PLC. Therefore, the PLC can be easily accessed through the existing terminal equipment. Control or monitor and reduce the cost of using PLC. Moreover, the communication interface device communicates with the terminal device through Bluetooth low energy (BLE) communication mode, which can reduce the energy consumption of the communication interface device. Furthermore, the battery can be used to power the entire communication interface device, so that the communication interface device can Miniature, easy to carry and use.
在一些实施例中,第一通信模块1通过USB的通信方式与PLC进行有线连接。例如,如图1所示,通信接口装置100还可以包括通用串行总线接口5。该串行总线接口5与第一通信模块1连接,并与PLC的通用串行总线接口连接。In some embodiments, the first communication module 1 is wired to the PLC through USB communication. For example, as shown in FIG. 1 , the communication interface device 100 may also include a universal serial bus interface 5 . The serial bus interface 5 is connected to the first communication module 1 and to the universal serial bus interface of the PLC.
在一些实施例中,通用串行总线接口5可以是各种类型的USB接口,例如,其可以是USB-TYPE A、USB-TYPE B、USB-TYPE C、USB-MICRO接口等等。In some embodiments, the universal serial bus interface 5 can be various types of USB interfaces, for example, it can be USB-TYPE A, USB-TYPE B, USB-TYPE C, USB-MICRO interface, etc.
在一些实施例中,在串行总线接口5插入PLC的USB母口后,第一通信模块1可以根据相应的通信协议向PLC传输数据或接收PLC发送的数据。In some embodiments, after the serial bus interface 5 is inserted into the USB female port of the PLC, the first communication module 1 can transmit data to the PLC or receive data sent by the PLC according to the corresponding communication protocol.
在一些实施例中,第二通信模块2使用BLE的通信方式与终端设备进行无线连接。由于BLE的通信方式能耗较低,因此,能够降低通信接口装置100的总体能耗,进而,能够利用电池对整个通信接口装置100进行供电,有利于通信接口装置100的小型化。In some embodiments, the second communication module 2 uses the BLE communication method to wirelessly connect with the terminal device. Since the BLE communication method consumes less energy, the overall energy consumption of the communication interface device 100 can be reduced. Furthermore, the battery can be used to power the entire communication interface device 100, which is beneficial to miniaturization of the communication interface device 100.
例如,在终端设备打开之后,终端设备可以通过搜索蓝牙设备等操作与第二通信模块2建立连接。此外,终端设备可以通过与PLC配套的应用程序(APP)向用户提供相应的HMI,便于用户操作,提高了用户体验。其中,该APP可以是基于安卓系统的应用程序(Android APP),也可以是基于IOS的应用程序(IOS APP);但本发明不限于此,例如还可以是运行在其他操作系统的应用程序。For example, after the terminal device is turned on, the terminal device can establish a connection with the second communication module 2 by searching for Bluetooth devices and other operations. In addition, the terminal device can provide users with corresponding HMI through the application program (APP) matched with the PLC, which facilitates user operation and improves user experience. Wherein, the APP can be an application program based on Android system (Android APP), or it can be an application program based on IOS (IOS APP); but the present invention is not limited to this, for example, it can also be an application program running on other operating systems.
在一些实施例中,如图1所示,通信接口装置100还可以包括天线8。在第一通信模块2与终端设备的相应的通信模块建立连接之后,第一通信模块2可以通过天线8发送给终端设备,此外,第一通信模块2还可以通过天线8接收终端设备发送的数据。In some embodiments, as shown in FIG. 1 , the communication interface device 100 may further include an antenna 8 . After the first communication module 2 establishes a connection with the corresponding communication module of the terminal device, the first communication module 2 can send data to the terminal device through the antenna 8. In addition, the first communication module 2 can also receive data sent by the terminal device through the antenna 8. .
在一些实施例中,控制模块3可以对通信接口装置100中的部件进行控制。例如,其可以控制通过第一通信模块1以及第二通信模块2在PLC和终端设备之间的数据传输。又例如,控制模块3还可以控制后述的显示模块6的动作,等等。In some embodiments, the control module 3 may control components in the communication interface device 100 . For example, it can control data transmission between the PLC and the terminal device through the first communication module 1 and the second communication module 2. For another example, the control module 3 can also control the actions of the display module 6 described later, and so on.
在一些实施例中,如图1所示,电源模块4可以对第一通信模块1、第二通信模块2和控制模块3进行供电。此外,电源模块4还可以对通信接口装置100整体进行 供电。例如,如图1所示,电源模块4还可以对通用串行总线接口5、以及后述的显示模块6和UART烧写口7进行供电。由于电源模块4可以对通信接口装置100整体进行供电,因此,能够实现PLC与终端设备随时的连接,方便易用。并且,不需要在通信接口装置100中再设置其他供电模块,有利于通信接口装置100的小型化;此外,通信接口装置100也不需要再连接外部的供电装置,能够省去外接HMI装置所需要的信号连接线和电源连接线,提高了通信接口装置100的便利性。In some embodiments, as shown in FIG. 1 , the power module 4 can power the first communication module 1 , the second communication module 2 and the control module 3 . In addition, the power module 4 can also perform the entire communication interface device 100 powered by. For example, as shown in Figure 1, the power module 4 can also supply power to the universal serial bus interface 5, as well as the display module 6 and UART programming port 7 described later. Since the power module 4 can supply power to the entire communication interface device 100, the connection between the PLC and the terminal equipment can be realized at any time, which is convenient and easy to use. Moreover, there is no need to install another power supply module in the communication interface device 100, which is conducive to miniaturization of the communication interface device 100; in addition, the communication interface device 100 does not need to be connected to an external power supply device, which can eliminate the need for an external HMI device. The signal connection line and the power connection line improve the convenience of the communication interface device 100.
在一些实施例中,电源模块4中的电池41可以是纽扣电池。由此,能够进一步减小通信接口装置100的体积,便于用户随身携带。例如,电池41可以包括两个输出电压为3V的纽扣电池,电池41的输出电压为6V。但是,本申请不限于此,也可以采用其他种类或其他数量的电池,也可以根据实际需要设置其他数值的输出电压。In some embodiments, the battery 41 in the power module 4 may be a button battery. As a result, the size of the communication interface device 100 can be further reduced, making it easier for the user to carry it around. For example, the battery 41 may include two button batteries with an output voltage of 3V, and the output voltage of the battery 41 is 6V. However, the present application is not limited to this. Other types or numbers of batteries can also be used, and other values of output voltage can also be set according to actual needs.
在一些实施例中,电源模块4还包括电源转化电路42。其中,电源转化电路42可以包括超低静态电流低压差稳压器(LDO)。与普通的LDO相比,通过采用超低静态电流LDO能够进一步降低通信接口装置100的功耗,从而能够延长电池41的使用寿命。此外,由于通信接口装置100的总体功耗很低,从而能够使用体积较小的纽扣电池对通信接口装置100中的各个部件供电。In some embodiments, the power module 4 further includes a power conversion circuit 42 . Among them, the power conversion circuit 42 may include an ultra-low quiescent current low dropout regulator (LDO). Compared with ordinary LDOs, the power consumption of the communication interface device 100 can be further reduced by using ultra-low quiescent current LDOs, thereby extending the service life of the battery 41 . In addition, since the overall power consumption of the communication interface device 100 is very low, a smaller button battery can be used to power various components in the communication interface device 100 .
在一些实施例中,如图1所示,超低静态电流LDO可以将电池41的输出电压转换为第一预设电压并提供给第一通信模块1、第二通信模块2和控制模块3。In some embodiments, as shown in FIG. 1 , the ultra-low quiescent current LDO can convert the output voltage of the battery 41 into a first preset voltage and provide it to the first communication module 1 , the second communication module 2 and the control module 3 .
在一些实施例中,超低静态电流LDO还可以电池41的输出电压转换为第二预设电压并提供给通用串行总线接口5。In some embodiments, the ultra-low quiescent current LDO can also convert the output voltage of the battery 41 into a second preset voltage and provide it to the universal serial bus interface 5 .
例如,在电源转化电路42中可以设置两级超低静态电流LDO,在电池41的输出电压为6V时,第一级LDO将6V转换成5V(第二预设电压)并提供给通用串行总线接口5;第二级LDO将第一级LDO输出的5V转换成3.3V(第一预设电压)并提供给第一通信模块1、第二通信模块2和控制模块3。由此,能够通过电源模块4为通信接口装置100内的各个模块提供合适的电压。但是,本申请不限于此,也可以在电源转化电路42中设置其他形式的超低静态电流LDO,或者根据需要使电源转化电路42输出多种输出电压。例如,通过一个超低静态电流LDO输出两种电压,即第一预设电压和第二预设电压。For example, a two-stage ultra-low quiescent current LDO can be set in the power conversion circuit 42. When the output voltage of the battery 41 is 6V, the first-stage LDO converts 6V into 5V (the second preset voltage) and provides it to the universal serial Bus interface 5; the second-level LDO converts the 5V output by the first-level LDO into 3.3V (first preset voltage) and provides it to the first communication module 1, the second communication module 2 and the control module 3. Therefore, the power module 4 can provide appropriate voltage to each module in the communication interface device 100 . However, the present application is not limited to this. Other forms of ultra-low quiescent current LDOs may also be provided in the power conversion circuit 42 , or the power conversion circuit 42 may be configured to output multiple output voltages as needed. For example, an ultra-low quiescent current LDO outputs two voltages, namely a first preset voltage and a second preset voltage.
在本申请实施例中,第一预设电压和第二预设电压可以根据实际需要而设置,本申请不对第一预设电压和第二预设电压的具体数值进行限制。 In the embodiment of the present application, the first preset voltage and the second preset voltage can be set according to actual needs, and the present application does not limit the specific values of the first preset voltage and the second preset voltage.
在一些实施例中,可以通过微控制器芯片(MCU)实现第一通信模块1、第二通信模块2和控制模块3的功能。例如,第一通信模块1、第二通信模块2和控制模块3可以集成在一个MCU中,由此,能够简化通信接口装置100内的硬件结构,减少部件之间的连接,使通信接口装置100能够小型化。例如,可以采用内置有USB Host和BLE的CH573F型号的MCU。该MCU在空闲模式下,功耗可以达到1.5mA,在睡眠模式下,功耗可以达到1.4μA~6μA。但是,本申请不限于此,也可以采用其他硬件形式来实现第一通信模块1、第二通信模块2和控制模块3的功能。In some embodiments, the functions of the first communication module 1, the second communication module 2 and the control module 3 can be implemented through a microcontroller chip (MCU). For example, the first communication module 1, the second communication module 2 and the control module 3 can be integrated into one MCU, thereby simplifying the hardware structure in the communication interface device 100, reducing the connections between components, and making the communication interface device 100 Can be miniaturized. For example, the CH573F model MCU with built-in USB Host and BLE can be used. In idle mode, the power consumption of this MCU can reach 1.5mA, and in sleep mode, the power consumption can reach 1.4μA~6μA. However, the present application is not limited to this, and other hardware forms may also be used to implement the functions of the first communication module 1, the second communication module 2, and the control module 3.
图2是本申请实施例的便携式通信接口装置100的功耗的一个示意图。在一些实施例中,在采用MCU实现第一通信模块1、第二通信模块2和控制模块3的功能的情况下,在MCU的工作模式下,例如,BLE模块进行信号发送时,MCU的功耗在4mA~6mA左右。在MCU内置的BLE模块完成信号发送之后,MCU可以进入空闲(idle)状态(空闲模式)。在空闲模式下,MCU的功耗在1.5mA左右。通过使MCU在发送信号之后进入空闲模式,能够使芯片的平均消费电流变小,例如,能够将平均消费电流降低至2.7mA左右。FIG. 2 is a schematic diagram of the power consumption of the portable communication interface device 100 according to the embodiment of the present application. In some embodiments, when an MCU is used to implement the functions of the first communication module 1, the second communication module 2 and the control module 3, in the working mode of the MCU, for example, when the BLE module transmits signals, the function of the MCU The consumption is around 4mA~6mA. After the MCU's built-in BLE module completes signal transmission, the MCU can enter the idle state (idle mode). In idle mode, the power consumption of the MCU is around 1.5mA. By causing the MCU to enter idle mode after sending a signal, the average current consumption of the chip can be reduced. For example, the average current consumption can be reduced to about 2.7mA.
在本申请实施例中,空闲状态是指MCU不进行信号的收发和处理等。In the embodiment of this application, the idle state means that the MCU does not transmit, receive, and process signals.
在一些实施例中,当MCU处于空闲状态的时间超过预设时间时,使MCU进入睡眠模式。由此,能够减少不必要的电量消耗,进一步降低通信接口装置100的功耗,延长电池的使用寿命。In some embodiments, when the MCU is in the idle state for more than a preset time, the MCU is caused to enter the sleep mode. Therefore, unnecessary power consumption can be reduced, the power consumption of the communication interface device 100 can be further reduced, and the service life of the battery can be extended.
在一些实施例中,如图1所示,通信接口装置100还可以包括:显示模块6。显示模块6可以与控制模块3连接,并显示通信接口装置100的工作状态。例如,控制模块3可以根据通信接口装置100的工作状态控制显示模块6的动作。In some embodiments, as shown in FIG. 1 , the communication interface device 100 may further include: a display module 6 . The display module 6 can be connected with the control module 3 and display the working status of the communication interface device 100 . For example, the control module 3 can control the action of the display module 6 according to the working state of the communication interface device 100 .
在一些实施例中,显示模块6可以是指示灯,通过指示灯的颜色和/或点亮熄灭等指示通信接口装置100的工作状态。但是,本申请不限于此,显示模块6也可以是其他形式。In some embodiments, the display module 6 may be an indicator light, which indicates the working status of the communication interface device 100 by the color of the indicator light and/or turning on and off. However, the present application is not limited to this, and the display module 6 may also be in other forms.
在一些实施例中,通信接口装置100还可以包括UART烧写口7,由此,能够对MCU芯片烧写相应的文件,以使MCU实现相应功能。In some embodiments, the communication interface device 100 may also include a UART programming port 7, whereby corresponding files can be programmed to the MCU chip to enable the MCU to implement corresponding functions.
在一些实施例中,通信接口装置100还可以包括开关(未图示),由此,能够通过开关控制通信接口装置100进行开关机。通过使通信接口装置100在不使用的状态下关机,能够进一步降低通信接口装置100的功耗,延长电池41的使用寿命。 In some embodiments, the communication interface device 100 may also include a switch (not shown), whereby the communication interface device 100 can be controlled to be turned on and off through the switch. By shutting down the communication interface device 100 when not in use, the power consumption of the communication interface device 100 can be further reduced and the service life of the battery 41 can be extended.
在一些实施例中,在通信接口装置100可以仅设置一个指示灯和/或开关,由此,能够进一步减少通信接口装置100的部件,有利于小型化。但是,本申请不限于此,也可以设置其他数量的指示灯和/或开关In some embodiments, only one indicator light and/or switch may be provided in the communication interface device 100, thereby further reducing the components of the communication interface device 100, which is beneficial to miniaturization. However, the application is not limited to this, and other numbers of indicator lights and/or switches may also be provided.
图3和图4是本申请实施例的便携式通信接口装置100的结构的一个示意图。在一些实施例中,如图3和图4所示,便携式通信接口装置100可以包括:第一容纳部10、第二容纳部9以及通用串行总线接口5(图3和图4中图4中示出)。其中,第一容纳部10可以容纳第一通信模块1、第二通信模块2和控制模块3(图3和图4中未图示);第二容纳部9可以从第一容纳部10的一端突出,并容纳电源模块4(图3和图4中未图示)。通用串行总线接口5从第一容纳部10的另一端突出(图3和图4中图4中示出)。如此设计通信接口装置100的各个部件的位置,使得结构紧凑,容易将通信接口装置100制作成类似于普通U盘的大小,便于用户随身携带。3 and 4 are schematic diagrams of the structure of the portable communication interface device 100 according to the embodiment of the present application. In some embodiments, as shown in FIGS. 3 and 4 , the portable communication interface device 100 may include: a first receiving part 10 , a second receiving part 9 and a universal serial bus interface 5 (FIG. 3 and FIG. 4 in FIG. 4 shown in ). Among them, the first accommodation part 10 can accommodate the first communication module 1, the second communication module 2 and the control module 3 (not shown in Figures 3 and 4); the second accommodation part 9 can be opened from one end of the first accommodation part 10 protrudes and accommodates the power module 4 (not shown in Figures 3 and 4). The universal serial bus interface 5 protrudes from the other end of the first receiving part 10 (shown in FIG. 4 of FIGS. 3 and 4 ). The positions of the various components of the communication interface device 100 are designed in this way, so that the structure is compact, and the communication interface device 100 can be easily made into a size similar to an ordinary U disk, making it convenient for users to carry it with them.
在一些实施例中,如图3和图4所示,第一容纳部10的宽度可以小于第二容纳部9的宽度。由此,能够进一步降低通信接口装置100的整体尺寸,减轻重量,便于携带。In some embodiments, as shown in FIGS. 3 and 4 , the width of the first receiving portion 10 may be smaller than the width of the second receiving portion 9 . As a result, the overall size and weight of the communication interface device 100 can be further reduced, making it easier to carry.
在一些实施例中,如图3和图4所示,通信接口装置100还可以包括盖部11。盖部11的内部设置有凹槽,盖部11通过该凹槽与通用串行总线接口5的嵌合来实现与第一容纳部10的卡合。这样,能够保护通用串行总线接口5并便于携带。In some embodiments, as shown in FIGS. 3 and 4 , the communication interface device 100 may further include a cover 11 . A groove is provided inside the cover part 11 , and the cover part 11 is engaged with the first receiving part 10 by fitting the groove with the universal serial bus interface 5 . In this way, the universal serial bus interface 5 can be protected and portable.
以下,示例性地对通信接口装置100的操作方式进行说明。例如,当用户在进入工业现场时,可以长按设置在通信接口装置100表面的开关(未图示)使通信接口装置100开机,打开盖部11后,将通用串行总线接口5插入PLC的USB母口。通过在终端设备上运行相关APP,搜索蓝牙设备并连接通信接口装置100。随后,可以在APP侧对PLC进行监视和数据传送。使用完毕后,可以从USB母口拔下通信接口装置100,长按开关使通信接口装置100关机,盖上盖部11。但是,本申请不限于此,也可以调整以上的操作步骤的顺序,例如,也可以先将通信接口装置100和终端设备建立BLE蓝牙连接,再将通信接口装置100插入PLC的USB母口。The operation mode of the communication interface device 100 is exemplarily described below. For example, when a user enters an industrial site, he or she can long-press a switch (not shown) provided on the surface of the communication interface device 100 to turn on the communication interface device 100. After opening the cover 11, the universal serial bus interface 5 can be inserted into the PLC. USB female port. By running the relevant APP on the terminal device, the Bluetooth device is searched and connected to the communication interface device 100 . Subsequently, the PLC can be monitored and data transferred on the APP side. After use, the communication interface device 100 can be unplugged from the USB female port, long press the switch to shut down the communication interface device 100, and cover the cover 11. However, the present application is not limited to this, and the order of the above operation steps can also be adjusted. For example, the communication interface device 100 and the terminal device can first establish a BLE Bluetooth connection, and then the communication interface device 100 can be inserted into the USB female port of the PLC.
根据上述实施例,通过通信接口装置使PLC与用户的终端设备进行无线通信,能够将已有的终端设备作为PLC的HMI装置,因此,通过已有的终端设备就能够方便地对PLC进行控制或监测,并降低PLC的使用成本。并且,该通信接口装置通过蓝牙低能耗(BLE)的通信方式与终端设备通信,能够降低通信接口装置的能耗,进 而,能够利用电池对整个通信接口装置进行供电,从而,能够使通信接口装置小型化,便于携带和使用。According to the above embodiment, the communication interface device allows the PLC to wirelessly communicate with the user's terminal equipment, and the existing terminal equipment can be used as the HMI device of the PLC. Therefore, the PLC can be easily controlled or controlled through the existing terminal equipment. Monitor and reduce PLC usage costs. Moreover, the communication interface device communicates with the terminal device through Bluetooth low energy (BLE) communication method, which can reduce the energy consumption of the communication interface device and further improve the efficiency of the communication interface device. However, the battery can be used to power the entire communication interface device, so that the communication interface device can be miniaturized and easy to carry and use.
第二方面的实施例Embodiments of the second aspect
本申请实施例提供了一种通信系统。图5是本申请实施例的通信系统200的一个示意图。如图5所示,通信系统200的可以包括如第一方面的实施例所述的便携式通信接口装置100、可编程逻辑控制器(PLC)101以及终端设备102。The embodiment of the present application provides a communication system. Figure 5 is a schematic diagram of the communication system 200 according to the embodiment of the present application. As shown in FIG. 5 , the communication system 200 may include the portable communication interface device 100 as described in the embodiment of the first aspect, a programmable logic controller (PLC) 101 and a terminal device 102 .
在一些实施例中,便携式通信接口装置100通过通用串行总线(USB)接口与PLC 101进行连接,使用蓝牙低能耗(BLE)的通信方式与终端设备102进行无线连接。由此,能够使PLC 101与用户的终端设备102进行无线通信,将已有的终端设备102作为PLC 101的HMI装置,因此,能够方便地对PLC 101进行控制或监测并降低PLC 101的使用成本。此外,该通信接口装置100通过BLE与终端设备102通信,能够降低通信接口装置100的能耗,进而,能够利用电池对整个通信接口装置100进行供电,从而,能够使通信接口装置100小型化,便于携带和使用。In some embodiments, the portable communication interface device 100 is connected to the PLC 101 through a universal serial bus (USB) interface, and wirelessly connected to the terminal device 102 using a Bluetooth low energy (BLE) communication method. As a result, the PLC 101 can wirelessly communicate with the user's terminal equipment 102, and the existing terminal equipment 102 can be used as the HMI device of the PLC 101. Therefore, the PLC 101 can be easily controlled or monitored and the use cost of the PLC 101 can be reduced. . In addition, the communication interface device 100 communicates with the terminal device 102 through BLE, which can reduce the energy consumption of the communication interface device 100. Furthermore, the battery can be used to power the entire communication interface device 100, thereby miniaturizing the communication interface device 100. Easy to carry and use.
在一些实施例中,如图5所示,终端设备102可以是用户的各种终端设备。例如,终端设备102可以包括但不限于如下设备:智能手机、蜂窝电话(Cellular Phone)、个人数字助理(PDA,Personal Digital Assistant)、无线调制解调器、无线通信设备、手持设备、机器型通信设备、膝上型计算机、无绳电话、智能手表、数字相机,等等。In some embodiments, as shown in Figure 5, the terminal device 102 may be various terminal devices of the user. For example, the terminal device 102 may include, but is not limited to, the following devices: a smartphone, a cellular phone, a personal digital assistant (PDA, Personal Digital Assistant), a wireless modem, a wireless communication device, a handheld device, a machine-type communication device, a laptop PCs, cordless phones, smart watches, digital cameras, and more.
在一些实施例中,如图5所示,终端设备102可以通过与PLC 101配套的应用程序(APP)向用户提供相应的HMI界面,便于用户操作,提高了用户体验。In some embodiments, as shown in Figure 5, the terminal device 102 can provide a corresponding HMI interface to the user through an application program (APP) matched with the PLC 101, which facilitates user operation and improves the user experience.
在一些实施例中,如图5所示,通信接口装置100、PLC 101和终端设备102可以通过软件和硬件结合的方式实现。在软件部分,通信接口装置100、PLC 101和终端设备102可以通过对应的接口协议进行数据解析或数据组装等。其中,接口协议的内容、数据解析和数据组装的方式可以参考相关技术。在硬件方面,通信接口装置100与PLC 101通过USB接口的方式进行有线连接,通信接口装置100与终端设备102通过天线以BLE的通信方式进行无线连接。In some embodiments, as shown in Figure 5, the communication interface device 100, PLC 101 and terminal device 102 can be implemented by a combination of software and hardware. In the software part, the communication interface device 100, PLC 101 and terminal equipment 102 can perform data analysis or data assembly through corresponding interface protocols. Among them, the content of the interface protocol, data analysis and data assembly methods can refer to relevant technologies. In terms of hardware, the communication interface device 100 and the PLC 101 are wired through a USB interface, and the communication interface device 100 and the terminal device 102 are wirelessly connected through an antenna using a BLE communication method.
根据上述实施例,通过通信接口装置使PLC与用户的终端设备进行无线通信,能够将已有的终端设备作为PLC的HMI装置,因此,通过已有的终端设备就能够方 便地对PLC进行控制或监测,并降低PLC的使用成本。并且,该通信接口装置通过蓝牙低能耗(BLE)的通信方式与终端设备通信,能够降低通信接口装置的能耗,进而,能够利用电池对整个通信接口装置进行供电,从而,能够使通信接口装置小型化,便于携带和使用。According to the above embodiment, the communication interface device allows the PLC to perform wireless communication with the user's terminal equipment, and the existing terminal equipment can be used as the HMI device of the PLC. Therefore, the existing terminal equipment can be used to easily Conveniently control or monitor PLC and reduce PLC usage costs. Moreover, the communication interface device communicates with the terminal device through Bluetooth low energy (BLE) communication mode, which can reduce the energy consumption of the communication interface device. Furthermore, the battery can be used to power the entire communication interface device, so that the communication interface device can Miniature, easy to carry and use.
值得注意的是,以上仅示意性地对本申请实施例进行了说明,但本申请不限于此。例如可以适当地调整通信系统中各个部件之间的连接关系,此外还可以增加其他的一些部件或者减少其中的某些部件。本领域的技术人员可以根据上述内容进行适当地变型,而不仅限于上述记载。 It is worth noting that the embodiments of the present application are only schematically described above, but the present application is not limited thereto. For example, the connection relationship between various components in the communication system can be appropriately adjusted, and other components can also be added or some components reduced. Those skilled in the art can make appropriate modifications based on the above content, and are not limited to the above description.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210227835.5A CN114509990A (en) | 2022-03-08 | 2022-03-08 | Portable communication interface device |
| CN202210227835.5 | 2022-03-08 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023169411A1 true WO2023169411A1 (en) | 2023-09-14 |
Family
ID=81553951
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/080056 Ceased WO2023169411A1 (en) | 2022-03-08 | 2023-03-07 | Portable communication interface apparatus |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114509990A (en) |
| WO (1) | WO2023169411A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114509990A (en) * | 2022-03-08 | 2022-05-17 | 欧姆龙(上海)有限公司 | Portable communication interface device |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH117310A (en) * | 1997-06-18 | 1999-01-12 | Omron Corp | Data communication method and device |
| CN202066623U (en) * | 2010-12-27 | 2011-12-07 | 北京赛德高科铁道电气科技有限责任公司 | Pantograph static pressure detection terminal, controller and detection system |
| CN204168274U (en) * | 2014-10-15 | 2015-02-18 | 刘方 | A kind of signal translating system |
| CN204496242U (en) * | 2015-02-04 | 2015-07-22 | 北京和利时机器控制技术有限公司 | A kind of PLC radio communication device |
| CN204669362U (en) * | 2015-05-12 | 2015-09-23 | 安徽中通信达能源科技发展有限公司 | A kind of blue-tooth radio transmission device based on PLC |
| CN108255124A (en) * | 2016-12-28 | 2018-07-06 | 欧姆龙株式会社 | The methods, devices and systems transmitted to PLC into line program and parameter |
| CN110830566A (en) * | 2019-10-31 | 2020-02-21 | 深圳市禾望电气股份有限公司 | Programmable logic controller, processing method thereof and single-network-port multi-network communication system |
| US20210063990A1 (en) * | 2019-08-26 | 2021-03-04 | Toyota Motor Engineering & Manufacturing North America, Inc. | Interface assemblies for manufacturing components |
| CN114509990A (en) * | 2022-03-08 | 2022-05-17 | 欧姆龙(上海)有限公司 | Portable communication interface device |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201804245U (en) * | 2010-09-14 | 2011-04-20 | 西门子公司 | A programmable logic control system and programmable logic control module based on wireless technology |
| CN204314689U (en) * | 2015-01-09 | 2015-05-06 | 南京机电职业技术学院 | Based on the PLC wireless control system of Bluetooth transmission |
| CN206096897U (en) * | 2016-09-29 | 2017-04-12 | 西门子(中国)有限公司 | Programmable logic controler , readwrite device and programmable logic control system |
| CN207498860U (en) * | 2017-10-13 | 2018-06-15 | 田娟 | It is a kind of to be locked with the APP parking stalls operated |
| JP2019106158A (en) * | 2018-01-18 | 2019-06-27 | 株式会社デンソー九州 | production management system |
| CN111782199B (en) * | 2019-12-27 | 2024-04-16 | 江苏恩达通用设备有限公司 | Development method of PLC graphical editor based on XML technology |
| CN111240493A (en) * | 2020-01-22 | 2020-06-05 | 惠州市鸿盛达电子科技有限公司 | Office keyboard based on Bluetooth and 2.4G dual-mode transmission |
| CN212846475U (en) * | 2020-08-25 | 2021-03-30 | 镇江市高等专科学校 | Programmable controller programming communication interface device |
| CN215895289U (en) * | 2021-06-11 | 2022-02-22 | 深圳市弘业自动化技术有限公司 | Bluetooth repeater for PLC wireless data interaction |
| CN217157133U (en) * | 2022-03-08 | 2022-08-09 | 欧姆龙(上海)有限公司 | Portable communication interface device |
-
2022
- 2022-03-08 CN CN202210227835.5A patent/CN114509990A/en active Pending
-
2023
- 2023-03-07 WO PCT/CN2023/080056 patent/WO2023169411A1/en not_active Ceased
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH117310A (en) * | 1997-06-18 | 1999-01-12 | Omron Corp | Data communication method and device |
| CN202066623U (en) * | 2010-12-27 | 2011-12-07 | 北京赛德高科铁道电气科技有限责任公司 | Pantograph static pressure detection terminal, controller and detection system |
| CN204168274U (en) * | 2014-10-15 | 2015-02-18 | 刘方 | A kind of signal translating system |
| CN204496242U (en) * | 2015-02-04 | 2015-07-22 | 北京和利时机器控制技术有限公司 | A kind of PLC radio communication device |
| CN204669362U (en) * | 2015-05-12 | 2015-09-23 | 安徽中通信达能源科技发展有限公司 | A kind of blue-tooth radio transmission device based on PLC |
| CN108255124A (en) * | 2016-12-28 | 2018-07-06 | 欧姆龙株式会社 | The methods, devices and systems transmitted to PLC into line program and parameter |
| US20210063990A1 (en) * | 2019-08-26 | 2021-03-04 | Toyota Motor Engineering & Manufacturing North America, Inc. | Interface assemblies for manufacturing components |
| CN110830566A (en) * | 2019-10-31 | 2020-02-21 | 深圳市禾望电气股份有限公司 | Programmable logic controller, processing method thereof and single-network-port multi-network communication system |
| CN114509990A (en) * | 2022-03-08 | 2022-05-17 | 欧姆龙(上海)有限公司 | Portable communication interface device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114509990A (en) | 2022-05-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3121706A1 (en) | Control method and control system for working mode of mobile device | |
| CN206440947U (en) | A kind of control system for smart home | |
| WO2023169411A1 (en) | Portable communication interface apparatus | |
| CN105352121A (en) | Remote control system and method based on mobile phone terminal | |
| CN208385007U (en) | It is a kind of can voice control switch | |
| CN206833180U (en) | A kind of Intelligent housing panel of a variety of power supply modes of compatibility | |
| CN217157133U (en) | Portable communication interface device | |
| CN212412804U (en) | A new circuit with both wireless communication and fast charging multi-protocol decoy | |
| CN204759710U (en) | Site environment parameter monitoring module based on zigBee wireless LAN | |
| CN204498295U (en) | A kind of remote controller | |
| CN205119359U (en) | Remote control system based on mobilephone terminal | |
| CN215118307U (en) | Remote control module integrating voice recognition and Bluetooth BLE | |
| CN217216577U (en) | Bluetooth transparent transmission module system | |
| CN110351429A (en) | A kind of method and device using mobile phone based on wireless mode configuration serial equipment | |
| CN108196604A (en) | Luminous energy powered, wireless temperature control system | |
| CN207690276U (en) | A kind of multifunctional household remote controler based on smart machine | |
| CN220105679U (en) | Portable communication device | |
| CN201418075Y (en) | A bluetooth short distance wireless communication device | |
| CN110888366A (en) | General type center control system device | |
| CN217655444U (en) | Hand-held wireless man-machine interaction interface device | |
| CN205751198U (en) | A kind of learning type intellectual remote controller based on ZIGBEE radio communication | |
| CN216700340U (en) | General handheld mobile terminal based on Internet of things | |
| CN223364296U (en) | A lighting control device based on Bluetooth control | |
| CN103048700A (en) | Micro weather station based on earphone transmission data | |
| CN218676239U (en) | Handheld meter reading terminal based on wireless communication |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23765989 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23765989 Country of ref document: EP Kind code of ref document: A1 |