CN107557984B - A kind of high performance needle selection device knitting machine parallel data transmission agreement - Google Patents
A kind of high performance needle selection device knitting machine parallel data transmission agreement Download PDFInfo
- Publication number
- CN107557984B CN107557984B CN201710739754.2A CN201710739754A CN107557984B CN 107557984 B CN107557984 B CN 107557984B CN 201710739754 A CN201710739754 A CN 201710739754A CN 107557984 B CN107557984 B CN 107557984B
- Authority
- CN
- China
- Prior art keywords
- data
- clock signal
- knitting machine
- slide cam
- cam selector
- 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.)
- Active
Links
Landscapes
- Knitting Machines (AREA)
Abstract
The invention discloses a kind of high performance needle selection device knitting machine parallel data transmission agreements, knitting machine sends data to be carried out data transmission by slide cam selector communication interface agreement to slide cam selector, the needle selection device knitting machine communication interface agreement is made of double a clock signal driving datas and 8 position datawires, the high performance needle selection device knitting machine parallel data transmission agreement, 2 byte datas can be transmitted in the same transmission cycle, and all data very easily can have been transmitted once for slide cam selectors more than 8 knives;And use CLK1, CLK2 doubleclocking mutually verifies, it ensure that the integrality of signal, simultaneously in the data of transmission with CRC check and, terminal guarantees that the data of received data and transmission are completely the same by comparing crc value, entire transport protocol ensure that the safety and reliability of data, and transmission quantity is bigger, and speed is faster;It solves because transmission process corrupt data leads to mistake flower phenomenon caused by slide cam selector movement error.
Description
Technical field
The present invention relates to a kind of communication transfer agreements more particularly to a kind of high performance needle selection device knitting machine parallel data to pass
Defeated agreement.
Background technique
What needle selection device knitting machine communication interface agreement was usually used at present is the driving of 8 position datawire clocking informations;Needle selection
Device communication interface agreement is mainly made of 8 position datawires and a bit clock signal output signal.Transmission mode is in clock
Data in rising edge latch data bus, a little Data Labels are address signal, and in the failing edge of clock signal that data are total
Data on line are latched as data information, and the data of multichannel can be transferred out by ceaselessly repeating this process;It specifically drives
Dynamic timing diagram, as shown in Figure 1;But have the disadvantage in that (1) transmitted data amount is few, 1 byte data is transmitted each time.(2)
Transmission error tolerance ability is poor.Because one data word section can only be transmitted, the reliability for not making to verify data not can guarantee.
Summary of the invention
The purpose of the present invention is to provide a kind of high performance needle selection device knitting machine parallel data transmission agreements, on solving
State the problem of proposing in background technique.
The purpose of the present invention is be achieved by following technical proposals: a kind of high performance needle selection device knitting machine and line number
According to transport protocol, knitting machine sends data to be carried out data transmission by slide cam selector communication interface agreement to slide cam selector, the needle
Loom slide cam selector communication interface agreement is made of double a clock signal driving datas and 8 position datawires comprising the steps of:
Step 1, knitting machine are to slide cam selector output signal data;
When step 2, the signal data pass through needle selection device knitting machine communication interface, under double a clock signal drivings, when
The rising edge of clock signal 1 (CLK1) exports slide cam selector address number (address 1), and clock signal 2 (CLK2) is low level, auxiliary at this time
The correctness of clock signal 1 (CLK1) check information;
The rising edge of clock signal 2 (CLK2) in step 3, step 2 sends out the first data L, at this time clock signal 1
It (CLK1) is high level, the correctness of auxiliary clock signal 2 (CLK2) check information;
The failing edge of clock signal 1 (CLK1) in step 4, step 3 exports first data H, at this time clock signal 2
It (CLK2) is high level, the correctness of auxiliary clock signal 1 (CLK1) check information;
The failing edge output output verification result and crc value of clock signal 2 (CLK2) in step 5, step 4, this is constantly
Clock signal 1 (CLK1) is low level, the correctness of auxiliary clock signal 2 (CLK2) checking signal.
Step 6, slide cam selector receive the slide cam selector address number (address 1), data H and data L, are obtained by operation
New crc value out.
Step 7 compares new crc value that step 6 is calculated and the crc value that step 5 output obtains, if not
Match, then this packet data is invalid, and data are correct if matching.
The new crc value is calculated by slide cam selector address number (address 1)+data H+ data L.
Compared with prior art, which has following
Beneficial effect;
(1) 2 byte datas can be transmitted in the same transmission cycle, it can be very convenient for slide cam selectors more than 8 knives
The complete all data of once transmission.
(2) CLK1 is used, CLK2 doubleclocking mutually verifies, and ensure that the integrality of signal.
(3) CRC check is had in the data of transmission and terminal guarantees received data and transmission by comparing crc value
Data are completely the same.
Detailed description of the invention
Fig. 1 is whole driver' s timing figure of the invention.
Fig. 2 is local driver' s timing figure of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments, is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
As depicted in figs. 1 and 2, the invention discloses a kind of high performance needle selection device knitting machine parallel data transmission agreement,
Knitting machine sends data to be carried out data transmission by slide cam selector communication interface agreement to slide cam selector, and the needle selection device knitting machine is logical
Communication interface agreement is made of double a clock signal driving datas and 8 position datawires comprising the steps of:
Step 1, knitting machine are to slide cam selector output signal data;
When step 2, the signal data pass through needle selection device knitting machine communication interface, under double a clock signal drivings, when
The rising edge of clock signal 1 (CLK1) exports slide cam selector address number (address 1), and clock signal 2 (CLK2) is low level, auxiliary at this time
The correctness of clock signal 1 (CLK1) check information;
The rising edge of clock signal 2 (CLK2) in step 3, step 2 sends out the first data L, at this time clock signal 1
It (CLK1) is high level, the correctness of auxiliary clock signal 2 (CLK2) check information;
The failing edge of clock signal 1 (CLK1) in step 4, step 3 exports first data H, at this time clock signal 2
It (CLK2) is high level, the correctness of auxiliary clock signal 1 (CLK1) check information;
The failing edge output output verification result and crc value of clock signal 2 (CLK2) in step 5, step 4, this is constantly
Clock signal 1 (CLK1) is low level, the correctness of auxiliary clock signal 2 (CLK2) checking signal.
Step 6, slide cam selector receive the slide cam selector address number (address 1), data H and data L, are obtained by operation
New crc value out.
Step 7 compares new crc value that step 6 is calculated and the crc value that step 5 output obtains, if not
Match, then this packet data is invalid, and data are correct if matching.
The new crc value is calculated by slide cam selector address number (address 1)+data H+ data L.
(1) 2 byte datas can be transmitted in the same transmission cycle, it can be very convenient for slide cam selectors more than 8 knives
The complete all data of once transmission.
(2) CLK1 is used, CLK2 doubleclocking mutually verifies, and ensure that the integrality of signal.
(3) CRC check is had in the data of transmission and terminal guarantees received data and transmission by comparing crc value
Data are completely the same.
The high performance needle selection device knitting machine parallel data transmission agreement can transmit 2 words in the same transmission cycle
Joint number evidence very easily can once transmit all data for slide cam selectors more than 8 knives;And CLK1 is used, when CLK2 is bis-
Clock mutually verifies, and ensure that the integrality of signal, at the same in the data transmitted with CRC check and, terminal is protected by comparison crc value
The data for demonstrate,proving received data and transmission are completely the same, and entire transport protocol ensure that the safety and reliability of data, and
Transmission quantity is bigger, and speed is faster;It solves because transmission process corrupt data leads to mistake caused by slide cam selector movement error
Flower phenomenon.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.
In addition, it should be understood that although this specification is described in terms of embodiments, but not each embodiment is only wrapped
Containing an independent technical solution, this description of the specification is merely for the sake of clarity, and those skilled in the art should
It considers the specification as a whole, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art
The other embodiments being understood that.
Claims (1)
1. a kind of high performance needle selection device knitting machine parallel data transmission agreement, knitting machine sends data and is connect by slide cam selector communication
Mouth agreement to slide cam selector carries out data transmission, and the needle selection device knitting machine communication interface agreement is by double a clock signal driving numbers
It is constituted according to 8 position datawires, which is characterized in that comprise the steps of: step 1, knitting machine to slide cam selector output signal data;Step
Rapid 2, when the signal data passes through needle selection device knitting machine communication interface, under double a clock signal drivings, clock signal 1
(CLK1) rising edge exports slide cam selector address number (address 1), and clock signal 2 (CLK2) is low level, auxiliary clock letter at this time
The correctness of number 1 (CLK1) check information;The rising edge of clock signal 2 (CLK2) in step 3, step 2 sends out the first data
L, clock signal 1 (CLK1) is high level, the correctness of auxiliary clock signal 2 (CLK2) check information at this time;Step 4, step 3
In the failing edge of clock signal 1 (CLK1) export first data H, clock signal 2 (CLK2) is high level at this time, when auxiliary
The correctness of clock signal 1 (CLK1) check information;The failing edge of clock signal 2 (CLK2) in step 5, step 4 exports output
Check results and crc value, at this time clock signal 1 (CLK1) be low level, auxiliary clock signal 2 (CLK2) checking signal it is correct
Property;Step 6, slide cam selector receive the slide cam selector address number (address 1), data H and data L, are obtained newly by operation
Crc value;Step 7 compares the crc value that the new crc value that step 6 is calculated is obtained with step 5 output, if mismatching,
Then this packet data is invalid, and data are correct if matching, and the new crc value is by slide cam selector address number (address 1)+data H+ number
It is calculated according to L.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710739754.2A CN107557984B (en) | 2017-08-25 | 2017-08-25 | A kind of high performance needle selection device knitting machine parallel data transmission agreement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710739754.2A CN107557984B (en) | 2017-08-25 | 2017-08-25 | A kind of high performance needle selection device knitting machine parallel data transmission agreement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107557984A CN107557984A (en) | 2018-01-09 |
CN107557984B true CN107557984B (en) | 2019-05-28 |
Family
ID=60977137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710739754.2A Active CN107557984B (en) | 2017-08-25 | 2017-08-25 | A kind of high performance needle selection device knitting machine parallel data transmission agreement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107557984B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108342822A (en) * | 2018-04-24 | 2018-07-31 | 杭州旭仁纺织机械有限公司 | A kind of vamp circular knitting machine control system |
CN108330605B (en) * | 2018-04-28 | 2023-07-28 | 杭州旭仁纺织机械有限公司 | Needle selection control system and control method of circular knitting machine |
CN113454611B (en) * | 2019-04-02 | 2024-01-23 | 杭州飞步科技有限公司 | Method for verifying the integrity of address and control signals, and related products |
US10911181B2 (en) | 2019-04-02 | 2021-02-02 | Hangzhou Fabu Technology Co., Ltd. | Method for checking address and control signal integrity in functional safety applications, related products |
CN111510509B (en) * | 2020-06-15 | 2020-12-08 | 佛山市睿宝智能科技有限公司 | Data communication method of needle selector of knitting machine, storage medium and knitting machine |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1212517A (en) * | 1997-08-28 | 1999-03-31 | 三星电子株式会社 | Serial data communication between integrated circuits |
CN1324961A (en) * | 2000-05-19 | 2001-12-05 | 典洋针织机械股份有限公司 | Needle selector controling method |
CN1892890A (en) * | 2005-07-05 | 2007-01-10 | 三星电子株式会社 | Data input and data output control device and method |
US7542354B2 (en) * | 2006-01-31 | 2009-06-02 | Samsung Electronics Co., Ltd. | Reprogrammable nonvolatile memory devices and methods |
CN107093459A (en) * | 2010-11-15 | 2017-08-25 | 三星电子株式会社 | Non-volatile memory devices and its read method and accumulator system |
-
2017
- 2017-08-25 CN CN201710739754.2A patent/CN107557984B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1212517A (en) * | 1997-08-28 | 1999-03-31 | 三星电子株式会社 | Serial data communication between integrated circuits |
CN1324961A (en) * | 2000-05-19 | 2001-12-05 | 典洋针织机械股份有限公司 | Needle selector controling method |
CN1892890A (en) * | 2005-07-05 | 2007-01-10 | 三星电子株式会社 | Data input and data output control device and method |
US7542354B2 (en) * | 2006-01-31 | 2009-06-02 | Samsung Electronics Co., Ltd. | Reprogrammable nonvolatile memory devices and methods |
CN107093459A (en) * | 2010-11-15 | 2017-08-25 | 三星电子株式会社 | Non-volatile memory devices and its read method and accumulator system |
Also Published As
Publication number | Publication date |
---|---|
CN107557984A (en) | 2018-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107557984B (en) | A kind of high performance needle selection device knitting machine parallel data transmission agreement | |
US10108578B2 (en) | Single wire communications interface and protocol | |
CN103473088B (en) | A kind of single-chip microcomputer online upgrading method and system | |
CN104954096B (en) | A kind of high-speed synchronous serial communication data transmission method of one master and multiple slaves | |
CN104517646B (en) | Storage equipment and operating method based on flash memory | |
US7814371B2 (en) | Apparatus and method for point-to-point interconnect testing | |
CN105528325A (en) | Protection method and system for high-speed transmission through standard SPI protocol | |
CN104320317B (en) | A kind of transfer approach and device of ethernet physical layer chip status | |
CN106502932A (en) | The method of interconnecting interface and its write operation and read operation between the piece based on hierarchy | |
US9996439B2 (en) | Self-error injection technique for point-to-point interconnect to increase test coverage | |
CN107148760A (en) | Method by frame via bus system from transmitter serial transmission at least one receiver and the participation station for bus system | |
CN102291408B (en) | Processing method and device for iSCSI (Internet small computer system interface) protocol message | |
CN103577378A (en) | Full-duplex asynchronous serial communication method | |
US9594715B2 (en) | Integrated circuit devices, systems and methods having automatic configurable mapping of input and/or output data connections | |
US20180138922A1 (en) | Transmission checking method, node, system and computer storage medium | |
CN107741920B (en) | Simplified data transmission method for needle selector | |
CN102545953B (en) | UART (Universal Asynchronous Receiver/Transmitter) function extension circuit and control method thereof | |
CN110381095B (en) | System on chip, equipment and communication system | |
CN203773958U (en) | One time programmable (OTP) register read-write device | |
CN103679257B (en) | A kind of contactless payment telecommunications integrated circuit card and implementation method | |
CN106209307A (en) | Interconnected method and system between many FPGA sheets | |
CN111966623A (en) | Method for real-time full-duplex reliable communication between MCU and multiple FPGAs by using SPI | |
US20150026377A1 (en) | High-security card slot module | |
CN106528392A (en) | Aurora protocol-based B3G (beyond third generation) testing tool | |
CN106484477B (en) | The software download and starting method of safety |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |