An Embedded-Oriented Construction Method for Optoelectronic Device Nodes

By building data processing units in embedded devices and adopting common interface processing protocols, the problem that embedded devices are difficult to interact with external systems is solved, and efficient device reuse and flexible system expansion is achieved.

CN115623047BActive Publication Date: 2025-05-30LUOYANG INST OF ELECTRO OPTICAL EQUIP OF AVIC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210995340.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-18
Publication Date
2025-05-30
Estimated Expiration
2042-08-18

AI Technical Summary

Technical Problem

Existing embedded devices are difficult to interact with external systems, and the high coupling, low reusability and poor interchangeability between embedded devices, resulting in difficulty in system expansion and maintenance.

Method used

By building a data processing unit, using a common interface processing protocol, and defining communication methods between and with external systems of embedded optoelectronic devices, data processing and fast access of embedded optoelectronic devices are realized, and distributed deployment and interconnection are supported.

Benefits of technology

It reduces the coupling between embedded optoelectronic devices and external systems, improves the reusability and interchangeability of equipment, and simplifies the system expansion and maintenance process.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present invention provides a method for constructing an optoelectronic device node for embedded applications. By constructing a data processing unit, adopting a general interface processing protocol, and defining the communication methods between embedded optoelectronic devices and between embedded optoelectronic devices and other subsystem devices, data processing of the embedded optoelectronic devices, rapid access to other subsystems, distributed deployment and interconnection of multiple embedded optoelectronic devices are realized, thereby improving the reusability of the embedded optoelectronic devices and reducing the difficulty of updating and maintaining the embedded optoelectronic devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of embedded system design, and particularly relates to a method for constructing an optoelectronic device node for embedded applications. Background Art

[0002] Most current embedded devices can only interact with fixed control nodes, are tightly coupled with the control nodes, are difficult to access external systems, and it is also difficult for embedded devices to interact with each other. When adding new embedded devices or removing existing embedded devices in the system, adaptive upgrades and maintenance are required, with a lot of repetitive work and a large workload, which limits the efficient use of embedded devices. Summary of the Invention

[0003] In order to overcome the deficiencies of the prior art, the present invention provides a method for constructing an optoelectronic device node for embedded applications. By constructing a data processing unit, adopting a general interface processing protocol, and defining the communication methods between embedded optoelectronic devices and between embedded optoelectronic devices and other subsystem devices, data processing of embedded optoelectronic devices, rapid access to other subsystems, distributed deployment and interconnection of multiple embedded optoelectronic devices are realized, thereby improving the reusability of embedded optoelectronic devices and reducing the difficulty of updating and maintaining embedded optoelectronic devices. The present invention solves the problems of high coupling, low reusability, and poor interchangeability between embedded optoelectronic devices and between embedded optoelectronic devices and their subsystem devices.

[0004] A method for constructing an optoelectronic device node for an embedded system, characterized in that: the hardware of the optoelectronic device control node is a data processing unit; communication links are established with each subsystem node in the embedded system where the optoelectronic device control node is located through RS422, RS232, PCI-E, and SRIO, and a communication link is established with an external system node through Ethernet, and each node has an independent IP address; a general interface processing protocol is used to conduct data communication with each subsystem node or an external system in the embedded system where the optoelectronic device control node is located; according to the control commands of other systems and the working status of the infrared sensor, control commands for the infrared sensor node are generated to control the operation of the infrared sensor node, and the angle information and image data of the target are obtained and output according to the image information output by the infrared sensor; according to the control commands of other systems and the working status of the radar sensor, control commands for the radar sensor node are generated to control the operation of the radar sensor node, and the distance and speed information of the target are obtained and output according to the status information reported by the radar sensor node; according to the control commands of other systems and the working status of the laser sensor, control commands for the laser sensor node are generated to control the operation of the laser sensor node, and the distance and angle information of the target are obtained and output according to the status information reported by the laser sensor node; according to the control commands of other systems and the working status of the servo control system, servo control commands are generated to make it rotate at the required speed within the specified range; control the operation of the optoelectronic device control node, and output the working status, working results, target information, and health information.

[0005] The described data processing unit includes a processor CPU, a programmable logic FPGA, a DDR memory, a FLASH memory, an NVRAM memory, a power supply unit, a clock unit, a reset unit, an Ethernet interface unit, an RS422 interface unit, an RS232 interface unit, a PCI-E interface unit, and an SRIO interface unit; among them, the processor CPU has at least 2 Ethernet controllers; the processor CPU, the DDR memory, the FLASH memory, and the NVRAM memory together provide a hardware operating environment for the operating system and the application programs of the embedded optoelectronic device control node, and provide support for the Ethernet interface unit, the PCI-E interface unit, and the SRIO interface unit; the image of the application program of the embedded optoelectronic device control node is stored in the FLASH memory; the operating system and the application programs of the embedded optoelectronic device control node are loaded into the DDR memory and run after power-on; the NVRAM memory stores the configuration information of the application program of the embedded optoelectronic device control node and the status information that needs to be maintained after restart; the programmable logic FPGA implements the RS422 and RS232 communication protocols and provides support for the reset unit; the power supply unit provides power with a specified power for the embedded optoelectronic device control node and controls the power-on sequence; the clock unit provides clock oscillators for the processor CPU, the programmable logic FPGA, the DDR memory, and the RS422 interface unit; the reset unit provides reset signals for the entire data processing unit, the processor CPU, and the Ethernet interface unit; the Ethernet interface unit, the RS422 interface unit, the RS232 interface unit, the PCI-E interface unit, and the SRIO interface unit provide communication interfaces for the external communication of the embedded optoelectronic device control node.

[0006] The application program of the described embedded optoelectronic device control node provides for receiving external control commands and the working status and operation results of other subsystems of the embedded device where it is located, controlling the operation of the embedded device and its subsystems, converting between bus data and the general interface processing protocol, and outputting the working status, working results, target information, and health information of the embedded device.

[0007] Specifically, the details of using the general interface processing protocol to communicate with each subsystem node or external system in the embedded system where the optoelectronic device control node is located include: decoupling the general interface processing protocol from the underlying bus and not relying on a specific bus interface protocol; the embedded optoelectronic device control node adopts the general interface processing protocol. Among them, the specific method for the embedded optoelectronic device control node to adopt the general interface processing protocol is as follows: converting the bus control commands received by the embedded optoelectronic device control node into the general interface processing protocol; generating bus data of the working state, working result, target information, and health information according to the general interface processing protocol; converting the working state and working result of the subsystem received by the embedded optoelectronic device control node into the general interface processing protocol; generating bus command data for controlling the subsystem according to the general interface processing protocol.

[0008] Specifically, controlling the operation of the optoelectronic device control node and outputting the working state, working result, target information, and health information means that: the embedded optoelectronic device control node receives control commands from other systems and converts them into the general interface processing protocol, generates bus command data for controlling each subsystem, and sends it to each subsystem; the embedded optoelectronic device control node periodically collects the working state, operation result, and target information of other subsystems in the embedded device where it is located, converts them into the general interface processing protocol, and finally generates bus data and sends it to other systems; the embedded optoelectronic device control node periodically performs self-checks on the data processing unit where it is located, periodically collects self-check information of other subsystems in the embedded device where it is located, converts them into the general interface processing protocol, and finally generates bus data and sends it to other systems.

[0009] The beneficial effects of the present invention are:

[0010] 1) Reduce the coupling degree between the embedded optoelectronic device and other embedded optoelectronic devices or other optoelectronic sensor subsystems, facilitating the expansion of the entire system. When adding a new embedded optoelectronic device or optoelectronic sensor subsystem, or removing an existing embedded optoelectronic device or optoelectronic sensor subsystem, the embedded optoelectronic device control node can process bus data according to the general interface processing protocol;

[0011] 2) Improve the reusability of the embedded device. The control commands of the embedded device can come from any other embedded device or other system that communicates with it, and the embedded device can provide function and working state information for these control command senders at the same time;

[0012] 3) Improve the interchangeability of the embedded device. As long as the same communication interface (Ethernet) and communication protocol are met, they can be replaced arbitrarily, supporting the update or replacement of manufacturers of the embedded device;

[0013] 4) Support the transformation of old embedded devices and give them new functions. Old embedded devices generally use fixed buses to cross-link with fixed systems. By adding embedded optoelectronic device control nodes to control the old embedded devices, the old embedded devices can be easily connected to the new system. Detailed implementation manner

[0014] The optoelectronic device control node for embedded systems constructed by the present invention consists of the following parts:

[0015] 1) Data processing unit, including a processor CPU, a programmable logic FPGA, a DDR memory, a FLASH memory, an NVRAM memory, a power supply unit, a clock unit, a reset unit, an Ethernet interface unit, an RS422 interface unit, an RS232 interface unit, a PCI-E interface unit, and an SRIO interface unit; among them, the processor CPU has at least 2 Ethernet controllers; the processor CPU, the DDR memory, the FLASH memory, and the NVRAM memory jointly provide a hardware operating environment for the operating system and the application programs of the embedded optoelectronic device control node, and provide support for the Ethernet interface unit, the PCI-E interface unit, and the SRIO interface unit; the mirror image of the application program of the embedded optoelectronic device control node is stored in the FLASH memory; the operating system and the application programs of the embedded optoelectronic device control node are loaded into the DDR memory to run after power-on; the NVRAM memory stores the configuration information of the application program of the embedded optoelectronic device control node and the status information that needs to be maintained after restart; the programmable logic FPGA implements the RS422 and RS232 communication protocols and provides support for the reset unit; the power supply unit provides power with a specified power for the embedded optoelectronic device control node and controls the power-on sequence; the clock unit provides clock crystals for the processor CPU, the programmable logic FPGA, the DDR memory, and the RS422 interface unit; the reset unit provides reset signals for the entire data processing unit, the processor CPU, and the Ethernet interface unit; the Ethernet interface unit, the RS422 interface unit, the RS232 interface unit, the PCI-E interface unit, and the SRIO interface unit provide communication interfaces for the external communication of the embedded optoelectronic device control node.

[0016] The data processing unit provides an operating environment and communication functions for the embedded optoelectronic device control node.

[0017] 2) The application program of the embedded optoelectronic device control node provides functions of receiving external control commands, the working status and operation results of other subsystems of the embedded device where it is located, controlling the operation of the embedded device and its subsystems, converting between bus data and general interface processing protocols, and outputting the working status, working results, target information, and health information of the embedded device.

[0018] 3) Embedded devices that need to be connected to other embedded devices or other systems.

[0019] The preparatory work before implementing the solution of the present invention includes:

[0020] Step 1: Manufacture embedded devices. Manufacture corresponding embedded devices according to different requirements;

[0021] Step 2: Manufacture a data processing unit. This data processing unit is general hardware and can be reused by different embedded optoelectronic device control nodes;

[0022] Step 3: Manufacture a sensor unit. The same type of sensors are general hardware and can be reused in different embedded optoelectronic devices;

[0023] Step 4: Develop a general interface processing protocol. This content is a general function and can be reused by different embedded optoelectronic device control nodes;

[0024] Step 5: Develop application programs for embedded optoelectronic device control nodes. Develop corresponding application programs for different embedded devices.

[0025] The specific implementation manner of the present invention is as follows:

[0026] 1) Burn the application program of the embedded optoelectronic device control node that supports the general interface processing protocol and the operating system developed into the FLASH memory of the data processing unit;

[0027] 2) Connect the data processing unit to the embedded device. According to the requirements of the embedded device, buses such as Ethernet, RS422, RS232, PCI-E, SRIO, etc. can be selected. If the Ethernet connection method is adopted, the network addresses of the data processing unit and the embedded device need to be set respectively;

[0028] 3) Connect the data processing unit to other systems and set the network address of the data processing unit;

[0029] 4) Connect the data processing unit to the sensor subsystem and set the device address or serial communication parameters of the data processing unit;

[0030] 5) After the embedded optoelectronic device control node is powered on, it automatically loads and runs the operating system, and then sequentially loads and runs the application program of the embedded optoelectronic device control node that supports the general interface processing protocol;

[0031] 6) After the embedded device is powered on, the embedded optoelectronic device control node establishes communication connections with each subsystem and other systems;

[0032] 7) The embedded optoelectronic device control node receives control commands from other systems, converts them into a general interface processing protocol, finally generates bus command data for controlling each subsystem, and sends it to each subsystem;

[0033] 8) The embedded optoelectronic device control node periodically collects the working status, operation results, and target information of other subsystems in the embedded device where it is located, converts them into a general interface processing protocol, and finally generates bus data and sends it to other systems;

[0034] 9) The embedded optoelectronic device control node periodically performs self-checks on the data processing unit where it is located, periodically collects self-check information of other subsystems in the embedded device where it is located, converts them into a general interface processing protocol, and finally generates bus data and sends it to other systems.

Claims

1. An embedded-oriented method for constructing an optoelectronic device node, characterized in that: The hardware of the optoelectronic device control node is a data processing unit; communication links are established with each subsystem node in the embedded system where the optoelectronic device control node is located through RS422, RS232, PCI-E, and SRIO, and a communication link is established with an external system node through Ethernet, and each node has an independent IP address; a general interface processing protocol is used to perform data communication with each subsystem node or an external system in the embedded system where the optoelectronic device control node is located; according to the control commands of other systems and the working status of the infrared sensor, control commands for the infrared sensor node are generated to control the operation of the infrared sensor node, and the angle information and image data of the target are obtained and output according to the image information output by the infrared sensor; according to the control commands of other systems and the working status of the radar sensor, control commands for the radar sensor node are generated to control the operation of the radar sensor node, and the distance and speed information of the target are obtained and output according to the status information reported by the radar sensor node; according to the control commands of other systems and the working status of the laser sensor, control commands for the laser sensor node are generated to control the operation of the laser sensor node, and the distance and angle information of the target are obtained and output according to the status information reported by the laser sensor node; according to the control commands of other systems and the working status of the servo control system, servo control commands are generated to make it rotate at the required speed within a specified range; control the operation of the optoelectronic device control node, and output the working status, working results, target information, and health information; The data processing unit includes a processor CPU, a programmable logic FPGA, a DDR memory, a FLASH memory, an NVRAM memory, a power supply unit, a clock unit, a reset unit, an Ethernet interface unit, an RS422 interface unit, an RS232 interface unit, a PCI-E interface unit, and an SRIO interface unit; among them, the processor CPU has at least 2 Ethernet controllers; the processor CPU, the DDR memory, the FLASH memory, and the NVRAM memory jointly provide a hardware operating environment for the operating system and the application programs of the embedded optoelectronic device control node, and provide support for the Ethernet interface unit, the PCI-E interface unit, and the SRIO interface unit; the image of the application program of the embedded optoelectronic device control node is stored in the FLASH memory; the operating system and the application programs of the embedded optoelectronic device control node are loaded into the DDR memory to run after power-on; the NVRAM memory stores the configuration information of the application program of the embedded optoelectronic device control node and the status information that needs to be maintained after restart; the programmable logic FPGA implements the RS422 and RS232 communication protocols and provides support for the reset unit; the power supply unit provides power of a specified power for the embedded optoelectronic device control node and controls the power-on sequence; the clock unit provides clock oscillators for the processor CPU, the programmable logic FPGA, the DDR memory, and the RS422 interface unit; the reset unit provides reset signals for the entire data processing unit, the processor CPU, and the Ethernet interface unit; the Ethernet interface unit, the RS422 interface unit, the RS232 interface unit, the PCI-E interface unit, and the SRIO interface unit provide communication interfaces for the embedded optoelectronic device control node to communicate externally; The application program of the embedded optoelectronic device control node provides receiving external control commands and the working status and operation results of other subsystems of the embedded device where it is located, controlling the operation of the embedded device and its subsystems, converting between bus data and the general interface processing protocol, and outputting the working status, working results, target information, and health information of the embedded device.

2. A method for constructing an optoelectronic device node for an embedded system as described in claim 1, characterized in that: The specific content of using the general interface processing protocol to communicate with each subsystem node or external system in the embedded system where the optoelectronic device control node is located includes: decoupling the general interface processing protocol from the underlying bus and not relying on a specific bus interface protocol; the embedded optoelectronic device control node uses the general interface processing protocol; Among them, the specific way for the embedded optoelectronic device control node to use the general interface processing protocol is: converting the bus control commands received by the embedded optoelectronic device control node into the general interface processing protocol; generating bus data of the working status, working results, target information, and health information according to the general interface processing protocol; converting the working status and working results of the subsystem received by the embedded optoelectronic device control node into the general interface processing protocol; generating bus command data for controlling the subsystem according to the general interface processing protocol.

3. The method for constructing an optoelectronic device node for an embedded system as described in claim 1, characterized in that: controlling the operation of the optoelectronic device control node and outputting the working state, working result, target information, and health information means that the embedded optoelectronic device control node receives control commands from other systems and converts them into a general interface processing protocol, generates bus command data for controlling each subsystem, and sends it to each subsystem; the embedded optoelectronic device control node periodically collects the working state, operation result, and target information of other subsystems in the embedded device where it is located, converts them into a general interface processing protocol, and finally generates bus data and sends it to other systems; the embedded optoelectronic device control node periodically performs self-checks on the data processing unit where it is located, periodically collects self-check information of other subsystems in the embedded device where it is located, converts them into a general interface processing protocol, and finally generates bus data and sends it to other systems.

Citation Information

Patent Citations

  • Design method for embedded generic node with remote service function

    CN102710792A

  • Special dynamic data collecting and analyzing method and system

    CN104581766A