The content of the invention
The present invention provides a kind of shower nozzle emulation board for test printing control system, a kind of prints
Test system and the printing test method based on described shower nozzle emulation board, can be in print control system
Printed by verifying that the shower plate of print control system sends in the case of there is no actual shower nozzle in system
Data, so as to learn the data transfer correctness of print control system and connecting for each subtending port
Property.
In a first aspect, the present invention provides a kind of shower nozzle emulation board for test printing control system,
Characterized in that, including:Emulation spout signal interface, FPGA, MCU;
Wherein, spout signal interface is emulated, the shower plate for receiving print control system sends
Print data;
The FPGA is connected with the MCU and emulation spout signal interface respectively, for receiving
The test instruction of the MCU, and according to the test instruction to the emulation spout signal interface
The print data of reception is verified, and obtains check results;
The MCU is interacted with the FPGA, is generated for sending out according to the check results
Send the test report of server.
Further, the shower nozzle emulation board also includes:
Shower nozzle power interface, for receiving the shower nozzle power supply voltage signal of shower plate transmission;
Voltage tester equipment, for testing the shower nozzle supply voltage that the shower nozzle power interface is received
Signal;
The shower nozzle power interface connects the voltage tester equipment.
Further, the shower nozzle emulation board also includes:
Capacitive load, for receiving the shower nozzle power supply voltage signal, connects to the shower nozzle power supply
The shower nozzle power supply that mouth is received is stored, and the shower nozzle power supply electricity of storage is exported after the scheduled time
Pressure signal;
The voltage tester equipment, it is also electric to test the shower nozzle power supply of the capacitive load output
Pressure signal;
The capacitive load connects with the shower nozzle power interface and electrical equipment respectively.
The shower nozzle power supply voltage signal is that shower nozzle drive voltage signal or shower nozzle heating voltage are believed
Number.
Second aspect, the present invention also provide a kind of printing test system, including:Shower plate, also
Including:Described shower nozzle emulation board, the shower nozzle emulation board connect the shower plate.
The third aspect, the present invention also provide a kind of printing test based on described shower nozzle emulation board
Method, including:
The print data that emulation spout signal interface shower plate sends;
MCU detect it is described emulation spout signal interface print data when, to FPGA
Send test command;
The FPGA is verified to the print data according to the test command, and is obtained
Check results.
Further, methods described also includes:
The MCU is generated for sending the test report of server according to the check results.
Preferably, the FPGA is verified to the print data according to the test command,
And check results are obtained, including:
The print data and default verification data are matched, check results are obtained;
Wherein, the default inspection data is to pre-set for testing the printing test system
The data of the connectedness of the data transfer correctness and subtending port of system.
Preferably, the MCU is generated for sending the test of server according to the check results
Report, including:
After the FPGA obtains check results, verification ending message is sent to MCU;
The MCU obtains the verification knot from the FPGA according to the verification ending message
Really;
The MCU is generated for analyzing the test report of error reason according to the check results.
Further, the MCU is generated for analyzing error reason according to the check results
After test report, methods described also includes:
The test report for analyzing error reason is reported server by the MCU.
As shown from the above technical solution, the present invention does not have actual shower nozzle in print control system,
Need not connect in the case that shower nozzle carries out actual inkjet printing, by the related work(of shower nozzle emulation board
Be able to verify that, so as to verify print control system data transfer just
The connectedness of true property and each subtending port, with real-time, Accuracy and high efficiency.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the present invention is made further in detail
Description.Following examples are used to illustrate the present invention, but are not limited to the scope of the present invention.
Fig. 1 shows the shower nozzle for test printing control system that one embodiment of the invention is provided
The structural representation of emulation board,
A kind of shower nozzle emulation board for test printing control system shown in Fig. 1, including:It is imitative
True spout signal interface 1, FPGA3, MCU6;Emulation spout signal interface 1 herein and reality
The signaling interface specification of border shower nozzle is consistent.
Wherein, spout signal interface 1 is emulated, the shower plate for receiving print control system sends
Print data;
The FPGA3 is connected with the MCU6 and emulation spout signal interface 1 respectively, is used for
The test instruction of the MCU6 is received, and according to the test instruction to the emulation shower nozzle letter
The print data that number interface 1 is received is verified, and obtains check results;
The MCU6 is interacted with the FPGA3, and being generated according to the check results is used for
The test report of server is sent, consequently facilitating carrying out storing, inquiring about, analyze to test result
Deng operation,
The present invention does not have actual shower nozzle in print control system, it is not necessary to which connecing shower nozzle carries out reality
In the case of inkjet printing, currently beaten by the true reflection of correlation function checking of shower nozzle emulation board
Print state, so as to verify the company of the data transfer correctness and each subtending port of print control system
The general character, with real-time, Accuracy and high efficiency.And the hardware of this shower nozzle emulation board is less,
Hsrdware requirements are simplified on the premise of test function is realized.
The MCU6 passes through serial ports and server connection to interact.
In order to reduce the treating capacity of data, efficiency is improved.Further, the shower nozzle emulation board
Also include:
Data buffer 2, for buffering the printing number that the emulation spout signal interface 1 is received
According to;
The data buffer 2 be located at the emulation spout signal interface 1 and the FPGA3 it
Between.
Fig. 1 is referred again to, in order to further test the power-on and power-off situation of shower nozzle power supply, so as to test spray
The correctness or normality of head power-supply system, the shower nozzle emulation board also include:
Shower nozzle power interface 4, for receiving the shower nozzle power supply voltage signal of shower plate;Herein imitative
True shower nozzle power interface 4 is consistent with 4 specification of shower nozzle power interface of reality.
Voltage tester equipment, for testing the shower nozzle power supply electricity that the shower nozzle power interface 4 is received
Pressure signal;
The shower nozzle power interface 4 connects the voltage tester equipment.
The shower nozzle power supply voltage signal is that shower nozzle drive voltage signal or shower nozzle heating voltage are believed
Number.
The voltage tester equipment can adopt lamp, such as LED, supply voltage herein to answer big
In the ignition voltage of lamp lamp, therefore the upper and lower of shower nozzle power supply can be tested by whether lighting for lamp
Electric situation.
Referring still to Fig. 1, due to negative containing capacitive as electric capacity in actual shower nozzle power-supply system
5 are carried, so in order that test makes power supply test result more closer to real shower nozzle power-supply system
True and accurate, the shower nozzle emulation board also include:
Capacitive load 5, for receiving the shower nozzle power supply voltage signal, connects to the shower nozzle power supply
The shower nozzle power supplys that mouth 4 is received are stored, and the shower nozzle power supply of storage is exported after the scheduled time
Voltage signal;
The voltage tester equipment, also to test the shower nozzle power supply that the capacitive load 5 is exported
Voltage signal;
The capacitive load 5 connects with the shower nozzle power interface 4 and electrical equipment respectively.Hold
Property load 5 can be electric capacity.
Typically the capacitive load is simulated with the electrochemical capacitor of larger capacitance.
The invention also discloses a kind of printing test system, including:Shower plate, also includes:Institute
The shower nozzle emulation board stated, the shower nozzle emulation board connect the shower plate.
With reference to Fig. 2, the invention also discloses a kind of printing test based on described shower nozzle emulation board
Method, methods described are the printing test method of print control system, before the process per se, enter
Row is following to be operated:
When starting a printing test, print parameters setting is carried out on the server, including
The parameter of printing test operation, the frequency dividing times frequency ratio of encoder, print resolution etc..
Then master control borad receives the code device signal from Synchronization Control plate, while the printing to receiving
Data are cached and are processed, and are sent to shower plate by page.After shower plate receives print data,
The data form being processed as required for shower nozzle, is sent to shower nozzle emulation board;
The printing test method of the present invention is carried out then, including:
The print data that S1, emulation spout signal interface shower plate send;The printing number
According to can be data in a predetermined period.
S2, MCU detect it is described emulation spout signal interface print data when, to
FPGA sends test command;
S3, the FPGA are verified to the print data according to the test command, and
Obtain check results.
For the ease of the operation such as carrying out storing to test result, inquiring about, analyze, methods described is also
Including:
S4, the MCU are generated for sending the test report of server according to the check results
Accuse.
Used as a kind of optimal way, S3, the FPGA are beaten to described according to the test command
Printing evidence is verified, and obtains check results, including:
The print data and default verification data are matched, check results are obtained;
Wherein, the default inspection data is to pre-set for testing the printing test system
The data of the connectedness of the data transfer correctness and subtending port of system are usually default correct
Shower plate print data.
Preferably, described S4, MCU are generated for sending server according to the check results
Test report, including:
After S41, the FPGA obtain check results, verification ending message is sent to MCU;
S42, the MCU obtain the school from the FPGA according to the verification ending message
Test result;
S43, the MCU generate test report according to the check results.
For the ease of the operation such as carrying out storing to test result, inquiring about, analyze, further,
After described S4, MCU generate test report according to the check results, methods described also includes:
The test report is reported server by S5, the MCU.
The present invention receives the print data of emulation spout signal interface in shower nozzle emulation board
Afterwards, print data each is verified, within the fixed cycle, if check results are
Correctly, then a result is exported, if incorrect, then it is assumed that print data is wrong, obtains one
Error bit, and test result generation test report is sent to into server, server is according to test
The reason for error bit analytical data produces mistake.
The present invention does not have actual shower nozzle connect shower nozzle in print control system carries out actual spray
In the case that ink is printed, print by the true reflection of correlation function checking of shower nozzle emulation board is current
State, so as to verify the data transfer correctness of print control system and connecting for each subtending port
Property, with real-time, Accuracy and high efficiency.And this method presentate is easily realized, greatly
The flow process and hsrdware requirements of system test are simplified, the efficiency of system test is improve.
One of ordinary skill in the art will appreciate that:Various embodiments above is only to illustrate the present invention
Technical scheme, rather than a limitation;Although carrying out to the present invention with reference to foregoing embodiments
Detailed description, it will be understood by those within the art that:Which still can be to aforementioned each
Technical scheme described in embodiment is modified, or special to which part or whole technologies
Levying carries out equivalent;And these modifications or replacement, do not make the essence of appropriate technical solution
Depart from the scope of the claims in the present invention.