CN108255657A - Hardware reconfiguration signal driving source and the software layout method based on its realization - Google Patents
Hardware reconfiguration signal driving source and the software layout method based on its realization Download PDFInfo
- Publication number
- CN108255657A CN108255657A CN201810039751.2A CN201810039751A CN108255657A CN 108255657 A CN108255657 A CN 108255657A CN 201810039751 A CN201810039751 A CN 201810039751A CN 108255657 A CN108255657 A CN 108255657A
- Authority
- CN
- China
- Prior art keywords
- signal
- driving source
- control unit
- main control
- instruction
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/263—Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to a kind of restructural signal driving source and based on the software layout method that it is realized, it is related to the configuration of restructural signal driving source and control strategy technical field.The present invention passes through the software configuration strategy realized based on hardware reconfiguration signal driving source, the signal that achievable upper computer software shows control interface is self-defined, and signal driving source dynamic realtime is controlled to be configured to required pumping signal, the testing requirement of a variety of special vehicles can be met;And there are the port number of certain surplus, has expandability.
Description
Technical field
The present invention relates to the configuration of restructural signal driving source and control strategy skill technical fields, and in particular to a kind of hardware
Restructural signal driving source and the software layout method based on its realization.
Background technology
The special vehicle of each model project such as is showing the various control of electric subsystem, acquisition, terminal at the portions
Part is after research and development and trial-production are completed, and when carrying out functional test, is required to a kind of signal driving source and generates high level signal, low level
Signal, frequency signal, resistance signal, voltage signal equal excitation signal, with verify the signal acquisition of these components, drive control,
The functions such as presentation of information.At present, these signals are required on manual toggle signal driving source panel related switch or knob to produce
Raw, the degree of automation is relatively low;Because the signal name of each project, quantity, definition are different, each project is both needed to scientific research personnel's input
Energy researches and develops specific signal driving source, and the driving source cannot be transplanted on sundry item and use, and utilization rate is relatively low;Believing
After number driving source is developed, because of actual needs, still remain signal path number, signal type, signal name variation can
Can, it needs to be improved driving source hardware, plasticity is poor.
As can be seen that due to the testing requirement of special vehicle complexity, often there is definition variation or quantity in design input
Increased possibility, the signal driving source that the design input before basis can be caused to develop in this way, can not generate follow-up debugging
Or all pumping signals needed for test, therefore, researching and developing a kind of expansible signal driving source of generalization becomes more and more urgent.
Invention content
(1) technical problems to be solved
The technical problem to be solved by the present invention is to:How a kind of generalization expansible signal driving source is realized and based on it
The software layout method of realization.
(2) technical solution
In order to solve the above technical problem, the present invention provides a kind of restructural signal driving source, including main control unit, respectively
A function module board, power input interface, switch, USB interface, 24V output interfaces, test equipment interface connector XS1 and
XS2;Wherein, power input interface is the input interface of signal driving source operating voltage, and USB interface is main control unit and host computer
Communication interface, main control unit is used to control the dynamic of corresponding function module board after the instruction for receiving and parsing through host computer
Make, so as to fulfill respective communication function;Signal driving source provides operating voltage, and lead to by 24V output interfaces for unit under test
It crosses test equipment interface connector XS1 and XS2 to export pumping signal to unit under test, also by test equipment interface connector
XS2 is detected the load driving force of unit under test.
Preferably, it is communicated between the main control unit and each function module board by RS485 buses, Mei Gegong
The communication module of energy module board is assigned different ID, responds different slave devices by different ID identifications, work(
The intercard communication of energy module board uses acknowledgement mechanism.
Preferably, the communication between the main control unit and each function module board uses acknowledgement mechanism, i.e. master control list
Member sends control instruction to corresponding function module board or status query instruction, each corresponding function module board are properly received, solve
Analyse that main control unit transmission is properly received response instruction after control instruction or status query instruction or state parameter reports instruction.
Preferably, bottom plate is further included, for each function module board of grafting.
The present invention also provides a kind of software layout method realized based on the restructural signal driving source, including with
Lower step:
The first step, for different model project, the function module board corresponding to corresponding pumping signal is inserted on bottom plate,
And defined for the test signal of different model project special vehicle, the self-defined Excel file of specific format is write as institute
Configuration file is stated, host computer loads the configuration file, and showing control interface in upper computer software provides hardware using the configuration file
Source is configured;
Second step, host computer generate corresponding control instruction according to the hardware resource of configuration, are sent to main control unit, master control
After unit is by receiving, parsing control instruction, corresponding function module board is controlled to carry out corresponding signal output, and to signal
Required pumping signal is obtained after being improved.
Preferably, in the first step, when host computer loads the configuration file, self defined area in the configuration file is read automatically
Signal name and signal type information, and by signal name and signal type information map to upper computer software show control interface refer to
Determine region, form customized aobvious control interface.
Preferably, it in the first step, shows control interface in upper computer software and hardware resource is configured using the configuration file
When, the value of all cells is put into a List chained list, when the value reading of all cells finishes, respective cells
Value be put into upper computer software and show in the corresponding text box in control interface, finally discharge operated in Excel and List chained lists it is all
Object.
Preferably, the conditioning is signal partial pressure and signal isolation.
Preferably, in second step, communication between host computer and main control unit is using acknowledgement mechanism, i.e. host computer is to master control
Unit module sends control instruction, main control unit and is properly received, is resolved to after control instruction and is properly received sound to host computer transmission
It should instruct or state parameter reports instruction.
(3) advantageous effect
The present invention is by the software configuration strategy realized based on hardware reconfiguration signal driving source, it can be achieved that upper computer software
The signal at aobvious control interface is self-defined, and signal driving source dynamic realtime is controlled to be configured to required pumping signal, can meet a variety of
The testing requirement of special vehicle;And there are the port number of certain surplus, has expandability.
Description of the drawings
Fig. 1 is the restructural signal driving source hardware structure block diagram of the present invention;
Fig. 2 is ole object model;
Fig. 3 is operating procedure explanations of the OLE to Excel configuration files of the present invention;
Fig. 4 is the host computer of the present invention and main control unit communication flow diagram;
Fig. 5 is the signal driving source bus communication schematic diagram of the present invention.
Specific embodiment
To make the purpose of the present invention, content and advantage clearer, with reference to the accompanying drawings and examples, to the present invention's
Specific embodiment is described in further detail.
As shown in Figure 1, the present invention provides a kind of restructural signal driving source, including bottom plate, main control unit, each function
Module board, power input interface, switch, USB interface, 24V output interfaces, test equipment interface connector XS1 and XS2;Its
In, bottom plate is used for each function module board of grafting, and power input interface is the input interface of signal driving source operating voltage,
USB interface is the communication interface of main control unit and host computer, and main control unit is used to control after the instruction for receiving and parsing through host computer
The action of corresponding function module board is made, so as to fulfill respective communication function;Signal driving source is quilt by 24V output interfaces
It surveys component and provides operating voltage, and pass through test equipment interface connector XS1 and XS2 and export pumping signal to unit under test,
The load driving force of unit under test is detected also by test equipment interface connector XS2.
Communication between the main control unit and each function module board is using acknowledgement mechanism, i.e. main control unit is to correspondence
Function module board sends control instruction or status query instruction, each corresponding function module board are properly received, are resolved to control
Main control unit transmission is properly received response instruction after instruction or status query instruction or state parameter reports instruction.
The present invention also provides a kind of software layout method realized based on the restructural signal driving source, including with
Lower step:
The first step, for different model project, the function module board corresponding to corresponding pumping signal is inserted on bottom plate,
And defined for the test signal of different model project special vehicle, self-defined Excel file is write as the configuration file,
Host computer loads the configuration file, and showing control interface in upper computer software is configured hardware resource using the configuration file;
As shown in Fig. 2, upper computer software is used using OLE Technology designs, Application:Represent application program in itself,
That is Excel application programs;Workbooks:It is the set of Workbook, represents workbook;Worksheets:It is
The set of Worksheet is the subobject of Workbook;Range:It is the subobject of Worksheet, it can be understood as Sheet
In a certain range of cell;Shapes:It is the subobject of Worksheet, for storing the cell of the information such as picture.It utilizes
OLE technologies develop the component software of reuse, it can be achieved that free configuration software function, can high efficiency, realize to flexibility it is soft
The recycling of part resource.
As shown in figure 3, when host computer loads the configuration file, the signal of self defined area in the configuration file is read automatically
Title and signal type information, and by signal name and signal type information map to upper computer software show control interface specify area
Domain forms customized aobvious control interface.Excel has defined the interface of all kinds of interactions as OLE/COM libraries plug-in unit, and via
Procedural interface operates Excel.Control interface is shown in upper computer software to match hardware resource using the configuration file
When putting, the value of all cells is put into a List chained list, when the value reading of all cells finishes, corresponding units
The value of lattice is put into upper computer software and shows in the corresponding text box in control interface, finally discharges the institute operated in Excel and List chained lists
There is object.
Second step, host computer generate corresponding control instruction according to the hardware resource of configuration, are sent to main control unit, master control
After unit is by receiving, parsing control instruction, corresponding function module board is controlled to carry out corresponding signal output, and to signal
Required pumping signal is obtained after carrying out signal partial pressure and signal isolation.Fig. 4 is host computer and main control unit module communication process
Figure.Using acknowledgement mechanism, i.e. host computer sends control instruction to main control unit module for communication between host computer and main control unit
Or inquiry instruction, main control unit are properly received, are resolved to after control instruction or inquiry instruction to host computer transmission and are properly received sound
It should instruct or state parameter reports instruction.Finally, pumping signal is sent to corresponding unit under test.
Fig. 5 is signal driving source bus communication schematic diagram.As can be seen that main control unit by usb bus and host computer into
Row communication, by receive, parse host computer instruction after control corresponding module board action, so as to fulfill its respective communication work(
Energy.It is communicated between the main control unit and each function module board by RS485 buses, each function module board
Communication module is assigned different ID, responds different slave devices by different ID identifications, between function module board
Communication is using acknowledgement mechanism.
As can be seen that the present invention uses restructural, configurable, expansible method, a kind of signal driving source is realized
Meet the testing requirement of multiple projects, which can meet the testing requirement of multiple projects, improve the automation of driving source
Degree and utilization rate, shorten the R&D cycle of product, while substantially reduce the R&D costs of project.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, without departing from the technical principles of the invention, several improvement and deformation can also be made, these are improved and deformation
Also it should be regarded as protection scope of the present invention.
Claims (9)
1. a kind of restructural signal driving source, which is characterized in that including main control unit, each function module board, power input
Interface, switch, USB interface, 24V output interfaces, test equipment interface connector XS1 and XS2;Wherein, power input interface is
The input interface of signal driving source operating voltage, USB interface are the communication interfaces of main control unit and host computer, and main control unit is used for
The action of corresponding function module board is controlled after the instruction for receiving and parsing through host computer, so as to fulfill respective communication function;
Signal driving source provides operating voltage by 24V output interfaces for unit under test, and pass through test equipment interface connector XS1 and
XS2 exports pumping signal to unit under test, also by test equipment interface connector XS2 to the load driving energy of unit under test
Power is detected.
2. restructural signal driving source as described in claim 1, which is characterized in that the main control unit and each function module
It is communicated between board by RS485 buses, the communication module of each function module board is assigned different ID, by not
Same ID identifications respond different slave devices, and the intercard communication of function module plate uses acknowledgement mechanism.
3. restructural signal driving source as described in claim 1, which is characterized in that the main control unit and each function module
Using acknowledgement mechanism, i.e. main control unit sends control instruction or status inquiry to corresponding function module board for communication between board
Instruction, each corresponding function module board is properly received, be resolved to control instruction or status query instruction after main control unit send just
It really receives response instruction or state parameter reports instruction.
4. restructural signal driving source as described in claim 1, which is characterized in that bottom plate is further included, for each work(of grafting
It can module board.
A kind of 5. software layout method that restructural signal driving source based on described in claim 4 is realized, which is characterized in that packet
Include following steps:
The first step, for different model project, the function module board corresponding to corresponding pumping signal is inserted on bottom plate, and needle
The test signal of different model project special vehicle is defined, writes and matches described in the self-defined Excel file conduct of specific format
Put file, host computer loads the configuration file, upper computer software show control interface using the configuration file to hardware resource into
Row configuration;
Second step, host computer generate corresponding control instruction according to the hardware resource of configuration, are sent to main control unit, main control unit
After receiving, parsing control instruction, corresponding function module board is controlled to carry out corresponding signal output, and carried out to signal
Required pumping signal is obtained after conditioning.
6. method as claimed in claim 5, which is characterized in that automatic to read when host computer loads the configuration file in the first step
The signal name and signal type information of self defined area in the configuration file are taken, and signal name and signal type information are reflected
It is incident upon upper computer software and shows control interface and specify region, form customized aobvious control interface.
7. method as claimed in claim 5, which is characterized in that in the first step, show control interface in upper computer software and matched using this
When putting file hardware resource being configured, the value of all cells is put into a List chained list, when all cells
When value reading finishes, the value of respective cells is put into upper computer software and is shown in the corresponding text box in control interface, is finally discharged
All objects operated in Excel and List chained lists.
8. method as claimed in claim 5, which is characterized in that the conditioning is signal partial pressure and signal isolation.
9. method as claimed in claim 5, which is characterized in that in second step, the communication between host computer and main control unit is adopted
With acknowledgement mechanism, i.e., host computer is to main control unit module sends control instruction, main control unit is properly received, is resolved to control instruction
Response instruction is properly received to host computer transmission or state parameter reports instruction afterwards.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810039751.2A CN108255657A (en) | 2018-01-16 | 2018-01-16 | Hardware reconfiguration signal driving source and the software layout method based on its realization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810039751.2A CN108255657A (en) | 2018-01-16 | 2018-01-16 | Hardware reconfiguration signal driving source and the software layout method based on its realization |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108255657A true CN108255657A (en) | 2018-07-06 |
Family
ID=62740857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810039751.2A Pending CN108255657A (en) | 2018-01-16 | 2018-01-16 | Hardware reconfiguration signal driving source and the software layout method based on its realization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108255657A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109506879A (en) * | 2018-11-27 | 2019-03-22 | 中国空气动力研究与发展中心高速空气动力研究所 | A kind of device that behavioral test is monitored in wind tunnel test and its control method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060184350A1 (en) * | 2005-02-11 | 2006-08-17 | S2C, Inc. | Scalable reconfigurable prototyping system and method |
CN204856469U (en) * | 2015-06-26 | 2015-12-09 | 西安翔迅科技有限责任公司 | General signal acquisition driver |
CN105446312A (en) * | 2015-04-01 | 2016-03-30 | 上海汽车集团股份有限公司 | Car body electric control system testing platform based on hardware-in-the-loop |
-
2018
- 2018-01-16 CN CN201810039751.2A patent/CN108255657A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060184350A1 (en) * | 2005-02-11 | 2006-08-17 | S2C, Inc. | Scalable reconfigurable prototyping system and method |
CN105446312A (en) * | 2015-04-01 | 2016-03-30 | 上海汽车集团股份有限公司 | Car body electric control system testing platform based on hardware-in-the-loop |
CN204856469U (en) * | 2015-06-26 | 2015-12-09 | 西安翔迅科技有限责任公司 | General signal acquisition driver |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109506879A (en) * | 2018-11-27 | 2019-03-22 | 中国空气动力研究与发展中心高速空气动力研究所 | A kind of device that behavioral test is monitored in wind tunnel test and its control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101672878B (en) | Chip testing device and chip testing method | |
CN203054186U (en) | Universal board testing device | |
CN101938164B (en) | Power equipment control method, device and related system thereof | |
CN202904367U (en) | A testing system based on a PXI bus | |
CN205788161U (en) | The test system of communication interface | |
CN104483959A (en) | Fault simulation and test system | |
CN101917178A (en) | Velocity transducer output signal analog device and method | |
CN110389042A (en) | A kind of finished vehicle electronic electric automatization integrated test system based on semi-true object emulation technology | |
CN111104309B (en) | Method for quickly realizing comprehensive test flow | |
CN108255657A (en) | Hardware reconfiguration signal driving source and the software layout method based on its realization | |
CN202995451U (en) | A vehicle-mounted controller automatic testing device | |
CN103902315A (en) | System and method for online updating of multiple board cards | |
CN111930574A (en) | SSD test system and SSD test method | |
CN203149062U (en) | Comprehensive testing instrument used for multipath lead wire/connector test | |
CN109683470A (en) | A kind of software and hardware self-adaptive matching method, device and driving device | |
CN103676940A (en) | Function detection system and method for digital control panel | |
CN203858506U (en) | Card-inserting type automated test equipment based on network backplane bus | |
CN116298801A (en) | Chip testing device, method, electronic equipment and storage medium | |
CN109857638B (en) | Universal framework for test system software | |
CN201508489U (en) | Automatic centralized control system | |
CN104699066A (en) | Electronic control module | |
CN109359025B (en) | Automatic test system and test method for electronic information equipment | |
CN103198168B (en) | A kind of off-line simulation method | |
CN203025276U (en) | Tester of capacitive touch screen module | |
CN102467243B (en) | Keyboard matrix analysis structure and method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180706 |
|
RJ01 | Rejection of invention patent application after publication |