How to debug a circuit board faster in Chongqing MCU development

2021-11-29 13:52:23 admin

How to debug a circuit board faster in Chongqing MCU development

Don't be afraid when you meet a problem. The problem will be solved. It's just a matter of time. As long as you are not overwhelmed by the problem, you will gain invaluable experience after solving the problem.

Now most of the circuit boards are modular design, which is to realize the various functions required by the circuit board one by one. Recently, the circuit board of a test equipment for customers also adopts modular design. In order to realize the predetermined functions, the circuit board is divided into power conversion module, microprocessor module, differential signal to single terminal signal module, relay module, signal current output module and 485 module. The circuit board is designed as a whole. Different modules are placed on a circuit diagram for wiring, signal and parameter matching, and then processed into a circuit board. This is an overall process, because it is impossible to design or process half a circuit board.

Any expert can not guarantee the perfect success of circuit design at one time. After proofing and processing the circuit board, the welding components need to be debugged, which is an indispensable step in the subsequent mass production of circuit board.

It is an inertial working idea to weld all components to the circuit board at one time and then power on the circuit board to test the circuit board. If the circuit board of the original design has no major problems, it is easier to debug, but when the circuit board has defects, it is more troublesome to debug, because when you find a problem in a functional module, You can't easily judge whether there is a problem in the front level or the back level of the module. Therefore, an effective suggestion summarized in practice is not to weld all components at one time, but gradually weld components module by module according to the direction of signal or energy flow. After the components of a module are welded, conduct power on test to check whether the key parameters are abnormal. If there is any abnormality, you can easily find out the problem by checking whether there is any error in the components or wiring in this module, rather than being confused and at a loss when facing the whole circuit board. When this module is debugged successfully, the welding and debugging of the next module will be carried out. Such a successful breakthrough one by one will make the debugging of the circuit board simple. Generally, the work to be completed in each stage includes:

L welding: accurately weld the components in the module to the circuit board, and pay attention to visual inspection or tool inspection for faulty welding or short circuit of solder joint;

L debugging: focus on checking whether the output of the module is consistent with the design target parameters.

The module welding and debugging of the circuit board are sequential. It must be ensured that the modules with the required preconditions and necessary conditions are welded and debugged before the welding debugging of the module. Generally speaking, the welding debugging can be carried out according to the flow direction of signal and energy flow. In this circuit, the power conversion module should be debugged first, because this is the basis of other modules' power supply, and then debug the microprocessor module, because the microprocessor will coordinate the work of other modules, then the differential turn to terminal signal module and other output modules. When one module is successfully debugged in turn, the circuit board is completed.

Naturally, debugging microprocessor modules may be accompanied by programming and development, which is also indispensable.

To sum up, an effective method for circuit board debugging is to conduct welding debugging one by one according to the module units, weld the components in the module according to the signal or energy flow direction on the blank circuit board, test and debug after the welding of a module is completed until the output of the module is normal, and then weld and debug the next module, Until all modules succeed.