CN118170777A - Method, device and equipment for processing ring data of hybrid motor hardware - Google Patents

Method, device and equipment for processing ring data of hybrid motor hardware Download PDF

Info

Publication number
CN118170777A
CN118170777A CN202410270433.2A CN202410270433A CN118170777A CN 118170777 A CN118170777 A CN 118170777A CN 202410270433 A CN202410270433 A CN 202410270433A CN 118170777 A CN118170777 A CN 118170777A
Authority
CN
China
Prior art keywords
data
target
hardware
database
loop
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.)
Pending
Application number
CN202410270433.2A
Other languages
Chinese (zh)
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.)
Shanghai Valeo Automotive Electrical Systems Co Ltd
Original Assignee
Shanghai Valeo Automotive Electrical Systems 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 Shanghai Valeo Automotive Electrical Systems Co Ltd filed Critical Shanghai Valeo Automotive Electrical Systems Co Ltd
Priority to CN202410270433.2A priority Critical patent/CN118170777A/en
Publication of CN118170777A publication Critical patent/CN118170777A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

The invention discloses a method, a device and equipment for processing ring data of hybrid motor hardware. Comprising the following steps: acquiring data acquisition information of the hybrid motor, and carrying out data acquisition according to the data acquisition information to generate a database, wherein the data acquisition information comprises variable information, an acquisition period and a storage path; acquiring a target processing instruction, and determining target data according to the target processing instruction and a database; and generating a hardware-in-the-loop data processing result according to the target data and the target processing instruction. The obtained data acquisition information is used for carrying out real-time data acquisition and generating a database, so that various parameters of the hybrid motor can be monitored and analyzed in real time, the manual workload is reduced, and the efficiency and accuracy of data processing are improved. According to the obtained target processing instruction and the database, the target data can be determined, and then the hardware-in-the-loop data processing result is generated, so that the process management of the data is more standard and flexible, and the storage, management and processing of the data are more convenient.

Description

Method, device and equipment for processing ring data of hybrid motor hardware
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, and a device for processing ring data by using hybrid motor hardware.
Background
With the continuous improvement of environmental awareness and the pursuit of energy efficiency, hybrid electric vehicles are receiving more and more attention as a new type of vehicle combining an internal combustion engine and an electric motor. As one of the core components of a hybrid vehicle, the performance and reliability of the hybrid motor have an important influence on the performance and reliability of the entire vehicle.
To ensure performance and reliability of the hybrid motor, it is necessary to perform a Hardware-in-the-Loop (HIL) test on it. The HIL test is a test method combining actual hardware equipment with a virtual simulation environment, and can comprehensively test and verify a hybrid motor in a laboratory environment. In the HIL test, various parameters of the hybrid motor need to be monitored and analyzed in real time to evaluate the performance and reliability thereof. At present, an off-line analysis mode is generally adopted for HIL data processing, namely, after the test is finished, test data are exported to a computer for analysis and processing.
In the prior art, the off-line analysis mode needs to export test data to a computer for analysis and processing, so that various parameters of the hybrid motor cannot be monitored and analyzed in real time, and problems and anomalies cannot be found in time. The offline analysis requires a lot of time and labor, is inefficient, and may introduce errors during the data transmission process, resulting in poor data accuracy.
Disclosure of Invention
The invention provides a method, a device and equipment for processing ring data of hybrid motor hardware, which are used for perfecting the data extraction and storage processes, so that the process management of the data is more standard and flexible.
According to an aspect of the present invention, there is provided a hybrid motor hardware-in-loop data processing method, the method comprising:
acquiring data acquisition information of the hybrid motor, and carrying out data acquisition according to the data acquisition information to generate a database, wherein the data acquisition information comprises variable information, an acquisition period and a storage path;
Acquiring a target processing instruction, and determining target data according to the target processing instruction and a database;
And generating a hardware-in-the-loop data processing result according to the target data and the target processing instruction.
Optionally, acquiring data acquisition information of the hybrid motor includes: the method comprises the steps that a variable name, an acquisition path, a stored data type and a control variable corresponding to a stored variable in a hardware loop control system are defined by a user and are obtained through an upper computer to serve as variable information; acquiring an acquisition period and a storage path set by a user through an upper computer; and taking the variable information, the acquisition period and the storage path as data acquisition information.
Optionally, performing data collection according to the data collection information to generate a database includes: data acquisition is carried out according to the variable information and the acquisition period to acquire all acquired data; sequentially storing all the acquired data according to the storage paths to generate all the data sets; determining the corresponding acquisition time of each acquired data, and sequentially arranging the acquired data in each data set according to the sequence of the acquisition time to generate a database.
Optionally, acquiring the target processing instruction includes: acquiring target extraction information and a target operation algorithm input by a user, wherein the target extraction information comprises a target data range and a target variable name; the target extraction information is combined with a target operation algorithm to generate target processing instructions.
Optionally, determining the target data according to the target processing instruction and the database includes: matching the acquired data in the database through the target variable names to determine target sub-databases corresponding to the target variable names; and screening all the acquired data in the target sub-database through the target data range to determine target data corresponding to the target data range.
Optionally, generating the hardware-in-loop data processing result according to the target data and the target processing instruction includes: calculating the target data based on a target calculation algorithm to generate a calculation result; acquiring a hardware-in-loop judging function library, wherein the hardware-in-loop judging function library comprises data standards corresponding to each operation algorithm; matching the target operation algorithm through a hardware in-loop judging function library to determine a target data standard corresponding to the target operation algorithm; judging whether the operation result accords with the target data standard, if so, determining that the hardware-in-the-loop data processing result is normal; otherwise, determining that the data processing result of the hardware in the ring is abnormal.
Optionally, after determining that the hardware-in-loop data processing result is data exception, the method further comprises: determining corresponding normal data and abnormal data in the operation result according to the target data standard; normal data and abnormal data are respectively described and mapped in a specified mode to generate a hardware-in-the-loop report.
According to another aspect of the present invention, there is provided a hybrid motor hardware-in-the-loop data processing apparatus, the apparatus comprising:
The data acquisition and database generation module is used for acquiring data acquisition information of the hybrid motor, and carrying out data acquisition according to the data acquisition information to generate a database, wherein the data acquisition information comprises variable information, an acquisition period and a storage path;
the target data determining module is used for acquiring a target processing instruction and determining target data according to the target processing instruction and the database;
and the hardware-in-loop data processing result generation module is used for generating a hardware-in-loop data processing result according to the target data and the target processing instruction.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform a hybrid motor hardware-in-loop data processing method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a hybrid motor hardware-in-loop data processing method according to any embodiment of the present invention.
According to the technical scheme, the acquired data acquisition information is used for carrying out real-time data acquisition and generating the database, so that various parameters of the hybrid motor can be monitored and analyzed in real time, the manual workload is reduced, and the efficiency and accuracy of data processing are improved. According to the obtained target processing instruction and the database, the target data can be determined, and then the hardware-in-the-loop data processing result is generated, so that the process management of the data is more standard and flexible, and the storage, management and processing of the data are more convenient.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a hybrid motor hardware-in-loop data processing method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of another hybrid motor hardware-in-loop data processing method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a hybrid motor hardware-in-loop data processing device according to a third embodiment of the present invention;
Fig. 4 is a schematic structural diagram of an electronic device implementing a hybrid motor hardware-in-loop data processing method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a hybrid motor hardware-in-loop data processing method according to an embodiment of the present invention, where the method may be performed by a hybrid motor hardware-in-loop data device, and the hybrid motor hardware-in-loop data device may be implemented in hardware and/or software, and the hybrid motor hardware-in-loop data device may be configured in a computer controller. As shown in fig. 1, the method includes:
S110, acquiring data acquisition information of the hybrid motor, and carrying out data acquisition according to the data acquisition information to generate a database, wherein the data acquisition information comprises variable information, an acquisition period and a storage path.
The Hybrid motor is a motor used in a Hybrid vehicle (Hybrid ELECTRIC VEHICLE, HEV). It is an important component of a hybrid powertrain that, together with an internal combustion engine, powers a vehicle. Hybrid motor Hardware in Loop Testing (HIL) is a method for Testing and validating hybrid motor control systems. The method connects an actual hybrid motor control system with a virtual controlled object (such as a vehicle dynamics model) to form a closed loop test environment. The mixed motor hardware can generate a large amount of test data in the ring test, and in order to facilitate the management and storage of the test data, a user can set data acquisition information for the test data. The data acquisition information is various related information related to the process of acquiring the ring test data of the hybrid motor hardware, including variable information, acquisition period and storage path.
Optionally, acquiring data acquisition information of the hybrid motor includes: the method comprises the steps that a variable name, an acquisition path, a stored data type and a control variable corresponding to a stored variable in a hardware loop control system are defined by a user and are obtained through an upper computer to serve as variable information; acquiring an acquisition period and a storage path set by a user through an upper computer; and taking the variable information, the acquisition period and the storage path as data acquisition information.
The upper computer is a computer or equipment for monitoring and controlling the lower computer (such as a PLC, a singlechip and the like) in an industrial control system, and is usually located at the upper layer of the control system, and exchanges data with the lower computer and transmits control commands through a network or other communication modes. In order to acquire data acquisition information of the hybrid motor, interaction with a user can be performed through the upper computer. The user can define variable names, acquisition paths, stored data types and control variables corresponding to the stored variables in the hardware in the ring control system through the upper computer, and the information is used as variable information. In addition, the user can set the collection period and the storage path through the upper computer. The acquisition period is a time interval of data acquisition, the accuracy of acquisition is high if the data acquisition period is small, and the accuracy is reduced but the space occupied by the hard disk is small if the data acquisition period is large. The acquisition period may be a fixed time interval, typically of the order of ms, or may be triggered by a specific condition, such as acquiring data when the rotational speed exceeds a certain threshold. And the deposit path specifies the location of the data store. Finally, the variable information, the acquisition period and the storage path are integrated together to form complete data acquisition information. The information is used for guiding the data acquisition process, ensuring that the acquired hybrid motor data is accurate and comprehensive, and storing and managing according to the requirements of users.
In a specific embodiment, when configuring data acquisition information, a user needs to define variable information, namely variables needing to be controlled and acquired, including variable names, acquisition paths, stored data types and control variables corresponding to stored variables in a hardware in-loop control system. A data acquisition period needs to be defined. It is necessary to define a deposit path, which may be a corresponding database path. For example, when the variable name is torque, the corresponding acquisition period is 1s, and the corresponding storage path is a torque database.
Optionally, performing data collection according to the data collection information to generate a database includes: data acquisition is carried out according to the variable information and the acquisition period to acquire all acquired data; sequentially storing all the acquired data according to the storage paths to generate all the data sets; determining the corresponding acquisition time of each acquired data, and sequentially arranging the acquired data in each data set according to the sequence of the acquisition time to generate a database.
Specifically, the controller performs data acquisition according to the data acquisition information, specifically, the controller performs data acquisition according to the variable information and the acquisition period to acquire each acquired data, and sequentially stores each acquired data according to the storage path. The deposit path may be a folder in a hard disk file system, a table in a database, or the like. Then, the controller determines the acquisition time of each acquired data, associates the acquired data with the corresponding data set, and sequentially arranges the acquired data in each data set according to the sequence of the acquisition time so as to generate a database.
In the process of data acquisition and storage, the database is carried out according to the mode defined by the upper computer, the variable information corresponds to the corresponding database one by one, the data storage formats correspond to the databases of the hard disk one by one through time sequencing, and the data storage formats are stored in real time.
S120, acquiring a target processing instruction, and determining target data according to the target processing instruction and a database.
Furthermore, when the operation and data storage of the hybrid motor test case are completed, an initial database is formed in the hard disk, and the data of the database in the hard disk can be called for processing and operation.
Specifically, after the database is generated, the collected data may be processed and analyzed using a data analysis tool or written data analysis program. For example, indexes such as power, efficiency, energy consumption and the like of the hybrid motor can be calculated, an operating curve and a performance map of the hybrid motor are drawn, and the operating state and the fault mode of the hybrid motor are analyzed.
Optionally, acquiring the target processing instruction includes: acquiring target extraction information and a target operation algorithm input by a user, wherein the target extraction information comprises a target data range and a target variable name; the target extraction information is combined with a target operation algorithm to generate target processing instructions.
Specifically, the controller may acquire target extraction information input by the user, the target extraction information being specific information that the user wishes to extract from the data, such as a target data range and a target variable name. The user can input the target extraction information by means of an input box, a drop-down menu, a radio button, and the like. The controller may also obtain a target algorithm entered by the user. The target operation algorithm refers to an operation that a user wants to perform on the extracted target data, for example, basic data operation, including addition, subtraction, multiplication and division, average taking, median taking, maximum taking, minimum taking and the like; the algorithm operation of the hybrid motor comprises special filtering, data processing of the hybrid motor and the like; a custom data processing method; extracting a specified database segment; and adding a database and performing mixed operation according to a plurality of variables. The user may input the target algorithm by selecting the algorithm. Finally, the controller combines the target extraction information with a target operation algorithm to generate a target processing instruction. The target processing instruction is a specific data processing instruction generated according to target extraction information and a target operation algorithm input by a user.
Optionally, determining the target data according to the target processing instruction and the database includes: matching the acquired data in the database through the target variable names to determine target sub-databases corresponding to the target variable names; and screening all the acquired data in the target sub-database through the target data range to determine target data corresponding to the target data range.
Specifically, the controller needs to match the collected data in each database by the target variable name to determine the target sub-database corresponding to the target variable name. And screening all acquired data in the target sub-database through the target data range to determine target data corresponding to the target data range.
It should be noted that, before data processing, validity and integrity checks need to be performed on the target processing instruction and the data in the database, so as to ensure correctness and consistency of the instruction and the data. Meanwhile, the quality evaluation and verification of the data processing result are required, and the accuracy and reliability of the result are ensured.
S130, generating a hardware-in-the-loop data processing result according to the target data and the target processing instruction.
Specifically, the method can perform data analysis according to the target data and the target processing instruction to generate a data analysis result, and further generate a hardware-in-the-loop data processing result according to the data analysis result, and apply the hardware-in-loop data processing result to control strategy optimization and system design improvement of the hybrid motor. Through the hardware-in-loop data processing result, a graph can be drawn to generate a hardware-in-loop verification report, data analysis can also be performed, and a new database is generated according to the data processing result for storage.
According to the technical scheme, the acquired data acquisition information is used for carrying out real-time data acquisition and generating the database, so that various parameters of the hybrid motor can be monitored and analyzed in real time, the manual workload is reduced, and the efficiency and accuracy of data processing are improved. According to the obtained target processing instruction and the database, the target data can be determined, and then the hardware-in-the-loop data processing result is generated, so that the process management of the data is more standard and flexible, and the storage, management and processing of the data are more convenient.
Example two
Fig. 2 is a flowchart of a hybrid motor hardware-in-loop data processing method according to a second embodiment of the present invention, where the process of generating the hardware-in-loop data processing result according to the target data and the target processing instruction is specifically described based on the first embodiment. As shown in fig. 2, the method includes:
S210, acquiring data acquisition information of the hybrid motor, and carrying out data acquisition according to the data acquisition information to generate a database, wherein the data acquisition information comprises variable information, an acquisition period and a storage path.
Optionally, acquiring data acquisition information of the hybrid motor includes: the method comprises the steps that a variable name, an acquisition path, a stored data type and a control variable corresponding to a stored variable in a hardware loop control system are defined by a user and are obtained through an upper computer to serve as variable information; acquiring an acquisition period and a storage path set by a user through an upper computer; and taking the variable information, the acquisition period and the storage path as data acquisition information.
Optionally, performing data collection according to the data collection information to generate a database includes: data acquisition is carried out according to the variable information and the acquisition period to acquire all acquired data; sequentially storing all the acquired data according to the storage paths to generate all the data sets; determining the corresponding acquisition time of each acquired data, and sequentially arranging the acquired data in each data set according to the sequence of the acquisition time to generate a database.
S220, acquiring a target processing instruction, and determining target data according to the target processing instruction and a database.
Optionally, acquiring the target processing instruction includes: acquiring target extraction information and a target operation algorithm input by a user, wherein the target extraction information comprises a target data range and a target variable name; the target extraction information is combined with a target operation algorithm to generate target processing instructions.
Optionally, determining the target data according to the target processing instruction and the database includes: matching the acquired data in the database through the target variable names to determine target sub-databases corresponding to the target variable names; and screening all the acquired data in the target sub-database through the target data range to determine target data corresponding to the target data range.
S230, calculating the target data based on the target calculation algorithm to generate a calculation result.
The target operation algorithm is a data processing algorithm determined according to the target processing instruction. The operation result is a result obtained by performing a target operation algorithm on target data.
S240, acquiring a hardware-in-loop judging function library, wherein the hardware-in-loop judging function library comprises data standards corresponding to each operation algorithm.
The hardware-in-loop judging function library is a library containing data standards corresponding to each operation algorithm. The data standard refers to a standard for judging the operation result, such as a numerical range, a numerical size, a numerical type, and the like. The hardware-in-loop judging function library can be predefined or dynamically generated according to actual requirements.
S250, matching the target operation algorithm through a hardware in-loop judging function library so as to determine a target data standard corresponding to the target operation algorithm.
The algorithm matching refers to searching a target data standard matched with the hardware in a ring judging function library according to the characteristics or parameters of a target operation algorithm. The target data standard refers to a data standard corresponding to a target operation algorithm.
And S260, judging whether the operation result meets the target data standard, if so, executing S270, otherwise, executing S280.
S270, determining that the data processing result of the hardware in the ring is normal.
S280, determining that the data processing result of the hardware in the ring is abnormal.
Specifically, if the operation result accords with the target data standard, the hardware is indicated that the ring data processing result is normal; and if the operation result does not accord with the target data standard, indicating that the hardware-in-loop data processing result is abnormal. Further, according to the judgment result, the hardware-in-the-loop data processing result can be determined. If the data processing result of the hardware in the ring is normal, outputting the information of the normal data; if the data processing result of the hardware in the ring is abnormal, outputting information of the abnormal data. The output information may be text displayed on a screen, signals or data transmitted to other devices, etc.
Optionally, after determining that the hardware-in-loop data processing result is data exception, the method further comprises: determining corresponding normal data and abnormal data in the operation result according to the target data standard; normal data and abnormal data are respectively described and mapped in a specified mode to generate a hardware-in-the-loop report.
Specifically, after determining that the hardware is abnormal in the ring data processing result, the method further comprises: data analysis, data rendering, and report generation. The normal data refers to data meeting the target data standard, the abnormal data refers to data not meeting the target data standard, and the data analysis can be realized by comparing the operation result with the target data standard, for example, whether the numerical range, the numerical size, the numerical type and the like meet the requirements or not is judged.
In one embodiment, data rendering refers to the process of visualizing or formatting data to make it easier to understand and analyze. The data rendering may take different forms, such as graphics, charts, tables, text, and the like. The specified mode refers to a data rendering mode, such as color, shape, size, position, etc., determined according to actual requirements or user preferences.
In one embodiment, the hardware-in-loop report refers to a document or file that summarizes and exposes the results of hardware-in-loop data processing. The hardware-in-the-loop report may contain a variety of content, such as data processing results, data analysis results, data rendering results, causes and suggestions of abnormal data, and so forth. Hardware-in-the-loop reports may be presented in different forms, such as paper documents, electronic documents, web pages, applications, and so forth. Through processing the ring data of the mixed motor hardware, the effective analysis and display of the processing result of the ring data of the hardware can be realized, the user is helped to quickly know the normality and abnormality of the data, and corresponding measures are taken.
According to the technical scheme, the acquired data acquisition information is used for carrying out real-time data acquisition and generating the database, so that various parameters of the hybrid motor can be monitored and analyzed in real time, the manual workload is reduced, and the efficiency and accuracy of data processing are improved. According to the obtained target processing instruction and the database, the target data can be determined, and then the hardware-in-the-loop data processing result is generated, so that the process management of the data is more standard and flexible, and the storage, management and processing of the data are more convenient.
Example III
Fig. 3 is a schematic structural diagram of a hybrid motor hardware-in-loop data processing device according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: the data acquisition and database generation module 310 is configured to acquire data acquisition information of the hybrid motor, and perform data acquisition according to the data acquisition information to generate a database, where the data acquisition information includes variable information, an acquisition period and a storage path;
The target data determining module 320 is configured to obtain a target processing instruction, and determine target data according to the target processing instruction and the database;
and the hardware-in-loop data processing result generating module 330 is configured to generate a hardware-in-loop data processing result according to the target data and the target processing instruction.
Optionally, the data collection and database generation module 310 specifically includes: the data acquisition information acquisition unit is used for: the method comprises the steps that a variable name, an acquisition path, a stored data type and a control variable corresponding to a stored variable in a hardware loop control system are defined by a user and are obtained through an upper computer to serve as variable information; acquiring an acquisition period and a storage path set by a user through an upper computer; and taking the variable information, the acquisition period and the storage path as data acquisition information.
Optionally, the data collection and database generation module 310 specifically includes: a database generation unit for: data acquisition is carried out according to the variable information and the acquisition period to acquire all acquired data; sequentially storing all the acquired data according to the storage paths to generate all the data sets; determining the corresponding acquisition time of each acquired data, and sequentially arranging the acquired data in each data set according to the sequence of the acquisition time to generate a database.
Optionally, the target data determining module 320 specifically includes: a target processing instruction acquisition unit configured to: acquiring target extraction information and a target operation algorithm input by a user, wherein the target extraction information comprises a target data range and a target variable name; the target extraction information is combined with a target operation algorithm to generate target processing instructions.
Optionally, the target data determining module 320 specifically includes: a target data determination unit configured to: matching the acquired data in the database through the target variable names to determine target sub-databases corresponding to the target variable names; and screening all the acquired data in the target sub-database through the target data range to determine target data corresponding to the target data range.
Optionally, the hardware-in-loop data processing result generating module 330 is specifically configured to: calculating the target data based on a target calculation algorithm to generate a calculation result; acquiring a hardware-in-loop judging function library, wherein the hardware-in-loop judging function library comprises data standards corresponding to each operation algorithm; matching the target operation algorithm through a hardware in-loop judging function library to determine a target data standard corresponding to the target operation algorithm; judging whether the operation result accords with the target data standard, if so, determining that the hardware-in-the-loop data processing result is normal; otherwise, determining that the data processing result of the hardware in the ring is abnormal.
Optionally, the apparatus further comprises: the hardware-in-loop report generation module is used for determining corresponding normal data and abnormal data in the operation result according to the target data standard after determining that the hardware-in-loop data processing result is abnormal; normal data and abnormal data are respectively described and mapped in a specified mode to generate a hardware-in-the-loop report.
According to the technical scheme, the acquired data acquisition information is used for carrying out real-time data acquisition and generating the database, so that various parameters of the hybrid motor can be monitored and analyzed in real time, the manual workload is reduced, and the efficiency and accuracy of data processing are improved. According to the obtained target processing instruction and the database, the target data can be determined, and then the hardware-in-the-loop data processing result is generated, so that the process management of the data is more standard and flexible, and the storage, management and processing of the data are more convenient.
The mixed motor hardware-in-loop data processing device provided by the embodiment of the invention can execute the mixed motor hardware-in-loop data processing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 4 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a hybrid motor hardware-in-the-loop data processing method. Namely: acquiring data acquisition information of the hybrid motor, and carrying out data acquisition according to the data acquisition information to generate a database, wherein the data acquisition information comprises variable information, an acquisition period and a storage path; acquiring a target processing instruction, and determining target data according to the target processing instruction and a database; and generating a hardware-in-the-loop data processing result according to the target data and the target processing instruction.
In some embodiments, a hybrid motor hardware-in-the-loop data processing method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of a hybrid motor hardware-in-the-loop data processing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform a hybrid motor hardware-in-loop data processing method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A hybrid motor hardware-in-the-loop data processing method, comprising:
acquiring data acquisition information of the hybrid motor, and carrying out data acquisition according to the data acquisition information to generate a database, wherein the data acquisition information comprises variable information, an acquisition period and a storage path;
acquiring a target processing instruction, and determining target data according to the target processing instruction and the database;
And generating a hardware-in-the-loop data processing result according to the target data and the target processing instruction.
2. The method of claim 1, wherein the acquiring data acquisition information of the hybrid motor comprises:
Acquiring a variable name, an acquisition path, a stored data type and a control variable corresponding to a stored variable in a hardware loop control system defined by a user through an upper computer as variable information;
acquiring an acquisition period and a storage path set by a user through an upper computer;
And taking the variable information, the acquisition period and the storage path as the data acquisition information.
3. The method of claim 1, wherein the performing data collection based on the data collection information to generate a database comprises:
carrying out data acquisition according to the variable information and the acquisition period to acquire all acquired data;
sequentially storing all the acquired data according to the storage paths to generate all the data sets;
Determining the corresponding acquisition time of each acquired data, and sequentially arranging the acquired data in each data set according to the sequence of the acquisition time so as to generate the database.
4. A method according to claim 3, wherein said fetching target processing instructions comprises:
Acquiring target extraction information and a target operation algorithm input by a user, wherein the target extraction information comprises a target data range and a target variable name;
Combining the target extraction information with the target operation algorithm to generate the target processing instruction.
5. The method of claim 4, wherein said determining target data from said target processing instructions and said database comprises:
matching the acquired data in the database through the target variable name to determine a target sub-database corresponding to the target variable name;
and screening each acquired data in the target sub-database through the target data range to determine target data corresponding to the target data range.
6. The method of claim 4, wherein generating hardware-in-the-loop data processing results from the target data and the target processing instructions comprises:
operating the target data based on the target operation algorithm to generate an operation result;
Acquiring a hardware-in-loop judging function library, wherein the hardware-in-loop judging function library comprises data standards corresponding to each operation algorithm;
Matching the target operation algorithm through the hardware in-loop judging function library to determine a target data standard corresponding to the target operation algorithm;
Judging whether the operation result accords with the target data standard, if so, determining that the hardware-in-loop data processing result is normal;
otherwise, determining that the hardware is abnormal in the ring data processing result.
7. The method of claim 6, wherein after the determining that the hardware is data exception at the ring data processing result, the method further comprises:
Determining corresponding normal data and abnormal data in the operation result according to the target data standard;
and describing and drawing the normal data and the abnormal data in a specified mode respectively to generate a hardware-in-the-loop report.
8. A hybrid motor hardware-in-the-loop data processing apparatus, comprising:
The data acquisition and database generation module is used for acquiring data acquisition information of the hybrid motor, and carrying out data acquisition according to the data acquisition information to generate a database, wherein the data acquisition information comprises variable information, an acquisition period and a storage path;
the target data determining module is used for acquiring a target processing instruction and determining target data according to the target processing instruction and the database;
And the hardware-in-loop data processing result generating module is used for generating a hardware-in-loop data processing result according to the target data and the target processing instruction.
9. An electronic device, the electronic device comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A computer storage medium storing computer instructions for causing a processor to perform the method of any one of claims 1-7 when executed.
CN202410270433.2A 2024-03-11 2024-03-11 Method, device and equipment for processing ring data of hybrid motor hardware Pending CN118170777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410270433.2A CN118170777A (en) 2024-03-11 2024-03-11 Method, device and equipment for processing ring data of hybrid motor hardware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410270433.2A CN118170777A (en) 2024-03-11 2024-03-11 Method, device and equipment for processing ring data of hybrid motor hardware

Publications (1)

Publication Number Publication Date
CN118170777A true CN118170777A (en) 2024-06-11

Family

ID=91346328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410270433.2A Pending CN118170777A (en) 2024-03-11 2024-03-11 Method, device and equipment for processing ring data of hybrid motor hardware

Country Status (1)

Country Link
CN (1) CN118170777A (en)

Similar Documents

Publication Publication Date Title
CN112149329B (en) Method, system, equipment and storage medium for previewing state of key equipment of nuclear power plant
CN115396289B (en) Fault alarm determining method and device, electronic equipment and storage medium
CN113935487B (en) Visual satellite fault diagnosis knowledge generation method, device and system
US20230066703A1 (en) Method for estimating structural vibration in real time
CN118170777A (en) Method, device and equipment for processing ring data of hybrid motor hardware
CN115344495A (en) Data analysis method and device for batch task test, computer equipment and medium
CN110971483B (en) Pressure testing method and device and computer system
CN112989733A (en) Circuit analysis method, circuit analysis device, circuit analysis equipment and storage medium
CN115080445B (en) Game test management method and system
CN117472751A (en) Vehicle system function analysis method, device, equipment and medium
CN117573561B (en) Automatic test system, method, electronic equipment and storage medium
CN115063905B (en) Method and device for processing vehicle data, storage medium and electronic device
CN115361308B (en) Industrial control network data risk determination method, device, equipment and storage medium
CN113986112B (en) Soft keyboard display method, related device and computer program product
CN114475710B (en) Method, device and storage medium for displaying device state based on graphic configuration
CN117709255B (en) Test method, device, equipment and medium for indirect access register
EP4089592A1 (en) Method for determining annotation capability information, related apparatus and computer program product
CN116820656A (en) Large screen interface generation method, device, equipment and storage medium
CN114117027A (en) Power transmission and transformation equipment visualization model and monitoring management model association method and system
CN116303071A (en) Interface testing method and device, electronic equipment and storage medium
CN116383456A (en) Vehicle production data query method and device, electronic equipment and storage medium
CN116756061A (en) External equipment adaptation method, device, equipment and storage medium
CN118226120A (en) Power consumption determination method and device, electronic equipment and storage medium
CN116774673A (en) Data calibration method and device, electronic equipment and storage medium
CN117743396A (en) Data quality detection method, device, equipment and storage medium

Legal Events

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