The present invention relates generally to electronic measurement devices used in diagnosing and validating vehicle systems, and in particular to a portable tool for automatically simulating multiple ignition cycles of a vehicle having a low-current ignition switch.
During the design and launch of a new vehicle, the integration and validation of electronic components that utilize serial communications, i.e., that sequentially transmit data one bit at a time over a communications channel, can be a challenging task. For example, a low-current ignition switch uses such serial architecture during the start and stop of the vehicle engine. The position of the ignition switch is typically detected and communicated to all electronic modules aboard the vehicle over a serial data link(s), normally by way of a power mode master (PMM) or a body control module (BCM) that automatically monitors and updates the ignition switch position in cycles of less than approximately 25 milliseconds.
During vehicle launch, engine start/stop is a state or condition that at times can be linked as a potential trigger event for certain vehicular electrical system failure modes, modes that are quite often highly intermittent and difficult to isolate and diagnose. Investigation teams are ordinarily assigned to identify the root cause of any failure modes during vehicle development. With respect to highly variable ignition switch activation times, electrical benches and/or test vehicles can be subjected to a series of repetitive ignition cycles in an attempt at reproducing the failure mode.
Interaction of onboard serial data communications systems and diagnostic software during initialization can sometimes induce failures that can be particularly challenging to diagnose and isolate due to their highly intermittent nature. Normal vehicle validation processes and timelines allow for only a limited number of ignition test cycles, thus making such conventional diagnostic and validation methods less than optimal.
Accordingly, a portable simulator tool enables automated ignition cycle simulation in certain vehicles having a low-current ignition switch. The tool increases the confidence and quality of software validation processes by allowing a much greater relative number of vehicle test scenarios. A computer-based user interface facilitates the setup of ignition cycle configuration and sequencing, thus allowing for repetitive cycling of a system power mode. By simulating a low-current vehicle ignition switch, such as a Discrete Logic Ignition Switch (DLIS), solid-state signals can be provided with low voltage levels, and with timing delays or resolution greater than approximately 1 millisecond (ms).
The tool can be used with existing electrical system test benches as well as with test vehicles during vehicle development and validation to provide a low cost solution, and is compatible with desktop and laptop computers having a USB interface or port configuration. Operation of the tool can be readily updated simply by changing or modifying the software executed by a host computer, and used for the control of an electronic board or printed circuit board assembly (PCBA) within the tool. The tool can thus be used in system durability tests and troubleshooting to confirm the robustness of vehicle operation.
In particular, the tool includes an electronic board or printed circuit board assembly (PCBA), which in one exemplary embodiment is based on a PIC18F4550 microcontroller available from Microchip Technologies, Inc., headquartered in Chandler, Ariz. The PCBA has a built-in USB communication port or other USB communications capability. Software is resident within or accessible by a host machine or computer, and is suitable for controlling and transmitting a set of solid-state signals simulating operation of a low-current ignition switch. The software code can be updated in minutes to modify the operation of the system or the parameters of the test. The ignition switch signals are thus transmitted to the power mode master (PMM) inputs in an electrical bench or a test vehicle, with the PMM frequently embodied as and therefore referred to hereinafter as a Body Control Module or BCM.
A method of simulating a low-current ignition switch that is usable with a vehicle power master module (PMM) includes transmitting user-selectable configuration data from a host computer to a printed circuit board assembly (PCBA) having a microcontroller, transforming the configuration data into a set of solid-state signals simulating a desired set of power mode parameters, and transmitting the solid-state signals to the PMM or BCM to thereby simulate an operation of the low-current ignition switch.
The above features and advantages and other features and advantages of the present invention are readily apparent from the following detailed description of the best modes for carrying out the invention when taken in connection with the accompanying drawings.
Referring to the drawings, wherein like reference numbers correspond to like or similar components throughout the several figures, and beginning with
The host 12 can be configured as a digital computer having a microprocessor or central processing unit, read only memory (ROM), random access memory (RAM), electrically-programmable read only memory (EPROM), high speed clock, analog to digital (A/D) and digital to analog (D/A) circuitry, and input/output circuitry and devices (I/O), as well as appropriate signal conditioning and buffer circuitry. Any algorithms resident in host 12 or accessible thereby, including an ignition switch simulation algorithm 100 and software 70 in accordance with the invention as described below, can be stored in ROM and executed to provide the respective functionality.
The tool 10 can be powered by an external source such as the host 12 and/or an auxiliary battery (AUX) 21, and thus features a pair of voltage regulators 20A, 20B. The voltage regulator 20A can be configured as a 5-volt regulator, such that the tool 10 can be powered by a 5-volt signal input from a Universal Serial Bus (USB) port 14. The voltage regulator 20B is a 12-volt regulator, such that the tool 10 can be powered via the auxiliary battery 21 as described below.
The host 12 includes the computer-executable algorithm 100 for providing the necessary functionality as set forth below. Within the scope of the invention, the algorithm 100 can be considered as part of the tool 10 although resident within the host 12. The tool 10 includes an electronic board or printed circuit board assembly (PCBA) 16. The PCBA 16 includes the USB port 14 mentioned above, which is in communication with the host 12 to draw 5-volt electrical power from the host 12 as needed. The PCBA 16 also includes a microcontroller 22 in communication with the USB port 14, with the PCBA 16 receiving instructions, code, or signals downloaded from the host 12 via the USB port 14, and for transmitting data back to the host 12 as set forth below.
Still referring to
According to an exemplary embodiment, the microcontroller 22 can be a programmable microcontroller device having at least 32 Kbytes of flash program memory and at least 2 Kbytes of general-purpose static random access memory or SRAM. The microcontroller 22 can be specifically embodied as a PIC18F4550 available from Microchip Technologies, Inc., headquartered in Chandler, Ariz., although other microcontroller devices having a built-in, full-speed USB 2.0 or higher interface and providing the functionality set forth herein can also be used without departing from the intended scope of the invention.
The USB port 14 is configured as a type B connector, wherein any “A-to-B” type connector cable can be plugged into, with the flat connector leading to the host computer 12 across the path indicated by arrow A in
The PCBA 16 also includes an ignition switch connector 28 which allows the generated ignition switch signals to be connected to a power mode master or PMM, such as the BCM 18. As will be understood by those of ordinary skill of the art, on vehicles that have several control modules connected by serial data circuits, one such module is generally referred to as the power mode master or PMM. On vehicles having one main body controller (BCM), the BCM has this responsibility. Therefore, the BCM 18 can be used for this purpose, and will be used hereinafter synonymously with the term PMM.
An oscillator circuit (O) 17 provides a clock signal 19 to the microcontroller 22, and can include a set of capacitors and resistors (not shown) suitably arranged to provide a desired oscillation. According to an exemplary embodiment, the set of capacitors are approximately 15 pF each, the resistors are approximately 1 Mohm each, and the oscillation produced by these electronic components is approximately 20 MHz. However, variations of these values producing the desired outcome could also be used without departing from the intended scope of the invention.
Still referring to
The 5-volt regulator 20A is adapted for boosting a 5-volt signal to the tool 10, and it can be connected to the battery 21 or to an auxiliary power adapter. That is, the PCBA 16 can be selectively powered using 5-volt power from the host 12 as noted above. The 12-volt regulator 20B receives power from the auxiliary battery 21, e.g., a 12-volt vehicle or bench battery, and serves as protection to a set of solid-state buffers 27 described below with reference to
Referring to
Referring to
The algorithm 100 continues with step 104 once all of the electrical connections have been properly established. Step 102 can be considered preparatory to execution of the algorithm 100, although it is included herein within the context of algorithm 100 in order to illustrate the proper order of the electrical interconnection of the host 12, tool 10, and BCM 18.
At step 104, the algorithm 100 is initiated or launched by opening the software 70. According to an exemplary embodiment, a plurality (x) of different power mode simulations can be user-selected. The user therefore selects or chooses a desired power mode from a pull-down menu or other user-friendly graphical interface. For example, referring to
At steps 106 and 108 the user selects a desired time delay and delay type, respectively. Referring again to
At step 110, if desired additional or extra outputs can be selected or commanded on or off at the same time as the switch function selected at step 104. Such additional outputs can be useful to provide additional trigger signals. After selecting the desired additional outputs, the algorithm 100 proceeds to step 112.
At step 112, which is represented in
At step 114, the algorithm 100 checks to see if the present number of completed steps 82 equals the total number, i.e., a user completing data entry for one power mode still has seven remaining power modes to select based on the exemplary eight-field embodiment shown in
At step 116, experiment control is refined by selecting a desired number of cycles for execution. Referring again to
At step 118, the user is prompted to configure the desired ignition switch settings. In
At step 120, the algorithm 100 records a timer type which is selected by a user. The user can select from the timer aboard the host 12, i.e., a computer timer, when the delays are requested at longer than 100 ms. A microcontroller timer option can provide more accurate delays of multiples of 1 ms. Such an option can be displayed within the experiment control field 88 shown in
At step 122, the user can start the simulation by pressing the start button shown in
While the best modes for carrying out the invention have been described in detail, those familiar with the art to which this invention relates will recognize various alternative designs and embodiments for practicing the invention within the scope of the appended claims.