CN113127092A - Custom packaging system and method based on upper computer - Google Patents

Custom packaging system and method based on upper computer Download PDF

Info

Publication number
CN113127092A
CN113127092A CN202110348624.2A CN202110348624A CN113127092A CN 113127092 A CN113127092 A CN 113127092A CN 202110348624 A CN202110348624 A CN 202110348624A CN 113127092 A CN113127092 A CN 113127092A
Authority
CN
China
Prior art keywords
data
command
upper computer
computer
module
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
CN202110348624.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.)
Shenzhen Faraday Electric Drive Co ltd
Original Assignee
Shenzhen Faraday Electric Drive 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 Shenzhen Faraday Electric Drive Co ltd filed Critical Shenzhen Faraday Electric Drive Co ltd
Priority to CN202110348624.2A priority Critical patent/CN113127092A/en
Publication of CN113127092A publication Critical patent/CN113127092A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Automatic Analysis And Handling Materials Therefor (AREA)

Abstract

The embodiment of the invention discloses a custom packaging system and a method based on an upper computer, wherein the system consists of a display module, a command execution module, a communication module and a data processing module, wherein the communication module: communicating with the lower computers, sending corresponding data to a certain lower computer, or carrying out a broadcast command, receiving the data of all the lower computers, dividing the data according to the IDs of the lower computers and storing the data into corresponding objects; a data processing module: carrying out further processing on the received data and combining high and low data; a display module: displaying various information of the command setting; a command execution module: and automatically executing the flow according to the set command information and the set type. The invention can open the setting of various data by splitting various packaging flows and execute the data after re-packaging, so that a user can customize or adjust the packaging flows to obtain higher flexibility so as to deal with various testing flows and working conditions.

Description

Custom packaging system and method based on upper computer
Technical Field
The invention relates to the technical field of new energy automobiles, in particular to a custom packaging system and method based on an upper computer.
Background
In the field of new energy automobiles, after a traditional industrial control upper computer, such as an upper computer of an aging test, executes the aging test on a machine, at the moment, a switching motor needs to measure efficiency map, and each link of the flow needs to be replaced by the upper computer or manually executed manually.
The upper computer in the industrial control industry generally encapsulates the implementation flows of certain processes, a user can issue an executed instruction only by simple operation, the upper computer generally automatically executes the process flows, judges whether the process is normally executed or which step the process is executed according to various information fed back by the lower computer, and feeds back the result to a display interface, so that the user can know the current execution progress to decide the next operation.
Because the processes are packaged, the user has little intervention on the processes, and the flexibility is poor, so that a plurality of processes can be packaged to meet various working conditions if different lower computers are connected or different motors are used by the lower computers, and when some tests are generally performed or problems are eliminated, only a certain link in the process flow is likely to be executed, and all the processes are not required to be executed.
Disclosure of Invention
The technical problem to be solved by the embodiment of the invention is to provide a custom packaging system and method based on an upper computer so as to be capable of dealing with various testing processes and working conditions.
In order to solve the above technical problems, an embodiment of the present invention provides a custom packaging system based on an upper computer, which comprises a display module, a command execution module, a communication module, and a data processing module,
a communication module: communicating with the lower computers, sending corresponding data to a certain lower computer, or carrying out a broadcast command, receiving the data of all the lower computers, dividing the data according to the IDs of the lower computers and storing the data into corresponding objects;
a data processing module: the received data is further processed, high-low data is combined, and the data is filled into an interface of a display module and a cache opened according to an object for subsequent operation;
a display module: displaying various information of the command setting;
a command execution module: and automatically executing the flow according to the set command information and the set type.
Correspondingly, the embodiment of the invention also provides a custom packaging method based on the upper computer, which comprises the following steps:
a: creating corresponding objects according to the number of the lower computers;
b: setting command related information according to the man-machine interaction operation of a user;
c: judging whether the user confirms execution, and starting to execute the flow according to the set information after receiving an execution command input by the user;
d: and interacting with the lower computer, issuing an executed command, and controlling the lower computer to execute the command.
Further, step D comprises the sub-steps of:
d1: the upper computer writes a torque value initial value into the lower computer;
d2: the upper computer waits for timing;
d3: timing to reach the motor rotating speed stabilization time;
d4: the upper computer sends a channel data reading request of the power analyzer;
d5: the upper computer waits for and receives the data of the power analyzer;
d6: successfully reading the data by the power analyzer, and storing the data into an object of a lower computer;
d7: timing to reach the write-in interval time and finishing reading the power analyzer;
d8: the upper computer writes a torque value into the lower computer;
d9: repeating the substeps D2-D8;
d10: timing to reach the motor rotating speed stabilization time;
d11: the upper computer sends a channel data reading request of the power analyzer;
d12: the upper computer waits for and receives the data of the power analyzer;
d13: successfully reading the data by the power analyzer, and storing the data into an object of a lower computer;
d14: setting whether to directly stop or execute a process of descending from the end value to the initial value according to the command;
d15: the upper computer sends a halt instruction to the lower computer;
d16: and after the flow is executed, selecting a corresponding path according to the data storage operation of the user, and storing the data.
The invention has the beneficial effects that: the invention can open the setting of various data by splitting various packaging flows and execute the data after re-packaging, so that a user can customize or adjust the packaging flows to obtain higher flexibility so as to deal with various testing flows and working conditions.
Drawings
Fig. 1 is a schematic structural diagram of a custom packaging system based on an upper computer according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a custom packaging method based on an upper computer according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of the operation of an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application can be combined with each other without conflict, and the present invention is further described in detail with reference to the drawings and specific embodiments.
If directional indications (such as up, down, left, right, front, and rear … …) are provided in the embodiment of the present invention, the directional indications are only used to explain the relative position relationship between the components, the movement, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are only used for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Referring to fig. 1 and 3, the custom packaging system based on the upper computer according to the embodiment of the present invention is composed of a display module, a command execution module, a communication module, and a data processing module.
A communication module: the system is responsible for communicating with the lower computers, sending corresponding data to a certain lower computer or carrying out broadcast commands, receiving the data of all the lower computers, dividing the data according to the IDs of the lower computers and storing the data into corresponding objects.
A data processing module: and carrying out further processing on the received data, combining high-level data and low-level data, and filling the data into an interface of the display module and a cache opened according to the object for subsequent storage and other operations.
A display module: various information of command setting and the like are displayed.
A command execution module: and automatically executing the flow according to the set command information and the set type.
A user firstly defines the sending interval of a command, a writing initial value, a writing end value, the increasing/decreasing change amplitude of the writing value, the change type of the command and the like through a setting interface related to the command, then the execution of the command is started, and the upper computer can automatically execute the flow. Because various data related to the command can be set manually, the processes are endowed with flexibility to a certain extent, various executing information to be packaged originally is separated to be set by a user, and the set information is assembled to form a new packaging process. The operation steps are more command-related settings than those of the ordinary upper computer, but have the same characteristics of simple operation as the ordinary upper computer and the flexibility and variability which the ordinary upper computer does not have.
In the customized packaging system based on the upper computer, the types of the commands can be continuously updated and increased, and various working conditions can be met as long as the types are enriched, so that the universal effect is achieved.
Referring to fig. 2 to 3, the custom packaging method based on the upper computer in the embodiment of the invention includes steps a to D.
A: and creating corresponding objects according to the number of the lower computers.
B: and setting command related information according to the man-machine interaction operation of the user. And setting relevant information (assuming that the type of the command is external characteristic verification) by a user on a command setting interface, wherein the information comprises setting a torque writing interval, writing a torque value into a starting value, writing a torque value into an ending value, writing a torque value into an increasing amplitude value every time, and reading power analyzer data.
C: and judging whether the user confirms execution, and starting to execute the flow according to the set information after receiving an execution command input by the user.
D: and interacting with the lower computer, issuing an executed command, and controlling the lower computer to execute the command.
Further, step D comprises the sub-steps of:
d1: the upper computer writes a torque value initial value into the lower computer;
d2: the upper computer waits for timing;
d3: timing to reach the motor rotating speed stabilization time;
d4: the upper computer sends a channel data reading request of the power analyzer;
d5: the upper computer waits for and receives the data of the power analyzer;
d6: successfully reading the data by the power analyzer, and storing the data into an object of a lower computer;
d7: timing to reach the write-in interval time and finishing reading the power analyzer;
d8: the upper computer writes a torque value (the torque value is a value after the corresponding amplitude is increased) into the lower computer;
d9: repeating the substeps D2-D8;
d10: finally, the upper computer writes a torque value into the lower computer, the torque value is a termination value, the upper computer waits for timing, and the timing reaches the motor rotating speed stable time;
d11: the upper computer sends a channel data reading request of the power analyzer;
d12: the upper computer waits for and receives the data of the power analyzer;
d13: successfully reading the data by the power analyzer, and storing the data into an object of a lower computer;
d14: setting whether to stop directly or to execute a flow from an end value down to a start value (assuming setting to stop) according to the command;
d15: the upper computer sends a halt instruction to the lower computer;
d16: and after the flow is executed, selecting a corresponding path according to the data storage operation of the user, and storing the data.
The invention can select the type of the motor efficiency map in the command middle class after replacing the motor, and after setting the relevant command parameter, the executive command is issued, the machine can automatically execute the flow for measuring the motor efficiency map, after the measurement is finished, the external characteristic of the motor is supposed to be measured, at the moment, the external characteristic of the motor is selected in the command type, after the relevant parameter of the command is set, the executive command is issued, the machine can automatically execute the flow of the external characteristic, or at the moment, a certain working condition is verified, only a part of the flow of a certain process needs to be executed, after a part of the flow of a certain process is directly selected in the command type, the parameter is set, and the command is issued.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (3)

1. A self-defined packaging system based on an upper computer is characterized by comprising a display module, a command execution module, a communication module and a data processing module, wherein,
a communication module: communicating with the lower computers, sending corresponding data to a certain lower computer, or carrying out a broadcast command, receiving the data of all the lower computers, dividing the data according to the IDs of the lower computers and storing the data into corresponding objects;
a data processing module: the received data is further processed, high-low data is combined, and the data is filled into an interface of a display module and a cache opened according to an object for subsequent operation;
a display module: displaying various information of the command setting;
a command execution module: and automatically executing the flow according to the set command information and the set type.
2. A custom packaging method based on an upper computer is characterized by comprising the following steps:
a: creating corresponding objects according to the number of the lower computers;
b: setting command related information according to the man-machine interaction operation of a user;
c: judging whether the user confirms execution, and starting to execute the flow according to the set information after receiving an execution command input by the user;
d: and interacting with the lower computer, issuing an executed command, and controlling the lower computer to execute the command.
3. The upper computer-based custom packaging method of claim 2, wherein step D comprises the substeps of:
d1: the upper computer writes a torque value initial value into the lower computer;
d2: the upper computer waits for timing;
d3: timing to reach the motor rotating speed stabilization time;
d4: the upper computer sends a channel data reading request of the power analyzer;
d5: the upper computer waits for and receives the data of the power analyzer;
d6: successfully reading the data by the power analyzer, and storing the data into an object of a lower computer;
d7: timing to reach the write-in interval time and finishing reading the power analyzer;
d8: the upper computer writes a torque value into the lower computer;
d9: repeating the substeps D2-D8;
d10: timing to reach the motor rotating speed stabilization time;
d11: the upper computer sends a channel data reading request of the power analyzer;
d12: the upper computer waits for and receives the data of the power analyzer;
d13: successfully reading the data by the power analyzer, and storing the data into an object of a lower computer;
d14: setting whether to directly stop or execute a process of descending from the end value to the initial value according to the command;
d15: the upper computer sends a halt instruction to the lower computer;
d16: and after the flow is executed, selecting a corresponding path according to the data storage operation of the user, and storing the data.
CN202110348624.2A 2021-03-31 2021-03-31 Custom packaging system and method based on upper computer Pending CN113127092A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110348624.2A CN113127092A (en) 2021-03-31 2021-03-31 Custom packaging system and method based on upper computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110348624.2A CN113127092A (en) 2021-03-31 2021-03-31 Custom packaging system and method based on upper computer

Publications (1)

Publication Number Publication Date
CN113127092A true CN113127092A (en) 2021-07-16

Family

ID=76775431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110348624.2A Pending CN113127092A (en) 2021-03-31 2021-03-31 Custom packaging system and method based on upper computer

Country Status (1)

Country Link
CN (1) CN113127092A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141807A (en) * 2011-04-22 2011-08-03 柳州五菱汽车有限责任公司 Upper computer, lower computer, monitoring system and method
CN102478797A (en) * 2010-11-22 2012-05-30 中国科学院空间科学与应用研究中心 Monitoring system capable of configuring communication protocol
CN102750241A (en) * 2012-06-13 2012-10-24 中国科学院声学研究所 Method and system for communication between upper computer and lower computer
CN105573303A (en) * 2016-02-01 2016-05-11 奇瑞汽车股份有限公司 Automatic test system for electric vehicle motor control system rack
US20190377699A1 (en) * 2017-04-13 2019-12-12 Chin-Hui LIANG Analog industrial control systems anti-detection architecture and method
CN111649945A (en) * 2020-06-11 2020-09-11 重庆理工大学 System and method for testing power flow coupling efficiency of hybrid power assembly
CN112311641A (en) * 2020-12-30 2021-02-02 深圳市法拉第电驱动有限公司 CAN communication-based communication method and system for upper computer and lower computer

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102478797A (en) * 2010-11-22 2012-05-30 中国科学院空间科学与应用研究中心 Monitoring system capable of configuring communication protocol
CN102141807A (en) * 2011-04-22 2011-08-03 柳州五菱汽车有限责任公司 Upper computer, lower computer, monitoring system and method
CN102750241A (en) * 2012-06-13 2012-10-24 中国科学院声学研究所 Method and system for communication between upper computer and lower computer
CN105573303A (en) * 2016-02-01 2016-05-11 奇瑞汽车股份有限公司 Automatic test system for electric vehicle motor control system rack
US20190377699A1 (en) * 2017-04-13 2019-12-12 Chin-Hui LIANG Analog industrial control systems anti-detection architecture and method
CN111649945A (en) * 2020-06-11 2020-09-11 重庆理工大学 System and method for testing power flow coupling efficiency of hybrid power assembly
CN112311641A (en) * 2020-12-30 2021-02-02 深圳市法拉第电驱动有限公司 CAN communication-based communication method and system for upper computer and lower computer

Similar Documents

Publication Publication Date Title
EP0308805B1 (en) Full-screen input/output application program interface
CN100458977C (en) Apparatus and method for adaptive controlling flash storage interface reading and writing speed
US7640132B2 (en) Recording medium and test apparatus
US10976725B2 (en) User interface widget modeling and placement
US20160234347A1 (en) Automating user's operations
CN108823847B (en) Color changing method, device, equipment and system of embroidery machine
EP4206903A1 (en) Intelligent automation of ui interactions
CN112506759A (en) Automatic testing method and device for servo system control software and storage medium
CN103135011A (en) Test module generation apparatus, test procedure generation apparatus, generation method, and test apparatus
CN110888354A (en) Method and device for realizing automatic identification of access equipment, computer equipment and medium
CN116933566B (en) Data recording, data playback and data analysis method based on simulation system
CN113127092A (en) Custom packaging system and method based on upper computer
CN103135049A (en) Test pattern generation device, test program generation device, generation method, and test device
CN109408991B (en) Model parameter visualization processing method based on FANUC PICTURE human-computer interface
CN108363375B (en) Method and system for realizing automatic test of motor controller
CN112445670B (en) eMMC test method and device
JPH07191717A (en) Automatic preparing device for control program
CN107466369A (en) Fingerprint chip detecting method, apparatus and system
CN113374721B (en) Fan test control system and method thereof
CN104516623A (en) Interactive object display control method based on intelligent terminal and intelligent terminal
CN106648623A (en) Method and device of displaying characters in Android
US20060070038A1 (en) Programmable controller
CN113110315A (en) Upper computer system for dynamically loading control based on WPF and control method thereof
CN111723006B (en) Automatic test frame and industrial computer based on C #
CN116756064A (en) NVMe controller simulation model, method, equipment 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