Electronic jacquard control system
[affiliated technical field]
The utility model relates to a kind of electronic jacquard control system, relates in particular to the electronic jacquard control system that is provided with two microprocessors in a kind of control system.
[background technology]
Along with the development of computer network communication technology and infotech, networked production management pattern also is employed on jacquard weaving.Traditional electronic jacquard machine generally will be weaved data transmission on the control system of electronic jacquard machine by a computing machine, and control loom by control system and weave.Weaving traditional continuing in all directions during jacquard fabric, get final product in the disposable FLASH chip that is saved in an electric erasable in the control system before weaving weaving data, in weaving process, just no longer include transport behavior, thereby transformation task is light, just can control tens, hundreds of platform even more electronic jacquard machines with a computing machine.But for weaving no circulation jacquard fabric (so-called no circulation jacquard fabric is meant that figured pattern is along being the alternately fabric of any length of appearance of no cycle period ground on the warp direction), owing to weave data constantly conversion in weaving process, electronic jacquard machine control system must be on one side by network real-time, continuously download and weave data, control electronic jacquard machine on one side and weave, be difficult to weave with tens of computer control, hundreds of platform electronic jacquard machine.
In addition, the Data Receiving storage chip that is adopted in the at present traditional electronic jacquard machine control system based on ARM mostly is NAND FLASH chip greatly.And the write time of NAND FLASH chip is generally 200us, and the fast erasing time is 2ms, can stand 100,000 times erasable.That is to say when weaving data to change each time, then need the write time (because NAND FLASH chip must carry out erase operation earlier before writing data) about 2ms+200us.It is fully feasible adopt NAND FLASH chip to preserve weaving data for traditional jacquard machine control system.But for weaving no circulation jacquard fabric, suppose to weave data each minute variation once, then need carry out 1440 write operations in one day, thus, 100,000 erasing and writing lifes of NAND FLASH chip can only use at most 70 days, that is to say that per two wheat harvesting periods just must take electronic jacquard machine control system apart and carry out chip and change, yet, present NAND FLASH chip adopts the paster encapsulation basically, and welding very bothers again, and this mode is infeasible in practical operation.
[summary of the invention]
The purpose of this utility model be to provide a kind of with two microprocessors not only can be used for weaving continue in all directions fabric, but also can be used for weaving the electronic jacquard control system of no circulation jacquard fabric, has only a microprocessor in the electronic jacquard control system that the solution prior art exists, when weaving no circulation jacquard fabric, microprocessor read-write weaves that data speed is slow, serviceable life short, weaves problems such as comparison difficulty with many electronic jacquard machines of a computer control.
Above-mentioned technical purpose of the present utility model mainly solves by the following technical programs: electronic jacquard control system, comprise input/output module, the microprocessor that is mated, input that is connected with microprocessor and synchronization module, the electronic needle selecting driver module, ethernet module, the Data Receiving memory module, it is characterized in that described microprocessor comprises control microprocessor and the Data Receiving microprocessor that is connected by the Data Receiving memory module each other, described electronic needle selecting driver module, input and synchronization module, input/output module is connected with control microprocessor respectively, and described ethernet module is connected with the Data Receiving microprocessor.The pre-designed data of weaving are stored on the ftp server in the ethernet module.The Data Receiving microprocessor is used for constantly downloading from ftp server by ethernet module weaves data (weave data comprise weave parameter, pattern data etc.), and be stored on the Data Receiving memory module, the loom that control microprocessor reading of data and control on the Data Receiving memory module are mated is weaved.Adopt two microprocessors in this system, be respectively applied for control loom work and be used for reception and weave data, thereby the task of each microprocessor is light, can adopt low-cost ARM7 chip (as S3C44B0), and the requirement to dominant frequency is lower, can adopt four laminates, reduce the design difficulty of microprocessor, and save hardware cost.
As the further of technique scheme improved and replenish, the utility model adopts following technical measures:
Described Data Receiving memory module comprises RAM chip and pin-saving chip, described RAM chip comprises functional label district, data type mark zone, switch flag district and buffer zone, buffer zone comprises buffer zone A and buffer zone B again, described RAM chip connects control microprocessor and Data Receiving microprocessor respectively, and described pin-saving chip is connected with control microprocessor.Weave data storing to the buffer zone of RAM chip from what ftp server was downloaded, when needs are weaved traditional continuing in all directions during jacquard fabric, weave data and send and be stored on the pin-saving chip, weaving data and control loom and weave on the control microprocessor reading of data storage chip from buffer zone; When needs were weaved no circulation jacquard fabric, control microprocessor directly read weaving data and control loom and weave on the RAM chip buffer zone.Buffer zone comprises buffer zone A and buffer zone B, is used for alternately storage and downloads the different data of weaving of getting off, and control microprocessor reads the data of weaving on buffer zone A and the buffer zone B in turn.Functional label district, data type mark zone and switch flag district are used to guarantee that buffer zone A and buffer zone B take turns to store to weave data smoothly, and guarantee that control microprocessor reads the data of weaving on buffer zone A and the buffer zone B smoothly in turn.
Described pin-saving chip is an electric erasable FLASH chip, and described RAM chip is the two-port RAM chip, and described control microprocessor and Data Receiving microprocessor are embedded-type ARM 7 chips.The model of two-port RAM chip is IDT7132.Pin-saving chip is the K9F2808U chip.
Described ethernet module comprises the ethernet control chip that is connected with data receiving processor, the isolating transformer that is connected with this ethernet control chip, the network interface that is connected with isolating transformer, the ftp server that is connected with network interface by netting twine.
Described electronic needle selecting driver module can be connected with the electronics actuating unit on the digitalized needle selecting machine, and described input can match with loom by contactless Hall element with synchronization module.
The beneficial effect that the utlity model has: 1, be provided with two microprocessors in the control system, both kept the compatibility with the conditional electronic jacquard loom controller, can be used for weaving the fabric or do not have the circulation jacquard fabric of continuing in all directions again; 2, control microprocessor only is responsible for the realization of control electronic jacquard machine and is weaved function, and real-time data communication function is responsible for finishing by another sheet Data Receiving microprocessor, and the task of each microprocessor is light, can adopt low-cost ARM7 chip to realize; 3, the work dominant frequency of microprocessor is low, can adopt the design of four laminates, and the circuit design difficulty is low, has saved hardware cost.
[description of drawings]
Fig. 1 is a kind of structural representation of the present utility model.
Among the figure: 1. control microprocessor, 2. Data Receiving microprocessor, 3. electronic needle selecting driver module, 4. input and synchronization module, 5. input/output module, 7.RAM chip, 8. pin-saving chip, 9. functional label district, 10. data type mark zone, 11. switch flag districts, 12. buffer zone A, 13. buffer zone B, 14. ethernet control chips, 15. isolating transformers, 16. network interfaces, 17.FTP server.
[embodiment]
Below by embodiment, and in conjunction with the accompanying drawings, the technical solution of the utility model is described in further detail.
Embodiment: electronic jacquard control system, as shown in Figure 1, it comprises input/output module 5 (generally including keyboard and display), the microprocessor that is mated, input that is connected with microprocessor and synchronization module 4, electronic needle selecting driver module 3, ethernet module, Data Receiving memory module.Microprocessor comprises control microprocessor 1 and the Data Receiving microprocessor 2 that is connected by the Data Receiving memory module each other, and the Data Receiving memory module comprises two-port RAM chip 7 (model can be IDT7132) and pin-saving chip 8.Electronic needle selecting driver module 3, input are connected with control microprocessor 1 respectively with synchronization module 4, input/output module 5, and ethernet module is connected with Data Receiving microprocessor 2.Ethernet module comprises the ethernet control chip 14 (model can be RTL8019AS) that is connected with data receiving processor 2, the isolating transformer 15 that is connected with this ethernet control chip 14 (model can be 20F001N), the network interface 16 that is connected with isolating transformer 15 (RJ45 interface), the ftp server 17 that is connected with network interface by netting twine.Two ports of two-port RAM chip 7 connect control microprocessor 1 and Data Receiving microprocessor 2 respectively, and pin-saving chip 8 is connected with control microprocessor 1.Two-port RAM chip 7 comprises functional label district 9, data type mark zone 10, switch flag district 11 and buffer zone, and buffer zone comprises buffer zone A12 and buffer zone B13 again.Electronic needle selecting driver module 3 can be connected with the electronics actuating unit on the digitalized needle selecting machine, input can match with loom by contactless Hall element with synchronization module 4, pin-saving chip 8 is an electric erasable FLASH chip, control microprocessor 1 and Data Receiving microprocessor 2 are embedded-type ARM 7 chips, and its model all is S3C44B0.
The control method of above-mentioned electronic jacquard control system: at first, on ftp server, set and weave data (weave data comprise weave parameter, pattern data etc.), and will weave data and put into ethernet module; Then, the ftp server 17 of Data Receiving microprocessor 2 from ethernet module is loaded with up and down to close weaves data, and the value in modify feature mark zone 9, data type mark zone 10 and switch flag district 11 is with to weave data corresponding, and will weave data and send in the Data Receiving memory module; Then, control microprocessor 1 is transferred the data of weaving in the Data Receiving memory module (buffer zone or pin-saving chip) according to the value in functional label district 9, data type mark zone 10 and switch flag district 11, and the control loom begins to weave.
If weave the jacquard fabric that continues in all directions, then Data Receiving microprocessor 2 sends to the data of weaving in the buffer zone in it in pin-saving chip 8, and rewrite in functional label district 9, the data type mark zone 10 value accordingly, control microprocessor 1 is read in from pin-saving chip 8 according to the value in functional label district 9, the data type mark zone 10 and is weaved data and begin to control loom and continue in all directions and weave.Here, the value of data type mark zone 10 is FF (also can use other character representations), and the value in functional label district 9 and switch flag district 11 is corresponding with the value of data type mark zone 10.
If weave no circulation jacquard fabric, then control microprocessor 1 is according to functional label district 9, the value of data type mark zone 10 directly reads from buffer zone and weaves data, begin to control loom do not have the circulation weave, rewrite the value in switch flag district 11 simultaneously, Data Receiving microprocessor 2 is downloaded next group according to the ftp server 17 of value from ethernet module in switch flag district 11 and is weaved data and put into buffer zone, rewrite simultaneously the value in switch flag district 11 again, control microprocessor 1 is before finishing after the weaving of a collection of colored type, value according to switch flag district 11 at this moment, read in next group and weave data, do not have circulation and so forth and weave.Here, the value of data type mark zone 10 is 00 (also can use other character representations), and the value in functional label district 9 and switch flag district 11 is corresponding with the value of data type mark zone 10.
Wherein, realize that by the value of rewriting the switch flag district data of buffer zone A and buffer zone B take turns read-write capability, make the data of two microprocessors in can shared buffer, thereby realize two data transmission between the embedded microprocessor.Specific implementation is as follows: download from the ftp server 17 of ethernet module when Data Receiving microprocessor 2 and weave data when being saved in the buffer zone A12, the value in switch flag district 11 is made as 5A (also can use other character representations), when the value of reading from switch flag district 11 when control microprocessor 1 is 5A, then from buffer zone A12, read and weave data at once, value with switch flag district 11 changes A5 (also can use other character representations) into simultaneously, when if the value that described Data Receiving microprocessor 2 is read switch flag district 11 becomes A5, then weaving data from second batch of ethernet module download is saved in the buffer zone B13, value with switch flag district 11 after download is finished changes 0F (also can use other character representations) into, after control microprocessor 1 is handled first data, read the value in switch flag district 11 once more, if readout is 0F, then read second batch data from buffer zone B13 handles at once, value with switch flag district 11 is F0 (also can use other character representations) simultaneously, in like manner, the value that in a single day Data Receiving microprocessor 2 reads switch flag district 11 is F0, then download the 3rd batch and weave parameter in buffer zone A12, value with switch flag district 11 after download is finished changes 5A into, after control microprocessor A1 handles second batch data, then switch to by the value that reads switch flag district 11 again and read the 3rd batch among the buffer zone A12 and weave data and handle, buffer zone B13 then is used for downloading preservation the 4th batch data by Data Receiving microprocessor 2, so circulation is then finished between two microprocessors from data and is downloaded to the real-time of data processing, carry out synchronously.