CN103572441B - For the sensor of the monitoring running state that spins, wireless sensing node and method thereof - Google Patents

For the sensor of the monitoring running state that spins, wireless sensing node and method thereof Download PDF

Info

Publication number
CN103572441B
CN103572441B CN201310506590.0A CN201310506590A CN103572441B CN 103572441 B CN103572441 B CN 103572441B CN 201310506590 A CN201310506590 A CN 201310506590A CN 103572441 B CN103572441 B CN 103572441B
Authority
CN
China
Prior art keywords
signal
electrode
sensor
yarn
spins
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.)
Expired - Fee Related
Application number
CN201310506590.0A
Other languages
Chinese (zh)
Other versions
CN103572441A (en
Inventor
石美红
段俊瑞
姜寿山
宇恒星
赵辉
韩田革
王臻跃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Polytechnic University
Original Assignee
Xian Polytechnic University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xian Polytechnic University filed Critical Xian Polytechnic University
Priority to CN201310506590.0A priority Critical patent/CN103572441B/en
Publication of CN103572441A publication Critical patent/CN103572441A/en
Application granted granted Critical
Publication of CN103572441B publication Critical patent/CN103572441B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Sensor for the monitoring running state that spins disclosed by the invention, wireless sensing node and method thereof, mainly utilize design a kind of based on electrostatic induction, the gate-shaped electrode sensor with special construction, gather spinning operating state signal, obtain that there is basic frequency f by signal transacting h, cycle uniformity pulse sequence signal, recycle embedded microprocessor to detect and computing the signal gathered, obtain spindle spins Yarn break, yarn linear speed, the data such as the twist of twisting thread run, then by less radio-frequency RF transceiver integrated in microprocessor, the data message of perception is sent in wireless sense network.Sensor for the monitoring running state that spins of the present invention, wireless sensing node and method thereof, not only human cost can be reduced, and spindle spinning run signal can be monitored initiatively, in real time, its circular error scope, in ± 0.5 microsecond, improves speed and the precision of on-line monitoring.

Description

For the sensor of the monitoring running state that spins, wireless sensing node and method thereof
Technical field
The invention belongs to wireless sensor technology field, be specifically related to a kind of sensor for the monitoring running state that spins, and utilize wireless sensing node designed by this sensor, the invention still further relates to and adopt above-mentioned wireless sensing node to carry out spinning the method for monitoring running state.
Background technology
In textile production process, the quality of real-time monitoring product and cost are one of very important contents in enterprise's fine-grained management, and wherein, the Real-Time Monitoring of spinning running status is one of quality of textile products cost control and link the most key in managing.At present, China's cotton mill is mostly according to the spindle of spinning machine rotating speed of the twist thread twist and the setting of spinning, and the yarn linear speed on estimation spindle, monitors by artificial inspection back and forth the breakage that each spindle occurs.But these means lack initiative, real-time and accuracy, be difficult to the demand adapting to the cost management of Modern Manufacturing Enterprise product quality.China is that textiles manufactures big country, and reducing costs expense, improving the quality of products is matters vital to national well-being and the people's livelihood.
The appearance of technology of Internet of things, for the supervision that becomes more meticulous of enterprise production process data provides important platform.The object of production management can extend to less " unit " by it, from perception, be transferred to Intelligent treatment, for enterprise production process management provide more comprehensively, initiatively, real-time fine data information, also for product quality complete monitoring with review the data foundation providing important, actively pushed forward the lifting of business administration ability.But the feature of Internet of Things is perceived as object, cognition technology is one of core technology of Internet of Things, and namely different monitored object needs different sensing technologies and monitoring method.Therefore, a kind of sensor for the monitoring running state that spins, wireless sensing node and method thereof is researched and developed imperative.
Summary of the invention
The object of this invention is to provide a kind of sensor for the monitoring running state that spins, realize the on-line automatic collection of the spinning operating state signal on spindle, solve the cost high problem that existing dependence direct surveillance means are brought;
Another object of the present invention is to provide and a kind ofly utilizes the wireless sensing node designed by the sensor to carry out on-line automatic collection, detection and computing to the spinning running status on spindle, and be passed in wireless network by Radio Transmission Technology, deliver to host computer to add up, there is provided in real time to Spinning process department, the running state information of spindle spinning accurately, to solve the time lag that existing monitoring means brings, inaccurate problem;
3rd object of the present invention is to provide a kind of method adopting above-mentioned wireless sensing node to carry out spinning monitoring running state, by method of the present invention, initiatively, in real time, accurately calculate Yarn break, yarn linear speed, the data such as the twist of twisting thread that spindle spins, solve coarse problem that existing monitoring method is brought.
The technical solution adopted in the present invention is: for the sensor of the monitoring running state that spins, be made up of the double-sided printed-circuit board of the gate-shaped electrode with special construction, in the front of printed circuit board (PCB), equidistant and the formation electrode grid that interconnects of several very thin electrode, be called shield grid, its profile forms a rectangle; At printed circuit reverse side, also interconnect than the electrode of few one of front shield grid quantity, each electrode is just in time positioned at shield grid two electrode gaps, and its profile also forms a rectangle.
Another technical scheme of the present invention is: for the wireless sensing node of the monitoring running state that spins, comprise the sensor, signal processing module, embedded microprocessor and the power supply that connect successively, the output of embedded microprocessor is connected with wireless sense network by Radio Transmission Technology; Embedded microprocessor selects Nei Ji to have the CC2530 chip of wireless radiofrequency RF transceiver; Described power supply passes through powered battery.
3rd technical scheme of the present invention is: spinning method for monitoring operation states, specifically implements according to following steps:
Step 1: when yarn is with a certain speed motion, the random electrostatic charge utilizing yarn to carry, through electrostatic induction and the space filtering of sensor, obtains one containing the pulse wave of frequency component and the clutter of low-frequency disturbance, specifically implements according to following steps:
Suppose only there is a point charge at yarn, the signals collecting principle of sensor is as follows:
(1) yarn with a certain speed relative to sensor movement;
(2) when a certain electrode of this point charge on signal grid, two electrode gap places of shield grid are namely just positioned at, so, voltage signal is produced at this electrode place, but it, at other contiguous electrode places, is namely positioned on the electrode of shield grid, just non-inductive or very little interference inductive voltage signal;
If the electrode on signal grid does not link together, so, when yarn with a certain speed through sensor movement, this point charge produces a voltage signal U on each electrode of signal grid s(t), and the voltage signal U that adjacent two electrodes produce s(t) and U s(t+1) time difference of a Δ t will be had;
If by all Electrode connection on signal grid together, so, when broken end does not occur in operation of spinning, the output at sensor is obtained one and there is the pulse wave electric voltage signal U that the cycle is Δ t s(t), otherwise what obtained by the output at sensor is a level signal without pulse wave namely mean that broken end appears in the spinning yarn on this spindle;
Step 2: signal processing module processes transducing signal, namely comprise and utilize the clutter of preamplifier to sensor collection to amplify, the low-frequency interference signal in preamplifier output signal is eliminated in filtering process through high-pass filter, by peak amplifier by the amplitude modulation of the output signal of high-pass filter to limit ± 0.7V amplitude between, utilize comparator that the output signal of peak amplifier is shaped to pulse sequence signal, finally, by the frequency modulation of phaselocked loop, phase modulation effect, stable pulse sequence frequency and phase place of pinning comparator output, formation has basic frequency f h, cycle uniformity pulse sequence signal,
Step 3: utilize embedded microprocessor to detect the spinning operating state signal gathered, namely comprise and utilize the P1.2 pin of P1 port in CC2530 and timer to detect the rising edge of comparator output signal in signal processing module, if in timing, the rising edge of pulse signal do not detected, show to occur breakage, otherwise, normally; The P0.0 pin of P0 port in CC2530 and timer is utilized to carry out step-by-step counting between the adjacent rising edges of phaselocked loop output pulse sequence signal in signal processing module, detect spinning run signal frequency, therefrom obtain breakage signal and spinning run signal cycle;
Step 4: utilize the signal of embedded microprocessor to the spinning running status detected to carry out computing, the data of perception are sent in wireless sense network by less radio-frequency RF transceiver integrated in embedded microprocessor by the data of the breakage that acquisition spindle spins, yarn linear speed, the twist of twisting thread;
Suppose, interelectrode spacing is Δ x, and so, the frequency outputed signal by detecting sensor, i.e. cycle Δ t, calculate the linear speed v of yarn:
v=Δx/Δt,
According to the raw material of yarn, composition and specification, the spindle rotating speed n of spinning machine is setting in advance before operation, so yarn twist twise calculating formula of twisting thread is:
twise=n/v。
The invention has the beneficial effects as follows:
1. the sensor for the monitoring running state that spins of the present invention, wireless sensing node and method thereof, not only can reduce human cost, and the circular error scope of the spindle spinning run signal of monitoring is in ± 0.5 microsecond, can improve the accuracy of on-line monitoring;
2. wireless sensing node of the present invention, can not only gather initiatively, in real time and the signal of Test Field spinning running status, the data-signal that intelligence computation process detects, and can communicate with other wireless sensing nodes, form an organic radio sensing network;
3. wireless sensing node of the present invention, have that structure is simple, with low cost, volume is little, lightweight, low in energy consumption, be easy to implement and be convenient to the feature of commercialization batch production.
Accompanying drawing explanation
Fig. 1 is the structural representation of a kind of embodiment of wireless sensing node of the present invention;
Fig. 2 is the data frame format of IEEE802.15.4 wireless transmission protocol;
Fig. 3 is the process chart of monitoring method of the present invention;
Fig. 4 is the structural representation of sensor of the present invention;
Fig. 5 is that yarn is by sensor schematic diagram;
Fig. 6 is the basic acquisition principle figure of sensor;
Fig. 7 is the structural representation of signal transacting;
Fig. 8 is preamplifier interface diagram;
Fig. 9 is high-pass filter interface diagram;
Figure 10 is peak amplifier interface diagram;
Figure 11 is comparator interface diagram;
Figure 12 is phaselocked loop interface diagram;
Figure 13 is the signal graph that circuit at different levels exports after signal transacting;
Figure 14 is embedded microprocessor CC2530 chip interface schematic diagram.
In figure, 1. wireless sensing node, 2. sensor, 3. signal processing module, 4. embedded microprocessor, 5. power supply, 6. wireless sense network, 7. preamplifier, 8. high-pass filter, 9. peak amplifier, 10. comparator, 11. phaselocked loops.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
In process of textile production, textile fabric usually mutually or produces with machine part and rub, to cause on the yarn spinned always some electrostatic charges of accumulation more or less.If at a yarn other placement induction electrode of a motion, so, this electrode just there will be micro voltage fluctuation.Therefore, in order to monitor the running status of yarn, by means of this induction effect of electrostatic charge on yarn, devise a kind of gate-shaped electrode sensor with special construction, it can improve the induction susceptibility to electrostatic charge on yarn, can carry out space filtering to the voltage signal obtained by electrostatic induction on yarn simultaneously.
The structure of the sensor 2 of electrostatic induction of the present invention, as shown in Figure 4, it is made up of the double-sided printed-circuit board that a slice is very simple, cheap.In the front of printed circuit board (PCB), the equidistant and formation electrode grid that interconnects of several very thin electrode, be called shield grid, its profile forms a rectangle; At printed circuit reverse side, also interconnect than the electrode of few one of front shield grid quantity, each electrode is just in time positioned at shield grid two electrode gaps, and its profile also forms a rectangle.The shield grid in front is connected with the ground of preamplifier, and the signal grid of reverse side is connected with the input of preamplifier.The basic unit of printed circuit board (PCB) is as the insulating barrier of shield grid and signal grid.
The shield grid of sensor 2 plays shielding action to electrostatic induction, it makes two the electrode gap places only having the electric charge on yarn to be just in time positioned at shield grid could produce the voltage signal of induction on the electrode of signal grid, and be positioned at the electric charge of other positions because of the shielding action by shield grid, interference inductive voltage signal non-inductive or very little on the electrode of signal grid.Meanwhile, the space layout of sensor 2 electrode grid, can make sensor 2 filter the voltage signal induced on signal grid as a sieve, generate the pulse wave electric voltage signal with certain frequency.
Fig. 5 is that yarn simulates schematic diagram by sensor 2, will arrange two little skies of yarn, to control the distance between yarn and sensor 2 at the two ends of sensor 2.When yarn is about 1mm and perpendicular to electrode movement, the random electric charge that yarn carries through the gap every two electrodes of shield grid, each electrode of signal grid will induce voltage signal with certain speed apart from shield grid.Because signal grid is made up of many electrodes, the random electric charge on yarn produces a pulse wave electric voltage signal U at preamplifier 7 output of sensor 2 st (), is namely called transducing signal.
The length of electrode grid should between 50mm to 100mm, and the quantity of electrode is no less than 20; The width of front shield grid electrode is between 0.3mm to 0.6mm, long between 5mm to 10mm; The width of reverse side signal grid electrode is between 0.4 to 0.7mm, long between 5 to 9mm.The area of plane of electrode is larger, and the basic unit of printed circuit board (PCB) is thinner, and the electrostatic charge induction of sensor is more responsive; The number of electrodes of electrode grid is more, and the space filtering performance of sensor is better.
The structure of a kind of embodiment of wireless sensing node 1 of the present invention as shown in Figure 1, comprise the sensor 2, signal processing module 3, embedded microprocessor 4 and the power supply 5 that connect successively, the output of embedded microprocessor 4 is connected with wireless sense network 6 by Radio Transmission Technology.The CC2530 chip of less radio-frequency RF transceiver is integrated with, the wireless transmission protocol of what Radio Transmission Technology adopted is compatible IEEE802.15.4 in what embedded microprocessor 4 was selected is.
CC2530 is that American TI Company supports integrated chip on the sheet of ZigBee/IEEE802.15.4 agreement for the second generation that 2.4GHz ISM frequency band is released.CC2530 inside is integrated with a high performance less radio-frequency RF transceiver, industrial standard enhancement mode 8051MUC kernel, the RAM of 8KB, 32/64/128/256KB flash memory, the park mode timer of 32kHz crystal oscillator, electrify restoration circuit, down Monitor Unit circuit, command strobes coprocessor CSP, 2 USART, 8 and 16 bit timing devices, WatchDog Timer, configurable 12 ADC of 8 tunnel input, 21 programmable universal I/O ports, AES security coprocessor, support CSMA-CA, signal strength signal intensity instruction/the link-quality that digitized RSSI/LQI(receives indicates) and powerful DMA function.Under reception and emission mode, current loss is respectively 24mA and 29mA, and operating voltage range is 2.0V ~ 3.6V, runs clock 32MHz.Due to strong disposal ability and the abundant interface resource of CC2530, and the significant advantage that hardware design is simple, integrated level is high, low in energy consumption, volume is little, cost is low.
The wireless transmission protocol of IEEE802.15.4 avoids data collision based on CSMA/CA mechanism.According to whether adopting beacon, network is divided into non-beacon network and beacon network two kinds.Under non-beacon pattern, node uses CSMA/CA mechanism competitive channel, i.e. node random back a period of time, performs clear channel assessment (CCA) CCA, if channel idle, then send data, if channel busy, then after again waiting for one section of random time, perform CCA again, until channel idle, send data.Under beacon patterns, superframe has been divided 16 time slots, the back off time performing CCA is in units of time slot, and namely node waits for 1 or several time slots, perform CCA, if channel idle, then send data, otherwise, again several time slots are waited for again, perform CCA again, until channel idle, send data.Command strobes coprocessor CSP integrated on CC2530 sheet provides the interface between MCU and radio, gating command and program is immediately had to perform two kinds of patterns, the order that MCU sends can be processed, simultaneously by the program storage of embedded 24 byte, coordinate MAC timer to automatically perform CSMA/CA algorithm, serve as the coprocessor of MCU.
CC2530 realizes data transmit-receive by register transmission buffer TXFIFO and RXFIFO.When sending out data, in TXFIFO, write data, radio module adds physical layer synchronization header and frame check sequence FCS automatically, sends data by gating command STXONCCA; When receiving data and completing, produce RXPKTDONE and interrupt, in interrupt service routine, from RXFIFO buffer, read data.As shown in Figure 2, wherein, frame control domain accounts for 2 bytes to the data frame format that CC2530 sends at every turn or receives, be used to indicate frame type, enable safe, confirm the information such as request, source destination address pattern; Data sequence number accounts for 1 byte, for mating of acknowledgement frame and Frame or command frame; Individual byte that address information accounts for (0 ~ 20), for identifying the address of transmitting apparatus and target device; Frame load is data that are to be sent or that receive or order; Whether frame check accounts for 2 bytes, for checking the Frame of transmitting-receiving correct.Because the maximum length defining physical service data unit in IEEE802.15.4 specification is 127 bytes, and 8 bytes wherein have been used, and the byte length of therefore valid frame load is 1 ~ 119 byte.
The structure of signal processing module 3 wherein as shown in Figure 7, comprises the preamplifier 7, high-pass filter 8, peak amplifier 9, comparator 10 and the phaselocked loop 11 that connect successively.Wherein:
1. preamplifier 7: be made up of two operational amplifier LMC6482, one-level as follower, another grade to be multiplication factor be 80 amplifier, the signal of its interface as shown in Figure 8, for amplifying the transducing signal gathered;
2. high-pass filter 8: be made up of three rank high pass RC networks and an operational amplifier LMC6482, the signal of its interface as shown in Figure 9, carries out high-pass filtering process to the transducing signal amplified, and eliminates low-frequency interference signal, particularly 50Hz electrical network interfering signal;
3. peak amplifier 9: be made up of an operational amplifier LMC6482 and two 1N4453 stabilized switch diode, the transducing signal after high-pass filtering as shown in Figure 10, to amplify and in amplitude limit to ± 0.7V amplitude range by the signal of its interface;
4. comparator 10: be made up of two operational amplifier LM339 and two rest-set flip-flops 7400, the signal of its interface as shown in figure 11, the output signal of peak amplifier is shaped to the pulse sequence signal of amplitude between 0 ~ 5V, and is passed in CC2530, for detecting breakage information;
5. phaselocked loop 11: be made up of a phaselocked loop HEF4046, the signal of its interface as shown in figure 12, by frequency locking, phase-locked effect, the frequency of the pulse sequence signal that comparator is exported, cycle uniformity, and be passed in CC2530 the computing carrying out yarn linear speed, the twist of twisting thread;
Sensor for the monitoring running state that spins of the present invention, wireless sensing node and method thereof, mainly utilize design a kind of based on electrostatic induction, the gate-shaped electrode sensor with special construction, gather spinning operating state signal, utilize the signal processing module in wireless sensing node to carry out process to the signal gathered and obtain that there is basic frequency f h, cycle uniformity pulse sequence signal, embedded microprocessor in recycling wireless sensing node detects and computing the signal after process, obtain spindle spins running status, comprise Yarn break, yarn linear speed, the data such as the twist of twisting thread, then by less radio-frequency RF transceiver integrated in embedded microprocessor, the data message of perception is sent in wireless sense network.Its handling process as shown in Figure 3.
In order to save energy, wireless sensing node 1 of the present invention is every 15 seconds startup optimization 1 time, and gather, detect signal and the data of running status of spinning with calculating, other times are then in sleep.
Specifically implement according to following steps:
Step 1: when yarn is with the motion of a certain speed, the random electrostatic charge utilizing yarn to carry, through electrostatic induction and the space filtering of sensor 2, obtains the clutters such as a pulse wave containing frequency component and low-frequency disturbance, specifically implements according to following steps:
Suppose only there is a point charge at yarn, the signals collecting principle of sensor 2 is as follows:
(1) yarn with a certain speed relative to sensor movement;
(2) when a certain electrode of this point charge on signal grid, two electrode gap places of shield grid are namely just positioned at, so, voltage signal is produced at this electrode place, but it, at other contiguous electrode places, is namely positioned on the electrode of shield grid, just non-inductive or very little interference inductive voltage signal.
As shown in Figure 6 a, if the electrode on signal grid does not link together, so, when yarn moves through sensor 2 with a certain speed, this point charge produces a voltage signal U on each electrode of signal grid s(t), and the voltage signal U that adjacent two electrodes produce s(t) and U s(t+1) time difference of a Δ t will be had.
As shown in Figure 6 b, if by all Electrode connection on signal grid together, so, when broken end does not occur in operation of spinning, the output at sensor 2 is obtained one and there is the pulse wave electric voltage signal U that the cycle is Δ t s(t), otherwise what obtained by the output at sensor 2 is a level signal without pulse wave namely mean that broken end appears in the spinning yarn on this spindle.
Step 2: signal processing module 3 pairs of transducing signals process, namely comprise the clutter utilizing preamplifier 7 pairs of sensors 2 to gather to amplify, the low-frequency interference signal in preamplifier output signal is eliminated in filtering process through high-pass filter 8, by peak amplifier 9 by the amplitude modulation of the output signal of high-pass filter 8 to limit ± 0.7V amplitude between, utilize comparator 10 that the output signal of peak amplifier 9 is shaped to pulse sequence signal, finally, by the frequency modulation of phaselocked loop 11, phase modulation effect, stable pulse sequence frequency and phase place of pinning comparator 10 output, formation has basic frequency f h, cycle uniformity pulse sequence signal,
In fact the electric charge on yarn is random distribution, instead of only on one point.So the signal of telecommunication obtained at sensor 2 output is pulse wave and a noise clutter containing many frequency components.For this reason, have to pass through signal shaping process, could obtain and there is basic frequency f hpulse sequence signal.
Figure 13 is to the output waveform signals figure of transducing signal respectively after the processing of circuit such as preamplifier 7, high-pass filter 8, peak amplifier 9, comparator 10, phaselocked loop 11.
Step 3: utilize embedded microprocessor 4 to detect the spinning operating state signal gathered, namely comprise and utilize the rising edge that in the P1.2 pin of P1 port in CC2530 and timer 3 pairs of signal processing modules 3, comparator 10 outputs signal to detect, if in timing, the rising edge of pulse signal do not detected, show to occur breakage, otherwise, normally; Utilize between the adjacent rising edges of phaselocked loop 11 output pulse sequence signal in the P0.0 pin of P0 port in CC2530 and timer 1 pair of signal processing module 3 and carry out step-by-step counting, detect spinning run signal frequency, therefrom obtain breakage signal and spinning run signal cycle;
Be respectively because sensor 2 positive and negative electrode is extremely wide: between 0.3mm to 0.6mm and between 0.4 to 0.7mm, so between adjacent electrode, spacing range is: 0.08cm ~ 0.14cm.When spinning linear speed is between 30 cel ~ 5 cels (namely 18 ms/min ~ 0.3 m/min), the frequency range of the pulse sequence signal that signal processor exports is: between 375Hz ~ 35.7Hz, namely the cycle is between 0.0027s ~ 0.028s.Therefore, the present invention utilizes the P1.2 pin of P1 port in CC2530 and timer 3 to detect breakage signal; The P0.0 pin of P0 port and timer 1 detect the cycle of spinning run signal, and the signal of its interface as shown in figure 14.Wherein, breakage signal, under the effect of 125KHz system clock, by the P1.2 pin of P1 port and the Interruption of timer 3, the rising edge of comparator output signal in detection signal processing module 3, if in timing, the rising edge of signal do not detected, show to occur breakage, otherwise, normally; The cycle of spinning run signal is the rising edge of phaselocked loop 11 output pulse sequence signal in P0.0 pin detection signal processing module 3 by P0 port, by 2MHz clock signal of system control timer 1, step-by-step counting is carried out between the adjacent rising edges of phaselocked loop 11 output pulse sequence signal, detect spinning run signal frequency, therefrom obtain breakage signal and spinning run signal cycle.Concrete steps are implemented as follows:
1. initialize routine
(1) system clock initializes
A, selective system clock source are 32MHz crystal oscillator: CLKCONCMD.OSC &=~ 0x40;
B, arrange timer mark output frequency be 16MHz:CLKCONCMD.TICKSPD ∣=0x08;
(2) system variable initializes
A, initialization interrupt response mark: Cycle_Int_Response_Flag=0;
B, initialization broken yarn mark: Broken_Yarn__Flag=0;
C, initialization spinning run signal cycle Δ t:Operat_Cycle_Time=0; (3) T1 timer initializes
A, selection T1 timer frequency divider divide value are 8:T1CTL.DIV ∣=0x04;
B, selection T1 timer operation pattern are operation suspension: T1CTL.MODE &=~ 0x03;
C, clear T1 timer counter overflow interrupt identification: T1STAT.OVFIF &=~ 0x20;
D, clear T1 timer counter: T1CNTH=0x00;
T1CNTL=0x00;
(4) T3 timer initializes
A, selection T3 timer frequency divider divide value are 128:T3CTL.DIV ∣=0x E0;
B, selection T3 timer operation pattern are operation suspension: T3CTL.MODE &=~ 0x10;
C, clear T3 timer counter: T3CNT=0x00;
D, clear T3 timer counter overflow interrupt identification: TIMIF.T3OVFIF &=~ 0x01;
It is enable that e, T3 timer overflows interruption masking: T3CTL.OVFIM ∣=0x08;
F, T3 timer interruption is enable: IEN1.T3IE ∣=0x08;
(5) P0 port I/O configures and initializes
A, selection P0 port are general purpose I/O:P0SEL &=0x00;
B, arrange P0 port direction for input: P0DIR &=0x00;
C, P0 port input pattern pull-up is set: P0INP &=0x00;
(6) P1 port I/O configures and initializes
A, selection P1 port are general purpose I/O:P1SEL &=0x00;
B, arrange P1 port direction for input: P1DIR &=0x00;
C, P1 port input pattern pull-up is set: P1INP &=0x00;
D, clear P0 port position 0 interrupt status mark: P0IFG &=~ 0x01;
E, the rising edge selecting P0 port P0.0 pin to input cause interruption: PICTL.P0ICON &=~ 0x01
                       
F, to arrange position 0 interruption masking of P0 port enable: P0IEN ︱=0x01;
G, to arrange P0 Port interrupts enable: IEN1.P0IE ︱=0x20;
H, to arrange each interrupt source enable: IEN0.EA ︱=0x80;
(7) P1 port I/O interrupts initializing
A, clear P1 port position 2 interrupt status mark P 1IFG &=~ 0x04;
B, the rising edge selecting P1 port P1.2 pin to input cause interruption: PICTL.P1ICON L &=~ 0x02
                       
C, position 2 interruption masking of P1 port is set forbids: P1IEN &=~ 0x04;
D, P1 Port interrupts is set forbids: IEN2.P1IE &=~ 0x10;
2. interrupt service routine
(1) interrupt service routine 1: detect breakage signal
A, judge whether P1 port position 2 interrupt status mark is 1, if so, turn to c to start to perform, otherwise continue to perform;
B, show to occur breakage, broken yarn mark is set: Broken_Yarn__Flag=1;
C, clear P1 port position 2 interrupt status mark: P1IFG &=~ 0x04;
D, clear T3 timer counter overflow interrupt identification: TIMIF.T3OVFIF &=~ 0x01;
E, clear T3 timer counter: T3CNT=0x00;
F, return interruption;
Annotation: because broken end is random, the rising edge for this reason needing Interruption to read the input of P0 port P0.1 pin causes interrupt status mark.Wherein, timing is the timing under the slowest yarn linear speed, namely selects timer 3 to count spilling and enters interruption; Interrupt service routine is the interrupt status flag bit judging that the input of port P0.1 pin causes, if 1, then reset and return, otherwise arranging broken yarn mark Broken_Yarn__Flag is 1, returns.
(2) interrupt service routine 2: the cycle Δ t detecting spinning run signal
A, judge whether interrupt response mark Int_Response_Flag is 0, if not, turn to e to start to perform, otherwise continue to perform;
B, startup T1 timer operation pattern are that free-running operation starts counting: T1CTL.MODE ︱=0x01;
                    
C, interrupt response mark add 1:Int_Response_Flag=Int_Response_Flag+1;
D, turn to j continue perform;
E, selection T1 timer operation pattern are operation suspension: T1CTL.MODE &=~ 0x03;
F, record T1 timer counter value: Cycle_Counter=T1CNTH × 2 8+ T1CNTL
G, judge T1 timer counter overflow interrupt identification whether be 1, if not turn to i start perform;
H, clear T1 timer counter overflow interrupt identification: T1STAT.OVFIF &=~ 0x20;
I, record T1 timer counter overflow value: Cycle_Counter=Cycle_Counter+2 16
J, clear P0 port position 0 interrupt status mark: P0IFG &=~ 0x01;
K, return interruption
Step 4: utilize the signal of embedded microprocessor (4) to the spinning running status detected to carry out computing, the data of perception are sent in wireless sense network (6) by integrated less radio-frequency RF transceiver in embedded microprocessor (4) by the data of the breakage that acquisition spindle spins, yarn linear speed, the twist of twisting thread;
Suppose, interelectrode spacing is Δ x, so, and the frequency outputed signal by detecting sensor 2, i.e. cycle Δ t, can monitor the linear speed v of yarn:
v=Δx/Δt (1)
According to the raw material of yarn, composition and specification, the spindle rotating speed n(revolutions per second of spinning machine) be setting in advance before operation.So yarn twist twise calculating formula of twisting thread is:
twise=n/v (2)
If yarn breaks end, then according to the signal of the spinning running status detected, calculate signal period and yarn linear speed, the twist of twisting thread of spinning running status.Concrete steps are implemented as follows:
1. calculate cycle Δ t and the yarn linear speed of spinning run signal and the twist of twisting thread
(1) initializing variable
A, initializing sensor electrode spacing variable: Electro_Separat_Num=△ X;
B, initialization Yarn-spinning spindle rotating speed: Spindle_Speed=n;
C, initialization yarn linear speed variable: Yarn_Speed_Num=0;
D, initialize yarn and to twist thread twist variable: Yarn_Twist_Num=0;
(2) computing cycle Δ t and yarn linear speed and the twist of twisting thread
A, selection T3 timer operation pattern are that free-running operation starts counting: T3CTL.START ︱=00x40;
                       
B, judge whether breakage mark Broken_Yarn__Flag is 1, if so, turns to i to perform, otherwise, continue to perform;
C, judge whether interrupt response mark Int_Response_Flag is 0, if so, turns to b to perform, otherwise, continue to perform;
D, clear Int_Response_Flag;
E, clear T1 timer counter: T1CNTH=0x00;
T1CNTL=0x00;
F, calculating spinning run signal cycle Δ t:
Operat _ Cycle _ Time = Cycle _ Counter 2 MHz = Cycle _ Counter 2 × 10 6 Hz
G, calculate yarn linear speed according to formula (1):
Yarn _ Speed _ Num = Electro _ Separat _ Num Operat _ Cycle _ Time
H, calculate yarn according to formula (2) and to twist thread the twist:
Yarn _ Twist _ Num = Spindle _ Speed Yarn _ Speed _ Num
I, to arrange T3 timer operation pattern be operation suspension: T3CTL.MODE &=~ 0x10;
J, to arrange T1 timer operation pattern be operation suspension: T1CTL.MODE &=~ 0x03;
K, position 0 interruption masking of P0 port is set forbids: P0IEN &=~ 0x01;
L, arrange T3 timer overflow interruption masking forbid: T3CTL.OVFIM &=~ 0x08;
M, end.
2. the spinning running state data of monitoring is wirelessly transmitted to wireless sense network
Utilize the RF transceiver of CC2530 Embedded, based on the medium access protocol of time slot CSMA/CA, the result data of calculating is sent in wireless network.Concrete steps are implemented as follows:
1. initiation parameter
A, frame control domain FCF value is set: Frame_Control_Field_Num=FCF;
// relevant with the attribute such as the frame type sent, security, confirmation request and designed wireless network
B, the data sequence number of frame head is set: Data_Seq_Num=1;
C, the address information of frame head is set: PANID_ShortAddr=Address_Message;
// relevant with the device address of designed wireless network layout and distribution
2. the spinning running state data of monitoring is sent into transmit buffer TXFIFO
A, frame process FCS is set by hardware verification: FRMCTRL0.AUTOCRC ︱=0x40;
B, control RF frequency is set at k passage: FREQCTRL.FREQ=11+5 (k-11); K<=26
Byte number in c, TXFIFO is stored in TXFIFOCNT register: TXFIFOCNT=11;
                     
D, removing TXFIFO buffering area: SFLUSHTX;
E, Monitoring Data is write TXFIFO:
RFD=12; Frame length (comprising 2 byte check codes)
RFD=Frame_Control_Field_Num; Frame control domain (2 byte)
RFD=Data_Seq_Num; Frame data sequence number (1 byte)
RFD=PANID_ShortAddr; Frame address information (4 byte)
RFD=Broken_Yarn__Flag; Breakage mark (1 byte)
RFD=Yarn_Speed_Num; Yarn linear speed (1 byte)
RFD=Yarn_Twist_Num; Yarn twist (1 byte)
3. data wireless in TXFIFO is sent to wireless sense network
A, gating coprocessor CSP program of ceasing and desisting order perform: RFST=ISSTOP;
B, removing CSP program, pointer resets to 0:RFST=ISCLEAR;
C, wait x back-off period: RFST=WAITX;
D, detection current idle passage assessment CCA state, whether passage is idle, if not, then circular wait:
WHILE(~FSMSTAT1_CCA_Is_Valid);
If f passage is idle, then start to start wireless transmission Frame: RFST=STXONCCA;
G, detection judge whether starting-frame delimiter is sent, if be not sent, then circular wait:
WHILE(~RFIRQF0_SFD_Is_1);
H, detection judge whether a Frame is sent, if be not sent, then wait for that dataframe is complete:
WHILE(~RFIRQF0.SFD_Is_0);
If i dataframe is complete, then CSP program is stopped to perform: RFST=SSTOP.

Claims (10)

1. for the sensor of the monitoring running state that spins, it is characterized in that, be made up of the double-sided printed-circuit board of the gate-shaped electrode with special construction, in the front of printed circuit board (PCB), equidistant and the formation electrode grid that interconnects of several very thin electrode, be called shield grid, its profile forms a rectangle; At printed circuit reverse side, also interconnect than the electrode of few one of front shield grid quantity, each electrode is just in time positioned at shield grid two electrode gaps, and its profile also forms a rectangle.
2. for the wireless sensing node of the monitoring running state that spins, it is characterized in that, comprise the sensor (2), signal processing module (3), embedded microprocessor (4) and the power supply (5) that connect successively, the output of embedded microprocessor (4) is connected with wireless sense network (6) by Radio Transmission Technology;
Described sensor (2), be made up of the double-sided printed-circuit board of the gate-shaped electrode with special construction, in the front of printed circuit board (PCB), the equidistant and formation electrode grid that interconnects of several very thin electrode, be called shield grid, its profile forms a rectangle; At printed circuit reverse side, also interconnect than the electrode of few one of front shield grid quantity, each electrode is just in time positioned at shield grid two electrode gaps, and its profile also forms a rectangle;
Described signal processing module (3), comprises the preamplifier (7), high-pass filter (8), peak amplifier (9), comparator (10) and the phaselocked loop (11) that connect successively.
3. the wireless sensing node for the monitoring running state that spins according to claim 2, is characterized in that, described embedded microprocessor (4) selects Nei Ji to have the CC2530 chip of wireless radiofrequency RF transceiver.
4. the wireless sensing node for the monitoring running state that spins according to claim 2, is characterized in that, described power supply (5) passes through powered battery.
5. the wireless sensing node for the monitoring running state that spins according to claim 2, it is characterized in that, described preamplifier (7), is made up of two operational amplifier LMC6482, one-level as follower, another grade to be multiplication factor be 80 amplifier.
6. the wireless sensing node for the monitoring running state that spins according to claim 2, is characterized in that, described high-pass filter (8) is made up of three rank high pass RC networks and an operational amplifier LMC6482.
7. the wireless sensing node for the monitoring running state that spins according to claim 2, is characterized in that, described peak amplifier (9) is made up of an operational amplifier LMC6482 and two 1N4453 stabilized switch diode.
8. the wireless sensing node for the monitoring running state that spins according to claim 2, is characterized in that, described comparator (10) is made up of two operational amplifier LM339 and two rest-set flip-flops 7400.
9. the wireless sensing node for the monitoring running state that spins according to claim 2, is characterized in that, described phaselocked loop (11) is made up of a phaselocked loop HEF4046.
10. spin method for monitoring operation states, it is characterized in that, adopt the wireless sensing node for the monitoring running state that spins, its structure is comprise the sensor (2), signal processing module (3), embedded microprocessor (4) and the power supply (5) that connect successively, and the output of embedded microprocessor (4) is connected with wireless sense network (6) by Radio Transmission Technology; Described embedded microprocessor (4) selects Nei Ji to have the CC2530 chip of wireless radiofrequency RF transceiver; Described power supply (5) passes through powered battery;
Described sensor (2), be made up of the double-sided printed-circuit board of the gate-shaped electrode with special construction, in the front of printed circuit board (PCB), the equidistant and formation electrode grid that interconnects of several very thin electrode, be called shield grid, its profile forms a rectangle; At printed circuit reverse side, also interconnect than the electrode of few one of front shield grid quantity, each electrode is just in time positioned at shield grid two electrode gaps, and its profile also forms a rectangle;
Described signal processing module (3), comprises the preamplifier (7), high-pass filter (8), peak amplifier (9), comparator (10) and the phaselocked loop (11) that connect successively;
Described preamplifier (7), is made up of two operational amplifier LMC6482, one-level as follower, another grade to be multiplication factor be 80 amplifier; Described high-pass filter (8) is made up of three rank high pass RC networks and an operational amplifier LMC6482; Described peak amplifier (9) is made up of an operational amplifier LMC6482 and two 1N4453 stabilized switch diode; Described comparator (10) is made up of two operational amplifier LM339 and two rest-set flip-flops 7400; Described phaselocked loop (11) is made up of a phaselocked loop HEF4046;
Specifically implement according to following steps:
Step 1: when yarn is with a certain speed motion, the random electrostatic charge utilizing yarn to carry, through electrostatic induction and the space filtering of sensor (2), obtain one containing the pulse wave of frequency component and the clutter of low-frequency disturbance, specifically implement according to following steps:
Suppose only there is a point charge at yarn, the signals collecting principle of sensor (2) is as follows:
(1) yarn moves relative to sensor (2) with a certain speed;
(2) when a certain electrode of this point charge on signal grid, two electrode gap places of shield grid are namely just positioned at, so, voltage signal is produced at this electrode place, but it, at other contiguous electrode places, is namely positioned on the electrode of shield grid, just non-inductive or very little interference inductive voltage signal;
If the electrode on signal grid does not link together, so, when yarn moves through sensor (2) with a certain speed, this point charge produces a voltage signal U on each electrode of signal grid s(t), and the voltage signal U that adjacent two electrodes produce s(t) and U s(t+1) time difference of a Δ t will be had;
If by all Electrode connection on signal grid together, so, when broken end does not occur in operation of spinning, the output at sensor (2) is obtained one and there is the pulse wave electric voltage signal U that the cycle is Δ t s(t), otherwise what obtained by the output at sensor (2) is a level signal without pulse wave namely mean that broken end appears in the spinning yarn on this spindle;
Step 2: signal processing module (3) processes transducing signal, namely comprise and utilize preamplifier (7) to amplify the clutter that sensor (2) gathers, the low-frequency interference signal in preamplifier (7) output signal is eliminated in filtering process through high-pass filter (8), by peak amplifier (9) by the amplitude modulation of the output signal of high-pass filter (8) to limit ± 0.7V amplitude between, utilize comparator (10) that the output signal of peak amplifier (9) is shaped to pulse sequence signal, finally, by the frequency modulation of phaselocked loop (11), phase modulation effect, the pulse sequence frequency that stable pinning comparator (10) exports and phase place, formation has basic frequency f h, cycle uniformity pulse sequence signal,
Step 3: utilize embedded microprocessor (4) to detect the spinning operating state signal gathered, namely comprise and utilize the P1.2 pin of P1 port in CC2530 and timer to detect the rising edge that comparator (10) in signal processing module (3) outputs signal, if in timing, the rising edge of pulse signal do not detected, show to occur breakage, otherwise, normally; The P0.0 pin of P0 port in CC2530 and timer is utilized to carry out step-by-step counting between the adjacent rising edges of phaselocked loop (11) output pulse sequence signal in signal processing module (3), detect spinning run signal frequency, therefrom obtain breakage signal and spinning run signal cycle;
Step 4: utilize the signal of embedded microprocessor (4) to the spinning running status detected to carry out computing, the data of perception are sent in wireless sense network (6) by integrated less radio-frequency RF transceiver in embedded microprocessor (4) by the data of the breakage that acquisition spindle spins, yarn linear speed, the twist of twisting thread;
Suppose, interelectrode spacing is Δ x, and so, the frequency outputed signal by detecting sensor (2), i.e. cycle Δ t, calculate the linear speed v of yarn:
v=Δx/Δt,
According to the raw material of yarn, composition and specification, the spindle rotating speed n of spinning machine is setting in advance before operation, so yarn twist twise calculating formula of twisting thread is:
twise=n/v。
CN201310506590.0A 2013-10-24 2013-10-24 For the sensor of the monitoring running state that spins, wireless sensing node and method thereof Expired - Fee Related CN103572441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310506590.0A CN103572441B (en) 2013-10-24 2013-10-24 For the sensor of the monitoring running state that spins, wireless sensing node and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310506590.0A CN103572441B (en) 2013-10-24 2013-10-24 For the sensor of the monitoring running state that spins, wireless sensing node and method thereof

Publications (2)

Publication Number Publication Date
CN103572441A CN103572441A (en) 2014-02-12
CN103572441B true CN103572441B (en) 2015-10-28

Family

ID=50045117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310506590.0A Expired - Fee Related CN103572441B (en) 2013-10-24 2013-10-24 For the sensor of the monitoring running state that spins, wireless sensing node and method thereof

Country Status (1)

Country Link
CN (1) CN103572441B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914974B (en) * 2014-04-23 2017-10-17 杭州贝富电气有限公司 Intelligent yarn induction installation
CN109610056B (en) * 2018-12-10 2021-07-06 江南大学 Internet of things production monitoring management system for ring spinning frame
CN113089141A (en) * 2021-04-09 2021-07-09 深圳市嘉友智控科技有限公司 Photoelectric detection circuit for spindle of spinning frame
CN114395832B (en) * 2022-01-20 2023-08-08 维珍妮智创科技(肇庆)有限公司 Control device and method for producing imitated cross-drawing type colored spun yarns

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4060965A (en) * 1975-10-10 1977-12-06 Siegfried Peyer Method and apparatus to monitor thread spinning operation of open end spinning machines and effective thread stop motion
SU881526A1 (en) * 1980-01-22 1981-11-15 Уфимский авиационный институт им.Орджоникидзе Converter of object displacement and speed to discrete electric signal
DE4211684A1 (en) * 1992-04-07 1993-10-14 Rieter Ag Maschf Ring spinner or twister spindle speed control - has monitors at specific spindles with control to apply corrections to all the spindles
CN1469099A (en) * 2002-07-19 2004-01-21 陈其良 Displacement sensor and its making process
WO2006000107A2 (en) * 2004-06-29 2006-01-05 Instrumar Limited Fibre monitoring apparatus and method
CN201122101Y (en) * 2007-11-30 2008-09-24 东莞市特马电子有限公司 High-precision high resolution displacement transducer
CN101354231A (en) * 2007-07-28 2009-01-28 深圳市联思精密机器有限公司 Gate-shaped electrode displacement sensor
CN101358982A (en) * 2007-08-01 2009-02-04 中国科学院电子学研究所 Saccharification hemoglobin immune sensor based on field effect tube
CN101949682A (en) * 2010-08-14 2011-01-19 桂林广陆数字测控股份有限公司 Displacement measuring method, sensor and operation method thereof for absolute position measuring capacitance
CN102995193A (en) * 2012-11-13 2013-03-27 天津工业大学 Yarn breakage detection method and yarn breakage detection device using method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4060965A (en) * 1975-10-10 1977-12-06 Siegfried Peyer Method and apparatus to monitor thread spinning operation of open end spinning machines and effective thread stop motion
SU881526A1 (en) * 1980-01-22 1981-11-15 Уфимский авиационный институт им.Орджоникидзе Converter of object displacement and speed to discrete electric signal
DE4211684A1 (en) * 1992-04-07 1993-10-14 Rieter Ag Maschf Ring spinner or twister spindle speed control - has monitors at specific spindles with control to apply corrections to all the spindles
CN1469099A (en) * 2002-07-19 2004-01-21 陈其良 Displacement sensor and its making process
WO2006000107A2 (en) * 2004-06-29 2006-01-05 Instrumar Limited Fibre monitoring apparatus and method
CN101354231A (en) * 2007-07-28 2009-01-28 深圳市联思精密机器有限公司 Gate-shaped electrode displacement sensor
CN101358982A (en) * 2007-08-01 2009-02-04 中国科学院电子学研究所 Saccharification hemoglobin immune sensor based on field effect tube
CN201122101Y (en) * 2007-11-30 2008-09-24 东莞市特马电子有限公司 High-precision high resolution displacement transducer
CN101949682A (en) * 2010-08-14 2011-01-19 桂林广陆数字测控股份有限公司 Displacement measuring method, sensor and operation method thereof for absolute position measuring capacitance
CN102995193A (en) * 2012-11-13 2013-03-27 天津工业大学 Yarn breakage detection method and yarn breakage detection device using method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
新型栅状电容式液位传感器的设计研究;高超;《中国优秀硕士学位论文全文数据库 信息科技辑》;20111215;第1-89页 *

Also Published As

Publication number Publication date
CN103572441A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN103572441B (en) For the sensor of the monitoring running state that spins, wireless sensing node and method thereof
CN206832310U (en) A kind of wireless watermeter using LoRaWAN Class B-modes
CN105103476A (en) A receiver, transceiver, transceiver module for a body coupled communication device, a body coupled communication system and a method of waking-up a body coupled receiver of a body coupled communication device
CN106416102A (en) Body coupled communication device with synchronization
CN102693620B (en) Wireless meter reading system
CN109375046A (en) A kind of non-formula electric energy meter of registering one&#39;s residence of multi-frequency based on plc communication technology is visited one house after another examination device and method
CN103226169B (en) Square wave detector for wireless wake-up circuit
CN206193128U (en) Electricity theft monitoring device is prevented to multidimension degree
CN104332056A (en) Wireless vehicle detection device and detection method thereof
CN105426949B (en) A kind of low-power consumption timing wake-up method and apparatus
CN110223523A (en) The detector of magnetic vehicle with low power and its dormancy awakening method based on lora technology
CN205910830U (en) Wireless meter reading terminal
CN202661192U (en) Wireless temperature measurement system of internet of things and based on ZigBee technique
CN103246223A (en) Zigbee-based sensing measurement and control system
CN106779019A (en) A kind of ultra-low power consumption wireless sensing label hardware of intelligent packaging
CN103605996B (en) A kind of active radio frequency identification system
CN204514454U (en) A kind of weighbridge metering anti-cheating shielding device of novel improved structure
CN107307853A (en) A kind of capsule monitoring device
CN109560611A (en) A kind of network engineering electric power supplying monitoring system
CN208180961U (en) A kind of integrated form vehicle intelligent terminal equipment
CN203217032U (en) Line fault data collector
CN104851317A (en) Intelligent parking stall detection sensor
EP2775265B1 (en) Method and apparatus for reducing power consumption in a metering device
CN202662141U (en) Singlechip-based multi-path wireless alarm
CN205375793U (en) Industry sewage remote monitoring system based on zigbee

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151028

Termination date: 20161024