CN111680559B - Method, system, device and storage medium for rapidly synchronizing sensor signal names - Google Patents

Method, system, device and storage medium for rapidly synchronizing sensor signal names Download PDF

Info

Publication number
CN111680559B
CN111680559B CN202010359505.2A CN202010359505A CN111680559B CN 111680559 B CN111680559 B CN 111680559B CN 202010359505 A CN202010359505 A CN 202010359505A CN 111680559 B CN111680559 B CN 111680559B
Authority
CN
China
Prior art keywords
sensor
model
sensor signal
names
name
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.)
Active
Application number
CN202010359505.2A
Other languages
Chinese (zh)
Other versions
CN111680559A (en
Inventor
黄坚
约瑟夫
张丽茵
温伟伟
刘绍福
王跃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mino Automotive Equipment Shanghai Co ltd
Guangzhou Mino Automotive Equipment Co Ltd
Original Assignee
Mino Automotive Equipment Shanghai Co ltd
Guangzhou Mino Automotive Equipment Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Mino Automotive Equipment Shanghai Co ltd, Guangzhou Mino Automotive Equipment Co Ltd filed Critical Mino Automotive Equipment Shanghai Co ltd
Priority to CN202010359505.2A priority Critical patent/CN111680559B/en
Publication of CN111680559A publication Critical patent/CN111680559A/en
Application granted granted Critical
Publication of CN111680559B publication Critical patent/CN111680559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The application discloses a method, a system, a device and a storage medium for rapidly synchronizing sensor signal names, wherein the method comprises the following steps: creating a sensor 3D model; naming the 3D model of the sensor according to a preset rule to obtain the name of the 3D model of the sensor; the sensor signal names are acquired and sensor signal names that do not match the sensor 3D model names are modified. The system comprises: the system comprises a creation model module, a naming module and a renaming module. The device comprises a memory and a processor for executing the sensor signal name rapid synchronization method. By using the application, the problems of missing, error correction and the like can be avoided while the workload of engineers is reduced. The method, the system, the device and the storage medium for quickly synchronizing the sensor signal names can be widely applied to the field of virtual simulation signal name modification.

Description

Method, system, device and storage medium for rapidly synchronizing sensor signal names
Technical Field
The present application relates to the field of virtual simulation signal name modification, and in particular, to a method, system, device, and storage medium for fast synchronization of sensor signal names.
Background
In the project manufacturing process, the names of the sensor signals are matched with the sensors one by one at the beginning, but the sensor is required to change the detection objects and rename the sensors at the later stage, at this time, the names of the sensor signals cannot be changed according to the new sensor names, so that the name labels of the sensor signals are inconsistent with the variable label labels in the PLC program, communication connection cannot be established, namely, virtual simulation equipment cannot feed back the measured states through the sensor signals, so that virtual simulation debugging work cannot be normally performed, in order to ensure that the sensor names are consistent with the sensor signal names, engineers modify the sensor signal names together when modifying the sensor names, but the number of the sensors is huge, the engineers cannot completely guarantee synchronous modification of the sensor signal names when modifying the sensor names, omission is easy, and the risk of inconsistency after modification exists.
Disclosure of Invention
In order to solve the technical problems, the application aims to provide a method, a system, a device and a storage medium for quickly synchronizing sensor signal names, which can reduce the workload of engineers and avoid the problems of missing change and the like.
The first technical scheme adopted by the application is as follows: a method for rapid synchronization of sensor signal names, comprising the steps of:
creating a sensor 3D model;
naming the 3D model of the sensor according to a preset rule to obtain the name of the 3D model of the sensor;
the sensor signal names are acquired and sensor signal names that do not match the sensor 3D model names are modified.
Further, the method further comprises the following steps:
traversing a sensor 3D model in a simulation environment, and comparing the sensor 3D model name with a sensor signal name to obtain a non-matched sensor signal name;
the unmatched sensor signal names are modified.
Further, the step of creating a 3D model of the sensor is specifically:
creating a sensor 3D model based on Tecnomatix;
the sensor 3D model matched with the actual sensor number is quickly created by copying the sensor 3D model templates in batches.
Further, the step of obtaining the sensor signal name and modifying the sensor signal name that does not match the sensor 3D model name specifically includes:
acquiring all sensor signal names and matched sensor 3D model names, and comparing the sensor signal names one by one to obtain unmatched sensor signal names;
the unmatched sensor signal names are modified.
Further, the sensors include a proximity sensor, a photoelectric sensor, and an infrared sensor, and the sensor signals include a proximity sensor signal, a photoelectric sensor signal, and an infrared sensor signal.
Further, the step of creating the 3D model of the sensor may be preceded by determining whether a sensor signal is present.
Further, the modifying the unmatched sensor signal names includes manual correction and automatic correction.
The second technical scheme adopted by the application is as follows: a sensor signal name quick synchronization system comprising:
the creating model module is used for creating a 3D model of the sensor;
the naming module is used for naming the 3D model of the sensor according to a preset rule to obtain the name of the 3D model of the sensor;
and the renaming module is used for acquiring the sensor signal names and modifying the sensor signal names which are not matched with the sensor 3D model names.
The third technical scheme adopted by the application is as follows: a sensor signal name quick synchronization device comprising:
at least one processor;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the at least one processor to implement a sensor signal name quick synchronization method as described above.
The fourth technical scheme adopted by the application is as follows: a storage medium having stored therein instructions executable by a processor, characterized by: the processor-executable instructions, when executed by the processor, are for implementing a sensor signal name quick synchronization method as described above.
The method, the system, the device and the storage medium have the beneficial effects that: according to the application, all the sensor 3D model names and the sensor signal names are automatically acquired, and the sensor 3D model names and the sensor signal names are compared one by one, so that the unmatched sensor signal names are corrected, manual checking and correction are not needed, and the problem of changing omission is avoided while the workload of engineers is reduced.
Drawings
FIG. 1 is a flow chart of steps of a method for rapid synchronization of sensor signal names according to the present application;
fig. 2 is a block diagram of a sensor signal name quick synchronization system according to the present application.
Detailed Description
The application will now be described in further detail with reference to the drawings and to specific examples. The step numbers in the following embodiments are set for convenience of illustration only, and the order between the steps is not limited in any way, and the execution order of the steps in the embodiments may be adaptively adjusted according to the understanding of those skilled in the art.
Various models and various running states thereof built in the virtual simulation environment need to be in signal communication with the PLC, and the whole flow of actual production is realized by taking an automobile body-in-white production line as an example. The PLC is in signal communication with the PLC, signals of various devices are realized, the PLC determines operations to be executed according to the states of the various signals, the signals comprise sensor signals, however, in the virtual simulation environment construction work, when a sensor needs to be renamed, an engineer needs to rename the corresponding signals, renaming of certain sensor signals is easy to occur in the renaming operation process, debugging work of projects is affected, the engineer does not need to manually modify the sensor signal names one by one, repeated operations are reduced, and omission or errors do not exist.
As shown in fig. 1, the present application provides a method for rapidly synchronizing sensor signal names, which includes the steps of:
s101, creating a sensor 3D model.
Specifically, whether a sensor 3D model exists is detected, if not, a sensor 3D model template is built, the sensors of the whole station or the whole production line body are quickly built in a mode of copying the sensor 3D model templates in batches, and if yes, the next step is automatically carried out.
S102, naming the sensor 3D model according to a preset rule to obtain a sensor 3D model name;
s103, acquiring a sensor signal name, searching a sensor 3D model corresponding to the sensor signal name, and modifying the sensor signal name which is not matched with the sensor 3D model name.
Specifically, there are renaming tools that rename the sensor 3D models according to naming rules and place the sensor 3D models one by one to the coordinates of the fall. Because of the large number of sensors, the sensor signal names are renamed when the sensor names are not consistent with the sensor signal names, so that the efficiency is improved.
Further as a preferred embodiment of the method, further comprising:
traversing a sensor 3D model in a simulation environment, and comparing the sensor 3D model name with a sensor signal name to obtain a non-matched sensor signal name;
the unmatched sensor signal names are modified.
Specifically, the traversing operation may be performed only once, or may be performed by periodically and continuously traversing all 3D models in the simulation environment according to a preset time interval, so as to obtain all 3D models of the sensors.
Further as a preferred embodiment of the method, the step of creating a 3D model of the sensor specifically comprises:
creating a sensor 3D model based on Tecnomatix;
the sensor 3D model matched with the actual sensor number is quickly created by copying the sensor 3D model templates in batches.
In particular, tecnomatix provides the functionality of creating models and signals similar to real sensors, enabling digital modification, simulation, debugging of industrial manufacturing, and the flow of innovative concepts and raw materials into real products for obtaining sensor data, said mass-replicated sensor 3D model templates being likewise manually replicable or automatically mass-replicable by a program.
Further as a preferred embodiment of the method, the step of obtaining a sensor signal name and modifying a sensor signal name that does not match a sensor 3D model name specifically includes:
acquiring all sensor signal names and sensor 3D model names, and comparing the sensor signal names with the sensor 3D model names one by one to obtain unmatched sensor signal names;
the unmatched sensor signal names are modified.
Specifically, all sensor signals are acquired, all sensor signals are sequentially processed, a sensor corresponding to the current sensor signal is acquired, whether the sensor signal name is matched with the corresponding sensor 3D model name is compared, if not, the sensor signal name is modified to be the sensor name, and if so, the next sensor signal is continuously checked until the last sensor signal name comparison is finished.
Further as a preferred embodiment of the method, the sensor comprises a proximity sensor, a photoelectric sensor and an infrared sensor, and the sensor signal comprises a proximity sensor signal, a photoelectric sensor signal and an infrared sensor signal.
Further as a preferred embodiment of the method, the step of creating a 3D model of the sensor is preceded by determining whether a sensor signal is present.
Further as a preferred embodiment of the method, said modifying the unmatched sensor signal names includes manual correction and automatic correction.
Specifically, sensor signals are obtained from a large number of signals, a corresponding sensor 3D model is obtained through the sensor signals, namely the sensor signals are compared with the names of the sensor 3D models in the simulation environment, the names of the sensor signals can be changed according to different application scenes and can be set according to requirements, and manual correction can be carried out when multiple synchronous correction is invalid, alarming and checking and manual correction are carried out by engineers, so that system abnormality or equipment failure can be detected in advance.
In addition, a function of monitoring the change of the sensor 3D model name can be created, and if the change of the sensor 3D model name is monitored, the corresponding sensor signal name is automatically synchronously changed.
Specific embodiments of the application are as follows:
in the project manufacturing process, simulation software often needs to add a sensor 3D model or modify the names of the sensor 3D models, obtain all sensor signals in a simulation environment, process each sensor signal in sequence, obtain a sensor matched with the current sensor signal, if part of sensor signals are not matched with the sensor 3D model, create the sensor 3D model, compare the names of the sensor signals with the names of the sensor 3D model, if not, modify the names of the sensor signals into the names of the sensors, and continuously check the next sensor signal until all the names of the sensor signals are compared, and in the system operation process, traverse all the sensor 3D models in the simulation environment and compare with the names of the sensor signals, modify the names of the non-matched sensor signals, so that the names of the sensor signals are matched with the sensor 3D models one by one and the names are consistent.
As shown in fig. 2, a sensor signal name quick synchronization system includes:
the creating model module is used for creating a 3D model of the sensor;
the naming module is used for naming the 3D model of the sensor according to a preset rule to obtain the name of the 3D model of the sensor;
and the renaming module is used for acquiring the sensor signal names and modifying the sensor signal names which are not matched with the sensor 3D model names.
Further as a preferred embodiment of the present system, further comprising:
and the traversing module is used for traversing the 3D model of the sensor in the simulation environment, and comparing the name of the 3D model of the sensor with the name of the sensor signal to obtain the name of the unmatched sensor signal.
And the modification module is used for modifying the unmatched sensor signal names.
Further as a preferred embodiment of the system, the creating a model module further includes:
a model sub-module for creating a sensor 3D model based on Tecnomatix;
and the replication sub-module is used for rapidly creating the sensor 3D model matched with the actual sensor number by means of batch replication of the sensor 3D model templates.
Further as a preferred embodiment of the system, the renaming module further includes:
the comparison sub-module is used for acquiring all the sensor signal names and the sensor 3D model names and comparing the sensor signal names one by one to obtain unmatched sensor signal names;
a modification sub-module for modifying the unmatched sensor signal names;
the content in the method embodiment is applicable to the system embodiment, the functions specifically realized by the system embodiment are the same as those of the method embodiment, and the achieved beneficial effects are the same as those of the method embodiment.
A sensor signal name quick synchronization device comprises:
at least one processor;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the at least one processor to implement a sensor signal name quick synchronization method as described above.
The content in the method embodiment is applicable to the embodiment of the device, and the functions specifically realized by the embodiment of the device are the same as those of the method embodiment, and the obtained beneficial effects are the same as those of the method embodiment.
A storage medium having stored therein instructions executable by a processor, characterized by: the processor-executable instructions, when executed by the processor, are for implementing a sensor signal name quick synchronization method as described above.
The content in the method embodiment is applicable to the storage medium embodiment, and functions specifically implemented by the storage medium embodiment are the same as those of the method embodiment, and the achieved beneficial effects are the same as those of the method embodiment.
While the preferred embodiments of the present application have been illustrated and described, the present application is not limited to the embodiments, and various equivalent modifications and substitutions can be made by one skilled in the art without departing from the spirit of the present application, and these equivalent modifications and substitutions are intended to be included in the scope of the present application as defined in the appended claims.

Claims (7)

1. A method for rapid synchronization of sensor signal names, comprising:
creating a sensor 3D model;
naming the 3D model of the sensor according to a preset rule to obtain the name of the 3D model of the sensor;
acquiring a sensor signal name and modifying the sensor signal name which is not matched with the sensor 3D model name;
the method for obtaining the sensor signal names and modifying the sensor signal names which are not matched with the sensor 3D model names specifically comprises the following steps:
acquiring all sensor signal names and sensor 3D model names, and comparing the sensor signal names with the sensor 3D model names one by one to obtain unmatched sensor signal names;
modifying the unmatched sensor signal names;
the method for rapidly synchronizing the sensor signal names further comprises the following steps:
traversing a sensor 3D model in a simulation environment, and comparing the sensor 3D model name with a sensor signal name to obtain a non-matched sensor signal name;
modifying the unmatched sensor signal names;
the step of creating a 3D model of the sensor specifically comprises:
creating a sensor 3D model based on Tecnomatix;
the sensor 3D model matched with the actual sensor number is quickly created by copying the sensor 3D model templates in batches.
2. A method for rapid synchronization of sensor signal names according to claim 1, wherein: the sensor includes a proximity sensor, a photoelectric sensor, and an infrared sensor, and the sensor signals include a proximity sensor signal, a photoelectric sensor signal, and an infrared sensor signal.
3. The method of claim 1, wherein the step of creating a 3D model of the sensor further comprises acquiring sensor signals.
4. The method of claim 1, wherein said modifying the unmatched sensor signal names includes manual correction and automatic correction.
5. A sensor signal name quick synchronization system, comprising:
the creating model module is used for creating a 3D model of the sensor;
the naming module is used for naming the 3D model of the sensor according to a preset rule to obtain the name of the 3D model of the sensor;
the name changing module is used for acquiring the sensor signal names and changing the sensor signal names which are not matched with the sensor 3D model names;
the method for obtaining the sensor signal names and modifying the sensor signal names which are not matched with the sensor 3D model names specifically comprises the following steps:
acquiring all sensor signal names and sensor 3D model names, and comparing the sensor signal names with the sensor 3D model names one by one to obtain unmatched sensor signal names;
modifying the unmatched sensor signal names;
the sensor signal name quick synchronization system further comprises:
the traversing module is used for traversing the 3D model of the sensor in the simulation environment, and comparing the name of the 3D model of the sensor with the name of the sensor signal to obtain a non-matched name of the sensor signal;
the modification module is used for modifying the unmatched sensor signal names;
the creation model module further comprises:
a model sub-module for creating a sensor 3D model based on Tecnomatix;
and the replication sub-module is used for rapidly creating the sensor 3D model matched with the actual sensor number by means of batch replication of the sensor 3D model templates.
6. A sensor signal name quick synchronization device, comprising:
at least one processor;
at least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one processor is caused to implement a sensor signal name fast synchronization method as claimed in any one of claims 1-4.
7. A storage medium having stored therein instructions executable by a processor, characterized by: the processor executable instructions when executed by a processor are for implementing a sensor signal name fast synchronization method according to any of claims 1-4.
CN202010359505.2A 2020-04-26 2020-04-26 Method, system, device and storage medium for rapidly synchronizing sensor signal names Active CN111680559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010359505.2A CN111680559B (en) 2020-04-26 2020-04-26 Method, system, device and storage medium for rapidly synchronizing sensor signal names

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010359505.2A CN111680559B (en) 2020-04-26 2020-04-26 Method, system, device and storage medium for rapidly synchronizing sensor signal names

Publications (2)

Publication Number Publication Date
CN111680559A CN111680559A (en) 2020-09-18
CN111680559B true CN111680559B (en) 2023-10-17

Family

ID=72433436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010359505.2A Active CN111680559B (en) 2020-04-26 2020-04-26 Method, system, device and storage medium for rapidly synchronizing sensor signal names

Country Status (1)

Country Link
CN (1) CN111680559B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094051A (en) * 2007-06-27 2007-12-26 中国移动通信集团四川有限公司 System and method for synchronizing comparison of data consistency
CN106776894A (en) * 2016-11-29 2017-05-31 北京众享比特科技有限公司 Log database system and synchronous method
CN109739766A (en) * 2018-12-29 2019-05-10 湖北航天技术研究院总体设计所 A kind of system and method for fast construction FPGA digital simulation model
CN110334061A (en) * 2019-05-22 2019-10-15 广州明珞汽车装备有限公司 Method, system, device and the storage medium of batch modification device data model
CN110349248A (en) * 2019-05-22 2019-10-18 广州明珞汽车装备有限公司 Quickly generate method, system, device and the storage medium of normal structure

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094051A (en) * 2007-06-27 2007-12-26 中国移动通信集团四川有限公司 System and method for synchronizing comparison of data consistency
CN106776894A (en) * 2016-11-29 2017-05-31 北京众享比特科技有限公司 Log database system and synchronous method
CN109739766A (en) * 2018-12-29 2019-05-10 湖北航天技术研究院总体设计所 A kind of system and method for fast construction FPGA digital simulation model
CN110334061A (en) * 2019-05-22 2019-10-15 广州明珞汽车装备有限公司 Method, system, device and the storage medium of batch modification device data model
CN110349248A (en) * 2019-05-22 2019-10-18 广州明珞汽车装备有限公司 Quickly generate method, system, device and the storage medium of normal structure

Also Published As

Publication number Publication date
CN111680559A (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN108153784B (en) Synchronous data processing method and device
EP3605366A1 (en) Method and apparatus thereof used in engineering for checking deduction of components in bim modeling
JP5227254B2 (en) Real-time calculation method and simulator of state quantity of process model
EP2239640A2 (en) A method and system for using membrane calculus to model dynamic coordination logics for automation systems
JP7379149B2 (en) Processing equipment error correction method and system
US11537100B2 (en) Machining error correction system and method based on key dimensional associations
US11556107B2 (en) Machining apparatus error correction system and method using safe, correction and alarm intervals
WO2019024391A1 (en) Differential code synchronization method, storage medium, electronic device and system
CN114117798A (en) Automatic interface model generation method and system based on matlab
CN111680559B (en) Method, system, device and storage medium for rapidly synchronizing sensor signal names
CN115840616A (en) Method and device for creating kinematic pair object and storage medium
CN115277882A (en) CAN message database establishing method and device, vehicle-mounted electronic equipment and storage medium
US20090299498A1 (en) Method and simulator for real-time calculation of state variables of a process model
CN104182348A (en) Software test method and device
CN111381562A (en) Error correction method and system for arc corner machining equipment
CN108062223B (en) Method and device for establishing connection relation between Simulink models
CN117575488A (en) Production formula management method, system and device
CN115239520A (en) Method and device for eliminating errors of model component, electronic device and storage medium
CN114443004A (en) Branch merging method, computer device and computer storage medium
CN110599598B (en) Method and device for unifying heterogeneous data
CN111191416B (en) Control method and system for welding spot information conversion
CN111381559A (en) Processing equipment error correction method and system based on server
CN111381557A (en) Processing equipment error correction method and system based on single machine
CN112380186A (en) Domestic database migration method based on active adaptation
CN113534730A (en) Model-based PLC control code generation method, system, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant