📜 ⬆️ ⬇️

When it's all about quantity. Nonlinear arithmetic of large quantities of electronic devices



The dream of any developer, regardless of experience and field of activity, is to make a project for a large company that will go into mass production. Even if you fail to get hold of this serious dividends immediately, then subsequently such a project will be your calling card. The transition from a prototype to a product produced in serial batches is a very complicated process, especially for those who pass it for the first time. Especially for a product that has a complex electronic filling. The likelihood of success of such a project is greatly increased if both the designer and the investor are well aware of all the steps on their way.
image
Moving from a prototype to a serial product, we fall into the area of ​​"nonlinear mathematics" with a large number of factors that must be considered to correctly calculate the amount of investments. This conclusion seems obvious, but in practice I often come across the love of unacceptable simplifications in the calculations. In the future, it leads to serious financial problems, friction in the team, often the end of the project becomes the final.

Last week I received a request from the customer to calculate the cost of production of an experimental batch for one hundred products and the cost of production at the rate of ten thousand products per year. Well, I figured out a hundred rather quickly, although I probably got excited too , but I thought a lot about the second part. The matter was aggravated by the fact that the device is not elementary, and even in its minimum configuration it contains 49 boards, almost half of which are active microcontrollers . And that's not counting the purchased modules.
It is impossible to calculate the cost of production of 10,000 pieces simply by multiplying the cost of the sample by the quantity, and then by the reduction rate of the bundling when purchased in large quantities. Even with the cost of creating a prototype, we were mistaken almost twice, though largely due to the fact that the calculations were done before a landslide devaluation.
In a short time I have to prepare a material in which I have to convince the customer that the cost price of one prototype, an experimental batch of one hundred products and the industrial production of ten thousand products per year are completely different things. This article was a side result of the preparation of the material for my communication with the customer.

What factors need to be taken into account in order to calculate the cost of the product during the production of such circulations? How on the one hand not to scare the customer too high price, on the other hand not to mislead him unnecessarily low? The contribution of literally every extra cent to the cost of a single payment increases many times with similar volumes and tends to the size of my current monthly income , so these questions are very important.
')
Perhaps the first thing to consider is that the circuit of your prototype may moreover, with the right approach, it should even be quite different from the scheme of the serial device. Somehow, by itself, it usually turns out that it is initially something like a fashionable term now - MVP.

Birthmarks development.


image
There were times when I first took up the device containing a seemingly simple, but as it turned out later, quite tricky analog part. Fourteen years have passed, and as I remember it, it was a micro PBX with power from a telephone line. In those days, even producing a double-sided board was quite expensive and time consuming, so the prototypes were soldered on dummies. Strange, but the remaining pieces of this mole rash are still gathering dust at the bottom of one of my boxes, but I have not survived a single serial copy of this device. As you probably already guessed, after a while everything worked fine on the breadboard, the device announcement sparked a burning interest among potential sellers and, despite my protests, the authorities took a forceful decision to manufacture an experimental batch of a hundred pieces and immediately transfer it to the market. However, when you first turn on the entire batch of their own devices began to fail completely completely godless way. We with the senior companion in the sense of experience in analog circuit design and telephony began to understand.
Soon very curious things surfaced. First of all, I used a zener diode in the circuit of microcurrent stabilization. The sample on the test board worked fine, but the batch went a terrible variation in the voltage of stabilization in this abnormal mode of operation. Secondly, in the process of tracing, I placed a via in a very unsuccessful place of the microcurrent generator node. The case was aggravated by the imperfection of the production technology of printed circuit boards at that time - vias in this batch of boards had an anomalously large resistance. The result was a very high level of interference in the audio path circuits.
Why did I tell this bike? To the fact that the development today is usually conducted in the mode of " everything must be done yesterday ." While the customer's enthusiasm has not dried up and competitors have not outstripped you, it is necessary to give a prototype to the mountain, which can be demonstrated to investors and sent for certification. During such a race it is very difficult and in most cases it is not very necessary at the first stage to take into account absolutely all the nuances. Especially if the topic is complex, the device is original, and the developer does not have a wealth of experience in this field.

Between swan and cancer.


image
Before starting development, I am always interested in a potential client by what parameter we will optimize it. Minimum cost / manufacturability of the final product, or time / cost of the development itself?
When the goal is to create a unique device in a single copy, or in the amount of several pieces, it makes sense to optimize for the second parameter. The same, if it is necessary to submit a working sample in the shortest possible time. In these cases, the use of ready-made solutions and modules is justified. If the sample came to the customer's liking and he is ready to start production of the product in large batches, you will most likely have to look for a replacement.
For example, in my case, it was quite logical for a sample to use a panel computer instead of a monitor and a thin client, and to use a ready-made Ethernet module to communicate with it.
image
During the testing of the prototype, it often turns out that it lacks any functions. The opposite is also true, because it is not uncommon for both the customer and the developer to create redundant features during the manufacture of a prototype device, since it is difficult to predict what needs to be done in advance of the tests. In the course of the ill-fated development of the above-mentioned micro PBX, we neglected this rule and laid down the very popular PIC microcontroller 16C622 in the scheme. This microcontroller had only one drawback - there were no pin-to-pin compatible microcontrollers with a larger amount of program memory in the microchip family. In the course of working on the project, it turned out that, based on our circuit design, you can implement a large number of convenient functions. Theoretically, if I hadn’t rested on writing the code into the ceiling of the memory of two kilograms, when writing code. It happened quickly and programming after that turned into an endless process of optimizing the code in order to search, sometimes with just a few extra bytes.
Thus, there is a very high probability that the circuit diagram, even of a well-functioning sample, will be subjected to a profound modification during the transition to a serial product.

You can optimize not only medicine, but also purchases!


At one time, even in the role of a brand manager, I had to participate in large projects, though not in the role of developer, but from the component supplier, and since then I killed myself that with production volumes of the order of half a million boards per year, everything matters ! The most insignificant trifle.



The cost of electronic components is in direct connection with the volume of purchases, so you should think about how:


Chinese wall or native birch?


In the global world, both the production and sale of your goods can be located at any point, not only of our vast Motherland, but at least for the time being, of the globe. What is more profitable for you depends on a huge number of factors. Consider some of them, boldly excluding the geopolitical factor.



Production in Russia.

In Russia, it makes sense to produce a material-intensive product that does not require too high technology. Despite the fact that in recent times modern production facilities have begun to appear in Russia, capable of offering good prices for the manufacture of both metal and plastic products, the production culture for them is still significantly lagging behind the Western ones. Today, prices for the services of our manufacturers are lower than ever, however, they have a steady tendency to smooth but steady growth.
The cost of installing large batches of boards at the moment is not too different from the Chinese, but with the purchase of electronic components, not everything is so joyful. You will have to deal with domestic distributors who are accustomed to impressive rates of return. Self-procurement of equipment abroad is not a very good idea, since our customs regulations are very complicated. Components are divided into a huge number of categories, each of which will have to fill in a separate declaration. The result - direct purchases of components for a somewhat complex product turn into hell.

Production abroad.

In today's conditions, this will most likely be China. If your product is primarily export oriented, then you should not hesitate to choose this option. Otherwise, you need to take into account the disadvantages of this solution. Prepayment for the goods will have to be made not only taking into account the production cycle, but also taking into account logistics. Unpleasant surprises can present customs. Air delivery is expensive, and the sea route takes a lot of time. For full control over the production and the quality of the product obtained, it is necessary to keep a representative in production. Chinese comrades are people with a peculiar mentality and should be taken into account when concluding contracts. For the Chinese, the optimization sits deeper in the blood than our officials. One can never be sure for one hundred percent that they have not approached creatively to finalize the circuitry of your product in the next installment.

And ours and yours.

For many products today it is preferable. Hotel types of operations are more profitable to carry out in Russia, and others in China.


Related costs.


image
When planning the organization of production we should not forget about the overhead costs that invariably arise during its preparation.
First, it is a certification that takes a decent time and money. The more complex and expensive a product is, the more problems it can cause. So, in the oil industry, the cost of certification and trial operation often exceeds the cost of the development itself.
Secondly, the organization of activities to monitor the production of products. With large production volumes of a rather complex product, it is obligatory to test, at a minimum, each board included in the kit, separately and output control of the finished product, in general, using specially developed stand equipment. Recommended as much as possible. to automate the process of adjustment and adjustment, in order to reduce the cost of the now expensive working time to a minimum. But this is not important. Automatic or, more often, automated testing minimizes the influence of the human factor on the production of complex products and simplifies reporting. So, if the devices require calibration, the constants loaded into the memory of the microcontroller and the settings for this device are written into the database during the automatic testing operation. You will always have confidence that all the necessary tests were performed in full, and the repair / verification, replacement of individual modules is greatly simplified. If according to the results of such a check, the reject rate exceeds the preliminary estimate, then the production technology is adjusted and the next trial batch of devices is launched. And so in several iterations.

Testing is generally a separate and very serious question. To get to know it, I recommend reading a very good article published on Habré in a bit more detail.
Finally, at the final stage, you will need to organize the service center and screwdriver assembly.

Total. Rested in the pyramid.


I hope I was able to convince you that even if you are not a fan of product development based on the MVP theory, then in the evolutionary process of “mock-up sample -> experimental batch -> mass production”, the circuitry of the device usually undergoes significant changes. Often, such metamorphosis occurs with the product design.
The process consists of several stages during which several parallel tasks are usually started. A typical pyramid of organizing the release of a new electronic product of medium complexity on the basis of a contract manufacturer will look something like this:


image
Only by taking into account the need for all the works shown in the figure can we estimate both the required volume of investments in the project and the time taken to start mass production. When deciding on the exclusion of individual stages from the figure above, it must be remembered that the cost of correcting errors made at higher levels increases at least exponentially when lowering to the base of the pyramid. Practice shows that trying to save, say, on the process of development or trial operation, is subsequently very costly.

The topic I have touched on is too extensive to cover it in detail in a single article, so my goal was simply to attract the attention of beginning developers and potential investors. Explain that you can not just come to the contract manufacturer with a working sample and without the hassle and investment to get a serial product.

Source: https://habr.com/ru/post/261055/


All Articles