CN101692170A - Serial D/A converter circuit shared by two singlechips - Google Patents

Serial D/A converter circuit shared by two singlechips Download PDF

Info

Publication number
CN101692170A
CN101692170A CN 200910236307 CN200910236307A CN101692170A CN 101692170 A CN101692170 A CN 101692170A CN 200910236307 CN200910236307 CN 200910236307 CN 200910236307 A CN200910236307 A CN 200910236307A CN 101692170 A CN101692170 A CN 101692170A
Authority
CN
China
Prior art keywords
pin
chip microcomputer
serial
tlc5615
converter
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.)
Granted
Application number
CN 200910236307
Other languages
Chinese (zh)
Other versions
CN101692170B (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.)
College of Biochemical Engineering of Beijing Union University
Original Assignee
College of Biochemical Engineering of Beijing Union 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 College of Biochemical Engineering of Beijing Union University filed Critical College of Biochemical Engineering of Beijing Union University
Priority to CN 200910236307 priority Critical patent/CN101692170B/en
Publication of CN101692170A publication Critical patent/CN101692170A/en
Application granted granted Critical
Publication of CN101692170B publication Critical patent/CN101692170B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Microcomputers (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

The invention provides a serial D/A converter circuit shared by two singlechips, and belongs to the field of instruments. In a single instrument or control unit, a control core adopts the two singlechips; an A singlechip is connected with an isolation driving device, and a B singlechip is also connected with the isolation driving device; the isolation driving device is connected with a serial D/A converter, and isolates the two singlechips from the serial D/A converter; and the A singlechip is connected with the B singlechip through serial communication. The serial D/A converter circuit has the advantages that: the two singlechips can be communicated with the serial D/A converter alternately and acquire analog signal output priority by controlling the isolation driving device, and the two singlechips alternately process sample data to improve the speed of processing the sample data, and can output analog signals in real time, so that the work efficiency of the instrument or the control unit is improved, and the human-computer interaction capacity is improved.

Description

Shared by two singlechips serial D/A converter circuit
Technical field
The present invention is a kind of shared by two singlechips serial D/A converter circuit, belongs to instrument field, can be used in various instrument and meters and the control module.
Background technology
At present single instrument and meter or some control modules adopts a single-chip microcomputer to be the control core, and directly be connected with D/A converter, when higher and data processing time is longer when simulating signal output change frequency, a single-chip microcomputer is difficult to take into account, thereby causes the phenomenon of inefficiency and real-time difference; For meeting the demands, on conceptual design, can increase financial cost, also can increase the complexity of circuit, this is the problem that exists at present.
Summary of the invention
The objective of the invention is to improve with two single-chip microcomputers is the work efficiency of the instrument and meter or the control module of core, improves the processing capability in real time of data, improves man-machine interaction capabilities.
To achieve these goals, the present invention has taked following technical scheme.The present invention includes A single-chip microcomputer, B single-chip microcomputer, isolation drive device and serial D/A converter.Be connected for serial communication between A single-chip microcomputer and the B single-chip microcomputer, serial D/A converter is connected with the isolation drive device, the isolation drive device is connected with the B single-chip microcomputer with the A single-chip microcomputer respectively again, the isolation drive device is kept apart serial D/A converter and A single-chip microcomputer and B single-chip microcomputer, each single-chip microcomputer is communicated with serial D/A converter by alternately controlling the isolation drive device, and serial D/A converter is controlled the output of acquisition simulating signal.
Described isolation drive device is an integrated circuit (IC) chip that includes two groups of triple gates at least, the input and output of first group of triple gate are communicated with control end and link to each other with the A single-chip microcomputer, the input end of first group of triple gate is connected with the A single-chip microcomputer, and output terminal is connected with serial D/A converter; The input and output of second group of triple gate are communicated with control end and are connected with the B single-chip microcomputer, and the input end of second group of triple gate is connected with the B single-chip microcomputer, and output terminal is connected with serial D/A converter.
The invention has the advantages that two single-chip microcomputers can alternately be communicated with and obtain simulating signal output power with serial D/A converter by control isolation drive device, two single-chip microcomputers are by the alternate treatment sampled data, can improve the processing speed of sampled data, and can export simulating signal in real time, thereby improve the work efficiency of instrument and meter or control module, improve man-machine interaction capabilities.
Description of drawings
Fig. 1 structured flowchart of the present invention
Fig. 2 circuit theory diagrams of the present invention
Embodiment
The present invention is described in detail below in conjunction with accompanying drawing 1, Fig. 2.
Structured flowchart of the present invention as shown in Figure 1, the shared by two singlechips serial D/A converter circuit figure is as shown in Figure 2.In Fig. 1, A single-chip microcomputer and B single-chip microcomputer link together by serial communication, the isolation drive device is kept apart A single-chip microcomputer and B single-chip microcomputer and serial D/A converter, the A single-chip microcomputer has corresponding line to be connected the isolated controlling device respectively with the B single-chip microcomputer, and the isolated controlling device is connected with serial D/A converter separately.
Fig. 2 is the physical circuit figure of present embodiment.In Fig. 2, the isolated controlling device is made up of 1 74LS244 triple gate and corresponding connecting line, and the model that serial D/A converter adopts is TLC5615, and the model of two single-chip microcomputer employings is MCS-89C52, resistance R 1, R 2, R 3Be pull-up resistor, its effect is to guarantee when 74LS244 is in three-state, and three pins of SCLK, the DIN of serial D/A converter, CS are in steady state (SS), resistance R 4Constitute mu balanced circuit with stabilivolt D, for TLC5615 provides reference voltage.Concrete connection is as follows:
1 of A single-chip microcomputer, 2 are connected 6 of 74LS244 respectively with 3 pin, 4 and 2 pin, 1 of B single-chip microcomputer, 2 are connected 15 of 74LS244 respectively with 3 pin, 13 and 11 pin, 4 pin of A single-chip microcomputer connect 1 pin of 74LS244,4 pin of B single-chip microcomputer connect 19 pin of 74LS244, the ground end of the 10 pin connection+5V power supplys of 74LS244, the 20 pin connection+5V power ends of 74LS244,74LS244 9 with 18 pin link together the back be connected with 3 pin of TLC5615,74LS244 7 with 16 pin link together the back be connected with 1 pin of TLC5615,74LS244 5 with 14 pin link together the back be connected with 2 pin of TLC5615, the ground end of the 5 pin connection+5V power supplys of TLC5615, the 8 pin connection+5V power ends of TLV5615,7 pin of TLC5615 are the output terminal of simulating signal, first resistance R 1One end connects 3 pin of TLC5615, other end connection+5V power end, second resistance R 2One end connects 1 pin of TLC5615, other end connection+5V power end, the 3rd resistance R 3One end connects 2 pin of TLC5615, other end connection+5V power end, and the anode of stabilivolt D connects 5 pin of TLC5615, and the negative electrode of stabilivolt connects 6 pin of TLC5615, the 4th resistance R 4One end connects 6 pin of TLC5615, the other end connects 8 pin of TLC5615,10 pin of A single-chip microcomputer connect 11 pin of B single-chip microcomputer, 10 pin of B single-chip microcomputer connect 11 pin of A single-chip microcomputer, 40 pin of A single-chip microcomputer and B single-chip microcomputer are connected+the 5V power end, and 20 pin of A single-chip microcomputer and B single-chip microcomputer are connected+the ground end of 5V power supply.
Concrete working method is as follows:
As shown in Figure 2, two single-chip microcomputers in normal working conditions, when two single-chip microcomputers were not all exported simulating signal, the P13 pin of two single-chip microcomputers was high level, 1 pin of 74LS244 and 19 pin are high level also this moment, 74LS244 is in tri-state state; When the A single-chip microcomputer need be exported simulating signal, the P13 pin of A single-chip microcomputer is changed to low level, the P13 pin of B single-chip microcomputer still is a high level, the P10 of A single-chip microcomputer, P11, three pins of P12 are communicated with serial D/SCLK, DIN of A converter TLC5615, three pins of CS this moment, and the A single-chip microcomputer can carry out simulating signal output by control P10, P11, these three pins of P12; Equally, when the B single-chip microcomputer need be exported simulating signal, the P13 pin of B single-chip microcomputer is changed to low level, the P13 pin of A single-chip microcomputer still is a high level, the P10 of B single-chip microcomputer, P11, three pins of P12 are communicated with serial D/SCLK, DIN of A converter TLC5615, three pins of CS this moment, and the B single-chip microcomputer can carry out simulating signal output by control P10, P11, these three pins of P12.

Claims (4)

1. shared by two singlechips serial D/A converter circuit, it is characterized in that: comprise the A single-chip microcomputer, the B single-chip microcomputer, isolation drive device and serial D/A converter, be connected for serial communication between A single-chip microcomputer and the B single-chip microcomputer, serial D/A converter is connected with the isolation drive device, the isolation drive device is connected with the B single-chip microcomputer with the A single-chip microcomputer respectively again, the isolation drive device is kept apart serial D/A converter and A single-chip microcomputer and B single-chip microcomputer, each single-chip microcomputer is communicated with serial D/A converter by alternately controlling the isolation drive device, and serial D/A converter is controlled the output of acquisition simulating signal.
2. a kind of shared by two singlechips serial D according to claim 1/A converter circuit, it is characterized in that: described isolation drive device is an integrated circuit (IC) chip that includes two groups of triple gates at least, the input and output of first group of triple gate are communicated with control end and link to each other with the A single-chip microcomputer, the input end of first group of triple gate is connected with the A single-chip microcomputer, and output terminal is connected with serial D/A converter; The input and output of second group of triple gate are communicated with control end and are connected with the B single-chip microcomputer, and the input end of second group of triple gate is connected with the B single-chip microcomputer, and output terminal is connected with serial D/A converter.
3. a kind of shared by two singlechips serial D according to claim 1/A converter circuit, it is characterized in that: described isolation drive device is unidirectional ternary buffering driver chip 74LS224, described serial D/A converter is chip TLC5615, and the model that described A single-chip microcomputer and B single-chip microcomputer adopt is MCS-89C52.
4. shared by two singlechips serial D according to claim 3/A converter circuit is characterized in that: the concrete annexation between chip 74LS244, chip TLC5615 and A single-chip microcomputer, the B single-chip microcomputer is:
1 of A single-chip microcomputer, 2 are connected 6 of 74LS244 respectively with 3 pin, 4 and 2 pin, 1 of B single-chip microcomputer, 2 are connected 15 of 74LS244 respectively with 3 pin, 13 and 11 pin, 4 pin of A single-chip microcomputer connect 1 pin of 74LS244,4 pin of B single-chip microcomputer connect 19 pin of 74LS244, the ground end of the 10 pin connection+5V power supplys of 74LS244, the 20 pin connection+5V power ends of 74LS244,74LS244 9 with 18 pin link together the back be connected with 3 pin of TLC5615,74LS244 7 with 16 pin link together the back be connected with 1 pin of TLC5615,74LS244 5 with 14 pin link together the back be connected with 2 pin of TLC5615, the ground end of the 5 pin connection+5V power supplys of TLC5615, the 8 pin connection+5V power ends of TLV5615,7 pin of TLC5615 are the output terminal of simulating signal, the first resistance (R 1) end connects 3 pin of TLC5615, other end connection+5V power end, the second resistance (R 2) end connects 1 pin of TLC5615, other end connection+5V power end, the 3rd resistance (R 3) end connects 2 pin of TLC5615, the other end connections+5V power end, the anode of stabilivolt D connects 5 pin of TLC5615,6 pin of the negative electrode connection TLC5615 of stabilivolt, the 4th resistance (R 4) end connects 6 pin of TLC5615, the other end connects 8 pin of TLC5615,10 pin of A single-chip microcomputer connect 11 pin of B single-chip microcomputer, 10 pin of B single-chip microcomputer connect 11 pin of A single-chip microcomputer, 40 pin of A single-chip microcomputer and B single-chip microcomputer all are connected+the 5V power end, and 20 pin of A single-chip microcomputer and B single-chip microcomputer all are connected+the ground end of 5V power supply.
CN 200910236307 2009-10-16 2009-10-16 Serial D/A converter circuit shared by two singlechips Expired - Fee Related CN101692170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910236307 CN101692170B (en) 2009-10-16 2009-10-16 Serial D/A converter circuit shared by two singlechips

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910236307 CN101692170B (en) 2009-10-16 2009-10-16 Serial D/A converter circuit shared by two singlechips

Publications (2)

Publication Number Publication Date
CN101692170A true CN101692170A (en) 2010-04-07
CN101692170B CN101692170B (en) 2013-01-09

Family

ID=42080863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910236307 Expired - Fee Related CN101692170B (en) 2009-10-16 2009-10-16 Serial D/A converter circuit shared by two singlechips

Country Status (1)

Country Link
CN (1) CN101692170B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5091951A (en) * 1989-06-26 1992-02-25 Pioneer Electronic Corporation Audio signal data processing system
JP3346079B2 (en) * 1995-03-10 2002-11-18 株式会社デンソー Data input / output processing device of multi CPU system
CN2851647Y (en) * 2005-12-16 2006-12-27 上海开通数控有限公司 Intelligent air compressor controller
JP4582047B2 (en) * 2006-05-19 2010-11-17 株式会社日立製作所 Digital protection controller

Also Published As

Publication number Publication date
CN101692170B (en) 2013-01-09

Similar Documents

Publication Publication Date Title
CN103777529A (en) Fast varying signal collector
CN201576183U (en) Wireless embedded-type real-time multi-task multi-channel measure and control module
CN207650614U (en) A kind of polymorphic controller of agricultural equipment
CN203070010U (en) Multifunctional board card used for flexible AC power transmission apparatus
CN206224181U (en) A kind of multiple-axis servo drive system position feedback data interface card based on FPGA
CN201667011U (en) Embedded multi-input multi-output data acquisition template
CN106329600B (en) Battery management AFE(analog front end), battery management system and method
CN102722167A (en) Integrated controller for floor
CN102033568B (en) Multifunctional signal generator and realization method thereof
CN201477136U (en) Color LCD multifunctional power instrument
CN102928004B (en) A kind of code device signal real time processing system and method
CN101692606A (en) Serial A/D converter circuit shared by two singlechips
CN101692170B (en) Serial D/A converter circuit shared by two singlechips
CN201698207U (en) Analog quantity collecting module based on FPGA (Field Programmable Gate Array)
CN108052066A (en) A kind of cascaded high-voltage frequency converter master control system of multiple processor structure
CN101202527A (en) High precision velocity simulate given circuit
CN104579343A (en) Serial A/D converter circuit shared by double single chip microcomputers
CN207650628U (en) A kind of cascaded high-voltage frequency converter master control system of multiple processor structure
CN110417240B (en) Communication sampling control device of high-power wind power generation converter
CN103678231A (en) Double-channel parallel signal processing module
CN207367015U (en) A kind of battery pack information acquisition system
CN202735799U (en) Integrated controller for floor
CN202693677U (en) Three-phase electronic electric energy meter
CN203025276U (en) Tester of capacitive touch screen module
CN207649880U (en) A kind of optical module test system of changeable circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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

Granted publication date: 20130109

Termination date: 20141016

EXPY Termination of patent right or utility model