CN106355770A - Self-help library control system based on single-chip microcomputer - Google Patents
Self-help library control system based on single-chip microcomputer Download PDFInfo
- Publication number
- CN106355770A CN106355770A CN201610823692.9A CN201610823692A CN106355770A CN 106355770 A CN106355770 A CN 106355770A CN 201610823692 A CN201610823692 A CN 201610823692A CN 106355770 A CN106355770 A CN 106355770A
- Authority
- CN
- China
- Prior art keywords
- connects
- connect
- dgnd
- chip
- gnd
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F17/00—Coin-freed apparatus for hiring articles; Coin-freed facilities or services
- G07F17/0042—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
- G07F17/005—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring of content carriers, e.g. of DVDs or CDs
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention discloses a self-help library control system based on a single-chip microcomputer. A self-help library based on the single-chip microcomputer comprises a cabinet and a book storehouse, wherein the cabinet comprises an advertisement screen, a loudspeaker, a book outlet, a reservation book storehouse, a controller, a camera, a card reader and a printer, the advertisement screen is arranged at the upper part of one side of the front of the cabinet, the book outlet is arranged below the advertisement screen, the reservation book storehouse is arranged at the lower part of the other side of the front of the cabinet, the controller is arranged above the reservation book storehouse, the card reader, the camera and the printer are arranged above the controller, the book storehouse is arranged in the cabinet and comprises shelves, partition boards, tracks and book discharging mechanisms, the partition boards partition the shelves, the tracks are arranged on the partition boards, the book discharging mechanisms are arranged on the tracks, and a control system comprises a processor, a power circuit, a clock circuit, a reset circuit and a JTAG circuit. The self-help library control system based on the single-chip microcomputer is simple in structure and reasonable in design and can realize automatic management of book borrowing conveniently.
Description
Technical field
The invention belongs to taking care of books field, it is related to a kind of SCM Based Self-service Library control system.
Background technology
In recent years, self-service terminal started to develop rapidly in fields such as bank finance, supermarket of hotel, health cares.From
Help the rapidly growing of service science and technology, change traditional client and the aspectant transaction form of businessman, user in process of exchange more
There is initiative, man-machine interaction makes user have more chances to participate in transaction.One side self-service terminal is user
Bring great convenience, allow service become omnipresent, at all times;Meanwhile, businessman is also given in the appearance of self-service terminal
Bring new marketing strategy and management style, save their inputs in human and material resources, financial resources in a large number, and improve
The accuracy of operation and round-the-clock property, make business operation model tend to meet the network model of Times ' Demand.
Self-service Library system be collection computer technology, rfid technology, automated control technology, the network communications technology be one
The platform of body.By computer application software and the automatic control system of special exploitation, in any Self-service in Library
In terminal, reader can complete to handle reader and blocks, borrows, giving back the functions such as books.
Accordingly, it would be desirable to a kind of Self-service Library control system is to solve the above problems.
Content of the invention
Goal of the invention: provide a kind of SCM Based Self-service Library to control system for above-mentioned problem and defect
System control system and its manufacture method.
Technical scheme: to achieve the above object of the invention, the present invention employs the following technical solutions:
A kind of SCM Based Self-service Library control system, SCM Based Self-service Library includes rack and book storehouse,
Described rack includes advertisement screen, loudspeaker, takes fore-edge, books subscription storehouse, controller, photographic head, card reader and printer, described machine
Front one upper lateral part of cabinet is provided with described advertisement screen, and the lower section of described advertisement screen is provided with and takes fore-edge, the front of described rack
Another side lower part is provided with books subscription storehouse, and the top in described books subscription storehouse is provided with controller, the top of described controller
Be provided with card reader, photographic head and printer, in described rack, be provided with book storehouse, described book storehouse include layer frame, dividing plate, track and
Publish books mechanism, and described dividing plate is separated to described layer frame, and described dividing plate is provided with guide rail, described track is provided with described
Publish books mechanism,
Described control system includes processor, power circuit, clock circuit, reset circuit and jtag circuit, described power circuit,
Clock circuit, reset circuit and jtag circuit are all connected with described processor,
Described power circuit includes tps7333 chip, described tps7333 chip include a gnd end, en end, an in end,
Two in ends, an out end, the 2nd out end, sense end and reset end, a described gnd end and en end connect and connect dgnd
End, a described in end and the 2nd in end connect and connect+5v voltage end, and described en end connects a described in by electric capacity c9
End and the 2nd in end, described reset end connects rst end and passes through resistance r3 connection+3.3v voltage end, a described out end, the
Two out ends and sense end are all connected with and connect+3.3v voltage end, the polar capacitor c10 that described sense end connects in parallel
Connect dgnd end with resistance r2;
Described reset circuit includes switching diode d4 and on and off switch s1, the positive pole of described rst end connecting valve diode d4,
One end of the positive pole of polar capacitor c25, one end of resistance r37 and on and off switch s1, the negative pole of described switching diode d4, resistance
One end of the other end of r37 and electric capacity c25 is all connected with+3.3v voltage end, the negative pole of described polar capacitor c25, on and off switch s1
The other end and the other end of electric capacity c25 be all connected with dgnd end;
Described clock circuit includes low-frequency clock module and high frequency clock module, and described low-frequency clock module includes lfxt1 clock
Source, described lfxt1 clock source includes xin end, xout end and dvss end, and described xin end and xout end connect the two of the first crystal oscillator
End, described dvss end connects dgnd end;Described high frequency clock module includes the 2nd lfxt1 clock source, described 2nd lfxt1 clock
Source includes the 2nd xin end, the 2nd xout end and the 2nd dvss end, and described 2nd xin end and the 2nd xout end connect the second crystal oscillator
Two ends, described 2nd xin end by electric capacity c23 connect dgnd end, described 2nd xout end by electric capacity c24 connect dgnd
End, described 2nd dvss end connects dgnd end;
Described jtag circuit includes msp430f149 chip and interface, described msp430f149 chip include dvcc end, tdo end,
Tdi end, tms end, tck end, dvss end and the 2nd rst end, described interface includes the 1st pin, the 2nd pin, the 3rd pin, the 5th draws
Foot, the 7th pin, the 9th pin and the 11st pin, described dvcc end, tdo end, tdi end, tms end, tck end, dvss end and second
Rst end the 2nd pin of connecting interface, the 1st pin, the 3rd pin, the 5th pin, the 7th pin, the 9th pin and the 11st pin respectively,
Described dvcc end connects+3.3v voltage end, and described dvss end connects dgnd end.
Further, described control system also includes stand-by power supply circuit, and described stand-by power supply circuit includes chip u4,
Described chip u4 includes the 2nd gnd end, the 3rd in end, the 3rd out end and the 4th out end, and described 2nd gnd end connects dgnd
End, described 3rd in end connects+5v voltage end and the electric capacity c14 that connects in parallel and electric capacity c15 connection dgnd end, and described the
Electric capacity c16, electric capacity c17 and resistance r6 connection dgnd end that three out ends and the 4th out end connect and connect in parallel.
Further, described control system also includes communication interface circuit, and described communication interface circuit includes max3485
Communication chip, described max3485 communication chip includes 1 end, 2 ends, 3 ends, 4 ends, 5 ends, 6 ends, 7 ends and 8 ends, and described 1 end connects
Urxd0 end, described 2 ends and 3 ends are all connected with de0 end, and described 4 ends connect utxd0 end, and described 5 ends connect dgnd end, described 6 ends
Connect rs485+ end and 3.3v voltage end is connected by a 10k resistance, described 7 ends connect rs485- end and connect the 2nd 10k
One end of resistance, described 8 ends connect 3.3v voltage end and connect one end of 01uf electric capacity, and resistance 120 is passed through at described rs485- end
Connect described rs485+ end.
Further, described control system also includes motor-drive circuit, and described motor-drive circuit includes l298 electricity
Drive circuit and irl7833 motor-drive circuit,
Described l298 motor-drive circuit includes sn74hct245 chip, 74hc14 chip and l298p chip, described
Sn74hct245 chip includes g end, dir end, a1 end, a2 end, vcc end, the 3rd gnd end, b1 end and b2 end, and described g end connects
01uf capacitance connection dir end is simultaneously passed through in dgnd end, and described dir end connects+5v voltage end, and described a1 end and a2 end connect respectively
P2.4 end and p2.5 end, described vcc end connects+5v voltage end, and described 3rd gnd end connects dgnd end, and described b1 end connects m1_
1 end, described b2 end connects m1_e end;Described 74hc14 chip includes 1a end, 1y end, the 4th gnd end and the 2nd vcc end, described
1a end connects described m1_1 end, and described 1y end connects m1_2 end, and described 4th gnd end connects dgnd end and passes through 0.1uf electric capacity
Connect+5v voltage end, described m1_2 end connects+5v voltage end by 5.1k resistance, described 2nd vcc end connects+5v voltage end;
Described l298p chip include the 5th gnd end, sensea end, the 6th gnd end, senseb end, out1 end, out2 end, vs end,
Input1 end, enablea end, input2 end, the 7th gnd end, the 8th gnd end and vss end, described 5th gnd end connects agnd
Hold and described sensea end, described out1 end, out2 end, vs end, input1 end, enablea end, input2 are connected by resistance
End, the 7th gnd end, the 8th gnd end and vss end connect m1_a end, m1_b end, a12v end, m1_1 end, m1_e end, m1_2 respectively
End, agnd end, agnd end and+5v voltage end, the first diode is passed through at described agnd end respectively and the second diode connects m1_a
The 3rd diode is passed through at end and m1_b end, described m1_a end and m1_b end respectively and the 4th diode connects a12v end, described+5v
01uf electric capacity and one end of 22uf polar capacitor connection dgnd end and inductance l1 that voltage end connects in parallel, described a12v end
The 01uf electric capacity connecting in parallel and the other end of 47uf polar capacitor connection agnd end and inductance l1;
Described irl7833 motor-drive circuit is including the 2nd sn74hct245 chip and n-channel enhancement mode mos field effect
Pipe, described 2nd sn74hct245 chip include the 2nd g end, the 2nd dir end, the 2nd a1 end, the 2nd b1 end, the 9th gnd end and
3rd vcc end, described 2nd g end connects dgnd end and passes through 01uf capacitance connection the 2nd dir end, described 2nd dir end connection+
5v voltage end, described 2nd a1 end connects dzctrl end, and described 3rd vcc end connects+5v voltage end, and described 9th gnd end is even
Connect dgnd end, described 2nd b1 end connects the grid of n-channel enhancement mode mos field effect transistor, described n-channel enhancement mode mos field effect
The source electrode of pipe should connect agnd end, the drain electrode of described n-channel enhancement mode mos field effect transistor connects m_b end and simultaneously connects diode
Positive pole, the negative pole of diode connects a12v end and m_a end.
Further, described control system also includes data storage circuitry, and described data storage circuitry includes
At24c256 chip, described at24c256 chip includes a0 end, a1 end, the tenth gnd end, sda end, scl end, wp end and the 4th
Vcc end, described a0 end, a1 end and the tenth gnd end are all connected with dgnd end, and described wp end and the 4th vcc end connect dgnd end respectively
With+3.3v and by 01uf capacitance connection, described sda end and scl end connect sda and scl respectively and pass through a 5.1k respectively
Resistance and the 2nd 5.1k resistance connect+3.3v voltage end.
Further, described control system also includes signal acquiring system, and described signal acquiring system includes tlp521-
1 optical coupling isolation circuit, described tlp521-1 optical coupling isolation circuit includes light emitting diode and optical transistor, and a12v end passes through first
The positive pole of 4.7k resistance connecting luminous diode, the negative pole of described light emitting diode connects j01 end, the transmitting of described optical transistor
Pole connects dgnd end, and the colelctor electrode of described optical transistor passes through the 2nd 4.7k resistance and connects+3.3v voltage end.
Inventive principle:
A kind of SCM Based Self-service Library control system, the design of mechanical part may be summarized to be cabinet design and publishes books
Mechanism designs.Rack is the carrier of whole system, and the control unit of system and related peripherals are arranged on rack surface and inside, book
Storehouse is used for depositing books.Publish books mechanism under the drive of motor, electric magnet or other executive components, realizes moving that books are sent
Make.There is one piece of liquid crystal display outside book storehouse, be mainly used in playing related book information, be to take fore-edge below book storehouse, borrow
Books all take out in this mouth.The control device having industrial computer one in switch board and supporting system operation, on switch board outside
Side from left to right be respectively receipt LPT, card-reading zone, middle part is one piece of touch screen, all borrow operation all complete on the touchscreen
Become, switch board lower left is four books subscription storehouses, for depositing predetermined books.Slave computer control device includes control of publishing books
Plate and status monitoring plate.Panel of publishing books realizes the control to all mechanism's related devices of publishing books, and receives going out of feedback host computer
Book action command, by analysis instruction, obtains position and the quantity of books pending, controls the mechanism that publishes books to complete action of publishing books, with
When collection optical sensor signals determine motor movement state and accuracy;Status monitoring plate is used for detecting fore-edge state, control
Make the correctness that a pair of safe light curtain secondary detection is published books, by reading whether proximity switch condition adjudgement currently can go out safely
Book.Additionally, status monitoring plate also provides 4 tunnel DC driven, act on electromagnetic lock, control the switch in books subscription storehouse.
Adopt msp430f149 microprocessor to be its Master control chip in the hardware designs of device, mainly complete master control
Device main control chip design processed and periphery circuit design, serial communication modular circuit design etc. necessary to it.In software design
Aspect mainly with iar for developing bad border, with c language as programming tool, completes to serial communication modular communication protocol and software
Design, humiture collection programming, led Driver Design, radio-frequency card capture program are designed.Have successfully completed self-service
The design of library control system.The present invention compared with prior art, has a significant advantage that and achieves the automatic of book borrowing and reading
Change, solve the complicated difficult problems such as library search inefficiency, error probability be big, and good reduces cost.
Beneficial effect: compared with prior art, the SCM Based Self-service Library Control system architecture letter of the present invention
Single, cost is relatively low, reasonable in design, can conveniently realize the automated management of book borrowing and reading, solve library search inefficiency,
Error probability is big to wait complicated difficult problem.
Brief description
Fig. 1 Self-service Library bookcase structural representation;
Fig. 2 book chamber structure;
Fig. 3 system expansion structure figure;
Fig. 4 publishes books panel design;
Fig. 5 status monitoring plate design;
Fig. 6 msp430 minimum system is constituted;
Fig. 7 5v turns 3.3v power circuit;
Fig. 8 standby 3.3v power circuit;
Fig. 9 clock module circuit;
Figure 10 hot reset circuit;
Figure 11 jtag interface circuit;
Figure 12 rs485 communication interface circuit;
The motor-drive circuit of Figure 13 l298 composition;
The motor-drive circuit of Figure 14 irl7833 composition;
Figure 15 data storage circuitry;
Figure 16 signal acquisition circuit;
The structural representation of Figure 17 control system.
Specific embodiment
Below in conjunction with the accompanying drawings and specific embodiment, it is further elucidated with the present invention it should be understood that these embodiments are merely to illustrate
The present invention rather than restriction the scope of the present invention, after having read the present invention, those skilled in the art are each to the present invention
The modification planting the equivalent form of value all falls within the application claims limited range.
As shown in Fig. 1 and Figure 17, the SCM Based Self-service Library control system of the present invention, a system adopts 15
The structure design of row 10 row, 150 cells altogether, as shown in Figure 2.Can accelerate according to the actual requirements, by 485 buses
Multiple bookcases are connected into a system by mode, as shown in Figure 3.Main control computer is responsible for reading generation in book lending system
Borrow information, the book storage information in management cabinet, monitoring subordinate each bookcase running status, according under these information decision systems
One stage each task.
Hardware scheme
According to analysis above, lower computer control system should be realized publishing books control, the control of books subscription storehouse and go out fore-edge control
The functions such as system.According to the number of control element, control element type, effectively utilizes Resources on Chip, installation site etc. many-sided because
Element considers, slave computer panel is divided into two parts:
(1) publish books panel
Realize the control to all related devices of publishing books, receive the instruction of publishing books of feedback host computer, by analysis instruction, obtain figure
Book position and quantity, control the mechanism that publishes books to complete action of publishing books, collection optical sensor signals determine motor movement state and standard
Really property.The framework designing panel of publishing books is as shown in Figure 4.
(2) status monitoring plate
For detecting fore-edge state, a pair of safe light curtain secondary detection is controlled to publish books correctness, by reading proximity switch shape
State judges currently whether can publish books safely.Additionally, status monitoring plate also provides 4 tunnel DC driven, act on electromagnetic lock, control
The switch in books subscription storehouse.The framework of design point monitoring board is as shown in Figure 5.
In addition to meeting the function of above talking about, the moulds such as rs-232 communication, data storage also reserved by status monitoring plate
Block, and give certain expansion to DC driven module and acquisition module.So, when system increase new detection means or
When needing to drive more power device, these spare modules on monitor board just can meet primary demand.
2. hardware circuit scheme
1) minimum system
As Fig. 6, single-chip minimum system is mainly by singlechip chip, power circuit, reset circuit, oscillating circuit, programming interface
Circuit five part forms.This secondary design first splits into independent functional module, then the design by each module assembled according to by overall
Thinking, on the basis of completing chip minimum system, adds other functional modules according to demand.
Power circuit
Msp430f149 single-chip microcomputer is operated in low-voltage, can in the range of 1.8 ~ 3.6v steady operation.In view of msp430 control
Other devices such as max3485, max3232 etc. in making sheet work in 3.3v voltage, and other related devices work in 5v voltage, because
This realizes the power supply to msp430f149 single-chip microcomputer by the way of 5v turns 3.3v.
It is power low voltage difference manostat with integrated time-delay reset function that tps7333q is one, and output current reaches as high as
500ma, has been internally integrated voltage monitor, and output voltage can be monitored, and upper electric energy enough produces low level reset signal
200ms.As Fig. 7, control system is using tp7333q linear power supply chip composition main power circuit, input/output terminal interpolation decoupling
Electric capacity, to reduce noise jamming, completes the Power convert from 5v to 3.3v.
Power circuit lost efficacy after, whole lower computer system will out of control it is considered to power circuit importance it is necessary to design
Stand-by power supply circuit.When actually used, power supply plan can be selected with jumper, so when one of which power supply plan is lost
Effect, can select the power supply that another kind of power supply plan is system, program and other circuit unaffected.
Lm1117 is low difference voltage regulator.For the adjustable voltage version of lm1117, by external two resistance just
It is capable of 1.2v ~ 13.8 output voltage;Simultaneously lm1117 chip have the output of 5 fixed voltages (1.8v, 2.5v, 2.85v,
3.3v and 5v) model.Above refer to, need two kinds of power supplies of 3.3v and 5v in system, therefore to form used here as lm1117-3.3
Stand-by power supply circuit.As shown in figure 8, the stand-by power supply circuit being made up of lm1117-3.3 is relatively easy, input and output two ends are only
Add electric capacity to be filtered.
Clock circuit
In single-chip microcomputer, unit can steadily and surely work in an orderly manner, be under the effect of its system clock, be logic in piece by controller
Hardware is realized by the required pulse signal of the various operation of rule distribution.
As Fig. 9, the clock circuit of this secondary design is used lfxt1 as clock source, by external for agitator 8mhz high speed crystal oscillator,
And external resonant capacitance, make single-chip microcomputer lfxt1 oscillator operation in high frequency mode, the master clock frequency of 8mhz is provided.Work as vibration
When device lost efficacy, dco agitator can automatically open up and stable operation in 6us, be automatically selected as the clock source of mclk simultaneously, to protect
Card system maintains to be run.
Reset circuit
Reset and include electrification reset and two kinds of situations of hot reset.Power-on reset signal is mainly given by power supply chip, above
In power module design, tps7333q power supply chip can produce reset signal in upper electricity, and therefore we can be by rst signal
It is directly connected to after current-limiting resistance on the reset pin rst on msp430 chip.Design hot reset circuit can be given
Debugging provides convenient afterwards, eliminate frequent power up, the work of power-off.Hot reset circuit is as shown in Figure 10.
Interface circuit
With reference to the explanation to jtag interface relevant pins in msp430f149 specification document, fixed in conjunction with jtag downloader interface pin
Justice, design jtag interface circuit is as shown in figure 11.Jtag interface circuit is relatively easy, by seam pin and chip corresponding pin
It is connected and can complete.
Telecommunication circuit
Self-service Library control system communication thinking is to pass through rs-485 bus network consisting between slave computer panel, upper
Machine passes through serial ports and issues order to each panel, and panel makes response after receiving correct order.It is made up of max3485
Communication interface circuit such as Figure 12.
Motor-drive circuit
This secondary design drives direct current generator using double h bridge DC driven chip l298p and field effect transistor irl7833s two schemes.
Figure 13 show the motor-drive circuit being made up of l298p, control signal after msp430 sends, through bus transceiver
Sn74hct245 completes level conversion, finally arrives at l298p.Using l298p control direct current generator when, input1 pin with
Input2 pin is responsible for controlling a road outbound course, and it corresponds to positive and negative two kinds of outputs respectively when inputting as logical zero 1 and 10.
Enablea pin is the Enable Pin on a road, and only when it is high level, out1 pin and out2 pin just allow to export.
Irl7833 is a n-channel enhancement mode mos field effect transistor, and, up to 30v, conducting resistance is very for drain-source maximum voltage
Little, only several milliohms.Using field effect transistor motor, actually utilize its switching characteristic.It is made up of irl7833
Motor-drive circuit as shown in figure 14, when motor enables control end dzctrl, high level is skipped to by low level, now irl7833
Gate source voltage meets unlocking condition, and drain-source the two poles of the earth turn on, and motor rises and turns.
Data storage circuitry
This secondary design, is used at24c256 as the extension storage unit of panel, msp430 passes through i2C communication protocol pair
At24c256 is written and read.As shown in figure 15, sda pin and scl pin are all pulled upward to high level by resistance, so can protect
When bus free, both threads are high level to card.When the low level of the arbitrary device output linked in bus, whole piece bus
Signal can step-down, that is, sda and scl of each device is wired AND relation.A0, a1 are the address wires of chip, in bus at most
4 at24c256 can be met.
Signal acquisition circuit
Slave computer panel is connected to multiple sensors, and they are used for monitoring and feedback device state, and this makes at all controls
In the closed circuit having feedback, enhance reliability and the effectiveness of system acting.
This secondary design monitors the stroke of direct current generator using photoelectric tube, realizes the control of the single rotation of direct current generator
System.Motor action completes to represent publishes books successfully, in order to ensure accuracy of publishing books, in systems, each mechanism that publishes books
On be equipped with a scattered reflection type photoswitch, when have books above photoswitch through out-of-date (represent books successfully leave layer
Frame), photoswitch can be triggered, and it is correct that slave computer software can judge according to the times and duration of trigger to publish books
Property and accuracy.Additionally, being also equipped with a pair of safe light curtain above fore-edge in taking of every group of equipment, publish books for secondary detection
Correctness.
Using light-coupled isolation characteristic, signal acquisition circuit as shown in figure 16 can be designed.During sensor-triggered, j01 can become
For low level, optocoupler tpl521 transmitting terminal lights, the photosensitive conducting of receiving terminal, and the msp430 i/o mouth being connected with j1 is connect and can receive one
Individual trailing edge.
Claims (6)
1. a kind of SCM Based Self-service Library control system it is characterised in that: SCM Based Self-service Library bag
Include rack and book storehouse, described rack include advertisement screen, loudspeaker, take fore-edge, books subscription storehouse, controller, photographic head, card reader and
Printer, front one upper lateral part of described rack is provided with described advertisement screen, and the lower section of described advertisement screen is provided with and takes fore-edge, institute
Another side lower part in front stating rack is provided with books subscription storehouse, and the top in described books subscription storehouse is provided with controller, described
The top of controller is provided with card reader, photographic head and printer, is provided with book storehouse in described rack, and described book storehouse includes layer
Frame, dividing plate, track and the mechanism that publishes books, described dividing plate is separated to described layer frame, and described dividing plate is provided with guide rail, described rail
Publish books described in being provided with road mechanism,
Described control system includes processor, power circuit, clock circuit, reset circuit and jtag circuit, described power circuit,
Clock circuit, reset circuit and jtag circuit are all connected with described processor,
Described power circuit includes tps7333 chip, described tps7333 chip include a gnd end, en end, an in end,
Two in ends, an out end, the 2nd out end, sense end and reset end, a described gnd end and en end connect and connect dgnd
End, a described in end and the 2nd in end connect and connect+5v voltage end, and described en end connects a described in by electric capacity c9
End and the 2nd in end, described reset end connects rst end and passes through resistance r3 connection+3.3v voltage end, a described out end, the
Two out ends and sense end are all connected with and connect+3.3v voltage end, the polar capacitor c10 that described sense end connects in parallel
Connect dgnd end with resistance r2;
Described reset circuit includes switching diode d4 and on and off switch s1, the positive pole of described rst end connecting valve diode d4,
One end of the positive pole of polar capacitor c25, one end of resistance r37 and on and off switch s1, the negative pole of described switching diode d4, resistance
One end of the other end of r37 and electric capacity c25 is all connected with+3.3v voltage end, the negative pole of described polar capacitor c25, on and off switch s1
The other end and the other end of electric capacity c25 be all connected with dgnd end;
Described clock circuit includes low-frequency clock module and high frequency clock module, and described low-frequency clock module includes lfxt1 clock
Source, described lfxt1 clock source includes xin end, xout end and dvss end, and described xin end and xout end connect the two of the first crystal oscillator
End, described dvss end connects dgnd end;Described high frequency clock module includes the 2nd lfxt1 clock source, described 2nd lfxt1 clock
Source includes the 2nd xin end, the 2nd xout end and the 2nd dvss end, and described 2nd xin end and the 2nd xout end connect the second crystal oscillator
Two ends, described 2nd xin end by electric capacity c23 connect dgnd end, described 2nd xout end by electric capacity c24 connect dgnd
End, described 2nd dvss end connects dgnd end;
Described jtag circuit includes msp430f149 chip and interface, described msp430f149 chip include dvcc end, tdo end,
Tdi end, tms end, tck end, dvss end and the 2nd rst end, described interface includes the 1st pin, the 2nd pin, the 3rd pin, the 5th draws
Foot, the 7th pin, the 9th pin and the 11st pin, described dvcc end, tdo end, tdi end, tms end, tck end, dvss end and second
Rst end the 2nd pin of connecting interface, the 1st pin, the 3rd pin, the 5th pin, the 7th pin, the 9th pin and the 11st pin respectively,
Described dvcc end connects+3.3v voltage end, and described dvss end connects dgnd end.
2. as claimed in claim 1 SCM Based Self-service Library control system it is characterised in that: described control system
Also include stand-by power supply circuit, described stand-by power supply circuit includes chip u4, described chip u4 includes the 2nd gnd end, the 3rd in
End, the 3rd out end and the 4th out end, described 2nd gnd end connects dgnd end, and described 3rd in end connects+5v voltage end and leads to
Cross the electric capacity c14 being connected in parallel and electric capacity c15 and connect dgnd end, described 3rd out end and the 4th out end connect and in parallel
The electric capacity c16, the electric capacity c17 that connect and resistance r6 connect dgnd end.
3. as claimed in claim 1 SCM Based Self-service Library control system it is characterised in that: described control system
Also include communication interface circuit, described communication interface circuit includes max3485 communication chip, described max3485 communication chip bag
Include 1 end, 2 ends, 3 ends, 4 ends, 5 ends, 6 ends, 7 ends and 8 ends, described 1 end connects urxd0 end, and described 2 ends and 3 ends are all connected with de0
End, described 4 ends connect utxd0 end, and described 5 ends connect dgnd end, and described 6 ends connect rs485+ end and pass through a 10k resistance
Connect 3.3v voltage end, described 7 ends connect rs485- end and connect one end of the 2nd 10k resistance, and described 8 ends connect 3.3v voltage
Hold and connect one end of 01uf electric capacity, described rs485- end connects described rs485+ end by resistance 120.
4. as claimed in claim 1 SCM Based Self-service Library control system it is characterised in that: described control system
Also include motor-drive circuit, described motor-drive circuit includes l298 motor-drive circuit and irl7833 motor-drive circuit,
Described l298 motor-drive circuit includes sn74hct245 chip, 74hc14 chip and l298p chip, described
Sn74hct245 chip includes g end, dir end, a1 end, a2 end, vcc end, the 3rd gnd end, b1 end and b2 end, and described g end connects
01uf capacitance connection dir end is simultaneously passed through in dgnd end, and described dir end connects+5v voltage end, and described a1 end and a2 end connect respectively
P2.4 end and p2.5 end, described vcc end connects+5v voltage end, and described 3rd gnd end connects dgnd end, and described b1 end connects m1_
1 end, described b2 end connects m1_e end;Described 74hc14 chip includes 1a end, 1y end, the 4th gnd end and the 2nd vcc end, described
1a end connects described m1_1 end, and described 1y end connects m1_2 end, and described 4th gnd end connects dgnd end and passes through 0.1uf electric capacity
Connect+5v voltage end, described m1_2 end connects+5v voltage end by 5.1k resistance, described 2nd vcc end connects+5v voltage end;
Described l298p chip include the 5th gnd end, sensea end, the 6th gnd end, senseb end, out1 end, out2 end, vs end,
Input1 end, enablea end, input2 end, the 7th gnd end, the 8th gnd end and vss end, described 5th gnd end connects agnd
Hold and described sensea end, described out1 end, out2 end, vs end, input1 end, enablea end, input2 are connected by resistance
End, the 7th gnd end, the 8th gnd end and vss end connect m1_a end, m1_b end, a12v end, m1_1 end, m1_e end, m1_2 respectively
End, agnd end, agnd end and+5v voltage end, the first diode is passed through at described agnd end respectively and the second diode connects m1_a
The 3rd diode is passed through at end and m1_b end, described m1_a end and m1_b end respectively and the 4th diode connects a12v end, described+5v
01uf electric capacity and one end of 22uf polar capacitor connection dgnd end and inductance l1 that voltage end connects in parallel, described a12v end
The 01uf electric capacity connecting in parallel and the other end of 47uf polar capacitor connection agnd end and inductance l1;
Described irl7833 motor-drive circuit is including the 2nd sn74hct245 chip and n-channel enhancement mode mos field effect
Pipe, described 2nd sn74hct245 chip include the 2nd g end, the 2nd dir end, the 2nd a1 end, the 2nd b1 end, the 9th gnd end and
3rd vcc end, described 2nd g end connects dgnd end and passes through 01uf capacitance connection the 2nd dir end, described 2nd dir end connection+
5v voltage end, described 2nd a1 end connects dzctrl end, and described 3rd vcc end connects+5v voltage end, and described 9th gnd end is even
Connect dgnd end, described 2nd b1 end connects the grid of n-channel enhancement mode mos field effect transistor, described n-channel enhancement mode mos field effect
The source electrode of pipe should connect agnd end, the drain electrode of described n-channel enhancement mode mos field effect transistor connects m_b end and simultaneously connects diode
Positive pole, the negative pole of diode connects a12v end and m_a end.
5. as claimed in claim 1 SCM Based Self-service Library control system it is characterised in that: described control system
Also include data storage circuitry, described data storage circuitry includes at24c256 chip, described at24c256 chip include a0 end,
A1 end, the tenth gnd end, sda end, scl end, wp end and the 4th vcc end, described a0 end, a1 end and the tenth gnd end are all connected with dgnd
End, described wp end and the 4th vcc end connect dgnd end and+3.3v respectively and pass through 01uf capacitance connection, described sda end and scl
End connects sda and scl respectively and passes through a 5.1k resistance and the 2nd 5.1k resistance connection+3.3v voltage end respectively.
6. as claimed in claim 1 SCM Based Self-service Library control system it is characterised in that: described control system
Also include signal acquiring system, described signal acquiring system includes tlp521-1 optical coupling isolation circuit, described tlp521-1 optocoupler
Isolation circuit includes light emitting diode and optical transistor, and the positive pole of a 4.7k resistance connecting luminous diode is passed through at a12v end,
The negative pole of described light emitting diode connects j01 end, and the emitter stage of described optical transistor connects dgnd end, the collection of described optical transistor
Electrode passes through the 2nd 4.7k resistance and connects+3.3v voltage end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610823692.9A CN106355770A (en) | 2016-09-15 | 2016-09-15 | Self-help library control system based on single-chip microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610823692.9A CN106355770A (en) | 2016-09-15 | 2016-09-15 | Self-help library control system based on single-chip microcomputer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106355770A true CN106355770A (en) | 2017-01-25 |
Family
ID=57859845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610823692.9A Pending CN106355770A (en) | 2016-09-15 | 2016-09-15 | Self-help library control system based on single-chip microcomputer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106355770A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107170153A (en) * | 2017-04-19 | 2017-09-15 | 淮阴工学院 | A kind of whole people's bookcase based on PID tandem intelligence systems |
CN108460711A (en) * | 2018-03-12 | 2018-08-28 | 深圳用弱科技有限公司 | It is a kind of to assist terminal machine people's control system of putting on record |
CN108831044A (en) * | 2018-06-20 | 2018-11-16 | 江苏优泰智能科技有限公司 | A kind of control circuit of automatic medicine selling machine |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201017388Y (en) * | 2007-03-21 | 2008-02-06 | 李剑 | Books and dish rent device |
CN101908251A (en) * | 2009-06-05 | 2010-12-08 | 东莞市树煜智能图书设备科技有限公司 | Full-automatic library service station and operation method thereof |
CN102034319A (en) * | 2009-09-25 | 2011-04-27 | 深圳市俊波软件有限公司 | Self-service book borrowing and returning machine |
CN102103773A (en) * | 2009-12-18 | 2011-06-22 | 上海市民办尚德实验学校 | Unmanned library borrowing system |
CN102479411A (en) * | 2010-11-22 | 2012-05-30 | 向平联 | Self-service system for library |
-
2016
- 2016-09-15 CN CN201610823692.9A patent/CN106355770A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201017388Y (en) * | 2007-03-21 | 2008-02-06 | 李剑 | Books and dish rent device |
CN101908251A (en) * | 2009-06-05 | 2010-12-08 | 东莞市树煜智能图书设备科技有限公司 | Full-automatic library service station and operation method thereof |
CN102034319A (en) * | 2009-09-25 | 2011-04-27 | 深圳市俊波软件有限公司 | Self-service book borrowing and returning machine |
CN102103773A (en) * | 2009-12-18 | 2011-06-22 | 上海市民办尚德实验学校 | Unmanned library borrowing system |
CN102479411A (en) * | 2010-11-22 | 2012-05-30 | 向平联 | Self-service system for library |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107170153A (en) * | 2017-04-19 | 2017-09-15 | 淮阴工学院 | A kind of whole people's bookcase based on PID tandem intelligence systems |
CN108460711A (en) * | 2018-03-12 | 2018-08-28 | 深圳用弱科技有限公司 | It is a kind of to assist terminal machine people's control system of putting on record |
CN108831044A (en) * | 2018-06-20 | 2018-11-16 | 江苏优泰智能科技有限公司 | A kind of control circuit of automatic medicine selling machine |
WO2019242074A1 (en) * | 2018-06-20 | 2019-12-26 | 江苏优泰智能科技有限公司 | Control circuit for medicine vending machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106355770A (en) | Self-help library control system based on single-chip microcomputer | |
CN102290978A (en) | Power management system | |
CN103529801A (en) | Circulating control system recycling urban reclaimed water in circulating cooling water of power plant | |
CN104900121B (en) | A kind of Digital Electronics Experiment system and method based on intelligent Evaluation | |
CN104216372A (en) | Wheeled mobile robot control system | |
CN101902078A (en) | Centralized monitoring device in direct-current power supply system | |
CN2935795Y (en) | Central controller for milking table | |
CN202362992U (en) | Comprehensive experiment box for single chip microcomputer development | |
CN201828608U (en) | Three-phase intelligent electric energy meter | |
CN107807558A (en) | Multibus communication card circuit and control method based on PCI9054 | |
CN103869802B (en) | A kind of washing machine controller checkout gear and method | |
CN209559921U (en) | A kind of compound velocity sensor testboard | |
CN201352395Y (en) | Singlechip testing board capable of being programmed and debugged online | |
CN205750445U (en) | A kind of controller for low-voltage electrical apparatus detection equipment | |
CN207359076U (en) | A kind of robot control system and robot | |
CN110021216A (en) | Pocket-type experiment platform for IOT and its experiment application method | |
CN203490531U (en) | Cycle control system of urban recycled water reused for power plant circulating cooling water | |
CN209625107U (en) | A kind of motherboard power supply distribution system | |
CN208384968U (en) | Nixie tube drive circuit and charger | |
CN203250175U (en) | A simple programmable single-axis system multistage controller | |
CN201084202Y (en) | A base-station intelligent entrance guard controller | |
CN201897716U (en) | Public controller for multiple intelligent water meters | |
CN206605494U (en) | A kind of sixdegree-of-freedom simulation teaching machine | |
CN110532221A (en) | A kind of control module of tool management equipment | |
CN105651327B (en) | A kind of monitoring method suitable for airborne lidar for fluorescence health status |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170125 |