CN2864599Y - SOC two-phase orthogonal signal counter with low-power consumption - Google Patents
SOC two-phase orthogonal signal counter with low-power consumption Download PDFInfo
- Publication number
- CN2864599Y CN2864599Y CN 200620001678 CN200620001678U CN2864599Y CN 2864599 Y CN2864599 Y CN 2864599Y CN 200620001678 CN200620001678 CN 200620001678 CN 200620001678 U CN200620001678 U CN 200620001678U CN 2864599 Y CN2864599 Y CN 2864599Y
- Authority
- CN
- China
- Prior art keywords
- keyboard
- port
- interface
- phase orthogonal
- orthogonal signal
- 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
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
A low-power-dissipation SOC two-phase orthogonal signal counter pertaining the field of measurement, mainly applicable for being combined with kinds of grating sensor at present to measure the displacement and angle or speed of rotation, and comprising LCD plate, keyboard plate and SOC board. The SOC board comprises singlechip. The singlechip, is connected with the LCD in the LCD plate through interface to transmit data/command information and control information, receives key information and sends keyboard using signal by connecting to the keyboard in the keyboard plate through the interface, receives two-phase orthogonal signal through the two-phase orthogonal signal interface, and then converts the two-phase orthogonal signal into the measuring result of the detected geometrical sense after treatment, and the input end of the two-phase orthogonal signal in the singlechip has an function of interrupt request so that interruption could be triggered through either rising edge or falling edge of the acknowledgement signal. The utility model has compact conformation, accurate integrated circuit design, together with low cost, less consumption of electric, fast speed, strong anti-jamming capability, and no maloperation, and thus is convenient to use.
Description
Technical field:
Low power consumption SOC two-phase orthogonal signal counter belongs to fields of measurement, and main at present the application is to combine with various grating sensors, the displacement of Measuring Object and the anglec of rotation or rotating speed size.
Background technology:
The device of finishing said function at present has two classes: a class is based on the plug-in card of PC, and it is inserted on the ISA or PCI slot of computing machine, can work by computing machine; Another kind of need not by computing machine itself independently finished signal Processing and Presentation Function.The utility model belongs to the latter.
The present second class device generally is made up of signal input interface, sub-circuit, sensing circuit, counting circuit, single-chip microcomputer, several parts of display circuit.Tested geometric sense changes two-phase orthogonal electrical signal (being designated hereinafter simply as signal) into by sensor, this signal reaches sub-circuit through signal input interface, signal is carried out the raising of precision, and the signal after will segmenting imports complicated sensing circuit into, by differentiation to signal characteristic, judge the direction of motion of tested geometric sense, counting circuit is finished the calculating that increases or subtract at the direction of motion of tested geometric sense respectively, and result of calculation is sent into single-chip microcomputer.Finish to change result of calculation counter-rotating the processing of tested geometric sense into by single-chip microcomputer, and be sent to display circuit and show.
In like product, from the sensor to the single-chip microcomputer, passed through three complex peripheral circuit therebetween as can be seen, device is a lot, and energy consumption is bigger, therefore greatly reduces Signal Processing speed, measuring accuracy also is restricted, and has increased cost.
Summary of the invention:
Shortcomings such as the circuit volume that the purpose of this utility model is to overcome same device is big, peripheral circuit element is many, and conversion speed is low, and energy consumption is big have adopted well behaved single-chip microcomputer, utilize software to realize the function that original device hardware circuit is realized.
Low power consumption SOC two-phase orthogonal signal counter comprises LCD plates, finger-board and SOC plate, wherein:
LCD plates comprises LCD 7 and interface 1
4, wherein:
LCD 7: respectively by data/command port, control information receiving port transmission data/command information, receiving control information;
Interface 1
4: be connected with data/command port, the control information receiving port of LCD 7 by data/command port, control information transmit port respectively, transmit data/command information, send control information; Respectively by data/command port, control information receiving port transmission data/command information, receiving control information;
Finger-board comprises keyboard 9 and interface 1
5, wherein:
Keyboard 9: enable receiving end by key information transmit port, keyboard respectively and send key information, receive the keyboard enable signal;
Interface 1
5: enable transmitting terminal by key information receiving port, keyboard respectively and enable receiving end with key information transmit port, the keyboard of keyboard 9 and be connected, receive key information, send the keyboard enable signal; Enabling receiving end by key information transmit port, keyboard respectively sends key information, receives the keyboard enable signal;
The SOC plate comprises interface 1
2, interface 1
3With signal input interface 1
1, wherein:
Interface 1
2: respectively by interface 1 in data/command port, control information transmit port and the LCD plates
4Data/command port, control information receiving port connect, transmission data/command information, send control information; Respectively by data/command port, control information receiving port transmission data/command information, receiving control information;
Interface 1
3: enable interface 1 in transmitting terminal and the finger-board by key information receiving port, keyboard respectively
5Key information transmit port, keyboard enable receiving end and connect, receive key information, send the keyboard enable signal; Enabling receiving end by key information transmit port, keyboard respectively sends key information, receives the keyboard enable signal;
Signal input interface 1
1: be connected with the two-phase orthogonal signal output terminal of peripheral sensor by the two-phase orthogonal signal input end, receive two-phase orthogonal signal; Send two-phase orthogonal signal by the two-phase orthogonal signal output terminal;
It is characterized in that: also comprise single-chip microcomputer 5;
Single-chip microcomputer 5: respectively by data/command port, control information transmit port and interface 1
2Data/command port, control information receiving port connect, transmission data/command information, send control information; Enable transmitting terminal and interface 1 by key information receiving port, keyboard respectively
3Key information transmit port, keyboard enable receiving end and connect, receive key information, send the keyboard enable signal; By two-phase orthogonal signal input end and signal input port 1
1The two-phase orthogonal signal output terminal connect, receive two-phase orthogonal signal.
Described low power consumption SOC two-phase orthogonal signal counter is characterized in that: the two-phase orthogonal signal input end of single-chip microcomputer 5 has the interrupt request function in the SOC plate.
Described low power consumption SOC two-phase orthogonal signal counter is characterized in that: the two-phase orthogonal signal input end of single-chip microcomputer 5 triggers interruption by the rising edge and the negative edge of received signal in the SOC plate.
The SOC plate that the utility model utilizes the powerful single-chip microcomputer of performance to be equipped with only a few peripheral cell composition replaces conventional one-piece machine and complex peripheral circuit, utilize single chip to finish all functions, circuit structure is simple, the peripheral cell consumption seldom, power consumption is more much lower than existing apparatus, again owing to the low-power consumption of single-chip microcomputer own, integral body can reduce tens of/one of power consumption to existing apparatus simultaneously; According to Principle of Statistics, the structure of existing apparatus complexity causes its failure rate to be compared with the utility model with a plurality of elements has increased tens of times at least; Signal-count processing speed of the present utility model can reach 130KHz, and complete cost only needs tens of units.Compared with similar products, following advantage is arranged: compact conformation, accurate integrated circuit (IC) design, cost is low, power consumptive province, speed are fast, and antijamming capability is strong, no maloperation; Adopt detachable, the convenient use.
Description of drawings:
Fig. 1 existing apparatus structured flowchart, wherein:
1
1, signal input interface, 2, sub-circuit, 3, the sensing circuit, 4, counting circuit, 5, single-chip microcomputer, 6, display circuit, 7, LCD;
Fig. 2 the utility model structural representation, wherein:
8, simple peripheral cell, 9, keyboard;
Fig. 3 the utility model theory diagram, wherein:
1
2, 1
3, 1
4, 1
5, be interface;
Fig. 4 system program process flow diagram;
Fig. 5 keyboard interrupt handling procedure process flow diagram;
Fig. 6 two-phase orthogonal signal interrupt handling routine process flow diagram.
Embodiment:
Low power consumption SOC two-phase orthogonal signal counter comprises LCD plates, finger-board and SOC plate, and wherein LCD plates comprises LCD 7 and interface 1
4, finger-board comprises keyboard 9 and interface 1
5, the SOC plate comprises interface 1
2, interface 1
3, signal input interface 1
1, simple peripheral cell 8 and single-chip microcomputer 5.
In the present embodiment, single-chip microcomputer 5 adopts the MSP430 series monolithic of TI company, and concrete model is MSP430F135.LCD 7 adopts the SMG12864C of Changsha Sunman Electronics Co., Ltd..Keyboard 9 adopts 4 * 5 general keyboards.
When system starts working, at first carry out system initialization, each device is carried out necessary setting, open keyboard interrupt and enable to interrupt enabling, and on LCD 7, show corresponding information, enter idle condition immediately with two-phase orthogonal signal.
When key was pressed, the request of system responses keyboard interrupt entered the keyboard interrupt handling routine, reads the key assignments of button, handled according to the state that system is current, and on LCD 7 corresponding result was shown.After finishing above operation, withdraw from the keyboard interrupt handling routine, continue to enter idle condition.
When two-phase orthogonal signal is imported, system responses two-phase orthogonal signal interrupt request, enter the two-phase orthogonal signal interrupt routine,, judge the direction of motion of tested geometric sense by differentiation to the two-phase orthogonal signal feature, count simultaneously, with the record moving displacement, again count results is converted to the physical result of tested geometric sense, on LCD 7, show, withdraw from the two-phase orthogonal signal interrupt routine at last, continue to enter idle condition.
Simple peripheral cell 8 provides system's operation required filtering, noise abatement, vibration, dividing potential drop, inspection battery, reset function.
The utility model utilizes software to realize the function that hardware sub-circuit, sensing circuit and numeration circuit are realized in the conventional apparatus, has reduced power consumption.In software programming, in order to reduce power consumption, to the different frequency of the different function selecting of system, as, to system's real-time clock, select low frequency; To system's operation part, then select high frequency, improve the conversion speed of this device.In addition, the utility model is selected the LCD of function admirable, under situation that need not be backlight, can know daytime to show various job informations; At night, the fluorescent lamp lighting in the working environment can clear reading displaying contents, and power consumption is descended significantly; If night, emergency condition did not have any light on every side, can open backlight, clear demonstration raster content.Than conventional apparatus obvious energy conservation, prolonged the serviceable life of battery, help environmental protection.When the grating detection signal, the utility model I/O mouth has the interruption of triggering, wakes CPU up and makes it be in running status, the fast processing data; When not having the generation of interruption, CPU of the present utility model is in idle state, can save power consumption.In software algorithm, adopted save memory, improve arithmetic speed ordering, optimized Algorithm such as search, make the utility model display speed than synchronous device height.Owing to adopt the method for system-level reduction power consumption, make each link all pass through optimization process, add the low-power consumption of single-chip microcomputer itself, integral body can reduce tens of/one of power consumption to existing apparatus.The utility model not only power consumption is little, and its volume also reduces greatly than existing apparatus, and is easy to carry and transport, after powering on, through selecting to move friendly interface.
Claims (3)
1, low power consumption SOC two-phase orthogonal signal counter comprises LCD plates, finger-board and SOC plate, wherein:
LCD plates comprises LCD (7) and interface (1
4), wherein:
LCD (7): respectively by data/command port, control information receiving port transmission data/command information, receiving control information;
Interface (1
4): be connected with data/command port, the control information receiving port of LCD (7) by data/command port, control information transmit port respectively, transmit data/command information, send control information; Respectively by data/command port, control information receiving port transmission data/command information, receiving control information;
Finger-board comprises keyboard (9) and interface (1
5), wherein:
Keyboard (9): enable receiving end by key information transmit port, keyboard respectively and send key information, receive the keyboard enable signal;
Interface (1
5): enable transmitting terminal by key information receiving port, keyboard respectively and enable receiving end with key information transmit port, the keyboard of keyboard (9) and be connected, receive key information, send the keyboard enable signal; Enabling receiving end by key information transmit port, keyboard respectively sends key information, receives the keyboard enable signal;
The SOC plate comprises interface (1
2), interface (1
3) and signal input interface (1
1), wherein:
Interface (1
2): respectively by interface (1 in data/command port, control information transmit port and the LCD plates
4) data/command port, control information receiving port connect, transmission data/command information, send control information; Respectively by data/command port, control information receiving port transmission data/command information, receiving control information;
Interface (1
3): enable interface (1 in transmitting terminal and the finger-board by key information receiving port, keyboard respectively
5) key information transmit port, keyboard enable receiving end and connect, receive key information, send the keyboard enable signal; Enabling receiving end by key information transmit port, keyboard respectively sends key information, receives the keyboard enable signal;
Signal input interface (1
1): be connected with the two-phase orthogonal signal output terminal of peripheral sensor by the two-phase orthogonal signal input end, receive two-phase orthogonal signal; Send two-phase orthogonal signal by the two-phase orthogonal signal output terminal;
It is characterized in that: also comprise single-chip microcomputer (5);
Single-chip microcomputer (5): respectively by data/command port, control information transmit port and interface (1
2) data/command port, control information receiving port connect, transmission data/command information, send control information; Enable transmitting terminal and interface (1 by key information receiving port, keyboard respectively
3) key information transmit port, keyboard enable receiving end and connect, receive key information, send the keyboard enable signal; By two-phase orthogonal signal input end and signal input port (1
1) the two-phase orthogonal signal output terminal connect, receive two-phase orthogonal signal.
2, low power consumption SOC two-phase orthogonal signal counter according to claim 1 is characterized in that: the two-phase orthogonal signal input end of single-chip microcomputer in the SOC plate (5) has the interrupt request function.
3, low power consumption SOC two-phase orthogonal signal counter according to claim 1 and 2 is characterized in that: the two-phase orthogonal signal input end of single-chip microcomputer in the SOC plate (5) triggers interruption by the rising edge and the negative edge of received signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200620001678 CN2864599Y (en) | 2006-01-24 | 2006-01-24 | SOC two-phase orthogonal signal counter with low-power consumption |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200620001678 CN2864599Y (en) | 2006-01-24 | 2006-01-24 | SOC two-phase orthogonal signal counter with low-power consumption |
Publications (1)
Publication Number | Publication Date |
---|---|
CN2864599Y true CN2864599Y (en) | 2007-01-31 |
Family
ID=37677049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200620001678 Expired - Fee Related CN2864599Y (en) | 2006-01-24 | 2006-01-24 | SOC two-phase orthogonal signal counter with low-power consumption |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN2864599Y (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107621273A (en) * | 2017-10-30 | 2018-01-23 | 江西凯润达精密仪器有限公司 | Waterproof magnetic grating ring module |
-
2006
- 2006-01-24 CN CN 200620001678 patent/CN2864599Y/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107621273A (en) * | 2017-10-30 | 2018-01-23 | 江西凯润达精密仪器有限公司 | Waterproof magnetic grating ring module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201532310U (en) | Complete automobile road-test testing device | |
CN103543834A (en) | Gesture recognition device and method | |
CN102023764A (en) | Optical positioning device and method | |
CN102419666A (en) | Object sensing device | |
CN203998493U (en) | Portable elevator intelligent detecting instrument | |
CN103660361B (en) | Control system for servo press | |
CN2864599Y (en) | SOC two-phase orthogonal signal counter with low-power consumption | |
CN1991781A (en) | Method and device for detecting temperature of CPU | |
CN1419114A (en) | Direct digitalized pressure transmitter and measuring method thereof | |
CN101067563A (en) | Hand-held temperature and humidity dew-point measuring method and device | |
CN201653884U (en) | Multifunctional food safety detector | |
CN203414433U (en) | Temperature and humidity detection system for drying process | |
CN1804553A (en) | Low power consumption SOC two-phase orthogonal signal counter | |
CN201637820U (en) | Low-cost programmable logic array logic analyzing device | |
CN103439370A (en) | Temperature and humidity detection system in drying process | |
CN200979574Y (en) | A piezoelectric quartz detector based on a complex programmable logic device technology | |
CN1420630A (en) | Touch-controlled switchgear | |
CN200997181Y (en) | High-frequency AC parameter inspecter | |
CN2551983Y (en) | Portable stress distribution detector | |
CN211669668U (en) | Paper counting display device based on capacitive sensor | |
CN2891117Y (en) | Intelligent IC card water meter controller | |
CN2674420Y (en) | Monitor for on-vehicle engine power | |
CN101832798A (en) | Intelligent instrument panel of electric vehicle | |
CN204944606U (en) | Liquid level detection system | |
CN218413277U (en) | Drive control circuit of extrusion equipment and food extruder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070131 Termination date: 20100124 |