KR100273524B1 - Method and apparatus for crank angle signal generating for simulation - Google Patents
Method and apparatus for crank angle signal generating for simulation Download PDFInfo
- Publication number
- KR100273524B1 KR100273524B1 KR1019950055164A KR19950055164A KR100273524B1 KR 100273524 B1 KR100273524 B1 KR 100273524B1 KR 1019950055164 A KR1019950055164 A KR 1019950055164A KR 19950055164 A KR19950055164 A KR 19950055164A KR 100273524 B1 KR100273524 B1 KR 100273524B1
- Authority
- KR
- South Korea
- Prior art keywords
- ram
- digital data
- crank angle
- signal
- counter
- Prior art date
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/009—Electrical control of supply of combustible mixture or its constituents using means for generating position or synchronisation signals
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/2406—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
제1도는 이 발명의 실시예에 따른 시뮬레이션을 위한 크랭크각 신호 생성장치의 구성 회로도이고,1 is a configuration circuit diagram of a crank angle signal generator for simulation according to an embodiment of the present invention,
제2도는 이 발명의 실시예에 따른 시뮬레이션을 위한 크랭크각 신호 생성방법의 동작 순서도이다.2 is an operation flowchart of a crank angle signal generation method for simulation according to an embodiment of the present invention.
〈도면의 주요부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>
10 : 펄스 발생부 20 : 마이크로 컨트롤러10: pulse generator 20: microcontroller
30 : 카운터 40 : 램30: counter 40: ram
50 : 래치 60 : 디지틀/애널로그 컨버터50: Latch 60: Digital / Analog Converter
SW : 동작 스위치SW: operation switch
이 발명은 시뮬레이션을 위한 크랭크각 신호 생성장치 및 그 방법에 관한 것으로서, 더욱 상세하게 말하자면 임의의 불규칙 디지틀 데이터를 메모리에 저장하여 놓은 후에 카운터를 이용하여 상기한 불규칙 디지틀 데이터가 순차적으로 출력되도록 함과 동시에 애널로그 신호로 변환되어 출력되도록 함으로써 크랭크각 신호를 생성하는 시뮬레이션을 위한 크랭크각 신호 생성장치 및 그 방법에 관한 것이다.The present invention relates to a crank angle signal generating device and method for simulation, and more specifically, to random output of the random digital data stored in the memory and then output the above-mentioned irregular digital data using a counter sequentially The present invention relates to a crank angle signal generator and method for simulating a crank angle signal by being converted into an analog signal and outputting the same.
자동차의 제어기술이 점차적으로 전자화되어감에 따라 전자제어 유니트(Electronic Control Unit, ECU)의 중요성이 점차적으로 높아지고 있다.As the control technology of automobiles is gradually becoming electronic, the importance of Electronic Control Units (ECUs) is gradually increasing.
신차를 개발하는 경우에, 개발과정에서 신차를 위한 전자 제어 유니트를 시험적으로 동작시켜 보기 위해서는, 아직 신차가 실물로서 제조되어 있지 않기 때문에 실제차량에 전자 제어 유니트를 장착하여 시험하기는 어렵고, 그대신에 시뮬레이션(simulation)을 통하여 전자 제어 유니트로 입력되는 신호를 실제상황과 똑같이 제공하는 수 밖에 없다.In the case of developing a new vehicle, it is difficult to test the actual vehicle with the electronic control unit because it is not manufactured as a real vehicle in order to try out the electronic control unit for the new vehicle in the development process. Instead, the simulation can only provide the signal input to the electronic control unit as it is in the actual situation.
종래에는, 전자 제어 유니트에 제공되는 입력신호 가운데서, 크랭크각 센서(Crank Angle Sensor, CAS)로부터 출력되는 엔진 회전수에 관한 신호(크랭크각 신호)를 전자 제어 유니트에 제공하는 것이 매우 까다로운 문제점이 있는데, 이것은 크랭크각 신호의 주기가 정형화되어 있지를 않고 임의의 형태로 생성되어 출력되기 때문이다.Conventionally, among the input signals provided to the electronic control unit, it is very difficult to provide the electronic control unit with a signal (crank angle signal) relating to the engine speed output from the crank angle sensor (CAS). This is because the period of the crank angle signal is not standardized and is generated and output in an arbitrary form.
이 발명의 목적은 상기한 바와 같은 종래의 문제점을 해결하기 위한 것으로서, 임의의 불규칙 디지틀 데이터를 메모리에 저장하여 놓은 후에 카운터를 이용하여 상기한 불규칙 디지틀 데이터가 순차적으로 출력되도록 함과 동시에 애널로그 신호로 변환되어 출력되도록 함으로써 크랭크각 신호를 생성하는 시뮬레이션을 위한 크랭크각 신호 생성장치 및 그 방법을 제공하는데 있다.SUMMARY OF THE INVENTION An object of the present invention is to solve the conventional problems as described above, by storing random irregular digital data in a memory and then outputting the irregular digital data sequentially using a counter and simultaneously analyzing the analog signal. The present invention provides a crank angle signal generator and a method for a simulation of generating a crank angle signal by converting the signal into a signal.
상기한 목적을 달성하기 위한 수단으로서 이 발명의 장치의 구성은, 펄스신호를 생성하여 출력하는 펄스 발생부(pulse generator)와, 불규칙 디지틀 데이터를 저장하기 위한 램(RAM, Random Access Memory)과, 상기한 펄스 발생부로부터 입력되는 클럭 신호에 따라 어드레스 신호를 생성하여 상기한 램을 지정함으로써 상기한 램에 저장되어 있는 불규칙 디지틀 데이터가 출력되도록 하는 카운터(counter)와, 상기한 램으로부터 출력되는 불규칙 디지틀 데이터를 일시적으로 저장하기 위한 래치(latch)와, 상기한 카운터와 래치의 동작을 중지시킨 뒤에 상기한 램에 불규칙 디지틀 데이터를 저장하고, 다시 상기한 카운터와 래치가 동작되도록 함으로써 램에 저장되어 있는 불규칙 디지틀 데이터가 출력되도록 하는 마이크로 컨트롤러(micro controller)와, 상기한 래치로부터 출력되는 불규칙 디지틀 데이터 신호를 애널로그 신호로 변환시킴으로써 크랭크각 신호가 생성되도록 하는 디지틀/애널로그 컨버터(digital to analog converter)를 포함하여 이루어진다.As a means for achieving the above object, the configuration of the apparatus of the present invention includes a pulse generator for generating and outputting a pulse signal, a random access memory (RAM) for storing irregular digital data, A counter for generating an address signal according to the clock signal input from the pulse generator and specifying the RAM so that irregular digital data stored in the RAM is output; and an irregular output from the RAM. A latch for temporarily storing the digital data, and the random digital data is stored in the RAM after the operation of the counter and the latch is stopped, and the counter and the latch are operated again to be stored in the RAM. Microcontroller for outputting irregular digital data from the latch By converting the random digital data signal to be output to the analogue signal comprises a digital / analogue converter (digital to analog converter) so that the crank angle signal is generated.
이 발명의 구성은, 사용자가 시뮬레이션을 위한 크랭크각 신호 생성장치를 필요에 따라 선택적으로 동작시키기 위한 동작 스위치를 더 포함하여 이루어질 수도 있다.The configuration of the present invention may further comprise an operation switch for the user to selectively operate the crank angle signal generator for simulation as needed.
상기한 목적을 달성하기 위한 수단으로서 이 발명의 방법의 구성은, 전원이 인가되면 동작이 시작되어, 모든 메모리 변수를 초기화시키는 단계와, 동작 스위치로부터 입력되는 신호를 읽어들여 동작 스위치가 온되었는지를 판단하는 단계와, 동작 스위치가 온된 경우에 카운터와 래치의 동작을 중지시킨 뒤에 램에 불규칙 디지틀 데이터를 저장시키는 단계와, 카운터와 래치를 동작시킴으로써 램에 저장되어 있던 불규칙 디지틀 데이터가 출력됨과 동시에 애널로그 신호로 변환되도록 함으로써 크랭크각 신호를 발생시키는 단계와, 한주기가 완료되었는지를 판단하여 한주기가 완료된 경우에는 램에 불규칙 디지틀 데이터를 다시 저장시키기 위하여 점프하는 단계를 포함하여 이루어진다.As a means for achieving the above object, the configuration of the method of the present invention is characterized in that the operation is started when power is applied, initializing all the memory variables, and whether the operation switch is turned on by reading a signal input from the operation switch. Judging; stopping the operation of the counter and the latch when the operation switch is turned on; storing irregular digital data in the RAM; and operating the counter and the latch to output irregular digital data stored in the RAM and simultaneously Generating a crank angle signal by converting the signal into a log signal, and judging whether one cycle is completed, and jumping to store irregular digital data again in the RAM when one cycle is completed.
이하, 이 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 이 발명을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 이 발명의 가장 바람직한 실시예를 첨부된 도면을 참조로 하여 설명하기로 한다.Hereinafter, the most preferred embodiments of the present invention will be described with reference to the accompanying drawings so that those skilled in the art can easily implement the present invention.
제1도는 이 발명의 실시예에 따른 시뮬레이션을 위한 크랭크각 신호 생성장치의 구성 회로도이다.1 is a configuration circuit diagram of a crank angle signal generator for simulation according to an embodiment of the present invention.
제1도에 도시되어 있듯이 이 발명의 실시예에 따른 시뮬레이션을 위한 크랭크각 신호 생성장치의 구성은, 펄스신호를 생성하여 출력하는 펄스 발생부(10)와, 동작 스위치(SW)와, 상기한 동작 스위치(SW)의 출력단에 입력단이 연결되어 있는 마이크로 컨트롤러(70)와, 펄스 발생부(10)와 마이크로 컨트롤러(20)의 출력단에 입력단이 연결되어 있는 카운터(30)와, 카운터(30)와 마이크로 컨트롤러(20)의 출력단에 입력단이 연결되어 있는 램(40)과, 램(40)과 마이크로 컨트롤러(20)의 출력단에 입력단이 연결되어 있는 래치(50)와, 상기한 래치(50)의 출력단에 입력단이 연결되어 있는 디지틀/애널로그 컨버터(60)로 이루어진다.As shown in FIG. 1, the configuration of the crank angle signal generator for simulation according to the embodiment of the present invention includes a pulse generator 10 for generating and outputting a pulse signal, an operation switch SW, A microcontroller 70 having an input terminal connected to an output terminal of the operation switch SW, a counter 30 having an input terminal connected to an output terminal of the pulse generator 10 and the microcontroller 20, and a counter 30. And a RAM 40 having an input terminal connected to an output terminal of the microcontroller 20, a latch 50 having an input terminal connected to an output terminal of the RAM 40 and the microcontroller 20, and the latch 50 described above. It consists of a digital / analog converter 60, the input of which is connected to the output terminal of the.
상기한 마이크로 컨트롤러(20)는 메모리가 내장되어 있는 것을 사용한다.The microcontroller 20 uses a built-in memory.
제2도는 이 발명의 실시예에 따른 시뮬레이션을 위한 크랭크각 신호 생성방법의 동작 순서도이다. 제 2 도에 도시되어 있듯이 이 발명의 실시예에 따른 시뮬레이션을 위한 크랭크각 신호 생성방법의 구성은, 전원이 인가되면 동작이 시작되는 단계(S10)와, 모든 메모리 변수를 초기화시키는 단계(S20)와, 동작 스위치로부터 입력되는 신호를 읽어들여 동작 스위치가 온되었는지를 판단하는 단계(S30)와, 동작 스위치가 온된 경우에 램에 불규칙 디지틀 데이터를 저장시키는 단계(S40)와, 카운터와 래치를 동작시킴으로써 램에 저장되어 있던 불규칙 디지틀 데이터가 출력됨과 동시에 애널로그 신호로 변환되도록 하여 크랭크각 신호를 발생시키는 단계(S50)와, 한주기가 완료되었는지를 판단하여 한주기가 완료된 경우에는 램에 불규칙 디지틀 데이터를 다시 저장시키기 위하여 점프하는 단계(S60)로 이루어진다.2 is an operation flowchart of a crank angle signal generation method for simulation according to an embodiment of the present invention. As shown in FIG. 2, the configuration of the crank angle signal generation method for the simulation according to the embodiment of the present invention includes the steps of starting operation when power is applied (S10) and initializing all memory variables (S20). And determining whether the operation switch is turned on by reading a signal input from the operation switch (S30), storing irregular digital data in the RAM when the operation switch is turned on (S40), and operating a counter and a latch. And outputting the irregular digital data stored in the RAM and converting the signal into an analog signal at the same time to generate a crank angle signal (S50). Jumping to save again (S60).
상기한 구성에 의한, 이 발명의 실시예에 따른 시뮬레이션을 위한 크랭크각 신호 생성장치 및 그 방법의 작용은 다음과 같다.With the above configuration, the operation of the crank angle signal generating apparatus and method for the simulation according to the embodiment of the present invention is as follows.
전원이 인가되면, 마이크로 컨트롤러(20)의 내부 메모리에 프로그램화되어 저장되어 있는 제2도에 도시되어 있는 동작 수순이 마이크로 컨트롤러(20)에 의해 실행됨으로써 이 발명의 실시예에 따른 시뮬레이션을 위한 크랭크각 신호 생성장치의 동작이 시작된다(S10).When the power is applied, the operation procedure shown in FIG. 2, which is programmed and stored in the internal memory of the microcontroller 20, is executed by the microcontroller 20 so that the crank for the simulation according to the embodiment of the present invention. Operation of each signal generator is started (S10).
동작이 시작되면, 마이크로 컨트롤러(20)는 모든 메모리 변수를 초기화시킨 뒤에(S20), 동작 스위치(FSW)로부터 입력되는 신호를 읽어들여 동작 스위치(FSW)가 온되었는지를 판단한다(S30).When the operation is started, the microcontroller 20 determines whether the operation switch FSW is turned on by reading a signal input from the operation switch FSW after initializing all memory variables (S20).
동작 스위치(FSW)가 온된 경우에, 마이크로 컨트롤러(20)는 카운터(30)와 래치(50)의 동작을 중지시킨 뒤에, 램(40)에 어드레스 신호, 데이터 신호, 제어 신호를 출력함으로써 불규칙 디지틀 데이터가 순차적으로 램(40)에 저장되도록 한다(S40).When the operation switch FSW is turned on, the microcontroller 20 stops the operation of the counter 30 and the latch 50, and then outputs an address signal, a data signal, and a control signal to the RAM 40 so as to output an irregular digital signal. Data is sequentially stored in the RAM 40 (S40).
다음에, 마이크로 컨트롤러(20)는 카운터(30)를 리세트 시킴과 동시에, 카운터(30)와 래치(50)의 인에이블 단자로 인에이블 신호를 출력함으로써 카운터(30)와 래치(50)가 동작되도록 한다.Next, the microcontroller 20 resets the counter 30 and outputs an enable signal to the enable terminals of the counter 30 and the latch 50 so that the counter 30 and the latch 50 are operated. To work.
펄스 발생부(10)는 펄스신호를 생성하여 카운터(30)로 출력하고, 카운터(30)는 이에따라 순차적으로 램(40)의 어드레스를 지정함으로써 램(40)에 저장되어 있던 불규칙 디지틀 데이터가 출력되도륵 한다.The pulse generator 10 generates a pulse signal and outputs the pulse signal to the counter 30. The counter 30 sequentially assigns addresses of the RAM 40 accordingly to output irregular digital data stored in the RAM 40. Try again.
램(40)으로부터 출력된 불규칙 디지틀 데이터는 래치(50)에 일시적으로 저장된 뒤에, 디지틀/애널로그 컨버터(60)로 출력되어 디지틀/애널로그 컨버터(60)에 의해 애널로그 신호로 변환됨으로써 크랭크각 신호가 발생되도록 한다(S50).The irregular digital data output from the RAM 40 is temporarily stored in the latch 50, and then output to the digital / analog converter 60 and converted into an analog signal by the digital / analog converter 60, thereby crank angle. The signal is generated (S50).
이와 같이 디지틀/애널로그 컨버터(60)로부터 출력되는 크랭크각 신호는 전자제어 유니트(도시되지 않음)로 입력되어 전자 제어 유니트가 시험될 수 있도록 한다.As such, the crank angle signal output from the digital / analog converter 60 is input to an electronic control unit (not shown) so that the electronic control unit can be tested.
카운터(30)가 동작되고 있는 동안, 마이크로 컨트롤러(20)는 다른 일을 수행할 수가 있으며, 카운터(30)로부터 한주기가 완료되었음을 알려주는 신호가 입력되면 카운터(30)와 래치(50)의 동작을 중지시킨 뒤에, 램(40)에 어드레스 신호, 데이터 신호, 제어 신호를 출력하여 불규칙 디지틀 데이터가 순차적으로 램(40)에 저장되도록 함으로써 상기한 과정을 반복 수행한다(S60).While the counter 30 is in operation, the microcontroller 20 may perform other tasks. When a signal indicating that one cycle is completed from the counter 30 is input, the operation of the counter 30 and the latch 50 is performed. After the operation is stopped, the above process is repeated by outputting an address signal, a data signal, and a control signal to the RAM 40 so that irregular digital data is sequentially stored in the RAM 40 (S60).
이상에서와 같이 이 발명의 실시예에서, 임의의 불규칙 디지틀 데이터를 메모리에 저장하여 놓은 후에 카운터를 이용하여 상기한 불규칙 디지틀 데이터가 순차적으로 출력되도록 함과 동시에 애널로그 신호로 변환되어 출력되도록 함으로써 크랭크각 신호를 생성하는 효과를 가진 시뮬레이션을 위한 크랭크각 신호 생성장치 및 그 방법을 제공할 수가 있다. 이 발명의 이러한 효과는 자동차의 전자 제어 유니트 시험장치 분야에서 이 발명의 요지를 벗어나지 않는 범위내에서 당업자에 의해 변형되어 이용될 수가 있다.As described above, in the embodiment of the present invention, the random digital data is stored in the memory, and then the irregular digital data is sequentially outputted using a counter, and at the same time, the analog signal is converted and outputted to crank. It is possible to provide a crank angle signal generating apparatus and method for simulation having the effect of generating each signal. This effect of the present invention can be modified and used by those skilled in the art without departing from the gist of the present invention in the field of electronic control unit testing apparatus for automobiles.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950055164A KR100273524B1 (en) | 1995-12-23 | 1995-12-23 | Method and apparatus for crank angle signal generating for simulation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950055164A KR100273524B1 (en) | 1995-12-23 | 1995-12-23 | Method and apparatus for crank angle signal generating for simulation |
Publications (2)
Publication Number | Publication Date |
---|---|
KR970044778A KR970044778A (en) | 1997-07-26 |
KR100273524B1 true KR100273524B1 (en) | 2000-12-15 |
Family
ID=19443615
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019950055164A KR100273524B1 (en) | 1995-12-23 | 1995-12-23 | Method and apparatus for crank angle signal generating for simulation |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100273524B1 (en) |
-
1995
- 1995-12-23 KR KR1019950055164A patent/KR100273524B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR970044778A (en) | 1997-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6295623B1 (en) | System for testing real and simulated versions of an integrated circuit | |
JP2580338Y2 (en) | Test equipment for analog / digital converter | |
JPH1083699A (en) | Testing device using self-testing device integrated with arbitrary subarray of memory device and method thereof | |
JPH11328995A (en) | Memory testing device | |
KR950001522A (en) | System and Method for Pseudorandom Testing to Improve the Performance of a Multi-Drive Bus System | |
KR100273524B1 (en) | Method and apparatus for crank angle signal generating for simulation | |
JPH05288115A (en) | False signal generation apparatus | |
JP3134409B2 (en) | LSI tester | |
JP2002041130A (en) | Automatic inspecting device | |
KR100250597B1 (en) | Method for testing function of computer and apparatus thereof | |
JPH082629Y2 (en) | LSI tester | |
JPH11191080A (en) | Memory testing device | |
SU798841A1 (en) | Device for automatic testing of large-scale integrated circuits | |
KR0165818B1 (en) | One chip microcomputer | |
JP2705359B2 (en) | Trace circuit | |
JP3082674B2 (en) | Microcomputer | |
Ivie et al. | STL-A high level language for simulation and test | |
JP3173116B2 (en) | Real chip modeler waveform observation processor | |
JPH0339671A (en) | Generating method for lsi function diagnostic test program | |
JP2000266816A (en) | Test method for semiconductor device | |
JPH10227839A (en) | Integrated circuit testing device and method | |
JP2002243803A (en) | Method and device for debugging program for testing semiconductor integrated circuit and program for debugging program for testing the same | |
JPH07280893A (en) | Semiconductor memory test system | |
KR970048575A (en) | Burn-in check device and method | |
JPS63127500A (en) | Method for testing memory circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20040329 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |