CN107942807B - PH controller full automatic calibration device and its scaling method - Google Patents

PH controller full automatic calibration device and its scaling method Download PDF

Info

Publication number
CN107942807B
CN107942807B CN201711293003.9A CN201711293003A CN107942807B CN 107942807 B CN107942807 B CN 107942807B CN 201711293003 A CN201711293003 A CN 201711293003A CN 107942807 B CN107942807 B CN 107942807B
Authority
CN
China
Prior art keywords
pins
circuit
relay
controller
resistance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711293003.9A
Other languages
Chinese (zh)
Other versions
CN107942807A (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.)
Hangzhou Instrument Automation Co Ltd
Original Assignee
Hangzhou Instrument Automation Co Ltd
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 Hangzhou Instrument Automation Co Ltd filed Critical Hangzhou Instrument Automation Co Ltd
Priority to CN201711293003.9A priority Critical patent/CN107942807B/en
Publication of CN107942807A publication Critical patent/CN107942807A/en
Application granted granted Critical
Publication of CN107942807B publication Critical patent/CN107942807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Electronic Switches (AREA)

Abstract

The invention discloses pH controller full automatic calibration device and its scaling methods.Existing pH controller be all manually assembled, wiring, calibration, inefficiency, error rate is high.PH controller full automatic calibration device of the present invention, including touch screen, demarcating module, tester and off line cd-rom recorder.Demarcating module includes central processing circuit, power supply voltage regulator circuit, normal voltage switching circuit, pH controller power supply circuit, pH controller communication circuit, tester communicating circuit, touch screen communicating circuit and pH controller switching circuit.PH controller switching circuit includes voltage control circuit, current control circuit, cd-rom recorder control circuit and pH controller communication control circuit.PH controller switching circuit shares n.The present invention realizes the normal voltage of tester output and the switching of pH controller voltage input end positive-negative connected to be calibrated by the combinative movement of two relays.

Description

PH controller full automatic calibration device and its scaling method
Technical field
The invention belongs to pH controller calibration technique fields, and in particular to a kind of pH controller full automatic calibration device and its Scaling method.
Background technique
With the fast development of modern industry, the demand of industry spot instrument is increasing, measures the pH control of water quality Device yield is also increasing, but since pH controller main component is integrated circuit board, and the component tool on integrated circuit board There is individual difference.It you must use standard source to demarcate the pH controller before factory.It is most currently on the market PH controller be all manually assembled, wiring, calibration, inefficiency, error rate is high.Therefore be badly in need of designing it is a kind of efficiently and from The high caliberating device of dynamicization degree.
Summary of the invention
The purpose of the present invention is to provide a kind of pH controller full automatic calibration device and its scaling methods.
PH controller full automatic calibration device of the present invention, including touch screen, demarcating module, tester and off line cd-rom recorder. The demarcating module includes central processing circuit, power supply voltage regulator circuit, normal voltage switching circuit, pH controller power supply electricity Road, pH controller communication circuit, tester communicating circuit, touch screen communicating circuit and pH controller switching circuit.The pH Controller switching circuit includes voltage control circuit, current control circuit, cd-rom recorder control circuit and the control of pH controller communication Circuit.The pH controller switching circuit shares n, 1≤n≤30.
The power supply voltage regulator circuit includes the first voltage-stablizer, the second voltage-stablizer, voltage reference chip, capacitor C12 and electricity Hold C19.The capacitor C12 and capacitor C19 is electrolytic capacitor;First voltage-stablizer is steady using NCP1117ST33T3G Depressor;Second voltage-stablizer uses L78M05ACDT voltage-stablizer;The voltage reference chip uses TL431ACDBZR core Piece;1 pin of second voltage-stablizer connects one end and the outside 24V voltage of capacitor C13, the other end of 4 pins and capacitor C13 and One end of capacitor C20 is connected and is grounded, and 3 pins are meeting the other end of capacitor C20,3 pins of the first voltage-stablizer and capacitor C12 just Pole;1 pin of the first voltage-stablizer is connected and is grounded with the cathode of capacitor C12 and capacitor C19,2 pins connect capacitor C19 anode and One end of resistance R49;The cathode of another termination voltage reference chip of resistance R49 and refer to pole, the anode of voltage reference chip Ground connection;5V output end of 3 pins of the second voltage-stablizer as power supply voltage regulator circuit;2 pins of the first voltage-stablizer are steady as power supply The 3.3V output end of volt circuit;2.5V output end of the cathode of voltage reference chip as power supply voltage regulator circuit.The center Processing circuit includes single-chip microcontroller.The single-chip microcontroller uses the single-chip microcontroller of model stm8l052r8;11 pins of single-chip microcontroller, 55 Pin, 29 pins and 12 pins connect the 3.3V output end of capacitor C26, one end of capacitor C27 and voltage regulator circuit of powering;Capacitor The other end of C26 and capacitor C27 are grounded;13 pins of single-chip microcontroller meet the 2.5V of one end of capacitor C28 and voltage regulator circuit of powering Output end;The other end of capacitor C28 is grounded;10 pins, 56 pins, 30 pins and 9 pins of single-chip microcontroller are grounded;The touching Screen is touched to send calibration instruction to central processing circuit and show calibration result;There are four output ports for the tester tool;It should Four output ports are respectively normal voltage output end, voltage ground terminal, current input terminal and electric current ground terminal;The off line Cd-rom recorder is used to be pH controller burning program to be calibrated;The power supply voltage regulator circuit passes through the first voltage-stablizer, the second pressure stabilizing Device and voltage reference chip are central processing circuit, normal voltage switching circuit, pH controller power supply circuit, the switching of pH controller Circuit, pH controller communication circuit, tester communicating circuit and the power supply of touch screen communicating circuit;The normal voltage switches electricity Voltage control electricity is given in output after road adjusts polarity by the normal voltage that the 5th relay and the 6th relay export tester Road;The pH controller power supply circuit controls the on-off of pH controller to be calibrated by the 7th relay and the 8th relay Electricity;The pH controller communication circuit is carried out by the first photoelectrical coupler, the second photoelectrical coupler and the first communication chip The communication of central processing circuit and pH controller to be calibrated;The touch screen communicating circuit passes through third photoelectrical coupler, the Four photoelectrical couplers and the second communication chip carry out the communication of central processing circuit and touch screen;The tester communicating circuit The logical of central processing circuit and tester is carried out by the 5th photoelectrical coupler, the 6th photoelectrical coupler and third communication chip News;The voltage control circuit controls the logical of normal voltage switching circuit and pH controller to be calibrated by the first relay It is disconnected;The current control circuit by third relay control tester current input terminal and electric current ground terminal with it is to be calibrated The on-off of pH controller;The cd-rom recorder control circuit controls off line cd-rom recorder by the second relay and pH to be calibrated is controlled The on-off of device;The pH controller communication control circuit controls pH controller communication circuit and centre by the 4th relay Manage the on-off of circuit.
Further, first relay control terminal of 33 pins of the single-chip microcontroller as central processing circuit, 32 pins As the second relay control terminal of central processing circuit, third relay control terminal of 21 pins as central processing circuit. 57 pins communicate receiving end as the first of central processing circuit, and 58 pins are sent as the first communication of central processing circuit End, first Communication Control pin of 59 pins as central processing circuit, second communication of 22 pins as central processing circuit Receiving end, 23 pins communicate transmitting terminal as the second of central processing circuit, and 24 pins lead to as the second of central processing circuit News control pin, third communication receiving end of 14 pins as central processing circuit, 15 pins as central processing circuit the Three communication transmitting terminals, third Communication Control pin of 16 pins as central processing circuit.I/O mouthfuls points of the n of single-chip microcontroller a first Not as the n of central processing circuit the 4th relay control terminals.I/O mouthfuls of the n of single-chip microcontroller a 2nd is respectively as central processing N the 5th relay control terminals of circuit.The n of single-chip microcontroller the 3rd I/O mouthful n respectively as central processing circuit a 6th after Electrical equipment control end.N the 4th I/O mouthfuls of n respectively as central processing circuit the 7th relay control terminals of single-chip microcontroller.
Further, 3 pins of the single-chip microcontroller, 4 pins, 51 pins, 52 pins and the external toggle switch of 60 pins.
Further, the normal voltage switching circuit includes the 5th relay, the 6th relay, triode Q8, three Pole pipe Q9, diode D6, diode D7, diode D17 and diode D18.The diode D17 and diode D18 be Light emitting diode.6th relay and the 5th relay are all made of the relay of model ATQ209.6th relay 10 pins ground connection, 1 pin of the 6th relay connects the collection of the cathode of diode D7, the anode of diode D18 and triode Q9 Electrode.The 5V output end of one end of the emitter connecting resistance R25 of triode Q9 and voltage regulator circuit of powering.The base stage of triode Q9 connects One end of the other end of resistance R25, one end of resistance R29 and capacitor C8.The other end of capacitor C8 is grounded, and resistance R29's is another Terminate the first relay control terminal of central processing circuit.One end of the cathode connecting resistance R9 of diode D18.Diode D7 is just Pole is connected and is grounded with 10 pin of the other end of resistance R9 and the 5th relay.1 pin of the 5th relay meets diode D6 Cathode, the anode of diode D17 and the collector of triode Q8.One end of the emitter connecting resistance R24 of triode Q8 and confession The 5V output end of electric voltage regulator circuit.One end of the other end of the base stage connecting resistance R24 of triode Q8, resistance R31 and capacitor C7.Electricity Hold the other end ground connection of C7.Second relay control terminal of another termination central processing circuit of resistance R31.Diode D17's One end of cathode connecting resistance R11.The anode of diode D6 is connected and is grounded with the other end of resistance R11.7 pipes of the 5th relay 4 pins of foot and the 6th relay are connected with the normal voltage output end of tester.9 pins of the 5th relay and the 6th after 2 pins of electric appliance are connected with the voltage ground terminal of tester.8 pins of the 5th relay are as normal voltage switching circuit First voltage output end.3 pins of the 6th relay as normal voltage switching circuit normal voltage switching circuit second Voltage output end.
Further, the pH controller power supply circuit includes the 7th relay, the 8th relay, triode Q6, three Pole pipe Q10, diode D9, diode D10, diode D20 and diode D16.The diode D20 and diode D16 is equal For light emitting diode.8th relay and the 7th relay are all made of the relay of model ATQ209.8th relay 10 pins of device are grounded, and 1 pin of the 8th relay meets the cathode of diode D10, the anode of diode D16 and triode Q10 Collector.The 5V output end of one end of the emitter connecting resistance R28 of triode Q10 and voltage regulator circuit of powering.Triode Q10's One end of the other end of base stage connecting resistance R28, resistance R30 and capacitor C11.The other end of capacitor C11 is grounded.Diode D16's One end of cathode connecting resistance R10.The anode of diode D10 is connected with 10 pins of the other end of resistance R10 and the 7th relay And it is grounded.1 pin of the 7th relay connects the collector of the cathode of diode D9, the anode of diode D20 and triode Q6.Three The 5V output end of one end of the emitter connecting resistance R27 of pole pipe Q6 and voltage regulator circuit of powering.The base stage connecting resistance R27 of triode Q6 The other end, resistance R33 and capacitor C10 one end.The other end of capacitor C10 is grounded.The other end and resistance R30 of resistance R33 That end far from triode Q10 collector connects the third relay control terminal of central processing circuit.The cathode of diode D20 connects One end of resistance R13.The anode of diode D9 is connected and is grounded with the other end of resistance R13.7 pins of the 7th relay connect outer Portion's 24V voltage, the 24V energization input of 8 pins reception calibration pH controller.4 pins of the 8th relay connect power supply pressure stabilizing electricity The 5V output end on road, 7 pins connect the 3.3V output end of power supply voltage regulator circuit, and the 5V power supply of 3 pins reception calibration pH controller is defeated Enter end, the 3.3V energization input of 8 pins reception calibration pH controller.
Further, the voltage control circuit includes the first relay, triode Q1, diode D1 and diode D15.The diode D15 is light emitting diode.First relay uses the relay of model ATQ209.First The first voltage input terminal of the 4 pins reception calibration pH controller of relay, 7 pins connect the second voltage input of pH controller End, 3 pins connect the first voltage output end of normal voltage switching circuit, and 8 pins connect the second voltage of normal voltage switching circuit Output end, 10 pins ground connection, 1 pin connect the collector of the cathode of diode D1, the anode of diode D15 and triode Q1.Two One end of the cathode connecting resistance R6 of pole pipe D15.The anode of diode D1 is connected and is grounded with the other end of resistance R6.Triode Q1 Emitter connecting resistance R14 one end and power voltage regulator circuit 5V output end, base stage connecting resistance R20, capacitor C2 one end and The other end of resistance R14.The other end of capacitor C2 is grounded.The other end of resistance R20 is inputted as the control of voltage control circuit End.
The current control circuit includes third relay, triode Q3, diode D3 and diode D14.Diode D14 is light emitting diode.Third relay uses the relay of model ATQ209.4 pins of third relay receive calibration The current output terminal of pH controller, the current earthing end of 7 pins reception calibration pH controller, 8 pins are with connecing the electric current of tester Line end, 3 pins connect the current input terminal of tester, 10 pins ground connection, and 1 pin is meeting the cathode of diode D3, diode D14 just The collector of pole and triode Q3.One end of the cathode connecting resistance R8 of diode D14.The anode of diode D3 is another with resistance R8's One end is connected and is grounded.The 5V output end of one end of the emitter connecting resistance R16 of triode Q3 and voltage regulator circuit of powering, base stage connect The other end of resistance R22, one end of capacitor C4 and resistance R16.The other end of capacitor C4 is grounded.The other end conduct of resistance R22 The control signal of current control circuit.
The cd-rom recorder control circuit includes the second relay, triode Q2, diode D2 and diode D13.Two poles Pipe D13 is light emitting diode.Second relay uses the relay of model ATQ209.4 pins of the second relay receive mark Determine the first burning end of pH controller, the second burning end of 7 pins reception calibration pH controller, 3 pins connect off line cd-rom recorder First burning end, 8 pins connect the second burning end of off line cd-rom recorder, 10 pins ground connection, and 1 pin connects the cathode of diode D2, two The anode of pole pipe D13 and the collector of triode Q2.One end of the cathode connecting resistance R4 of diode D13.The anode of diode D2 It is connected and is grounded with the other end of resistance R4.The 5V of one end of the emitter connecting resistance R15 of triode Q2 and voltage regulator circuit of powering Output end, the other end of base stage connecting resistance R21, one end of capacitor C3 and resistance R15.The other end of capacitor C3 is grounded.Resistance R21 Control signal of the other end as cd-rom recorder control circuit.
The pH controller communication control circuit includes the 4th relay, triode Q4, diode D4 and diode D12.Diode D12 is light emitting diode.4th relay uses the relay of model ATQ409.4 pipes of the 4th relay First communication terminal of foot reception calibration pH controller, the second communication terminal of 7 pins reception calibration pH controller, 10 pins ground connection, 1 Pin connects the collector of the cathode of diode D4, the anode of diode D12 and triode Q4.The cathode connecting resistance of diode D12 One end of R5.The anode of diode D4 is connected and is grounded with the other end of resistance R5.The emitter connecting resistance R17's of triode Q4 The 5V output end of one end and voltage regulator circuit of powering, the other end of base stage connecting resistance R23, one end of capacitor C5 and resistance R17.Capacitor The other end of C5 is grounded.First communication terminal of 3 pins of the 4th relay as pH controller communication control circuit, 8 pins are made For the second communication terminal of pH controller communication control circuit.That end of resistance R23 far from triode Q4 is as pH controller communication The control signal of control circuit.
A 4th relays of n of the control signal and central processing circuit of n pH controller communication control circuit control End is respectively connected with.A 7th relay control terminals of n of the control signal and central processing circuit of n voltage control circuit are distinguished It is connected.A 5th relay control terminals of n of the control signal and central processing circuit of n current control circuit are respectively connected with.n The control signal of a cd-rom recorder control circuit and n the 6th relay control terminals of central processing circuit are respectively connected with.
Further, the pH controller communication circuit includes the first photoelectrical coupler, the second photoelectrical coupler and the One communication chip.First photoelectrical coupler and the second photoelectrical coupler is all made of 6N137 chip.First communication Chip uses MAX485 chip.3 pins of the second photoelectrical coupler connect the first communication transmitting terminal of central processing circuit, 2 pins One end of connecting resistance R99.The 3.3V output end of another termination power supply voltage regulator circuit of resistance R99.5 pipes of the second photoelectrical coupler Foot ground connection, 8 pins connect the 5V output end of power supply voltage regulator circuit, one end of 6 pin connecting resistance R110 and 4 pipes of the first communication chip Foot.The 5V output end of another termination power supply voltage regulator circuit of resistance R110.5 pins of the first photoelectrical coupler are grounded, and 8 pins connect The 5V output end of power supply voltage regulator circuit, one end of 6 pin connecting resistance R98 and the first communication receiving end of central processing circuit.Electricity Hinder the 3.3V output end of the other end power supply voltage regulator circuit of R98.One end of 2 pin connecting resistance R107 of the first photoelectrical coupler. The 5V output end of another termination power supply voltage regulator circuit of resistance R107.3 pins of the first photoelectrical coupler connect the first communication chip 1 pin.One end of the equal connecting resistance R113 of 2 pins and 3 pins of first communication chip and the first communication of central processing circuit Control pin.The 5V output end of another termination power supply voltage regulator circuit of resistance R113.5 pins of the first communication chip are grounded, 6 pipes One end of foot connecting resistance R135 and resistance R127.One end of another terminating resistor R134 of resistance R135 and the first communication chip 7 pins.The other end of resistance R134 is grounded.The one of 8 pins of the first communication chip of another termination of resistance R127, capacitor C44 The 5V output end of end and power supply voltage regulator circuit.The other end of capacitor C44 is grounded.6 pins of the first communication chip connect pH controller First communication terminal of communication control circuit, 7 pins connect the second communication terminal of pH controller communication control circuit.
The touch screen communicating circuit includes third photoelectrical coupler, the 4th photoelectrical coupler and the second communication chip. The third photoelectrical coupler and the 4th photoelectrical coupler is all made of 6N137 chip.Second communication chip uses MAX485 chip.3 pins of the 4th photoelectrical coupler connect the third communication transmitting terminal of central processing circuit, 2 pin connecting resistances One end of R102.The 3.3V output end of another termination power supply voltage regulator circuit of resistance R102.5 pins of the 4th photoelectrical coupler connect Ground, 8 pins connect the 5V output end of power supply voltage regulator circuit, one end of 6 pin connecting resistance R111 and 4 pins of the second communication chip. The 5V output end of another termination power supply voltage regulator circuit of resistance R111.5 pins of third photoelectrical coupler are grounded, and 8 pins connect confession The 5V output end of electric voltage regulator circuit, one end of 6 pin connecting resistance R100 and the third of central processing circuit communicate receiving end.Resistance The 3.3V output end of the other end power supply voltage regulator circuit of R100.One end of 2 pin connecting resistance R108 of third photoelectrical coupler.Electricity Hinder the 5V output end of another termination power supply voltage regulator circuit of R108.3 pins of third photoelectrical coupler connect the 1 of the second communication chip Pin.One end of the equal connecting resistance R114 of 2 pins and 3 pins of second communication chip and the third Communication Control of central processing circuit Pin.The 5V output end of another termination power supply voltage regulator circuit of resistance R114.5 pins of the second communication chip are grounded, and 6 pins connect One end of resistance R137 and resistance R129.One end of another terminating resistor R136 of resistance R137 and 7 pipes of the second communication chip Foot.The other end of resistance R136 is grounded.8 pins of the second communication chip of another termination of resistance R129, one end of capacitor C45 and The 5V output end of power supply voltage regulator circuit.The other end of capacitor C45 is grounded.6 pins contacts of the second communication chip touch the first of screen Communication terminal, 7 pins contacts touch the second communication terminal of screen.
The tester communicating circuit includes the 5th photoelectrical coupler, the 6th photoelectrical coupler and third communication chip. 5th photoelectrical coupler and the 6th photoelectrical coupler are all made of 6N137 chip.The third communication chip uses MAX485 chip.3 pins of the 6th photoelectrical coupler connect the second communication transmitting terminal of central processing circuit, 2 pin connecting resistances One end of R103.The 3.3V output end of another termination power supply voltage regulator circuit of resistance R103.5 pins of the 6th photoelectrical coupler connect Ground, 8 pins connect the 5V output end of power supply voltage regulator circuit, one end of 6 pin connecting resistance R112 and 4 pins of third communication chip. The 5V output end of another termination power supply voltage regulator circuit of resistance R112.5 pins of the 5th photoelectrical coupler are grounded, and 8 pins connect confession The 5V output end of electric voltage regulator circuit, one end of 6 pin connecting resistance R101 and the second communication receiving end of central processing circuit.Resistance The 3.3V output end of the other end power supply voltage regulator circuit of R101.One end of 2 pin connecting resistance R109 of the 5th photoelectrical coupler.Electricity Hinder the 5V output end of another termination power supply voltage regulator circuit of R109.3 pins of the 5th photoelectrical coupler connect the 1 of third communication chip Pin.One end of the equal connecting resistance R115 of 2 pins and 3 pins of third communication chip and the second Communication Control of central processing circuit Pin.The 5V output end of another termination power supply voltage regulator circuit of resistance R115.5 pins of third communication chip are grounded, and 6 pins connect One end of resistance R139 and resistance R130.One end of another terminating resistor R138 of resistance R139 and 7 pipes of third communication chip Foot.The other end of resistance R138 is grounded.8 pins of another termination third communication chip of resistance R130, one end of capacitor C46 and The 5V output end of power supply voltage regulator circuit.The other end of capacitor C46 is grounded.6 pins of third communication chip connect the first of tester Communication terminal.7 pins of third communication chip connect the second communication terminal of tester.
Further, the touch screen uses the touch of Beijing Kunlun Tongtai Automation Software Technology Co., Ltd.'s production Screen.The tester uses the process checking gauge of model CA71.
The scaling method of the pH controller full automatic calibration device is specific as follows:
Step 1: selected m need pH controller switching circuit to be started switches as work switching circuit, and to work Circuit is numbered, 1≤m≤n.
Step 2: the 7th relay and the 8th relay power in power supply voltage regulator circuit, so that pH to be calibrated is controlled Device obtains electric.
Step 3: i=1,2 ..., m, successively execute step 4 to step 13.
Step 4: in i-th of work switching circuit cd-rom recorder control circuit the second relay power so that being connected to the The pH controller to be calibrated of i work switching circuit is connected to off line cd-rom recorder.
Step 5: off line cd-rom recorder is by burning program to the pH controller to be calibrated for being connected to i-th of work switching circuit.
Step 6: after the completion of the pH controller burning to be calibrated of i-th of work switching circuit, i-th of work switching circuit Second relay of interior cd-rom recorder control circuit powers off, and the first relay and pH controller communication of voltage control circuit control electricity 4th relay power on road.The pH controller communication to be calibrated of single-chip microcontroller and i-th of work switching circuit starts to carry out 0mV Voltage signal calibration.
Step 7: single-chip microcontroller controls school after the completion of the 0mV calibration of the pH controller to be calibrated of i-th of work switching circuit Test the normal voltage output end output 800mV voltage of instrument, the 5th relay power of normal voltage switching circuit, pH control to be calibrated The first voltage input terminal of device processed inputs 800mV voltage, and second voltage input terminal inputs 0mV voltage.Single-chip microcontroller and i-th of work The pH controller communication to be calibrated of switching circuit starts the calibration of progress+800mV voltage signal.
Step 8: after the completion of the+800mV calibration of the pH controller to be calibrated of i-th of work switching circuit, standard electric crush-cutting Change the 5th relay power-off of circuit, the 6th relay power, the first voltage input terminal input 0V electricity of pH controller to be calibrated Pressure, second voltage input terminal input 800mV voltage.The pH controller communication to be calibrated of single-chip microcontroller and i-th of work switching circuit, Start the calibration of progress -800mV voltage signal.
Step 9: after the completion of the -800mV calibration of the pH controller to be calibrated of i-th of work switching circuit, standard electric crush-cutting Change the 6th relay power-off of circuit, the first relay power-off of voltage control circuit, the third relay of current control circuit It opens.Single-chip microcontroller controls pH controller to be calibrated and exports a 6mA current signal.
Step 10: single-chip microcontroller reads the current value x of tester current input terminal.Single-chip microcontroller and i-th of work switching circuit PH controller communication to be calibrated, current value x is sent to pH controller to be calibrated, starts to carry out pH controller to be calibrated The calibration of 6mA current signal.
Step 11: after the completion of the 6mA current signal calibration of the pH controller to be calibrated of i-th of work switching circuit, it is single Piece machine controls pH controller to be calibrated and exports a 18mA current signal.
Step 12: single-chip microcontroller reads the current value y of tester current input terminal.Single-chip microcontroller and i-th of work switching electricity Current value y is sent to pH controller to be calibrated by the pH controller communication to be calibrated on road, completes to carry out pH controller to be calibrated The calibration of 18mA current signal.
Step 13: the third relay of current control circuit and pH controller communication control in i-th of work switching circuit 4th relay of circuit processed powers off.
Step 14: the 7th relay and the power-off of the 8th relay in power supply voltage regulator circuit.
The invention has the advantages that:
1, the present invention realizes the normal voltage and pH to be calibrated that tester exports by the combinative movement of two relays The switching of controller voltage input end positive-negative connected.The cumbersome of artificial wiring is eliminated, error rate is reduced.
2, the present invention can complete in turn the calibration of all pH controllers, pole after the installation for completing multiple pH controllers Production efficiency is improved greatly.
3, the present invention uses touch screen to be operated as man-machine interface, more convenient to use, mechanically presses with traditional Button is compared, and interface display is more intuitive, and not needing complicated training can start to work, greatly improve production operation at This.
4, central processing circuit of the invention extension has toggle switch, and then can be realized a pH controller and automatically mark Determine device and extend multiple demarcating modules, further increases the efficiency of calibration.
Detailed description of the invention
Fig. 1 is system block diagram of the invention;
Fig. 2 is the circuit diagram of power supply voltage regulator circuit in the present invention;
Fig. 3 is the circuit diagram of central processing circuit in the present invention;
Fig. 4 is the circuit diagram of Plays voltage commutation circuit of the present invention;
Fig. 5 is the circuit diagram of pH controller power supply circuit in the present invention;
Fig. 6 is the circuit diagram of voltage control circuit in the present invention;
Fig. 7 is the circuit diagram of current control circuit in the present invention;
Fig. 8 is the circuit diagram of cd-rom recorder control circuit in the present invention;
Fig. 9 is the circuit diagram of pH controller communication control circuit in the present invention;
Figure 10 is the circuit diagram of pH controller communication circuit in the present invention;
Figure 11 is the circuit diagram of touch screen communicating circuit in the present invention;
Figure 12 is the circuit diagram of tester communicating circuit in the present invention.
Specific embodiment
Below in conjunction with attached drawing, the invention will be further described.
PH controller full automatic calibration device, including touch screen 1, demarcating module, tester 2 and off line cd-rom recorder 3.Calibration Module includes central processing circuit 4, power supply voltage regulator circuit 5, normal voltage switching circuit 6, pH controller power supply circuit 7, pH control Device communicating circuit 8, tester communicating circuit 9, touch screen communicating circuit 10 and pH controller switching circuit 11 processed.PH controller is cut It is logical including voltage control circuit 11-1, current control circuit 11-2, cd-rom recorder control circuit 11-3 and pH controller to change circuit 11 Interrogate control circuit 11-4.There are six pH controller switching circuit 11 is total.The respectively control one of six pH controller switching circuits 11 The calibration of pH controller 12 to be calibrated.The touching that touch screen 1 is produced using Beijing Kunlun Tongtai Automation Software Technology Co., Ltd. Touch screen.
Touch screen 1 sends calibration instruction to central processing circuit 4 and shows calibration result.Tester 2 uses model The process checking gauge of CA71.There are four output ports for the tool of tester 2.Four output ports be respectively normal voltage output end, Voltage ground terminal, current input terminal and electric current ground terminal.Off line cd-rom recorder 3 is used to be 12 burning program of pH controller to be calibrated. It is central processing circuit 4, normal voltage that voltage regulator circuit 5 of powering, which passes through the first voltage-stablizer, the second voltage-stablizer and voltage reference chip, Switching circuit 6, pH controller power supply circuit 7, pH controller switching circuit 11, pH controller communication circuit 8, tester communication electricity Road 9 and touch screen communicating circuit 10 are powered.Normal voltage switching circuit 6 passes through the 5th relay and the 6th relay for tester 2 output normal voltages adjustment polarity after output to voltage control circuit 11-1 (i.e. control 2 normal voltage output end of tester, Voltage ground terminal and voltage control circuit 11-1 just connect or are reversely connected).PH controller power supply circuit 7 passes through the 7th relay and the 8th Relay controls the power on/off of pH controller 12 to be calibrated.PH controller communication circuit 8 passes through the first photoelectrical coupler, the second light Electric coupler and the first communication chip carry out the communication of central processing circuit 4 and pH controller 12 to be calibrated.Touch screen communication electricity Road 10 carries out central processing circuit 4 and touch screen 1 by third photoelectrical coupler, the 4th photoelectrical coupler and the second communication chip Communication.Tester communicating circuit 9 carries out center by the 5th photoelectrical coupler, the 6th photoelectrical coupler and third communication chip The communication of processing circuit 4 and tester 2.Voltage control circuit 11-1 controls normal voltage switching circuit 6 by the first relay With the on-off of pH controller 12 to be calibrated.Current control circuit 11-2 controls the electric current input of tester 2 by third relay The on-off of end and electric current ground terminal and pH controller 12 to be calibrated.Cd-rom recorder control circuit 11-3 is de- by the control of the second relay The on-off of machine cd-rom recorder 3 and pH controller 12 to be calibrated.PH controller communication control circuit 11-4 is controlled by the 4th relay The on-off of pH controller communication circuit 8 and central processing circuit 4.
As shown in Fig. 2, power supply voltage regulator circuit 5 include the first voltage-stablizer U1, the second voltage-stablizer U2, voltage reference chip U3, Capacitor C12 and capacitor C19.Capacitor C12 and capacitor C19 is electrolytic capacitor.First voltage-stablizer U1 uses NCP1117ST33T3G Voltage-stablizer;Second voltage-stablizer U2 uses L78M05ACDT voltage-stablizer;Voltage reference chip U3 uses TL431ACDBZR chip.The 1 pin of two voltage-stablizer U2 connects one end and the outside 24V voltage A+24V of capacitor C13, the other end and electricity of 4 pins and capacitor C13 The one end for holding C20 is connected and is grounded, and 3 pins are meeting the other end of capacitor C20,3 pins of the first voltage-stablizer U1 and capacitor C12 just Pole.1 pin of first voltage-stablizer U1 is connected and is grounded with the cathode of capacitor C12 and capacitor C19, and 2 pins connect the anode of capacitor C19 And one end of resistance R49.The cathode of another termination voltage reference chip U3 of resistance R49 and refer to pole, voltage reference chip U3 Plus earth.Remaining pin of first voltage-stablizer U1 and the second voltage-stablizer U2 are hanging.The 3 pin conducts of second voltage-stablizer U2 5V output terminals A+the 5V of power supply voltage regulator circuit 5;3.3V output terminals A of 2 pins of first voltage-stablizer U1 as power supply voltage regulator circuit 5 +3.3V;2.5V output end D+2.5V of the cathode of voltage reference chip U3 as power supply voltage regulator circuit 5.
As shown in figure 3, central processing circuit 4 includes a single-chip microcontroller U4, single-chip microcontroller U4 uses model stm8l052r8 Single-chip microcontroller.11 pins, 55 pins, 29 pins and 12 pins of single-chip microcontroller connect capacitor C26, one end of capacitor C27 and power supply 3.3V output terminals A+the 3.3V of voltage regulator circuit 5.The other end of capacitor C26 and capacitor C27 are grounded.13 pins of single-chip microcontroller connect electricity Hold the 2.5V output end D+2.5V of one end of C28 and voltage regulator circuit 5 of powering.The other end of capacitor C28 is grounded.10 pipes of single-chip microcontroller Foot, 56 pins, 30 pins and 9 pins are grounded.
First relay control terminal relay H1 of 33 pins of single-chip microcontroller as central processing circuit 4,32 pin conducts Second relay control terminal relay H2 of central processing circuit 4, third relay control of 21 pins as central processing circuit 4 Relay power in end processed.57 pins as central processing circuit 4 first communicate receiving end USART1-RX, 58 pins be used as in Entreat the first communication transmitting terminal USART1-TX of processing circuit 4, first Communication Control pipe of 59 pins as central processing circuit 4 Foot RS485_1,22 pins communicate receiving end USART2-RX as the second of central processing circuit 4, and 23 pins are as central processing Second communication transmitting terminal USART2-TX of circuit 4, second Communication Control pin of 24 pins as central processing circuit 4 RS485_2,14 pins communicate receiving end USART3-RX as the third of central processing circuit 4, and 15 pins are as central processing electricity The third on road 4 communicates transmitting terminal USART3-TX, third Communication Control pin RS485_ of 16 pins as central processing circuit 4 3.Six fourth relay control terminals of 27,8,63,48,43,36 pins of single-chip microcontroller respectively as central processing circuit 4 relay A2.Six fiveth relay controls of 28,17,64,47,42,35 pins of single-chip microcontroller respectively as central processing circuit 4 Relay A3 in end processed.Six sixth relays of 31,19,5,46,41,34 pins of single-chip microcontroller respectively as central processing circuit 4 Device control terminal relay A4.Six the 7th respectively as central processing circuit 4 of 25,6,61,49,45,38 pins of single-chip microcontroller Relay control terminal relay A5.3 pins, 4 pins, 51 pins, 52 pins and the external toggle switch of 60 pins of single-chip microcontroller. (distinguish one end of five switches i.e. in 3 pins of single-chip microcontroller, 4 pins, 51 pins, 52 pins and 60 pins and toggle switch It is connected.The other end ground connection of five switches in toggle switch.)
As shown in figure 4, normal voltage switching circuit 6 include the 5th relay RE6, the 6th relay RE7, triode Q8, Triode Q9, diode D6, diode D7, diode D17 and diode D18.Diode D17 and diode D18 is luminous Diode.6th relay RE7 and the 5th relay RE6 is all made of the relay of model ATQ209.6th relay RE7's 10 pins ground connection, 1 pin of the 6th relay RE7 connect the collection of the cathode of diode D7, the anode of diode D18 and triode Q9 Electrode.5V output terminals A+the 5V of one end of the emitter connecting resistance R25 of triode Q9 and voltage regulator circuit 5 of powering.Triode Q9's One end of the other end of base stage connecting resistance R25, one end of resistance R29 and capacitor C8.The other end of capacitor C8 is grounded, resistance R29 Another termination central processing circuit 4 the first relay control terminal relay H1.The one of the cathode connecting resistance R9 of diode D18 End.The anode of diode D7 is connected and is grounded with 10 pins of the other end of resistance R9 and the 5th relay RE6.5th relay 1 pin of RE6 connects the collector of the cathode of diode D6, the anode of diode D17 and triode Q8.The emitter of triode Q8 5V output terminals A+the 5V of one end of connecting resistance R24 and voltage regulator circuit 5 of powering.The other end of the base stage connecting resistance R24 of triode Q8, One end of resistance R31 and capacitor C7.The other end of capacitor C7 is grounded.The second of another termination central processing circuit 4 of resistance R31 Relay control terminal relay H2.One end of the cathode connecting resistance R11 of diode D17.The anode of diode D6 is with resistance R11's The other end is connected and is grounded.The standard of 7 pins of 5th relay RE6 and 4 pins of the 6th relay RE7 with tester 2 Voltage output end 800mV is connected.The electricity of 9 pins of 5th relay RE6 and 2 pins of the 6th relay RE7 with tester 2 Ground terminal 0V is pressed to be connected.First voltage output end VA of 8 pins of 5th relay RE6 as normal voltage switching circuit 6.The Second voltage output end VB of 3 pins of six relay RE7 as the normal voltage switching circuit 6 of normal voltage switching circuit 6. Remaining pin of 6th relay RE7 and the 5th relay RE6 is hanging.
As shown in figure 5, pH controller power supply circuit 7 include the 7th relay RE9, the 8th relay RE10, triode Q6, Triode Q10, diode D9, diode D10, diode D20 and diode D16.Diode D20 and diode D16 is hair Optical diode.8th relay RE10 and the 7th relay RE9 is all made of the relay of model ATQ209.8th relay 10 pins of RE10 are grounded, and 1 pin of the 8th relay RE10 connects the cathode of diode D10, the anode of diode D16 and three poles The collector of pipe Q10.5V output terminals A+the 5V of one end of the emitter connecting resistance R28 of triode Q10 and voltage regulator circuit 5 of powering. One end of the other end of the base stage connecting resistance R28 of triode Q10, resistance R30 and capacitor C11.The other end of capacitor C11 is grounded. One end of the cathode connecting resistance R10 of diode D16.The other end and the 7th relay of the anode and resistance R10 of diode D10 10 pins of RE9 are connected and are grounded.1 pin of 7th relay RE9 connect the cathode of diode D9, diode D20 anode and The collector of triode Q6.The 5V output terminals A of one end of the emitter connecting resistance R27 of triode Q6 and voltage regulator circuit 5 of powering+ 5V.One end of the other end of the base stage connecting resistance R27 of triode Q6, resistance R33 and capacitor C10.Another termination of capacitor C10 Ground.The other end and resistance R30 of resistance R33 far from that end of triode Q10 collector connect the third of central processing circuit 4 after Electrical equipment control end relay power.One end of the cathode connecting resistance R13 of diode D20.Anode and the resistance R13 of diode D9 The other end be connected and be grounded.7 pins of 7th relay RE9 connect external 24V voltage A+24V, the reception calibration pH control of 8 pins The 24V energization input B+24V of device.4 pins of 8th relay RE10 connect the 5V output terminals A+5V of power supply voltage regulator circuit 5,7 pipes Foot meets the 3.3V output terminals A+3.3V of power supply voltage regulator circuit 5, the 5V energization input B+5V of 3 pins reception calibration pH controller, 8 The 3.3V energization input B+3.3V of pin reception calibration pH controller.7th relay RE9 and the 8th relay RE10 its Remaining pin is hanging.
As shown in fig. 6, voltage control circuit 11-1 includes the first relay RE1, triode Q1, diode D1 and diode D15.Diode D15 is light emitting diode.First relay RE1 uses the relay of model ATQ209.First relay RE1 4 pins reception calibration pH controller first voltage input terminal VC, 7 pins meet the second voltage input terminal VD of pH controller, 3 Pin meets the first voltage output end VA of normal voltage switching circuit 6, and 8 pins connect the second voltage of normal voltage switching circuit 6 Output end VB, 10 pins ground connection, 1 pin connect the collector of the cathode of diode D1, the anode of diode D15 and triode Q1. One end of the cathode connecting resistance R6 of diode D15.The anode of diode D1 is connected and is grounded with the other end of resistance R6.Triode 5V output terminals A+the 5V of one end of the emitter connecting resistance R14 of Q1 and voltage regulator circuit 5 of powering, base stage connecting resistance R20, capacitor C2 The other end of one end and resistance R14.The other end of capacitor C2 is grounded.The other end of resistance R20 is as voltage control circuit 11-1 Control signal.Remaining pin of first relay RE1 is hanging.
As shown in fig. 7, current control circuit 11-2 includes third relay RE3, triode Q3, diode D3 and diode D14.Diode D14 is light emitting diode.Third relay RE3 uses the relay of model ATQ209.Third relay RE3 4 pins reception calibration pH controller current output terminal I+A, 7 pins reception calibration pH controller current earthing end I-A, 8 Pin meets the electric current ground terminal I- of tester 2, and 3 pins meet the current input terminal I+ of tester 2,10 pins ground connection, and 1 pin connects two The collector of the cathode of pole pipe D3, the anode of diode D14 and triode Q3.One end of the cathode connecting resistance R8 of diode D14. The anode of diode D3 is connected and is grounded with the other end of resistance R8.One end of the emitter connecting resistance R16 of triode Q3 and confession 5V output terminals A+the 5V of electric voltage regulator circuit 5, the other end of base stage connecting resistance R22, one end of capacitor C4 and resistance R16.Capacitor C4 The other end ground connection.Control signal of the other end of resistance R22 as current control circuit 11-2.Third relay RE3's Remaining pin is hanging.
As shown in figure 8, cd-rom recorder control circuit 11-3 includes the second relay RE2, triode Q2, diode D2 and two poles Pipe D13.Diode D13 is light emitting diode.Second relay RE2 uses the relay of model ATQ209.Second relay First burning end SWIM-A of the 4 pins reception calibration pH controller of RE2, the second burning of 7 pins reception calibration pH controller NRST-A is held, 3 pins meet the first burning end SWIM of off line cd-rom recorder 3, and 8 pins connect the second burning end of off line cd-rom recorder 3 NRST, 10 pins ground connection, 1 pin connect the collector of the cathode of diode D2, the anode of diode D13 and triode Q2.Two poles One end of the cathode connecting resistance R4 of pipe D13.The anode of diode D2 is connected and is grounded with the other end of resistance R4.Triode Q2's 5V output terminals A+the 5V of one end of emitter connecting resistance R15 and voltage regulator circuit 5 of powering, one end of base stage connecting resistance R21, capacitor C3 And the other end of resistance R15.The other end of capacitor C3 is grounded.The other end of resistance R21 is as cd-rom recorder control circuit 11-3's Control signal.Remaining pin of second relay RE2 is hanging.
As shown in figure 9, pH controller communication control circuit 11-4 includes the 4th relay RE4, triode Q4, diode D4 With diode D12.Diode D12 is light emitting diode.4th relay RE4 uses the relay of model ATQ409.4th First communication terminal 485-AA of the 4 pins reception calibration pH controller of relay RE4, the of 7 pins reception calibration pH controller Two communication terminal 485-BA, 10 pins ground connection, 1 pin connect the collection of the cathode of diode D4, the anode of diode D12 and triode Q4 Electrode.One end of the cathode connecting resistance R5 of diode D12.The anode of diode D4 is connected and is grounded with the other end of resistance R5. 5V output terminals A+the 5V, base stage connecting resistance R23, electricity of one end of the emitter connecting resistance R17 of triode Q4 and voltage regulator circuit 5 of powering Hold one end of C5 and the other end of resistance R17.The other end of capacitor C5 is grounded.3 pins of 4th relay RE4 are controlled as pH The first communication terminal 485-A of device communication control circuit 11-4,8 pins lead to as the second of pH controller communication control circuit 11-4 Interrogate end 485-B.Control signal of that end of resistance R23 far from triode Q4 as pH controller communication control circuit 11-4. Remaining pin of 4th relay RE4 is hanging.
The control signal of six pH controller communication control circuit 11-4 and six the 4th relays of central processing circuit 4 Device control terminal relay A2 is respectively connected with.The control signal of six voltage control circuit 11-1 and the six of central processing circuit 4 A 7th relay control terminal relay A5 is respectively connected with.The control signal and central processing of six current control circuit 11-2 Six the 5th relay control terminal relay A3 of circuit 4 are respectively connected with.The control input of six cd-rom recorder control circuit 11-3 It holds and is respectively connected with six the 6th relay control terminal relay A4 of central processing circuit 4.
As shown in Figure 10, pH controller communication circuit 8 includes the first photoelectrical coupler U5, the second photoelectrical coupler U6 and the One communication chip U14.First photoelectrical coupler U5 and the second photoelectrical coupler U6 are all made of 6N137 chip.First communication chip U14 uses MAX485 chip.3 pins of second photoelectrical coupler U6 connect the first communication transmitting terminal of central processing circuit 4 USART1-TX, one end of 2 pin connecting resistance R99.The 3.3V output terminals A of another termination power supply voltage regulator circuit 5 of resistance R99+ 3.3V.5 pins of second photoelectrical coupler U6 are grounded, and 8 pins meet the 5V output terminals A+5V of power supply voltage regulator circuit 5, and 6 pins connect electricity Hinder one end of R110 and 4 pins of the first communication chip U14.The 5V output of another termination power supply voltage regulator circuit 5 of resistance R110 Hold A+5V.5 pins of first photoelectrical coupler U5 are grounded, and 8 pins meet the 5V output terminals A+5V of power supply voltage regulator circuit 5, and 6 pins connect One end of resistance R98 and the first communication receiving end USART1-RX of central processing circuit 4.The other end power supply pressure stabilizing of resistance R98 3.3V output terminals A+the 3.3V of circuit 5.One end of the 2 pin connecting resistance R107 of first photoelectrical coupler U5.Resistance R107's is another 5V output terminals A+the 5V of one termination power supply voltage regulator circuit 5.3 pins of first photoelectrical coupler U5 connect the 1 of the first communication chip U14 Pin.One end of the equal connecting resistance R113 of 2 pins and 3 pins of first communication chip U14 and the first communication of central processing circuit 4 Control pin RS485_1.5V output terminals A+the 5V of another termination power supply voltage regulator circuit 5 of resistance R113.First communication chip U14 5 pins ground connection, one end of 6 pin connecting resistance R135 and resistance R127.One end of another terminating resistor R134 of resistance R135 And first communication chip U14 7 pins.The other end of resistance R134 is grounded.The first communication chip of another termination of resistance R127 5V output terminals A+the 5V of 8 pins of U14, one end of capacitor C44 and voltage regulator circuit 5 of powering.The other end of capacitor C44 is grounded.The 6 pins of one communication chip U14 meet the first communication terminal 485-A of pH controller communication control circuit 11-4, and 7 pins connect pH control The second communication terminal 485-B of device communication control circuit 11-4.First photoelectrical coupler U5, the second photoelectrical coupler U6 and first are logical Remaining pin for interrogating chip U14 is hanging.
As shown in figure 11, touch screen communicating circuit 10 includes third photoelectrical coupler U7, the 4th photoelectrical coupler U8 and the Two communication chip U15.Third photoelectrical coupler U7 and the 4th photoelectrical coupler U8 are all made of 6N137 chip.Second communication chip U15 uses MAX485 chip.3 pins of 4th photoelectrical coupler U8 connect the third communication transmitting terminal of central processing circuit 4 USART3-TX, one end of 2 pin connecting resistance R102.The 3.3V output terminals A of another termination power supply voltage regulator circuit 5 of resistance R102+ 3.3V.5 pins of 4th photoelectrical coupler U8 are grounded, and 8 pins meet the 5V output terminals A+5V of power supply voltage regulator circuit 5, and 6 pins connect electricity Hinder one end of R111 and 4 pins of the second communication chip U15.The 5V output of another termination power supply voltage regulator circuit 5 of resistance R111 Hold A+5V.5 pins of third photoelectrical coupler U7 are grounded, and 8 pins meet the 5V output terminals A+5V of power supply voltage regulator circuit 5, and 6 pins connect One end of resistance R100 and the third of central processing circuit 4 communicate receiving end USART3-RX.The other end power supply of resistance R100 is steady 3.3V output terminals A+the 3.3V of volt circuit 5.One end of the 2 pin connecting resistance R108 of third photoelectrical coupler U7.Resistance R108's 5V output terminals A+the 5V of another termination power supply voltage regulator circuit 5.3 pins of third photoelectrical coupler U7 meet the second communication chip U15 1 pin.One end of the equal connecting resistance R114 of 2 pins and 3 pins of second communication chip U15 and the third of central processing circuit 4 Communication Control pin RS485_3.5V output terminals A+the 5V of another termination power supply voltage regulator circuit 5 of resistance R114.Second communication core 5 pins of piece U15 are grounded, one end of 6 pin connecting resistance R137 and resistance R129.Another terminating resistor R136's of resistance R137 7 pins of one end and the second communication chip U15.The other end of resistance R136 is grounded.Another termination second of resistance R129 communicates 5V output terminals A+the 5V of 8 pins of chip U15, one end of capacitor C45 and voltage regulator circuit 5 of powering.Another termination of capacitor C45 Ground.6 pins contacts of second communication chip U15 touch the first communication terminal MCU_A of screen 1, and 7 pins contacts touch the second communication of screen 1 Hold MCU_B.Remaining pin of third photoelectrical coupler U7, the 4th photoelectrical coupler U8 and the second communication chip U15 are hanging.
As shown in figure 12, tester communicating circuit 9 includes the 5th photoelectrical coupler U9, the 6th photoelectrical coupler U10 and the Three communication chip U16.5th photoelectrical coupler U9 and the 6th photoelectrical coupler U10 are all made of 6N137 chip.Third communication chip U16 uses MAX485 chip.3 pins of 6th photoelectrical coupler U10 connect the second communication transmitting terminal of central processing circuit 4 USART2-TX, one end of 2 pin connecting resistance R103.The 3.3V output terminals A of another termination power supply voltage regulator circuit 5 of resistance R103+ 3.3V.5 pins of 6th photoelectrical coupler U10 are grounded, and 8 pins meet the 5V output terminals A+5V of power supply voltage regulator circuit 5, and 6 pins connect One end of resistance R112 and 4 pins of third communication chip U16.The 5V of another termination power supply voltage regulator circuit 5 of resistance R112 is defeated Outlet A+5V.5 pins of 5th photoelectrical coupler U9 are grounded, and 8 pins connect the 5V output terminals A+5V of power supply voltage regulator circuit 5,6 pins One end of connecting resistance R101 and the second communication receiving end USART2-RX of central processing circuit 4.The other end of resistance R101 is powered 3.3V output terminals A+the 3.3V of voltage regulator circuit 5.One end of the 2 pin connecting resistance R109 of 5th photoelectrical coupler U9.Resistance R109 Another termination power supply voltage regulator circuit 5 5V output terminals A+5V.3 pins of 5th photoelectrical coupler U9 connect third communication chip 1 pin of U16.The of one end of the equal connecting resistance R115 of 2 pins and 3 pins of third communication chip U16 and central processing circuit 4 Two Communication Control pin RS485_2.5V output terminals A+the 5V of another termination power supply voltage regulator circuit 5 of resistance R115.Third communication 5 pins of chip U16 are grounded, one end of 6 pin connecting resistance R139 and resistance R130.Another terminating resistor R138 of resistance R139 One end and third communication chip U16 7 pins.The other end of resistance R138 is grounded.Another termination third of resistance R130 is logical Interrogate the 5V output terminals A+5V of 8 pins of chip U16, one end of capacitor C46 and voltage regulator circuit 5 of powering.Another termination of capacitor C46 Ground.6 pins of third communication chip U16 meet the first communication terminal calibrator_A of tester 2.The 7 of third communication chip U16 Pin meets the second communication terminal calibrator_B of tester 2.5th photoelectrical coupler U9, the 6th photoelectrical coupler U10 and Remaining pin of three communication chip U16 is hanging.Remaining pin of single-chip microcontroller U4 is hanging.
The scaling method of the pH controller full automatic calibration device is specific as follows:
Step 1: operator's operation touch-screen 1, selectes m need pH controller switching circuit 11 to be started and is used as work Switching circuit, and work switching circuit is numbered, 1≤m≤6.
Step 2: the 7th relay RE9 and the 8th relay RE10 in power supply voltage regulator circuit 5 are powered, so as to be calibrated PH controller obtain it is electric.
Step 3: i=1,2 ..., m, successively execute step 4 to step 13.
Step 4: the second relay RE2 of cd-rom recorder control circuit 11-3 is powered in i-th of work switching circuit, so that The pH controller to be calibrated for being connected to i-th of work switching circuit is connected to off line cd-rom recorder 3.
Step 5: off line cd-rom recorder 3 controls burning program to the pH to be calibrated for being connected to i-th of work switching circuit Device.
Step 6: after the completion of the pH controller burning to be calibrated of i-th of work switching circuit, i-th of work switching circuit The second relay RE2 of interior cd-rom recorder control circuit 11-3 is powered off, the first relay RE1 and pH control of voltage control circuit 11-1 The 4th relay RE4 of device communication control circuit 11-4 processed is powered.Single-chip microcontroller and the pH to be calibrated of i-th of work switching circuit are controlled Device communication processed, starts to carry out the calibration of 0mV voltage signal.
Step 7: single-chip microcontroller controls school after the completion of the 0mV calibration of the pH controller to be calibrated of i-th of work switching circuit The normal voltage output end output 800mV voltage of instrument 2 is tested, the 5th relay RE6 of normal voltage switching circuit 6 is powered, wait mark Determine the first voltage input terminal VC input 800mV voltage of pH controller, second voltage input terminal VD inputs 0mV voltage.Single-chip microcontroller With the pH controller communication to be calibrated of i-th of switching circuit that works, start the calibration of progress+800mV voltage signal.
Step 8: after the completion of the+800mV calibration of the pH controller to be calibrated of i-th of work switching circuit, standard electric crush-cutting The 5th relay RE6 power-off of circuit 6 is changed, the 6th relay RE7 is powered, the first voltage input terminal VC of pH controller to be calibrated 0V voltage is inputted, second voltage input terminal VD inputs 800mV voltage.The pH to be calibrated of single-chip microcontroller and i-th of work switching circuit Controller communication starts the calibration of progress -800mV voltage signal.
Step 9: after the completion of the -800mV calibration of the pH controller to be calibrated of i-th of work switching circuit, standard electric crush-cutting Change the 6th relay RE7 power-off of circuit 6, the first relay RE1 power-off of voltage control circuit 11-1, current control circuit The third relay RE3 of 11-2 is opened.Single-chip microcontroller controls pH controller to be calibrated and exports a 6mA current signal.
Step 10: single-chip microcontroller reads the current value x of 2 current input terminal of tester.Single-chip microcontroller and i-th of work switching circuit PH controller communication to be calibrated, current value x is sent to pH controller to be calibrated, starts to carry out pH controller to be calibrated The calibration of 6mA current signal.
Step 11: after the completion of the 6mA current signal calibration of the pH controller to be calibrated of i-th of work switching circuit, it is single Piece machine controls pH controller to be calibrated and exports a 18mA current signal.
Step 12: single-chip microcontroller reads the current value y of 2 current input terminal of tester.Single-chip microcontroller and i-th of work switching electricity Current value y is sent to pH controller to be calibrated by the pH controller communication to be calibrated on road, completes to carry out pH controller to be calibrated The calibration of 18mA current signal.
Step 13: i-th work switching circuit in current control circuit 11-2 third relay RE3 and pH controller The 4th relay RE4 of communication control circuit 11-4 is powered off.
Step 14: the 7th relay RE9 and the 8th relay RE10 power-off, calibration in power supply voltage regulator circuit 5 are completed.

Claims (7)

1.pH controller full automatic calibration device, including touch screen, demarcating module, tester and off line cd-rom recorder;Its feature exists In: the demarcating module includes central processing circuit, power supply voltage regulator circuit, normal voltage switching circuit, the power supply of pH controller Circuit, pH controller communication circuit, tester communicating circuit, touch screen communicating circuit and pH controller switching circuit;Described PH controller switching circuit includes voltage control circuit, current control circuit, cd-rom recorder control circuit and pH controller communication control Circuit processed;The pH controller switching circuit shares n, 1≤n≤30;
The power supply voltage regulator circuit includes the first voltage-stablizer, the second voltage-stablizer, voltage reference chip, capacitor C12 and capacitor C19;The capacitor C12 and capacitor C19 is electrolytic capacitor;First voltage-stablizer uses NCP1117ST33T3G pressure stabilizing Device;Second voltage-stablizer uses L78M05ACDT voltage-stablizer;The voltage reference chip uses TL431ACDBZR core Piece;1 pin of second voltage-stablizer connects one end and the outside 24V voltage of capacitor C13, the other end of 4 pins and capacitor C13 and One end of capacitor C20 is connected and is grounded, and 3 pins are meeting the other end of capacitor C20,3 pins of the first voltage-stablizer and capacitor C12 just Pole;1 pin of the first voltage-stablizer is connected and is grounded with the cathode of capacitor C12 and capacitor C19,2 pins connect capacitor C19 anode and One end of resistance R49;The cathode of another termination voltage reference chip of resistance R49 and refer to pole, the anode of voltage reference chip Ground connection;5V output end of 3 pins of the second voltage-stablizer as power supply voltage regulator circuit;2 pins of the first voltage-stablizer are steady as power supply The 3.3V output end of volt circuit;2.5V output end of the cathode of voltage reference chip as power supply voltage regulator circuit;The center Processing circuit includes single-chip microcontroller, and the single-chip microcontroller uses the single-chip microcontroller of model stm8l052r8;11 pins of single-chip microcontroller, 55 Pin, 29 pins and 12 pins connect the 3.3V output end of capacitor C26, one end of capacitor C27 and voltage regulator circuit of powering;Capacitor The other end of C26 and capacitor C27 are grounded;13 pins of single-chip microcontroller meet the 2.5V of one end of capacitor C28 and voltage regulator circuit of powering Output end;The other end of capacitor C28 is grounded;10 pins, 56 pins, 30 pins and 9 pins of single-chip microcontroller are grounded;The touching Screen is touched to send calibration instruction to central processing circuit and show calibration result;There are four output ports for the tester tool;It should Four output ports are respectively normal voltage output end, voltage ground terminal, current input terminal and electric current ground terminal;The off line Cd-rom recorder is used to be pH controller burning program to be calibrated;The power supply voltage regulator circuit passes through the first voltage-stablizer, the second pressure stabilizing Device and voltage reference chip are central processing circuit, normal voltage switching circuit, pH controller power supply circuit, the switching of pH controller Circuit, pH controller communication circuit, tester communicating circuit and the power supply of touch screen communicating circuit;The normal voltage switches electricity Voltage control electricity is given in output after road adjusts polarity by the normal voltage that the 5th relay and the 6th relay export tester Road;The pH controller power supply circuit controls the on-off of pH controller to be calibrated by the 7th relay and the 8th relay Electricity;The pH controller communication circuit is carried out by the first photoelectrical coupler, the second photoelectrical coupler and the first communication chip The communication of central processing circuit and pH controller to be calibrated;The touch screen communicating circuit passes through third photoelectrical coupler, the Four photoelectrical couplers and the second communication chip carry out the communication of central processing circuit and touch screen;The tester communicating circuit The logical of central processing circuit and tester is carried out by the 5th photoelectrical coupler, the 6th photoelectrical coupler and third communication chip News;The voltage control circuit controls the logical of normal voltage switching circuit and pH controller to be calibrated by the first relay It is disconnected;The current control circuit by third relay control tester current input terminal and electric current ground terminal with it is to be calibrated The on-off of pH controller;The cd-rom recorder control circuit controls off line cd-rom recorder by the second relay and pH to be calibrated is controlled The on-off of device;The pH controller communication control circuit controls pH controller communication circuit and centre by the 4th relay Manage the on-off of circuit.
2. pH controller full automatic calibration device according to claim 1, it is characterised in that: 33 pins of the single-chip microcontroller As the first relay control terminal of central processing circuit, second relay control terminal of 32 pins as central processing circuit, Third relay control terminal of 21 pins as central processing circuit;57 pins are received as the first communication of central processing circuit End, 58 pins communicate transmitting terminal, first communication control of 59 pins as central processing circuit as the first of central processing circuit Tubulation foot, 22 pins communicate receiving end as the second of central processing circuit, and 23 pins lead to as the second of central processing circuit Interrogate transmitting terminal, second Communication Control pin of 24 pins as central processing circuit, 14 pins as central processing circuit the Three communication receiving ends, 15 pins communicate transmitting terminal as the third of central processing circuit, and 16 pins are as central processing circuit Third Communication Control pin;N the first I/O mouthfuls of n respectively as central processing circuit the 4th relay controls of single-chip microcontroller End;N the 2nd I/O mouthfuls of n respectively as central processing circuit the 5th relay control terminals of single-chip microcontroller;N of single-chip microcontroller The 3rd I/O mouthfuls of n respectively as central processing circuit the 6th relay control terminals;I/O mouthfuls of the n of single-chip microcontroller a 4th makees respectively For n the 7th relay control terminals of central processing circuit.
3. pH controller full automatic calibration device according to claim 2, it is characterised in that: 3 pins of the single-chip microcontroller, 4 pins, 51 pins, 52 pins and the external toggle switch of 60 pins;
The normal voltage switching circuit includes the 5th relay, the 6th relay, triode Q8, triode Q9, diode D6, diode D7, diode D17 and diode D18;The diode D17 and diode D18 is light emitting diode;Institute The 6th relay stated and the 5th relay are all made of the relay of model ATQ209;10 pins of the 6th relay are grounded, 1 pin of the 6th relay connects the collector of the cathode of diode D7, the anode of diode D18 and triode Q9;Triode Q9 Emitter connecting resistance R25 one end and power voltage regulator circuit 5V output end;The base stage connecting resistance R25's of triode Q9 is another The one end at end, one end of resistance R29 and capacitor C8;The other end of capacitor C8 is grounded, another termination central processing electricity of resistance R29 The first relay control terminal on road;One end of the cathode connecting resistance R9 of diode D18;The anode of diode D7 is another with resistance R9's 10 pins of one end and the 5th relay are connected and are grounded;1 pin of the 5th relay connects the cathode of diode D6, diode The anode of D17 and the collector of triode Q8;The 5V of one end of the emitter connecting resistance R24 of triode Q8 and voltage regulator circuit of powering Output end;One end of the other end of the base stage connecting resistance R24 of triode Q8, resistance R31 and capacitor C7;Another termination of capacitor C7 Ground;Second relay control terminal of another termination central processing circuit of resistance R31;The cathode connecting resistance R11's of diode D17 One end;The anode of diode D6 is connected and is grounded with the other end of resistance R11;7 pins and the 6th relay of 5th relay 4 pins be connected with the normal voltage output end of tester;9 pins of the 5th relay and 2 pins of the 6th relay are equal It is connected with the voltage ground terminal of tester;8 pins of the 5th relay are exported as the first voltage of normal voltage switching circuit End;Second voltage output end of 3 pins of the 6th relay as the normal voltage switching circuit of normal voltage switching circuit;
The pH controller power supply circuit includes the 7th relay, the 8th relay, triode Q6, triode Q10, diode D9, diode D10, diode D20 and diode D16;The diode D20 and diode D16 is light emitting diode;Institute The 8th relay stated and the 7th relay are all made of the relay of model ATQ209;10 pins of the 8th relay are grounded, 1 pin of the 8th relay connects the collector of the cathode of diode D10, the anode of diode D16 and triode Q10;Triode The 5V output end of one end of the emitter connecting resistance R28 of Q10 and voltage regulator circuit of powering;The base stage connecting resistance R28's of triode Q10 One end of the other end, resistance R30 and capacitor C11;The other end of capacitor C11 is grounded;The cathode connecting resistance R10's of diode D16 One end;The anode of diode D10 is connected and is grounded with 10 pins of the other end of resistance R10 and the 7th relay;7th relay 1 pin of device connects the collector of the cathode of diode D9, the anode of diode D20 and triode Q6;The emitter of triode Q6 The 5V output end of one end of connecting resistance R27 and voltage regulator circuit of powering;The other end, the resistance of the base stage connecting resistance R27 of triode Q6 One end of R33 and capacitor C10;The other end of capacitor C10 is grounded;The other end and resistance R30 of resistance R33 is far from triode Q10 That end of collector connects the third relay control terminal of central processing circuit;The one of the cathode connecting resistance R13 of diode D20 End;The anode of diode D9 is connected and is grounded with the other end of resistance R13;7 pins of the 7th relay connect external 24V voltage, and 8 The 24V energization input of pin reception calibration pH controller;4 pins of the 8th relay connect the 5V output of power supply voltage regulator circuit End, 7 pins connect the 3.3V output end of power supply voltage regulator circuit, the 5V energization input of 3 pins reception calibration pH controller, 8 pins The 3.3V energization input of reception calibration pH controller.
4. pH controller full automatic calibration device according to claim 1, it is characterised in that: the voltage control circuit Including the first relay, triode Q1, diode D1 and diode D15;The diode D15 is light emitting diode;It is described The first relay use model ATQ209 relay;The first of the 4 pins reception calibration pH controller of first relay Voltage input end, 7 pins connect the second voltage input terminal of pH controller, and 3 pins connect the first voltage of normal voltage switching circuit Output end, 8 pins connect the second voltage output end of normal voltage switching circuit, 10 pins ground connection, and 1 pin connects the negative of diode D1 The collector of pole, the anode of diode D15 and triode Q1;One end of the cathode connecting resistance R6 of diode D15;Diode D1's Anode is connected and is grounded with the other end of resistance R6;One end of the emitter connecting resistance R14 of triode Q1 and power supply voltage regulator circuit 5V output end, the other end of base stage connecting resistance R20, one end of capacitor C2 and resistance R14;The other end of capacitor C2 is grounded;Electricity Hinder control signal of the other end of R20 as voltage control circuit;
The current control circuit includes third relay, triode Q3, diode D3 and diode D14;Diode D14 is Light emitting diode;Third relay uses the relay of model ATQ209;The 4 pins reception calibration pH control of third relay The current output terminal of device, the current earthing end of 7 pins reception calibration pH controller, 8 pins connect the electric current ground terminal of tester, and 3 Pin connects the current input terminal of tester, 10 pins ground connection, and 1 pin connects the cathode of diode D3, the anode of diode D14 and three The collector of pole pipe Q3;One end of the cathode connecting resistance R8 of diode D14;The other end phase of the anode and resistance R8 of diode D3 Connect and is grounded;The 5V output end of one end of the emitter connecting resistance R16 of triode Q3 and voltage regulator circuit of powering, base stage connecting resistance The other end of R22, one end of capacitor C4 and resistance R16;The other end of capacitor C4 is grounded;The other end of resistance R22 is as electric current The control signal of control circuit;
The cd-rom recorder control circuit includes the second relay, triode Q2, diode D2 and diode D13;Diode D13 For light emitting diode;Second relay uses the relay of model ATQ209;The 4 pins reception calibration pH control of second relay First burning end of device processed, the second burning end of 7 pins reception calibration pH controller, 3 pins connect the first burning of off line cd-rom recorder End is recorded, 8 pins connect the second burning end of off line cd-rom recorder, 10 pins ground connection, and 1 pin connects the cathode of diode D2, diode D13 Anode and triode Q2 collector;One end of the cathode connecting resistance R4 of diode D13;Anode and the resistance R4 of diode D2 The other end be connected and be grounded;The 5V output end of one end of the emitter connecting resistance R15 of triode Q2 and voltage regulator circuit of powering, base The other end of pole connecting resistance R21, one end of capacitor C3 and resistance R15;The other end of capacitor C3 is grounded;The other end of resistance R21 Control signal as cd-rom recorder control circuit;
The pH controller communication control circuit includes the 4th relay, triode Q4, diode D4 and diode D12;Two Pole pipe D12 is light emitting diode;4th relay uses the relay of model ATQ409;4 pins of the 4th relay are received The first communication terminal of pH controller, the second communication terminal of 7 pins reception calibration pH controller are demarcated, 10 pins are grounded, and 1 pin connects The collector of the cathode of diode D4, the anode of diode D12 and triode Q4;The one of the cathode connecting resistance R5 of diode D12 End;The anode of diode D4 is connected and is grounded with the other end of resistance R5;One end of the emitter connecting resistance R17 of triode Q4 and The 5V output end of power supply voltage regulator circuit, the other end of base stage connecting resistance R23, one end of capacitor C5 and resistance R17;Capacitor C5's is another One end ground connection;First communication terminal of 3 pins of the 4th relay as pH controller communication control circuit, 8 pins are controlled as pH Second communication terminal of device communication control circuit processed;That end of resistance R23 far from triode Q4 controls electricity as pH controller communication The control signal on road;
A 4th relay control terminals point of n of the control signal and central processing circuit of n pH controller communication control circuit Xiang Lian not;The control signal of n voltage control circuit and n the 7th relay control terminals of central processing circuit distinguish phase Even;A 5th relay control terminals of n of the control signal and central processing circuit of n current control circuit are respectively connected with;N The control signal of cd-rom recorder control circuit and n the 6th relay control terminals of central processing circuit are respectively connected with.
5. pH controller full automatic calibration device according to claim 1, it is characterised in that: the pH controller communication Circuit includes the first photoelectrical coupler, the second photoelectrical coupler and the first communication chip;First photoelectrical coupler and Two photoelectrical couplers are all made of 6N137 chip;First communication chip uses MAX485 chip;Second photoelectrical coupler 3 pins connect the first communication transmitting terminal of central processing circuit, one end of 2 pin connecting resistance R99;Another termination of resistance R99 supplies The 3.3V output end of electric voltage regulator circuit;5 pins of the second photoelectrical coupler are grounded, and 8 pins connect the 5V output of power supply voltage regulator circuit End, one end of 6 pin connecting resistance R110 and 4 pins of the first communication chip;Another termination power supply voltage regulator circuit of resistance R110 5V output end;5 pins of the first photoelectrical coupler are grounded, and 8 pins connect the 5V output end of power supply voltage regulator circuit, and 6 pins connect electricity Hinder one end of R98 and the first communication receiving end of central processing circuit;The 3.3V of the other end power supply voltage regulator circuit of resistance R98 is defeated Outlet;One end of 2 pin connecting resistance R107 of the first photoelectrical coupler;The 5V of another termination power supply voltage regulator circuit of resistance R107 Output end;3 pins of the first photoelectrical coupler connect 1 pin of the first communication chip;2 pins and 3 pins of first communication chip One end of equal connecting resistance R113 and the first Communication Control pin of central processing circuit;Another termination power supply pressure stabilizing of resistance R113 The 5V output end of circuit;5 pins of the first communication chip are grounded, one end of 6 pin connecting resistance R135 and resistance R127;Resistance One end of another terminating resistor R134 of R135 and 7 pins of the first communication chip;The other end of resistance R134 is grounded;Resistance The 5V output end of 8 pins of the first communication chip of another termination of R127, one end of capacitor C44 and voltage regulator circuit of powering;Capacitor The other end of C44 is grounded;6 pins of the first communication chip connect the first communication terminal of pH controller communication control circuit, and 7 pins connect Second communication terminal of pH controller communication control circuit;
The touch screen communicating circuit includes third photoelectrical coupler, the 4th photoelectrical coupler and the second communication chip;It is described Third photoelectrical coupler and the 4th photoelectrical coupler be all made of 6N137 chip;Second communication chip uses MAX485 Chip;3 pins of the 4th photoelectrical coupler connect central processing circuit third communication transmitting terminal, the one of 2 pin connecting resistance R102 End;The 3.3V output end of another termination power supply voltage regulator circuit of resistance R102;5 pins of the 4th photoelectrical coupler are grounded, 8 pins Connect the 5V output end of power supply voltage regulator circuit, one end of 6 pin connecting resistance R111 and 4 pins of the second communication chip;Resistance R111 Another termination power supply voltage regulator circuit 5V output end;5 pins of third photoelectrical coupler are grounded, and 8 pins connect power supply pressure stabilizing electricity The 5V output end on road, one end of 6 pin connecting resistance R100 and the third of central processing circuit communicate receiving end;Resistance R100's is another The 3.3V output end of power supplying from one direction voltage regulator circuit;One end of 2 pin connecting resistance R108 of third photoelectrical coupler;Resistance R108's The 5V output end of another termination power supply voltage regulator circuit;3 pins of third photoelectrical coupler connect 1 pin of the second communication chip;The One end of the equal connecting resistance R114 of 2 pins and 3 pins of two communication chips and the third Communication Control pin of central processing circuit;Electricity Hinder the 5V output end of another termination power supply voltage regulator circuit of R114;5 pins of the second communication chip are grounded, 6 pin connecting resistances One end of R137 and resistance R129;One end of another terminating resistor R136 of resistance R137 and 7 pins of the second communication chip;Electricity Hinder the other end ground connection of R136;8 pins of the second communication chip of another termination, one end of capacitor C45 and the power supply of resistance R129 The 5V output end of voltage regulator circuit;The other end of capacitor C45 is grounded;6 pins contacts of the second communication chip touch the first communication of screen End, 7 pins contacts touch the second communication terminal of screen;
The tester communicating circuit includes the 5th photoelectrical coupler, the 6th photoelectrical coupler and third communication chip;It is described The 5th photoelectrical coupler and the 6th photoelectrical coupler be all made of 6N137 chip;The third communication chip uses MAX485 Chip;3 pins of the 6th photoelectrical coupler connect central processing circuit second communication transmitting terminal, the one of 2 pin connecting resistance R103 End;The 3.3V output end of another termination power supply voltage regulator circuit of resistance R103;5 pins of the 6th photoelectrical coupler are grounded, 8 pins Connect the 5V output end of power supply voltage regulator circuit, one end of 6 pin connecting resistance R112 and 4 pins of third communication chip;Resistance R112 Another termination power supply voltage regulator circuit 5V output end;5 pins of the 5th photoelectrical coupler are grounded, and 8 pins connect power supply pressure stabilizing electricity The 5V output end on road, one end of 6 pin connecting resistance R101 and the second communication receiving end of central processing circuit;Resistance R101's is another The 3.3V output end of power supplying from one direction voltage regulator circuit;One end of 2 pin connecting resistance R109 of the 5th photoelectrical coupler;Resistance R109's The 5V output end of another termination power supply voltage regulator circuit;3 pins of the 5th photoelectrical coupler connect 1 pin of third communication chip;The One end of the equal connecting resistance R115 of 2 pins and 3 pins of three communication chips and the second Communication Control pin of central processing circuit;Electricity Hinder the 5V output end of another termination power supply voltage regulator circuit of R115;5 pins of third communication chip are grounded, 6 pin connecting resistances One end of R139 and resistance R130;One end of another terminating resistor R138 of resistance R139 and 7 pins of third communication chip;Electricity Hinder the other end ground connection of R138;8 pins of another termination third communication chip, one end of capacitor C46 and the power supply of resistance R130 The 5V output end of voltage regulator circuit;The other end of capacitor C46 is grounded;6 pins of third communication chip connect the first communication of tester End;7 pins of third communication chip connect the second communication terminal of tester.
6. pH controller full automatic calibration device according to claim 1, it is characterised in that: the touch screen is using north The touch screen of Beijing-Kunming logical sequence on-state automated software Science and Technology Ltd. production;The tester uses the process of model CA71 Tester.
7. the scaling method of pH controller full automatic calibration device as described in claim 1, it is characterised in that: Step 1: choosing M need pH controller switching circuit to be started is determined as work switching circuit, and work switching circuit is numbered, 1≤m ≤n;
Step 2: the 7th relay and the 8th relay power in power supply voltage regulator circuit, so that pH controller to be calibrated obtains Electricity;
Step 3: i=1,2 ..., m, successively execute step 4 to step 13;
Step 4: i-th work switching circuit in cd-rom recorder control circuit the second relay power so that being connected to i-th The pH controller to be calibrated of work switching circuit is connected to off line cd-rom recorder;
Step 5: off line cd-rom recorder is by burning program to the pH controller to be calibrated for being connected to i-th of work switching circuit;
Step 6: being burnt in i-th of work switching circuit after the completion of the pH controller burning to be calibrated of i-th of work switching circuit Record the second relay power-off of device control circuit, the first relay of voltage control circuit and pH controller communication control circuit 4th relay power;The pH controller communication to be calibrated of single-chip microcontroller and i-th of work switching circuit starts to carry out 0mV voltage Signal scaling;
Step 7: single-chip microcontroller controls tester after the completion of the 0mV calibration of the pH controller to be calibrated of i-th of work switching circuit Normal voltage output end export 800mV voltage, the 5th relay power of normal voltage switching circuit, pH controller to be calibrated First voltage input terminal input 800mV voltage, second voltage input terminal input 0mV voltage;Single-chip microcontroller and i-th of work switch The pH controller communication to be calibrated of circuit starts the calibration of progress+800mV voltage signal;
Step 8: after the completion of the+800mV calibration of the pH controller to be calibrated of i-th of work switching circuit, normal voltage switching electricity 5th relay on road powers off, the 6th relay power, and the first voltage input terminal of pH controller to be calibrated inputs 0V voltage, the Two voltage input ends input 800mV voltage;The pH controller communication to be calibrated of single-chip microcontroller and i-th of work switching circuit, starts The calibration of progress -800mV voltage signal;
Step 9: after the completion of the -800mV calibration of the pH controller to be calibrated of i-th of work switching circuit, normal voltage switching electricity 6th relay on road powers off, and the first relay power-off of voltage control circuit, the third relay of current control circuit is opened; Single-chip microcontroller controls pH controller to be calibrated and exports a 6mA current signal;
Step 10: single-chip microcontroller reads the current value x of tester current input terminal;Single-chip microcontroller and i-th work switching circuit to PH controller communication is demarcated, current value x is sent to pH controller to be calibrated, starts the 6mA electricity for carrying out pH controller to be calibrated Flow signal scaling;
Step 11: after the completion of the 6mA current signal calibration of the pH controller to be calibrated of i-th of work switching circuit, single-chip microcontroller It controls pH controller to be calibrated and exports a 18mA current signal;
Step 12: single-chip microcontroller reads the current value y of tester current input terminal;Single-chip microcontroller and the switching circuit that works for i-th Current value y is sent to pH controller to be calibrated by pH controller communication to be calibrated, completes the 18mA for carrying out pH controller to be calibrated Current signal calibration;
Step 13: the third relay of current control circuit and pH controller communication control electricity in i-th of work switching circuit 4th relay on road powers off;
Step 14: the 7th relay and the power-off of the 8th relay in power supply voltage regulator circuit.
CN201711293003.9A 2017-12-08 2017-12-08 PH controller full automatic calibration device and its scaling method Active CN107942807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711293003.9A CN107942807B (en) 2017-12-08 2017-12-08 PH controller full automatic calibration device and its scaling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711293003.9A CN107942807B (en) 2017-12-08 2017-12-08 PH controller full automatic calibration device and its scaling method

Publications (2)

Publication Number Publication Date
CN107942807A CN107942807A (en) 2018-04-20
CN107942807B true CN107942807B (en) 2019-08-13

Family

ID=61945263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711293003.9A Active CN107942807B (en) 2017-12-08 2017-12-08 PH controller full automatic calibration device and its scaling method

Country Status (1)

Country Link
CN (1) CN107942807B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111257626B (en) * 2020-02-26 2022-06-17 深圳市元征科技股份有限公司 Method and device for calibrating internal reference voltage of chip

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203310633U (en) * 2013-05-29 2013-11-27 长城汽车股份有限公司 Device for automatically calibrating optimum heating performance of seat heating cushion
CN105606662A (en) * 2016-01-13 2016-05-25 肖锐 Switch voltage stabilizer based on calibration environment humidity changes
CN105711520A (en) * 2016-04-27 2016-06-29 安徽江淮汽车股份有限公司 Power management circuit of vehicle control unit and control method thereof
CN205809721U (en) * 2016-07-05 2016-12-14 杭州美仪自动化有限公司 A kind of pH controller
US9910123B2 (en) * 2010-12-22 2018-03-06 Advantest Corporation Calibration module for a tester and tester
CN207636965U (en) * 2017-12-08 2018-07-20 杭州联测自动化技术有限公司 PH controller full automatic calibration devices

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203012108U (en) * 2012-12-20 2013-06-19 杭州万好万家动力电池有限公司 Automatic calibration and verification apparatus for battery pack
CN106487165A (en) * 2016-11-22 2017-03-08 浙江西盈科技股份有限公司 Current sensor of motor controller current coefficient calibration system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9910123B2 (en) * 2010-12-22 2018-03-06 Advantest Corporation Calibration module for a tester and tester
CN203310633U (en) * 2013-05-29 2013-11-27 长城汽车股份有限公司 Device for automatically calibrating optimum heating performance of seat heating cushion
CN105606662A (en) * 2016-01-13 2016-05-25 肖锐 Switch voltage stabilizer based on calibration environment humidity changes
CN105711520A (en) * 2016-04-27 2016-06-29 安徽江淮汽车股份有限公司 Power management circuit of vehicle control unit and control method thereof
CN205809721U (en) * 2016-07-05 2016-12-14 杭州美仪自动化有限公司 A kind of pH controller
CN207636965U (en) * 2017-12-08 2018-07-20 杭州联测自动化技术有限公司 PH controller full automatic calibration devices

Also Published As

Publication number Publication date
CN107942807A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN104269893B (en) Charge control method and charging system
CN107942807B (en) PH controller full automatic calibration device and its scaling method
CN207636965U (en) PH controller full automatic calibration devices
CN101893695B (en) Analog sampling and protocol generating devices
CN206133904U (en) Equipment of checking meter is handed to bluetooth
CN201583619U (en) Digital multi-core cable calibration and test instrument
CN102636192B (en) A kind of I/O type is able to programme arranges intelligent transducer
CN210719207U (en) Test system of inertial navigation equipment
CN205898939U (en) Cable special use is to line ware
CN111422091A (en) Alternating-current charging stake control guidance function detecting system
CN209388477U (en) A kind of handheld power line carrierband copy controller
CN208001900U (en) A kind of oxygen-enriching machine in fish pond intelligence control system
CN208459818U (en) Source signal capture card
CN201281730Y (en) Electric network loop-closing electricity-switching detection device
CN204206213U (en) A kind of HART communication modem that ring current is provided
CN106773853B (en) A kind of wireless joint number management-control method and system for robot
CN109406908A (en) One kind repairing the integrated test platform of examination
CN211554931U (en) Embedded collector
CN206038895U (en) Harmonic is multichannel error calculation device for electric energy meter verification
CN207503441U (en) MBUS buses send signaling conversion circuit
CN209311606U (en) A kind of multifunctional electric meter
CN203118207U (en) Data acquisition device for microgrid system
CN209432996U (en) Single-phase meter on-site calibration device
CN201928264U (en) Analog-sampling and specification-generating device
Jin et al. Design and Simulation of Voltage Measurement System Based on ADC0809

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant