For a certain type of the actual demand of acceleration signal of the onboard computer,two generated signals in real-time environment is put forward.The technology of achieving acceleration pulse signal based on the 8254 counters and the high speed D/A is studied,the PCI1751 and PCI8238 is used for hardware and software implementation,and the technology is designed under the environment of RTX real-time system,based on this two methods,the variable acceleration signal is generated.By comparing the two methods,the advantages and disadvantages are analyzed,the method of generating acceleration simulation signal based on the 8254 counter is selected.