Summary of the invention
In view of this, the object of the invention is to provide a kind of program attachment means that can repeatedly revise bookbinding control parameter easily at least, compels the easy to operation of bullet system so that repair at the end, also can adapt to changeable battlefield demand simultaneously.
To achieve these goals; The invention provides a kind of end that is used for and repair the program attachment means of compeling bullet; Comprise computer on hand-held set and the bullet, wherein hand-held set is used to import expression in order to said end is repaiied the data of compeling the parameter that bullet controls and data are sent to computer on the bullet, and computer is used to receive the data that hand-held set sends on the bullet; And said data are stored and read
Wherein, said hand-held set comprises:
Input unit is used to allow the user to import in order to define and/or to upgrade the data of said parameter; And
The serial ports assembly is used to transmit said data;
Computer comprises on the said bullet:
Master chip on the bullet, it can be connected with said serial ports assembly, is used to receive the data that said serial ports assembly sends, and said data are stored and read.
For the said procedure attachment means, preferably, computer also comprises on the said bullet:
The transformation Voltage stabilizing module, the voltage transformation that is used for the power supply output that computer on the said bullet is supplied power is stable low-voltage;
The electrification reset module is used for the voltage of said transformation Voltage stabilizing module output is used for RST to system being provided signal; And
Anti-jamming circuit is used to receive the voltage that said electrification reset module is exported, and divides into digital voltage and aanalogvoltage, master chip power supply on bullet.
For the said procedure attachment means; Preferably; Said hand-held set also comprises power module, under the said power module situation that master chip is connected on said serial ports assembly and said bullet, and master chip power supply on said input unit, said serial ports assembly and said bullet.
For the said procedure attachment means, preferably, said power module is a rechargeable battery.
For the said procedure attachment means, preferably, said serial ports assembly uses and comprises the aviation plug of data transmit-receive with stitch, power supply stitch and ground wire stitch.
For the said procedure attachment means, preferably, master chip and said connecting line use 5 pin aviation plugs on the said bullet, and wherein a pin is empty, all the other four pins can be respectively UTXD, URXD ,+3.3V dc source and GND.
For providing, the last user who repaiies urgent bullet need not to revise the ability that main program just can repeatedly be changed the employed parameter of program according to program attachment means of the present invention; This ability allows missile-borne computer once repeatedly receiving parameter in the start; And take last group; Also can repeatedly repeatedly receive parameter in the start, and take last group.Realized power-off protection function simultaneously, promptly after the missile-borne computer outage, do not lost the data of being bound the dress parameter.Program attachment means body volume is little, and is in light weight, is easy to carry about with one, and allows repeatedly to revise parameter, and friendly interface is simple to operate.Can be widely used in terminal-guided shell, urgent bullet is repaiied at the end, and bullet is compeled in terminal guidance, and in the model projects such as long-range rocket bullet, simple and practical, transplantability is strong.
The specific embodiment
Below in conjunction with accompanying drawing, through the specific embodiment the present invention is elaborated, characteristics of the present invention and advantage are along with these explanations will become more clear, clear and definite.
In order to overcome the deficiency of prior art; The inventor has carried out research with keen determination, finds to pass through with hand-held body as carrier, through importing and change the user interface input parameter of parameter; Transfer to computer on the bullet through the serial ports assembly; Thereby received, read and store by computer on the bullet, and then revision control parameter, thereby the present invention accomplished.
The present invention provides a kind of end that is used for to repair the program attachment means of compeling bullet, comprises computer on hand-held set and the bullet.Wherein, hand-held set is used to import and revise expression in order to said end being repaiied the data of compeling the parameter that bullet controls, and computer is used to receive the data that said hand-held set sends on the bullet, and said data are stored and read.
Wherein, hand-held set comprises: be used to allow the user to import and revise in order to definition and/or upgrade the input unit of the data of said parameter; And the serial ports assembly that is used to transmit said data.
Computer comprises on the bullet: master chip on the bullet, it can be connected with said serial ports assembly, is used to receive the data that said serial ports assembly sends, and said data are stored and read.
Wherein the serial ports assembly of hand-held set is connected through master chip on connecting line and the bullet.
In preferred embodiment; The present invention provides the aforesaid end that is used for to repair the program attachment means of compeling bullet; Wherein hand-held set also comprises power module; Under the said power module situation that master chip is connected on said serial ports assembly and said bullet, master chip power supply on said input unit, said serial ports assembly and said bullet.
In preferred embodiment; The present invention provides the aforesaid end that is used for to repair the program attachment means of compeling bullet; Computer also comprises transformation Voltage stabilizing module, electrification reset module and anti-jamming circuit on the wherein said bullet; Said transformation Voltage stabilizing module stabilizes to low-voltage and the stable electrification reset module of exporting to missile power supply, again through anti-jamming circuit master chip power supply on bullet.
Repair the program attachment means of compeling bullet at the end that is used for according to the present invention; In hand-held set; Input unit mainly comprises five parts, promptly primary condition input block, basic parameter input block, resolve the unit, output control time unit, output encoder and delay unit.Wherein, the mode that the data input function realizes can be to accomplish through the mode that touches or dialog box is selected, and the data of input send computer by serial receiving unit on the bullet through the application program in the hand-held set to through MAX232.
Repair the program attachment means of compeling bullet at the end that is used for according to the present invention, as the instance of hand-held set, it is the handheld computer of FM2 that hand-held set can be selected model for use, available from Shandong tide company.
Repair the program attachment means of compeling bullet at the end that is used for according to the present invention, in hand-held set, voltage module is chargeable voltage module, rechargeable battery for example, and it can be master chip power supply on input unit, serial ports assembly and the bullet.For the input unit and serial ports assembly of hand-held set, through the constant power supply of this voltage module.For master chip on the bullet, in the parametric procedure of bookbinding control program,, supply power through the power supply in the computer on the bullet at other times through this voltage module power supply.
Repair the program attachment means of compeling bullet at the end that is used for according to the present invention, in hand-held set, said serial ports assembly is preferably 232 serial ports assemblies, and it is the 232 serial ports assemblies of TTL that the attachment means serial ports is selected signaling mode.In further preferred examples, two serial interfaces are arranged on the hand-held set, be respectively COM1, COM2; Another serial ports jointing is to comprise the aviation plug of data transmit-receive with stitch, power supply stitch and ground wire stitch; Preference is like 4 pin aviation plugs, and wherein two stitch are that serial ports receives and send stitch, and a stitch is the power supply stitch; A stitch is the ground wire stitch, and is as shown in Figure 2.Wherein, each pin definition is shown in following table 1.
The definition of table 1 hand-held set 4 needle interfaces
4 pin aviation plugs | Implication |
Adapter | |
1 |
+9V~36V |
Just |
2 |
+9V~36V |
Just |
3 |
GND |
Negative |
4 |
GND |
Negative |
Different with the hand-held set serial interface, master chip and serial port connecting wire are 5 pin plugs on the bullet, and wherein a pin is empty, all the other four pins be respectively UTXD, URXD ,+3.3V dc source, GND.The UTXD interface of hand-held set 4 pin aviation plugs should link to each other with the URXD interface of 5 pin plugs of serial port connecting wire on the bullet during use, and the UTXD interface of connecting line links to each other on the URXD interface of hand-held set and the bullet, and is as shown in Figure 3.Wherein, each pin definition is shown in following table 2.
Serial port connecting wire definition on table 2 bullet
5 pin plugs | Implication | |
1 |
+3.3V |
2 |
GND |
3 |
UTXD |
4 |
URXD |
5 |
Empty |
Thus, the data and the transmission of the program parameter that the user will be bound in order to expression institute by the input of the input unit of hand-held set are sent data through 232 serial ports, and are transferred to computer on the bullet through connecting line with the TTL form.
Repair the program attachment means of compeling bullet at the end that is used for according to the present invention, the mode of the connected mode employing serial communication on handheld computer and the bullet between the computer is communicated by letter.In Industry Control, serial ports is the computer used always and the transmission channel between the external series equipment, because its structure is simple relatively, is easy to realize, so be widely used.The receiver of serial port module and transmitter are double bufferings, have independent enable bit and interrupt flag bit separately.Both can be independent enable bit and interrupt flag bit.Both can work independently, and also can under full duplex mode, work simultaneously.Serial port module is used even-odd check, and is overtime, and frame is made mistakes and monitored the accurate transmission of guaranteeing data, and serial module has interrupt mode and two kinds of modes of operation of inquiry mode.
Repair the program attachment means of compeling bullet at the end that is used for according to the present invention, on bullet, in the computer, preferably use the MSP430F449 device as master chip on the bullet.The transformation Voltage stabilizing module stabilizes to low-voltage with missile power supply, and distinguishes digital voltage and aanalogvoltage through attached anti-jamming circuit, thereby gives master chip power supply on the bullet.
Repair the program attachment means of compeling bullet at the end that is used for according to the present invention, on bullet, load computer bookbinding program on the bullet in the computer.The main effect of computer bookbinding program is to realize receiving data from hand-held set on the bullet; And with the storage that receives on bullet among (FLASH) of computer; So that can be from bullet after battery powers on the bullet read the FLASH of computer the moment that pulsed motor starts working and the time interval of per two pulsed motor work, these two parameters also are that the control end is repaiied and compeled the accurately major parameter of work of bullet.
Comprise serial ports receiving function, return of value function, memory function on the bullet in the computer bookbinding program and read the poke function.These functions are all accomplished by computer master chip on the bullet such as MSP430F449 master chip.The system job principle that is used for repairing the attachment means of compeling bullet in the end and workflow be the hand-held set data of sending by computer reception on the bullet after; Through judgement to data validity; If data can be used, then to return certain and be worth to the hand-held set input unit, expression is sent successfully; Data are stored in the FLASH memory of computer on the bullet simultaneously, and the back loss of data prevents to cut off the power supply.Behind computer circuit breaking on the bullet, power on once more, program is read institute's deposit data automatically from the FLASH memory, and the data assignment is repaiied urgent the bullet in the control program in the end, also is simultaneously the core concept that this program realizes.
Computer bookbinding program flow diagram is as shown in Figure 4 on the bullet.
The main aspect that realizes its function according to program attachment means of the present invention is: hand-held set is connected with 232 serial ports with missile-borne computer; Data signal format TTL; The agreement of setting up serial ports, data are sent with 16 system forms, and the data of sending are stored in the FLASH memory of missile-borne computer; Data are not lost when guaranteeing to cut off the power supply, and read to the corresponding program parameter position by program at last and in compel playing emission process, use.The attachment means body is a handheld computer, and serial ports is 4 pin aviation plugs, and hand-held set uses self powered battery, and in bookbinding control program parametric procedure, missile-borne computer through the power supply of air plug joint, can make when binding parameter easy and simple to handle by hand-held set like this.
For providing, the last user who repaiies urgent bullet need not to revise the ability that main program just can repeatedly be changed the employed parameter of program according to program attachment means of the present invention; This ability allows missile-borne computer once repeatedly receiving parameter in the start; And take last group; Also can repeatedly repeatedly receive parameter in the start, and take last group.Realized power-off protection function simultaneously, promptly after the missile-borne computer outage, do not lost the data of being bound the dress parameter.The attachment means body volume is little, and is in light weight, is easy to carry about with one, and allows repeatedly to revise parameter, and friendly interface is simple to operate.The operation use of compeling bullet is repaiied at auxiliary end have great role.
According to program attachment means of the present invention, compel the bullet emission before time reduce, economical and practical, can repeatedly change parameter value when parameter is made mistakes once binding, with the integrated design of firing table handheld computer, device miniaturization.
More than through anti-rational embodiment the present invention is specified; These embodiments and should not be construed as limitation of the present invention but; It will be apparent to those skilled in the art that; Under the situation that does not depart from spirit and scope of the invention, can carry out multiple improvement, replacement or modification to technical scheme of the present invention and embodiment thereof, these all should fall in protection scope of the present invention.