CN1728020A - Hyperchannel Power Monitoring Unit able to programme based on the MSP430 single-chip microcomputer - Google Patents

Hyperchannel Power Monitoring Unit able to programme based on the MSP430 single-chip microcomputer Download PDF

Info

Publication number
CN1728020A
CN1728020A CN 200410011011 CN200410011011A CN1728020A CN 1728020 A CN1728020 A CN 1728020A CN 200410011011 CN200410011011 CN 200410011011 CN 200410011011 A CN200410011011 A CN 200410011011A CN 1728020 A CN1728020 A CN 1728020A
Authority
CN
China
Prior art keywords
chip microcomputer
signal
msp430 single
unit
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200410011011
Other languages
Chinese (zh)
Other versions
CN100383685C (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.)
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Original Assignee
Changchun Institute of Optics Fine Mechanics and Physics of CAS
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 Changchun Institute of Optics Fine Mechanics and Physics of CAS filed Critical Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority to CNB2004100110116A priority Critical patent/CN100383685C/en
Publication of CN1728020A publication Critical patent/CN1728020A/en
Application granted granted Critical
Publication of CN100383685C publication Critical patent/CN100383685C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The present invention is the hyperchannel Power Monitoring Unit able to programme based on the MSP430 single-chip microcomputer that belongs to the electric detective technology field, be to utilize the function of MSP430 single-chip microcomputer and a kind of single-chip computer control system of port resource design, described system comprises MSP430 single-chip microcomputer 1, power supply 2, wave filter 3, signal source of clock 4, DLL (dynamic link library) 5, socket communication 6, communication interface 7, toggle switch 8, button 9, input interface 10, photoelectric coupled device 11, can wipe device 12, photoelectric coupled device 13, output interface 14, liquid crystal display socket 15, light emitting diode 16, can realize real time monitoring to the multiple power supplies electrical quantity, show, control, has various control parameter input mode, it is very convenient that particularly the computing machine input mode makes the input of controlled variable, utilizes DLL (dynamic link library) can realize online programming.The present invention be set pair multiple power supplies electrical quantity supervision, show, be controlled in the control system of one.

Description

Hyperchannel Power Monitoring Unit able to programme based on the MSP430 single-chip microcomputer
Technical field
The invention belongs to the electric detective technology field, relate to a kind of Power Supply Monitoring device, specifically a kind of hyperchannel Power Monitoring Unit able to programme based on the MSP430 single-chip microcomputer.
Technical background
At present, have on the market much to be used for the supply voltage monitoring control device, can when instantaneous disconnection of power supply or the instantaneous reduction of voltage, produce reset signal; Just often produce the reset signal of power turn-on at power up.The defective of this class supply voltage monitoring control device is:
1. passage is very few, only can monitor one the road or two paths of signals.
2. only abnormity of power supply can be judged roughly, power source change can not be monitored accurately and real-time.
3. limited control function only is provided, and generally is reset signal, does not possess driving force and channel is few.
In addition, also be useful on the display module of supply voltage monitoring control on the market, have Presentation Function and function manually is set, the defective of this class display module is:
1. adopt charactron to show that the display message amount is few, power consumption is big.
2. do not possess the communication function with host computer, can not change display mode after installing.
3. channel is few, has only one the road or two-way.
Summary of the invention
The object of the invention provides a kind of multiple practical electronic technology is integrated and the hyperchannel Power Monitoring Unit able to programme based on the MSP430 single-chip microcomputer of the complete function that forms, various control parameter input mode can be provided, computing machine input mode particularly, simultaneously, also possess demonstration, hold function to controlled variable.To be integrated in one to functions such as the real time monitoring of multiple power supplies electrical quantity, demonstration, controls, monitor, many, many, the little power consumption of display message amount of control channel.
The present invention utilizes the function of MSP430 single-chip microcomputer and port resource to design a kind of single-chip computer control system.Described system comprises MSP430 single-chip microcomputer 1, power supply 2, wave filter 3, signal source of clock 4, DLL (dynamic link library) 5, socket communication 6, communication interface 7, toggle switch 8, button 9, input interface 10, photoelectric coupled device 11, can wipe device 12, photoelectric coupled device 13, output interface 14, liquid crystal display socket 15, light emitting diode 16.The output terminal of power supply 2 links to each other with the input end of wave filter 3, and the output terminal of wave filter 3 links to each other with MSP430 single-chip microcomputer 1, DLL (dynamic link library) 5, communication interface 7, button 9, photoelectric coupled device 11, the input end that can wipe device 12, photoelectric coupled device 13, liquid crystal display socket 15 respectively.Signal source of clock 4 signal output parts link to each other with the clock signal receiving end of MSP430 single-chip microcomputer 1, DLL (dynamic link library) 5 links to each other with the program input port of MSP430 single-chip microcomputer 1, socket communication 6 links to each other with the computer input signal receiving end of communication interface 7, communication interface 7 signal output parts, toggle switch 8 signal output parts, button 9 signal output parts link to each other with the serial data signal receiving end of MSP430 single-chip microcomputer 1, the simulation parallel port of MSP430 single-chip microcomputer 1 with can wipe device 12 and link to each other, input interface 10 links to each other with photoelectric coupled device 11, photoelectric coupled device 11 links to each other with the simulating signal receiving end of MSP430 single-chip microcomputer 1, the control signal output ends of MSP430 single-chip microcomputer 1 links to each other with photoelectric coupled device 13, photoelectric coupled device 13 links to each other with output interface 14, the digital signal output end of MSP430 single-chip microcomputer 1 links to each other with liquid crystal display socket 15, and light emitting diode 16 links to each other with the test port of MSP430 single-chip microcomputer 1.
The course of work of the present invention is:
Power supply 2 is for the invention provides 1.8 ~ 3.6V operating voltage, by wave filter 3 undesired signal leached, and exports stable 1.8 ~ 3.6V operating voltage.Signal source of clock 4 moves MSP430 single-chip microcomputer 1 for MSP430 single-chip microcomputer 1 provides the clock work signal of frequency stabilization under the clock condition of frequency stabilization.The Power Supply Monitoring program is by DLL (dynamic link library) 5 input MSP430 single-chip microcomputers 1.MSP430 single-chip microcomputer 1 comprises reading unit 17, data processing unit 18, reading unit 19, analog and digital signal converting unit 20, reading unit 21, comparing unit 22, code translator 23, selected cell 24, judges and is provided with state variable unit 25, toggle switch input signal processing unit 26, by key input signal processing unit 27, computer input signal processing unit 28.
The input of power supply controlled variable has three kinds of forms, button input mode, toggle switch input mode, computing machine input mode.The computing machine input mode realizes that by socket communication 6 and communication interface 7 controlled variable of being imported by button 9, toggle switch 8, communication interface 7 is provided with data input MSP430 single-chip microcomputer 1.Reading unit 17 reads digital signal, flows to data processing unit 18, and treated digital signal is preserved by wiping device 12.By multiple power supplies electrical quantity signal process photoelectric coupled device 11 filtering of input interface 10 inputs, with the external interference signal shielding, output stable power electrical quantity signal is given MSP430 single-chip microcomputer 1.Analog and digital signal converting unit 20 is a power supply electrical quantity digital signal with power supply electrical quantity analog signal conversion, reading unit 21 reads power supply electrical quantity digital signal, reading unit 19 reads can wipe the controlled variable that device 12 is provided with, comparing unit 22 is controlled variable signal and power supply electrical quantity digital signal relatively, if power supply electrical quantity digital signal is normal, power supply electrical quantity digital signal and controlled variable signal are by code translator 23 decodings, one the tunnel send control signal output ends output, the brilliant socket 15 that shows of another road liquor charging; If power supply electrical quantity digital signal occurs unusual, the brilliant socket 15 of abnormal signal one road liquor charging, send to be elected and select unit 24 in another road, selected cell 24 responds according to priority level, and priority circuit abnormity of power supply signal input judged and state variable unit 25 is set, judge and state variable unit 25 is set and judge the abnormal signal types and the abnormal signal state variable is set, select corresponding abnormal signal processing unit according to the abnormal signal state variable, exception processing unit comprises toggle switch input signal processing unit 26, press key input signal processing unit 27, computer input signal processing unit 28, export control signal corresponding by corresponding abnormal signal processing unit to control signal output ends, control signal is transported to from output interface 14 through photoelectric coupled device 13 and is monitored, the multiple power supplies of control, photoelectric coupled device 13 plays the effect with the external interference Signal Spacing.When Power Monitoring Unit is tested, utilize the luminous demonstration of light emitting diode 16 to judge that whether working properly Power Monitoring Unit is,, illustrate that then Power Monitoring Unit is working properly if light emitting diode 16 is luminous.
The invention has the beneficial effects as follows: the present invention is owing to adopted MSP430 single-chip microcomputer 1 as the mixed signal controller, can realize real time monitoring, demonstration, control to the multiple power supplies electrical quantity, the power supply controlled variable has multiple input medium, it is very convenient that particularly the communication function of computing machine makes the input of controlled variable, owing to be provided with DLL (dynamic link library), can be implemented in the line programming.The present invention is the control system that the various electrical quantitys of set pair multiple power supplies monitored, controlled, are shown in one.
Description of drawings
Accompanying drawing 1 is structural representation of the present invention, also is the specification digest accompanying drawing; 1 is the MSP430 single-chip microcomputer among the figure, 2 power supplys, 3 wave filters, 4 signal source of clock, 5 DLL (dynamic link library), 6 socket communications, 7 communication interfaces, 8 toggle switchs, 9 buttons, 10 input interfaces, 11 photoelectric coupled devices, 12 can wipe device, 13 photoelectric coupled devices, 14 output interfaces, 15 liquid crystal sockets, 16 light emitting diodes.
Accompanying drawing 2 is an embodiment of the invention circuit diagram;
Accompanying drawing 3 is MSP430 single chip computer architecture synoptic diagram of the present invention; 17 is the reading unit among the figure, the eighteen data processing unit, 19 reading unit, 20 analog and digital signals change the unit, 21 reading unit, 22 comparing units, 23 code translators, 24 selected cells, 25 judge and the state variable unit are set, 26 toggle switch input signal processing units, 27 press the key input signal processing unit, 28 computer input signal processing units.
Accompanying drawing 4 is MSP430 single-chip microcomputer multiple power supplies voltage monitoring embodiment main program flow chart of the present invention;
Accompanying drawing 5 is MSP430 single-chip microcomputer multiple power supplies voltage monitoring examples of implementation program flow diagram of the present invention;
Embodiment
MSP430 single-chip microcomputer 1 employing model is the single-chip microcomputer of MSP430F139 in the accompanying drawing 1, it is the DC/DC power transfer module of TPS6030D that power supply 2 adopts model, wave filter 3 adopts a high frequency filter and a low frequency filter, it is CON2 that DLL (dynamic link library) 5 adopts model, it is max485 that communication interface 4 adopts model, it is SW3 that toggle switch 8 adopts model, and it is 4N35 that photoelectric coupled device 11,13 adopts model.Can wipe device 12 employing models is 24C08, and it is 12X2 that input interface 10, output interface 14 adopt models, and it is JP2 that liquid crystal socket 15 adopts models.
Reading unit 17 and data processing unit 18 in the accompanying drawing 3, can wipe device 12, reading unit 19 is linked in sequence, analog and digital signal converting unit 20 and reading unit 21, comparing unit 22 are linked in sequence, comparing unit 22 links to each other with reading unit 19, reading unit 21, code translator 23, selected cell 24 respectively, selected cell 24 with judge and state variable unit 25 is set links to each other, state variable unit 25 is set respectively with toggle switch input signal processing unit 26, link to each other by key input signal processing unit 27, computer input signal processing unit 28.
Multiple power supplies voltage monitoring master routine step:
1. integrated hardware state of resources in the MSP430 single-chip microcomputer 1 is carried out the initialization setting.
2. the self-defining state variable of software users is carried out the initialization setting, promptly carry out the initialization setting judging with the state variable that state variable unit 25 is set.
3. each road supply voltage digital signal priority of interrupt that selected cell 24 is set is other, when occurring a plurality of circuit voltages simultaneously and interrupt, determines the response order.
4. string shape working method is set, the agreement of selected MSP430 single-chip microcomputer 1 and computing machine response.
5. reading unit 19 reads the Control of Voltage parameter that can wipe in the device 12 data is set.
6. scan MSP430 single-chip microcomputer 1 input end of analog signal mouth, the power supply electrical quantity digital signal of comparing unit 22 comparative reading unit 21 and the controlled variable of reading unit 19 are provided with data, if there is voltage interrupt signal to take place, selected cell 24 responds according to the voltage interruption priority level, priority input voltage look-at-me enters the corresponding signal processing unit, comprises toggle switch signal processing unit 26, push button signalling processing unit 27, Computer signal data processing unit 28; If there is not voltage interrupt signal, wait for that then voltage interrupt signal takes place.
Multiple power supplies voltage monitoring subroutine procedure:
1. selected cell 24 is closed the voltage interruption lower than this voltage interruption rank and is allowed the position, promptly mask low level and interrupt allowing the interruption of position, select this voltage interruption to allow the position, but high-level voltage interruption allows the position to interrupt, can mask this voltage interruption, select high-level voltage interruption to allow the position.
2. judge and state variable unit 25 is set and judge interrupt types, and voltage interruption type state variable is set.
3. judge and state variable unit 25 is set voltage interrupt signal is imported correspondent voltage look-at-me processing unit according to different voltage interruption types, comprise toggle switch signal processing unit 26, push button signalling processing unit 27, Computer signal data processing unit 28, correspondent voltage look-at-me processing unit is deciphered the voltage interrupt signal of input, one road liquor charging is brilliant to show that socket 15, a tunnel provides control signal corresponding and exported by MSP430 single-chip microcomputer 1 control signal output ends.
4. return master routine.
Work out other different program, can realize real time monitoring, demonstration, control other electrical quantity of multiple power supplies.

Claims (4)

1. the hyperchannel Power Monitoring Unit able to programme based on the MSP430 single-chip microcomputer is characterized in that it comprises MSP430 single-chip microcomputer (1), power supply (2), wave filter (3), signal source of clock (4), DLL (dynamic link library) (5), socket communication (6), communication interface (7), toggle switch (8), button (9), input interface (10), photoelectric coupled device (11), can wipe device (12), photoelectric coupled device (13), output interface (14), liquid crystal socket (15), light emitting diode (16); Power supply (2) voltage output end with link to each other, wave filter (3) voltage output end respectively with MSP430 single-chip microcomputer (1), DLL (dynamic link library) (5), communication interface (7), button (9), photoelectric coupled device (11), can wipe device (12), photoelectric coupled device (13), liquid crystal display socket (15) voltage input end and link to each other; Signal source of clock (4) signal output part links to each other with MSP430 single-chip microcomputer (1) clock signal receiving end, DLL (dynamic link library) (5) links to each other with the program input port of MSP430 single-chip microcomputer (1), socket communication (6) links to each other with communication interface (7) computer input signal receiving end, communication interface (7) signal output part, toggle switch (8) signal output part, button (9) signal output part links to each other with MSP430 single-chip microcomputer (1) serial data signal receiving end, MSP430 single-chip microcomputer (1) simulation parallel port with can wipe device (12) and link to each other, input interface (10) links to each other with photoelectric coupled device (11), photoelectric coupled device (11) links to each other with MSP430 single-chip microcomputer (1) simulating signal receiving end, MSP430 single-chip microcomputer (1) control signal output ends links to each other with photoelectric coupled device (13), photoelectric coupled device (13) links to each other with output interface (14), MSP430 single-chip microcomputer (1) digital signal output end links to each other with liquid crystal display socket (15), and light emitting diode (16) links to each other with MSP430 single-chip microcomputer (1) test port.
2. according to the described hyperchannel Power Monitoring Unit able to programme of claim 1 based on the MSP430 single-chip microcomputer, it is characterized in that MSP430 single-chip microcomputer (1) comprise reading unit (17), data processing unit (18), reading unit (19), analog and digital signal converting unit (20), reading unit (21), comparing unit (22), code translator (23), selected cell (24), judge and state variable unit (25), toggle switch input signal unit (26) be set, press key input signal processing unit (27), computer input signal processing unit (28); Reading unit (17) and data processing unit (18), can wipe device (12), reading unit (19) are linked in sequence, analog and digital signal converting unit (20) is connected with reading unit (21), comparing unit (22) is linked in sequence, comparing unit (22) links to each other with reading unit (19), reading unit (21), code translator (23), selected cell (24) respectively, selected cell (24) with judge and state variable unit (25) is set links to each other.Judge and state variable unit (25) is set respectively with toggle switch input signal processing unit (26), link to each other by key input signal processing unit (27), computer input signal processing unit (28).
3. according to the described hyperchannel Power Monitoring Unit able to programme of claim 2, it is characterized in that MSP430 single-chip microcomputer multiple power supplies electrical quantity monitoring master routine adopts the following step based on the MSP430 single-chip microcomputer:
Integrated hardware state of resources in the MSP430 single-chip microcomputer (1) is carried out the initialization setting;
The self-defining state variable of software users is carried out the initialization setting, promptly carry out the initialization setting judging with the state variable that state variable unit (25) is set;
The priority level of each road power supply electrical quantity abnormal signal of selected cell (24) is set, when occurring a plurality of circuit abnormality signal simultaneously, determines the response order;
String shape working method is set, the agreement of selected MSP430 single-chip microcomputer (1) and computing machine response;
Reading unit (19) reads the power supply controlled variable that can wipe in the device (12) data is set;
Scanning MSP430 single-chip microcomputer (1) input end of analog signal mouth, the controlled variable of the power supply electrical quantity digital signal of comparing unit (22) comparative reading unit (21) and reading unit (19) is provided with data, if there is abnormal signal to take place, selected cell (24) responds according to the abnormal signal priority level, the priority abnormal signal enters the corresponding signal processing unit, comprises toggle switch signal processing unit (26), push button signalling processing unit (27), Computer signal data processing unit (28); If there is not abnormal signal, wait for that then abnormal signal takes place.
4. according to the described hyperchannel Power Monitoring Unit able to programme of claim 3, it is characterized in that MSP430 single-chip microcomputer multiple power supplies electrical quantity monitoring subroutine adopts the following step based on the MSP430 single-chip microcomputer:
Selected cell (24) is closed the abnormal signal lower than this abnormal signal rank and is allowed the position, promptly mask the low level abnormal signal and allow the position, select this abnormal signal to allow the position, but high-level abnormal signal allows the position abnormal signal to occur, can mask this abnormal signal, select high-level abnormal signal to allow the position;
Judge and state variable unit (25) is set and judge the abnormal signal type, and abnormal signal type state variable is set;
Judge and state variable unit (25) is set abnormal signal is imported corresponding abnormal signal processing unit according to different abnormal signal types, comprise toggle switch signal processing unit (26), push button signalling processing unit (27), Computer signal processing unit (28), corresponding abnormal signal processing unit is deciphered the abnormal signal of input, the brilliant socket (15) that shows of one road liquor charging, the one tunnel provides control signal corresponding is exported by MSP430 single-chip microcomputer (1) control signal output ends;
Return master routine.
CNB2004100110116A 2004-07-29 2004-07-29 Programmable multi channels module for monitoring power supply based on HSP430 single chip Expired - Fee Related CN100383685C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100110116A CN100383685C (en) 2004-07-29 2004-07-29 Programmable multi channels module for monitoring power supply based on HSP430 single chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100110116A CN100383685C (en) 2004-07-29 2004-07-29 Programmable multi channels module for monitoring power supply based on HSP430 single chip

Publications (2)

Publication Number Publication Date
CN1728020A true CN1728020A (en) 2006-02-01
CN100383685C CN100383685C (en) 2008-04-23

Family

ID=35927345

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100110116A Expired - Fee Related CN100383685C (en) 2004-07-29 2004-07-29 Programmable multi channels module for monitoring power supply based on HSP430 single chip

Country Status (1)

Country Link
CN (1) CN100383685C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932380A (en) * 2015-06-19 2015-09-23 中国船舶重工集团公司第七二六研究所 Multi-mode and multi-channel power supply real-time monitoring system and method
CN107396500A (en) * 2017-08-28 2017-11-24 盐城莱廷绍工业技术有限公司 A kind of programmable a variety of electric current output LED drive circuits

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003130899A (en) * 2001-10-22 2003-05-08 Nittetsu Elex Co Ltd Power source abnormality monitoring device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932380A (en) * 2015-06-19 2015-09-23 中国船舶重工集团公司第七二六研究所 Multi-mode and multi-channel power supply real-time monitoring system and method
CN104932380B (en) * 2015-06-19 2017-07-21 中国船舶重工集团公司第七二六研究所 The power supply real-time monitoring system and method for multi-mode multichannel
CN107396500A (en) * 2017-08-28 2017-11-24 盐城莱廷绍工业技术有限公司 A kind of programmable a variety of electric current output LED drive circuits

Also Published As

Publication number Publication date
CN100383685C (en) 2008-04-23

Similar Documents

Publication Publication Date Title
CN203465392U (en) Automatic computer motherboard test system
CN101770089A (en) Liquid crystal display module tester
CN104111390A (en) Device for realizing automatic powering-on/off test
CN2737060Y (en) Control signal transmission installation in high voltage frequency converter
CN100517258C (en) Key test system and method
CN1728020A (en) Hyperchannel Power Monitoring Unit able to programme based on the MSP430 single-chip microcomputer
CN1960276A (en) Remote control system and method
CN103676940A (en) Function detection system and method for digital control panel
CN101958092A (en) Test conversion module and display screen test method
CN1530838A (en) System for realizing main-board envirnoment test
CN201740852U (en) Interface adapter with cascaded structure used for rear panel testing
CN213843406U (en) Automatic test system for distributor product
CN204350139U (en) A kind of statistics camera all-in-one
CN111781866B (en) Reconfigurable testing and sending control computer module group based on FPGA
CN111061677B (en) FPGA configuration method and device and FPGA device
CN111182660B (en) Interactive wireless communication system based on general processor and ZYNQ processor
CN201181320Y (en) Test device for computer opening/closing
CN2849832Y (en) Screened door centre interface disk circuit
CN100375055C (en) Computer state indication method and apparatus
CN111399427A (en) Embedded FPGA-like controller classification modularization device and method
CN100555180C (en) The keyboard of tool multiple output function
CN111427281A (en) Control method based on I/O port of industrial personal computer
CN212364517U (en) Compatible development board
CN107515830B (en) Semiconductor process control system and semiconductor processing control system
CN208207794U (en) Computer self-test test equipment and system

Legal Events

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

Granted publication date: 20080423