KR20010094576A - Weight measuring apparatus using personal computer - Google Patents

Weight measuring apparatus using personal computer Download PDF

Info

Publication number
KR20010094576A
KR20010094576A KR1020000016957A KR20000016957A KR20010094576A KR 20010094576 A KR20010094576 A KR 20010094576A KR 1020000016957 A KR1020000016957 A KR 1020000016957A KR 20000016957 A KR20000016957 A KR 20000016957A KR 20010094576 A KR20010094576 A KR 20010094576A
Authority
KR
South Korea
Prior art keywords
personal computer
weighting
repeater
data
command
Prior art date
Application number
KR1020000016957A
Other languages
Korean (ko)
Other versions
KR100374119B1 (en
Inventor
박찬원
김민건
Original Assignee
박찬원
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 박찬원 filed Critical 박찬원
Priority to KR1020000016957A priority Critical patent/KR100374119B1/en
Publication of KR20010094576A publication Critical patent/KR20010094576A/en
Application granted granted Critical
Publication of KR100374119B1 publication Critical patent/KR100374119B1/en

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G19/00Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
    • G01G19/44Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups for weighing persons

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

PURPOSE: A weighting machine using a PC is provided for a user to show the own weight and health condition any time and manage the record by simply connecting the weighting machine to the PC. CONSTITUTION: A load cell(12), which is mounted on the lower side of the weighting board, is electrically connected with an amplifier(13), a low path filter(14), and an A(Analog)/D(Digital) converter(15). A micom(16) controls the amplifier, low path filter, and A/D converter through a controller logic(17). A memory(18) performs backup of the auto-zero adjust function and span adjust calibration data, and remembers the needed data in power-off. A communication port(19) is connected with a body of the PC(20) through an RS232C line(30). The PC includes a monitor(22) which displays the result of a software, a keyboard(23) which inputs every instruction, and a speaker(24) which generates various multimedia. The mechanical power pressed on the weighting board is converted into an electronic weighting signal through a sensor of the load cell. The electronic weighting signal is converted into a digital signal through the amplifier, low path filter, and A/D converter, and transferred to the PC in the RS232C type through the micom. The PC receives the weighting data, displays the weight value on the monitor by driving a specific software program, and executes the memory, recording, and processing.

Description

퍼스컴을 이용한 계중장치{Weight measuring apparatus using personal computer}Weighing apparatus using personal computer {Weight measuring apparatus using personal computer}

본 발명은 퍼스컴을 이용한 계중장치에 관한 것으로서, 보다 상세하게는 가정이나 사무실에 널리 보급된 퍼스컴에 간단하게 연결하여 수시로 체중 및 이에 관련된 건강상태를 관찰하도록 표시하고 기록을 저장관리할 수 있는 퍼스컴을 이용한 계중장치에 관한 것이다.The present invention relates to a relay device using a personal computer, and more particularly, a personal computer that can display and monitor the weight and related health conditions from time to time by simply connecting to a personal computer widely used in a home or office, and storing and managing records. It relates to the used repeater.

일반적인 전자 계중장치는 로드셀 등의 하중센서를 사용하여 물리량을 전기적 신호로 변환하고, 이를 증폭 및 A/D 변환하여 마이크로프로세서로 입력하고, 마이크로프로세서가 이를 디지털표시로 디스플레이되도록 처리하는 동작원리에 바탕을 두고 있다.A general electronic relay device uses a load sensor such as a load cell to convert a physical quantity into an electrical signal, amplifies and converts it into an A / D, inputs it into a microprocessor, and processes the microprocessor to display it on a digital display. Leave.

그러나 종래의 계중장치는 단일체형으로서 계량대, 전자회로, 디스플레이 프린터 등이 일체화되는 구성이고 정밀한 계량만을 목적으로 하는 전문업소용으로 판매되어 가격이 비싸다.However, the conventional weighing apparatus is a unitary type, in which a weighing table, an electronic circuit, a display printer, and the like are integrated, and are sold for a professional business for the purpose of precise weighing.

이러한 계중장치를 PC와 연결하기 위해서는 전용의 통신선을 이용하거나 별도의 특수장치를 부착해야 하고 PC로는 단순 데이터 정보만을 송출하고 PC는 이를 집계하여 전송용 자료로만 이용한다.In order to connect such relay device with PC, it is necessary to use a dedicated communication line or attach a special device, and send only simple data information to the PC, and the PC aggregates it and uses it as data for transmission only.

그러므로 본 발명의 목적은 상기한 단점을 해결하기 위한 것으로서, 가정이나 사무실에 널리 보급된 퍼스컴에 간단하게 연결하여 수시로 체중 및 이에 관련된건강상태를 관찰하도록 표시하고 기록을 저장관리할 수 있는 퍼스컴을 이용한 계중장치를 제공한다.Therefore, an object of the present invention is to solve the above-mentioned shortcomings, using a personal computer that can be easily connected to a personal computer or office and widely connected to the home and office to observe the weight and health conditions associated with it at any time and store and manage records. Provide a repeater.

도 1은 본 발명에 따른 장치의 개략적인 구성을 나타내는 예시도,1 is an exemplary view showing a schematic configuration of a device according to the present invention;

도 2는 본 발명에 따른 장치의 주요 기능부에 대한 회로구성을 나타내는 블럭도,2 is a block diagram showing the circuit configuration of the main functional units of the apparatus according to the present invention;

도 3은 본 발명에 따른 장치에서 계중기의 동작을 나타내는 플로우차트,3 is a flowchart showing the operation of the repeater in the apparatus according to the present invention,

도 4는 본 발명에 따른 장치에서 퍼스컴의 동작을 나타내는 플로우차트,4 is a flowchart showing the operation of the personal computer in the apparatus according to the present invention;

도 5는 본 발명에 따른 노멀모드에서의 팝업메뉴를 나타내는 화면 상태도,5 is a screen state diagram showing a pop-up menu in the normal mode according to the present invention;

도 6은 본 발명에 따른 설정모드에서의 팝업메뉴를 나타내는 화면 상태도.6 is a screen state diagram showing a pop-up menu in the setting mode according to the present invention.

* 도면의 주요 부분에 대한 부호 설명 *Explanation of symbols on the main parts of the drawings

10 : 계중기 12 : 로드셀10: repeater 12: load cell

13 : 증폭기 14 : 로우패스필터13 amplifier 14 low pass filter

15 : A/D 컨버터 16 : 마이콤15: A / D Converter 16: Micom

17 : 컨트롤로직 18 : 메모리17: control logic 18: memory

19 : 통신포트 20 : 퍼스컴(PC)19: communication port 20: personal computer (PC)

21 : 본체 22 : 모니터21: body 22: monitor

23 : 키보드 30 : 통신선23: keyboard 30: communication line

이러한 목적을 달성하기 위해 본 발명은 로드셀(12)에서 발생되는 아날로그 신호를 증폭기(13), 로우패스필터(14), A/D 컨버터(15)로 처리하여 디지털 신호화하는 계중장치에 있어서: 상기 디지털 신호가 마이콤(16)에 의해 메모리(18)에 저장되거나 통신포트(19)로 출력되도록 제어하는 계중기(10); 및 상기 계중기(10)의 통신포트(19)로부터 통신선(30)을 통하여 신호를 본체(21) 상으로 전송받고, 키보드(23)의 입력선택에 따라 소정의 연산결과를 모니터(22) 상에 출력하는 퍼스컴(20)을 포함하여 이루어지는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a relay apparatus for digitally processing an analog signal generated by the load cell 12 by an amplifier 13, a low pass filter 14, and an A / D converter 15: A repeater (10) for controlling the digital signal to be stored in the memory (18) or output to the communication port (19) by the microcomputer (16); And a signal transmitted from the communication port 19 of the repeater 10 to the main body 21 through the communication line 30, and displays a predetermined calculation result on the monitor 22 according to the input selection of the keyboard 23. Characterized in that it comprises a personal computer 20 to output to.

이때 상기 계중기(10)의 마이콤(16)은 상기 통신포트(19)로 데이터 전송을 주기적으로 수행하면서 설정명령의 입력시 선택된 기능이 요구하는 데이터를 셋업하여 상기 메모리(18)에 백업한다.At this time, the microcomputer 16 of the repeater 10 periodically performs data transmission to the communication port 19, sets up data required by a selected function upon inputting a setting command, and backs up the data to the memory 18.

상기 퍼스컴(20)의 본체(21)는 연산결과를 모니터(22) 상에 주기적으로 갱신하는 동시에 설정모드의 입력시 해당 작업을 수행한 후 상기 계중기(10)의 마이콤(16)으로 전송한다.The main body 21 of the personal computer 20 periodically updates the calculation result on the monitor 22 and transmits the result to the microcomputer 16 of the repeater 10 after performing the corresponding work when the setting mode is input. .

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention.

도 1은 본 발명에 따른 장치의 개략적인 구성을 나타내는 예시도이고, 도 2는 본 발명에 따른 장치의 주요 기능부에 대한 회로구성을 나타내는 블록도이다.1 is an exemplary diagram showing a schematic configuration of a device according to the present invention, and FIG. 2 is a block diagram showing a circuit configuration for main functional parts of the device according to the present invention.

계량대(11)의 하단 부분에 기계적으로 연결되도록 설치되는 로드셀(12)은 증폭기(13), 로우패스필터(14), A/D 컨버터(15) 등과 전기적으로 연결된다. 마이크로프로세서를 구비한 마이콤(16)은 컨트롤로직(17)을 통하여 증폭기(13), 로우패스필터(14), A/D 컨버터(15)를 제어하도록 연결된다. 메모리(18)는 자동영점 조정기능, 스팬 조정 캘리브레이션 데이터 등을 백업하는 것으로서 불휘발성 RAM 메모리(NVRAM)를 사용하여 전원이 끊어져도 필요한 데이터들을 기억하도록 한다. 마이콤(16)은 디지털 쌍방향 통신이 가능하도록 직렬 쌍방향 포트인 통신포트(19) 및 RS232C 버퍼 IC를 구비한다. 통신포트(19)는 RS232C 통신선(30)을 통하여 퍼스컴(20)의 본체(21)와 연결된다. 퍼스컴(20)은 소정의 소프트웨어를 수행하여 결과를 표시하기 위한 모니터(22)와, 각종 명령어를 입력하는 키보드(23)와, 입력 데이터를 처리하여 각종 진행 과정을 멀티미디어 기능으로 발생시키기 위한 스피커(24)를 구비한다.The load cell 12, which is installed to be mechanically connected to the lower end of the weighbridge 11, is electrically connected to the amplifier 13, the low pass filter 14, the A / D converter 15, and the like. The microcomputer 16 having a microprocessor is connected to control the amplifier 13, the low pass filter 14, and the A / D converter 15 through the control logic 17. The memory 18 backs up the autozero adjustment function, span adjustment calibration data, and the like, and uses nonvolatile RAM memory (NVRAM) to store necessary data even when the power supply is cut off. The microcomputer 16 includes a communication port 19, which is a serial bidirectional port, and an RS232C buffer IC to enable digital bidirectional communication. The communication port 19 is connected to the main body 21 of the personal computer 20 through the RS232C communication line 30. The personal computer 20 includes a monitor 22 for displaying a result by executing predetermined software, a keyboard 23 for inputting various commands, a speaker for processing input data, and generating various processes as a multimedia function ( 24).

이에 따라 계량대(11)에 가해진 하중의 기계적인 힘이 하중센서인 로드셀(12) 센서에서 전기적 중량 신호로 변환되고, 이는 증폭기(13) ·로우패스필터(14) ·A/D 컨버터(15)를 거쳐 디지털 신호로 변환되고, 다시 마이콤(16)에서 계량신호의 안정화 처리와 디지털 통신 기능을 수행하여 RS232C 형태로 퍼스컴(20)으로 전송된다. 퍼스컴(20)은 전송된 중량데이터를 받아들여 소정의 소프트웨어 프로그램을 수행하여 모니터(22)에 중량치를 표시하고 이후 각 소프트웨어 기능에 따라 기억, 기록, 정보처리를 수행한다.Accordingly, the mechanical force of the load applied to the weighbridge 11 is converted into an electrical weight signal in the load cell 12 sensor, which is a load sensor, which is an amplifier 13, a low pass filter 14, and an A / D converter 15. Is converted into a digital signal, and the microcomputer 16 performs a stabilization process and a digital communication function of the weighing signal and is transmitted to the personal computer 20 in the form of RS232C. The personal computer 20 receives the transmitted weight data, executes a predetermined software program, displays the weight value on the monitor 22, and then stores, records, and processes information according to each software function.

한편 쌍방향 디지털 통신 기능을 가능하기 때문에 퍼스컴(20) 측으로부터 역으로 명령어를 이용하여 마이콤(16)을 제어하는 기능도 가능하다. 이에 따라 계중기(10)의 신호처리 회로를 통하여 로드셀(12)의 온도변화에 따른 계량치의 온도보상 등 여러 가지 보상기능과 스팬조정 기능 등의 캘리브레이션 기능들을 수행할 수 있다.On the other hand, since the two-way digital communication function is possible, the function of controlling the microcomputer 16 using a command reversely from the personal computer 20 side is also possible. Accordingly, through the signal processing circuit of the repeater 10, various compensation functions such as temperature compensation of the measured value according to the temperature change of the load cell 12 and calibration functions such as span adjustment function can be performed.

본 발명에서의 소프트웨어는 마이콤(16)에 의한 A/D 인터페이스를 위한 계중기(10) 측 소프트웨어와 모니터 화면 표시 및 쌍방향통신을 하기 위한 퍼스컴(20) 측 소프트웨어로 크게 구별된다. 대부분의 처리가 계중기(10) 측에서 가능하도록 구성하면 계중기(10)는 단독으로도 독립적인 인디케이터 컨트롤러(indicator controller)의 기능을 가질 수 있다. 계중기(10)의 마이콤(16)이 초기화되면 A/D변환에 쓰이는 각종 플래그(flag)가 초기화되고 퍼스컴(20) 측의 명령에 따른 모드로 동작한다. 이에 따른 동작은 후술하는 바와 같이 노멀모드(normal mode)와 설정모드(setup mode)로 구분된다.The software in the present invention is largely divided into the repeater 10 side software for the A / D interface by the microcomputer 16 and the personal computer 20 side software for monitor screen display and two-way communication. If most of the processing is configured to be possible on the repeater 10 side, the repeater 10 may have the function of an independent indicator controller alone. When the microcomputer 16 of the repeater 10 is initialized, various flags used for A / D conversion are initialized and operate in the mode according to the instruction of the personal computer 20 side. The operation according to this is divided into a normal mode and a setup mode as described below.

도 3은 본 발명에 따른 장치에서 계중기의 동작을 나타내는 플로우차트가 도시된다.3 shows a flowchart illustrating the operation of a repeater in an apparatus according to the invention.

통상의 계량을 수행하는 노멀모드에서는 A/D 컨버터(15)로부터 변환된 디지털 중량 데이터를 내부 안정화 신호처리 후 통신포트(19)를 통하여 퍼스컴(20) 측으로 전송하고 도 4의 소프트웨어와 연계하여 동작이 수행되도록 한다. 설정모드에서는 퍼스컴(20) 측으로부터 전달받은 명령에 의해 각종 초기화 및 캘리브레이션을 수행하고, 종류별로 각각 계량용량의 선택, 분해능선택, 스팬조정기능, 각종 자동보상 기능에 필요한 데이터들을 설정하고, 이를 메모리(18)에 백업하는 기능이수행된다.In the normal mode for performing normal weighing, the digital weight data converted from the A / D converter 15 is transferred to the personal computer 20 through the communication port 19 after the internal stabilization signal processing, and operated in conjunction with the software of FIG. 4. Let this be done. In the setting mode, various initialization and calibration are performed by the command received from the personal computer 20, and the data necessary for the selection of the weighing capacity, the resolution selection, the span adjustment function, and the various automatic compensation functions are set for each type, and the memory is stored. The function of backing up to 18 is performed.

이때 체중계의 용도로서 계량최대용량설정과 최소표시무게, 몸무게의 일별 월별 변화곡선 표시, 전회(前回) 계량값의 기억표시 기능 등을 설정할 수 있다.At this time, it is possible to set the maximum weighing capacity, the minimum display weight, the daily change curve of the weight, and the memory display function of the previous weighing value.

좀더 구체적으로 도 3에서, 처음에 설정모드인지 판단하여 yes이면 설정모드를 처리하고 no이면 노멀모드에서 A/D 변환 데이터를 읽어 들여 안정된 데이터가 들어올 경우 센서의 비직선성 보정 알고리즘을 거친 후 A/D데이터를 퍼스컴(20) 측의 명령에 따라 전송하는 기능을 수행한다.In more detail, in FIG. 3, the controller first determines whether it is the setting mode, and if yes, processes the setting mode, and if no, reads the A / D conversion data in the normal mode and goes through a nonlinearity correction algorithm of the sensor when stable data comes in. Performs a function of transmitting / D data according to a command of the personal computer 20 side.

이때 계중기(10)의 마이콤(16)에 내장된 CPU인 원칩 마이크로프로세서(one chip microprocessor)(ATMEL 89C52)의 기능으로는 아날로그 스위치로 제어되는 2중 적분형 A/D 변환, 아날로그 회로의 드리프트 값의 인식과 보상, 쌍방향 디지털 직렬 통신, 자동영점 트래킹(auto-zero tracking)·플리커링 방지(anti-flickering)·직선성 보정(linearity compensation) 등 각종 데이터 안정화 처리, 자동스팬(auto span)의 내부 계산 및 멀티레인지(multi-range) 수행, 캘리브레이션 데이터(calibration data)를 메모리(EEPROM)에 저장 및 갱신, 로드셀(12)이나 퍼스컴(20)으로부터 전송 받는 명령어의 해독과 처리, 로드셀(12)의 비직선성 보정 알고리즘 수행 등이 있다.At this time, the function of the one chip microprocessor (ATMEL 89C52), which is a CPU built in the microcomputer 16 of the repeater 10, is a dual-integrated A / D conversion controlled by an analog switch and drift of an analog circuit. Value stabilization and compensation, two-way digital serial communication, auto-zero tracking, anti-flickering, linearity compensation, etc. Perform internal calculations and multi-range, store and update calibration data in memory (EEPROM), decode and process instructions received from load cell 12 or personal computer 20, load cell 12 Nonlinearity correction algorithm.

A/D 인터페이스는 하나의 명령어 프레임이 11바이트 혹은 12바이트로 구성되며 명령어는 1바이트 혹은 2 바이트로 구성된 아스키 코드(ASCII code)명령어로 퍼스컴(20)과 명령어 및 데이터를 교환한다.In the A / D interface, one command frame is composed of 11 bytes or 12 bytes, and the command exchanges commands and data with the personal computer 20 using an ASCII code command composed of 1 byte or 2 bytes.

A/D 인터페이스의 주요 명령어의 일예로서 'I' 명령은 노멀모드에서StartZeroFlag, RxEnableFlag, InitialFlag, ZeroFlag, CountendFlag등의 플래그를 초기화시킨다. 이때 RxEnableFlag는 A/D 인터페이스를 초기화한 후에 PC의 명령어를 수신 가능 상태로 되어 있음을 알리고, InitialFlag는 전원 투입 후에 초기화(Initialize)함수에 의하여 A/D 인터페이스를 초기화하고 InitialFlag를 셋(set)한다. 이 플래그를 검사하여 초기화가 되었음을 PC에 알리고, ZeroFlag는 영점이 범위 안에 들어오면 셋(set)되어 영점을 설정할 때 쓰이고, CountendFlag는 A/D 변환이 종료되면 셋(set)되어 카운트의 종료를 알린다.As an example of the main command of the A / D interface, the 'I' command initializes flags such as StartZeroFlag, RxEnableFlag, InitialFlag, ZeroFlag, and CountendFlag in normal mode. At this time, RxEnableFlag indicates that the PC command can be received after initializing the A / D interface, and InitialFlag initializes the A / D interface and initializes the InitialFlag by the Initialize function after power-on. . This flag is checked and notified to the PC that it has been initialized. ZeroFlag is set when the zero is within the range and used to set the zero. CountendFlag is set when the A / D conversion is completed to indicate the end of the count. .

이외에 'R' 명령은 버전정보, 'D' 명령은 A/D 데이터 송신, 'F' 명령은 용량 데이터 송신, '*' 명령은 테스트 모드로 전환, 'I' 명령은 테스트 모드 종료, 'S' 명령은 모든 데이터 초기값 설정, 'Z' 명령은 영점 조정, 'T' 명령은 스팬 조정, 'L' 명령은 비직선성 보정, 'X' 명령은 중량센서의 용량 설정, 'W' 명령은 설정 데이터 기억, 'U' 명령은 기억 데이터 출력을 지령하도록 설정한다.In addition, 'R' command sends version information, 'D' command sends A / D data, 'F' command sends capacity data, '*' command switches to test mode, 'I' command ends test mode, 'S' 'Command to set all data initial values,' Z 'command to zero adjustment,' T 'command to span adjustment,' L 'command to adjust nonlinearity,' X 'command to set the weight sensor capacity, and' W 'command Is set data storage, the 'U' instruction is set to command the storage data output.

도 4는 본 발명에 따른 장치에서 퍼스컴의 동작을 나타내는 플로우차트가 도시된다.4 is a flowchart showing the operation of the personal computer in the apparatus according to the present invention.

퍼스컴(20) 측에서 사용자에 의해 설정 명령의 유무를 판단하고 설정모드일 경우는 해당 작업을 수행하고, 그 데이터를 셋업하는 명령을 발송하여 마이콤(16)으로 전송한다. 계중기(10)로부터 입력된 A/D변환 디지털 데이터는 해당표시모드(통상계중표시, 집계표시, 과거이력변동 그래프 표시등)로 구분되어 모니터(22)에 표시되고 계속적으로 표시전환 입력을 대기하게 된다. 여기서 통상계중표시는 일반 저울 계량기로서 무게를 계량하는 동작이고, 집계표시는 상업용으로 사용될 때의 단가의 집계(total)중량 표시동작이고, 과거이력변동은 체중계 ·중량검사기 등으로 사용될 때 전회(前回) 계량치와의 비교기록 표시동작이다.The personal computer 20 determines the presence or absence of a setting command by the user and performs a corresponding operation in the setting mode, sends a command for setting up the data, and transmits the command to the microcomputer 16. The A / D conversion digital data input from the repeater 10 is divided into the corresponding display mode (normal display, counting display, historical history change graph indicator), displayed on the monitor 22, and continuously waiting for display switching input. Done. Here, the normal weighing display is an operation of weighing the weight as a general scale weighing machine, and the counting display is a total weight displaying operation of the unit price when used for commercial use, and the past history change is the last time when used as a scale or a weight checker. ) Display of comparison record with weighing value.

퍼스컴(20)의 통신 사양은 19200, E, 7, 1 / baud : 19200 / 패리트 : NONE / 데이터 비트 : 7 bit / 스톱비트 : 1 으로 설정한다. 퍼스컴(20)측 소프트웨어의 기능은 통신 포트를 초기화, 명령어 처리, 에러(err) 처리, 초기값 판단, 중량 지시치 환산, 그래프 표시, A/D 인터페이스 사양 설정 등으로 구분된다.The communication specifications of the personal computer 20 are set to 19200, E, 7, 1 / baud: 19200 / parit: NONE / data bits: 7 bits / stop bits: 1. The functions of the personal computer 20 are divided into the communication port initialization, command processing, error (err) processing, initial value determination, weight indication conversion, graph display, A / D interface specification setting, and the like.

메인화면 출력단계에서는 A/D 인터페이스, 통신포트 설정, 설정용 함수, 그리고 화면을 저장할 수 있는 메인 메뉴가 들어 있다. 또 노멀모드에 진입한 후에 설정모드(setup mode)로 들어가기 위해 준비된 팝압메뉴(pop up menu)로 들어가고 설정모드에서 A/D 인터페이스의 사양을 변경 혹은 저장할 수 있는 명령을 보낼 수 있는 설정모드 메뉴가 있다.The main screen output stage contains A / D interface, communication port setting, setting function, and main menu to save screen. In addition, after entering the normal mode, the setup mode menu is entered to enter the pop up menu prepared for entering the setup mode and to send a command to change or save the specifications of the A / D interface in the setup mode. have.

다음으로, 통신 초기화 및 A/D 초기화 단계를 거치는데, 이때 마이콤(16)은 퍼스컴(20)으로부터 초기화 명령어를 입력받아 자체 A/D변환을 하기 위한 초기화 작업을 수행하면서 자체의 이상 유무를 에러 메시지와 함께 퍼스컴(20)으로 전송한다. 퍼스컴(20)은 에러 메시지를 통하여 A/D 인터페이스에 이상이 있는지 없는지를 체크할 수 있다.Next, the communication initialization and A / D initialization step, the microcomputer 16 receives the initialization command from the personal computer 20 performs an initialization operation for its own A / D conversion while error of its own error The message is sent to the personal computer 20 together with the message. The personal computer 20 may check whether there is an error in the A / D interface through an error message.

다음으로, 범위확인 단계에서는 A/D변환 데이터가 기준 영점값 범위 안에 들어 있는지 확인하는 동시에 스팬컨트롤(span control), 직선성 보정(linearity compensation), 캘리브레이션(calibration) 등 여러 단계에서 데이터의 유효범위(range)를 확인한다.Next, the range check step checks whether the A / D conversion data is within the reference zero value range, and at the same time, the effective range of the data at various stages such as span control, linearity compensation, and calibration. Check the range.

다음으로, 로드셀(12)은 시간이 지남에 따라 센서의 특성이 약간의 변화를 일으킬 수 있는 바, 센서의 특성이나 상태가 설정범위 안에 들어올 때는 기준이 되는 영점값의 미세한 변화에 대하여 이것을 보정하는 캘리브레이션 단계를 거치고, 작업이 종료되어 전원이 차단될 때의 중량값을 기억해야 할 필요가 있으므로 이를 저장하는 단계도 거친다.Next, the load cell 12 may cause a slight change in the characteristics of the sensor over time. When the characteristic or state of the sensor falls within the setting range, the load cell 12 corrects the minute change of the reference zero value. After the calibration step, it is necessary to remember the weight value when the work is terminated and the power is cut off, so it is also stored.

다음으로, 노멀모드에서는 로드셀(12) 센서로부터 아날로그 신호를 A/D 변환하기 위한 통상적인 동작으로서 A/D 인터페이스가 센서로부터 A/D변환된 데이터를 중량 값으로 환산하고 여러 가지 기능을 처리하는 과정이 포함된다. 설정모드 자동스팬 조정(auto span adjust), 직선성 보정(linearity compensation), 제로셋(zero set), 스케일 변경(scale change), 송수신(receive & send) 등 A/D 인터페이스를 제어하기 위한 다양한 메뉴가 준비되어 있다. 그리고 변경된 데이터는 메모리(18)에 기억되어진다. 계중기(10)의 A/D 인터페이스로 보내어지는 명령과 받는 명령은 일정한 포맷(format)을 가지는 프레임(frame)으로 구성되어 있다. 하지만 주고받는 데이터에 따라서는 프레임의 길이가 다르기 때문에 보내어진 명령에 해당하는 프레임이 왔는지 확인한다.Next, in normal mode, the A / D interface converts the A / D converted data from the sensor into a weight value and processes various functions as a normal operation for A / D conversion of the analog signal from the load cell 12 sensor. The process is included. Setup Mode Various menus for controlling the A / D interface such as auto span adjust, linearity compensation, zero set, scale change, receive & send, etc. Is ready. The changed data is stored in the memory 18. The command sent to and received from the A / D interface of the repeater 10 is composed of a frame having a certain format. However, because the length of the frame varies depending on the data sent and received, check whether the frame corresponding to the sent command has arrived.

다음 단계에서는 세그먼트(segment)를 초기화시키는데, 세그먼트는 노멀모드와 설정모드에서 표시되는 것을 처리하고 A/D 변환된 값을 기억한다. 로드셀(12) 센서의 변화량을 관찰하는 방법은 두 가지 방법을 사용한다. 첫째는 변화량을 추적(trace)하는 방법이고, 또 다른 하나는 기준값과 비교하는 방법이 있다. 비교값이 지시한 값 밖으로 벗어났을 때는 그래프색을 변경하는 기능을 수행하고 전회의값을 기억한다.The next step is to initialize the segment, which handles what is displayed in normal mode and setup mode and stores the A / D converted values. There are two methods for observing the variation of the load cell 12 sensor. The first is to trace the change, and the other is to compare with the reference value. When the comparison value is out of the indicated value, it changes the graph color and remembers the previous value.

마지막 단계로, A/D 인터페이스를 초기화시킨 뒤에 A/D 변환된 값을 요구하는 명령을 보낸다. A/D 인터페이스가 센서로부터 A/D 변환된 데이터를 바로 보내는 것이 아니라 데이터의 범위확인, 직선성 보정, 에러확인 등의 처리를 거친 뒤 일정한 A/D 변환된 값을 퍼스컴(20)으로 보내고 퍼스컴(20)은 이것을 초기값 처리과정과 중량 환산과정을 통해 처리한다. A/D변환된 디지털값은 Kg, g 등으로 중량값으로 계산되고 반올림 처리된다.The final step is to initialize the A / D interface and then send a command requesting the A / D converted value. Instead of sending the A / D converted data directly from the sensor, the A / D interface goes through the process of checking the range of data, correcting the linearity, checking the error, etc., and then sends a constant A / D converted value to the personal computer (20). (20) processes this through the initial value processing and the weight conversion process. The A / D converted digital value is calculated by weight in Kg, g and the like and rounded.

도 5는 본 발명에 따른 노멀모드에서의 팝업메뉴를 나타내는 화면 상태도이고, 도 6은 본 발명에 따른 설정모드에서의 팝업메뉴를 나타내는 화면 상태도이다.5 is a screen state diagram showing a pop-up menu in the normal mode according to the present invention, Figure 6 is a screen state diagram showing a pop-up menu in the setting mode according to the present invention.

탑 메뉴(top menu)에는 통신포트의 값을 설정하는 부분과 설정용함수, A/D인터페이스로부터 데이터를 받아 중량값으로 변환을 하는 주프로그램이 있다. 노멀모드는 단축키나 메뉴 선택에 의해 시작되고 최초에 통신포트를 19200으로 초기화한다. 이때 퍼스컴(20)은 A/D 인터페이스로 초기화 명령을 보내고 수신데이터가 정상적으로 도착을 확인하면 A/D값을 요구하고, 에러가 발생하면 에러 메시지를 출력한다. 모니터(22) 상에 나타나는 화면을 참조할 때 노멀모드에서 좌측 상단의 숫자는 A/D값을 중량으로 환산된 값을 나타내고, 우측 상단의 숫자는 전회에 읽은 중량값을 표시하거나 설정에 의해 변경된 값을 표시한다.In the top menu, there is a part that sets the value of the communication port, a setting function, and a main program that receives data from the A / D interface and converts it into a weight value. Normal mode is initiated by a hotkey or menu selection and initially initializes the communication port to 19200. At this time, the personal computer 20 sends an initialization command to the A / D interface, requests an A / D value when the received data normally arrives, and outputs an error message when an error occurs. When referring to the screen appearing on the monitor 22, in the normal mode, the upper left number indicates the A / D value converted into weight, and the upper right number indicates the weight value read last time or changed by setting. Display the value.

화면출력에서 하단 부분은 다수 색상의 그래프가 표시되는데, 센서의 A/D값의 전체적인 변이폭을 관측하기 용이하도록 변화량을 추적하고 변화량이 소정의 값 이상 차이날 경우 색깔이 바뀐다.In the lower part of the screen output, a multi-color graph is displayed. The change is tracked so that the overall variation width of the sensor's A / D value can be easily observed, and the color changes when the change amount exceeds a predetermined value.

설정모드의 기능은 직선보정명령, 영점조정, 스팬조정명령이 있으며 직선보정 명령은 반드시 영점조정과 스팬조정을 한 후에 이루어져야 한다. 직선 보정 명령어인 'L1'에 해당하는 중량을 가한 후 'L1'명령어를 A/D 인터페이스에 보낸다. 중량을 가하라는 메시지가 나오면 첫 번째 포인트에 해당하는 중량을 가하고, 제거하라는 메시지가 나오면 중량을 제거한다. 그 다음 명령어인 'L2', 'L3', 'L4', 'L5'등을 차례로 'L1'과 같이 동작시킨다. 그리고 최종값을 모두 수행한 뒤 연산된 보정값은 메모리에 저장되어진다.Functions of setting mode include linear correction command, zero adjustment and span adjustment command. Linear correction command must be performed after zero and span adjustment. After applying the weight corresponding to the linear correction command 'L1', send the 'L1' command to the A / D interface. When prompted to add weight, add the weight that corresponds to the first point; when prompted, remove the weight. Next, the commands 'L2', 'L3', 'L4', and 'L5' are operated like 'L1'. After the final value has been performed, the calculated value is stored in the memory.

이상의 구성 및 작용에 따르면 본 발명은 가정이나 사무실에 널리 보급된 퍼스컴에 간단하게 연결하여 수시로 체중 및 이에 관련된 건강상태를 관찰하도록 표시하고 기록을 저장관리할 수 있는 효과가 있다.According to the above configuration and operation, the present invention has an effect of displaying and observing the weight and health state associated with it at any time by simply connecting to a personal computer widely distributed in a home or office, and storing and managing records.

Claims (3)

로드셀(12)에서 발생되는 아날로그 신호를 증폭기(13), 로우패스필터(14), A/D 컨버터(15)로 처리하여 디지털 신호화하는 계중장치에 있어서:In a repeater which digitally processes an analog signal generated from the load cell 12 by an amplifier 13, a low pass filter 14, and an A / D converter 15, and converts the digital signal into: 상기 디지털 신호가 마이콤(16)에 의해 메모리(18)에 저장되거나 통신포트(19)로 출력되도록 제어하는 계중기(10); 및A repeater (10) for controlling the digital signal to be stored in the memory (18) or output to the communication port (19) by the microcomputer (16); And 상기 계중기(10)의 통신포트(19)로부터 통신선(30)을 통하여 신호를 본체(21) 상으로 전송받고, 키보드(23)의 입력선택에 따라 소정의 연산결과를 모니터(22) 상에 출력하는 퍼스컴(20)을 포함하여 이루어지는 것을 특징으로 하는 퍼스컴을 이용한 계중장치.The signal is transmitted from the communication port 19 of the repeater 10 to the main body 21 through the communication line 30, and a predetermined calculation result is output on the monitor 22 according to the input selection of the keyboard 23. Repeater using a personal computer characterized in that it comprises a personal computer (20) to output. 제 1 항에 있어서,The method of claim 1, 상기 계중기(10)의 마이콤(16)은 상기 통신포트(19)로 데이터 전송을 주기적으로 수행하면서 설정명령의 입력시 선택된 기능이 요구하는 데이터를 셋업하여 상기 메모리(18)에 백업하는 것을 특징으로 하는 퍼스컴을 이용한 계중장치.The microcomputer 16 of the repeater 10 periodically performs data transmission to the communication port 19 and sets up data required by a selected function upon inputting a setting command and backs up the data to the memory 18. Weighing device using personal computer. 제 1 항에 있어서,The method of claim 1, 상기 퍼스컴(20)의 본체(21)는 연산결과를 모니터(22) 상에 주기적으로 갱신하는 동시에 설정모드의 입력시 해당 작업을 수행한 후 상기 계중기(10)의 마이콤(16)으로 전송하는 것을 특징으로 하는 퍼스컴을 이용한 계중장치.The main body 21 of the personal computer 20 periodically updates the calculation results on the monitor 22 and transmits the results to the microcomputer 16 of the repeater 10 after performing the corresponding work when the setting mode is input. Weighing device using a personal computer, characterized in that.
KR1020000016957A 2000-03-31 2000-03-31 Weight measuring apparatus using personal computer KR100374119B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000016957A KR100374119B1 (en) 2000-03-31 2000-03-31 Weight measuring apparatus using personal computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000016957A KR100374119B1 (en) 2000-03-31 2000-03-31 Weight measuring apparatus using personal computer

Publications (2)

Publication Number Publication Date
KR20010094576A true KR20010094576A (en) 2001-11-01
KR100374119B1 KR100374119B1 (en) 2003-03-03

Family

ID=19660770

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000016957A KR100374119B1 (en) 2000-03-31 2000-03-31 Weight measuring apparatus using personal computer

Country Status (1)

Country Link
KR (1) KR100374119B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100471589B1 (en) * 2001-04-11 2005-02-21 주식회사 카스 Digital Weight Scale For PC And Method of Managing Weight Therewith
KR20070092071A (en) * 2006-03-07 2007-09-12 박승훈 External device-connectable scale and service providing method using the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100471589B1 (en) * 2001-04-11 2005-02-21 주식회사 카스 Digital Weight Scale For PC And Method of Managing Weight Therewith
KR20070092071A (en) * 2006-03-07 2007-09-12 박승훈 External device-connectable scale and service providing method using the same

Also Published As

Publication number Publication date
KR100374119B1 (en) 2003-03-03

Similar Documents

Publication Publication Date Title
US5790432A (en) Universal measuring instrument with signal processing algorithm encapsulated into interchangeable intelligent detectors
JP2002100414A (en) Battery pack
US5680154A (en) Operation inputting apparatus
US4967384A (en) Highly accurate weighing system
JP2000510969A (en) Electro-optical display
KR100374119B1 (en) Weight measuring apparatus using personal computer
US20020179337A1 (en) Electronic balance and method of evaluating the same
JP5125989B2 (en) Sensor body and connected devices
JP2003329531A (en) Pressure gauge and pressure measurement system
JP4795552B2 (en) Load cell device
US6697684B2 (en) Programmable field measuring instrument
JPH0958644A (en) Printer
JP2005164406A (en) Digital pressure gauge
JPH0894564A (en) Odor monitor
JP2924166B2 (en) Signal transmitter
KR100210658B1 (en) Electronics apparatus
JP3339774B2 (en) Encoder control device
JP2541438B2 (en) Signal input circuit
JPH11211587A (en) Strain gauge type converter and measurement module therefor
JPH07162539A (en) Automatic metering system
JP2000092577A (en) Terminal transmitter
JPH06232944A (en) Field equipment for process control
KR200364382Y1 (en) Smart transmitter for 2 wire formula with high brightness LED
KR900000811B1 (en) Time display circuit of electronic advertisement board
JPH07114687A (en) Signal processor

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130218

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20140217

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20150217

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20180219

Year of fee payment: 16

LAPS Lapse due to unpaid annual fee